I'm running Synchronet 3.17a on Windows Server 2003 (32-bit) on an Amazon EC2 instance. I'm running 3.17 because I want to be able to use electronicchicken's v4 web interface.
When I launch everything via the Synchronet control panel without the NT services installed, everything functions fine.
If I install the NT services and then attempt to start them, they all start fine except for the web server. It gives a 1067 (service unexpectedly terminated) and then the rest of the services stop as well.
Here's some of the entries from the system events. The last one is the interesting one.
Adding Web Server listening socket on 0.0.0.0 port 80
Event Type: Error
Event Source: Application Error
Event Category: (100)
Event ID: 1000
Date: 6/14/2017
Time: 11:04:34 AM
User: N/A
Computer: AMAZON-0E24E5F0
Description:
Faulting application sbbsNTsvcs.exe, version 0.0.0.0, faulting module unknown, version 0.0.0.0, fault address 0x00000000.
Re: Error running Webserver as NT Service
By: Deepthaw to All on Wed Jun 14 2017 11:32 am
I'm running Synchronet 3.17a on Windows Server 2003 (32-bit) on an Amazon EC2 instance. I'm running 3.17 because I want to be able to use electronicchicken's v4 web interface.
When I launch everything via the Synchronet control panel without the NT services installed, everything functions fine.
If I install the NT services and then attempt to start them, they all start fine except for the web server. It gives a 1067 (service unexpectedly terminated) and then the rest of the services stop as well.
Here's some of the entries from the system events. The last one is the interesting one.
Adding Web Server listening socket on 0.0.0.0 port 80
Event Type: Error
Event Source: Application Error
Event Category: (100)
Event ID: 1000
Date: 6/14/2017
Time: 11:04:34 AM
User: N/A
Computer: AMAZON-0E24E5F0
Description:
Faulting application sbbsNTsvcs.exe, version 0.0.0.0, faulting module unknown, version 0.0.0.0, fault address 0x00000000.
Looks like the web server crashes right after trying to listen on port 80. If you increase the LogLevel in your sbbs.ini file, do you get more log events before the crash (fault)?
We'll need to narrow this down a little further to find the cause (and fix it).
Re: Error running Webserver as NT Service
By: Deepthaw to All on Wed Jun 14 2017 11:32 am
I'm running Synchronet 3.17a on Windows Server 2003 (32-bit) on an Amazon EC2 instance. I'm running 3.17 because I want to be able to use electronicchicken's v4 web interface.
When I launch everything via the Synchronet control panel without the NT services installed, everything functions fine.
If I install the NT services and then attempt to start them, they all start fine except for the web server. It gives a 1067 (service unexpectedly terminated) and then the rest of the services stop as well.
Here's some of the entries from the system events. The last one is the interesting one.
Adding Web Server listening socket on 0.0.0.0 port 80
Event Type: Error
Event Source: Application Error
Event Category: (100)
Event ID: 1000
Date: 6/14/2017
Time: 11:04:34 AM
User: N/A
Computer: AMAZON-0E24E5F0
Description:
Faulting application sbbsNTsvcs.exe, version 0.0.0.0, faulting module unknown, version 0.0.0.0, fault address 0x00000000.
Looks like the web server crashes right after trying to listen on port 80. If you increase the LogLevel in your sbbs.ini file, do you get more log events before the crash (fault)?
We'll need to narrow this down a little further to find the cause (and fix it).
Raise the logging level up to "debugging" and no new events recorded or displayed in the
log, at least not in the place we're looking for (the only added events all reported no
problems.)
I tried changing up which port it is listening on, and that didn't help either.
Re: Re: Error running Webserver as NT Service
By: Deepthaw to Digital Man on Wed Jun 14 2017 01:41 pm
Right, but what I wanted to know was: what is the last web server log message before the crash?
Okay, good to know.
digital man
Synchronet "Real Fact" #46:
Synchronet External X/Y/ZMODEM protocol driver (SEXYZ) was introduced in 2005. Norco, CA WX: 70.8-#F, 45.0% humidity, 4 mph SSE wind, 0.00 inches rain/24hrs
---
rua Synchronet rua Vertrauen rua Home of Synchronet rua telnet://vert.synchro.net
Faulting application sbbsNTsvcs.exe, version 0.0.0.0, faulting module unknown, version 0.0.0.0, fault address 0x00000000.
I guess that shows how many people run it on win32 as opposed to linux. :)
I guess that shows how many people run it on win32 as opposed to linux. :)
Out of curiosity, what was the bug? My coding is a bit rusty, but it looks like a null-pointer exception.
I originally wanted to run my BBS off of my Raspberry Pi for fun, but kept hitting little snags in setting it up. I set it up in a Windows XP VM just to get it working, and when I looked at Amazon's free EC2 instances, they offered Windows Server 2003, so I just copied the \sbbs directory over, and voila. [0m
Re: Re: Error running Webserver as NT Service
By: Deepthaw to KK4QBN on Thu Jun 15 2017 23:17:34
Free you say? haha.. I will have a look at that.
--
Tim Smith (KK4QBN)
KK4QBN BBS
---
rua Synchronet rua KK4QBN + (706)-422-9538 + kk4qbn.synchro.net + 24/7/365
Free you say? haha.. I will have a look at that.For one year at least. I'll worry about the ramifications after that.
It's 750/month, which is enough for 31.25 days nonstop.
| Sysop: | Winzlo |
|---|---|
| Location: | Minnesota, USA |
| Users: | 11 |
| Nodes: | 16 (0 / 16) |
| Uptime: | 495937:18:34 |
| Calls: | 82 |
| Files: | 1,070 |
| D/L today: |
27 files (11,920K bytes) |
| Messages: | 286,956 |