Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 13 of 13
  1. #1
    Member
    Join Date
    Jul 2004
    Posts
    133

    Default 2087 port problem, DNS issues

    Hello all,

    In a fresh install I am experiencing problems related with Bind.

    DNS is not working at all and the only way to make it work is to stop it first and then to start bind like:
    /usr/sbin/named -u named -c /etc/named.conf


    Apart from that I cannot access https and 2087 port. In this case I need to do:
    /etc/init.d/xinetd stop
    service cpanel restart

    Any ideas how can I solve this issues?

    I disabled xinetd via webmin and also check the rc3.d dir in case that exist but the xinetd deamon is still running after a reboot.

    Thanks

  2. #2
    Member nickb's Avatar
    Join Date
    Feb 2005
    Location
    India
    Posts
    347

    Default

    Steps mentioned by chirpy in the below thread should help you :

    http://forums.cpanel.net/showthread.php?t=38267
    Either Zero Or Hundred...

  3. #3
    Member
    Join Date
    Jul 2004
    Posts
    133

    Default

    Thanks for the answer nickb.
    I've seen that post and did everything but as I said the problem remains after I reboot the server.

    Any other suggestions?

  4. #4
    Member nickb's Avatar
    Join Date
    Feb 2005
    Location
    India
    Posts
    347

    Default

    any error messages in /var/log/messages related to bind....and stunnel?...try restarting both and post errors..
    Either Zero Or Hundred...

  5. #5
    Member
    Join Date
    Jul 2004
    Posts
    133

    Default

    Here are a few error that I found on messages :

    xinetd[20481]: bind failed (Address already in use (errno = 98)). service = pop3
    xinetd[20481]: bind failed (Address already in use (errno = 98)). service = pop3s
    xinetd[20481]: xinetd Version 2.3.12 started with libwrap loadavg options compiled in.

    Apart from the above nothing else.

  6. #6
    Member nickb's Avatar
    Join Date
    Feb 2005
    Location
    India
    Posts
    347

    Default

    Do u have portsentry running if yes then stop it, restart xineted, restart bind then start portsentry.....
    Last edited by nickb; 08-05-2005 at 08:39 AM. Reason: typo
    Either Zero Or Hundred...

  7. #7
    Member
    Join Date
    Jul 2004
    Posts
    133

    Default

    nickb the problem comes only after a reboot.
    Portsentry is not running.

  8. #8
    Staff Member cpanelben's Avatar
    Join Date
    Feb 2004
    Location
    Houston, Texas USA
    Posts
    598
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Using webmin alongside cPanel is not supported and I've seen this cause various problems. Your issue appears to be some invalid entries in /etc/xinetd.d/. Check this directory and remove anything you don't need or want.

  9. #9
    Member
    Join Date
    Jul 2004
    Posts
    133

    Default

    Ok I will check and see how it goes.

    What about:
    DNS seems to work (ps ax gives me that bind is running) but in the real world it seems to be broken. It doesn't even reply with the right responce when I am doing a nslookup on the same server.
    It works only if I stop it and start it with:
    /usr/sbin/named -u named -c /etc/named.conf

    Any ideas?

  10. #10
    Member
    Join Date
    Sep 2003
    Posts
    658

    Default

    any errors in /var/log/messages after you restart Bind?

  11. #11
    Member
    Join Date
    Jul 2004
    Posts
    133

    Default

    I stopped bind and start it via cpanel (/scripts/restartsrv_named) and I am getting the following error in logs:

    Aug 5 18:01:44 server1 named[13220]: zone 0.in-addr.arpa/IN: loaded serial 42
    Aug 5 18:01:44 server1 named[13220]: zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700
    Aug 5 18:01:44 server1 named[13220]: zone 255.in-addr.arpa/IN: loaded serial 42
    Aug 5 18:01:44 server1 named[13220]: zone 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 1997022700
    Aug 5 18:01:44 server1 named[13220]: zone mydomain.com/IN: loading master file /var/named/mydomain.com.db: file not found
    Aug 5 18:01:44 server1 named[13220]: zone ns1.mydomain.com/IN: loading master file /var/named/ns1.mydomain.com.db: file not found
    Aug 5 18:01:44 server1 named[13220]: zone ns2.mydomain.com/IN: loading master file /var/named/ns2.mydomain.com.db: file not found
    Aug 5 18:01:44 server1 named[13220]: zone localdomain/IN: loaded serial 42
    Aug 5 18:01:44 server1 named[13220]: zone localhost/IN: loaded serial 42
    Aug 5 18:01:44 server1 named[13220]: running

    The strange thing is that /var/named/mydomain.com.db exist in the server.



    Now I stopped the bind and start it with the working command:
    /usr/sbin/named -u named -c /etc/named.conf

    logs are:
    Aug 5 18:02:33 server1 named[31809]: zone 255.in-addr.arpa/IN: loaded serial 42
    Aug 5 18:02:33 server1 named[31809]: zone 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 1997022700
    Aug 5 18:02:33 server1 named[31809]: zone mydomain.com/IN: loaded serial 2005080403
    Aug 5 18:02:33 server1 named[31809]: zone ns1.mydomain.com/IN: loaded serial 2005080402
    Aug 5 18:02:33 server1 named[31809]: zone ns2.mydomain.com/IN: loaded serial 2005080403
    Aug 5 18:02:33 server1 named[31809]: zone localdomain/IN: loaded serial 42
    Aug 5 18:02:34 server1 named[31809]: zone localhost/IN: loaded serial 42
    Aug 5 18:02:34 server1 named[31809]: running
    Aug 5 18:02:34 server1 named[31907]: zone mydomain.com/IN: sending notifies (serial 2005080403)
    Aug 5 18:02:34 server1 named[31840]: received notify for zone 'mydomain.com'


    Any help is much appretiate.

  12. #12
    Member
    Join Date
    Sep 2003
    Posts
    658

    Default

    Take a look at the named.conf and the options are set with the correct path to

    directory "/var/namedb";

  13. #13
    Member
    Join Date
    Jul 2004
    Posts
    133

    Default

    Quote Originally Posted by easyhoster1
    Take a look at the named.conf and the options are set with the correct path to

    directory "/var/namedb";
    The directory /var/namedb does not exist in the server.
    Only the /var/named and there is no namedb directory there.

Similar Threads & Tags
Similar threads

  1. DNS Only upcp and port 2087 problems
    By will_raymo2000 in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 06-04-2007, 08:30 PM
  2. DNS Clustering - port 2087 problem
    By chzelle in forum cPanel and WHM Discussions
    Replies: 17
    Last Post: 05-17-2006, 04:37 AM
  3. Port 2087/2083 daily issues
    By JeremyL in forum cPanel and WHM Discussions
    Replies: 23
    Last Post: 08-24-2005, 06:29 PM
  4. SSL problem, i can not see 2087 port
    By gara in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-06-2005, 12:32 PM
  5. DNS Clustering - port 2087 problem.
    By Biotron2000 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-28-2004, 10:11 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube