Article View: news.software.nntp
Article #65946Re: INN script wont run under user news
From: Marco Augustin
Date: Thu, 03 Jul 2003 13:56
Date: Thu, 03 Jul 2003 13:56
29 lines
1819 bytes
1819 bytes
"Miquel van Smoorenburg" <miquels@cistron-office.nl> schrieb:
> >I'm using RedHat 9 and INN-2.3.4.
> >The cronjobs and the rc.news file won't run under the news user.
> >Everytime I tried to run it I got this error message:
> >/usr/lib/news/bin/rc.news: line 1: user: File or directory not found
>
> What exactly is on line one of /usr/lib/news/bin/rc.news ?
> Sounds like something else is there than there should be ..
#! /bin/sh
. /usr/lib/news/lib/innshellvars
case X"$1" in
Xstop)
${PATHBIN}/ctlinnd shutdown 'rc.news stop'
# Stop cnfsstat (if running)
if [ -f ${PATHRUN}/cnfsstat.pid ]; then
kill `cat ${PATHRUN}/cnfsstat.pid`
rm -f ${PATHRUN}/cnfsstat.pid
fi.......
Is it perhaps the dot in line 2?
--
Marco Augustin
Technical Details
Message-ID:
<be1cuq$5bpc$1@ID-55288.news.dfncis.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!news-out.tin.it!news-in.tin.it!newsfeeder.edisontel.com!fu-berlin.de!uni-berlin.de!d8c9d.pppool.DE!not-for-mailReferences:
<be1c3h$5bfe$1@ID-55288.news.dfncis.de> <be1ckt$7g5$1@news.cistron.nl>Show Full Headers
Complete Article Headers
Message-ID: <be1cuq$5bpc$1@ID-55288.news.dfncis.de> Subject: Re: INN script wont run under user news Date: Thu, 3 Jul 2003 15:56:59 +0200 From: "Marco Augustin" <info@chs-augustin.com> References: <be1c3h$5bfe$1@ID-55288.news.dfncis.de> <be1ckt$7g5$1@news.cistron.nl> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!news-out.tin.it!news-in.tin.it!newsfeeder.edisontel.com!fu-berlin.de!uni-berlin.de!d8c9d.pppool.DE!not-for-mail Newsgroups: news.software.nntp Lines: 29 NNTP-Posting-Host: d8c9d.pppool.de (80.184.140.157) X-Trace: fu-berlin.de 1057240858 175916 80.184.140.157 (16 [55288]) X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165