Cant run server_log.txt

Started by abbasi, Jul 02, 2015, 10:01 AM

Previous topic - Next topic

abbasi

I m facing prob on linux when i try to load server.It shows me error Failed to open server_log.txt in append mode.
Segmentation fault
http://s1.postimg.org/v4rix1b0f/Capture.png

Gudio


abbasi


Thijn

Then you probably have your files owned by someone other the the user whos executing that command and running the server.

Please run:
whoami
ls -la

abbasi

#4
http://s13.postimg.org/7nnr9xslj/Capture_PNG3.png
and i cant change permissions of server_log.txt

Thijn

Use the command su to change your user to root, it asks for your root password.
After you became root, use the following command in your user folder: chown -R abbasi:abbasi . (With the dot)

abbasi

wtf >.< now thisssssssss
http://s27.postimg.org/eb40b5p0z/Capture_PNG3.png
When i run my server on windows its showing this
http://s17.postimg.org/aa8k3z87j/Capture1.png
is this segmentation fault due to that error?
and why all these with me? :'(

abbasi

#7
Problem is in main.nut but whats prob idk because after this the contents of main.nut loads.But its working fine on windows
http://s27.postimg.org/eb40b5p0z/Capture_PNG3.png see
And i got core file in my script

MacTavish

Try running the blank script first

Grand Hunting Project
Join #SLC, #KAKAN, #Doom, #GHP @LUnet

Retired VC:MP Player/Scripter :P

abbasi

#9
vcmp 0.4 is ........................... i tried to run server on 2 different vps but cant run always different errors and developers dont know what are these errors.Its not script prob its fine on windows :P

Thijn

#10
Quote from: abbasi on Jul 03, 2015, 02:50 PMvcmp 0.4 is ........................... i tried to run server on 2 different vps but cant run always different errors and developers dont know what are these errors.Its not script prob its fine on windows :P
The fact your script works on linux windows does not mean these crashes have nothing to do with your script. Did you actually tried running the server without any script?

I have tried the server on about 6 different vps'es and they all worked fine.

abbasi

IDK but my script is fine and i tried it on my pc and server remained running for 1 hour and it was fine

Thijn

Quote from: abbasi on Jul 03, 2015, 05:54 PMIDK but my script is fine and i tried it on my pc and server remained running for 1 hour and it was fine
TRY IT

abbasi

Problem solved by Mashreq :)

Thijn