• Problem starting bbbsd

    From Chad Adams@1:130/210 to All on Tue Nov 28 22:30:47 2017
    I tried starting the telnet server by:

    ./bbbsd 1 1 Telnet's:23
    It says could not bind

    There is nothing running on port 23.

    Am I doing something wrong?


    --
    yrNews Usenet Reader for iOS
    http://appstore.com/yrNewsUsenetReader

    --- Mystic BBS/NNTP v1.12 A36 2017/11/28 (Linux/64)
    * Origin: -=The ByteXchange BBS : bbs.thebytexchange.com=- (1:130/210)
  • From Jeff Smith@1:282/1031 to Chad Adams on Wed Nov 29 03:22:40 2017
    Hello Chad,

    I tried starting the telnet server by:
    ./bbbsd 1 1 Telnet's:23

    Do you mean "./bbbsd 1 1 telnetd:23" ?

    It says could not bind
    There is nothing running on port 23.

    Am I doing something wrong?

    bbbsd loaded as user can't bind to ports less than 1024. I load bbbsd as root at bootup which allows bbbsd to bind to the necessary ports. bbbsd will load as root but switch to run as user.

    The command line I use to load BBBS here is:

    ./bbbsd 3 22 telnetd:23 httpd:8080 ftpd:21 rawd:24554:binkp "quiet" "fork" "uid:bbbs" &

    Note: All on one line.

    Jeff

    --- BBBS/Li6 v4.10 Toy-3
    * Origin: The Ouija Board (1:282/1031)
  • From Chad Adams@1:130/210 to All on Wed Nov 29 13:35:17 2017
    Thanks

    On 21:22 28/11 , Jeff Smith wrote:
    Hello Chad,

    I tried starting the telnet server by:
    ./bbbsd 1 1 Telnet's:23

    Do you mean "./bbbsd 1 1 telnetd:23" ?

    It says could not bind
    There is nothing running on port 23.

    Am I doing something wrong?

    bbbsd loaded as user can't bind to ports less than 1024. I load bbbsd as root >at bootup which allows bbbsd to bind to the necessary ports. bbbsd will load >as root but switch to run as user.

    The command line I use to load BBBS here is:

    ./bbbsd 3 22 telnetd:23 httpd:8080 ftpd:21 rawd:24554:binkp "quiet" "fork" >"uid:bbbs" &

    Note: All on one line.

    Jeff

    --- BBBS/Li6 v4.10 Toy-3
    * Origin: The Ouija Board (1:282/1031)


    --
    yrNews Usenet Reader for iOS
    http://appstore.com/yrNewsUsenetReader

    --- Mystic BBS/NNTP v1.12 A36 2017/11/28 (Linux/64)
    * Origin: -=The ByteXchange BBS : bbs.thebytexchange.com=- (1:130/210)
  • From Enric Lleal@2:222/2 to Chad Adams on Wed Nov 29 11:50:46 2017
    Hi Chad,

    I tried starting the telnet server by:
    ./bbbsd 1 1 Telnet's:23
    It says could not bind
    There is nothing running on port 23.
    Am I doing something wrong?

    Without more detail your issue seems to point to the impossibility to bind any process less than 1024 with a non-root user.

    Try to start telnet using a port over 1024 and let us know.

    If bbbsd starts, then you can check Serverfault[1], or do some search on [the web search engine of your preference].

    [1]https://serverfault.com/questions/268099/bind-to-ports-less-than-1024-withou t-root-access

    Anyway, good luck!

    A reveure!!
    Enric

    --- BBBS/Li6 v4.10 Toy-4
    * Origin: * BCG-Box, On The Air Since 11th February 1987! * (2:222/2)
  • From Enric Lleal@2:222/2 to Jeff Smith on Wed Nov 29 11:53:26 2017
    Hi Jeff,

    "uid:bbbs" &

    Yes! This point is useful too.

    A reveure!!
    Enric

    --- BBBS/Li6 v4.10 Toy-4
    * Origin: * BCG-Box, On The Air Since 11th February 1987! * (2:222/2)
  • From Robert Wolfe@1:261/20 to Chad Adams on Mon Jan 15 09:06:12 2018
    I tried starting the telnet server by:

    ./bbbsd 1 1 Telnet's:23
    It says could not bind

    There is nothing running on port 23.

    Am I doing something wrong?

    Here is the command line I use to start my bbbs.exe:

    bbbsd 1 27 telnetd:23 httpd:80 rawd:24556:binkp

    Hopefully that will help. Also, to bind BBBSD tp a port lower and 1024 you might want to try running it with sudo.

    --- BBBS/2 v4.10 Toy-3
    * Origin: Omicron Theta/2 * Southaven MS * os2bbs.org (1:261/20)
  • From Robert Wolfe@1:261/20 to Chad Adams on Sun Feb 11 12:58:46 2018
    I tried starting the telnet server by:

    ./bbbsd 1 1 Telnet's:23
    It says could not bind

    There is nothing running on port 23.

    You need to execute this using the 'sudo' command at the very least.

    --- BBBS/2 v4.10 Toy-3
    * Origin: Omicron Theta (1:261/20)