L2JMobius

Public Development => General Discussion => Topic started by: Harda on January 11, 2025, 12:22:26 AM

Title: Unable to Execute Server – "required file not found" Error
Post by: Harda on January 11, 2025, 12:22:26 AM
Hello,

I am having trouble launching the Interlude server on ubuntu. When attempting to execute the scripts (RegisterGameServer.sh, LoginServer.sh, and LoginServerTask.sh), I receive the following error:


Code: [Select]
-bash: ./RegisterGameServer.sh: cannot execute: required file not found
I have checked the following:

- The scripts are present in the /L2J/login directory.
- I have set the correct execution permissions (chmod +x).
- I have Java 8 installed (java -version returns a valid Java version).
- The file paths and dependencies seem correct, but the issue persists.

Could someone please assist me in troubleshooting this issue? Any help would be greatly appreciated!  ;D

Thank you in advance!
Title: Re: Unable to Execute Server – "required file not found" Error
Post by: Mobius on January 11, 2025, 01:21:45 AM
Are your line endings formatted in the Linux style?
Title: Re: Unable to Execute Server – "required file not found" Error
Post by: Harda on January 11, 2025, 07:44:05 AM
Ok yeah, thank you !
It's all right, i've used :
Code: [Select]
sed -i 's/\r$//' 'filename.sh' on all the .sh file. And now it's ok !
Problem Solved  ;)