Thread View: news.software.nntp
14 messages
14 total messages
Started by Andre Krajnik
Sat, 17 Feb 2001 12:39
I need urgent help: innd won't start anymore
Author: Andre Krajnik
Date: Sat, 17 Feb 2001 12:39
Date: Sat, 17 Feb 2001 12:39
67 lines
2895 bytes
2895 bytes
Hi! I'm running innd 2.2.3-1 with Mandrake Linux 7.1. innd had run for a long time, but after a crash it won't do so anymore. [root@server1 ppp]# /etc/rc.d/init.d/innd start Starting INND system: [ OK ] You have new mail in /var/spool/mail/root [root@server1 ppp]# /etc/rc.d/init.d/innd status innd dead but subsys locked [root@server1 ppp]# this arethe logs from /var/log/news: ./news.crit Feb 16 11:49:00 server1 inndstart: inndstart cant bind Keine Berechtigung Feb 16 11:49:00 server1 inndstart: inndstart cant bind Keine Berechtigung ./news.err Feb 16 11:49:00 server1 inndstart: inndstart cant setgroups Die Operation ist nicht erlaubt Feb 16 11:49:00 server1 inndstart: inndstart cant setgroups Die Operation ist nicht erlaubt ./news.notice Feb 16 11:49:00 server1 inndstart: inndstart cant setgroups Die Operation ist nicht erlaubt Feb 16 11:49:00 server1 inndstart: inndstart cant bind Keine Berechtigung Feb 16 11:49:00 server1 actived[6684]: started /var/log/syslog Feb 16 11:49:00 server1 inndstart: Reading config from /etc/news/inn.conf Feb 16 11:49:00 server1 inndstart: inndstart cant setgroups Die Operation ist nicht erlaubt Feb 16 11:49:00 server1 actived[6682]: Reading config from /etc/news/inn.conf Feb 16 11:49:00 server1 inndstart: inndstart cant bind Keine Berechtigung "Keine Berechtigung" means "No Permission" "Die Operation ist nicht erlabut" means "The Operation is not allowed" I tried to set the permissions again with rpm --setperms inn rpm --setugids inn chmod -R 644 /var/spool/news chmod 4750 /usr/bin/inndstart (taken from FAQ) chown root:news /usr/bin/inndstart (taken from FAQ) I also tried to uninstall an install it again from scratch. But I had no success. I don't know what to do to make innd running again and I also couldn't find any hint in the FAQ. -- mfg Andre
Re: I need urgent help: innd won't start anymore
Author: Russ Allbery
Date: Sat, 17 Feb 2001 19:08
Date: Sat, 17 Feb 2001 19:08
28 lines
1831 bytes
1831 bytes
Andre Krajnik <andre@krajnik.de> writes:
> this arethe logs from /var/log/news:
> ./news.crit
> Feb 16 11:49:00 server1 inndstart: inndstart cant bind Keine
> Berechtigung
> Feb 16 11:49:00 server1 inndstart: inndstart cant bind Keine
> Berechtigung
inndstart isn't setuid root. inndstart should be owned by root, group
news, mode 4550.
> I tried to set the permissions again with
> rpm --setperms inn
> rpm --setugids inn
> chmod -R 644 /var/spool/news
> chmod 4750 /usr/bin/inndstart (taken from FAQ)
> chown root:news /usr/bin/inndstart (taken from FAQ)
You have to do the chown first; the setuid root bit is dropped on chown.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: I need urgent help: innd won't start anymore
Author: Andre Krajnik
Date: Sun, 18 Feb 2001 18:20
Date: Sun, 18 Feb 2001 18:20
36 lines
1891 bytes
1891 bytes
Thx Russ, but that's not enough! The problem is still there! :-((( Russ Allbery schrieb: > > Andre Krajnik <andre@krajnik.de> writes: > > > this arethe logs from /var/log/news: > > > ./news.crit > > Feb 16 11:49:00 server1 inndstart: inndstart cant bind Keine > > Berechtigung > > Feb 16 11:49:00 server1 inndstart: inndstart cant bind Keine > > Berechtigung > > inndstart isn't setuid root. inndstart should be owned by root, group > news, mode 4550. > > > I tried to set the permissions again with > > rpm --setperms inn > > rpm --setugids inn > > chmod -R 644 /var/spool/news > > chmod 4750 /usr/bin/inndstart (taken from FAQ) > > chown root:news /usr/bin/inndstart (taken from FAQ) > > You have to do the chown first; the setuid root bit is dropped on chown. > > -- > -- mfg Andre
Re: I need urgent help: innd won't start anymore
Author: Russ Allbery
Date: Sun, 18 Feb 2001 22:25
Date: Sun, 18 Feb 2001 22:25
12 lines
1519 bytes
1519 bytes
Andre Krajnik <andre@krajnik.de> writes:
> but that's not enough! The problem is still there! :-(((
What does ls -l /usr/bin/inndstart show that the permissions are?
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: I need urgent help: innd won't start anymore
Author: SorEGG
Date: Mon, 19 Feb 2001 06:45
Date: Mon, 19 Feb 2001 06:45
19 lines
1710 bytes
1710 bytes
-rwsr-x--- 1 root news 29944 Jul 24 2000 inndstart "Russ Allbery" <rra@stanford.edu> ���g��l�� news:ylu25rzl0a.fsf@windlord.stanford.edu... | Andre Krajnik <andre@krajnik.de> writes: | | > but that's not enough! The problem is still there! :-((( | | What does ls -l /usr/bin/inndstart show that the permissions are? | | -- | Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/> | | Please post questions rather than mailing me directly. | <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: I need urgent help: innd won't start anymore
Author: Russ Allbery
Date: Mon, 19 Feb 2001 08:20
Date: Mon, 19 Feb 2001 08:20
14 lines
1701 bytes
1701 bytes
SorEGG <soregg@i.am> writes:
> -rwsr-x--- 1 root news 29944 Jul 24 2000 inndstart
And you're still getting setgroups error messages in your syslog each time
you try to start INN? You haven't mounted /usr nosetuid or turned on file
system capabilities or something, have you?
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: I need urgent help: innd won't start anymore
Author: Andre Krajnik
Date: Mon, 19 Feb 2001 17:45
Date: Mon, 19 Feb 2001 17:45
31 lines
1892 bytes
1892 bytes
-r-sr-x--- 1 root news 32944 Jan 11 01:19 /usr/bin/inndstart SorEGG schrieb: > > -rwsr-x--- 1 root news 29944 Jul 24 2000 inndstart > > "Russ Allbery" <rra@stanford.edu> ¼¶¼g©ó¶l¥ó > news:ylu25rzl0a.fsf@windlord.stanford.edu... > | Andre Krajnik <andre@krajnik.de> writes: > | > | > but that's not enough! The problem is still there! :-((( > | > | What does ls -l /usr/bin/inndstart show that the permissions are? > | > | -- > | Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/> > | > | Please post questions rather than mailing me directly. > | <http://www.eyrie.org/~eagle/faqs/questions.html> explains why. -- mfg Andre
Re: I need urgent help: innd won't start anymore
Author: Andre Krajnik
Date: Mon, 19 Feb 2001 17:47
Date: Mon, 19 Feb 2001 17:47
48 lines
2439 bytes
2439 bytes
Russ Allbery schrieb: > > SorEGG <soregg@i.am> writes: > > > -rwsr-x--- 1 root news 29944 Jul 24 2000 inndstart > > And you're still getting setgroups error messages in your syslog each time Feb 19 15:47:31 server1 innd: Reading config from /etc/news/inn.conf Feb 19 15:47:31 server1 innd: SERVER cant fopen /var/log/news/news Permission de nied Feb 19 15:51:45 server1 ctlinnd[1777]: Reading config from /etc/news/inn.conf Feb 19 15:51:46 server1 ctlinnd[1789]: Reading config from /etc/news/inn.conf Feb 19 15:51:46 server1 ctlinnd[1813]: Reading config from /etc/news/inn.conf Feb 19 15:51:46 server1 ctlinnd[1822]: Reading config from /etc/news/inn.conf Feb 19 16:03:53 server1 innd: Reading config from /etc/news/inn.conf Feb 19 16:03:53 server1 innd: SERVER cant fopen /var/log/news/news Permission de nied > you try to start INN? You haven't mounted /usr nosetuid or turned on file how can I proof this? > system capabilities or something, have you? > > -- > Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/> > > Please post questions rather than mailing me directly. > <http://www.eyrie.org/~eagle/faqs/questions.html> explains why. -- mfg Andre
Re: I need urgent help: innd won't start anymore
Author: Andre Krajnik
Date: Mon, 19 Feb 2001 19:17
Date: Mon, 19 Feb 2001 19:17
50 lines
3043 bytes
3043 bytes
Hi Russ, Russ Allbery schrieb: > > SorEGG <soregg@i.am> writes: > > > -rwsr-x--- 1 root news 29944 Jul 24 2000 inndstart > > And you're still getting setgroups error messages in your syslog each time > you try to start INN? You haven't mounted /usr nosetuid or turned on file > system capabilities or something, have you? > Feb 19 19:23:14 server1 innd: Reading config from /etc/news/inn.conf Feb 19 19:23:14 server1 innd: SERVER cant chown /var/log/news/news Operation is not allowed Feb 19 19:23:14 server1 innd: SERVER cant chown /var/log/news/errlog Operation is not allowed Feb 19 19:23:14 server1 innd: SERVER descriptors 1024 Feb 19 19:23:14 server1 innd: SERVER outgoing 1011 Feb 19 19:23:14 server1 innd: SERVER cant dbzinit /var/lib/news/history file or directory not found but it's there: drwxrwxr-x 2 news news 1024 Feb 19 19:23 ./ drwxr-xr-x 13 news adm 1024 Feb 15 21:51 ../ -rwxr-xr-x 1 news news 0 Jan 11 01:19 .news.daily* -rwxr-xr-x 1 news news 239 Feb 16 19:18 active* -rw-rw-r-- 1 news news 193 Feb 16 19:18 active.old -rwxr-xr-x 1 news news 65 Feb 16 19:18 active.times* -rwxr-xr-x 1 news news 0 Jan 11 01:19 active.times.rpmnew* -rwxr-xr-x 1 news news 72 Jan 11 01:19 distributions* -rw-rw-r-- 1 news news 0 Feb 19 19:23 history -rw-r--r-- 1 news news 75 Jan 10 22:32 history.dir.rpmnew -rw-r--r-- 1 news news 0 Jan 10 22:32 history.pag.rpmnew -rwxr-xr-x 1 news news 0 Jan 11 01:19 history.x* -rwxr-xr-x 1 news news 249 Jan 11 01:19 newsgroups* -rwxr-xr-x 1 news news 0 Jan 11 01:19 subscriptions* but I can't find a file named dbzinit. What's that? -- mfg Andre
Re: I need urgent help: innd won't start anymore
Author: Russ Allbery
Date: Mon, 19 Feb 2001 19:22
Date: Mon, 19 Feb 2001 19:22
20 lines
1831 bytes
1831 bytes
Andre Krajnik <andre@krajnik.de> writes:
> Russ Allbery schrieb:
>> And you're still getting setgroups error messages in your syslog each time
> Feb 19 15:47:31 server1 innd: Reading config from /etc/news/inn.conf
> Feb 19 15:47:31 server1 innd: SERVER cant fopen /var/log/news/news
> Permission de
> nied
Okay, that's a different problem. What are the permissions on
/var/log/news and on /var/log/news/news? Both should be owned by the news
user.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: I need urgent help: innd won't start anymore
Author: Andre Krajnik
Date: Mon, 19 Feb 2001 19:33
Date: Mon, 19 Feb 2001 19:33
35 lines
2417 bytes
2417 bytes
Hi Russ. Russ Allbery schrieb: > > Andre Krajnik <andre@krajnik.de> writes: > > Russ Allbery schrieb: > > >> And you're still getting setgroups error messages in your syslog each time > > > Feb 19 15:47:31 server1 innd: Reading config from /etc/news/inn.conf > > Feb 19 15:47:31 server1 innd: SERVER cant fopen /var/log/news/news > > Permission de > > nied > > Okay, that's a different problem. What are the permissions on > /var/log/news and on /var/log/news/news? Both should be owned by the news > user. [root@server1 ppp]# ls -la /var/log/news/ insgesamt 149 drwxr-xr-x 3 news news 147456 Feb 19 19:18 ./ drwxr-xr-x 11 root root 3072 Feb 18 14:29 ../ drwxr-xr-x 2 news news 1024 Jan 11 01:19 OLD/ -rw-rw-r-- 1 news news 0 Feb 19 19:10 errlog -rw-rw-r-- 1 news news 0 Feb 19 19:10 news -rwxr-xr-x 1 news news 0 Feb 19 19:18 news.crit* -rwxr-xr-x 1 news news 0 Feb 19 19:18 news.err* -rwxr-xr-x 1 news news 0 Feb 19 19:18 news.notice* [root@server1 ppp]# -- mfg Andre
Re: I need urgent help: innd won't start anymore
Author: Jeffrey M. Vinocur
Date: Mon, 19 Feb 2001 22:15
Date: Mon, 19 Feb 2001 22:15
28 lines
1914 bytes
1914 bytes
In article <3A917146.C6BABAA3@krajnik.de>, Andre Krajnik <andre@krajnik.de> wrote: >Hi Russ, > >Feb 19 19:23:14 server1 innd: SERVER cant dbzinit /var/lib/news/history >file or directory not found > >but it's there: > >-rw-rw-r-- 1 news news 0 Feb 19 19:23 history Mmm, I think there should be history.dir, history.hash, and history.index -- you should read the INN documentation file INSTALL. (It would probably suffice to rename those .rpmnew files to get rid of the extension.) >but I can't find a file named dbzinit. What's that? That's a function inside the INN code; it's saying that it's having troulbe with the history database. -- Jeffrey M. Vinocur jeff@litech.org
Re: I need urgent help: innd won't start anymore
Author: Russ Allbery
Date: Mon, 19 Feb 2001 22:58
Date: Mon, 19 Feb 2001 22:58
38 lines
2896 bytes
2896 bytes
Andre Krajnik <andre@krajnik.de> writes:
> Russ Allbery schrieb:
>> Andre Krajnik <andre@krajnik.de> writes:
>> > Feb 19 15:47:31 server1 innd: Reading config from /etc/news/inn.conf
>> > Feb 19 15:47:31 server1 innd: SERVER cant fopen /var/log/news/news
>> > Permission de
>> > nied
>>
>> Okay, that's a different problem. What are the permissions on
>> /var/log/news and on /var/log/news/news? Both should be owned by the news
>> user.
> [root@server1 ppp]# ls -la /var/log/news/
> insgesamt 149
> drwxr-xr-x 3 news news 147456 Feb 19 19:18 ./
> drwxr-xr-x 11 root root 3072 Feb 18 14:29 ../
> drwxr-xr-x 2 news news 1024 Jan 11 01:19 OLD/
> -rw-rw-r-- 1 news news 0 Feb 19 19:10 errlog
> -rw-rw-r-- 1 news news 0 Feb 19 19:10 news
> -rwxr-xr-x 1 news news 0 Feb 19 19:18 news.crit*
> -rwxr-xr-x 1 news news 0 Feb 19 19:18 news.err*
> -rwxr-xr-x 1 news news 0 Feb 19 19:18 news.notice*
> [root@server1 ppp]#
I have a sneaking suspicion that your INN's idea of what the news user is
and what your system's idea of the news user is is different. That's the
only way I can explain a permission denied error where you're seeing it.
I'd try rebuilding INN from scratch, making sure that you know what news
user you're configuring it with.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: I need urgent help: innd won't start anymore
Author: Rebecca Ore
Date: Tue, 20 Feb 2001 00:54
Date: Tue, 20 Feb 2001 00:54
41 lines
3122 bytes
3122 bytes
Russ Allbery <rra@stanford.edu> writes: > Andre Krajnik <andre@krajnik.de> writes: > > Russ Allbery schrieb: > >> Andre Krajnik <andre@krajnik.de> writes: > > >> > Feb 19 15:47:31 server1 innd: Reading config from /etc/news/inn.conf > >> > Feb 19 15:47:31 server1 innd: SERVER cant fopen /var/log/news/news > >> > Permission de > >> > nied > >> > >> Okay, that's a different problem. What are the permissions on > >> /var/log/news and on /var/log/news/news? Both should be owned by the news > >> user. > > > [root@server1 ppp]# ls -la /var/log/news/ > > insgesamt 149 > > drwxr-xr-x 3 news news 147456 Feb 19 19:18 ./ > > drwxr-xr-x 11 root root 3072 Feb 18 14:29 ../ > > drwxr-xr-x 2 news news 1024 Jan 11 01:19 OLD/ > > -rw-rw-r-- 1 news news 0 Feb 19 19:10 errlog > > -rw-rw-r-- 1 news news 0 Feb 19 19:10 news > > -rwxr-xr-x 1 news news 0 Feb 19 19:18 news.crit* > > -rwxr-xr-x 1 news news 0 Feb 19 19:18 news.err* > > -rwxr-xr-x 1 news news 0 Feb 19 19:18 news.notice* > > [root@server1 ppp]# > > I have a sneaking suspicion that your INN's idea of what the news user is > and what your system's idea of the news user is is different. That's the > only way I can explain a permission denied error where you're seeing it. > > I'd try rebuilding INN from scratch, making sure that you know what news > user you're configuring it with. I had something similiar with news the user not being in the group news. Check to see what groups news is in. -- Rebecca Ore http://www.ogoense.net/rebecca
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