• innreport not running

    From Nigel Reed@21:1/5 to All on Thu May 4 11:59:29 2023
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Julien_=c3=89LIE?=@21:1/5 to All on Thu May 4 19:27:06 2023
    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)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nigel Reed@21:1/5 to iulius@nom-de-mon-site.com.invalid on Thu May 4 13:32:41 2023
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nigel Reed@21:1/5 to iulius@nom-de-mon-site.com.invalid on Fri May 5 13:51:15 2023
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nigel Reed@21:1/5 to Nigel Reed on Fri May 5 17:37:47 2023
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ray Banana@21:1/5 to All on Sat May 6 06:18:54 2023
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Julien_=c3=89LIE?=@21:1/5 to All on Sat May 6 09:08:50 2023
    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)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)