Posts: 11
Threads: 3
Joined: Jul 2012
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]
Posts: 66
Threads: 0
Joined: Sep 2011
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.
Posts: 1,436
Threads: 7
Joined: Jun 2010
02 Jul 12, 10:20PM
(This post was last modified: 02 Jul 12, 10:20PM by tempest.)
Yeah, you need to be in that directory, otherwise ./blah won't work.
Posts: 11
Threads: 3
Joined: Jul 2012
03 Jul 12, 03:44PM
(This post was last modified: 03 Jul 12, 03:46PM by DB/ShadowDragon.)
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:~$
Posts: 1,436
Threads: 7
Joined: Jun 2010
Looks like /home/ryard/Downloads/1.1.0.4 doesn't exist any more...
Posts: 11
Threads: 3
Joined: Jul 2012
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?
Posts: 105
Threads: 17
Joined: Jan 2012
03 Jul 12, 09:58PM
(This post was last modified: 03 Jul 12, 09:59PM by W@rr!0r.)
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.
Posts: 11
Threads: 3
Joined: Jul 2012
(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.
Posts: 11
Threads: 3
Joined: Jul 2012
I have WINE. I could just do that. But I won't, because windows is stupid and unreliable.
Posts: 414
Threads: 12
Joined: Feb 2011
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...