Thread View: news.software.readers
8 messages
8 total messages
Started by Colin Rosenthal
Thu, 29 Feb 1996 00:00
Lost .jnewsrc
Author: Colin Rosenthal
Date: Thu, 29 Feb 1996 00:00
Date: Thu, 29 Feb 1996 00:00
11 lines
1074 bytes
1074 bytes
I was running slrn when our sysadmin accidentally hit the reboot switch (!). After the reboot, my .jnewsrc was empty, although fortunately I was able to restore it from .jnewsrc~ . Any idea what happened? --Colin Rosenthal | ``Don't smell the flowers - --rosentha@obs.aau.dk | They're an evil drug - --http://bigcat.obs.aau.dk/~rosentha | To make you lose your mind''- --Aarhus University, Denmark | Ronnie James Dio, 1983 -
Re: slrn: Lost .jnewsrc
Author: Jon Ribbens
Date: Thu, 29 Feb 1996 00:00
Date: Thu, 29 Feb 1996 00:00
27 lines
1663 bytes
1663 bytes
In article <slrn4jbc8f.2fn.rosentha@aauobs.obs.aau.dk>,
rosentha@aauobs.obs.aau.dk (Colin Rosenthal) wrote:
> On 29 Feb 1996 09:43:15 GMT, Colin Rosenthal <rosentha@aauobs.obs.aau.dk>
> wrote:
> > I was running slrn when our sysadmin accidentally hit the reboot switch
> > (!). After the reboot, my .jnewsrc was empty, although fortunately I was
> > able to restore it from .jnewsrc~ . Any idea what happened?
>
> I'm just reposting this with the word slrn in the title.
SLRN tends to lose your newsrc if it dies prematurely. (e.g. if you
'kill -1' it.) I regard this as a *major* bug - that tin has this bug is
one of the reasons I switched from tin in the first place. (Apart from the
fact that slrn is infinitely better than tin, of course ;-) )
I heard that rn/trn does this too. It is Bad and Wrong and easily avoided.
Cheers
Jon
____
\ // Jon Ribbens // jon@doggysoft.co.uk //
\// http://www.doggysoft.co.uk/ //
Re: Lost .jnewsrc
Author: John E. Davis
Date: Thu, 29 Feb 1996 00:00
Date: Thu, 29 Feb 1996 00:00
15 lines
1174 bytes
1174 bytes
On 29 Feb 1996 09:43:15 GMT, Colin Rosenthal <rosentha@aauobs.obs.aau.dk> wrote: : I was running slrn when our sysadmin accidentally hit the reboot switch (!). : After the reboot, my .jnewsrc was empty, although fortunately I was able : to restore it from .jnewsrc~ . Any idea what happened? One must never simply turn off a Unix system without going through proper shutdown procedures to sync the disks, etc... If the disks are not synced, you can get file system corruption. That is what you have experienced. See the man page for `sync' for more info. --John
slrn: Lost .jnewsrc
Author: Colin Rosenthal
Date: Thu, 29 Feb 1996 00:00
Date: Thu, 29 Feb 1996 00:00
14 lines
1282 bytes
1282 bytes
On 29 Feb 1996 09:43:15 GMT, Colin Rosenthal <rosentha@aauobs.obs.aau.dk> wrote: >I was running slrn when our sysadmin accidentally hit the reboot switch (!). >After the reboot, my .jnewsrc was empty, although fortunately I was able >to restore it from .jnewsrc~ . Any idea what happened? I'm just reposting this with the word slrn in the title. --Colin Rosenthal | ``Don't smell the flowers - --rosentha@obs.aau.dk | They're an evil drug - --http://bigcat.obs.aau.dk/~rosentha | To make you lose your mind''- --Aarhus University, Denmark | Ronnie James Dio, 1983 -
Re: slrn: Lost .jnewsrc
Author: John E. Davis
Date: Fri, 01 Mar 1996 00:00
Date: Fri, 01 Mar 1996 00:00
17 lines
1369 bytes
1369 bytes
On Thu, 29 Feb 1996 21:55:54 GMT, Jon Ribbens <jon@doggysoft.co.uk> wrote: : SLRN tends to lose your newsrc if it dies prematurely. (e.g. if you : 'kill -1' it.) I regard this as a *major* bug - that tin has this bug is : one of the reasons I switched from tin in the first place. (Apart from the : fact that slrn is infinitely better than tin, of course ;-) ) kill -1 sends a hangup signal to SLRN. SLRN does catch this signal and saves the newsrc file. What system are you running on? -- John E. Davis Center for Space Research/AXAF Science Center 617-258-8119 MIT 37-662c, Cambridge, MA 02139 http://space.mit.edu/~davis
Re: slrn: Lost .jnewsrc
Author: David E. Fox
Date: Sat, 02 Mar 1996 00:00
Date: Sat, 02 Mar 1996 00:00
25 lines
1819 bytes
1819 bytes
In article <19960302.180225.04@doggysft.demon.co.uk>, Jon Ribbens wrote: >Solaris 2.4. What happened was that my dial-up link died, I connected back >again later and the slrn process was still running. I 'kill -1'ed it and >then my newsrc was 0 bytes long :(. Fortunately the newsrc~ file was still I use Linux, but I've found that when my link dies, there's no need to kill the slrn process - just reconnect, and start rereading from where you left off. You will probably have to run through the "NNTP connection dropped, reconnect" dialog a few times, but that's better that killing slrn and restarting it. >\ // Jon Ribbens // jon@doggysoft.co.uk // > \// http://www.doggysoft.co.uk/ // -- ------------------------------------------------------------------------ David E. Fox Tax Thanks for lettimg me dfox@belvdere.vip.best.com the change magnetic patterns root@belvedere.sbay.org churches on your hard disk. -----------------------------------------------------------------------
Re: slrn: Lost .jnewsrc
Author: Jon Ribbens
Date: Sat, 02 Mar 1996 00:00
Date: Sat, 02 Mar 1996 00:00
26 lines
1721 bytes
1721 bytes
In article <slrn4jebuu.i13.davis@wiwaxia.mit.edu>,
davis@space.mit.edu (John E. Davis) wrote:
> : SLRN tends to lose your newsrc if it dies prematurely. (e.g. if you
> : 'kill -1' it.) I regard this as a *major* bug - that tin has this bug is
> : one of the reasons I switched from tin in the first place. (Apart from
> : the fact that slrn is infinitely better than tin, of course ;-) )
>
> kill -1 sends a hangup signal to SLRN. SLRN does catch this signal and
> saves the newsrc file. What system are you running on?
Solaris 2.4. What happened was that my dial-up link died, I connected back
again later and the slrn process was still running. I 'kill -1'ed it and
then my newsrc was 0 bytes long :(. Fortunately the newsrc~ file was still
intact. (I wasn't out of disc quota, which is the usual reason for
tin/rn/trn losing newsrc's.)
Cheers
Jon
____
\ // Jon Ribbens // jon@doggysoft.co.uk //
\// http://www.doggysoft.co.uk/ //
Re: Lost .jnewsrc
Author: Larry W. Virden
Date: Sun, 03 Mar 1996 00:00
Date: Sun, 03 Mar 1996 00:00
31 lines
1872 bytes
1872 bytes
Well, that's certainly true, but there is not always a choice - I find that at least once every 2-3 months my system gets hung in a state which does not permit me to do a shut down. And then there are those pesky power outages and spikes. As for 'easily preventable', one should be able to prevent 0 length newsrc files, but not prevent temporary loss of newsrc. The prevent the 0 length is to create the new newsrc as a separate files, then to do a ln .jnewsrc .jnewsrcold rm .jnewsrc ln .jnewsrcnew .jnewsrc rm .jnewsrcnew At start up, one needs to be sure that one doesn't start mangling existing .jnewsrcold files if there is no .jnewsrc or one exists but is 0 length. One also needs to ask the user which file to use if there is no .jnewsrc but there are .jnewsrcold and .jnewsrcnew and they both are non-0 length (and not identical). Other conditions? -- :s Larry W. Virden INET: lvirden@cas.org :s <URL:http://www.teraform.com/%7Elvirden/> <*> :s Unless explicitly stated to the contrary, nothing in this posting should :s be construed as representing my employer's opinions.
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