• 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!

Linux Apache PHP5 exec "Segment fault"

JoccE

CopyLeft (ɔ)
Joined
Aug 26, 2007
Messages
3,418
Solutions
1
Reaction score
92
Location
Sweden, Stockholm
I have a PHP script running this: shell_exec('cd /home/server2/ && ./otserv > my.log 2>&1 &');
php command to start a server

when i run it on a avesta 7.7 server i get this error in error.log:

HTML:
o
sh: line 1: 21051 Segmentation fault      ./otserv

But when i run the command on the latest TFS like this: shell_exec('cd /home/server2/ && ./theforgottenserver> my.log 2>&1 &');

it workes just fine..

anyone have a clue why iget that error and why the avesta file wont start?

I have everything chmod -R 777 (testing purposes)
I have chowned it too www-data:www-data
I have executed chmod +x otserv

Still won't work -.-

Anyone have a clue?
 

Similar threads

Back
Top