Menu

#1 Queued News Not Working with 2.0

0.7.x
open
None
5
2003-01-26
2002-10-10
No

Here is the output when I select Queued News using
Leafwa 0.7.0a1-ap with Leafnode 2.0 snapshot:

News queue contains 2 unforwarded messages:
Warning: fopen("msgids.ser", "w") - Permission denied
in /home/httpd/html/stats/leafwa/funlib.inc on line 228

Warning: fwrite(): supplied argument is not a valid
File-Handle resource in
/home/httpd/html/stats/leafwa/funlib.inc on line 229

Warning: fclose(): supplied argument is not a valid
File-Handle resource in
/home/httpd/html/stats/leafwa/funlib.inc on line 230

(-----------------------------------------) ---
-------------------- --------
From: cles found.
Newsgroup:
Subject: awaiting store to local groups:

(articles found) fo -nd.-
From:
Newsgroup: failed.postings:
Subject: -------------------

Discussion

  • Andy Piper

    Andy Piper - 2002-10-11

    Logged In: YES
    user_id=3132

    This looks like a permissions problem.

    Which user owns /home/httpd/html/stats/leafwa, and what are
    the permissions?

    In my case:
    drwxr-xr-x 7 apache apache 4096 Oct 10 23:23 leafwa

    The Apache user (the one Apache is running as) should have
    write permission to the leafwa directory.

     
  • Jeff Grossman

    Jeff Grossman - 2002-10-11

    Logged In: YES
    user_id=128814

    Okay, the permissions were a problem. That fixed the
    warning messages. The output still looks like:

    News queue contains 2 unforwarded messages:

    (-----------------------------------------) ---
    -------------------- --------
    From: cles found.
    Newsgroup:
    Subject: awaiting store to local groups:

    (articles found) fo -nd.-
    From:
    Newsgroup: failed.postings:
    Subject: -------------------

    And, it says there are two outgoing messages, when in fact
    there are none. This is probably related to a different
    looking newsq output than the 1.9.x versions.

    Here is the output of newsq:

    [root@apple out.going]# newsq
    Articles awaiting post to upstream servers:
    -------------------------------------------
    0 articles found.

    Articles awaiting store to local groups:
    ----------------------------------------
    0 articles found.

    Articles in failed.postings:
    ----------------------------
    0 articles found.

     
  • Andy Piper

    Andy Piper - 2003-01-26
    • milestone: --> 0.7.x
     
  • Andy Piper

    Andy Piper - 2003-01-26
    • assigned_to: nobody --> andyp
     
  • Andy Piper

    Andy Piper - 2003-01-26

    Logged In: YES
    user_id=3132

    This looks like a permissions problem as well. I'll
    investigate further in the next couple of weeks when I
    upgrade to 2.x

     
  • Jeff Grossman

    Jeff Grossman - 2003-01-26

    Logged In: YES
    user_id=128814

    If there is anything I can do to help, please let me know.

     
  • Kevin R. Bulgrien

    Logged In: YES
    user_id=697549

    Actually, it is my suspicion that this is a failure to parse
    newsq's ouput properly. Those dashed lines look familiar...

     
  • Jeff Grossman

    Jeff Grossman - 2003-01-26

    Logged In: YES
    user_id=128814

    I would tend to agree. I believe Matthias changed the
    output of newsq from the 1.9.x series to the 2.0.x series.
    You will probably have to have to separate sections of
    Leafwa that will work differently depending on the version
    of Leafnode that is running.

    Since there are so many changes between 1.9 and 2.0, it
    might not be a bad idea to split Leafwa into two separate
    programs. Not sure how Andy feels about that, though.

     
  • Andy Piper

    Andy Piper - 2003-01-26

    Logged In: YES
    user_id=3132

    Almost certainly the problem. That code is really horrible,
    it took me ages just to fix for 1.9.27 when I first started
    twiddling with leafwa. I'm not looking forward to the 2.x
    version :-(

    The good news is that I've now put in some function to let
    us detect which major of version Leafnode we're running
    against. That allows us to start to differentiate functions
    for 1.x and 2.x - although I've not come up with a really
    neat way of doing that yet.

     

Log in to post a comment.

MongoDB Logo MongoDB