Thread View: news.software.nntp
6 messages
6 total messages
Started by Bill Davidsen
Sat, 11 Feb 1995 05:16
1.1.59 or 1.1.85 INN with spool mounted?
Author: Bill Davidsen
Date: Sat, 11 Feb 1995 05:16
Date: Sat, 11 Feb 1995 05:16
41 lines
2851 bytes
2851 bytes
One last time before I have to convert to another o/s and news system. I have Slackware 2.1 and am trying to get a simple news server up with the /var/spool/news on another device. When I run /var/spool/news as part of /var it works fine, so I believe that I have everything set up correctly (this machine has been up for some time). I moved the articles by copying, as root, with cpio -p, from the old to new directory, and then mounted the new directory. An ls -l shows no diference in access or ownership of anything in the spool directory. Any attempt to send articles with nntpxmit or inndxmit results in "no space" on the server. Local attempts to post get "can't connect to server" even though I telnet to the port and enter the article with POST by hand. If I unmount the spool all is fine. I tried rebuilding the history and overview databases with the new mount, no change. And after dismounting the history file is the same as that made with the other spool. I do this stuff on SCO and AIX, so I don't think there's a bug in INN, although this might be an old build. I would rather not move the source and all stuff needed for a compile to the server, and I doubt it would help since everything works with the mount at /var. I also tried copying the tree from /var/spool and mounting the 2nd disk at that point. No help. I am about to give up and install SCO on this machine, and leave debugging from source for someone else, unless someone has a clue to share on what could be happening here. It looks like the space is not being checked right, but why it would care if the partition was on one drive or another??? I can think of lots of things to do wrong in a news install, but not why moving articles from one device to another would change anything. -- TMR Associates, Inc +1 518 370-5654 | It's not how many you HIT that counts We do SCO and Linux, V.4 on Intel, C, | but how many you MISSED sysadmin, internet gateways, device |_________ davidsen@tmr.com ___________ drivers, Email, and "UNIX stuff". Also project reviews and hand holding.
Re: 1.1.59 or 1.1.85 INN with spool mounted?
Author: Weimin Zhao
Date: Sat, 11 Feb 1995 13:51
Date: Sat, 11 Feb 1995 13:51
26 lines
1218 bytes
1218 bytes
You may try to preallocate the new partition with the following scripts
right after you "mkfs":
#!/bin/ksh
integer f=10000
while ((f>0))
do
touch prealloc_$f
f=f-1
done
f=10000
while ((f>0))
do
rm -f prealloc_$f
f=f-1
done
You can pick up a number much bigger. I once used 300,000 and it took me
12 hrs and to finish the job on a 175 MHz Alpha box.
Hope it helps.
-Weimin
Re: 1.1.59 or 1.1.85 INN with spool mounted?
Author: Bob Hauck
Date: Sat, 11 Feb 1995 15:27
Date: Sat, 11 Feb 1995 15:27
52 lines
3410 bytes
3410 bytes
Bill Davidsen (davidsen@sixhub.tmr.com) wrote: : One last time before I have to convert to another o/s and news system. I : have Slackware 2.1 and am trying to get a simple news server up with the : /var/spool/news on another device. When I run /var/spool/news as part of : /var it works fine, so I believe that I have everything set up correctly : (this machine has been up for some time). : I moved the articles by copying, as root, with cpio -p, from the old to : new directory, and then mounted the new directory. An ls -l shows no : diference in access or ownership of anything in the spool directory. : Any attempt to send articles with nntpxmit or inndxmit results in "no : space" on the server. Local attempts to post get "can't connect to : server" even though I telnet to the port and enter the article with POST : by hand. : If I unmount the spool all is fine. I tried rebuilding the history and : overview databases with the new mount, no change. And after dismounting : the history file is the same as that made with the other spool. Did you kill innd, mount, restart innd? It might be storing inode numbers internally, which change when you mount the new drive. Is /usr/spool a _symbolic_ link to /var/spool or a _hard_ link? Should be the former. : I do this stuff on SCO and AIX, so I don't think there's a bug in INN, : although this might be an old build. I would rather not move the source : and all stuff needed for a compile to the server, and I doubt it would : help since everything works with the mount at /var. : I also tried copying the tree from /var/spool and mounting the 2nd disk : at that point. No help. We have a third disk mounted exactly at there. Our news works fine. Now I'm puzzled too...we have kernel 1.0.8 though. : I am about to give up and install SCO on this machine, and leave : debugging from source for someone else, unless someone has a clue to : share on what could be happening here. It looks like the space is not : being checked right, but why it would care if the partition was on one : drive or another??? I don't think it's that the space is reported wrong, esp if df/du show the right amount. It seems that innd isn't noticing that you've added the new drive. For some reason it's trying to find the old spool. -- --- Bob Hauck Wasatch Communcations Group bobh@wasatch.com Data (24 hrs): 801-272-3792
Re: 1.1.59 or 1.1.85 INN with spool mounted?
Author: Marc Fraioli
Date: Sun, 12 Feb 1995 20:12
Date: Sun, 12 Feb 1995 20:12
33 lines
2603 bytes
2603 bytes
In article 5k7@olympus.wasatch.com, bobh@wasatch.com (Bob Hauck) writes: >Bill Davidsen (davidsen@sixhub.tmr.com) wrote: >: One last time before I have to convert to another o/s and news system. I >: have Slackware 2.1 and am trying to get a simple news server up with the >: /var/spool/news on another device. When I run /var/spool/news as part of >: /var it works fine, so I believe that I have everything set up correctly >: (this machine has been up for some time). > >: I moved the articles by copying, as root, with cpio -p, from the old to >: new directory, and then mounted the new directory. An ls -l shows no >: diference in access or ownership of anything in the spool directory. > >: Any attempt to send articles with nntpxmit or inndxmit results in "no >: space" on the server. Local attempts to post get "can't connect to >: server" even though I telnet to the port and enter the article with POST >: by hand. > Where exactly is this new directory? Is it a local disk, or an NFS one? If it's NFS, then INN is rejecting it because it thinks the file system is out of inodes. NFS does not provide any way to determine the number of inodes on the remote filesystem. This happened to me once on SunOS with INN. I think INN has a compile-time option to tell it to ignore the number of inodes so that you can use an NFS-mounted spool. If your filesystem isn't NFS mounted, then I have no idea...Although I suppose it could still be a lack of inodes. News filesystems eat them for lunch... --- Marc Fraioli | "They couldn't hit an elephant at this dist- " Data General Corp | - Last words of Union General John Sedgwick, fraioli@dg-rtp.dg.com | Battle of Spotsylvania Court House, U.S. Civil War
Re: 1.1.59 or 1.1.85 INN with spool mounted?
Author: Bill Davidsen
Date: Wed, 15 Feb 1995 19:03
Date: Wed, 15 Feb 1995 19:03
18 lines
1703 bytes
1703 bytes
In article <3hlq2r$4qi@news0.cybernetics.net>, Marc Fraioli <fraioli@dg-rtp.dg.com> wrote: | Where exactly is this new directory? Is it a local disk, or an NFS one? The filesystem is on the 2nd SCSI drive. If I mount a partition from sda, say sda7, it works. If I mount sdb1 it fails. Permissions are all fine, or at least the same on the working and non-working versions. I tried building another system which does this and it works fine. I have a bag of 40MB SCSI drives pulled out of Macs when sys7 came out. Something very subtle here... -- TMR Associates, Inc +1 518 370-5654 | It's not how many you HIT that counts We do SCO and Linux, V.4 on Intel, C, | but how many you MISSED sysadmin, internet gateways, device |_________ davidsen@tmr.com ___________ drivers, Email, and "UNIX stuff". Also project reviews and hand holding.
Re: 1.1.59 or 1.1.85 INN with spool mounted?
Author: John Pearson
Date: Thu, 16 Feb 1995 04:44
Date: Thu, 16 Feb 1995 04:44
39 lines
2784 bytes
2784 bytes
davidsen@sixhub.tmr.com (Bill Davidsen) writes:
>One last time before I have to convert to another o/s and news system. I
>have Slackware 2.1 and am trying to get a simple news server up with the
>/var/spool/news on another device. When I run /var/spool/news as part of
>/var it works fine, so I believe that I have everything set up correctly
>(this machine has been up for some time).
[ details deleted ]
>I am about to give up and install SCO on this machine, and leave
>debugging from source for someone else, unless someone has a clue to
>share on what could be happening here. It looks like the space is not
>being checked right, but why it would care if the partition was on one
>drive or another???
I don't use INN, I use C-news; however, I had a similar experience,
which might be related. I was trying to inject articles into a
newsspool which was mounted via nfs, and a utility program supplied
with c-news ("dospacefor") would check the spool directory for free
space and free inodes, using df. df does not report free inodes for
nfs volumes: if asked, it will report 0's across the board, and dospacefor
returns 0 space free. I produced my own hacked version of dospacefor
which didn't bother checking inodes, and everything started working better.
>I can think of lots of things to do wrong in a news install, but not why
>moving articles from one device to another would change anything.
>--
hope this helps, & it's in time to check before you give up..
John Pearson
--
my life is a dance on the edge de l abime =^\_/^\ | Most men are bad - Bias
and i am the singer you d love to slam /<@> <o>\ | He that is down can
who murders the midnight anonyme { | }| fall no lower. - Butler
for i am a cat of the devil i am \__/-\__/ <----- mehitabel ----<<<<
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