Thread View: news.software.nntp
27 messages
27 total messages
Started by Avon
Tue, 02 Jun 2015 09:57
Setting up INN
Author: Avon
Date: Tue, 02 Jun 2015 09:57
Date: Tue, 02 Jun 2015 09:57
22 lines
1847 bytes
1847 bytes
Hi all,
I'm just starting down the path of setting up INN on an Ubuntu box. I have
always wanted to set up and run a news server (just text groups) for fun and
learning. I have installed the INN2 package from the Ubuntu repository and am
currently working through the config files.
If there are a few folks still about in this newsgroup, I hope to be able to
tap in to your collective INN wisdom as I continue to set things up and tweak
settings further.
My hope is to be able to get a well configured server up and running so as to
be able to demonstrate to services such as aioe and eternal-september that
peering with it is acceptable.
Cheers, Paul
--
Agency BBS, New Zealand | bbs.geek.nz | telnet: agency.bbs.geek.nz:23
Re: Setting up INN
Author: Tim Skirvin
Date: Tue, 02 Jun 2015 17:05
Date: Tue, 02 Jun 2015 17:05
23 lines
2693 bytes
2693 bytes
removemefirst.Avon@f100.n770.z3.fidonet.org (Avon) writes:
> I'm just starting down the path of setting up INN on an Ubuntu box. I have
> always wanted to set up and run a news server (just text groups) for fun and
> learning. I have installed the INN2 package from the Ubuntu repository and am
> currently working through the config files.
> If there are a few folks still about in this newsgroup, I hope to be able to
> tap in to your collective INN wisdom as I continue to set things up and tweak
> settings further.
https://forge.puppetlabs.com/tskirvin/usenet_inn2
If you're interested, that may help you out in actually
maintaining the files. There's some documentation there on how some of
the config files work together, too.
- Tim Skirvin (tskirvin@killfile.org)
--
http://wiki.killfile.org/ Skirv's Homepage <FISH>< <*>
https://keybase.io/tskirvin Skirv's Encryption Keys
Re: Setting up INN
Author: Avon
Date: Tue, 02 Jun 2015 21:03
Date: Tue, 02 Jun 2015 21:03
20 lines
1726 bytes
1726 bytes
On 06/02/15, Tim Skirvin pondered and said...
TS> https://forge.puppetlabs.com/tskirvin/usenet_inn2
TS>
TS> If you're interested, that may help you out in actually
TS> maintaining the files. There's some documentation there on how some of
TS> the config files work together, too.
Thanks Tim, I'll head there and take a look.
Stuck at home with a nasty head cold today so good to keep the brain active
with something fun ;)
Best, Paul
--
Agency BBS, New Zealand | bbs.geek.nz | telnet: agency.bbs.geek.nz:23
Re: Setting up INN
Author: yamo'
Date: Tue, 02 Jun 2015 21:13
Date: Tue, 02 Jun 2015 21:13
17 lines
1698 bytes
1698 bytes
Hi, removemefirst.Avon@f100.n770.z3.fidonet.org (Avon) a écrit le 02/06/2015 11:57 : > I'm just starting down the path of setting up INN on an Ubuntu box. I have > always wanted to set up and run a news server (just text groups) for fun and > learning. I have installed the INN2 package from the Ubuntu repository and am > currently working through the config files. A simple documentation in french : <http://usenet-fr.redatomik.org/view/Installer_et_configurer_un_serveur_de_nouvelles> -- Stéphane
Re: Setting up INN
Author: Avon
Date: Mon, 08 Jun 2015 09:37
Date: Mon, 08 Jun 2015 09:37
54 lines
2948 bytes
2948 bytes
On Tue, 02 Jun 2015 12:05:40 -0500, Tim Skirvin wrote: > > https://forge.puppetlabs.com/tskirvin/usenet_inn2 > > If you're interested, that may help you out in actually > maintaining the files. There's some documentation there on how some of > the config files work together, too. Hi Tim and thanks for the reply :) I'm slowly working my way though INN2 trying to set things up correctly and methodically as I go. Running Ubuntu 14.04 LTS 64 bit. 500 gig drive with the OS on it and a 1TB drive set aside just for the news spool. I'm not a regular user of linux but learning fast and loving using it. I'm trying to figure out how best to point /var/spool/news to use the 1TB drive. It's a mount point thing I think but not that ofait with how to set etc. Hmm... I do have my head around quite a few of the INN2 config files but am unsure as to the best settings to run with for storage and use of CNFS. I figure despite only planning to carry text only newsgroups it would be best practice (and easier on the server load?) to run with CNFS? I'd like to carry the *.nz groups (where I live) as tradspool but am unsure which other text groups/hierarchies would be best to keep as tradspool vs using CNFS? Your thoughts are most welcome! It seems there's a 2 gig limit on the size of cycbuff's created? I have a hunch the apt-get I ran to install INN2 on my Ubuntu box may have installed a version that only supports the file size? I'm unsure. Can you (or others reading) kindly share some thoughts as to some default set of configurations for cycbuff and storage.conf that would be a starting point for me given I wish to carry just the big 8? Once I have storage configured and sorted I hope to then move on to setting up cleanfeed. I also need to suss out the mail option INN2 will use as the Ubuntu install for INN2 seemed to install Postfix and not sendmail. Regards from New Zealand Paul
Re: Setting up INN
Author: Bruce Esquibel
Date: Mon, 08 Jun 2015 12:17
Date: Mon, 08 Jun 2015 12:17
72 lines
4003 bytes
4003 bytes
Avon <avon@bbs.geek.nz.invalid> wrote: > I'm trying to figure out how best to point /var/spool/news to use the 1TB > drive. It's a mount point thing I think but not that ofait with how to > set etc. Hmm... > I do have my head around quite a few of the INN2 config files but am > unsure as to the best settings to run with for storage and use of CNFS. > I figure despite only planning to carry text only newsgroups it would be > best practice (and easier on the server load?) to run with CNFS? I think the CNFS is the best one to use of all the options (from what I can remember), besides the speed with storing articles compared to the others, it also is much less of a headache dealing with expiring articles. But the one thing I want to point out, even if you use the original method (tradspool?), where all the articles are posted as text files under /var/spool/news, I think these days there isn't much to worry about with speed. I carry most of the english language news groups including alt.*, non-binary of course, and the traffic volume is only around 100 megs a day. It's rare that there are more than 30,000 posts in a 24 hour period so that is only an average of 1 post every 3 seconds. Take a look here for some stats: http://nntp.ripco.com My big spool is only 22GB and probably is around 5 months of articles, your 1TB of storage is good for years before you have to worry about expiring anything. > It seems there's a 2 gig limit on the size of cycbuff's created? I have a > hunch the apt-get I ran to install INN2 on my Ubuntu box may have > installed a version that only supports the file size? I'm unsure. Again from faulty memory, I think the 2GB limit on cycbuffs is a limitation of the operating system, 32bit file systems are limited to that, 64bit ones is some nose-bleed number. The real problem is if the drive can be a raw device (I think) and communicated to as such. Under Solaris, it was a peice of cake to configure but since Linux these days is getting dumbed down to an alternate to Windows, it might be "helping too much" when the drive is formatted and giving any options to do otherwise is limited to the command line. I'm sure there is some way to do it, it might just take some trial and error to get it working. But I'd really try running the box using the tradspool and overview index crap, with 100mb a day, it's 10 days to 1GB and you have 1000 of those so that is around 27 years before you have to worry about expire thrashing the box. God that doesn't seem right but I've done the math a half dozen times. Wow did I miss the film at 11? > Can you (or others reading) kindly share some thoughts as to some default > set of configurations for cycbuff and storage.conf that would be a > starting point for me given I wish to carry just the big 8? Heh, just the Big 8 without alt.*, with 1TB of storage, you better have that box in your will for the grand children. -bruce bje@ripco.com
Re: Setting up INN
Author: Tim Skirvin
Date: Mon, 08 Jun 2015 16:26
Date: Mon, 08 Jun 2015 16:26
80 lines
4714 bytes
4714 bytes
Avon <avon@bbs.geek.nz.invalid> writes:
> I'm trying to figure out how best to point /var/spool/news to use the 1TB
> drive. It's a mount point thing I think but not that ofait with how to
> set etc. Hmm...
That's a *lot* of text. I only set aside a ~12GB partition for my
news lately - Big-8, alt.*, and some private groups - and it's been plenty
enough for my browsing. I'm sure that upping expiration times would be
nice but, well, it hasn't come up.
(I went with only 12GB because it's on a cloud system, if you're
curious.)
> I'd like to carry the *.nz groups (where I live) as tradspool but am
> unsure which other text groups/hierarchies would be best to keep as
> tradspool vs using CNFS? Your thoughts are most welcome!
I've been doing cnfs for anything with even mildly high volume, and
it works well for me. timecaf and friends are good if you want smaller
things that don't auto-expire.
> Can you (or others reading) kindly share some thoughts as to some default
> set of configurations for cycbuff and storage.conf that would be a
> starting point for me given I wish to carry just the big 8?
My storage.conf:
# big8
method cnfs {
class: 1
newsgroups: comp.*,humanities.*,misc.*,news.*,rec.*,sci.*,soc.*,talk.*
options: BIG8
}
# alt
method cnfs {
class: 2
newsgroups: alt.*
options: ALT
}
# catchall
method timecaf {
class: 255
newsgroups: *
}
And my cycbuff.conf:
cycbuff:A01:/var/lib/news/cycbuffs/A01:100000
cycbuff:A02:/var/lib/news/cycbuffs/A02:100000
cycbuff:A03:/var/lib/news/cycbuffs/A03:100000
cycbuff:A04:/var/lib/news/cycbuffs/A04:1000000
cycbuff:A05:/var/lib/news/cycbuffs/A05:1000000
cycbuff:B01:/var/lib/news/cycbuffs/B01:1000000
cycbuff:B02:/var/lib/news/cycbuffs/B02:1000000
cycbuff:B03:/var/lib/news/cycbuffs/B03:1000000
cycbuff:B04:/var/lib/news/cycbuffs/B04:1000000
cycbuff:B05:/var/lib/news/cycbuffs/B05:1000000
metacycbuff:ALT:A01,A02,A03,A04,A05
metacycbuff:BIG8:B01,B02,B03,B04,B05
The different sizes are historical.
> Once I have storage configured and sorted I hope to then move on to
> setting up cleanfeed. I also need to suss out the mail option INN2 will
> use as the Ubuntu install for INN2 seemed to install Postfix and not
> sendmail.
My Debian box that runs INN2 is using postfix without problems.
There's a sendmail compatibility binary in there somewhere, so INN2
doesn't know or care that something is different under the covers.
- Tim Skirvin (tskirvin@killfile.org)
--
http://wiki.killfile.org/ Skirv's Homepage <FISH>< <*>
https://keybase.io/tskirvin Skirv's Encryption Keys
Re: Setting up INN
Author: Julien ÉLIE
Date: Mon, 08 Jun 2015 17:26
Date: Mon, 08 Jun 2015 17:26
104 lines
4644 bytes
4644 bytes
Hi Avon,
> I figure despite only planning to carry text only newsgroups it would be
> best practice (and easier on the server load?) to run with CNFS?
> I'd like to carry the *.nz groups (where I live) as tradspool but am
> unsure which other text groups/hierarchies would be best to keep as
> tradspool vs using CNFS? Your thoughts are most welcome!
Pros and cons of the storage methods are summarized here:
http://www.eyrie.org/~eagle/software/inn/docs/install.html#S6
I use tradspool for local hierarchies (carried only by the local news server) and control.* (more convenient).
> It seems there's a 2 gig limit on the size of cycbuff's created? I have a
> hunch the apt-get I ran to install INN2 on my Ubuntu box may have
> installed a version that only supports the file size? I'm unsure.
If you build INN with LFS (large-file support), this limitation no longer exists. I strongly recommend you to use a version of INN that supports LFS.
See in the documentation:
http://www.eyrie.org/~eagle/software/inn/docs/cycbuff.conf.html
"Note that in order to use any cycbuff larger than 2 GB, you need to build INN with the --enable-largefiles option."
The latest version of INN packaged in Debian supports LFS so I believe it is the same thing for Ubuntu!
> Can you (or others reading) kindly share some thoughts as to some default
> set of configurations for cycbuff and storage.conf that would be a
> starting point for me given I wish to carry just the big 8?
My storage.conf file is;
method tradspool {
newsgroups: "control.*,trigofacile.*"
class: 0
}
method timehash {
newsgroups: "france.*,news.*"
class: 1
}
method timecaf {
newsgroups: "microsoft.*"
class: 2
}
method cnfs {
newsgroups: "fr.*"
class: 3
options: FR
}
method cnfs {
newsgroups: *
class: 10
options: AUTRE
}
Well, you can exclude control.cancel from tradspool if you wish. This way, you would only keep control articles that create, remove or list newsgroups.
I use separate CNFS buffers for fr.* (as I live in France) and other hierarchies.
I suggest that you do not care about timehash and timecaf and just use tradspool and cnfs. (I only keep timehash and timecaf for testing purposes.)
And my cycbuff.conf file:
cycbuff:FR1:/home/news/spool/cycbuffs/frcnfs:1572864
cycbuff:FR2:/home/news/spool/cycbuffs/frcnfs2:1572864
cycbuff:FR3:/home/news/spool/cycbuffs/frcnfs3:1572864
cycbuff:FR4:/home/news/spool/cycbuffs/frcnfs4:1572864
cycbuff:AUTRE1:/home/news/spool/cycbuffs/autrecnfs:1572864
metacycbuff:FR:FR1,FR2,FR3,FR4:SEQUENTIAL
metacycbuff:AUTRE:AUTRE1:SEQUENTIAL
CNFS buffer status:
Buffer Class Size Used %Used Cycles KB/sec Days
AUTRE1 AUTRE 1.5 GB 1.2 GB 77.9% 1 0.05 395.09
FR1 FR 1.5 GB 399.4 KB 0.0% 3 0.00 0.00
FR2 FR 1.5 GB 399.4 KB 0.0% 3 0.00 0.00
FR3 FR 1.5 GB 399.4 KB 0.0% 3 0.00 0.00
FR4 FR 1.5 GB 202.3 MB 13.2% 2 0.04 449.39
TOTAL: 5 - 7.5 GB 1.4 GB 18.2% 12 0.04 -
--
Julien ÉLIE
« Ce n'est pas en tournant le dos aux choses qu'on leur fait face. »
(Pierre Dac)
Re: Setting up INN
Author: Avon
Date: Tue, 09 Jun 2015 08:23
Date: Tue, 09 Jun 2015 08:23
38 lines
2129 bytes
2129 bytes
On Mon, 08 Jun 2015 11:26:55 -0500, Tim Skirvin wrote: > > That's a *lot* of text. I only set aside a ~12GB partition for > my > news lately - Big-8, alt.*, and some private groups - and it's been > plenty enough for my browsing. I'm sure that upping expiration times > would be nice but, well, it hasn't come up. Good to know. I just had it in my head that I would need a lot of storage as it was Usenet I was looking to get in to. It may well be a bit of overkill, still at least I have a lot of space to use and the price of HDDs has dropped a lot in recent years. > > My storage.conf: [snip] Thanks for this. I'm studying it along with the other examples kindly provided by Julien and Bruce. > > My Debian box that runs INN2 is using postfix without problems. > There's a sendmail compatibility binary in there somewhere, so INN2 > doesn't know or care that something is different under the covers. Yep that sounds good. I'll just get the storage sorted first then worry about this bit. Best, Paul
Re: Setting up INN
Author: Avon
Date: Tue, 09 Jun 2015 08:49
Date: Tue, 09 Jun 2015 08:49
49 lines
2336 bytes
2336 bytes
On Mon, 08 Jun 2015 19:26:47 +0200, Julien ÉLIE wrote: > Hi Avon, > > Pros and cons of the storage methods are summarized here: > http://www.eyrie.org/~eagle/software/inn/docs/install.html#S6 > > I use tradspool for local hierarchies (carried only by the local news > server) and control.* (more convenient). > Yes thanks, I read over those. It seems most folks are using either tradspool or CNFS but few I've come across so far are using the other variants. > > If you build INN with LFS (large-file support), this limitation no > longer exists. I strongly recommend you to use a version of INN that > supports LFS. > > See in the documentation: > http://www.eyrie.org/~eagle/software/inn/docs/cycbuff.conf.html > > "Note that in order to use any cycbuff larger than 2 GB, you need to > build INN with the --enable-largefiles option." > > The latest version of INN packaged in Debian supports LFS so I believe > it is the same thing for Ubuntu! I hope so, I just did the sudo apt-get for the inn2 package so have not 'built' anything that has been installed on the box. I wonder if there's any way short of testing it as to tell what it can / can not support? > > My storage.conf file is; > [snip] Thanks for sharing :) Best, Paul
Re: Setting up INN
Author: Avon
Date: Tue, 09 Jun 2015 09:01
Date: Tue, 09 Jun 2015 09:01
84 lines
4454 bytes
4454 bytes
On Mon, 08 Jun 2015 12:17:41 +0000, Bruce Esquibel wrote: > I think the CNFS is the best one to use of all the options (from what I > can remember), besides the speed with storing articles compared to the > others, it also is much less of a headache dealing with expiring > articles. Ok thanks for those thoughts Bruce. > > But the one thing I want to point out, even if you use the original > method (tradspool?), where all the articles are posted as text files > under /var/spool/news, I think these days there isn't much to worry > about with speed. I've pointed my inn.conf to /media/paul/storage/spool/news then created a news folder and the children that were in the original /var/spool/news folder. I also made sure the permission were news:news for the those folders. > > I carry most of the english language news groups including alt.*, > non-binary of course, and the traffic volume is only around 100 megs a > day. It's rare that there are more than 30,000 posts in a 24 hour period > so that is only an average of 1 post every 3 seconds. > Take a look here for some stats: > > http://nntp.ripco.com > > My big spool is only 22GB and probably is around 5 months of articles, > your 1TB of storage is good for years before you have to worry about > expiring anything. Now that is interesting, I guess it's going to be trial and error. You also have me wondering now what I should set my expire setting to. Seems like 15 days is waaay to small. So you set yours for 150 days or similar? > >> It seems there's a 2 gig limit on the size of cycbuff's created? I have >> a hunch the apt-get I ran to install INN2 on my Ubuntu box may have >> installed a version that only supports the file size? I'm unsure. > > Again from faulty memory, I think the 2GB limit on cycbuffs is a > limitation of the operating system, 32bit file systems are limited to > that, 64bit ones is some nose-bleed number. > Well this is a 64bit box so fingers crossed. > The real problem is if the drive can be a raw device (I think) and > communicated to as such. Under Solaris, it was a peice of cake to > configure but since Linux these days is getting dumbed down to an > alternate to Windows, it might be "helping too much" when the drive is > formatted and giving any options to do otherwise is limited to the > command line. > > I'm sure there is some way to do it, it might just take some trial and > error to get it working. > > But I'd really try running the box using the tradspool and overview > index crap, with 100mb a day, it's 10 days to 1GB and you have 1000 of > those so that is around 27 years before you have to worry about expire > thrashing the box. Perhaps I will, I just worried that with a huge number of files being created on the box for all the messages and newsgroups using tradspool I would be setting the HDD for major wear and tear / potential of increased failure? Probably over thinking this :) > God that doesn't seem right but I've done the math a half dozen times. > Wow did I miss the film at 11? I'll trust your maths as mine has never been that flash :) > Heh, just the Big 8 without alt.*, with 1TB of storage, you better have > that box in your will for the grand children. Ha! Good thinking batman... I am going to grab the *.alt non binary groups also, that seems like a good idea. Best, Paul
Re: Setting up INN
Author: Bruce Esquibel
Date: Tue, 09 Jun 2015 12:55
Date: Tue, 09 Jun 2015 12:55
83 lines
5092 bytes
5092 bytes
Avon <avon@bbs.geek.nz.invalid> wrote: > Now that is interesting, I guess it's going to be trial and error. You > also have me wondering now what I should set my expire setting to. Seems > like 15 days is waaay to small. So you set yours for 150 days or similar? No, using CNFS you really don't have to set any expiration data at all. You are creating a buffer (a large block which data is being written to), when the buffer gets full, it'll just go back to the beginning and overwrite the old articles. The problem (if you want to call it that) with CNFS is how big to make each buffer (and how many to make), you sort of have to use a crystal ball. But using a 1TB drive, you can be fairly sloppy and not worry about it. For example: CNFS buffer status: Buffer Class Size Used %Used Cycles KB/sec Days ONE CHIAREA 979.0 MB 653.9 MB 66.8% 0 0.02 679.86 TWO BIGAREA 22.1 GB 520.9 MB 2.3% 25 1.24 216.46 I only have two buffers, the one called ONE is for the local Chicago groups (chi.*), I gave it about 1GB but after 7 or 8 years (I forgot when the box was created in it's current form), it only used about 67% of that and never recycled the buffer. Thus I have articles going back to 2006 or 2007 in there. The other buffer (TWO) is for everything else that isn't chi.*. Notice with that one, it's been recycled 25 times in the same amount of time and at any given time, has about the last 5-6 months of articles. So what I'm saying is, the buffer size determines the article expiration. In your case, giving a 1TB full spool, you really don't have anything to worry about for decades, no matter what you decide to do. I really doubt there is going to be any difference between using one big buffer or dozens of smaller ones anymore. Remember all this stuff goes back to days past where there was a juggling act trying to keep news in certain groups around as long as possible and others shorter, based on popularity and reader tastes. Factoring into that was small hard drives, compared to today. I remember one Frankenstein box I put together only having like six 1GB drives in it (max for SCSI-1) and some groups still had to have a 1 day expire because of volume. There were terms and expressions you'll never hear anymore like "running an emergency expire", meaning you had to run the expire outside of it's normal cron job at midnight or whenever and "throwing out news" which goes back to pre-INN days (running cnews) where incoming articles were batched into that spool/incoming directory first. That usually meant the box was so far behind in processing batches, was better to delete them and hope the articles dumped would float back later. One more bit of ancient history, there used to be scripts for dynamic expiration. One part of the script would search the users home directories for the .newsrc file, read it and figure out what groups were being read and how often (remember at one time usenet was read via shell, not over nntp) then set the expire control to the results. Groups that had no subscribers were set to 0 day, ones that had a few readers, maybe a week, popular ones were given as much as possible. Even then, holding news for more than 30-45 days was considered a good job unless you had unlimited hardware resources at your fingertips. With todays current usenet trends and hardware availability, none of this is a problem anymore. I'd just say to go for it, get the box going however is the easiest way (even using tradspool), get your feeds up and see what is going on later. It's just not as resource intensive or complicated as it was in the past. Heh, keep this in mind, even if you set it up the crappiest way possible and decide to re-do the whole thing in six months, you can copy the whole news spool over to a 32GB thumb drive, reconfigure the box and reload it back. Nothing to lose really. -bruce bje@ripco.com
Re: Setting up INN
Author: Julien ÉLIE
Date: Tue, 09 Jun 2015 20:03
Date: Tue, 09 Jun 2015 20:03
26 lines
2257 bytes
2257 bytes
Hi Paul,
>> The latest version of INN packaged in Debian supports LFS so I believe
>> it is the same thing for Ubuntu!
>
> I hope so, I just did the sudo apt-get for the inn2 package so have not
> 'built' anything that has been installed on the box. I wonder if there's
> any way short of testing it as to tell what it can / can not support?
You said that you are running Ubuntu 14.04 LTS 64 bit. As far as I see
in packages.ubuntu.com, this version is named "trusty" and ships INN
2.5.3. You should therefore use the inn2-lfs package with this version,
and *not* the inn2 package.
Note that Ubuntu 14.10 ("utopic") and 15.04 ("vivid") both ship INN
2.5.4 that is built only with large-file support. The inn2-lfs package
is a transitional dummy one on these versions. It points to inn2 (built
with LFS).
--
Julien ÉLIE
« Ce n'est pas en tournant le dos aux choses qu'on leur fait face. »
(Pierre Dac)
Re: Setting up INN
Author: Avon
Date: Wed, 10 Jun 2015 08:53
Date: Wed, 10 Jun 2015 08:53
26 lines
1815 bytes
1815 bytes
On Tue, 09 Jun 2015 22:03:50 +0200, Julien ÉLIE wrote:
Hi Julien
> You said that you are running Ubuntu 14.04 LTS 64 bit. As far as I see
> in packages.ubuntu.com, this version is named "trusty" and ships INN
> 2.5.3. You should therefore use the inn2-lfs package with this version,
> and *not* the inn2 package.
>
> Note that Ubuntu 14.10 ("utopic") and 15.04 ("vivid") both ship INN
> 2.5.4 that is built only with large-file support. The inn2-lfs package
> is a transitional dummy one on these versions. It points to inn2 (built
> with LFS).
Ahh. Thanks. I have wiped my HDD and re-installed Ubuntu 14.04 LTS 64 and
am about to try and set up inns-lfs
Thanks for the tip!
Best, Paul
Re: Setting up INN
Author: Avon
Date: Wed, 10 Jun 2015 08:58
Date: Wed, 10 Jun 2015 08:58
33 lines
2319 bytes
2319 bytes
On Wed, 10 Jun 2015 08:53:42 +0000, Avon wrote:
> Ahh. Thanks. I have wiped my HDD and re-installed Ubuntu 14.04 LTS 64
> and am about to try and set up inns-lfs
Nope.. hit a snag
paul@agencynews:~$ sudo apt-get install inn2-lfs
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
inn2-lfs:i386 : Depends: libperl5.18:i386 (>= 5.18.2) but it is not
going to be installed
Depends: cron:i386 but it is not going to be installed
Depends: time:i386 but it is not going to be installed
Depends: perl:i386 but it is not going to be installed
Depends: perlapi-5.18.2:i386
Depends: libmime-tools-perl:i386 but it is not
installable
E: Unable to correct problems, you have held broken packages.
Re: Setting up INN
Author: Richard Kettlewell
Date: Wed, 10 Jun 2015 09:09
Date: Wed, 10 Jun 2015 09:09
18 lines
2140 bytes
2140 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> writes: > You said that you are running Ubuntu 14.04 LTS 64 bit. As far as I > see in packages.ubuntu.com, this version is named "trusty" and ships > INN 2.5.3. You should therefore use the inn2-lfs package with this > version, and *not* the inn2 package. I don’t understand this advice. The inn2/inn2-lfs distinction only makes sense on 32-bit platforms, and the inn2-lfs package therefore does not exist on 64-bit platforms. A multiarch-capable system may nevertheless attempt to install the 32-bit version on a 64-bit platform, but this is not a remotely good idea! -- http://www.greenend.org.uk/rjk/
Re: Setting up INN
Author: Richard Kettlewell
Date: Wed, 10 Jun 2015 09:10
Date: Wed, 10 Jun 2015 09:10
35 lines
2950 bytes
2950 bytes
Avon <avon@bbs.geek.nz.invalid> writes: > On Wed, 10 Jun 2015 08:53:42 +0000, Avon wrote: >> Ahh. Thanks. I have wiped my HDD and re-installed Ubuntu 14.04 LTS 64 >> and am about to try and set up inns-lfs > > Nope.. hit a snag > > paul@agencynews:~$ sudo apt-get install inn2-lfs > Reading package lists... Done > Building dependency tree > Reading state information... Done > Some packages could not be installed. This may mean that you have > requested an impossible situation or if you are using the unstable > distribution that some required packages have not yet been created > or been moved out of Incoming. > The following information may help to resolve the situation: > > The following packages have unmet dependencies: > inn2-lfs:i386 : Depends: libperl5.18:i386 (>= 5.18.2) but it is not > going to be installed > Depends: cron:i386 but it is not going to be installed > Depends: time:i386 but it is not going to be installed > Depends: perl:i386 but it is not going to be installed > Depends: perlapi-5.18.2:i386 > Depends: libmime-tools-perl:i386 but it is not > installable > E: Unable to correct problems, you have held broken packages. You’ve tried to install the 32-bit inn2-lfs package on a 64-bit system. Use the (64-bit) inn2 package. -- http://www.greenend.org.uk/rjk/
Re: Setting up INN
Author: Avon
Date: Wed, 10 Jun 2015 09:16
Date: Wed, 10 Jun 2015 09:16
15 lines
1678 bytes
1678 bytes
On Wed, 10 Jun 2015 10:10:29 +0100, Richard Kettlewell wrote: > You’ve tried to install the 32-bit inn2-lfs package on a 64-bit system. > Use the (64-bit) inn2 package. I'm starting to wonder if I should just install the inn2 package I (mostly succesfully) installed before? I'm a relative new comer to linux so unsure how to obtain the 64 bit version of inn2-lfs you speak of. Thanks for the advice though, and hello :) Best, Paul
Re: Setting up INN
Author: Richard Kettlewell
Date: Wed, 10 Jun 2015 09:32
Date: Wed, 10 Jun 2015 09:32
16 lines
2154 bytes
2154 bytes
Avon <avon@bbs.geek.nz.invalid> writes: > On Wed, 10 Jun 2015 10:10:29 +0100, Richard Kettlewell wrote: >> You’ve tried to install the 32-bit inn2-lfs package on a 64-bit system. >> Use the (64-bit) inn2 package. > > I'm starting to wonder if I should just install the inn2 package I > (mostly succesfully) installed before? I'm a relative new comer to > linux so unsure how to obtain the 64 bit version of inn2-lfs you speak > of. I didn’t speak of a 64-bit inn2-lfs. -- http://www.greenend.org.uk/rjk/
Re: Setting up INN
Author: Avon
Date: Wed, 10 Jun 2015 09:44
Date: Wed, 10 Jun 2015 09:44
8 lines
1483 bytes
1483 bytes
On Wed, 10 Jun 2015 10:32:48 +0100, Richard Kettlewell wrote: > I didn’t speak of a 64-bit inn2-lfs. Gotcha... ok, installing what I had in the first place.
Re: Setting up INN
Author: Julien ÉLIE
Date: Wed, 10 Jun 2015 19:49
Date: Wed, 10 Jun 2015 19:49
30 lines
2629 bytes
2629 bytes
Hi Richard, >> You said that you are running Ubuntu 14.04 LTS 64 bit. As far as I >> see in packages.ubuntu.com, this version is named "trusty" and ships >> INN 2.5.3. You should therefore use the inn2-lfs package with this >> version, and *not* the inn2 package. > > I don’t understand this advice. The inn2/inn2-lfs distinction only > makes sense on 32-bit platforms, and the inn2-lfs package therefore does > not exist on 64-bit platforms. As far as I understand, not explicitly using the "--enable-largefiles" (that is to say not using inn2-lfs on that version of Ubuntu) will cause an issue because INN links with libperl that is LFS-aware. If you have a look at m4/perl.m4, you will see that the flags -D_LARGEFILE_SOURCE, -D_FILE_OFFSET_BITS=64 and -D_LARGE_FILES are explicitly *removed*, even on 64-bit platforms. Besides, the fseeko and ftello replacements will use long instead of off_t. I think Ubuntu already has these functions so it should not be an issue for that system (but might be for other systems). -- Julien ÉLIE « – Chef ! On vient ! – On se met en carré ? – Non ! En bosquet ! » (Astérix)
Re: Setting up INN
Author: Richard Kettlewell
Date: Wed, 10 Jun 2015 20:32
Date: Wed, 10 Jun 2015 20:32
26 lines
2637 bytes
2637 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> writes: > Hi Richard, > >>> You said that you are running Ubuntu 14.04 LTS 64 bit. As far as I >>> see in packages.ubuntu.com, this version is named "trusty" and ships >>> INN 2.5.3. You should therefore use the inn2-lfs package with this >>> version, and *not* the inn2 package. >> >> I don’t understand this advice. The inn2/inn2-lfs distinction only >> makes sense on 32-bit platforms, and the inn2-lfs package therefore does >> not exist on 64-bit platforms. > > As far as I understand, not explicitly using the "--enable-largefiles" > (that is to say not using inn2-lfs on that version of Ubuntu) will > cause an issue because INN links with libperl that is LFS-aware. > If you have a look at m4/perl.m4, you will see that the flags > -D_LARGEFILE_SOURCE, -D_FILE_OFFSET_BITS=64 and -D_LARGE_FILES are > explicitly *removed*, even on 64-bit platforms. There’s no such concept as “LFS-aware” on 64-bit platforms, since off_t is always 64 bits. -- http://www.greenend.org.uk/rjk/
Re: Setting up INN
Author: Russ Allbery
Date: Thu, 11 Jun 2015 02:57
Date: Thu, 11 Jun 2015 02:57
27 lines
2321 bytes
2321 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> writes:
> As far as I understand, not explicitly using the "--enable-largefiles"
> (that is to say not using inn2-lfs on that version of Ubuntu) will cause
> an issue because INN links with libperl that is LFS-aware. If you have
> a look at m4/perl.m4, you will see that the flags -D_LARGEFILE_SOURCE,
> -D_FILE_OFFSET_BITS=64 and -D_LARGE_FILES are explicitly *removed*, even
> on 64-bit platforms.
--enable-largefiles and those flags are only a thing on 32-bit platforms
and some very rare 64-bit platforms that aren't Linux.
On Linux, the 64-bit ABI has always supported large files, and all of
those flags are meaningless and ignored.
> Besides, the fseeko and ftello replacements will use long instead of
> off_t.
This is fine; long is 64 bits on 64-bit Linux, as is off_t.
--
Russ Allbery (eagle@eyrie.org) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Setting up INN
Author: Julien ÉLIE
Date: Thu, 11 Jun 2015 17:29
Date: Thu, 11 Jun 2015 17:29
20 lines
2075 bytes
2075 bytes
Hi Richard, >>> I don’t understand this advice. The inn2/inn2-lfs distinction only >>> makes sense on 32-bit platforms, and the inn2-lfs package therefore does >>> not exist on 64-bit platforms. > > There’s no such concept as “LFS-aware” on 64-bit platforms, since off_t > is always 64 bits. All right, sorry for the confusion. Thanks to your and Russ for your clarification. -- Julien ÉLIE « – Chef ! On vient ! – On se met en carré ? – Non ! En bosquet ! » (Astérix)
Re: Setting up INN
Author: Avon
Date: Fri, 12 Jun 2015 00:02
Date: Fri, 12 Jun 2015 00:02
103 lines
3566 bytes
3566 bytes
On Mon, 08 Jun 2015 11:26:55 -0500, Tim Skirvin wrote:
Hi Tim,
> And my cycbuff.conf:
>
> cycbuff:A01:/var/lib/news/cycbuffs/A01:100000
> cycbuff:A02:/var/lib/news/cycbuffs/A02:100000
What ownership / permissions do you assign to the cycbuffs dir?
Is it news:news ?
My install of INN2 is on a 500 gig drive where the os also sits and
default the paths is in inn.conf point to paths on that drive.
I want to place most of my news storage on the 1TB drive that is listed
as /media/paul/storage
I have created a folder in there called news and a sub folder called
cycbuffs. They are owned by user news and part of group news.
My lightbulb moment came when I realised if I used cycbuff for most of my
storage I could just set the path in cycbuff.conf (correct?) and not
worry about setting a symbolic link to my /media/paul/storage/news folder
in the /var/spool/news folder if i wanted to use the 1TB drive for
tradspool.
So I'm thinking something like the following in cycbuff.conf
cycbuff:BUFF01:/media/paul/storage/news/cycbuffs/buff01:52428800
cycbuff:BUFF02:/media/paul/storage/news/cycbuffs/buff02:52428800
cycbuff:BUFF03:/media/paul/storage/news/cycbuffs/buff03:52428800
etc..
[snip]
metacycbuff:BIG8:BUFF01:BUFF02:BUFF03:SEQUENTIAL
etc.
[snip]
And for my storage.conf something like
## big8
method cnfs {
class: 1
newsgroups: comp.*,humanities.*,misc.*,news.*,rec.*,sci.*,soc.*,talk.*
options: BIG8
}
## alt
method cnfs {
class: 2
newsgroups: alt.*
options: ALT
}
## binaries + cancel.control
method cnfs {
class: 3
newsgroups: *.bina*,*.bain*,*.dateien*,*.pictures*,*.bina*,control.cancel
options: BIN
}
## nz + control messages (excluding cancel's)
method tradspool {
class: 4
newsgroups: nz.*,control.*
}
## catchall
method cnfs {
class: 255
newsgroups: *
options: CTCALL
}
I have created the BIN cnfs area for future redundancy should i end up
carrying any binaries and I figure the control.cancel can go there as
well due to the volume of these I understand come in?
I figure using the tradspool for my local New Zealand groups and other
control messages would be
1. good to see how tradspool looks / works vs cnfs
2. hopefully a better education into the way control messages flow around
usenet (asides the cancel messages)
For those folks that have been helping me, have I got the syntax correct
in the above?
Best, Paul
Re: Setting up INN
Author: Bruce Esquibel
Date: Fri, 12 Jun 2015 12:33
Date: Fri, 12 Jun 2015 12:33
54 lines
2648 bytes
2648 bytes
Avon <avon@bbs.geek.nz.invalid> wrote:
>> And my cycbuff.conf:
>>
>> cycbuff:A01:/var/lib/news/cycbuffs/A01:100000
>> cycbuff:A02:/var/lib/news/cycbuffs/A02:100000
> cycbuff:BUFF01:/media/paul/storage/news/cycbuffs/buff01:52428800
> cycbuff:BUFF02:/media/paul/storage/news/cycbuffs/buff02:52428800
> cycbuff:BUFF03:/media/paul/storage/news/cycbuffs/buff03:52428800
It's not clear to me but are you defining both cycbuff and metacycbuff
in there?
I mean like mine (cycbuff.conf)
----------------------------------------------------------
cycbuff:ONE:/usr/local/news/etc/cycbuffs/c1t1d0s6:1002929
cycbuff:TWO:/usr/local/news/etc/cycbuffs/c1t1d0s7:23225585
metacycbuff:CHIAREA:ONE
metacycbuff:BIGAREA:TWO
----------------------------------------------------------
Again, I'm using raw partitions so its c1t1d0s6 instead of file name but I'm
asking about the metacycbuff lines, which I don't see mentioned in any of
your posts.
I mean you define the cycbuffs as you are doing but then need to "meta data"
them (I guess, it's been a while), then use those meta name in the
storage.conf file, like so:
-------------------------------------------------------------
method cnfs {
newsgroups: rci.*,chi.*
class: 1
options: CHIAREA
}
method cnfs {
newsgroups: *
class: 2
options: BIGAREA
}
-------------------------------------------------------------
I'm not sure you can just use the cycbuff name in the storage.conf file is
all I'm saying.
-bruce
bje@ripco.com
Re: Setting up INN
Author: Avon
Date: Sat, 13 Jun 2015 08:18
Date: Sat, 13 Jun 2015 08:18
99 lines
3248 bytes
3248 bytes
On Fri, 12 Jun 2015 12:33:03 +0000, Bruce Esquibel wrote:
Hi Bruce :)
> It's not clear to me but are you defining both cycbuff and metacycbuff
> in there?
>
> I mean like mine (cycbuff.conf)
>
> I'm not sure you can just use the cycbuff name in the storage.conf file
> is all I'm saying.
Yep I'm all good there thanks I have spent time today redoing my
cycbuff.conf and storage.conf files and have things spelt out there.
I'm using the following for now:
cycbuff.conf
## BIG8 50GB
cycbuff:BUFF01:/var/spool/news/cycbuff/buff01:26214400
cycbuff:BUFF02:/var/spool/news/cycbuff/buff02:26214400
## ALT 50GB
cycbuff:BUFF03:/var/spool/news/cycbuff/buff03:26214400
cycbuff:BUFF04:/var/spool/news/cycbuff/buff04:26214400
## BIN 100GB
cycbuff:BUFF05:/var/spool/news/cycbuff/buff05:26214400
cycbuff:BUFF06:/var/spool/news/cycbuff/buff06:26214400
cycbuff:BUFF07:/var/spool/news/cycbuff/buff07:26214400
cycbuff:BUFF08:/var/spool/news/cycbuff/buff08:26214400
## CTCALL 50GB
cycbuff:BUFF09:/var/spool/news/cycbuff/buff09:26214400
cycbuff:BUFF10:/var/spool/news/cycbuff/buff10:26214400
metacycbuff:BIG8:BUFF01,BUFF02:SEQUENTIAL
metacycbuff:ALT:BUFF03,BUFF04:SEQUENTIAL
metacycbuff:BIN:BUFF05,BUFF06,BUFF07,BUFF08:SEQUENTIAL
metacycbuff:CTCALL:BUFF09,BUFF10:SEQUENTIAL
....and in storage.conf it's
## big8
method cnfs {
class: 1
newsgroups: comp.*,humanities.*,misc.*,news.*,rec.*,sci.*,soc.*,talk.*
options: BIG8
}
## alt
method cnfs {
class: 2
newsgroups: alt.*
options: ALT
}
## binaries + cancel.control
method cnfs {
class: 3
newsgroups: *.bina*,*.bain*,*.dateien*,*.pictures*,*.bina*,control.cancel
options: BIN
}
## nz + control messages (excluding cancel's)
method tradspool {
class: 4
newsgroups: nz.*,control.*
}
## catchall
method cnfs {
class: 255
newsgroups: *
options: CTCALL
}
Look OK to you?
Oh and thanks for all of your detailed replies thus far, really
appreciate the help, insights and history :)
I'm enjoying setting up INN slowly and learning step by step.
Regards, Paul
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