From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,214c28518534b0b5 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1995-03-20 12:54:05 PST Path: nntp.gmd.de!dearn!blekul11!ccsdec1.ufsia.ac.be!reks.uia.ac.be!idefix.CS.kuleuven.ac.be! Belgium.EU.net!EU.net!howland.reston.ans.net!pipex!warwick!clyde.open.ac.uk!adminmbx From: rpblake@ASSP01.open.ac.uk (Robert Blake) Newsgroups: comp.unix.osf.osf1 Subject: Re: CAP aarpd dies during startup Date: 20 Mar 1995 17:08:59 GMT Organization: The Open University Message-ID: References: <3j6tim$i53@charlie.lif.icnet.uk> <3jdcqb$inn@news.unimelb.EDU.AU> NNTP-Posting-Host: yan.open.ac.uk In-reply-to: richard@pitlochry.its.unimelb.EDU.AU's message of 5 Mar 1995 22:09:15 GMT >We are running the startcap script at boot time from a script in the >/sbin/rc3.d directory. All appears to be OK until the level three startup >is finished and the machine comes up multiuser. At this point the aarpd >daemon dies and must be restarted manually after the reboot. > Yeah, we had the same problem. It appears that the cap servers don't detach themselves from the process group. It also appears that init sends the script a hangup signal on completion which is what does the damage. Try putting something like this in your startup script. trap '' 1 -- Richard Begg (richard@pitlochry.its.unimelb.edu.au) Systems & Operations - ITS - University of Melbourne. We're doing a similar thing. We have a script that starts several different servers (httpd, AVS licenses, etc.) as well as CAP, which automatically runs on startup. All the servers run fine apart from the CAP servers. Where in the script do you suggest I put 'trap '' 1'? Or doesn't it matter? --------------------------------------------------------------------------- _/_/_/_/_/ _/ _/ _/ Rob Blake (R.P.Blake@open.ac.uk) _/ _/ _/ [Overworked PhD student (Danger! Irony chip overload)] _/_/_/_/_/ _/_/ _/ Quote of the week : "Early to rise and early to bed _/ _/ _/ makes a man healthy but socially dead" _/ _/_/_/ ---------------------------------------------------------------------------