🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by Nigel Reed Thu, 04 May 2023 16:59
innreport not running
#90342
Author: Nigel Reed
Date: Thu, 04 May 2023 16:59
38 lines
1768 bytes

I have just discovered that every since my epic crash of 15 Apr 2023,
my innreport hasn't been running, or at least generating a html page.

After my file system ran out of inodes, I copied everything to a
different server. The current status is that I downloaded the latest
innd from git, so running from Apr 15.

I went through the configs and reconfigured, 

innreport.conf contains
    html_dir    "/var/www/news/inn"; # default to pathhttp in inn.conf.

:~/etc$ ls -ld /var/www/news/inn

the directory has the correct permissions.

I don't see any logs that would indicate if it ran or not.

news.daily is configured to run out of cron. I've not made any changes
here.

1   0 * * *   /news/bin/news.daily expireover lowmark delayrm

Right now I'm open to suggestions...I've obviously missed the obvious!

Thanks

-- 
End Of The Line BBS - Plano, TX
telnet endofthelinebbs.com 23


-- 
End Of The Line BBS - Plano, TX
telnet endofthelinebbs.com 23
Re: innreport not running
#90343
Author: Julien ÉLIE
Date: Thu, 04 May 2023 17:27
26 lines
1877 bytes
Hi Nigel,

> innreport.conf contains
>      html_dir    "/var/www/news/inn"; # default to pathhttp in inn.conf.
> 
> :~/etc$ ls -ld /var/www/news/inn
> 
> the directory has the correct permissions.

That is to say the news user can access it and write in it?

Do you also have:
         html            true;
         graph           true;


> I don't see any logs that would indicate if it ran or not.

Why not just run it by hand?

   innreport -f /etc/news/innreport.conf -notdaily

-- 
Julien ÉLIE

« L'éternité, c'est long, surtout vers la fin. » (Woody Allen)
Re: innreport not running
#90352
Author: Nigel Reed
Date: Thu, 04 May 2023 18:32
14 lines
1153 bytes
On Thu, 4 May 2023 19:27:06 +0200
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote:

>
> Do you also have:
>          html            true;

There it was! Thank you. :)


-- 
End Of The Line BBS - Plano, TX
telnet endofthelinebbs.com 23
Re: innreport not running
#90344
Author: Nigel Reed
Date: Fri, 05 May 2023 18:51
39 lines
1826 bytes
On Thu, 4 May 2023 19:27:06 +0200
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote:

> Hi Nigel,
> 
> > innreport.conf contains
> >      html_dir    "/var/www/news/inn"; # default to pathhttp in
> > inn.conf.
> > 
> > :~/etc$ ls -ld /var/www/news/inn
> > 
> > the directory has the correct permissions.  
> 
> That is to say the news user can access it and write in it?
> 
> Do you also have:
>          html            true;
>          graph           true;

So this wasn't the solution, it seems. Still no report.

> 
> 
> > I don't see any logs that would indicate if it ran or not.  
> 
> Why not just run it by hand?
> 
>    innreport -f /etc/news/innreport.conf -notdaily
> 

I don't think this is working. I started the report at 11:43am and it's
now 1:50pm. How long should I expect it to take?



-- 
End Of The Line BBS - Plano, TX
telnet endofthelinebbs.com 23
Re: innreport not running
#90345
Author: Nigel Reed
Date: Fri, 05 May 2023 22:37
45 lines
2120 bytes
On Fri, 5 May 2023 13:51:15 -0500
Nigel Reed <sysop@endofthelinebbs.com> wrote:

> On Thu, 4 May 2023 19:27:06 +0200
> Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote:
> 
> > Hi Nigel,
> >   
> > > innreport.conf contains
> > >      html_dir    "/var/www/news/inn"; # default to pathhttp in
> > > inn.conf.
> > > 
> > > :~/etc$ ls -ld /var/www/news/inn
> > > 
> > > the directory has the correct permissions.    
> > 
> > That is to say the news user can access it and write in it?
> > 
> > Do you also have:
> >          html            true;
> >          graph           true;  
> 
> So this wasn't the solution, it seems. Still no report.
> 
> > 
> >   
> > > I don't see any logs that would indicate if it ran or not.    
> > 
> > Why not just run it by hand?
> > 
> >    innreport -f /etc/news/innreport.conf -notdaily
> >   
> 
> I don't think this is working. I started the report at 11:43am and
> it's now 1:50pm. How long should I expect it to take?

Still running, this has to be bugged somehow or I'm running it wrong.




-- 
End Of The Line BBS - Plano, TX
telnet endofthelinebbs.com 23
Re: innreport not running
#90346
Author: Ray Banana
Date: Sat, 06 May 2023 04:18
16 lines
1395 bytes
Thus spake Nigel Reed <sysop@endofthelinebbs.com>
 
>> >    innreport -f /etc/news/innreport.conf -notdaily
>> I don't think this is working. I started the report at 11:43am and
>> it's now 1:50pm. How long should I expect it to take?

From man innreport:

"At least one non-empty log file to parse should be given at the end of the command line invoking innreport."

Without passing the log file name, my innreport shows the same behaviour
as yours.

-- 
Too many ingredients in the soup, no room for a spoon
http://www.eternal-september.org
Re: innreport not running
#90347
Author: Julien ÉLIE
Date: Sat, 06 May 2023 07:08
36 lines
2470 bytes
Hi Wolfgang,

>>>> innreport -f /etc/news/innreport.conf -notdaily
>>> 
>>> I don't think this is working. I started the report at 11:43am
>>> and it's now 1:50pm. How long should I expect it to take?
> 
> From man innreport:
> 
> "At least one non-empty log file to parse should be given at the end
> of the command line invoking innreport." >
> Without passing the log file name, my innreport shows the same
> behaviour as yours.
Oh, exactly, I should have tested.  Sorry, Nigel!

I just had a look at:

   % innreport -h
   Usage:
     innreport -f innreport.conf [-[no]options]

where the log files are missing in the arguments 🙁

Whereas indeed the manual page mentions them:

   innreport -f config-file [all the options] log-file [log-file ...]


Now fixed, thanks!

-- 
Julien ÉLIE

« Il avait juste assez de culture pour faire des citations fausses. »
   (Byron)
Re: innreport not running
#90348
Author: Nigel Reed
Date: Sun, 07 May 2023 06:00
43 lines
2359 bytes
On Sat, 6 May 2023 09:08:50 +0200
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote:

> Hi Wolfgang,
> 
> >>>> innreport -f /etc/news/innreport.conf -notdaily  
> >>> 
> >>> I don't think this is working. I started the report at 11:43am
> >>> and it's now 1:50pm. How long should I expect it to take?  
> > 
> > From man innreport:
> > 
> > "At least one non-empty log file to parse should be given at the end
> > of the command line invoking innreport." >
> > Without passing the log file name, my innreport shows the same
> > behaviour as yours.  
> Oh, exactly, I should have tested.  Sorry, Nigel!
> 
> I just had a look at:
> 
>    % innreport -h
>    Usage:
>      innreport -f innreport.conf [-[no]options]
> 
> where the log files are missing in the arguments 🙁
> 
> Whereas indeed the manual page mentions them:
> 
>    innreport -f config-file [all the options] log-file [log-file ...]
> 
> 
> Now fixed, thanks!
> 

Same on this side. I think there was something else I forgot to set
when I was setting the news server up again. I'm getting my reports
now. Thanks for the hints. At least we helped squish something along
the way.

-- 
End Of The Line BBS - Plano, TX
telnet endofthelinebbs.com 23
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