Vice City: Multiplayer

VC:MP Discussion => Support => Topic started by: abbasi on Jul 02, 2015, 10:01 AM

Title: Cant run server_log.txt
Post by: abbasi on Jul 02, 2015, 10:01 AM
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
Title: Re: Cant run server_log.txt
Post by: Gudio on Jul 02, 2015, 10:44 AM
chmod +wr server_log.txt
Title: Re: Cant run server_log.txt
Post by: abbasi on Jul 02, 2015, 10:48 AM
Operation not permitted
Title: Re: Cant run server_log.txt
Post by: Thijn on Jul 02, 2015, 11:29 AM
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
Title: Re: Cant run server_log.txt
Post by: abbasi on Jul 02, 2015, 12:16 PM
http://s13.postimg.org/7nnr9xslj/Capture_PNG3.png
and i cant change permissions of server_log.txt
Title: Re: Cant run server_log.txt
Post by: Thijn on Jul 02, 2015, 12:54 PM
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)
Title: Re: Cant run server_log.txt
Post by: abbasi on Jul 02, 2015, 01:04 PM
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? :'(
Title: Re: Cant run server_log.txt
Post by: abbasi on Jul 02, 2015, 06:48 PM
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
Title: Re: Cant run server_log.txt
Post by: MacTavish on Jul 03, 2015, 10:32 AM
Try running the blank script first
Title: Re: Cant run server_log.txt
Post by: abbasi on Jul 03, 2015, 02:50 PM
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
Title: Re: Cant run server_log.txt
Post by: Thijn on Jul 03, 2015, 05:47 PM
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.
Title: Re: Cant run server_log.txt
Post by: abbasi on Jul 03, 2015, 05:54 PM
IDK but my script is fine and i tried it on my pc and server remained running for 1 hour and it was fine
Title: Re: Cant run server_log.txt
Post by: Thijn on Jul 03, 2015, 06:50 PM
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
Title: Re: Cant run server_log.txt
Post by: abbasi on Jul 03, 2015, 06:51 PM
Problem solved by Mashreq :)
Title: Re: Cant run server_log.txt
Post by: Thijn on Jul 03, 2015, 06:54 PM
Quote from: abbasi on Jul 03, 2015, 06:51 PMProblem solved by Mashreq :)
Mind sharing the solution?
Title: Re: Cant run server_log.txt
Post by: abbasi on Jul 03, 2015, 06:56 PM
Previous problems were in host1plus vps and i am only able to run my server on ubuntu 13.10 64 bit.All problems were due to those os's and vcmp server is not supported with them.I tried all os's but cant solve now runnig on 64 bit :)