devryan / GamePanelX-V3

The Original Free and Open Source Game Control Panel
https://www.gamepanelx.com
Other
131 stars 94 forks source link

Failed to open libtier0.so #129

Closed matamata4 closed 8 years ago

matamata4 commented 8 years ago

Hello dear git fellows,

I am experiencing the following issue when trying to start a gameserver(Fresh install of gpx and steam on a fresh debian 8.2 installation)

"./srcds_run: 32: ./srcds_run: pushd: not found ./srcds_run: 35: ./srcds_run: popd: not found Server will auto-restart if there is a crash. LD_LIBRARY_PATH=/var/www/html/_SERVERS/accounts/test/5.135.83.95:27016/740/bin:/ var/www/html/_SERVERS/accounts/test/5.135.83.95:27016/740:/var/www/html/_SERVERS /accounts/test/5.135.83.95:27016/740/bin: Failed to open libtier0.so (libtier0.so: cannot open shared object file: No such file or directory) Add "-debug" to the ./srcds_run command line to generate a debug.log to help wit h solving this problem Fri Oct 30 05:58:44 EDT 2015: Server restart in 10 seconds"

I should note that all the corect libs are installed and in the correct folder but for some reason it just won't work.

When checking for the file manually the file is there.

The /var/www/html/_SERVERS/accounts/test/5.135.83.95:27016/740 folder has 655 privileges and it's owned by www-data.

I really need some help, this is driving me crazy ...

Thank you for your time!

siasur commented 8 years ago

The Problem is the name of the folder where the servers are located. the path contains a colon ( : ) The srcds_run scrip sets the LD_LIBRARY_PATH to the path of it self.

LD_LIBRARY_PATH uses colons to seperate multiple pathes.

This Line from the srcds_run LD_LIBRARY_PATH=/var/www/html/_SERVERS/accounts/test/5.135.83.95:27016/740/bin:/ var/www/html/_SERVERS/accounts/test/5.135.83.95:27016/740:/var/www/html/_SERVERS /accounts/test/5.135.83.95:27016/740/bin:

resolves to:

while it should be:

This problem is known and already in fixing. But unfortunately @devryan wasn't active the last few days.

devryan commented 8 years ago

This is fixed on the ip_port_fix branch of the master server:

https://github.com/devryan/GamePanelX-V3/tree/ip_port_fix

Please test it and let me know.

matamata4 commented 8 years ago

@devryan After a clean install and a new git clone from the whole repo it's still not working.

Same issue, failed to open libtier0.so ...

"LD_LIBRARY_PATH=/var/www/html/_SERVERS/accounts/example/5.135.83.95:27020/740/bin:/var/www/html/_SERVERS/accounts/example/5.135.83.95:27020/740:/var/www/html/_SERVERS/accounts/example/5.135.83.95:27020/740/bin: Failed to open libtier0.so (libtier0.so: cannot open shared object file: No such file or directory) Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem Fri Nov 13 07:43:02 EST 2015: Server restart in 10 seconds"

devryan commented 8 years ago

What branches did you clone? The fix is not in the master branch yet. On Nov 13, 2015 4:47 AM, "matamata4" notifications@github.com wrote:

@devryan https://github.com/devryan After a clean install and a new git clone from the whole repo it's still not working.

Same issue, failed to open libtier0.so ...

"LD_LIBRARY_PATH=/var/www/html/_SERVERS/accounts/example/ 5.135.83.95:27020/740/bin:/var/www/html/_SERVERS/accounts/example/5.135.83.95:27020/740:/var/www/html/_SERVERS/accounts/example/5.135.83.95:27020/740/bin: Failed to open libtier0.so (libtier0.so: cannot open shared object file: No such file or directory) Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem Fri Nov 13 07:43:02 EST 2015: Server restart in 10 seconds"

— Reply to this email directly or view it on GitHub https://github.com/devryan/GamePanelX-V3/issues/129#issuecomment-156423766 .

unplugged216 commented 8 years ago

Hey Ryan,

This doe not appear to have fixed the issue with current installs such as currently installed CS:GO servers. I attempted to start the server before reinstalling it, no luck. Still no luck after a reinstall. Same issue.

|| ERROR ||

LD_LIBRARY_PATH=/var/www/html/_SERVERS/accounts/marketing/216.144.246.227:27020/740/bin:/var/www/html/_SERVERS/accounts/marketing/216.144.246.227:27020/740:/var/www/html/_SERVERS/accounts/marketing/216.144.246.227:27020/740/bin: Failed to open libtier0.so (libtier0.so: cannot open shared object file: No such file or directory)

|| END ERROR ||

This was after applying the update you provided.

siasur commented 8 years ago

Are you sure that you are testing the correct branch(es)?

If you are just using GamePanel X you need the branch named "_ip_portfix". If you are using GamePanel X Remote in addition you'll still need the "_ip_portfix" from GamePanel X and from the GamePanel X Remote you'll need the "dev" branch

unplugged216 commented 8 years ago

...

Oops, I guess i got carried away with the mouse. Lol, I accidentally downloaded the master.

I am trying it now.

unplugged216 commented 8 years ago

Alrighty,

Implemented the correct branch. Now I am getting weird start issues. So, I uninstalled the cs:go instance and reinstalled it. However, it is still displayed as offline. The console out appears to be running. I cannot connect to it, so I am sure there is something wonky somewhere. Maybe my config, the only thing I have set off the norm is the port.

unplugged216 commented 8 years ago

Ok, it was a port issue. It did not like using something other than 2015.

siasur commented 8 years ago

Could you please check if the port is already bound by another service?

devryan commented 8 years ago

This has been fixed and merged into the master branch of both master and remote.

https://github.com/devryan/GamePanelX-V3/commit/29554eb7ed86c81e7fb4a919d4f37ebf5b39c27f

devryan commented 8 years ago

If you run the new code over from 3.0.11 to 3.0.12 make sure to visit your gpx.com/gpx/install to have it update your install. Same for Remote upgrade, make sure to run update.sh.