Find the answer to your Linux question:
Results 1 to 2 of 2
Hey everyone Please help me When I write this command /usr/sbin/named -g I always get this message 22-Oct-2007 12:03:49.626 starting BIND 9.3.4-P1 -g 22-Oct-2007 12:03:49.628 found 1 CPU, using 1 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2007
    Posts
    8

    Question BIND 9.3.4 problem


    Hey everyone
    Please help me
    When I write this command /usr/sbin/named -g
    I always get this message

    22-Oct-2007 12:03:49.626 starting BIND 9.3.4-P1 -g
    22-Oct-2007 12:03:49.628 found 1 CPU, using 1 worker thread
    22-Oct-2007 12:03:49.635 loading configuration from '/etc/named.conf'
    22-Oct-2007 12:03:49.639 listening on IPv4 interface lo, 127.0.0.1#53
    22-Oct-2007 12:03:49.642 binding TCP socket: address in use
    22-Oct-2007 12:03:49.643 listening on IPv4 interface eth0, 192.168.1.29#53
    22-Oct-2007 12:03:49.645 binding TCP socket: address in use
    22-Oct-2007 12:03:49.652 couldn't add command channel 127.0.0.1#953: address in use
    22-Oct-2007 12:03:49.653 couldn't add command channel ::1#953: address in use
    22-Oct-2007 12:03:49.655 ignoring config file logging statement due to -g option
    22-Oct-2007 12:03:49.656 couldn't open pid file '/var/run/named/named.pid': Permission denied
    22-Oct-2007 12:03:49.657 exiting (due to early fatal error)

    so please any on can tell me what to do ????
    Thank you

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    Couple of things to look at/for:

    Type in the following;
    Code:
    ps -ef | grep named
    This will show you if named is already running. You only want named to run once. If named is running then you don't need to stop it again. also you should be root to start named as that is why you see the Permission denied in the logs.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •