Hi All,/sbbs/exec/scfg
I was hoping to pick your brains. Thanks in advance!!
SBBS V3.17/Linux
Debian GNU/Linux 8.2 (jessie)
Running as non root user (Properly set user and group in sbbs.ini file) Daemonize=false
I am losing a couple settings, I have not been able to figure out what sequence of events causes this. Once it was after running
and another time it was right after I forced a Dove Net run.In
1. I lose the export SBBSCTRL=/sbbs/ctrl environment. I notice it when I
try to run the configuration and it says it cannot find the config file.
the /etc/init.d/sbbs file I haveback
export SBBSCTRL=$SBBSROOT/ctrl
And I have also tried
export SBBSCTRL=/sbbs/ctrl
Just to be sure.
2. Synchronet loses control over Telnet port 23 to xinetd. To gain it
I have to shut down the bbs, restart xinetd, find the xinetd process, manually kill that process and restart the bbs, then sbbs owns the pid.
I definitely lose the environment variable if I were to reboot, but sbbs does start.
Thanks,
Randy
Hi Again,
Okay I figured out the environment part, I guess I had to post the message to think about it, I logged out of SSH and back in and it hit me that I needed to set the environment in my profile (SInce sbbs is not running as root. So it leaves me with just the Telnet issue.
Re: Re: Losing Settingsme
By: Gargoyle to ALL on Tue Jan 26 2016 08:16 am
Hi Again,
Okay I figured out the environment part, I guess I had to post the message to think about it, I logged out of SSH and back in and it hit
networking.that I needed to set the environment in my profile (SInce sbbs is not running as root. So it leaves me with just the Telnet issue.
See http://wiki.synchro.net/faq:tcpip#bind for suggested solutions.
digital man
Synchronet "Real Fact" #12:
Synchronet was the first BBS software to ship with internal QWK
Norco, CA WX: 60.2øF, 29.0% humidity, 6 mph W wind, 0.00 inchesrain/24hrs
---telnet://vert.synchro.net
þ Synchronet þ Vertrauen þ Home of Synchronet þ
2. Synchronet loses control over Telnet port 23 to xinetd. To gain it back I have to shut down the bbs, restart xinetd, find the xinetd process, manually kill that process and restart the bbs, then sbbs owns the pid.
Re: Losing Settings
By: Gargoyle to All on Tue Jan 26 2016 06:34 am
2. Synchronet loses control over Telnet port 23 to xinetd. To gain it back I have to shut down the bbs, restart xinetd, find the xinetd process, manually kill that process and restart the bbs, then sbbs owns the pid.
If your not using xinetd for anything else I would disable it. If you need to have it running you can probably disable it's telnet support so that synchronet doesn't have trouble binding port 23.
Ttyl :-),
Al
... Captain, he's thinking about my breasts again! - Deanna Troy
I am losing a couple settings, I have not been able to figure out what sequence of events causes this. Once it was after running /sbbs/exec/scfg and another time it was right after I forced a Dove Net run.
1. I lose the export SBBSCTRL=/sbbs/ctrl environment. I notice it when I
try to run the configuration and it says it cannot find the config file. In the /etc/init.d/sbbs file I have
export SBBSCTRL=$SBBSROOT/ctrl
And I have also tried
export SBBSCTRL=/sbbs/ctrl
Just to be sure.
2. Synchronet loses control over Telnet port 23 to xinetd. To gain it back
I have to shut down the bbs, restart xinetd, find the xinetd process, manually kill that process and restart the bbs, then sbbs owns the pid.
something.. far as ports go.. for some reason on my system a reroll doesn't free the ports.. they keep retrying...seem to be in use. I find it best just to quit the SBBS console and reboot it with ./sbbs to get things going again.. I also wait atleast 3 to 4 minutes.. I'm not sure why ports don't free up right away even after quitting.. there seems to be some kind of ghost sesssion running.. where it thinks the ports seem to be in use... What I am saying is I wait a bit.. before trying to reroll or sbbs boot anything.. even more so if it was allready running...don't know if any of this helps.. I use pstree to see if sbbs may still be running.
Sysop: | Ragnarok |
---|---|
Location: | Dock Sud, Bs As, Argentina |
Users: | 136 |
Nodes: | 10 (0 / 10) |
Uptime: | 45:20:14 |
Calls: | 15,173 |
Calls today: | 2 |
Files: | 19,862 |
D/L today: |
24 files (4,260K bytes) |
Messages: | 1,693,138 |