[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]

macosx 10.2.1, getservbyname: conserver: Undefined error: 0

Stephen Bannasch stephen@concord.org
Tue, 5 Nov 2002 10:26:29 -0800 (PST)


I installed conserver 7.2.4 on macosx 10.2.1.  After installation I had to add /usr/local/sbin to my PATH and to the conserver.rc script.

My goal is to communicate to an external serial device operating at 9600 bps, one stop, no parity, no handshaking.  The device is connected through the USB serial port at /dev/tty.USA19QW11P1.

I am getting the following error when starting up:

  conserver: getservbyname: conserver: Undefined error: 0

I have included below the output from conserver -V, and the files conserver .cf, conserver.passwd, and conserver.rc.

Thanks for any help!

------------------------------------------------------------------------

[bash stephen:/usr/local/etc]conserver -V
conserver: conserver.com version 7.2.4
conserver: default access type `r'
conserver: default escape sequence `^Ec'
conserver: configuration in `/usr/local/etc/conserver.cf'
conserver: password in `/usr/local/etc/conserver.passwd'
conserver: logfile is `/var/log/conserver'
conserver: pidfile is `/var/run/conserver.pid'
conserver: limited to 16 members per group
conserver: getservbyname: conserver: Undefined error: 0
conserver: secondary channel base port 0 (referenced as `0')
conserver: options: none
conserver: built with `./configure '

[bash stephen:/usr/local/etc]cat conserver.cf
#
# conserver.cf
#
routera:/dev/tty.USA19QW11P1.1:9600p:&:

[bash stephen:/usr/local/etc]cat conserver.passwd
#
# conserver.passwd
#
stephen:*passwd*:any

[bash stephen:/usr/local/etc]cat conserver.rc
#!/bin/sh
#
# Startup for conserver
#

PATH=/usr/bin:/usr/local/bin:/usr/local/sbin

case "$1" in
        'start')
                echo "Starting console server daemon"
                conserver -d
                ;;

        'stop')
                master=`ps -ef | grep conserver | awk '$3 == "1"{print $2}'`
                [ "$master" ] && kill -TERM $master
                ;;

        *)
                echo "Usage: $0 { start | stop }"
                ;;

esac
exit 0

-- 

-s