Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #247345 > unrolled thread

Re: slrn broke after power failure

Started byCharlie Gibbs <cgibbs@surfnaked.ca>
First post2022-04-18 22:00 +0200
Last post2022-04-19 18:20 +0200
Articles 5 — 4 participants

Back to article view | Back to linux.debian.user


Contents

  Re: slrn broke after power failure Charlie Gibbs <cgibbs@surfnaked.ca> - 2022-04-18 22:00 +0200
    Re: slrn broke after power failure Curt <curty@free.fr> - 2022-04-19 15:30 +0200
      Re: slrn broke after power failure songbird <songbird@anthive.com> - 2022-04-19 17:10 +0200
    Re: slrn broke after power failure Tim Woodall <debianuser@woodall.me.uk> - 2022-04-19 18:10 +0200
      Re: slrn broke after power failure Tim Woodall <debianuser@woodall.me.uk> - 2022-04-19 18:20 +0200

#247345 — Re: slrn broke after power failure

FromCharlie Gibbs <cgibbs@surfnaked.ca>
Date2022-04-18 22:00 +0200
SubjectRe: slrn broke after power failure
Message-ID<EdFHr-9CSV-11@gated-at.bofh.it>
On Mon, 18 Apr 2022 02:50:01 +0200 songbird <songbird@anthive.com>
wrote:

[description of .jnewsrc snipped]

I've tried fiddling with .jnewsrc, but that doesn't seem to be
the problem.  I retrieve news with slrnpull, which retrieves
articles and updates .jnewsrc accordingly.  This has worked
properly both before and after my problem began.  I read the
articles at my leisure using slrn, which shouldn't be going
anywhere near a server; I have the following lines in .slrnrc:

set server_object "spool"
set post-object "slrnpull"
set use_slrnpull 1

I'm trying to figure out why slrn is saying "Server read failed"
when I've told it not to access a server.

 >> Oh well, I've been meaning to upgrade my laptop to Bullseye -
 >> maybe it's time to nuke slrn and re-install it from scratch.
 >
 >  you can uninstall it but that may not clear up the spool for
 > the groups, so you'd need to see if that actually works or not.

Again, my issue is not with the spool, but why slrn seems to
be trying to bypass it and access the server directly.  Unless
that "server read failed" message is a red herring...

-- 
cgibbs@surfnaked.ca (Charlie Gibbs)

[toc] | [next] | [standalone]


#247356

FromCurt <curty@free.fr>
Date2022-04-19 15:30 +0200
Message-ID<EdW5z-9N1w-3@gated-at.bofh.it>
In reply to#247345
On 2022-04-18, Charlie Gibbs <cgibbs@surfnaked.ca> wrote:
>
> Again, my issue is not with the spool, but why slrn seems to
> be trying to bypass it and access the server directly.  Unless
> that "server read failed" message is a red herring...
>



 slrn --debug FILE

Then look in FILE for possible edification.

[toc] | [prev] | [next] | [standalone]


#247357

Fromsongbird <songbird@anthive.com>
Date2022-04-19 17:10 +0200
Message-ID<EdXEl-9O2R-13@gated-at.bofh.it>
In reply to#247356
Curt wrote:
> On 2022-04-18, Charlie Gibbs <cgibbs@surfnaked.ca> wrote:
>>
>> Again, my issue is not with the spool, but why slrn seems to
>> be trying to bypass it and access the server directly.  Unless
>> that "server read failed" message is a red herring...
>>
>
>
>
>  slrn --debug FILE
>
> Then look in FILE for possible edification.

  yes, also i've been trying to get through the source code
and see what it might give any clues.  art.c is the only file 
that has that specific error message.

  unfortunately i don't have time to dig into this for a while. :(

  here are suggestions to try:

  subscribe to a new group and then download 100 articles and then 
use find to list all the changed files and directories (to see what 
is being touched by slrn).

  after that go in and make one of those files zero length to see
if that replicates the error message when you try to go look at
that again.

  then remove the zero length file and remove the .overview file 
for that group and see if you can then get that message again.
i think a missing .overview file should be regenerated every time
there is a new article downloaded.

  these are guesses.  don't do this for a group you really have 
a lot of articles in already if you don't want to lose them.

  i regularly clean out old articles in my spool when it gets too
full and that automatically regenerates the .overview files but it
is leafnode that does that for me and not slrn.  so i'm doing 
things differently, but it should all still work about the same
way in the end.


  songbird

[toc] | [prev] | [next] | [standalone]


#247359

FromTim Woodall <debianuser@woodall.me.uk>
Date2022-04-19 18:10 +0200
Message-ID<EdYAp-9OC8-1@gated-at.bofh.it>
In reply to#247345
On Mon, 18 Apr 2022, Charlie Gibbs wrote:

>
> Again, my issue is not with the spool, but why slrn seems to
> be trying to bypass it and access the server directly.  Unless
> that "server read failed" message is a red herring...
>

So I got interested and went investigating and I confess that I have
absolutely no idea where slrn configures the server.

I run a inn server on einstein - and I usually connect from einstein so
I assumed perhaps it was localhost - but then I tried from dirac and,
apart from having thousands of unread messages, that also works. But
einstein doesn't appear in .slrnrc on either machine.

So then I did an strace and grepped for einstein in every file it opened
- still nothing...

And yet I see this in the strace:
29838 write(1, "Connecting to host einstein.home"..., 50) = 50

So I'm at a complete loss - but by some magic, somewhere, slrn knows
where to connect and I don't know how but I bet that magic file has got
corrupted on your system...

Tim.

[toc] | [prev] | [next] | [standalone]


#247363

FromTim Woodall <debianuser@woodall.me.uk>
Date2022-04-19 18:20 +0200
Message-ID<EdYK6-9OFf-9@gated-at.bofh.it>
In reply to#247359
On Tue, 19 Apr 2022, Tim Woodall wrote:

> On Mon, 18 Apr 2022, Charlie Gibbs wrote:
>
>> 
>> Again, my issue is not with the spool, but why slrn seems to
>> be trying to bypass it and access the server directly.  Unless
>> that "server read failed" message is a red herring...
>> 
>
> So I got interested and went investigating and I confess that I have
> absolutely no idea where slrn configures the server.
>
> I run a inn server on einstein - and I usually connect from einstein so
> I assumed perhaps it was localhost - but then I tried from dirac and,
> apart from having thousands of unread messages, that also works. But
> einstein doesn't appear in .slrnrc on either machine.
>
> So then I did an strace and grepped for einstein in every file it opened
> - still nothing...
>
> And yet I see this in the strace:
> 29838 write(1, "Connecting to host einstein.home"..., 50) = 50
>
> So I'm at a complete loss - but by some magic, somewhere, slrn knows
> where to connect and I don't know how but I bet that magic file has got
> corrupted on your system...
>
> Tim.
>
check this:
NNTPSERVER=einstein.home.woodall.me.uk

Perhaps that has got set somehow - or needs to be set to a specific
value to use the spool.

Tim.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web