Any idea what this error means?

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
sahar
Posts: 582
Joined: Mon Jun 20, 2011 2:40 pm
Contact:

Any idea what this error means?

Post by sahar »

getting it whenever i start up the server:
*sys-package-mgr*: can't create package cache dir, '/l2j/libs/jython.jar/../cachedir/packages'
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: Any idea what this error means?

Post by Zoey76 »

Powered by Eclipse 4.34 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
sahar
Posts: 582
Joined: Mon Jun 20, 2011 2:40 pm
Contact:

Re: Any idea what this error means?

Post by sahar »

I don't get it the folder has permissions and the folder packages does gets created but still it throws that message...
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: Any idea what this error means?

Post by Zoey76 »

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! ๐ŸŽฎ๐Ÿ’ฌ
sahar
Posts: 582
Joined: Mon Jun 20, 2011 2:40 pm
Contact:

Re: Any idea what this error means?

Post by sahar »

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
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: Any idea what this error means?

Post by Zoey76 »

Code: Select all

-Dpython.cachedir=../cachedir
Make sure that folder exist and it has permissions to create and delete there.
Powered by Eclipse 4.34 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
sahar
Posts: 582
Joined: Mon Jun 20, 2011 2:40 pm
Contact:

Re: Any idea what this error means?

Post by sahar »

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'
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: Any idea what this error means?

Post by Zoey76 »

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! ๐ŸŽฎ๐Ÿ’ฌ
sahar
Posts: 582
Joined: Mon Jun 20, 2011 2:40 pm
Contact:

Re: Any idea what this error means?

Post by sahar »

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.
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: Any idea what this error means?

Post by Zoey76 »

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! ๐ŸŽฎ๐Ÿ’ฌ
Post Reply