Server not working
#1
I am using Ubuntu 12.04 and when I try to start a server from the terminal it says there is an error in line 2.


ryard@ryard-Latitude-2100:~$ bash /home/ryard/Downloads/1.1.0.4/server_autogated.sh
/home/ryard/Downloads/1.1.0.4/server_autogenerated.sh: line 2: ./server.sh: No such file or directory

I don't know how to fix this. PLEASE HELP! MY CLAN NEEDS A PRIVATE SERVER[/font]
Thanks given by:
#2
Quote:ryard@ryard-Latitude-2100:~$ bash /home/ryard/Downloads/1.1.0.4/server_autogated.sh
/home/ryard/Downloads/1.1.0.4/server_autogenerated.sh: line 2: ./server.sh: No such file or directory

Is this normal?


Try this anyway :

sh -c "cd /home/ryard/Downloads/1.1.0.4;./server_autogenerated.sh;"
Don't know why, but it solves the problem here.
Thanks given by:
#3
Yeah, you need to be in that directory, otherwise ./blah won't work.
Thanks given by:
#4
Thanks for your help.

but it doesn't work...


ryard@ryard-Latitude-2100:~$ sh -c "cd /home/ryard/Downloads/1.1.0.4;./server_autogenerated.sh;"
sh: 1: cd: can't cd to /home/ryard/Downloads/1.1.0.4
sh: 1: ./server_autogenerated.sh: not found
ryard@ryard-Latitude-2100:~$
Thanks given by:
#5
Looks like /home/ryard/Downloads/1.1.0.4 doesn't exist any more...
Thanks given by:
#6
Yeah, I fixed that problem.
I am using a distant connection that lags when I set up my server, how can I maximise the performance of my server, besides limiting the number of clients? Something in servercmdline?
Thanks given by:
#7
Sorry DB/ShadowDragon, I cannot think of any other alternative besides hosting a VPS or limiting the number of clients. Or if you can just purchase a wireless expander to boost your bandwidth.
Thanks given by:
#8
(03 Jul 12, 09:58PM)W@rr!0r Wrote: Sorry DB/ShadowDragon, I cannot think of any other alternative besides hosting a VPS or limiting the number of clients. Or if you can just purchase a wireless expander to boost your bandwidth.

That's fine.
Thanks given by:
#9
(02 Jul 12, 06:09PM)DB/ShadowDragon Wrote: I am using Ubuntu 12.04 and when I try to start a server from the terminal it says there is an error in line 2.


ryard@ryard-Latitude-2100:~$ bash /home/ryard/Downloads/1.1.0.4/server_autogated.sh
/home/ryard/Downloads/1.1.0.4/server_autogenerated.sh: line 2: ./server.sh: No such file or directory

I don't know how to fix this. PLEASE HELP! MY CLAN NEEDS A PRIVATE SERVER[/font]

Hosting a server using Windows OS is easier
Thanks given by:
#10
I have WINE. I could just do that. But I won't, because windows is stupid and unreliable.
Thanks given by:
#11
Windows is not stupid its just different, I personally use Linux to host servers because of its stability and the lack of restarts for updates. They are valid reasons to use Linux, windows can also be configured to not restart on updates but it is not as stable.

As for creating servers, I have done it many times in both OS and i do not find it any easier in either...
Thanks given by: