🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Chris Leahy Mon, 23 Apr 2001 23:41
INN and suck configuration problem
#52004
Author: Chris Leahy
Date: Mon, 23 Apr 2001 23:41
100 lines
4344 bytes
Hi all,

Im running INN and suck and the downloading of articles from the
upstream newshost
seems to be working exceptionally well.

My problem is that its not uploading my new posts back to the upstream
host.

I cant seem to figure out where its failing.

I think the trouble is twofold. One is that it doesnt seem to be
creating the batchfile reliably.
When the server is first started, the file gets created, then once I
make a post it does appear to be
adding the article to the batch file.
I'm using the sxcript that came with Suck (get.news.inn) and I have made
the appropriate modifications
so that all the paths are correct.
Once the script runs, it downloads fine and then when it attempts to
upload it delivers some errors (errors atend of message)

After running the script, the batch file has been deleted and no new one
replaces it and the posts have not been uploaded
to the remote server. If I manually create a new batch file even with
all the right ownership and permissions,
the server will no longer write to that file no matter how many posts I
attempt.

The following is the output of the script. There are several things here
that seem to be amiss.
One is that it is looking in the wrong place for the history file and I
dont know how to tell it otherwise.
Lots of other good errors there too. Frankly. I'm stumped.






> Attempting to connect to news.CENSORED.net
> Using Port 119
> Official host name: news.CENSORED.net
> Address: CENSORED
> Connected to news.CENSORED.net
> 200 Welcome to the CENSORED News Server (Typhoon v1.2.3)
> Loading active file from localhost
> Reading current sucknewsrc
> comp.unix.bsd.freebsd.misc - 7 articles 128441-128447
> junk - 6 articles 127598-127603
> comp.os.linux.misc - 1 articles 324701-324701
> comp.groupware.lotus-notes.programmer - 1 articles 77010-77010
> Adding new groups from local active file to sucknewsrc
> Elapsed Time = 0 mins 1.26 seconds
> 15 Articles to download
> Deduping Elapsed Time = 0 mins 0.00 seconds
> Deduped, 15 items remaining, 0 dupes removed.
> Can not open /usr/local/news/lib/history, Skipping
> Total articles to download: 15
> 22921 Bytes received in 0 mins 1.47 secs, BPS = 15629.4
> Closed connection to news.CENSORED.net
> Posting Messages to localhost
> 15 Messages Posted
> Elapsed Time = 0 mins 2.78 seconds
> Cleaning up after myself
> Downloaded Articles
> No such site
> Using Port 119
> Official host name: news.CENSORED.net
> Address: CENSORED
> Connected to news.CENSORED.net
> 200 Welcome to the CENSORED News Server (Typhoon v1.2.3)
> Execl: Permission denied
> Empty file, skipping
> Execl: Permission denied
> Empty file, skipping
> Execl: Permission denied
> Empty file, skipping
> Execl: Permission denied
> Empty file, skipping
> Execl: Permission denied
> Empty file, skipping
> Execl: Permission denied
> Empty file, skipping
> Execl: Permission denied
> Empty file, skipping
> Execl: Permission denied
> Empty file, skipping
> Execl: Permission denied
> Empty file, skipping
> Execl: Permission denied
> Empty file, skipping
> Deleting batch file: /usr/local/news/spool/outgoing/news.CENSORED.net.new
> Closing connection to news.CENSORED.net
> Remotely posted articles
> rm: /tmp/tmp4511: No such file or directory
> You can hang up the modem now
>

Re: INN and suck configuration problem
#52007
Author: Terrance Richard Boyes
Date: Tue, 24 Apr 2001 02:05
39 lines
2831 bytes
Chris Leahy <zoltan@zoltanium.com> wrote:
> The following is the output of the script. There are several things here
> that seem to be amiss.
> One is that it is looking in the wrong place for the history file and I
> dont know how to tell it otherwise.

>> Can not open /usr/local/news/lib/history, Skipping

Can be set on the command line -HF, though if you've using
a recent version of inn you may also need to build suck
with the DB options set.

> Lots of other good errors there too. Frankly. I'm stumped.

>> No such site

That is probably from the ctlinnd flush, which suggests that
you don't have the site setup properly within inn.

>> 200 Welcome to the CENSORED News Server (Typhoon v1.2.3)
>> Execl: Permission denied
>> Empty file, skipping

It looks like something going wrong with the filter (assuming
it has actually been given some data to play with). Since
it's an Execl message presumably you're using the shell
filter not the perl one ? Check the path to it, and permissions
on it, the batch file and /tmp.

Also try exiting the script before the rpost and running
the filter manually. Oh, and try debug mode too.

[snip]

-- 
<URL:http://www.pierrot.co.uk/>                                  Team AMIGA
We have met the enemy and not only is he ours, he is us.  - Walt Kelly

Re: INN and suck configuration problem
#52008
Author: Chris Leahy
Date: Tue, 24 Apr 2001 03:34
49 lines
2256 bytes
Terrance Richard Boyes wrote:

>
>
> Can be set on the command line -HF, though if you've using
> a recent version of inn you may also need to build suck
> with the DB options set.
>

Good call, I added the -HF and path to the script, worked great

>
>

This error definately came from the flush. I still cnt figure out why its
generating this error though.
I have gone through all the INN config files and have the site listed
everywhere it should be (I think)


>
> >> No such site
> That is probably from the ctlinnd flush, which suggests that
> you don't have the site setup properly within inn.

I wish I knew what I missed.

>
>
> >> 200 Welcome to the CENSORED News Server (Typhoon v1.2.3)
> >> Execl: Permission denied
> >> Empty file, skipping

Yup, fixed the filter and this cleared up.

>
>

> Empty file, skipping
> Empty file, skipping
> Empty file, skipping
> Deleting batch file: /usr/local/news/spool/outgoing/news.coretel.net.new
>
>
This last bit here is odd, it seems that its reading the batch file alright
but then its not looking in the right place for the articles mentioned in the
file?

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