19.12.2014, 20:16
(
Последний раз редактировалось CharlieSanchez; 21.12.2014 в 22:52.
)
Hello, i am running a server on this machine already with samp-npc running perfectly, however i tried today running a copy of that existing gamemode , on a different folder of course, also has been chmod'ed configured to run on a different port also, However,
The second server executable samp03svr rus perfectly, but the samp-npc will not, so..
I have checked around and found nothing related to this..
I have checked around and found nothing related to this..
The first server continues to run and also the first server samp-npc is running,
The second server samp-npc on the diferent folder does not run,
What i have tried:The second server samp-npc on the diferent folder does not run,
Renaming the executables,
samp03svr = samp03svr2 Result : runs.
samp-npc = samp-npc2 = will not run not in both ways.
Announce is fine...
Any ideas on this ? is there a way to perform this ? i have never had this issue in other machines that i have had,
Specifications of the current machine:
Код:
Dedicated Server : Brand = Supermicro Processor Avoton 8 cores 2.6ghz Ram DDR3 8gb Gigabyte ehternet connection OS : Ubunto 14.04 LTS Lattest All libraries updated , and all that is needed..
I hope that someone knows a way to do this
Best Regards Charlie.
Код:
(EDIT) I have checked and re-checked, server.cf for max npc's its fine, I have checked and re uploaded the npcs record file, re uploaded the samp linux executables also..
Solution:
I have found the problem causing this issue and here the result and how to overcome this matter:
The issue is that in this distro of linux (Ubunto 14.04LTS) It seams that the if you run a second server in the same user , even beeing a sudoer or Root, it will not load more than one instance of samp-npc , right so a very simple and easy solution , create another user withing you system , give sudoer permissions , but not root, as you do not need root to run sa-mp and also for security mesures i do not recomend, Ok So Detailed solution bellow :
1 Create a new user, adding sudoer permissions to it : I have found the problem causing this issue and here the result and how to overcome this matter:
The issue is that in this distro of linux (Ubunto 14.04LTS) It seams that the if you run a second server in the same user , even beeing a sudoer or Root, it will not load more than one instance of samp-npc , right so a very simple and easy solution , create another user withing you system , give sudoer permissions , but not root, as you do not need root to run sa-mp and also for security mesures i do not recomend, Ok So Detailed solution bellow :
Код:
sudo adduser <username> sudo
Код:
sudo login (username)
Код:
cd /path/path... ( path is where you folder is located ..)
Код:
sudo chmod +x samp-npc samp03svr announce
Код:
sudo ./samp03svr &
Silly right ... i know but hey, had the issue , found the solution now i'm sharing it !