🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Marco Augustin Thu, 03 Jul 2003 13:42
INN script wont run under user news
#65943
Author: Marco Augustin
Date: Thu, 03 Jul 2003 13:42
14 lines
1366 bytes
Hello!

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 does this mean? I also can't run the cronjob because of this error. In the global $PATH /usr/lib/news/bin is included.
Any ideas?
Thanks in advance

-- 
Marco Augustin

Re: INN script wont run under user news
#65944
Author: Miquel van Smoorenburg
Date: Thu, 03 Jul 2003 13:55
13 lines
1730 bytes
In article <be1c3h$5bfe$1@ID-55288.news.dfncis.de>,
Marco Augustin <info@chs-augustin.com> wrote:
>Hello!
>
>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 ..

Mike.
Re: INN script wont run under user news
#65946
Author: Marco Augustin
Date: Thu, 03 Jul 2003 13:56
29 lines
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

Re: INN script wont run under user news
#65945
Author: Russ Allbery
Date: Thu, 03 Jul 2003 14:50
16 lines
1738 bytes
Marco Augustin <info@chs-augustin.com> writes:

> 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

Could you show us every line of /usr/lib/news/lib/innshellvars that
contains the string "user"?  Thanks.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: INN script wont run under user news
#65947
Author: Marco Augustin
Date: Thu, 03 Jul 2003 15:17
21 lines
1624 bytes
"Russ Allbery" <rra@stanford.edu> schrieb:
> Marco Augustin <info@chs-augustin.com> writes:
>
> > 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
>
> Could you show us every line of /usr/lib/news/lib/innshellvars that
> contains the string "user"?  Thanks.
>
In innshellvars none of the lines contain user expect NEWSUSER=news. Thats all.
Very strange.
Any ideas?

-- 
Marco Augustin

Re: INN script wont run under user news
#65948
Author: Russ Allbery
Date: Thu, 03 Jul 2003 15:38
12 lines
1606 bytes
Marco Augustin <info@chs-augustin.com> writes:

> In innshellvars none of the lines contain user expect
> NEWSUSER=news. Thats all.  Very strange.  Any ideas?

Nope, I'm pretty mystified, I'm afraid.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: INN script wont run under user news
#65949
Author: Marco Augustin
Date: Thu, 03 Jul 2003 15:40
16 lines
1536 bytes
"Russ Allbery" <rra@stanford.edu> schrieb:
> Marco Augustin <info@chs-augustin.com> writes:
>
> > In innshellvars none of the lines contain user expect
> > NEWSUSER=news. Thats all.  Very strange.  Any ideas?
>
> Nope, I'm pretty mystified, I'm afraid.
>
I think it's RedHat. Suse probably will do it. RedHat 9 is very instable. Perhaps it's buggy due to the new release.
I'm going to download Suse now :-)

-- 
Marco Augustin

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads