[GH-ISSUE #829] Monitor function doesn't work #665

Closed
opened 2026-02-27 02:03:00 +03:00 by kerem · 32 comments
Owner

Originally created by @federicovilla on GitHub (May 23, 2016).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/829

I've updated LGSM to latest version ( just functions, main script is previous version)
The monitor function cannot check and restart server, failed cecking session and restart

Originally created by @federicovilla on GitHub (May 23, 2016). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/829 I've updated LGSM to latest version ( just functions, main script is previous version) The monitor function cannot check and restart server, failed cecking session and restart
kerem 2026-02-27 02:03:00 +03:00
  • closed this issue
  • added the
    type: bug
    label
Author
Owner

@UltimateByte commented on GitHub (May 23, 2016):

Which game ?? Come on, details dude !
Works fine for Garry's Mod, works fine for Rust.
I had to fix a little something for legacy yesterday btw, so maybe just try to update your functions.
./gameserver uf
./gameserver validate

<!-- gh-comment-id:220944555 --> @UltimateByte commented on GitHub (May 23, 2016): Which game ?? Come on, details dude ! Works fine for Garry's Mod, works fine for Rust. I had to fix a little something for legacy yesterday btw, so maybe just try to update your functions. `./gameserver uf` `./gameserver validate`
Author
Owner

@federicovilla commented on GitHub (May 23, 2016):

Sorry for poor info
Insurgency game, performed validation, no issues. Don't know if log could come in handy

<!-- gh-comment-id:220980649 --> @federicovilla commented on GitHub (May 23, 2016): Sorry for poor info Insurgency game, performed validation, no issues. Don't know if log could come in handy
Author
Owner

@JimTR commented on GitHub (May 23, 2016):

maybe related i get this issue when running the monitor command on gmod & fof

games/fof/fofserver monitor
fetching functions/command_monitor.sh...FAIL

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404 Not Found
https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/command_monitor.sh

for some reason github is returning a 404 - not found error

<!-- gh-comment-id:220984853 --> @JimTR commented on GitHub (May 23, 2016): maybe related i get this issue when running the monitor command on gmod & fof > games/fof/fofserver monitor > fetching functions/command_monitor.sh...FAIL % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 Not Found https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/command_monitor.sh for some reason github is returning a 404 - not found error
Author
Owner

@federicovilla commented on GitHub (May 23, 2016):

Just to see if the issue was due to old script, I've updated the insserver script to latest version.
Got the same error trying to perform the monitor function:
insserver@hades:~$ ./insserver monitor [ FAIL ] Monitor ins-server: Checking session: FAIL [ .... ] Starting ins-server: Bradipi Urlanti Serverfailed to connect to server: Connection refused [ FAIL ] Starting ins-server: Unable to start Bradipi Urlanti Server

<!-- gh-comment-id:221019336 --> @federicovilla commented on GitHub (May 23, 2016): Just to see if the issue was due to old script, I've updated the insserver script to latest version. Got the same error trying to perform the monitor function: `insserver@hades:~$ ./insserver monitor [ FAIL ] Monitor ins-server: Checking session: FAIL [ .... ] Starting ins-server: Bradipi Urlanti Serverfailed to connect to server: Connection refused [ FAIL ] Starting ins-server: Unable to start Bradipi Urlanti Server `
Author
Owner

@UltimateByte commented on GitHub (May 23, 2016):

If you got 2 servers using the same port, your server might stop for that reason.

Do this on your first server (same for @JimTR )
./gameserver uf

<!-- gh-comment-id:221019641 --> @UltimateByte commented on GitHub (May 23, 2016): If you got 2 servers using the same port, your server might stop for that reason. Do this on your first server (same for @JimTR ) `./gameserver uf`
Author
Owner

@federicovilla commented on GitHub (May 23, 2016):

Mhh...even trying tos tart the server failed...
insserver@hades:~$ ./insserver start [ .... ] Starting ins-server: Bradipi Urlanti Serverfailed to connect to server: Connection refused [ FAIL ] Starting ins-server: Unable to start Bradipi Urlanti Server

<!-- gh-comment-id:221019665 --> @federicovilla commented on GitHub (May 23, 2016): Mhh...even trying tos tart the server failed... `insserver@hades:~$ ./insserver start [ .... ] Starting ins-server: Bradipi Urlanti Serverfailed to connect to server: Connection refused [ FAIL ] Starting ins-server: Unable to start Bradipi Urlanti Server `
Author
Owner

@UltimateByte commented on GitHub (May 23, 2016):

If you got 2 servers using the same port, your server might stop for that reason.

<!-- gh-comment-id:221019707 --> @UltimateByte commented on GitHub (May 23, 2016): If you got 2 servers using the same port, your server might stop for that reason.
Author
Owner

@federicovilla commented on GitHub (May 23, 2016):

Performed the update functions...no issue, and I'm sure there is just one server running on my linuxbox

insserver@hades:~$ ./insserver uf fetching command_update_functions.sh...OK [ .... ] Updating functions removed ‘/home/insserver/lgsm/functions/alert.sh’ removed ‘/home/insserver/lgsm/functions/check_config.sh’ removed ‘/home/insserver/lgsm/functions/check_deps.sh’ removed ‘/home/insserver/lgsm/functions/check_glibc.sh’ removed ‘/home/insserver/lgsm/functions/check_ip.sh’ removed ‘/home/insserver/lgsm/functions/check_logs.sh’ removed ‘/home/insserver/lgsm/functions/check_permissions.sh’ removed ‘/home/insserver/lgsm/functions/check_root.sh’ removed ‘/home/insserver/lgsm/functions/check.sh’ removed ‘/home/insserver/lgsm/functions/check_status.sh’ removed ‘/home/insserver/lgsm/functions/check_steamcmd.sh’ removed ‘/home/insserver/lgsm/functions/check_system_dir.sh’ removed ‘/home/insserver/lgsm/functions/check_tmux.sh’ removed ‘/home/insserver/lgsm/functions/command_monitor.sh’ removed ‘/home/insserver/lgsm/functions/command_start.sh’ removed ‘/home/insserver/lgsm/functions/command_stop.sh’ removed ‘/home/insserver/lgsm/functions/command_update_functions.sh’ removed ‘/home/insserver/lgsm/functions/command_validate.sh’ removed ‘/home/insserver/lgsm/functions/core_dl.sh’ removed ‘/home/insserver/lgsm/functions/core_functions.sh’ removed ‘/home/insserver/lgsm/functions/core_getopt.sh’ removed ‘/home/insserver/lgsm/functions/core_messages.sh’ removed ‘/home/insserver/lgsm/functions/fix_glibc.sh’ removed ‘/home/insserver/lgsm/functions/fix_ins.sh’ removed ‘/home/insserver/lgsm/functions/fix.sh’ removed ‘/home/insserver/lgsm/functions/fix_steamcmd.sh’ removed ‘/home/insserver/lgsm/functions/info_config.sh’ removed ‘/home/insserver/lgsm/functions/info_distro.sh’ removed ‘/home/insserver/lgsm/functions/info_glibc.sh’ removed ‘/home/insserver/lgsm/functions/logs.sh’ removed ‘/home/insserver/lgsm/functions/update_check.sh’ [ OK ] Updating functions

monitor and start function failed to restart the server...

<!-- gh-comment-id:221021967 --> @federicovilla commented on GitHub (May 23, 2016): Performed the update functions...no issue, and I'm sure there is just one server running on my linuxbox `insserver@hades:~$ ./insserver uf fetching command_update_functions.sh...OK [ .... ] Updating functions removed ‘/home/insserver/lgsm/functions/alert.sh’ removed ‘/home/insserver/lgsm/functions/check_config.sh’ removed ‘/home/insserver/lgsm/functions/check_deps.sh’ removed ‘/home/insserver/lgsm/functions/check_glibc.sh’ removed ‘/home/insserver/lgsm/functions/check_ip.sh’ removed ‘/home/insserver/lgsm/functions/check_logs.sh’ removed ‘/home/insserver/lgsm/functions/check_permissions.sh’ removed ‘/home/insserver/lgsm/functions/check_root.sh’ removed ‘/home/insserver/lgsm/functions/check.sh’ removed ‘/home/insserver/lgsm/functions/check_status.sh’ removed ‘/home/insserver/lgsm/functions/check_steamcmd.sh’ removed ‘/home/insserver/lgsm/functions/check_system_dir.sh’ removed ‘/home/insserver/lgsm/functions/check_tmux.sh’ removed ‘/home/insserver/lgsm/functions/command_monitor.sh’ removed ‘/home/insserver/lgsm/functions/command_start.sh’ removed ‘/home/insserver/lgsm/functions/command_stop.sh’ removed ‘/home/insserver/lgsm/functions/command_update_functions.sh’ removed ‘/home/insserver/lgsm/functions/command_validate.sh’ removed ‘/home/insserver/lgsm/functions/core_dl.sh’ removed ‘/home/insserver/lgsm/functions/core_functions.sh’ removed ‘/home/insserver/lgsm/functions/core_getopt.sh’ removed ‘/home/insserver/lgsm/functions/core_messages.sh’ removed ‘/home/insserver/lgsm/functions/fix_glibc.sh’ removed ‘/home/insserver/lgsm/functions/fix_ins.sh’ removed ‘/home/insserver/lgsm/functions/fix.sh’ removed ‘/home/insserver/lgsm/functions/fix_steamcmd.sh’ removed ‘/home/insserver/lgsm/functions/info_config.sh’ removed ‘/home/insserver/lgsm/functions/info_distro.sh’ removed ‘/home/insserver/lgsm/functions/info_glibc.sh’ removed ‘/home/insserver/lgsm/functions/logs.sh’ removed ‘/home/insserver/lgsm/functions/update_check.sh’ [ OK ] Updating functions ` monitor and start function failed to restart the server...
Author
Owner

@federicovilla commented on GitHub (May 23, 2016):

First of all thanks for your invaluable help.
I really don't think there are two server running on my linuxbox.
In any case..is there a way to check this?
In any case I've performed the
.\insserver uf
command.
After that both monitor and start the server failed

<!-- gh-comment-id:221022850 --> @federicovilla commented on GitHub (May 23, 2016): First of all thanks for your invaluable help. I really don't think there are two server running on my linuxbox. In any case..is there a way to check this? In any case I've performed the `.\insserver uf` command. After that both monitor and start the server failed
Author
Owner

@UltimateByte commented on GitHub (May 23, 2016):

If start function doesn't work, monitor will report a down server.
I'd check for duplicate processes.
I'm not using insserver, but if you run ./insserver details, it will give you the command to check if there are processes listening.
Something like :
netstat -atunp | grep srcds_linux
But srcds_linux will be different accordingly to insserver.
Might be helpful.
Otherwise, we'll need some logs to get what's going on.

<!-- gh-comment-id:221023455 --> @UltimateByte commented on GitHub (May 23, 2016): If start function doesn't work, monitor will report a down server. I'd check for duplicate processes. I'm not using insserver, but if you run `./insserver details`, it will give you the command to check if there are processes listening. Something like : netstat -atunp | grep srcds_linux But srcds_linux will be different accordingly to insserver. Might be helpful. Otherwise, we'll need some logs to get what's going on.
Author
Owner

@federicovilla commented on GitHub (May 23, 2016):

Mhh...I checked details function several times....

`insserver@hades:~$ ./insserver details
fetching command_details.sh...OK
fetching info_parms.sh...OK

Distro Details

Distro: Debian GNU/Linux 8.4 (jessie)
Arch: x86_64
Kernel: 4.5.0-x86_64-linode65
Hostname: hades
tmux: tmux 1.9
GLIBC: 2.19

Performance

Uptime: 9d, 8h, 44m
Avg Load: 0.00, 0.03, 0.07

Mem: total used free
Physical: 2.0G 1.5G 461M
Swap: 255M 16M 239M

Storage

Filesystem: /dev/root
Total: 48G
Used: 8.9G
Available: 36G
Serverfiles: 8.0G

Insurgency Server Details

Server name: Bradipi Urlanti Server
Server IP: 139.162.185.198:27015
Server password: NOT SET
RCON password: XXXXXXX
Tick rate: 64
Status: OFFLINE

insserver Script Details

Service name: ins-server
insserver version: 210516
User: insserver
GLIBC required: 2.15
Email alert: off
Update on start: off
Location: /home/insserver
Config file: /home/insserver/serverfiles/insurgency/cfg/ins-server.cfg

Backups

No Backups created

Command-line Parameters

./srcds_linux -game insurgency -strictportbind -ip 139.162.185.198 -port 27015 +clientport 27005 +tv_port 27020 -tickrate 64 +map sinjar_coop +servercfgfile ins-server.cfg -maxplayers 36 +sv_workshop_enabled 0

Ports

Change ports by editing the parameters in:
insserver

Useful port diagnostic command:
netstat -atunp | grep srcds_linux

DESCRIPTION DIRECTION PORT PROTOCOL

Game/RCON INBOUND 27015 tcp/udp
SourceTV INBOUND 27020 udp
< Client OUTBOUND 27005 udp

Status: OFFLINE

insserver@hades:~$
`

<!-- gh-comment-id:221023937 --> @federicovilla commented on GitHub (May 23, 2016): Mhh...I checked `details` function several times.... `insserver@hades:~$ ./insserver details fetching command_details.sh...OK fetching info_parms.sh...OK # Distro Details Distro: Debian GNU/Linux 8.4 (jessie) Arch: x86_64 Kernel: 4.5.0-x86_64-linode65 Hostname: hades tmux: tmux 1.9 GLIBC: 2.19 # Performance Uptime: 9d, 8h, 44m Avg Load: 0.00, 0.03, 0.07 Mem: total used free Physical: 2.0G 1.5G 461M Swap: 255M 16M 239M # Storage Filesystem: /dev/root Total: 48G Used: 8.9G Available: 36G Serverfiles: 8.0G # Insurgency Server Details Server name: Bradipi Urlanti Server Server IP: 139.162.185.198:27015 Server password: NOT SET RCON password: XXXXXXX Tick rate: 64 Status: OFFLINE # insserver Script Details Service name: ins-server insserver version: 210516 User: insserver GLIBC required: 2.15 Email alert: off Update on start: off Location: /home/insserver Config file: /home/insserver/serverfiles/insurgency/cfg/ins-server.cfg # Backups No Backups created # Command-line Parameters ./srcds_linux -game insurgency -strictportbind -ip 139.162.185.198 -port 27015 +clientport 27005 +tv_port 27020 -tickrate 64 +map sinjar_coop +servercfgfile ins-server.cfg -maxplayers 36 +sv_workshop_enabled 0 # Ports Change ports by editing the parameters in: insserver Useful port diagnostic command: netstat -atunp | grep srcds_linux DESCRIPTION DIRECTION PORT PROTOCOL > Game/RCON INBOUND 27015 tcp/udp > SourceTV INBOUND 27020 udp > < Client OUTBOUND 27005 udp Status: OFFLINE insserver@hades:~$ `
Author
Owner

@JimTR commented on GitHub (May 23, 2016):

running the command fixed gmod & fof servers ... is there a command where by when a critical update is made this is tested out ?

<!-- gh-comment-id:221024140 --> @JimTR commented on GitHub (May 23, 2016): running the command fixed gmod & fof servers ... is there a command where by when a critical update is made this is tested out ?
Author
Owner

@UltimateByte commented on GitHub (May 23, 2016):

@GliderHacker Then the command to check for other listening servers is netstat -atunp | grep srcds_linux

@JimTR So it's fixed for you ? What is your question ? I don't get it.

<!-- gh-comment-id:221032528 --> @UltimateByte commented on GitHub (May 23, 2016): @GliderHacker Then the command to check for other listening servers is `netstat -atunp | grep srcds_linux` @JimTR So it's fixed for you ? What is your question ? I don't get it.
Author
Owner

@federicovilla commented on GitHub (May 23, 2016):

The command returned no infos ...
insserver@hades:~/serverfiles$ sudo netstat -atunp | grep srcds_linux insserver@hades:~/serverfiles$

<!-- gh-comment-id:221033392 --> @federicovilla commented on GitHub (May 23, 2016): The command returned no infos ... `insserver@hades:~/serverfiles$ sudo netstat -atunp | grep srcds_linux insserver@hades:~/serverfiles$ `
Author
Owner

@federicovilla commented on GitHub (May 23, 2016):

About log file...this is the latest script log file:
May 23 18:53:08 ins-server: Starting: Unable to start Bradipi Urlanti Server May 23 18:54:01 ins-server: Monitor: Bradipi Urlanti Server May 23 18:54:02 ins-server: Monitor: Checking session: CHECKING May 23 18:54:03 ins-server: Monitor: Checking session: FAIL May 23 18:54:03 ins-server: Monitor: Sending restart alert: ./srcds_linux process not running May 23 18:54:03 ins-server: Monitor: Monitor is starting Bradipi Urlanti Server May 23 18:54:04 ins-server: Starting: Bradipi Urlanti Server May 23 18:54:05 ins-server: Starting: Rotating log files

<!-- gh-comment-id:221033866 --> @federicovilla commented on GitHub (May 23, 2016): About log file...this is the latest script log file: `May 23 18:53:08 ins-server: Starting: Unable to start Bradipi Urlanti Server May 23 18:54:01 ins-server: Monitor: Bradipi Urlanti Server May 23 18:54:02 ins-server: Monitor: Checking session: CHECKING May 23 18:54:03 ins-server: Monitor: Checking session: FAIL May 23 18:54:03 ins-server: Monitor: Sending restart alert: ./srcds_linux process not running May 23 18:54:03 ins-server: Monitor: Monitor is starting Bradipi Urlanti Server May 23 18:54:04 ins-server: Starting: Bradipi Urlanti Server May 23 18:54:05 ins-server: Starting: Rotating log files `
Author
Owner

@JimTR commented on GitHub (May 23, 2016):

it was not a question ... I added the comment 'possible related' and did not ask a question

<!-- gh-comment-id:221038210 --> @JimTR commented on GitHub (May 23, 2016): it was not a question ... I added the comment 'possible related' and did not ask a question
Author
Owner

@UltimateByte commented on GitHub (May 23, 2016):

@GliderHacker Those logs aren't helpful, it tells us what we already know : Unable to start.
In order to know why, a game log (console log) would help. You can also try the debug start and look what the console tells you.
./insserver debug

<!-- gh-comment-id:221039728 --> @UltimateByte commented on GitHub (May 23, 2016): @GliderHacker Those logs aren't helpful, it tells us what we already know : Unable to start. In order to know why, a game log (console log) would help. You can also try the debug start and look what the console tells you. `./insserver debug`
Author
Owner

@federicovilla commented on GitHub (May 23, 2016):

Thanks UltimateByte.
Performed debug command...it seems to be a dependency issue...

`insserver@hades:~$ ./insserver debug
fetching command_debug.sh...OK

Insurgency Debug

Distro: Debian GNU/Linux 8.4 (jessie)
Arch: x86_64
Kernel: 4.5.0-x86_64-linode65
Hostname: hades

Start parameters:
./srcds_linux -game insurgency -strictportbind -ip 139.162.185.198 -port 27015 + clientport 27005 +tv_port 27020 -tickrate 64 +map "sinjar_coop" +servercfgfile i ns-server.cfg -maxplayers 36 +sv_workshop_enabled 0 -debug

Use for identifying server issues only!
Press CTRL+c to drop out of debug mode.
Warning! If ins-server is already running it will be stopped.

Continue? [Y/n]y
[ INFO ] Debug ins-server: Stopping any running servers
fetching command_stop.sh...OK
[ OK ] Stopping ins-server: Bradipi Urlanti Server is already stopped
[ OK ] Debug ins-server: Starting debug
./srcds_linux: error while loading shared libraries: libtier0_srv.so: cannot open shared object file: No such file or directory
insserver@hades:~$
`

<!-- gh-comment-id:221041287 --> @federicovilla commented on GitHub (May 23, 2016): Thanks UltimateByte. Performed debug command...it seems to be a dependency issue... `insserver@hades:~$ ./insserver debug fetching command_debug.sh...OK # Insurgency Debug Distro: Debian GNU/Linux 8.4 (jessie) Arch: x86_64 Kernel: 4.5.0-x86_64-linode65 Hostname: hades Start parameters: ./srcds_linux -game insurgency -strictportbind -ip 139.162.185.198 -port 27015 + clientport 27005 +tv_port 27020 -tickrate 64 +map "sinjar_coop" +servercfgfile i ns-server.cfg -maxplayers 36 +sv_workshop_enabled 0 -debug Use for identifying server issues only! Press CTRL+c to drop out of debug mode. Warning! If ins-server is already running it will be stopped. Continue? [Y/n]y [ INFO ] Debug ins-server: Stopping any running servers fetching command_stop.sh...OK [ OK ] Stopping ins-server: Bradipi Urlanti Server is already stopped [ OK ] Debug ins-server: Starting debug ./srcds_linux: error while loading shared libraries: libtier0_srv.so: cannot open shared object file: No such file or directory insserver@hades:~$ `
Author
Owner

@UltimateByte commented on GitHub (May 23, 2016):

dpkg --add-architecture i386
apt-get update; apt-get install tmux ca-certificates curl lib32gcc1 libstdc++6 libstdc++6:i386

<!-- gh-comment-id:221046349 --> @UltimateByte commented on GitHub (May 23, 2016): `dpkg --add-architecture i386` `apt-get update; apt-get install tmux ca-certificates curl lib32gcc1 libstdc++6 libstdc++6:i386`
Author
Owner

@UltimateByte commented on GitHub (May 23, 2016):

I've also spotted this
http://steamcommunity.com/app/222880/discussions/2/618457398958286048/#p1

<!-- gh-comment-id:221046943 --> @UltimateByte commented on GitHub (May 23, 2016): I've also spotted this http://steamcommunity.com/app/222880/discussions/2/618457398958286048/#p1
Author
Owner

@federicovilla commented on GitHub (May 23, 2016):

Thanks for feedback....I got the same discussion about LD_LIBRARY_PATH...
SInce before the updat the server was running fine I think the issue it's not due to a missing library or dependency......about LD_LIBRARY_PATH I'm wondering if I can add that line to the insserver script safely.
What do you suggest?

<!-- gh-comment-id:221048348 --> @federicovilla commented on GitHub (May 23, 2016): Thanks for feedback....I got the same discussion about LD_LIBRARY_PATH... SInce before the updat the server was running fine I think the issue it's not due to a missing library or dependency......about LD_LIBRARY_PATH I'm wondering if I can add that line to the insserver script safely. What do you suggest?
Author
Owner

@federicovilla commented on GitHub (May 23, 2016):

Performed the installation command...all libraries are already there:
Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done ca-certificates is already the newest version. curl is already the newest version. lib32gcc1 is already the newest version. libstdc++6 is already the newest version. tmux is already the newest version. libstdc++6:i386 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

<!-- gh-comment-id:221049964 --> @federicovilla commented on GitHub (May 23, 2016): Performed the installation command...all libraries are already there: `Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done ca-certificates is already the newest version. curl is already the newest version. lib32gcc1 is already the newest version. libstdc++6 is already the newest version. tmux is already the newest version. libstdc++6:i386 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. `
Author
Owner

@federicovilla commented on GitHub (May 23, 2016):

Now I'm totally lost...following the thread above I've added, into the insserver script, after appid=""237410", the following line:
export LD_LIBRARY_PATH=/home/insserver/serverfiles:/home/insserver/serverfiles/bin:{$LD_LIBRARY_PATH}

The monitor commadn provide the following message:
[ OK ] Stopping ins-server: Bradipi Urlanti Server is already stopped [ .... ] Starting ins-server: Bradipi Urlanti Serverfailed to connect to server: Connection refused [ FAIL ] Starting ins-server: Unable to start Bradipi Urlanti Server
Same rror as before

<!-- gh-comment-id:221053462 --> @federicovilla commented on GitHub (May 23, 2016): Now I'm totally lost...following the thread above I've added, into the insserver script, after appid=""237410", the following line: `export LD_LIBRARY_PATH=/home/insserver/serverfiles:/home/insserver/serverfiles/bin:{$LD_LIBRARY_PATH}` The monitor commadn provide the following message: `[ OK ] Stopping ins-server: Bradipi Urlanti Server is already stopped [ .... ] Starting ins-server: Bradipi Urlanti Serverfailed to connect to server: Connection refused [ FAIL ] Starting ins-server: Unable to start Bradipi Urlanti Server ` Same rror as before
Author
Owner

@JimTR commented on GitHub (May 23, 2016):

'Connection refused' sort of gives the idea that the setup is not perfect .... does this game require a valid steam user rather than not ?

<!-- gh-comment-id:221064492 --> @JimTR commented on GitHub (May 23, 2016): 'Connection refused' sort of gives the idea that the setup is not perfect .... does this game require a valid steam user rather than not ?
Author
Owner

@federicovilla commented on GitHub (May 23, 2016):

Mhhh...but previous version was running fine with anonymous user.
And the debug command still provide the same error:
./srcds_linux: error while loading shared libraries: libtier0_srv.so: cannot open shared object file: No such file or directory

<!-- gh-comment-id:221067999 --> @federicovilla commented on GitHub (May 23, 2016): Mhhh...but previous version was running fine with anonymous user. And the debug command still provide the same error: `./srcds_linux: error while loading shared libraries: libtier0_srv.so: cannot open shared object file: No such file or directory `
Author
Owner

@federicovilla commented on GitHub (May 23, 2016):

Fixed!
I have replaced the following insserver script line:

executable="./srcds_linux"

with

executable="./srcds_run"

Don't know exactly what happened ( I'd like to understand in any case...suggestions are welcome ), but now the server is up.
Reverted the modified line in insserver script...let's hope

<!-- gh-comment-id:221069722 --> @federicovilla commented on GitHub (May 23, 2016): Fixed! I have replaced the following insserver script line: `executable="./srcds_linux"` with `executable="./srcds_run"` Don't know exactly what happened ( I'd like to understand in any case...suggestions are welcome ), but now the server is up. Reverted the modified line in insserver script...let's hope
Author
Owner

@JimTR commented on GitHub (May 23, 2016):

you are 100% right ... I just ran the script an hit the same errors as you ... changing the executable does fix it 👍

<!-- gh-comment-id:221071025 --> @JimTR commented on GitHub (May 23, 2016): you are 100% right ... I just ran the script an hit the same errors as you ... changing the executable does fix it :+1:
Author
Owner

@UltimateByte commented on GitHub (May 23, 2016):

So the executable name needs to be changed through lgsm. Well, sorry about that, thanks for your time.

<!-- gh-comment-id:221086706 --> @UltimateByte commented on GitHub (May 23, 2016): So the executable name needs to be changed through lgsm. Well, sorry about that, thanks for your time.
Author
Owner

@federicovilla commented on GitHub (May 24, 2016):

No needs to say sorry! Honestly I don't know if changing executable file into insserver script is the best and definitive fix for the issue: previous installation worked fine without changing executable name.
Ciao and thx again for support and great script

Inviato da iPhone

Il giorno 23 mag 2016, alle ore 22:30, UltimateByte notifications@github.com ha scritto:

So the executable name needs to be changed through lgsm. Well, sorry about that, thanks for your time.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

<!-- gh-comment-id:221184543 --> @federicovilla commented on GitHub (May 24, 2016): No needs to say sorry! Honestly I don't know if changing executable file into insserver script is the best and definitive fix for the issue: previous installation worked fine without changing executable name. Ciao and thx again for support and great script Inviato da iPhone > Il giorno 23 mag 2016, alle ore 22:30, UltimateByte notifications@github.com ha scritto: > > So the executable name needs to be changed through lgsm. Well, sorry about that, thanks for your time. > > — > You are receiving this because you were mentioned. > Reply to this email directly or view it on GitHub
Author
Owner

@UltimateByte commented on GitHub (May 24, 2016):

OK, issue confirmed, fix works as intended.
In the end, srcds_run is the default name for SRCDS, so insserver just came back to the default srcds management. I'll fix that in a minute.

<!-- gh-comment-id:221294007 --> @UltimateByte commented on GitHub (May 24, 2016): OK, issue confirmed, fix works as intended. In the end, srcds_run is the default name for SRCDS, so insserver just came back to the default srcds management. I'll fix that in a minute.
Author
Owner

@UltimateByte commented on GitHub (May 24, 2016):

Fixed ;)

<!-- gh-comment-id:221294892 --> @UltimateByte commented on GitHub (May 24, 2016): Fixed ;)
Author
Owner

@lock[bot] commented on GitHub (Jul 19, 2018):

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:406255169 --> @lock[bot] commented on GitHub (Jul 19, 2018): This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#665
No description provided.