| -v | Causes the version number to be printed on stdout, after which the programs exits. |
|---|---|
| -a | Allows the display and use of the debug and exit options by users. |
| -n | Runs wdc in the foreground allowing for easier debugging and control under shell scripts. |
| -x | Causes the daemon to log to a local file wdc-*.log (where * is the operating system, release number and system architecture) rather than the syslog utility. This can be useful if syslog is not (or can not be) configured. |
| -? | Causes the Usage string to be printed out, after which the program exits. |
| -p |
Allows the port number that wdc will wait for connections on
to be specified. The -p flag has the form:
|
| -l |
Specifies the logging level. This must be in the range 0 to 2
where 0 will cause only error messages to be logged, 1 will
log informational messages while 2 will log copious amounts
of spurious output. The -l flag has the form:
|
| -f |
Specifies the syslog logging facility. This must be in the range 0 to 7
where 0 will cause messages to be sent to the syslog(1) facility
LOCAL0, 1 will log to LOCAL1, etc, etc.
The default is 7 which causes messages to be logged to LOCAL7.
The -f flag has the form:
Note: This flag is ignored if the -x flag is set. |
| -i |
Specifies the applet poll interval. This is the time
between polls that the java applet displayed on the download
progress page will update from the server. The default is
2 seconds.
The -i flag has the form:
|
| 0 | the daemon was launched |
|---|---|
| 255 | failure to parse command line args or fork |
To check on the startup status of the daemon, simply tail the syslog configured for wdc messages or log to a file with the -x option and then tail the file.
| local7.debug | /var/log/wdclog |
$ ls -lL /dev/cua
total 0
crw-rw-rw- 1 root sys 106,131072 Mar 21 1997 a
crw-r--r-- 1 root sys 106,131073 Jun 4 20:40 b
crw-rw-rw- 1 root sys 106,131074 Apr 30 09:56 c
crw-rw-rw- 1 root sys 106,131075 Apr 30 09:56 d
$ ls -lL /dev/term
total 0
crw-rw-rw- 1 root tty 106, 0 Jun 23 09:40 a
crw-rw-rw- 1 root tty 106, 1 Apr 22 15:10 b
crw--w---- 1 root tty 106, 2 Jun 24 19:22 c
crw--w---- 1 root tty 106, 3 Jun 24 19:09 d
You must have read and write access to the serial port for
the washington photo server to work correctly.
You may also need to remove (or make bi-directional) any port
monitors that may be configured. The following command may
help:
# pmadm -l
PMTAG PMTYPE SVCTAG FLGS ID
Each entry specifies a port monitor, if the entry has a b
after the port name, then it is bidirectional and should allow
the washington photo server to use the port.
Copyright
©1998
Tortuga Technologies Pty Ltd.
All rights reserved.
last updated 31-May-1999