From: vincenzo magnano <vincenzo () infos1 ! casaccia ! enea ! it>
To: tru64-unix-managers
Subject: SUMMARY: DU 4.0d - problem with rc.news - inn-1.7.2
Date: Fri, 10 Jul 1998 09:25:42 +0000 [thread overview]
Message-ID: <96078715811596.tru64-unix-managers.marc@archive.invalid> (raw)
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
reply other threads:[~1998-07-10 9:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox