Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| monitor:ntsvcs [2010/02/26 17:29] – digitalman | monitor:ntsvcs [2021/02/12 20:03] (current) – [Uninstallation] Re-apply typo fix from mlong digital man | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Synchronet Windows Services ====== | ====== Synchronet Windows Services ====== | ||
| - | FIXME | + | |
| + | (a.k.a. Synchronet NT Services) | ||
| + | |||
| + | If you're running Synchronet on a Microsoft Windows NT based operating system | ||
| + | (e.g. Windows NT, Windows 2000, Windows XP, Windows 2003, Windows Vista, Windows 2008, Windows 7, Windows 8, or Windows 10), you can run | ||
| + | Synchronet as a set of [[wp> | ||
| + | |||
| + | ===== Executable ===== | ||
| + | |||
| + | The Synchronet Windows Services are hosted by a native executable program. | ||
| + | |||
| + | The executable file is: '' | ||
| + | |||
| + | ===== Advantages ===== | ||
| + | |||
| + | When run as services, Synchronet will start before the Windows Logon prompt is displayed and will run without a user logged in. Windows Services can be protected from being monitored or controlled (e.g. shutdown) by any user but the computer administrator. | ||
| + | |||
| + | ===== Services ===== | ||
| + | |||
| + | The Synchronet Windows Services executable ('' | ||
| + | functionality of Synchronet-Win32 ('' | ||
| + | |||
| + | ^Name | ||
| + | |SynchronetBBS | ||
| + | |SynchronetFTP | ||
| + | |SynchronetWeb | ||
| + | |SynchronetMail | ||
| + | |SynchronetServices | ||
| + | |||
| + | ===== Installation ===== | ||
| + | |||
| + | You should shutdown the [[sbbsctrl|Synchronet Control Panel]] (GUI) before installing the | ||
| + | Synchronet Windows services. | ||
| + | |||
| + | You may install, disable, or remove each Windows service independently, | ||
| + | once. | ||
| + | |||
| + | To install all the Synchronet Windows Services at once, run: | ||
| + | |||
| + | sbbsNTsvcs install | ||
| + | |||
| + | Example output: | ||
| + | < | ||
| + | Synchronet NT Services | ||
| + | |||
| + | Installing Synchronet NT Services... | ||
| + | Installing service: Synchronet Terminal Server | ||
| + | Installing service: Synchronet FTP Server | ||
| + | Installing service: Synchronet Web Server | ||
| + | Installing service: Synchronet SMTP/POP3 Mail Server | ||
| + | Installing service: Synchronet Services | ||
| + | </ | ||
| + | ===== Configuration ===== | ||
| + | |||
| + | The configuration of the Synchronet [[: | ||
| + | Synchronet initialization files (i.e. '' | ||
| + | |||
| + | The Synchronet Windows | ||
| + | services know the location of your Synchronet '' | ||
| + | '' | ||
| + | |||
| + | Once installed, the Synchronet Windows services may be started from the Windows Services | ||
| + | dialog (under the Windows Control Panel-> | ||
| + | |||
| + | {{: | ||
| + | |||
| + | by running the [[monitor: | ||
| + | services will start automatically if enabled and configured for " | ||
| + | |||
| + | The Windows Services control panel applet may also be started with Windows Start-> | ||
| + | |||
| + | {{: | ||
| + | |||
| + | ===== Command Line ===== | ||
| + | |||
| + | Run '' | ||
| + | available command-line options. Example: | ||
| + | < | ||
| + | Usage: sbbsntsvcs [command] [service] | ||
| + | |||
| + | If service name not specified, default is ALL services. | ||
| + | |||
| + | Available Commands: | ||
| + | |||
| + | list to list services | ||
| + | install | ||
| + | remove | ||
| + | disable | ||
| + | enable | ||
| + | start to start services | ||
| + | stop to stop services | ||
| + | recycle | ||
| + | mute to mute (sounds of) services | ||
| + | unmute | ||
| + | </ | ||
| + | |||
| + | For example, to recycle the Synchronet Web Server service, run: | ||
| + | |||
| + | sbbsNTsvcs recycle web | ||
| + | |||
| + | ===== Control ===== | ||
| + | Synchronet Windows Services, like most Windows Services, can also be controlled with the Windows '' | ||
| + | |||
| + | Example: | ||
| + | net start SynchronetBBS | ||
| + | |||
| + | Example: | ||
| + | sc stop SynchronetWeb | ||
| + | |||
| + | Example output: | ||
| + | < | ||
| + | SERVICE_NAME: | ||
| + | TYPE : 20 WIN32_SHARE_PROCESS | ||
| + | STATE : 3 STOP_PENDING | ||
| + | (STOPPABLE, | ||
| + | WIN32_EXIT_CODE | ||
| + | SERVICE_EXIT_CODE | ||
| + | CHECKPOINT | ||
| + | WAIT_HINT | ||
| + | </ | ||
| + | To start or stop all Synchronet Windows Services at once from a command-line, | ||
| + | |||
| + | Example: | ||
| + | sbbsNTsvcs start | ||
| + | |||
| + | Example output: | ||
| + | < | ||
| + | Synchronet NT Services | ||
| + | |||
| + | Starting service: Synchronet Terminal Server | ||
| + | Starting service: Synchronet FTP Server | ||
| + | Starting service: Synchronet Web Server | ||
| + | Starting service: Synchronet SMTP/POP3 Mail Server | ||
| + | Starting service: Synchronet Services | ||
| + | </ | ||
| + | |||
| + | ===== Synchronet Control Panel ===== | ||
| + | |||
| + | The [[sbbsctrl|Synchronet Control Panel]] can be used to start, | ||
| + | stop, configure, recycle, and monitor the Synchronet Windows services once installed, but it | ||
| + | is not required for operation. If the Synchronet Control Panel is not running, | ||
| + | the BBS servers will still function, even if no user is logged into Windows. | ||
| + | |||
| + | You cannot " | ||
| + | window and the optional "Tray icon" in the Synchronet Control Panel will not | ||
| + | reflect active clients connected to Synchronet Windows services. There are plans to | ||
| + | integrate these features with the Synchronet Windows services in the future. | ||
| + | |||
| + | NOTE: For the Synchronet Control Panel to correctly communicate with the Windows Service Control Manager, sbbsctrl.exe may need to be run "as administrator" | ||
| + | ===== Windows Event Log ===== | ||
| + | Log messages (determined by the '' | ||
| + | |||
| + | You may wish to configure your Windows Event Log to overwrite old messages | ||
| + | as needed: | ||
| + | |||
| + | - Open the Event Viewer (e.g. from Control Panel-> | ||
| + | - Right click Application Log, Select Properties | ||
| + | - Set the maximum log size to something like 8192 (8MB) or bigger | ||
| + | - Select " | ||
| + | |||
| + | ===== Debug Output ===== | ||
| + | If you wish to use a Windows debug output viewer (such as [[http:// | ||
| + | output of one or more of the Synchronet Windows Services, set the " | ||
| + | parameters" | ||
| + | to '' | ||
| + | |||
| + | ===== Uninstallation ===== | ||
| + | |||
| + | If you do not wish to run Synchronet as Windows Services (e.g. run them in-process using '' | ||
| + | |||
| + | To disable the Synchronet Windows Services using '' | ||
| + | |||
| + | sbbsNTsvcs disable | ||
| + | |||
| + | Example output: | ||
| + | < | ||
| + | Synchronet NT Services | ||
| + | |||
| + | Disabling service: Synchronet Terminal Server | ||
| + | Disabling service: Synchronet FTP Server | ||
| + | Disabling service: Synchronet Web Server | ||
| + | Disabling service: Synchronet SMTP/POP3 Mail Server | ||
| + | Disabling service: Synchronet Services | ||
| + | </ | ||
| + | |||
| + | To remove/ | ||
| + | |||
| + | sbbsNTsvcs remove | ||
| + | |||
| + | Example output: | ||
| + | < | ||
| + | Synchronet NT Services | ||
| + | |||
| + | Removing: Synchronet Terminal Server | ||
| + | Removing: Synchronet FTP Server | ||
| + | Removing: Synchronet Web Server | ||
| + | Removing: Synchronet SMTP/POP3 Mail Server | ||
| + | Removing: Synchronet Services | ||
| + | </ | ||
| + | |||
| + | :!: This operation does not uninstall Synchronet. | ||
| ===== See Also ===== | ===== See Also ===== | ||
| * [[: | * [[: | ||
| {{tag>}} | {{tag>}} | ||
| - | |||
| - | {{indexmenu_n> | ||