Synchronet v3.19b-Win32 (install) has been released (Jan-2022).

You can donate to the Synchronet project using PayPal.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
monitor:sbbscon [2010/03/16 14:51] digitalmanmonitor:sbbscon [2020/09/04 21:13] (current) – First content digital man
Line 1: Line 1:
 ====== Synchronet Console ====== ====== Synchronet Console ======
-The Synchronet Console is a simple program used to control (e.g. start/stop) and monitor Synchronet status and log output from a text mode console (primarily, Unix consoles).+The Synchronet Console is a text/console mode sysop monitoring and control program for the Synchronet BBS.
  
-On Windows, the Synchronet Console is intended to be used as an alternative to the [[sbbsctrl|Synchronet Control Panel]], not in addition to.+For Windows, this program is ''[[dir:exec]]/sbbs.exe''.
  
-The console may **not** currently be used in conjunction with [[ntsvcs|Synchronet as Windows Services]].+For other OSes (e.g. Linux), this program is ''[[dir:exec]]/sbbs''.
  
-===== Executable =====+===== Invoke =====
  
-The Synchronet Console is a native executable program.+<code> 
 +Synchronet Console for Linux-x64  Version 3.18a  Copyright 2020 Rob Swindell
  
-On Windows, the executable file is: ''[[dir:exec]]/sbbs.exe''+Reading /sbbs/ctrl/sbbs.cvs.ini
  
-On Unix, the executable file is''[[dir:exec]]/sbbs'' +usage: sbbs [[cmd setting[...]] [path/ini_file]
- +
-On Unix, this same executable file is used to start Synchronet as a [[syslog|daemon]]. +
- +
-===== Command-line Usage ===== +
- +
-Help on the command-line usage can be displayed by executing the command: ''sbbs-?'' or ''sbbs --help'': +
- +
-<code> +
-Synchronet Console for Win32  Version 3.15a  Copyright 2010 Rob Swindell+
  
-Reading c:\sbbs\ctrl\sbbs.ini+Commands:
  
-usage: sbbs [[setting] [...]] [path/ini_file]+        version    show version/revision details and exit
  
 Global settings: Global settings:
Line 31: Line 23:
         hn[host]   set hostname for this instance         hn[host]   set hostname for this instance
                    if host not specified, uses gethostname                    if host not specified, uses gethostname
 +        un<user>   set username for BBS to run as
 +        ug<group>  set group for BBS to run as
 +        d[x]       run as daemon, log using syslog
 +                   x is the optional LOCALx facility to use
 +                   if none is specified, uses USER
 +                   if 'S' is specified, uses standard facilities
 +        syslog     log to syslog (even when not daemonized)
         gi         get user identity (using IDENT protocol)         gi         get user identity (using IDENT protocol)
         nh         disable hostname lookups         nh         disable hostname lookups
Line 36: Line 35:
         ne         disable event thread         ne         disable event thread
         ni         do not read settings from .ini file         ni         do not read settings from .ini file
 +        nd         do not read run as daemon - overrides .ini file
         defaults   show default settings and options         defaults   show default settings and options
  
Line 44: Line 44:
         tp<port>   set Telnet server port         tp<port>   set Telnet server port
         rp<port>   set RLogin server port (and enable RLogin server)         rp<port>   set RLogin server port (and enable RLogin server)
-        r2         use second RLogin name in BSD RLogin 
         to<value>  set Terminal server options value (advanced)         to<value>  set Terminal server options value (advanced)
         ta         enable auto-logon via IP address         ta         enable auto-logon via IP address
         td         enable Telnet command debug output         td         enable Telnet command debug output
-        tc         emabble sysop availability for chat 
         tq         disable QWK events         tq         disable QWK events
         t-         disable Terminal server         t-         disable Terminal server
Line 79: Line 77:
         wp<port>   set HTTP server port         wp<port>   set HTTP server port
         wo<value>  set Web server option value (advanced)         wo<value>  set Web server option value (advanced)
-        w-         disable Web server (no services module)+        w-         disable Web server
 </code> </code>
  
-===== Log Output ===== +===== Commands =====
- +
-The log output from the enabled servers is intermixed into the console output. +
- +
-The amount of detail is control via the ''LogLevel'' key values in the ''[[config:sbbs.ini]]'' file. +
- +
-Example:+
  
 <code> <code>
-Synchronet Console for Win32  Version 3.15a  Copyright 2010 Rob Swindell+[Threads: 11  Sockets: 39  Clients: 0  Served: 0  Errors: 0] (?=Help): ?
  
-Reading c:\sbbs\ctrl\sbbs.ini +Synchronet Console Version 3.18a Help
-Loading configuration files from c:\sbbs\ctrl\ +
-3/16 14:32:55 term Synchronet Terminal Server Version 3.15 Revision A Debug +
-3/16 14:32:55 web  Synchronet Web Server Revision 1.524 Debug +
-3/16 14:32:55 srvc Synchronet Services Revision 1.243 Debug +
-3/16 14:32:55 mail Synchronet Mail Server Revision 1.513 Debug +
-3/16 14:32:55 ftp  Synchronet FTP Server Revision 1.365 Debug +
-3/16 14:32:55 term Compiled Mar 16 2010 13:05:02 with MSC 1200 +
-3/16 14:32:55 web  Compiled Mar 16 2010 13:06:09 with MSC 1200 +
-3/16 14:32:55 srvc Compiled Mar 16 2010 13:06:05 with MSC 1200 +
-3/16 14:32:55 mail Compiled Mar 16 2010 13:05:58 with MSC 1200 +
-3/16 14:32:55 ftp  Compiled Mar 16 2010 13:05:52 with MSC 1200 +
-3/16 14:32:55 term SMBLIB 2.51 (format 1.21) +
-3/16 14:32:55 web  WinSock 2.0 Running +
-3/16 14:32:55 srvc WinSock 2.0 Running +
-3/16 14:32:55 mail SMBLIB 2.51 (format 1.21) +
-3/16 14:32:55 ftp  WinSock 2.0 Running +
-3/16 14:32:55 term WinSock 2.0 Running +
-3/16 14:32:55 web  Initializing on Tue Mar 16 14:32:55 2010 with options: 800 +
-3/16 14:32:55 srvc Initializing on Tue Mar 16 14:32:55 2010 with options: 800 +
-3/16 14:32:55 mail WinSock 2.0 Running +
-3/16 14:32:55 ftp  Initializing on Tue Mar 16 14:32:55 2010 with options: 114 +
-3/16 14:32:55 term Initializing on Tue Mar 16 14:32:55 2010 with options: 1158 +
-3/16 14:32:55 web  Loading configuration files from c:\sbbs\ctrl\ +
-3/16 14:32:55 srvc Loading configuration files from c:\sbbs\ctrl\ +
-3/16 14:32:55 mail Initializing on Tue Mar 16 14:32:55 2010 with options: 4 +
-3/16 14:32:55 ftp  Loading configuration files from c:\sbbs\ctrl\ +
-3/16 14:32:55 term Loading configuration files from c:\sbbs\ctrl\ +
-3/16 14:32:55 web  Temporary file directory: c:\sbbs\temp\ +
-3/16 14:32:55 srvc Temporary file directory: c:\sbbs\temp\ +
-3/16 14:32:55 mail Loading configuration files from c:\sbbs\ctrl\ +
-3/16 14:32:55 ftp  Temporary file directory: c:\sbbs\temp\ +
-3/16 14:32:55 term Verifying/creating data directories +
-3/16 14:32:55 web  Root directory: c:\sbbs\web\root +
-3/16 14:32:55 mail Temporary file directory: c:\sbbs\temp\ +
-3/16 14:32:55 srvc Reading c:\sbbs\ctrl\services.ini +
-3/16 14:32:55 web  Error directory: c:\sbbs\web\root\error\ +
-3/16 14:32:55 mail Reading c:\sbbs\ctrl\mailproc.ini +
-3/16 14:32:55 ftp  Maximum clients: 10 +
-3/16 14:32:55 web  CGI directory: c:\sbbs\web\root\cgi-bin\ +
-3/16 14:32:55 mail Maximum clients: 10 +
-3/16 14:32:55 ftp  Passive Port Low: 1024 +
-3/16 14:32:55 mail Maximum inactivity: 120 seconds +
-3/16 14:32:55 web  Read 79 MIME types from c:\sbbs\ctrl\mime_types.ini +
-3/16 14:32:55 ftp  Passive Port High: 65535 +
-3/16 14:32:55 srvc 1656 NNTP socket bound to TCP port 119 +
-3/16 14:32:55 ftp  Maximum inactivity: 300 seconds +
-3/16 14:32:55 web  Read 2 CGI content handlers from c:\sbbs\ctrl\web_handler.ini +
-3/16 14:32:55 mail 1640 SMTP socket opened +
-3/16 14:32:55 web  Read 1 JavaScript content handlers from c:\sbbs\ctrl\web_handler.ini +
-3/16 14:32:55 srvc 1668 Finger socket bound to TCP port 79 +
-3/16 14:32:55 mail 1640 SMTP Server listening on port 25 +
-3/16 14:32:55 ftp  1620 FTP Server socket opened +
-3/16 14:32:55 ftp  1620 FTP Server listening on port 21 +
-3/16 14:32:55 web  1596 Web Server socket opened +
-3/16 14:32:55 srvc 1604 UDP-Finger socket bound to UDP port 79 +
-3/16 14:32:55 mail 1600 POP3 socket opened +
-3/16 14:32:55 ftp  1620 FTP Server thread started +
-3/16 14:32:55 mail 1600 POP3 Server listening on port 110 +
-3/16 14:32:55 srvc 1584 Gopher socket bound to TCP port 70 +
-3/16 14:32:55 web  1596 Web Server listening on port 8080 +
-3/16 14:32:55 mail 0000 SendMail thread started +
-3/16 14:32:55 mail 1640 Mail Server thread started +
-3/16 14:32:55 srvc 1548 IRC socket bound to TCP port 6667 +
-3/16 14:32:55 web  1596 Web Server thread started +
-3/16 14:32:55 srvc 1548 IRC static JavaScript service thread started +
-3/16 14:32:55 srvc 0000 Services thread started (5 service sockets bound) +
-3/16 14:32:55 term Verifying/creating node directories +
-3/16 14:32:55 srvc 1548 IRC SynchronetIRCd-1.3a(1.151) started. +
-3/16 14:32:55 term Telnet socket 1512 opened +
-3/16 14:32:55 term Telnet Server listening on port 23 +
-3/16 14:32:55 srvc 1548 IRC Reading Config: c:\sbbs\ctrl\ircd.conf +
-3/16 14:32:56 term SSH socket 1480 opened +
-3/16 14:32:56 term SSH Server listening on port 22 +
-3/16 14:32:56 term Terminal Server constructor using socket 1512 (settings=8212) +
-3/16 14:32:56 term Terminal Server temporary file directory: c:\sbbs\temp\ +
-3/16 14:32:56 term BBS Events constructor using socket -1 (settings=8212) +
-3/16 14:32:56 term Terminal Server output thread started +
-3/16 14:32:56 term BBS Events temporary file directory: c:\sbbs\temp\event\ +
-3/16 14:32:56 evnt BBS Events thread started +
-3/16 14:32:56 term BBS Events JavaScript: Creating runtime: 8388608 bytes +
-3/16 14:32:56 term BBS Events JavaScript: Initializing context (stack: 16384 bytes) +
-3/16 14:32:56 term BBS Events JavaScript: Thread stack limit: 262144 bytes +
-3/16 14:32:56 term Terminal Server thread started for nodes 1 through 4 +
-3/16 14:32:56 term Backing-up user data... +
-3/16 14:32:56 term Backing-up mail data... +
-3/16 14:32:56 term Checking for inactive/expired user records... +
-3/16 14:32:56 term Purging deleted/expired e-mail +
-[Threads: 10  Sockets: 13  Clients: 0  Served: 0  Errors: 0] (?=Help): +
-</code> +
- +
-===== Command Prompt ===== +
- +
-The command prompt can be used for basic control and monitoring commands. Hitting ''?'' will display prompt help: +
-<code> +
-Synchronet Console Version 3.15a Help+
  
 q   = quit q   = quit
 n   = node list n   = node list
-w   = who's online+w   = who's online (node's in-use)
 l   = lock node (toggle) l   = lock node (toggle)
 d   = down node (toggle) d   = down node (toggle)
 i   = interrupt node (toggle) i   = interrupt node (toggle)
 +a   = show failed login attempts
 +c   = show connected clients
 r   = recycle servers (when not in use) r   = recycle servers (when not in use)
 s   = shutdown servers (when not in use) s   = shutdown servers (when not in use)
Line 201: Line 100:
 !   = execute external command !   = execute external command
 ?   = print this help information ?   = print this help information
 +
 </code> </code>
- 
- 
-===== Source Code ===== 
-The Synchronet Console is primarily coded in ''[[http://cvs.synchro.net/cgi-bin/viewcvs.cgi/*checkout*/src/sbbs3/sbbscon.c|sbbscon.c]]''. 
- 
  
 ===== See Also ===== ===== See Also =====
-  * [[:monitor:|Monitoring]]+  * [[:monitor:|monitor index]]
  
 {{tag>}} {{tag>}}
  
-{{indexmenu_n>2}}