[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cfservd as a true daemon running under inetd control
From: |
Garrett, Matt M SITI-ITDIEEE |
Subject: |
cfservd as a true daemon running under inetd control |
Date: |
Thu, 1 May 2003 11:04:02 +0100 |
Folks
Is it possible to make the cfservd program run under control of inetd
Just like any other true tcp daemon e.g ftpd
This would get around the problem of having different start / stop scripts
for different types of systems e.g HP-UX / Solaris
Also if a new version of cfengine comes out the binary files can just be copied
over using its self
and next time cfrun is run the new version gets picked up.
The other problem it would solve is if a client has problems e.g run's out of
swap space
the kernel tries to kill off process that are not been used.
I tried adding cfservd to /etc/inetd.conf as (Solaris 8)
cfengine stream tcp6 nowait root /usr/sbin/cwcfservd cfservd
Note /etc/services looks like
cfengine 5308/tcp
It kind of works but the daemon does not die after use ?
Also first time connection is made the error report by cfrun is
cfengine:CLIENT: Challenge response from server
SERVER.DOMAIN.com/XXX.XXX.XXX.XXX was incorrect!
cfengine:CLIENT: Authentication dialogue with SERVER.DOMAIN.com failed
cfengine:CLIENT: Unable to establish connection with SERVER.DOMAIN.com
But other connections after this work fine , but then cfservd is all ready
running.
Any idea's
Oh version of cfengine is 2.0.5
Thanks
Matt
Matthew Garrett
Unix System Support
Shell Information Technology International Limited
Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom
Tel: +44 (0)1224 81 8373 Other Tel: Internal 630 8373
Email: Matt.M.Garrett@is.shell.com
Internet: http://www.shell.com
- cfservd as a true daemon running under inetd control,
Garrett, Matt M SITI-ITDIEEE <=