I have been having some issues with my new setup and I am trying to get some info on what might be causing the crash. In the past 2 days I have been getting port already in use errors for all of my services like this one:
!ERROR 98 binding FTP server socket to port 21: address already in use
!ERROR 98 binding FTP server socket to port 21: address already in use
I personally run my terminal, web, mail, and services servers in separate processes, so that if one crashes or needs to restart it doesn't take down the whole BBS. I'm not really advocating for this but it can help isolate the problem.
I personally run my terminal, web, mail, and services servers in separate processes, so that if one crashes or needs to restart it doesn't take down the whole BBS. I'm not really advocating for this but
it can help isolate the problem.
I didn't know you could do that, as I thought they were threads within the sbbs process. I might look into how to do that.
I didn't know you could do that, as I thought they were threads within the sbbs process. I might look into how to do that.
I wouldn't push this configuration on the average sysop, but since my BBS is mainly for development and sees frequent restarts it's handy for me to keep certain things online. (Lots of people connect to my JSON-DB and so on.)
A command line like this will start just the terminal service, and daemonize:
sbbs d t!
Similarly f!, m!, s!, w! for ftp, mail, services, web. You'll see these and other options if you do 'sbbs --help'.
I'm on Linux and have separate systemd unit files for each of these (except FTP which I don't bother with anymore). I also run some of the JS services (JSON-DB, ircd, etc.) standalone via jsexec so I can restart my services without interrupting them.
Hello All,
I have been having some issues with my new setup and I am trying to get some info on what might be causing the crash. In the past 2 days I have been getting port already in use errors for all of my services like this one:
!ERROR 98 binding FTP server socket to port 21: address already in use
This happens to all services/ports then the system freezes. Seems to happen after running for most of the day and sometime after 7:00pm, I am looking for a time pattern. I have to reboot the system and fire the BBS back up.
Sysop: | neur0mancer |
---|---|
Location: | Colorado Springs, CO |
Users: | 21 |
Nodes: | 10 (0 / 10) |
Uptime: | 245:14:38 |
Calls: | 278 |
Messages: | 59,497 |