On Mon, 02 Feb 2015, Jeff Smith wrote to All:
JS> I am having some issues getting the BBBSD daemons to load on my
JS> Linux (Ubuntu) box. I can load BBBS fine. But when I try to load
JS> the BBBSD daemon(s) I get the response from Ubuntu that "Can't
JS> bind() socket. Service already running?".
if you are not running bbbsd as root, you can't bind sockets <1024... this is
pretty standard in today's *nixes due to security and to prevent users from
running unauthorized servers on the standard ports...
with that said, are you trying to start your bbbsd from startup scripts during
the boot process? if so, then root should be the user that is starting it and
it should switch to its user and group after binding the ports...
JS> I did some checking and BBBSD is not already running. I can't see
JS> anything obvious that tells me that anything is loaded that is
JS> using the ports 21, 23, 80, 24554. I see via ps aux and netstat
JS> that a number of items get loaded on startup. Any thoughts or
JS> suggestions?
sudo netstat -taupen | grep -E -e ":(21|23|80|24554) "
that'll tell you what is on any of those ports... you'll want a wide (>100)
terminal to see it nice and clear without any wrapping...
JS> It has been awhile since I ran Linux. Back then it was FreeBSD.
JS> So I am going through a learning curve here.
:)
)\/(ark
* Origin: (1:3634/12)
|