Thread View: news.software.nntp
21 messages
21 total messages
Started by zguoqi
Fri, 23 Dec 2005 10:34
Cannot open /usr/lib/news/bin/control: Permission denied
Author: zguoqi
Date: Fri, 23 Dec 2005 10:34
Date: Fri, 23 Dec 2005 10:34
19 lines
2017 bytes
2017 bytes
Ok, I have looked around but can not find a solution myself, I always get this error message. <Log> Dec 23 04:30:48 newspe innd: controlchan! restarted Dec 23 04:30:48 newspe controlchan[6332]: Cannot open /usr/lib/news/bin/control: Permission denied Dec 23 04:30:48 newspe innd: controlchan! exit 1 elapsed 0 pid 6332 Dec 23 04:30:48 newspe innd: controlchan!:21:proc:6332 closed Dec 23 04:30:48 newspe innd: controlchan! spawned controlchan!:21:proc:6334 Dec 23 04:30:48 newspe controlchan[6334]: starting Dec 23 04:30:48 newspe innd: controlchan! restarted Dec 23 04:30:49 newspe controlchan[6334]: Cannot open /usr/lib/news/bin/control: Permission denied </Log> What should I do? open /usr/lib/news/bin/control is owned by news
Re: Cannot open /usr/lib/news/bin/control: Permission denied
Author: ruud
Date: Fri, 23 Dec 2005 11:05
Date: Fri, 23 Dec 2005 11:05
11 lines
1488 bytes
1488 bytes
zguoqi@gmail.com wrote: > /usr/lib/news/bin/control: Permission denied > </Log> > > What should I do? open /usr/lib/news/bin/control is owned by news What is inncheck saying ? -- Gr. Ruud http://www.nl-netwerken.com
Re: Cannot open /usr/lib/news/bin/control: Permission denied
Author: zguoqi
Date: Fri, 23 Dec 2005 11:13
Date: Fri, 23 Dec 2005 11:13
10 lines
1752 bytes
1752 bytes
> What is inncheck saying ? Inncheck seems does not say anything, I am running inn using root account, is this a problem? /etc/news/control.ctl:0: mode 644, should be 640 /etc/news/expire.ctl:0: mode 644, should be 640 /etc/news/nntpsend.ctl:0: mode 644, should be 640 /etc/news/readers.conf:0: mode 644, should be 640
Re: Cannot open /usr/lib/news/bin/control: Permission denied
Author: F. Senault
Date: Fri, 23 Dec 2005 12:27
Date: Fri, 23 Dec 2005 12:27
19 lines
2115 bytes
2115 bytes
Le 23 décembre à 12:13, zguoqi@gmail.com a écrit :
>> What is inncheck saying ?
>
> Inncheck seems does not say anything, I am running inn using root
> account, is this a problem?
Yes. Don't do that. Create a usable news account (with a valid shell
etc), and use it as soon as possible. As an added bonus, it's best from
a security standpoint too.
Cfr the INSTALL file where it's explicitly stated.
Fred
--
I don't need no arms around me I don't need no drugs to calm me
I have seen the writing on the wall Don't think I need anything at all
No, don't think I'll need anything at all
(Pink Floyd, Another Brick in The Wall part 3)
Re: Cannot open /usr/lib/news/bin/control: Permission denied
Author: zguoqi
Date: Fri, 23 Dec 2005 12:38
Date: Fri, 23 Dec 2005 12:38
5 lines
1699 bytes
1699 bytes
>> Yes. Don't do that. Create a usable news account (with a valid shell etc) I have changed inn to run using news. however I still get the same error. Any one can help?
Re: Cannot open /usr/lib/news/bin/control: Permission denied
Author: F. Senault
Date: Fri, 23 Dec 2005 12:50
Date: Fri, 23 Dec 2005 12:50
26 lines
2714 bytes
2714 bytes
Le 23 décembre à 11:34, zguoqi@gmail.com a écrit : > What should I do? open /usr/lib/news/bin/control is owned by news Are you sure you have something equivalent to this : | 13:48 news@talisker:~> ls -la /usr/local/news/bin/controlchan | -r-xr-xr-x 1 news news 13694 Jun 27 23:47 /usr/local/news/bin/controlchan | 13:48 news@talisker:~> ls -lad /usr/local/news/bin/control | drwxr-xr-x 2 news news 512 Jun 27 23:50 /usr/local/news/bin/control | 13:48 news@talisker:~> ls -la /usr/local/news/bin/control/* | -rw-r--r-- 1 news news 2850 Dec 29 2002 /usr/local/news/bin/control/checkgroups.pl | -rw-r--r-- 1 news news 1985 Jul 19 2001 /usr/local/news/bin/control/ihave.pl | -rw-r--r-- 1 news news 6393 Jul 19 2001 /usr/local/news/bin/control/newgroup.pl | -rw-r--r-- 1 news news 2953 Jul 19 2001 /usr/local/news/bin/control/rmgroup.pl | -rw-r--r-- 1 news news 1904 Jul 19 2001 /usr/local/news/bin/control/sendme.pl | -rw-r--r-- 1 news news 2131 Jul 19 2001 /usr/local/news/bin/control/sendsys.pl | -rw-r--r-- 1 news news 2112 Jul 19 2001 /usr/local/news/bin/control/senduuname.pl | -rw-r--r-- 1 news news 1986 Jul 19 2001 /usr/local/news/bin/control/version.pl Fred -- Please Take this And run far away Far as you can see I am tainted And happiness And peace of mind Were never meant for me All these pieces And promises And left behinds If only I could see In my nothing (Nine Inch Nails, And All that Could Have Been)
Re: Cannot open /usr/lib/news/bin/control: Permission denied
Author: ruud
Date: Fri, 23 Dec 2005 12:50
Date: Fri, 23 Dec 2005 12:50
18 lines
1726 bytes
1726 bytes
zguoqi@gmail.com wrote: >> What is inncheck saying ? > > Inncheck seems does not say anything, I am running inn using root > account, is this a problem? > > /etc/news/control.ctl:0: mode 644, should be 640 I see a lot ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > /etc/news/expire.ctl:0: mode 644, should be 640 > /etc/news/nntpsend.ctl:0: mode 644, should be 640 > /etc/news/readers.conf:0: mode 644, should be 640 -- Gr. Ruud http://www.nl-netwerken.com
Re: Cannot open /usr/lib/news/bin/control: Permission denied
Author: zguoqi
Date: Fri, 23 Dec 2005 14:27
Date: Fri, 23 Dec 2005 14:27
9 lines
1858 bytes
1858 bytes
>I see a lot ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> /etc/news/expire.ctl:0: mode 644, should be 640 >> /etc/news/nntpsend.ctl:0: mode 644, should be 640 >> /etc/news/readers.conf:0: mode 644, should be 640 right, I saw them as well. But what can I do for them? I have no idea what is wrong with them, I did not touch those files except readers.conf!
Re: Cannot open /usr/lib/news/bin/control: Permission denied
Author: zguoqi
Date: Fri, 23 Dec 2005 19:03
Date: Fri, 23 Dec 2005 19:03
10 lines
1828 bytes
1828 bytes
> Are you sure you have something equivalent to this : Yes, I am... Where else can I look for the error? it is about controlchan... but I am sure I have disable that on innfeed. I don't necessary need to handle control message (if I don't have to). Do you know where can I disable this controlchan? I have a 20mb log only with the line of controlchan....permission denied.
Re: Cannot open /usr/lib/news/bin/control: Permission denied
Author: Russ Allbery
Date: Fri, 23 Dec 2005 19:06
Date: Fri, 23 Dec 2005 19:06
21 lines
2112 bytes
2112 bytes
zguoqi <zguoqi@gmail.com> writes:
> Yes, I am...
> Where else can I look for the error? it is about controlchan... but I am
> sure I have disable that on innfeed. I don't necessary need to handle
> control message (if I don't have to). Do you know where can I disable
> this controlchan? I have a 20mb log only with the line of
> controlchan....permission denied.
The news server cannot open the directory that it's saying it can't open.
There's a permissions problem. You need to find that permissions problem
and fix it. Unlike a lot of error messages, this one is really pretty
focused; it's hard to imagine anything that could cause it other than
exactly what it says the error is.
--
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: Cannot open /usr/lib/news/bin/control: Permission denied
Author: ruud
Date: Sat, 24 Dec 2005 09:56
Date: Sat, 24 Dec 2005 09:56
17 lines
1783 bytes
1783 bytes
zguoqi@gmail.com wrote: >>I see a lot ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >>> /etc/news/expire.ctl:0: mode 644, should be 640 >>> /etc/news/nntpsend.ctl:0: mode 644, should be 640 >>> /etc/news/readers.conf:0: mode 644, should be 640 > > right, I saw them as well. But what can I do for them? I have no idea > what is wrong with them, I did not touch those files except > readers.conf! chmod 640 /etc/news/expire.ctl etc. etc....... -- Gr. Ruud http://www.nl-netwerken.com
Re: Cannot open /usr/lib/news/bin/control: Permission denied
Author: Bozweb
Date: Sat, 24 Dec 2005 12:46
Date: Sat, 24 Dec 2005 12:46
21 lines
2129 bytes
2129 bytes
On Sat, 24 Dec 2005 10:56:10 +0100, ruud <geen@mail.invalid> wrote: >zguoqi@gmail.com wrote: > >>>I see a lot ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >>>> /etc/news/expire.ctl:0: mode 644, should be 640 >>>> /etc/news/nntpsend.ctl:0: mode 644, should be 640 >>>> /etc/news/readers.conf:0: mode 644, should be 640 >> >> right, I saw them as well. But what can I do for them? I have no idea >> what is wrong with them, I did not touch those files except >> readers.conf! > >chmod 640 /etc/news/expire.ctl > >etc. etc....... Will not work, new setup and start rc.news as user news. I have experience with that. http://news.bozweb.net/ Key: 0x82DEE1A0
Re: Cannot open /usr/lib/news/bin/control: Permission denied
Author: ruud
Date: Sat, 24 Dec 2005 14:19
Date: Sat, 24 Dec 2005 14:19
13 lines
1605 bytes
1605 bytes
Bozweb wrote: >>chmod 640 /etc/news/expire.ctl >> >>etc. etc....... > > Will not work, new setup and start rc.news as user news. Crap, works fine. -- Gr. Ruud http://www.nl-netwerken.com
Re: Cannot open /usr/lib/news/bin/control: Permission denied
Author: zguoqi
Date: Sat, 24 Dec 2005 14:51
Date: Sat, 24 Dec 2005 14:51
11 lines
2058 bytes
2058 bytes
>> Will not work, new setup and start rc.news as user news. > Crap, works fine. I have no idea it will work or not. The fact is that INN seems to be working fine, so I did not touch anything now... What will happen to my server is I don't do anything with this? I did not start rc.news at all. I start ./init.d/innd start at boot... will this be a problem?
Re: Cannot open /usr/lib/news/bin/control: Permission denied
Author: ruud
Date: Sat, 24 Dec 2005 16:38
Date: Sat, 24 Dec 2005 16:38
14 lines
1888 bytes
1888 bytes
zguoqi@gmail.com wrote: >>> Will not work, new setup and start rc.news as user news. >> Crap, works fine. > > I have no idea it will work or not. The fact is that INN seems to be > working fine, so I did not touch anything now... > > What will happen to my server is I don't do anything with this? Then you will keep the errors. -- Gr. Ruud http://www.nl-netwerken.com
Re: Cannot open /usr/lib/news/bin/control: Permission denied
Author: zguoqi
Date: Sat, 24 Dec 2005 17:01
Date: Sat, 24 Dec 2005 17:01
5 lines
1912 bytes
1912 bytes
> Then you will keep the errors. I don't have the original errors any more! the error of permission denied has nothing to do with this!!!!
Re: Cannot open /usr/lib/news/bin/control: Permission denied
Author: Bozweb
Date: Sat, 24 Dec 2005 17:42
Date: Sat, 24 Dec 2005 17:42
10 lines
1845 bytes
1845 bytes
On 24 Dec 2005 09:01:26 -0800, zguoqi@gmail.com wrote: >> Then you will keep the errors. > >I don't have the original errors any more! the error of permission >denied has nothing to do with this!!!! If you know better wy do you ask here? http://news.bozweb.net/ Key: 0x82DEE1A0
Re: Cannot open /usr/lib/news/bin/control: Permission denied
Author: zguoqi
Date: Sat, 24 Dec 2005 17:57
Date: Sat, 24 Dec 2005 17:57
9 lines
2041 bytes
2041 bytes
> If you know better wy do you ask here? I admit I am very new to INN. Thanks a lot for all your help here. I have solved the original proble of permission denied by simply disable controlchan. Merry Christmas!
Re: Cannot open /usr/lib/news/bin/control: Permission denied
Author: Bozweb
Date: Sat, 24 Dec 2005 20:10
Date: Sat, 24 Dec 2005 20:10
16 lines
1878 bytes
1878 bytes
On 24 Dec 2005 09:57:10 -0800, zguoqi@gmail.com wrote: >> If you know better wy do you ask here? > >I admit I am very new to INN. Thanks a lot for all your help here. > >I have solved the original proble of permission denied by simply >disable controlchan. > >Merry Christmas! ok Merry Christmas! http://news.bozweb.net/ Key: 0x82DEE1A0
Re: Cannot open /usr/lib/news/bin/control: Permission denied
Author: ruud
Date: Sat, 24 Dec 2005 20:51
Date: Sat, 24 Dec 2005 20:51
15 lines
2047 bytes
2047 bytes
zguoqi@gmail.com wrote: > I have solved the original proble of permission denied by simply > disable controlchan. Thats a workaround, not a solution. Seems to me that you do nothing with the tips given here. I'll give up. > Merry Christmas! Thank you. -- Gr. Ruud http://www.nl-netwerken.com
Re: Cannot open /usr/lib/news/bin/control: Permission denied
Author: zguoqi
Date: Sat, 24 Dec 2005 21:16
Date: Sat, 24 Dec 2005 21:16
6 lines
2215 bytes
2215 bytes
> Thats a workaround, not a solution. Seems to me that you do nothing with the tips given here. I'll give up. Thanks for your tip. I have saved the post and will try it when I get my second server running INN. I am afraid to screw up the server. It is working now. I need it to be working 24 hours a day.
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