• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Segmentation fault

fyalhed

Member
Joined
Nov 18, 2017
Messages
156
Reaction score
20
Why my server is crashing?
I open that, but when end shows me:


[0:35:14.865] >> OTserver server Online!

Segmentation fault

And close the server
 
I've apt-get install gbd, so created this script (like i saw in a tutorial)
autorestart.sh
Code:
#!/bin/bash
ulimit -c unlimited
while true;
do
echo "Restart : `date +%d-%m-%Y--%H:%M`" >> ./restart.log
./tfs --log-file "output.txt" "error.txt"
sleep 10
done

So when crash, show me this:
[18:0:19.379] >> WarriorsOtserver server Online!

./autorestart.sh: line 8: 7696 Segmentation fault (core dumped) ./tfs --log-file "output.txt" "error.txt"
[18:0:42.512] The Forgotten Server 0.4

[18:0:42.512] >> Loading config (config.lua)


Where i can see that output.txt and error.txt?
 
I've apt-get install gbd, so created this script (like i saw in a tutorial)
autorestart.sh
Code:
#!/bin/bash
ulimit -c unlimited
while true;
do
echo "Restart : `date +%d-%m-%Y--%H:%M`" >> ./restart.log
./tfs --log-file "output.txt" "error.txt"
sleep 10
done

So when crash, show me this:
[18:0:19.379] >> WarriorsOtserver server Online!

./autorestart.sh: line 8: 7696 Segmentation fault (core dumped) ./tfs --log-file "output.txt" "error.txt"
[18:0:42.512] The Forgotten Server 0.4

[18:0:42.512] >> Loading config (config.lua)


Where i can see that output.txt and error.txt?

Should be where your tfs file is
 
Back
Top