osyjm@caesar.cs.montana.edu (Jaye Mathisen) (04/03/91)
In a desparate move to drop load averages on my news machine I'm trying to install Cnews. I have the version dated Mar-25-1991, ftp'd from cs.toronto.edu. My server is an HP9000/350, running HP-UX 6.01 (I know, I know, outdated). Compilation went fine, Installation went OK, except for all the files were owned by group id '9' in the /usr/lib/cnews directory, for reasons I never bothered to find out... any help much appreciated... I copied an article from rec.arts.erotica, changed the Newsgroups line to a group that was in the active file, and piped 'er to inews -h... (For those of you wondering why I didn't try the supplied postnews and generate an article, I did, and it gives the same error). Here's the article: --- From: e0024@telly.on.ca Newsgroups: msu.test Subject: bluebox7.txt Message-ID: <27E85DA1.600E@telly.on.ca> Date: 21 Mar 91 07:15:43 GMT Sender: erotica@telly.on.ca (Evan Leibovitch - moderator) Organization: Somewhere just far enough out of Toronto Lines: 489 Approved: erotica@telly.on.ca Archive-name: bluebox/7 Chapter 37 (several lines deleted) --- Here's a run... (I added -x's to a few shell files to get a feel for what's happening...) The command was /usr/lib/cnews/inews -h < path-to-article The error in the log file is 'No Message-ID: header', yet there is one... (I had to make one change to defhdrs.awk, for some reason, my awk thinks that there is a syntax error on line 74, 80, and 84, but since it's just doing some simple tests, I don't think it could affect it) + . /usr/lib/cnews/bin/config NEWSCTL=/usr/lib/cnews NEWSBIN=/usr/lib/cnewsbin NEWSARTS=/usr/spool/cnews NEWSPATH=/bin:/usr/bin NEWSUMASK=002 NEWSMASTER=usenet NEWSCONFIG=/usr/lib/cnews/bin/config + export NEWSCTL NEWSBIN NEWSARTS NEWSPATH NEWSUMASK NEWSMASTER NEWSCONFIG PATH=/usr/lib/cnews/bin:/usr/lib/cnewsbin/inject:/usr/lib/cnewsbin/relay:/usr/lib/cnewsbin:/bin:/usr/bin + export PATH PASSEDFROM= + export PASSEDFROM debug= exclusion= hdrspresent=no autopost=no waitcmd=status=0 relayopts=-i input=/tmp/in4416in inhdrs=/tmp/in4416hdr inbody=/tmp/in4416body censart=/tmp/in4416cens nglist=/tmp/in4416ngs modroute=/tmp/in4416route exitflag=/tmp/in4416exit outfile=/tmp/in4416out rmlist=/tmp/in4416hdr /tmp/in4416body /tmp/in4416in /tmp/in4416cens /tmp/in4416ngs /tmp/in4416route /tmp/in4416exit /tmp/in4416out grpok=/tmp/in4416grp + umask 002 cleanup=test ! -f /home/dali/u3/osyjm/dead.article -o -w /home/dali/u3/osyjm/dead.article && cat /tmp/in4416in >>/home/dali/u3/osyjm/dead.article && { echo /usr/lib/cnews/inews: article in /home/dali/u3/osyjm/dead.article >&2; rm -f /tmp/in4416hdr /tmp/in4416body /tmp/in4416in /tmp/in4416cens /tmp/in4416ngs /tmp/in4416route /tmp/in4416exit /tmp/in4416out; }; exit 1 + trap test ! -f /home/dali/u3/osyjm/dead.article -o -w /home/dali/u3/osyjm/dead.article && cat /tmp/in4416in >>/home/dali/u3/osyjm/dead.article && { echo /usr/lib/cnews/inews: article in /home/dali/u3/osyjm/dead.article >&2; rm -f /tmp/in4416hdr /tmp/in4416body /tmp/in4416in /tmp/in4416cens /tmp/in4416ngs /tmp/in4416route /tmp/in4416exit /tmp/in4416out; }; exit 1 0 1 2 3 15 + : hdrspresent=yes + shift + : + break + tear /tmp/in4416 + test -s /tmp/in4416hdr hdrspresent=yes + cat /tmp/in4416hdr /tmp/in4416body + : far out + trap 1 2 15 + trap test ! -f /home/dali/u3/osyjm/dead.article -o -w /home/dali/u3/osyjm/dead.article && cat /tmp/in4416in >>/home/dali/u3/osyjm/dead.article && { echo /usr/lib/cnews/inews: article in /home/dali/u3/osyjm/dead.article >&2; rm -f /tmp/in4416hdr /tmp/in4416body /tmp/in4416in /tmp/in4416cens /tmp/in4416ngs /tmp/in4416route /tmp/in4416exit /tmp/in4416out; }; exit 1 0 + tear /tmp/in4416 + eval status=0 status=0 + trap 0 + exit 0 + canonhdr + mv /tmp/in4416realtmp /tmp/in4416hdr + test ! -s /tmp/in4416body + echo B + tr A-Z a-z trversion=v6 + export trversion + anne.jones status=0 + tr -d [\1-\7]\13[\15-\37] + test -r /home/dali/u3/osyjm/.signature + trap 0 + exit 0 max=64512 + wc -c + test 585 -gt 64512 + grep -s ^Control: /tmp/in4416hdr + sed -n /^Newsgroups:[ ]/{ s/^Newsgroups:[ ]*\(.*\)$/\1/p q } + test ! -s /tmp/in4416ngs + sed -e s/[.+*()|[]/\\&/g -e s/,/|/g egreppat=^(msu\.test) + egrep ^(msu\.test) /usr/lib/cnews/active + rm -f /tmp/in4416grp + egrep ^(msu\.test) /usr/lib/cnews/active read ng high low flag junk + read ng high low flag junk + trap 0 + test ! -r /tmp/in4416grp + rm -f /tmp/in4416grp + test -f /tmp/in4416exit + spacefor 1 articles + . /usr/lib/cnews/bin/config NEWSCTL=/usr/lib/cnews NEWSBIN=/usr/lib/cnewsbin NEWSARTS=/usr/spool/cnews NEWSPATH=/bin:/usr/bin NEWSUMASK=002 NEWSMASTER=usenet NEWSCONFIG=/usr/lib/cnews/bin/config PATH=/usr/lib/cnews/bin:/usr/lib/cnewsbin:/bin:/usr/bin + export PATH + umask 002 + test -r /usr/lib/cnews/server dfunit=512 arg=/usr/spool/cnews desire=5000 arg=/ + awk BEGIN { nf = 4 ; nr = 1 } NR == nr && NF >= nf { nb = ($nf - 5000) * 512 / 1 if (nb > 10000) nb = 10000 # ensure representable as integer nb = int(nb) if (nb <= 0) print 0 else print nb exit } NR == nr && NF < nf { # idiotic Berkeley continuation nr += 1 nf -= 1 } df / + test 10000 -le 0 + hostname me=dali + cat /usr/lib/cnews/server server= server=dali + relaynews -i -s -d status=16 + exit 16 + test ! -f /home/dali/u3/osyjm/dead.article -o -w /home/dali/u3/osyjm/dead.article + cat /tmp/in4416in + echo /usr/lib/cnews/inews: article in /home/dali/u3/osyjm/dead.article /usr/lib/cnews/inews: article in /home/dali/u3/osyjm/dead.article + rm -f /tmp/in4416hdr /tmp/in4416body /tmp/in4416in /tmp/in4416cens /tmp/in4416ngs /tmp/in4416route /tmp/in4416exit /tmp/in4416out + exit 1 -- Jaye Mathisen,sysmgr 410 Roberts Hall,Dept. of Computer Science Montana State University,Bozeman MT 59717 PHONE: (406) 994-{4780,3931}