Share

Leafnode Web Administration

Tracker: Bugs

5 Queued News Not Working with 2.0 - ID: 621609
Last Update: Comment added ( andyp )

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: -------------------


Jeff Grossman ( jeffgman ) - 2002-10-10 22:27

5

Open

None

Andy Piper

None

0.7.x

Public


Comments ( 7 )




Date: 2003-01-26 20:41
Sender: andypProject AdminAccepting Donations

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.



Date: 2003-01-26 20:39
Sender: jeffgman

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.


Date: 2003-01-26 20:35
Sender: kbulgrien

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...


Date: 2003-01-26 20:33
Sender: jeffgman

Logged In: YES
user_id=128814

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


Date: 2003-01-26 12:36
Sender: andypProject AdminAccepting Donations

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



Date: 2002-10-11 14:06
Sender: jeffgman

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.



Date: 2002-10-11 05:48
Sender: andypProject AdminAccepting Donations

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.



Log in to comment.




Attached File

No Files Currently Attached

Changes ( 2 )

Field Old Value Date By
assigned_to nobody 2003-01-26 00:32 andyp
artifact_group_id None 2003-01-26 00:32 andyp