[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: named: unrecognized service?



Michael Schwendt wrote:

> On Mon, 07 Jan 2008 08:41:17 -0500, Neal Becker wrote:
> 
>> Michael Schwendt wrote:
>> 
>> > On Mon, 07 Jan 2008 07:46:51 -0500, Neal Becker wrote:
>> > 
>> >> Something a bit strange here (this is F8 with all updates):
>> >> 
>> >> /sbin/service named status
>> >> named: unrecognized service
>> >> 
>> >> sudo /sbin/chkconfig named --list
>> >> named           0:off   1:off   2:on    3:on    4:on    5:on    6:off
>> > 
>> > Don't stop there yet. Does /etc/init.d/named exist? Is the
>> > bind package installed? What do you get for "stat /etc/rc5.d/S*named*"?
>> > 
>> > Btw, /sbin/chkconfig --list usually does not need sudo, especially
>> > not when you run /sbin/service without it.
>> > 
>> ls -l /etc/init.d/named
>> -rwxr-xr-- 1 root root 6146 2007-12-27 10:26 /etc/init.d/named
> 
> Note the file permissions, no 'x' for "other". Then read
> "tail /sbin/service".
> 
> Next time run:  sudo /sbin/service named status
> 
>> stat /etc/rc5.d/S*named*
>>   File: `/etc/rc5.d/S27named' -> `../init.d/named'
>>   Size: 15              Blocks: 0          IO Block: 4096   symbolic link
>> Device: 900h/2304d      Inode: 23692029    Links: 1
>> Access: (0777/lrwxrwxrwx)  Uid: (    0/    root)   Gid: (    0/    root)
>> Access: 2008-01-07 07:45:33.000000000 -0500
>> Modify: 2008-01-07 07:44:31.000000000 -0500
>> Change: 2008-01-07 07:44:31.000000000 -0500
>> 
>> 
> 
That's a bug.  /sbin/service should have said "permission denied <filename>"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]