Any idea what this error means?
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 582
- Joined: Mon Jun 20, 2011 2:40 pm
- Contact:
Any idea what this error means?
getting it whenever i start up the server:
*sys-package-mgr*: can't create package cache dir, '/l2j/libs/jython.jar/../cachedir/packages'
*sys-package-mgr*: can't create package cache dir, '/l2j/libs/jython.jar/../cachedir/packages'
- Zoey76
- L2j Inner Circle
- Posts: 7008
- Joined: Tue Aug 11, 2009 3:36 am
Re: Any idea what this error means?
Just from googling it:
http://stackoverflow.com/questions/1775 ... ipt-with-j
https://docs.oracle.com/cd/E15523_01/we ... m#WLDCW108
http://stackoverflow.com/questions/1775 ... ipt-with-j
https://docs.oracle.com/cd/E15523_01/we ... m#WLDCW108
Powered by Eclipse 4.34
| Eclipse Temurin 21
| MariaDB 11.3.2
| L2J Server 2.6.3.0 - High Five 
Join our Discord! 

-
- Posts: 582
- Joined: Mon Jun 20, 2011 2:40 pm
- Contact:
Re: Any idea what this error means?
I don't get it the folder has permissions and the folder packages does gets created but still it throws that message...
- Zoey76
- L2j Inner Circle
- Posts: 7008
- Joined: Tue Aug 11, 2009 3:36 am
Re: Any idea what this error means?
The path is incorrect for some reason, try passing the path in the server starting script.
Powered by Eclipse 4.34
| Eclipse Temurin 21
| MariaDB 11.3.2
| L2J Server 2.6.3.0 - High Five 
Join our Discord! 

-
- Posts: 582
- Joined: Mon Jun 20, 2011 2:40 pm
- Contact:
Re: Any idea what this error means?
you mean the gameserver_loop.sh?
Code: Select all
#!/bin/bash
# exit codes of GameServer:
# 0 normal shutdown
# 2 reboot attempt
while :; do
[ -f log/java0.log.0 ] && mv log/java0.log.0 "log/`date +%Y-%m-%d_%H-%M-%S`_java.log"
[ -f log/stdout.log ] && mv log/stdout.log "log/`date +%Y-%m-%d_%H-%M-%S`_stdout.log"
java -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Dpython.cachedir=../cachedir -Xms1024m -Xmx1536m -jar l2jserver.jar > log/stdout.log 2>&1
[ $? -ne 2 ] && break
# /etc/init.d/mysql restart
sleep 10
done
- Zoey76
- L2j Inner Circle
- Posts: 7008
- Joined: Tue Aug 11, 2009 3:36 am
Re: Any idea what this error means?
Code: Select all
-Dpython.cachedir=../cachedir
Powered by Eclipse 4.34
| Eclipse Temurin 21
| MariaDB 11.3.2
| L2J Server 2.6.3.0 - High Five 
Join our Discord! 

-
- Posts: 582
- Joined: Mon Jun 20, 2011 2:40 pm
- Contact:
Re: Any idea what this error means?
I go to that path and it exist and has full permissions, really no idea why is it failing...
is it even a valid path?
*sys-package-mgr*: can't create package cache dir, '/root/l2j/libs/jython.jar/../cachedir/packages'
is it even a valid path?
*sys-package-mgr*: can't create package cache dir, '/root/l2j/libs/jython.jar/../cachedir/packages'
- Zoey76
- L2j Inner Circle
- Posts: 7008
- Joined: Tue Aug 11, 2009 3:36 am
Re: Any idea what this error means?
I'll have to test myself, try with explicit path
Code: Select all
-Dpython.cachedir=root/l2j/libs/cachedir
Powered by Eclipse 4.34
| Eclipse Temurin 21
| MariaDB 11.3.2
| L2J Server 2.6.3.0 - High Five 
Join our Discord! 

-
- Posts: 582
- Joined: Mon Jun 20, 2011 2:40 pm
- Contact:
Re: Any idea what this error means?
Works with:
/root/l2j/libs/cachedir
Note the slash at the beginning in addition to what you sent me.
I guess this should be considered a bug to fix.
/root/l2j/libs/cachedir
Note the slash at the beginning in addition to what you sent me.
I guess this should be considered a bug to fix.
- Zoey76
- L2j Inner Circle
- Posts: 7008
- Joined: Tue Aug 11, 2009 3:36 am
Re: Any idea what this error means?
sahar wrote:Works with:
/root/l2j/libs/cachedir
Note the slash at the beginning in addition to what you sent me.
I guess this should be considered a bug to fix.
Not really a bug fix, we cannot hardcode it to that path, mostly a bug report.
Need to get my hands on a linux both and start testing.
Powered by Eclipse 4.34
| Eclipse Temurin 21
| MariaDB 11.3.2
| L2J Server 2.6.3.0 - High Five 
Join our Discord! 
