🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Mike Batchelor Fri, 22 Mar 1996 00:00
Problems with news.daily, expire, server pausing
#5915
Author: Mike Batchelor
Date: Fri, 22 Mar 1996 00:00
44 lines
2652 bytes
Running INN 1.4unoff4 on a Sparc20/Solaris 2.5.  I've gone through the FAQs
and have tried some things that are suggested there, but still have this
problem.

I'm having to use the -n switch for expire, and uncomment the MESSAGES line
in news.daily, because expire is not unpausing the news server.  This
finally allows news.daily to complete mostly, but there are still some
lingering problems, which may be the cause of the server not un-pausing in
the first place.  Here is what expire tells me in the mail message:

Expire messages:
expire begin Fri Mar 22 11:05:36 EST 1996: (-n -v1 -l -z/var/log/news/expire.rm)
    Can't replace history files, Cross-device link
    Article lines processed   685548
    Articles retained         682150
    Entries expired             3398
    Files unlinked               265
    Old entries dropped            0
    Old entries retained           0
    expire end Fri Mar 22 11:11:39 EST 1996

Now, I'm wondering if the "Can't replace history files" error has something
to do with it.  I have overview on /var/spool/news/overview, which is
actually a lofs mount from /.d7/overview.  I've added the -l switch to
expireflags in news.daily to try and fix this.  Where is this error coming
from?

I use lofs mounts on Solaris 2.5 because everything I've read about them
suggests they are lower overhead than symlinks.  Here is what the mounts
look like:

/.c0t2 on /dev/md/dsk/d20 setuid/read/write/quota on Tue Mar 12 05:46:19 1996
/.d7 on /dev/md/dsk/d7 setuid/read/write on Tue Mar 12 05:46:19 1996
/var/spool on /.c0t2/spool read/write on Tue Mar 12 05:46:19 1996
/var/spool/news/overview on /.d7/overview read/write on Sun Mar 17 02:14:44 1996

/.c0t2 is the root of a RAID tower on the Sparc embedded SCSI controller,
/.d7 is the root of a 3 disk stripe on the second SCSI controller.
-- 
 Capitol      %%%%% Mike Batchelor % mikebat@Capitol.Net %%%%% Capitol
   Internet   %%%%%%%%%%% 301-322-5095 % V.34/ISDN %%%%%%%%%%%   Internet
     Services %% Serving Washington DC, No.VA, and Maryland %%     Services

Re: Problems with news.daily, expire, server pausing
#5942
Author: Mike Batchelor
Date: Sun, 24 Mar 1996 00:00
35 lines
2305 bytes
In <4iukqr$goe@annapolis.capitol.net> mikebat@Capitol.Net (Mike Batchelor) writes:

>Expire messages:
>expire begin Fri Mar 22 11:05:36 EST 1996: (-n -v1 -l -z/var/log/news/expire.rm)
>    Can't replace history files, Cross-device link
>    Article lines processed   685548
>    Articles retained         682150
>    Entries expired             3398
>    Files unlinked               265
>    Old entries dropped            0
>    Old entries retained           0
>    expire end Fri Mar 22 11:11:39 EST 1996

I got a solution, but it doesn't make sense.  I added expdir=/.d7/expire to
the news.daily command line (and created /.d7/expire, of course).  Now it
finishes, the history gets updated, and articles are removed and purged, the
server is unpaused, all is well.  I don't need the -l -n flags anymore.  But
/.d7 has less space than /var/spool/news where history normally lives.  And
both slices have more than enough space for two copies of the history file.

So what did I misunderstand?

>/.c0t2 on /dev/md/dsk/d20 setuid/read/write/quota on Tue Mar 12 05:46:19 1996
>/.d7 on /dev/md/dsk/d7 setuid/read/write on Tue Mar 12 05:46:19 1996
>/var/spool on /.c0t2/spool read/write on Tue Mar 12 05:46:19 1996
>/var/spool/news/overview on /.d7/overview read/write on Sun Mar 17 02:14:44 1996

>/.c0t2 is the root of a RAID tower on the Sparc embedded SCSI controller,
>/.d7 is the root of a 3 disk stripe on the second SCSI controller.
-- 
 Capitol      %%%%% Mike Batchelor % mikebat@Capitol.Net %%%%% Capitol
   Internet   %%%%%%%%%%% 301-322-5095 % V.34/ISDN %%%%%%%%%%%   Internet
     Services %% Serving Washington DC, No.VA, and Maryland %%     Services

Re: Problems with news.daily, expire, server pausing
#5949
Author: Ken Robinson
Date: Sun, 24 Mar 1996 00:00
49 lines
2591 bytes
mikebat@Capitol.Net (Mike Batchelor) wrote:

>Running INN 1.4unoff4 on a Sparc20/Solaris 2.5.  I've gone through the FAQs
>and have tried some things that are suggested there, but still have this
>problem.

I have the exact same setup.

>I'm having to use the -n switch for expire, and uncomment the MESSAGES line
>in news.daily, because expire is not unpausing the news server.  This
>finally allows news.daily to complete mostly, but there are still some
>lingering problems, which may be the cause of the server not un-pausing in
>the first place.  Here is what expire tells me in the mail message:

I have this same un-pausing problem.  Shortly after starting INN, it
seems to pause.  INNWatch doesn't need to be running.

>Now, I'm wondering if the "Can't replace history files" error has something
>to do with it.  I have overview on /var/spool/news/overview, which is
>actually a lofs mount from /.d7/overview.  I've added the -l switch to
>expireflags in news.daily to try and fix this.  Where is this error coming
>from?

My news server is split across a couple of file systems, but I am not
using lofs mounts.

>/.c0t2 is the root of a RAID tower on the Sparc embedded SCSI controller,

My /news is also on a RAID tower, made by CMS.  My overview files are
on that /news RAID tower as well.  The rest of the system sits on a 2
gig internal Seagate.

I'm afraid I can't offer you a solution, but I can sympathize with
your problem.   If you come across the solution, please let me know.
I'll do the same for you if I can find it.   I've set up half a dozen
INN servers in the last couple of years, but this is the first I've
seen this problem.  It's also my first Solaris 2.x system.   SunOS,
HPUX and IRIX haven't caused me these problems.

Thanks,


--
Ken Robinson
NRNS Incorporated
DREnet Network Management Centre
Note: I'm likely speaking for myself and nobody else.

Re: Problems with news.daily, expire, server pausing
#6029
Author: Ken Robinson
Date: Tue, 26 Mar 1996 00:00
35 lines
2111 bytes
mikebat@Capitol.Net (Mike Batchelor) wrote:

>In <4iukqr$goe@annapolis.capitol.net> mikebat@Capitol.Net (Mike Batchelor) writes:


>I got a solution, but it doesn't make sense.  I added expdir=/.d7/expire to
>the news.daily command line (and created /.d7/expire, of course).  Now it
>finishes, the history gets updated, and articles are removed and purged, the
>server is unpaused, all is well.  I don't need the -l -n flags anymore.  But
>/.d7 has less space than /var/spool/news where history normally lives.  And
>both slices have more than enough space for two copies of the history file.

HI, 

Just to let you know.  This also fixed my server problems!   Here's a
small tip for you.   If you edit the news.daily script you will find a
variable called 'EXPDIR' which you can set.   This way you never
accidentally run an news.daily by hand and forget the expdir option.

I noticed that I had a leftover set of history files in my
/usr/local/news directory which didn't get moved to /news (hence the
problem we saw).  I put the expdir on to a slice on the same HD, as
the /usr/local/news was on and it works fine.   Hmm.  Trying to think
back, my /usr/local MIGHT be a symlnk.   I'm not sure.  

Thanks for the help, it made life a whole lot better.  ;-)


--
Ken Robinson
NRNS Incorporated
DREnet Network Management Centre
Note: I'm likely speaking for myself and nobody else.

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