* CAP and OSF/1
@ 1995-07-26 4:00 Paul.Casteels
1995-07-28 4:00 ` Reece Hart
1995-07-28 4:00 ` Mike Iglesias
0 siblings, 2 replies; 7+ messages in thread
From: Paul.Casteels @ 1995-07-26 4:00 UTC (permalink / raw)
I installed CAP60 pl194 on our OSF/1 machine and it works fine if I start
the script manually. If it is started boottime, the aarpd daemon fails to
start up. The other daemons (atis and aufs) do start up.
If I kill them and invoke the same startup script everything works.
What could be wrong ?
Kind regards,
Paul Casteels casteels@uia.ac.be Tel: +32.3.8202455
Fax: +32.3.8202245
University of Antwerp Dpt.Physics
Universiteitsplein 1
B-2610 Wilrijk
Belgium
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: CAP and OSF/1
1995-07-26 4:00 Paul.Casteels
@ 1995-07-28 4:00 ` Reece Hart
1995-07-28 4:00 ` Brian Saunders
1995-07-28 4:00 ` Mike Iglesias
1 sibling, 1 reply; 7+ messages in thread
From: Reece Hart @ 1995-07-28 4:00 UTC (permalink / raw)
casteels@hhipe.uia.ac.be (Paul.Casteels) writes:
> I installed CAP60 pl194 on our OSF/1 machine and it works fine if I
> start the script manually. If it is started boottime, the aarpd
> daemon fails to start up. The other daemons (atis and aufs) do start
> up. If I kill them and invoke the same startup script everything
> works. What could be wrong ?
I don't know, but I get the same thing. I'm trying to start it with
/sbin/rc2.d/S99cap. The same script works fine once the machine is
up.
--
Reece Kimball Hart | email: reece@dasher.wustl.edu
Biophysics & Biochemistry, Box 8231 | WWW: http://dasher.wustl.edu/~reece/
Washington Univ. School of Medicine | Phone: (314) 362-4198 (lab)
660 South Euclid | -7183 (fax)
St. Louis, Missouri 63110 (USA) | PGP public key available by finger & WWW
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: CAP and OSF/1
1995-07-28 4:00 ` Reece Hart
@ 1995-07-28 4:00 ` Brian Saunders
1995-07-29 4:00 ` Paul.Casteels
1995-07-29 4:00 ` Torbj|rn Lindgren
0 siblings, 2 replies; 7+ messages in thread
From: Brian Saunders @ 1995-07-28 4:00 UTC (permalink / raw)
In article <3vasha$g03@cerberus-138.wustl.edu>, reece@dasher.wustl.edu
(Reece Hart) wrote:
>casteels@hhipe.uia.ac.be (Paul.Casteels) writes:
>> I installed CAP60 pl194 on our OSF/1 machine and it works fine if I
>> start the script manually. If it is started boottime, the aarpd
>> daemon fails to start up. The other daemons (atis and aufs) do start
>> up. If I kill them and invoke the same startup script everything
>> works. What could be wrong ?
>I don't know, but I get the same thing. I'm trying to start it with
>/sbin/rc2.d/S99cap. The same script works fine once the machine is
>up.
I seem to remember that for some odd reason, it didn't work right if it
was executed in the startup script. Some people used the "at" command to
start it one or two minutes afterwards, and it then worked.
--
Brian Saunders saunders@castor.che.wisc.edu
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: CAP and OSF/1
1995-07-26 4:00 Paul.Casteels
1995-07-28 4:00 ` Reece Hart
@ 1995-07-28 4:00 ` Mike Iglesias
1 sibling, 0 replies; 7+ messages in thread
From: Mike Iglesias @ 1995-07-28 4:00 UTC (permalink / raw)
In article <1995Jul26.063127.19848@reks.uia.ac.be>,
Paul.Casteels <casteels@hhipe.uia.ac.be> wrote:
>I installed CAP60 pl194 on our OSF/1 machine and it works fine if I start
>the script manually. If it is started boottime, the aarpd daemon fails to
>start up. The other daemons (atis and aufs) do start up.
>If I kill them and invoke the same startup script everything works.
>What could be wrong ?
This is what I use, as rc3.d/S90cap...
if [ -f /usr/local/cap/start-cap-servers ]; then
/usr/local/cap/start-cap-servers
echo "cap started"
fi
--
Mike Iglesias Internet: iglesias@draco.acs.uci.edu
University of California, Irvine phone: (714) 824-6926
Office of Academic Computing FAX: (714) 824-2069
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: CAP and OSF/1
1995-07-28 4:00 ` Brian Saunders
@ 1995-07-29 4:00 ` Paul.Casteels
1995-07-29 4:00 ` Torbj|rn Lindgren
1 sibling, 0 replies; 7+ messages in thread
From: Paul.Casteels @ 1995-07-29 4:00 UTC (permalink / raw)
Hello,
I solved my problem by following this good advice (from Richard Begg
- richard@pitlochry.its.unimelb.edu.au ):
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
Paul Casteels
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: CAP and OSF/1
1995-07-28 4:00 ` Brian Saunders
1995-07-29 4:00 ` Paul.Casteels
@ 1995-07-29 4:00 ` Torbj|rn Lindgren
1 sibling, 0 replies; 7+ messages in thread
From: Torbj|rn Lindgren @ 1995-07-29 4:00 UTC (permalink / raw)
In article <saunders-2807951514020001@caspar.che.wisc.edu>,
Brian Saunders <saunders@castor.che.wisc.edu> wrote:
>I seem to remember that for some odd reason, it didn't work right if it
>was executed in the startup script. Some people used the "at" command to
>start it one or two minutes afterwards, and it then worked.
Probably yet another instance of sh semantics...
sh *kills* child processes when it exits! The program can avoid this
by using setsid() or setpgrp() (to create it's own process group), or
you can use nohup to do this for it.
Add nohup and check if it works better.
^ permalink raw reply [flat|nested] 7+ messages in thread
* CAP and OSF/1
@ 1995-08-02 4:00 Richard Coop
0 siblings, 0 replies; 7+ messages in thread
From: Richard Coop @ 1995-08-02 4:00 UTC (permalink / raw)
> I installed CAP60 pl194 on our OSF/1 machine and it works fine if I start
> the script manually. If it is started boottime, the aarpd daemon fails to
> start up. The other daemons (atis and aufs) do start up.
> If I kill them and invoke the same startup script everything works.
> What could be wrong ?
The aarpd program is not dissociating itself from the terminal properly.
Simply add "#include <sys/ioctl.h>" at the beginning of aarpd.c, recompile
and install.
--
< |/ 0' O o/ \ Richard Coop, Tel: 0171 269 3164
:o<) /\ </< <\__,\ Systems Support, Fax: 0171 269 3124
< |\ _`\ `_( '\/\ "> |\ Imperial Cancer Research Fund,
(_)/_(_) /, ' | \ London, UK
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~1995-08-02 4:00 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-08-02 4:00 CAP and OSF/1 Richard Coop
-- strict thread matches above, loose matches on Subject: below --
1995-07-26 4:00 Paul.Casteels
1995-07-28 4:00 ` Reece Hart
1995-07-28 4:00 ` Brian Saunders
1995-07-29 4:00 ` Paul.Casteels
1995-07-29 4:00 ` Torbj|rn Lindgren
1995-07-28 4:00 ` Mike Iglesias
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox