I ran into a problem with sbbsecho this morning. I noticed the FIDOIN & FIDOOUT events were hanging. I checked the sbbsecho.log and could not find any error messages, and there were no error messages showing up in the console.
Killing the hung instances, opening a terminal, and running sbbsecho by hand gave me this information:
Node (618:250/1.9) externally locked via: /sbbs/fido/out.26a/00fa0001.pnt/00000009.bsy (since ??:??)
I checked and that bsy file did not exist. However, I also noticed that there was a directory permission issue. Once fixed, sbbsecho continued and exited normally.
Would it be possible to have some error message show up either on the sbbs console, or at least the sbbsecho.log, when something like this is happening? As noted above, the only way I saw and fixed the error was by running
sbbsecho manually.
Node (618:250/1.9) externally locked via: /sbbs/fido/out.26a/00fa0001.pnt/00000009.bsy (since ??:??)
That same message would have been written to the sbbsecho.log file. The lock attempt is retried (after the configurable number of BSO lock delay seconds) and gives up (and logs a warning about "Giving up") after the configured numbe
of BSO lock attempts. All of these messages would be written to your sbbsecho.log file as well as the console. The only reason they would not be written to the log file is if you had your "Log Level" set to something less (more severe) than "Informational" in echocfg->Global Settings.
Node (618:250/1.9) externally locked via: /sbbs/fido/out.26a/00fa0001.pnt/00000009.bsy (since ??:??)
That same message would have been written to the sbbsecho.log file. The lock attempt is retried (after the configurable number of BSO lock delay seconds) and gives up (and logs a warning about "Giving up") after the configured numbe
of BSO lock attempts. All of these messages would be written to your sbbsecho.log file as well as the console. The only reason they would not be written to the log file is if you had your "Log Level" set to something less (more severe) than "Informational" in echocfg->Global Settings.
It is set to "Warning". Is that more or less severe than "Informational"?
The attempts were set at 60 so I lowered it. What happens when it "gives up"?
Regardless they were *not* written to the console.
They were written in
the terminal window when sbbsecho was run manually but, in normal
operation, they do *not* show up on the sbbs console or in syslog.
It is set to "Warning". Is that more or less severe than "Informational"?
A warning is more severe than informational and that means that Info-level messages would *not* be written to the sbbsecho.log. I recommend you change that back to the default (info) or if/when you're having issues, you change it
to Debug.
They were written in
the terminal window when sbbsecho was run manually but, in normal operation, they do *not* show up on the sbbs console or in syslog.
Correct, because you changed the log level from info to warning which instructed SBBSecho to only log warnings and errors to the sbbsecho.log file.
SBBSecho is behaving exactly as designed and documented, it appears to me.
So it will show up in the sbbs console, and the syslog, if set to "informational"?
SBBSecho is behaving exactly as designed and documented, it appears to me.
That might be but if sbbsecho is getting a "lock" on a non-existant file (which it should be able to tell because it cannot find the proper time to display - it displays ??:??), I would strongly suggest the message in that case is more than just "informational"... there *is* something wrong that *will* require intervention if you want mail to keep flowing.
So it will show up in the sbbs console, and the syslog, if set to "informational"?
Correct.
Sysop: | HM Derdoc |
---|---|
Location: | SKY NET |
Users: | 5 |
Nodes: | 9 (0 / 9) |
Uptime: | 00:09:44 |
Calls: | 177 |
Calls today: | 1 |
Messages: | 2,954 |