Thread View: news.software.nntp
10 messages
10 total messages
Started by Michael Scheferhoff
Mon, 06 Dec 1999 00:00
Rename newsgroups in INN
Author: Michael Scheferhoff
Date: Mon, 06 Dec 1999 00:00
Date: Mon, 06 Dec 1999 00:00
17 lines
1319 bytes
1319 bytes
Hello, I tried to rename a newsgroup at my INN running on a Solaris 2.7. First I changed the directory name and the name in the active file. It's no problem to subscribe the newsgroup but when I try to send a message I get the error "unwanted newsgroup". I touched all files before I created new newsgroups to see, which ones are edited, but I only found the active file beeing edited by the ctlinnd tool. Does anybody know, which other files need to be edited? Thanks, Michael
Re: Rename newsgroups in INN
Author: Michael Scheferhoff
Date: Mon, 06 Dec 1999 00:00
Date: Mon, 06 Dec 1999 00:00
42 lines
2355 bytes
2355 bytes
Hello, > You will also probably want to use something like sed to fix all the > related entries in history too. I also have to edit the history file? What do I have to edit on entries like: <38438DEB.DC2AFAA9@gmx.de> 943951222~-~943951339 public_read.lan/1 <38467D78.3D389AD9@gmx.de> 944143612~-~944143736 net_srv_private.wan/1 <8260vv$fas$1@aphrodite.koeln.rtl.de> 944146239~-~944146239 net_srv_private.wan/2 <38468E71.CA994B7E@gmx.de> 944147957~-~944148081 net_srv_private.wan/3 <38468EC1.D7B10733@gmx.de> 944148038~-~944148162 net_srv_private.wan/4 <8263ji$fvc$1@aphrodite.koeln.rtl.de> 944148914~-~944148914 net_srv_private.wan/5 [85A48C5833D068E19B87067A61934F8D] 944224616~-~944224616 [539A031113E438DEBDEC199E7F82F3FE] 944235032~-~944235032 The posting of course need to be edited. > Did you also restart innd, or at least to a ctlinnd reload active? After I restarted the innd my INN doesn't come up again. I always get errormessages like: Dec 6 13:33:08 aphrodite sendmail[289]: NOQUEUE: SYSERR(news): dbm map "Alias0": unsafe map file /etc/mail/aliases Dec 6 13:33:09 aphrodite inndstart: inndstart cant setgroups Not owner Dec 6 13:33:09 aphrodite inndstart: inndstart cant bind Permission denied I already searched for files with wrong owners, but I didn't find them. Thanks, Michael
Re: Rename newsgroups in INN
Author: Etienne Gauthier
Date: Mon, 06 Dec 1999 00:00
Date: Mon, 06 Dec 1999 00:00
32 lines
1975 bytes
1975 bytes
Alternative Fluffy wrote: > > Michael Scheferhoff <m.scheferhoff@gmx.de> wrote: > > > I tried to rename a newsgroup at my INN running on a Solaris 2.7. First > > I changed the directory name and the name in the active file. Hi, And what do you do with people that subscribed to this newsgroup (people who have already posted message OR NOT) ? Personally, I had create a new newsgroup, and created my own refeed script, that will modify the message ID (by just adding one letter). Then, I post a message in the old newsgroup that explain why the newsgroup is closed, and give an URL to go to the newname newsgroup. Etienne > > You will also probably want to use something like sed to fix all the > related entries in history too. > > > It's no problem to subscribe the newsgroup but when I try to send a > > message I get the error "unwanted newsgroup". I touched all files > > before I created new newsgroups to see, which ones are edited, but I > > only found the active file beeing edited by the ctlinnd tool. > > Did you also restart innd, or at least to a ctlinnd reload active?
Re: Rename newsgroups in INN
Author: Alternative Fluffy
Date: Mon, 06 Dec 1999 00:00
Date: Mon, 06 Dec 1999 00:00
16 lines
1608 bytes
1608 bytes
Michael Scheferhoff <m.scheferhoff@gmx.de> wrote: > I tried to rename a newsgroup at my INN running on a Solaris 2.7. First > I changed the directory name and the name in the active file. You will also probably want to use something like sed to fix all the related entries in history too. > It's no problem to subscribe the newsgroup but when I try to send a > message I get the error "unwanted newsgroup". I touched all files > before I created new newsgroups to see, which ones are edited, but I > only found the active file beeing edited by the ctlinnd tool. Did you also restart innd, or at least to a ctlinnd reload active?
Re: Rename newsgroups in INN
Author: Brad Knowles
Date: Mon, 06 Dec 1999 00:00
Date: Mon, 06 Dec 1999 00:00
17 lines
1608 bytes
1608 bytes
In article <384BBC92.3385EF1@gmx.de>, m.scheferhoff@gmx.de wrote:
> Dec 6 13:33:09 aphrodite inndstart: inndstart cant setgroups Not owner
> Dec 6 13:33:09 aphrodite inndstart: inndstart cant bind Permission denied
Sounds to me like your inndstart program isn't owned by root and
setuid. Try fixing that first, and if that doesn't work, give us the
details of the problems you see afterwards.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 65? If so, please contact me via private e-mail for details.
Re: Rename newsgroups in INN
Author: Etienne Gauthier
Date: Tue, 07 Dec 1999 00:00
Date: Tue, 07 Dec 1999 00:00
47 lines
2587 bytes
2587 bytes
Michael Scheferhoff wrote: > > Etienne Gauthier wrote: > > > Personally, I had create a new newsgroup, and created my own refeed > > script, that will modify the message ID (by just adding one letter). > > Then, I post a message in the old newsgroup that explain why the > > newsgroup is closed, and give an URL to go to the newname newsgroup. > > > > Hi Etienne, > > this is a good idea. How do you post the messages? Did you automate this > perhaps by using a perl script? Yes, I did it with a perl script. Every thing is written in french, so I just say to you what I've done. If you want more, I'll see if it's possible to give you the source (I should not be allowed to do so, as my company is the owner of my work, but, as I've got help here, I can help others now...) - I opendir the directory where articles are stored (hum, this works only if you have conventional storage, not CNFS). Each entry wich name is a number is an article. - I scan each line. If : /Message-ID: <(.*)@(.*)>/i then I print to the output : "Message-ID: <$1repost.$2>\n" /Reference: $1$/i then I do the same thing ... But $1 main contains more than one reference (separated by spaces) /Newsgroup: (.$)$/i then $1 is a list of newsgroup names (more than one if cross-posted). Find your newsgroup, and change its name. /^X-Trace:/i then I do not print the line to the output. /^X-Complaints-To:/i then I do not print the line to the output. /^Xref:/i then I do not print the line to the output. else I print the line without modification. Hope this helps Etienne
Re: Rename newsgroups in INN
Author: Michael Scheferhoff
Date: Tue, 07 Dec 1999 00:00
Date: Tue, 07 Dec 1999 00:00
21 lines
1417 bytes
1417 bytes
Etienne Gauthier wrote: > Personally, I had create a new newsgroup, and created my own refeed > script, that will modify the message ID (by just adding one letter). > Then, I post a message in the old newsgroup that explain why the > newsgroup is closed, and give an URL to go to the newname newsgroup. > Hi Etienne, this is a good idea. How do you post the messages? Did you automate this perhaps by using a perl script? Thanks, Michael
Re: Rename newsgroups in INN
Author: bill davidsen
Date: Tue, 07 Dec 1999 00:00
Date: Tue, 07 Dec 1999 00:00
22 lines
1785 bytes
1785 bytes
In article <384BF5B6.91B327F5@capgemini.fr>, Etienne Gauthier <egauthie@capgemini.fr.nospam> wrote: | And what do you do with people that subscribed to this newsgroup | (people who have already posted message OR NOT) ? | | Personally, I had create a new newsgroup, and created my own refeed | script, that will modify the message ID (by just adding one letter). | Then, I post a message in the old newsgroup that explain why the | newsgroup is closed, and give an URL to go to the newname newsgroup. And check the followups-to field to be sure it has the new name if the old name is present... I forgot this once and the old group didn't die as well as I would like! -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Re: Rename newsgroups in INN
Author: Etienne Gauthier
Date: Wed, 08 Dec 1999 00:00
Date: Wed, 08 Dec 1999 00:00
36 lines
2343 bytes
2343 bytes
Etienne Gauthier wrote: > > Michael Scheferhoff wrote: > > > > Etienne Gauthier wrote: > > > > > Personally, I had create a new newsgroup, and created my own refeed > > > script, that will modify the message ID (by just adding one letter). > > ... > > Yes, I did it with a perl script. Every thing is written in french, so > /Message-ID: <(.*)@(.*)>/i then I print to the output : "Message-ID: > <$1repost.$2>\n" > /Reference: $1$/i then I do the same thing ... But $1 main > contains more than one reference (separated by spaces) Just some additions : - When you modify the message-ID (of the message you're dealing with or on the reference line), if you do it always exactly the same way, you can run your script as many times as you want. An already reposted article won't be reposted again as this message-ID has already been accepted. - If you also modify the ID on the reference line, then all threads (question/answers) are shown Ok. - I had a 'strange' thing, when renaming more than one newsgroups into one. e.g : reposting articles from both 'myroot.a' and 'myroot.b' to 'myroot', then all 'myroot.a' messages would appear before 'myroot.b', at least with netscape. I think you should add some codes, in order to sort articles from these two newsgroup before reposting them if you don't want to have this kind of trouble. Etienne
Re: Rename newsgroups in INN
Author: Michael Scheferhoff
Date: Thu, 09 Dec 1999 00:00
Date: Thu, 09 Dec 1999 00:00
37 lines
2356 bytes
2356 bytes
Hello Etienne > Just some additions : > - When you modify the message-ID (of the message you're dealing with or > on the reference line), if you do it always exactly the same way, you > can run your script as many times as you want. An already reposted > article won't be reposted again as this message-ID has already been > accepted. > - If you also modify the ID on the reference line, then all threads > (question/answers) are shown Ok. > - I had a 'strange' thing, when renaming more than one newsgroups into > one. e.g : reposting articles from both 'myroot.a' and 'myroot.b' to > 'myroot', then all 'myroot.a' messages would appear before 'myroot.b', > at least with netscape. I think you should add some codes, in order to > sort articles from these two newsgroup before reposting them if you > don't want to have this kind of trouble. > I decided to do it with perl. Of course I have the perl NNTP module installed which works very fine: - add the new newsgroup - post the artikels from the "old" newsgroups to the new one with the "old" date - delete the old newsgroup -delete the old directory and the old postings Thanks for your ideas, Michael P.S. if you are interrested in the code I counld send it
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