Unix Technical Forum

Bind won't start.

This is a discussion on Bind won't start. within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi group. I've got Bind working fine with kernel 2.4.25 but now i've installed 2.6 and it doesn't start. ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 12:37 PM
Nuno Paquete
 
Posts: n/a
Default Bind won't start.

Hi group.
I've got Bind working fine with kernel 2.4.25 but now i've installed 2.6 and
it doesn't start.
I get this message in logs:

Starting BIND: /usr/sbin/named
named: capset failed: Operation not permitted

Can anyone help me?

Thanks in advance,

Nuno Paquete
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 12:37 PM
David
 
Posts: n/a
Default Re: Bind won't start.

Nuno Paquete wrote:
> Hi group.
> I've got Bind working fine with kernel 2.4.25 but now i've installed 2.6 and
> it doesn't start.
> I get this message in logs:
>
> Starting BIND: /usr/sbin/named
> named: capset failed: Operation not permitted
>
> Can anyone help me?


Bind-9 won't run if there is a error in the configuration files.
If you missed a dot "." somewhere it won't run.

--
Confucius: He who play in root, eventually kill tree.
Registered with The Linux Counter. http://counter.li.org/
Slackware 9.1.0 Kernel 2.4.26 SMP i686 (GCC) 3.3.4
Uptime:8 days, 23:21, 1 user, load average: 1.02, 1.01, 1.00
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 12:37 PM
Nuno Paquete
 
Posts: n/a
Default Re: Bind won't start.

David wrote:

> Nuno Paquete wrote:
>> Hi group.
>> I've got Bind working fine with kernel 2.4.25 but now i've installed 2.6
>> and it doesn't start.
>> I get this message in logs:
>>
>> Starting BIND: /usr/sbin/named
>> named: capset failed: Operation not permitted
>>
>> Can anyone help me?

>
> Bind-9 won't run if there is a error in the configuration files.
> If you missed a dot "." somewhere it won't run.
>


As I said before when i startup with kernel 2.4.25 it is OK, so the
configuration file must be ok, because if it won't it never should run.

Any more ideas?

Nuno Paquete.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 12:37 PM
mike
 
Posts: n/a
Default Re: Bind won't start.

Nuno Paquete wrote:

> Hi group.
> I've got Bind working fine with kernel 2.4.25 but now i've installed 2.6
> and it doesn't start.
> I get this message in logs:
>
> Starting BIND: /usr/sbin/named
> named: capset failed: Operation not permitted


Hi!
Try checking so that you have given the correct rwx to it all. Looks like
you haven't given the read/write rights to the directory/files.

Mike

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-19-2008, 12:37 PM
/dev/rob0
 
Posts: n/a
Default Re: Bind won't start.

On Wed, 23 Jun 2004 16:23:22 +0100, Nuno Paquete wrote:
> Starting BIND: /usr/sbin/named
> named: capset failed: Operation not permitted


# modprobe capability ; named ; echo 'it works!'
--
/dev/rob0 - preferred_email=i$((28*28+28))@softhome.net
or put "not-spam" or "/dev/rob0" in Subject header to reply

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-19-2008, 12:37 PM
Cricri
 
Posts: n/a
Default Re: Bind won't start.

Le 23.06.2004 18:40, Nuno Paquete a écrit :
> David wrote:
>
>
>>Nuno Paquete wrote:
>>
>>>Hi group.
>>>I've got Bind working fine with kernel 2.4.25 but now i've installed 2.6
>>>and it doesn't start.
>>>I get this message in logs:
>>>
>>>Starting BIND: /usr/sbin/named
>>>named: capset failed: Operation not permitted
>>>
>>>Can anyone help me?

>>
>>Bind-9 won't run if there is a error in the configuration files.
>>If you missed a dot "." somewhere it won't run.
>>

>
>
> As I said before when i startup with kernel 2.4.25 it is OK, so the
> configuration file must be ok, because if it won't it never should run.
>
> Any more ideas?
>
> Nuno Paquete.


I've googled for "capset failed: Operation not permitted" and i find two
relevants pages :
One said to recompile bind: http://www.jvds.com/wiki/database/CapSetFailed

the other said is a miss configuration in the 2.6 kernel:
http://www.uwsg.iu.edu/hypermail/lin...03.2/1228.html

If that help ...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-19-2008, 12:38 PM
Nuno Paquete
 
Posts: n/a
Default Re: Bind won't start.

/dev/rob0 wrote:

> On Wed, 23 Jun 2004 16:23:22 +0100, Nuno Paquete wrote:
>> Starting BIND: /usr/sbin/named
>> named: capset failed: Operation not permitted

>
> # modprobe capability ; named ; echo 'it works!'


That's it. Thanks.
Now, how can I be sure that this works next time the system starts up?

Nuno Paquete.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-19-2008, 12:38 PM
Mark Hill
 
Posts: n/a
Default Re: Bind won't start.

On Wed, 23 Jun 2004 20:00:15 +0100,
Nuno Paquete <nmp@ispgaya.pt> wrote:

[ modprobe capability ]

> Now, how can I be sure that this works next time the system starts up?


One way would be to add the modprobe command to the bind_start function
in /etc/rc.d/rc.bind, just before named is started. (There may be a
smarter way, I'm not familar with bind.)


--
Mark Hill <mrhil@gmail.com>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-19-2008, 12:38 PM
/dev/rob0
 
Posts: n/a
Default Re: Bind won't start.

On Wed, 23 Jun 2004 20:00:15 +0100, Nuno Paquete wrote:
> Now, how can I be sure that this works next time the system starts up?


You need The Book:
http://slackware.com/book/
http://slackbook.lizella.net/

I bet that one's in the FAQ as well, but I didn't look to see.
--
/dev/rob0 - preferred_email=i$((28*28+28))@softhome.net
or put "not-spam" or "/dev/rob0" in Subject header to reply

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:07 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com