Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-24, 05:48:46

Author Topic: Bind service not starting  (Read 4192 times)

0 Members and 1 Guest are viewing this topic.

Offline sandipcd

  • Senior Member
  • *
  • Posts: 167
  • Karma: +0/-0
    • View Profile
Bind service not starting
« on: 2017-04-14, 11:21:47 »
When I am giving this command 'sh /script/restart-dns'. Bind service never start properly. Before restarting I have given the command '/script/fix-all'.


Code: [Select]
[root@s1 ~]# sh /script/restart-dns

*** Process for BIND service ***
  - Process: restart
Stopping named:                                            [  OK  ]
Starting named:                                            [FAILED]
-------------------------------------------------------------------

- For help, type '/script/restart-dns [--help|-h]'

Server information is given below -

Code: [Select]
[root@s1 ~]# sh /script/sysinfo
A. Control Panel:
   - Kloxo-MR: 7.0.0.c-2017041002
   - Web: hiawatha-10.5.0-f.2.mr.el6.x86_64
   - PHP: php56s-5.6.30-2.ius.centos6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.9 (Final) x86_64
   - Hostname: s1.ultracorporatepixel.com
C. Services:
   1. MySQL: MariaDB-server-10.0.30-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php56u-cli-5.6.30-2.ius.centos6.x86_64
        - Multiple:
          * php54m-5.4.45-1.ius.centos6
          * php55m-5.5.38-1.ius.centos6
          * php56m-5.6.30-2.ius.centos6
          * php70m-7.0.17-1.ius.centos6
      - Used: --PHP Branch--
      - Multiple: disable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.5.0-f.2.mr.el6.x86_64
     - Lighttpd: lighttpd-1.4.45-1.el6.x86_64
     - Nginx: nginx-1.12.0-1.el6.ngx.x86_64
     - Apache: httpd-2.2.31-1.mr.el6.x86_64
       - PHP Type: php-fpm_event
       - Secondary PHP: off
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - Bind: bind-9.9.9-1.mr.el6.x86_64
     - DJBDns: djbdns-1.05-17.4.mr.el6.x86_64
     - NSD: nsd-4.1.14-1.el6.x86_64
     - PowerDNS: pdns-4.0.3-1.el6.MIND.x86_64
     - Yadifa: yadifa-2.2.3-1.mr.el6.x86_64
   6. Mail: qmail-toaster-1.03-1.3.56.mr.el6.x86_64
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el6.x86_64
      - smtp: qmail-toaster-1.03-1.3.56.mr.el6.x86_64
      - spam: bogofilter-1.2.4-1.el6.x86_64
   7. FTP: pure-ftpd
      - pure-ftpd: pure-ftpd-1.0.37-1.mr.el6.x86_64
   8. Stats: awstats
      - awstats: --uninstalled--
D. Memory:
             total       used       free     shared    buffers     cached
Mem:         31940        737      31202          0         23        184
-/+ buffers/cache:        529      31411
Swap:        11439          0      11439
E. Disk Space:
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg_s1-lv_root
                       50G  2.8G   44G   6% /


*** Process Time: 00:00:00:12.12552 (dd:hh:mm:ss:xxxxxx) ***

* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
        (importance after Kloxo-MR update)

Can you please help to start the Bind service?

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: Bind service not starting
« Reply #1 on: 2017-04-14, 14:23:15 »
I've seen this with recent updates and the problem is one of the other DNS servers (pdns, djbdns ..)are probably running!
Find out which one is bound to port 53 by
netstat -tulpn | grep :53

Then you will see the daemon name and then stop the daemon by
/etc/init.d/{daemonname} stop   or systemctl stop {daemonname} if you are on C7.
Kloxo-MR!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Bind service not starting
« Reply #2 on: 2017-04-14, 14:46:18 »
In latest update, all web servers and dns servers installed. If change this server (let say nginx to haiwatha), Kloxo-MR just process inactive all and then active that needed.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: Bind service not starting
« Reply #3 on: 2017-04-14, 14:55:24 »
This is exactly what i've noticed on my servers. Switching in the web is quick due to all servers being pre-installed.
However, there is apparently an issue at least on C7 where bind won't start since one of the other DNS servers (not chosen one) is started and bound to port 53!


In latest update, all web servers and dns servers installed. If change this server (let say nginx to haiwatha), Kloxo-MR just process inactive all and then active that needed.
Kloxo-MR!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Bind service not starting
« Reply #4 on: 2017-04-14, 15:46:05 »
Run 'sh /script/cleanup' will be fixed this issue.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline sandipcd

  • Senior Member
  • *
  • Posts: 167
  • Karma: +0/-0
    • View Profile
Re: Bind service not starting
« Reply #5 on: 2017-04-14, 17:46:53 »
Run 'sh /script/cleanup' will be fixed this issue.

Yes, this works, now Bind service started. Thank you.

Code: [Select]
[root@s1 ~]# sh /script/restart-dns

*** Process for BIND service ***
  - Process: restart
Stopping named: .                                          [  OK  ]
Starting named:                                            [  OK  ]
-------------------------------------------------------------------

- For help, type '/script/restart-dns [--help|-h]'

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.03 seconds with 19 queries.

web stats analysis