Naserver - Townshend Computer Tools DAT-Link User Manual

Table of Contents

Advertisement

194
NAME
naserver – network audio server for DAT-Link
SYNOPSIS
naserver [ –F ] [ -u unit ] [ –s sockbase ] [ –R retries ]
DESCRIPTION
naserver is a wrapper for the NetAudio server, netaudiod(8). It manages system logging, monitoring
of netaudiod and error handling. It can be started at system boot-time by adding an entry in /etc/rc o
/
etc/rc.local.
After naserver initializes, it forks a subprocess to handle the NetAudio daemon and then exits. It then
logs any failures of the daemon using the syslog(3) facilities. Messages are logged under th
L
OG_DAEMON facility. Debug, warning, and error messages are logged under their appropriate sys-
log(3) level. If netaudiod fails, naserver
will sleep for a period of time and then retry. The sleep time uses an exponentially increasing
schedule starting with 60 seconds and doubling after each failure to a maximum of 1 hour.
I
f another invocation of netaudiod(8) is already running when naserver is started, the running netau-
diod, and any old naserver processes will be killed.
OPTIONS
The -u and -s options to naserver are passed on to invocations of netaudiod(8). The -F option
prevents naserver from forking and immediately exiting. If the -R option is given, then its argumen
i
ndicates the number of times naserver will attempt to start netaudiod before giving up.
SEE ALSO
netaudiod(8), nakillserver(8) syslogd(8)
DAT-Link User's Manual.
BUGS
If a second naserver process is started while another process is in the process of restarting netaudiod, a
race condition may occur whereby the old process may survive and kill the new naserver process.
N
etAudio Reference
Last change: 1995/05/23

NASERVER(8)

r
e
t
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DAT-Link and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents