L2JMobius

Assassin error when starting gameserver/login server

gbcdev · 8 · 2233

Offline gbcdev

  • Vassal
  • *
    • Posts: 8
Hello friends, I'm new to Java, and I'm trying to upload a server for the first time, I tried to follow the tutorial by first opening gameserver.vbs and then loginserver.vbs

but without success, so I thought about running sh, use gitbash:

$ sh GameServer.sh
./GameServerTask.sh: line 10: log/stdout.log: No such file or directory

Does anyone know how I can solve it?

I'm using the recommended jre: bellsoft-jdk21.0.2+14.


Offline JMD

  • Black Sheep
  • Knight
  • ***
    • Posts: 78
The .vbs files you are launching are for windows while GameServerTask.sh is for linux. Lets alone the GameServerTask.sh file is not the correct file to launch first on linux. What guide are you following?

If you are on windows you should not even be looking at the .sh files.

Also you need to install JDK.

Anyway maybe if you add the JAVA_HOME path correctly (google it) the server will start (using the .vbs files).


Online Naker

  • Baron
  • *****
    • Posts: 211
Hello friends, I'm new to Java, and I'm trying to upload a server for the first time, I tried to follow the tutorial by first opening gameserver.vbs and then loginserver.vbs

but without success, so I thought about running sh, use gitbash:

$ sh GameServer.sh
./GameServerTask.sh: line 10: log/stdout.log: No such file or directory

Does anyone know how I can solve it?

I'm using the recommended jre: bellsoft-jdk21.0.2+14.
That's because that file and directory not exist. Create on the folder game a new folder called log and inside this folder a empty file called stdout.log


Offline gbcdev

  • Vassal
  • *
    • Posts: 8
The .vbs files you are launching are for windows while GameServerTask.sh is for linux. Lets alone the GameServerTask.sh file is not the correct file to launch first on linux. What guide are you following?

If you are on windows you should not even be looking at the .sh files.

Also you need to install JDK.

Anyway maybe if you add the JAVA_HOME path correctly (google it) the server will start (using the .vbs files).

I used gitbash because I can't open .vbs files, yes I have the java_home env:

C:\Program Files\BellSoft\LibericaJDK-21\

but for some reason, I try to open .vbs in w11 and nothing happens, so I tried using git bash.

and I didn't start it: GameServerTask
start GameServer


Online Naker

  • Baron
  • *****
    • Posts: 211
I used gitbash because I can't open .vbs files, yes I have the java_home env:

C:\Program Files\BellSoft\LibericaJDK-21\

but for some reason, I try to open .vbs in w11 and nothing happens, so I tried using git bash.

and I didn't start it: GameServerTask
start GameServer
WTF are you doing with sh if you are on windows...


Offline gbcdev

  • Vassal
  • *
    • Posts: 8
WTF are you doing with sh if you are on windows...

I just discovered that microsfot discontinued vbs, that's why I don't have it installed in w11 and I can't add it, the only way is to run it through .sh


Online Naker

  • Baron
  • *****
    • Posts: 211
I just discovered that microsfot discontinued vbs, that's why I don't have it installed in w11 and I can't add it, the only way is to run it through .sh
Is no the only way but okay if you do it by sh create the folder and the file


Offline gbcdev

  • Vassal
  • *
    • Posts: 8
Is no the only way but okay if you do it by sh create the folder and the file

i try start loginserver first:

Code: [Select]
[29/06 15:21:16] FATAL: Failed to start the Game Server Listener. Reason: Address already in use: bind
java.net.BindException: Address already in use: bind

but i dont use this port :/