* SUMMARY: DU 4.0d - problem with rc.news - inn-1.7.2
@ 1998-07-10 9:25 vincenzo magnano
0 siblings, 0 replies; only message in thread
From: vincenzo magnano @ 1998-07-10 9:25 UTC (permalink / raw)
To: tru64-unix-managers
Thanks a lot Shari
Original message
server news inn-1.7.2 running on DU 4.0d
start innd interactive all ok
---
#./rc.news
#ps -ae |grep inn
845 ?? S 0:37.29 /usr/news/bin/innd -p4 -r -i0
847 ttyp0 S 18:50.09 sh /usr/news/bin/innwatch
---
start innd at startup time with rc.news in sbin/rc3.d/
innwatch don't start
Thank you for the answer, Any help is appreciated.
the solution
Not knowing what your rc.news looks like, make sure it is started as
follows. I always make this change for DU machines.
# Gee, looks like lisp, doesn't it?
${DOINNWATCH} && {
echo "${INNWATCH} &" | su ${NEWSUSER} -c 'at now + 1 min' >
/dev/null
}
finaly i have
in /sbin/rc3.d/S98news
#! /bin/sh
##
su news -c /usr/news/bin/rc.news >/dev/console
#
in /usr/news/bin/rc.news
...
...
# Gee, looks like lisp, doesn't it?
#################
### ${DOINNWATCH} && {
### ( sleep 60 ; ${INNWATCH} ) &
### }
#################
${DOINNWATCH} && {
echo "${INNWATCH} &" | su ${NEWSUSER} -c 'at now + 1 min' >/dev/null
}
#################
...
...
ls -la /usr/news/bin/rc.news
-r-xr-xr-x 1 news news 2214 Jul 9 15:15 /usr/news/bin/rc.news
ls -la /usr/news/bin/inndstart
-rwsrwsrwx 1 root system 65536 Feb 13 10:09 /usr/news/bin/inndstart
ls -la /usr/news/bin/innwatch
-rwsrwsrwx 1 root system 7474 Jun 25 16:39 /usr/news/bin/innwatch
ps -ae |grep inn
545 ?? I 0:00.26 /usr/news/bin/innd -p4 -i0
606 ?? I N 0:01.44 sh /usr/news/bin/innwatch
now at startup time innwatch run
Vincenzo Magnano vincenzo@casaccia.enea.it
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-07-10 9:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-10 9:25 SUMMARY: DU 4.0d - problem with rc.news - inn-1.7.2 vincenzo magnano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox