SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 26/10/2015, 07:42 AM   #1
Warlord
Big Clucker
 
Warlord's Avatar
 
Join Date: Nov 2014
Posts: 75
Reputation: 5
Default I can't start my server (linux)

I already look everywhere... I used three methods ./samp03svr, ./samp03svr & and nohup ./samp03svr.
When I try to use the command it says no such file or directory.
Warlord is offline   Reply With Quote
Old 26/10/2015, 07:53 AM   #2
SoFahim
Gangsta
 
SoFahim's Avatar
 
Join Date: May 2015
Location: Bangladesh.
Posts: 879
Reputation: 86
Default Re: I can't start my server (linux)

You are using a VPS? If yes great, make sure you have CD to that folder where contain SAMP03svr.
BTW, you in root user or other?
__________________
Lead Developer & Mapping manager of SARP

You can contact me at Discord, my ID: Gold#8839 available for paid works
Quote:
SoFahim is offline   Reply With Quote
Old 26/10/2015, 09:07 AM   #3
Warlord
Big Clucker
 
Warlord's Avatar
 
Join Date: Nov 2014
Posts: 75
Reputation: 5
Default Re: I can't start my server (linux)

I did everything this guy said right here, http://forum.sa-mp.com/showthread.php?t=327272. I cannot start the server. I made another user which I named "samp"
Warlord is offline   Reply With Quote
Old 26/10/2015, 09:09 AM   #4
SoFahim
Gangsta
 
SoFahim's Avatar
 
Join Date: May 2015
Location: Bangladesh.
Posts: 879
Reputation: 86
Default Re: I can't start my server (linux)

If you can use root user that would be cool. Use root user. All problem will be fix.
__________________
Lead Developer & Mapping manager of SARP

You can contact me at Discord, my ID: Gold#8839 available for paid works
Quote:
SoFahim is offline   Reply With Quote
Old 26/10/2015, 09:24 AM   #5
Warlord
Big Clucker
 
Warlord's Avatar
 
Join Date: Nov 2014
Posts: 75
Reputation: 5
Default Re: I can't start my server (linux)

Thank you for your help. I finally figured out how to fix it. +rep?
Warlord is offline   Reply With Quote
Old 28/10/2015, 06:54 AM   #6
SoFahim
Gangsta
 
SoFahim's Avatar
 
Join Date: May 2015
Location: Bangladesh.
Posts: 879
Reputation: 86
Default Re: I can't start my server (linux)

If you cannot use root, then fix the permissions with chmod and other.
It would be dangerous if you use root. I have told that because I though you newbie about managing a VPS.
That would be cool if you use another user.
__________________
Lead Developer & Mapping manager of SARP

You can contact me at Discord, my ID: Gold#8839 available for paid works
Quote:
SoFahim is offline   Reply With Quote
Old 28/10/2015, 07:46 AM   #7
Yousha
Banned
 
Join Date: May 2013
Posts: 118
Reputation: 7
Default Re: I can't start my server (linux)

It's not about permis...

Are you using 64-bit Linux? which distro?
Yousha is offline   Reply With Quote
Old 28/10/2015, 09:26 PM   #8
MD5
Huge Clucker
 
MD5's Avatar
 
Join Date: Nov 2014
Location: United Kingdom
Posts: 247
Reputation: 24
Default Re: I can't start my server (linux)

Quote:
Originally Posted by SoFahim View Post
If you cannot use root, then fix the permissions with chmod and other.
It would be dangerous if you use root. I have told that because I though you newbie about managing a VPS.
That would be cool if you use another user.
It's perfectly safe to run through root; just choose a hard password.
MD5 is offline   Reply With Quote
Old 29/10/2015, 01:20 AM   #9
nickdodd25
Huge Clucker
 
nickdodd25's Avatar
 
Join Date: Jan 2012
Location: Unknown
Posts: 448
Reputation: 114
Default Re: I can't start my server (linux)

Quote:
Originally Posted by SoFahim View Post
If you can use root user that would be cool. Use root user. All problem will be fix.
Quote:
Originally Posted by MD5 View Post
It's perfectly safe to run through root; just choose a hard password.
This is literally the worse suggestions i have seen in a while. Never use root! You are just asking for problems when you do. Your better off creating a new user and giving them sudo and then disabling root.

And i know he said he has it fixed but i believe the issue is he was on a 64bit vps and he would need to install 32bit libs for it.
__________________
Nick
nickdodd25 is offline   Reply With Quote
Old 29/10/2015, 04:00 AM   #10
Warlord
Big Clucker
 
Warlord's Avatar
 
Join Date: Nov 2014
Posts: 75
Reputation: 5
Default Re: I can't start my server (linux)

Nickdodd is right, It would be better if you'll use new user, root isn't really needed for running game servers. I already fixed it. I found out that I need to apt-get install update and install libs. +REP FOR EVERYBODY that tried to help.

For everyone that might encounter this in the future I fixed it using root user and by doing these
apt-get install update
sudo apt-get install apt-file
sudo apt-file update
sudo apt-file find libstdc++.so.6
sudo apt-get install libstdc++6
You need to use root to install updates After installing updates you can go back to normal user and run your server using nohup ./samp03svr to stop the server you can use killall samp03svr.
Warlord is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Server start on linux deimantas1 Scripting Help 1 10/04/2014 08:36 PM
Server start-up on Linux Skillet` Server Support 16 07/07/2013 10:28 AM
Linux server won't start tomvalk Server Support 4 06/08/2012 08:16 AM
I trying to start linux server SampLoverNo123 Scripting Help 2 01/02/2012 12:53 PM
Server Linux won't start? Darklom Server Support 11 01/01/2011 05:55 PM


All times are GMT. The time now is 06:32 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.