rasmus (12/14/89)
Help! I am running SCO Xenix 2.2.3 with HDB uucp and Cnews. Last Cnews
patchdate is 13-Nov-1989. The relaynews that came with this version of
Cnews kept giving me a set[g|u]id error so I reverted back to an older
version. I am also using an older version of newsrun, realrnews and anything
else in the ../newsbin/input directory. This is probably the root of my
problem. I tried compiling relaynews both with and without the -DSETNEWSIDS
define. Has someone successfully installed the latest version of Cnews on
a system similar to this one? If so, perhaps you could mail me your conf
directory?
Anyway, here is the specific problem I am having.
When I came in this morning I had the following mess running:
UID PID PPID C STIME TTY TIME COMMAND
news 16366 40 0 03:35:00 ? 0:00 sh -c /usr/lib/newsbin/input/newsrun
news 16367 16366 0 03:35:00 ? 0:01 sh -c /usr/lib/newsbin/input/newsrun
news 16408 16367 0 03:35:24 ? 0:00 sh -c /usr/lib/newsbin/input/newsrun
news 16412 16408 63 03:35:27 ? 306:23 relaynews -p
news 16413 40 0 03:55:00 ? 0:00 sh -c ?/usr/lib/newsbin/expire/expire /
news 16414 16413 0 03:55:00 ? 0:16 /usr/lib/newsbin/expire/expire /usr/lib
news 16456 40 0 04:35:00 ? 0:00 sh -c /usr/lib/newsbin/input/newsrun
news 16457 16456 0 04:35:00 ? 0:00 sh -c /usr/lib/newsbin/input/newsrun
news 16466 16457 0 04:35:02 ? 0:00 sh -c /usr/lib/newsbin/input/newsrun
news 16470 16466 0 04:35:03 ? 0:04 relaynews -p
news 16500 40 0 05:35:00 ? 0:00 sh -c /usr/lib/newsbin/input/newsrun
news 16501 16500 0 05:35:00 ? 0:00 sh -c /usr/lib/newsbin/input/newsrun
news 16510 16501 0 05:35:04 ? 0:00 sh -c /usr/lib/newsbin/input/newsrun
news 16514 16510 0 05:35:05 ? 0:04 relaynews -p
news 16553 40 0 06:35:00 ? 0:00 sh -c /usr/lib/newsbin/input/newsrun
news 16554 16553 0 06:35:00 ? 0:00 sh -c /usr/lib/newsbin/input/newsrun
news 16563 16554 0 06:35:02 ? 0:00 sh -c /usr/lib/newsbin/input/newsrun
news 16567 16563 0 06:35:03 ? 0:04 relaynews -p
news 16616 40 0 07:35:00 ? 0:00 sh -c /usr/lib/newsbin/input/newsrun
news 16617 16616 0 07:35:00 ? 0:00 sh -c /usr/lib/newsbin/input/newsrun
news 16626 16617 0 07:35:02 ? 0:00 sh -c /usr/lib/newsbin/input/newsrun
news 16630 16626 0 07:35:03 ? 0:03 relaynews -p
news 16675 40 0 08:35:00 ? 0:00 sh -c /usr/lib/newsbin/input/newsrun
news 16676 16675 0 08:35:00 ? 0:00 sh -c /usr/lib/newsbin/input/newsrun
news 16685 16676 0 08:35:05 ? 0:00 sh -c /usr/lib/newsbin/input/newsrun
news 16689 16685 0 08:35:06 ? 0:00 relaynews -p
I have previously had problems so I put a set -x in newsrun
Received: by nttor.UUCP (smail2.5)
id AA16198; 14 Dec 89 00:35:32 EST (Thu)
To: news
Date: Thu Dec 14 00:35:32 1989
Message-Id: <8912140035.AA16198@nttor.UUCP>
From: root@nttor.UUCP (Super user)
NEWSCTL=/usr/lib/news
NEWSBIN=/usr/lib/newsbin
NEWSARTS=/usr/spool/news
PATH=/usr/lib/newsbin/input:/usr/lib/news:/bin:/usr/bin
+ export PATH
NEWSUMASK=002
+ umask NEWSUMASK
+ cd /usr/lib/news/incoming
+ test -r stop
+ echo 16135
+ ln L.16135 RLOCK
+ trap rm -f L.16135 RLOCK 0 1 2 15
+ true
+ sed 50q
+ ls
+ egrep ^[0-9]+$
+ sort
them=629615589
629615591
629615592
+ test 629615589
629615591
629615592 =
+ test -r stop
text=np.16135
+ compress -d
+ rm -f 629615589
+ /usr/lib/newsbin/relay/realrnews
+ test -s /tmp/npm16135
bad=bad/629615589
+ mv np.16135 bad/629615589
+ mail news
+ echo rnews bad/629615589 failed
+ cat /tmp/npm16135
+ rm -f /tmp/npm16135 np.16135 629615589
+ test -r stop
text=np.16135
+ compress -d
+ rm -f 629615591
+ /usr/lib/newsbin/relay/realrnews
+ test -s /tmp/npm16135
bad=bad/629615591
+ mv np.16135 bad/629615591
+ mail news
+ echo rnews bad/629615591 failed
+ cat /tmp/npm16135
+ rm -f /tmp/npm16135 np.16135 629615591
+ test -r stop
text=np.16135
+ compress -d
+ rm -f 629615592
+ /usr/lib/newsbin/relay/realrnews
+ test -s /tmp/npm16135
bad=bad/629615592
+ mv np.16135 bad/629615592
+ mail news
+ echo rnews bad/629615592 failed
+ cat /tmp/npm16135
+ rm -f /tmp/npm16135 np.16135 629615592
+ true
+ sed 50q
+ ls
+ egrep ^[0-9]+$
+ sort
them=
+ test =
+ break
+ exit 0
+ rm -f L.16135 RLOCK
*************************************************
Cron: The previous message is the standard output
and standard error of one of your cron commands.
It seems rnews which upon further investigation is not actually rnews, but
realrnews is exiting with a bad status leaving quite a mess behind. The
strange thing is that the news is getting posted. Or at least some of it is.
The batches stick around in /usr/lib/news/incoming/bad and there are L. and np.
files in /usr/lib/news/incoming. Any suggestions?
Merry Christmas? Not when you have an exam on January 3rd...
--
Rasmus Lerdorf {lsuc,utzoo,mnetor}!dciem!nttor!rasmus |I'd rather be in Denmark
Northern Telecom, Toronto, Canada. (416)597-2090x2505 |SD Eng Waterloo '93