]> andersk Git - moira.git/blame - man/moirad.8
DIAGNOSTICS section rewritten.
[moira.git] / man / moirad.8
CommitLineData
5834a392 1.TH SMSD 8 "30 Nov 1988" "Project Athena"
2\" RCSID: $Header$
3.SH NAME
2ba19438 4smsd, startsms \- SMS query daemon
5834a392 5.SH SYNOPSIS
6.B smsd
7.br
8.B startsms
9.SH DESCRIPTION
10The SMS server
11must be running on the machine hosting the SMS database for any of the
12SMS clients to function. Rather than invoke
13.B smsd
14directly, it is started by
15.B startsms,
16which starts the daemon running in the proper working directory and
17captures logging messages.
18.PP
19Logging is done to standard output.
20How much gets logged by
21.B smsd
22is controlled by the variable
23.I log_flags
24which is compiled into the file
25.I sms_srvdata.c.
26If critical errors are detected, they are logged to
27.B /u1/sms/critical.log
28and in a zephyrgram to class
29.B SMS
30instance
31.B SMS
32in addition to standard output.
33Also, a journal file is kept in
34.B /u1/sms/journal
35logging every successful change of the database in a format that can
36be replayed by
37.I smstest(8).
38For the server to be able to function properly, if must be run as root
39and root must have access to the tables through RTI Ingres.
40.PP
00f3d199 41It is possible to shutdown the database side of the server when it is
42necessary to lock out clients. In this state the server will only
43respond to noop and motd requests. When the file
44.B /etc/smsdown
45exists, the server will close the database the next time there are no
46clients using it. To force the server to close down the database as
47soon as any active operation is finished, send it a USR1 signal. The
48first time a new client connects after the
49.B /etc/smsdown
50file is removed, the database will be re-opened. To force an
51immediate reopening, send the server a USR2 signal. The contents of
52the
53.B /etc/smsdown
54file are returned as the SMS motd.
55.PP
5834a392 56.B startsms
57sets its working directory to the root, disconnects from the terminal
58and puts itself in the background. It then starts
59.B /u1/sms/bin/smsd,
60and will capture lines the server writes to standard output and log them
61in
62.B /u1/sms/sms.log
63along with a timestamp.
64.B startsms
65will also log the exit status of the
66.B smsd
67if it is non-zero.
68.SH FILES
69/u1/sms/sms.log
70.br
71/u1/sms/critical.log
72.br
73/u1/sms/journal
74.br
00f3d199 75/etc/smsdown
76.br
5834a392 77/etc/srvtab \- The dcm must be able to get Kerberos tickets for "sms.sms".
78.SH "SEE ALSO"
79The Project Athena Technical Plan section on SMS.
This page took 0.269602 seconds and 5 git commands to generate.