Difference between revisions of "Recitalserver"

From Recital Documentation Wiki
Jump to: navigation, search
(terminate)
(broadcast)
Line 56: Line 56:
 
Terminate cleanly the specified recital process.
 
Terminate cleanly the specified recital process.
  
===broadcast===
+
===broadcast [ < message> ]===
 +
broadcast a message to all current interactive users. If no message is specified then any pervious broadcast message will be cleared.
  
 
===status===
 
===status===

Revision as of 07:24, 26 October 2009

Template:YLM to do The Recital Server daemon can be managed using the recitalserver script.

Note: recitalserver must be run as root. For systems with a hidden root account, please precede commands with ’sudo’.


start

Used to start the Recital Server daemon. A confirmation message will be displayed showing whether the daemon was successfully started or not. If the optional 'logging' or '-l' parameter is specified, all server logging [1] will be enabled.

# recitalserver start [-l | logging]


stop

Used to stop the Recital Server daemon. A confirmation message will be displayed showing whether the daemon was successfully stopped or not.

# recitalserver stop


shutdown

Used to stop the Recital Server daemon and disable interactive Recital users. A confirmation message will be displayed showing whether the daemon was successfully stopped or not. The optional message parameter can be used to broadcast a message to interactive Recital users.

# recitalserver shutdown message Please log out

Once any interactive users have logged out and the shutdown has completed, attempts to start an interactive Recital session will cause the following message to be displayed:

Recital logins are currently disabled. Please try again later.

disable

Used to disable new interactive Recital sessions. Existing interactive Recital sessions are unaffected.

The Recital Server

NOTE: An ODBC client attempting to connect to a disabled server will receive the following message:

Invalid license: errno(-24)

enable

Enable the recital daemon and interactive users. This will enable new connections and users

restart

Used to restart (stop, then start) the Recital Server daemon. A confirmation message will be displayed showing whether the daemon was successfully started or not.

# recitalserver restart


suspend

Suspend the recital daemon and interactive users. This will suspend all connections to the recital server and exist-ing users.

resume

Resume the recital daemon and interactive users. This will resume all suspended connections and users.

logout [<message>]

logout interactive users. A logout message can be sent to interactive users before the they are logged out.

terminate [ pid ]

Terminate cleanly the specified recital process.

broadcast [ < message> ]

broadcast a message to all current interactive users. If no message is specified then any pervious broadcast message will be cleared.

status

fullstatus

Used to display the following status information for the Recital Server:

  • Whether the Recital Server is running or not
  • Whether the Recital Web Server is active or not
  • Whether the Recital Web Server is listening on its default port and/or port 80
  • How many concurrent connections are licensed for each server
  • How many concurrent connections are currently being used for each server
  • Whether logging is enabled or not
# recitalserver status


help

Used to display usage information.

Usage: /usr/bin/recitalserver [start] [stop] [shutdown [message] ]
                             [disable] [enable] [restart] [suspend]
                             [resume] [logout [message] ] [status]
                             [fullstatus] [help] [admin comamnd]
                             [version] [broadcast [message] ]
                             [terminate [pid] ]

Options:
  start [ -l | logging]  : start the recital daemon, optionally with logging
  stop                            : stop the recital daemon
  shutdown [ message ]   : shutdown the recital daemon and interactive users
  disable                       : disable the recital daemon and interactive users
  enable                        : enable the recital daemon and interactive users
  restart                        : restart the recital daemon
  suspend                     : suspend the recital daemon
  resume                      : resume the recital daemon
  logout [ message ]  : logout the recital interactive users
  terminate [ pid ]      : terminate cleanly the recital interactive user
  broadcast [ message ]  : broadcast message to recital interactive users
  status                 : return the current status of the recital daemon
  fullstatus             : return the full current status of the recital daemon
  help                   : display this message
  version                : display version information

version

Used to display version and compilation date information for the Recital Server:

# recitalserver version