• bbbsd

    From Aaron Thomas@1:229/426 to All on Fri May 7 15:12:33 2021
    I'm trying to run bbbsd on Ubuntu with this syntax:

    sudo ./bbbsd 1 1 telnet:23 httpd:80

    But then BBBSD says this:

    "Can't bind to socket. Is service already running? Using ports below 1024 require root access, see uid: paramenter"

    It works fine if I just run it on port 23 for telnet like this:

    sudo ./bbbsd 1 1 telnet:23

    But of course I want to listen for http connections too.

    Any tips?

    Thanks!
    --- Renegade vY2Ka2
    * Origin: Joey, do you like movies about gladiators? (1:229/426)
  • From Alan Ianson@1:153/757 to Aaron Thomas on Fri May 7 13:25:18 2021
    Hello Aaron,

    I'm trying to run bbbsd on Ubuntu with this syntax:

    sudo ./bbbsd 1 1 telnet:23 httpd:80

    But then BBBSD says this:

    "Can't bind to socket. Is service already running? Using ports below
    1024 require root access, see uid: paramenter"

    It works fine if I just run it on port 23 for telnet like this:

    sudo ./bbbsd 1 1 telnet:23

    But of course I want to listen for http connections too.

    Any tips?

    I always ran bbbsd like this..

    sudo ./bbbsd 1 1 ftpd:21 telnetd:23 httpd:80 rawd:24554:binkp quiet fork uid:alan

    There are other parameters you can use too, use the uid: of the user the BBS is running as. Adjust as needed.

    It's been a while since I ran the SW version. I'm not sure how a command like that will work in the SW version but have a try and see.

    bbbsd is a listener. You can run bbbs to poll other nodes like this..

    ./bbbs 1 1 tcpip

    Or like this to log on locally..

    ./bbbs 0

    Ttyl :-),
    Al
    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757)
  • From Janis Kracht@1:261/38 to Aaron Thomas on Fri May 7 16:59:52 2021
    Hi Aaron!

    I'm trying to run bbbsd on Ubuntu with this syntax:

    sudo ./bbbsd 1 1 telnet:23 httpd:80

    I switch to user root on my ubuntu system, and use this command:

    ./bbbsd 4 15 telnetd:2030 httpd:8090 ftpd:60721 rawd:24555:binkp "quiet" "fork"
    "uid:bbs" &

    ^ (that is all one line)

    I use nodes 1, 2 and 3 for dialout lines here, that's why I start bbbsd with nodes 4-15.

    But then BBBSD says this:

    "Can't bind to socket. Is service already running? Using ports below 1024 require root access, see uid: paramenter"

    Right... you need to run that as root. You can user bbbs to the sudo group. Hope that helps :)

    Take care,
    Janis

    --- BBBS/Li6 v4.10 Toy-5
    * Origin: Prism bbs (1:261/38)
  • From Aaron Thomas@1:229/426 to Alan Ianson on Fri May 7 19:43:04 2021
    sudo ./bbbsd 1 1 ftpd:21 telnetd:23 httpd:80 rawd:24554:binkp quiet fork uid:alan

    I tried that, but with admin as the uid (that's the administrator user account.) It still said this:

    "Can't bind to socket. Is service already running? Using ports below 1024 require root access, see uid: paramenter"

    Note: This is running under Ubuntu 20.04 LTS on a VPS (in case that matters.)

    Thanks for your suggestion - that looks more proper - but do you have any other suggestion? It seems like a port conflict but I'm not sure why.
    --- Renegade vY2Ka2
    * Origin: Joey, do you like movies about gladiators? (1:229/426)
  • From Aaron Thomas@1:229/426 to Janis Kracht on Fri May 7 19:47:38 2021
    ./bbbsd 4 15 telnetd:2030 httpd:8090 ftpd:60721 rawd:24555:binkp "quiet" "f
    "uid:bbs" &

    Thanks for this tip - there's a slight variation from what Alan gave me, so I tried that (the quotes) but it still says:

    "Can't bind to socket. Is service already running? Using ports below 1024
    require root access, see uid: paramenter"

    I'm running it as the administrator (in ubuntu) but it just won't bind to port 80. It binds to port 23 with no problem.

    Could it have soemthing to do with Apache settings?
    --- Renegade vY2Ka2
    * Origin: Joey, do you like movies about gladiators? (1:229/426)
  • From Janis Kracht@1:261/38 to Aaron Thomas on Fri May 7 20:57:08 2021
    Hi Aaron,

    ./bbbsd 4 15 telnetd:2030 httpd:8090 ftpd:60721 rawd:24555:binkp "quiet" "f >> "uid:bbs" &

    Thanks for this tip - there's a slight variation from what Alan gave me, so I tried that (the quotes) but it still says:
    "Can't bind to socket. Is service already running? Using ports below 1024 require root access, see uid: paramenter"

    I'm running it as the administrator (in ubuntu) but it just won't bind to port
    80. It binds to port 23 with no problem.

    Could it have soemthing to do with Apache settings?

    If you are running apache on port 80, then make sure you run bbbsd's on httpd:8090 or some different port for the bbbs httpd portion.

    Hope that helps... :)

    Take care,
    Janis

    --- BBBS/Li6 v4.10 Toy-5
    * Origin: Prism bbs (1:261/38)
  • From Alan Ianson@1:153/757.2 to Aaron Thomas on Fri May 7 19:50:38 2021
    Re: Re: bbbsd
    By: Aaron Thomas to Alan Ianson on Fri May 07 2021 07:43 pm

    Thanks for your suggestion - that looks more proper - but do you have any other suggestion? It seems like a port conflict but I'm not sure why.

    Is that port already being used? I would try another port, or free up the one you are trying to use if you can.
    --- SBBSecho 3.14-Linux
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757.2)
  • From Aaron Thomas@1:229/426 to Janis Kracht on Sat May 8 09:17:10 2021
    If you are running apache on port 80, then make sure you run bbbsd's on httpd:8090 or some different port for the bbbs httpd portion.

    Thank you!
    --- Renegade vY2Ka2
    * Origin: Joey, do you like movies about gladiators? (1:229/426)
  • From Janis Kracht@1:261/38 to Aaron Thomas on Sat May 8 16:07:26 2021
    If you are running apache on port 80, then make sure you run bbbsd's on
    httpd:8090 or some different port for the bbbs httpd portion.

    Thank you!

    I hope that fixed your problem :)

    --- BBBS/Li6 v4.10 Toy-5
    * Origin: Prism bbs (1:261/38)