#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2003
    Posts
    2
    Rep Power
    0

    Problem with named.pid file


    Hi I'm trying to set up a bind in a chroot jail but I keep on getting this error.

    Apr 29 17:27:57 dnstest named[2534]: starting BIND 9.1.0 -t /chroot -u named -c etc/named.conf
    Apr 29 17:27:57 dnstest named[2534]: using 1 CPU
    Apr 29 17:27:57 dnstest named: named startup succeeded
    Apr 29 17:27:57 dnstest named[2536]: loading configuration from 'etc/named.conf'
    Apr 29 17:27:57 dnstest named[2536]: no IPv6 interfaces found
    Apr 29 17:27:57 dnstest named[2536]: listening on IPv4 interface lo, 127.0.0.1#53
    Apr 29 17:27:57 dnstest named[2536]: listening on IPv4 interface eth0, 19.200.10.27#53
    Apr 29 17:27:57 dnstest named[2536]: command channel listening on 127.0.0.1#953
    Apr 29 17:27:57 dnstest named[2536]: couldn't open pid file 'var/run/named.pid': No such file or directory
    Apr 29 17:27:57 dnstest named[2536]: exiting (due to early fatal error)


    Does anyone know what cause's this and is there a work around. Thanks

    fintan.
  2. #2
  3. Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2003
    Posts
    28
    Rep Power
    0
    /var/run/named/named.pid will be generated oly if named is started


    Try

    1) touch a file named.pid nad try startig named

    or

    change jail shell /bin/bash

    Thanks
    Ranjith
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2003
    Posts
    2
    Rep Power
    0
    It doesn't matter where I specify the pid file. It still says the same error.

    I don't really want to go messing with /bin/bash since I have no experience with it.

    There should be an easier way than that.

    Thanks

IMN logo majestic logo threadwatch logo seochat tools logo