LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-10-2009, 03:34 AM   #1
AdnanShaheen
Member
 
Registered: Aug 2009
Distribution: Suse, RedHat, CentOS, Solaris, Windows
Posts: 38

Rep: Reputation: 16
BIND problem


Hi every one
I am using CentOS 5 (release)
I have installed BIND using command
#yum -y install bind

I have copied all the necessary files (named.config) to /etc

I am not able to check the status of service

Code:
#service named status
rndc: no server specified and no default
named is stopped
I assume it is stopped as last line says.

Then I tried to start the named service
Code:
#service named start
Starting named: named: capset failed: Operation not permitted: please ensure that the capset kernel module is loaded. see insmod(8
)

I searched a lot over the internet but ending up no where.
 
Old 08-10-2009, 03:52 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
http://www.bind9.net/BIND-FAQ
 
Old 08-10-2009, 04:37 AM   #3
AdnanShaheen
Member
 
Registered: Aug 2009
Distribution: Suse, RedHat, CentOS, Solaris, Windows
Posts: 38

Original Poster
Rep: Reputation: 16
I know about "The capability module, part of "Linux Security Modules/LSM", has not been
loaded into the kernel. See insmod(8)."
But how to do it?
 
Old 08-10-2009, 12:59 PM   #4
fpmurphy
Member
 
Registered: Jan 2009
Location: /dev/ph
Distribution: Fedora, Ubuntu, Redhat, Centos
Posts: 299

Rep: Reputation: 62
The kernel module isn't actually named capset, it is called "capability".
You need to create a local.modules file (mode 755) in the /etc/sysconfig/modules/ directory and add it.
 
Old 08-10-2009, 11:59 PM   #5
AdnanShaheen
Member
 
Registered: Aug 2009
Distribution: Suse, RedHat, CentOS, Solaris, Windows
Posts: 38

Original Poster
Rep: Reputation: 16
Thank you very much for your reply
This is how my /etc/sysconfig/modules directory looks
Code:
#cd /etc/sysconfig/modules
#ls -la
drwxr-xr-x  2 root root 1024 Jul   1  2007 .
drwxr-xr-x 12 root root 2048 Aug  10 19:26 ..
-rwxr-xr-x  1 root root  100 Mar  14  2007 udev-stw.modules
I added a file local.modules with mode 755.

I added "capability" and reboot the system, then tried but same error
Then I write "modprobe capability" and reboot the system, but same error

Regards:-
Adnan Shaheen

Last edited by AdnanShaheen; 08-11-2009 at 12:24 AM. Reason: Alteration
 
Old 08-11-2009, 12:31 AM   #6
AdnanShaheen
Member
 
Registered: Aug 2009
Distribution: Suse, RedHat, CentOS, Solaris, Windows
Posts: 38

Original Poster
Rep: Reputation: 16
Also to note, when I do
#modprobe capability
FATAL: Module capability not found.

Additionally I am not able to find any "capability.ko" file on my system

Last edited by AdnanShaheen; 08-11-2009 at 02:09 AM. Reason: addition
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bind problem: config files are missing after re-install bind 9.5 on Fedora Core 8 elvisious Linux - Software 1 07-15-2008 07:49 PM
[HELP ] Bind problem mehboob_urrehman Linux - Server 1 03-13-2008 04:57 AM
Can I bind to a serial port using BIND Socket API?? venkat_p257 Linux - General 2 12-04-2007 05:49 AM
Bind problem WiWa Linux - Networking 4 06-03-2004 09:53 AM
problem with bind krimson Linux - Software 0 01-19-2004 05:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration