Starting server - Failed (exit = 2)

Need help seting up a server, or have a question on how to run one? This is the place.
Post Reply
User avatar
Knox
Private First Class
Private First Class
Posts: 156
Joined: Tue Jun 12, 2007 12:40 pm

Starting server - Failed (exit = 2)

Post by Knox » Mon Oct 21, 2019 9:51 am

Hey, so I wanted to start a server, first I tried it in bzflag itself, gave me the error in the title. Afterwards I tried it from the command line, gave me following:

Code: Select all

~/.bzf/worlds$ bzfs -world ducati.bzw
ERROR: Unable to start the server, perhaps one is already running?
Same with any other variation, without map, etc.
I'm pretty sure that no other server is running on my computer, checked with htop and killed any possible processes.
Any ideas?

Running on Ubuntu Mate 18.04, installed bzflag from repository.

Code: Select all

~/.bzf/worlds$ bzflag -v
BZFlag client 2.4.12.20171104-MAINT-linux-gnu-SDL (protocol 0221) http://BZFlag.org/
Copyright (c) 1993-2017 Tim Riker

Cheers
What if you slept? And what if, in your sleep, you dreamed? And what if in your dream, you went to heaven and there plucked a strange and beautiful flower? And what if, when you awoke, you had the flower in your hand? Ah, what then? - Coleridge; English philosopher

User avatar
blast
General
General
Posts: 4744
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Starting server - Failed (exit = 2)

Post by blast » Mon Oct 21, 2019 10:40 am

If you use the packages from Debian and Debian-based distros, I believe it runs a server automatically via systemd (and possibly via older init scripts if you're not using systemd). You'll want to either disable the systemd unit or make use if it to run the server.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

trpted
Private First Class
Private First Class
Posts: 159
Joined: Mon Feb 21, 2005 8:29 pm

Re: Starting server - Failed (exit = 2)

Post by trpted » Tue Oct 22, 2019 8:23 pm

While I agree with the post above mine, be sure to check what is listening on port 5154 - even if it is not BZFS.

https://vitux.com/find-out-which-port-n ... ing-linux/

https://www.cyberciti.biz/faq/unix-linu ... e-command/

Post Reply