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-16, 22:23:29

Author Topic: Bind Error  (Read 11846 times)

0 Members and 1 Guest are viewing this topic.

Offline rAXv2

  • Valuable Member
  • *
  • Posts: 68
  • Karma: +0/-0
    • View Profile
Bind Error
« on: 2014-10-20, 16:57:52 »
Hi getting this error now

[root@srv1 ~]# sh /script/restart-all

*** Process for MYSQL/MARIADB service ***
  - No need started
  - Process: reload
No message for reload
-------------------------------------------------------------------

*** Process for BIND service ***
Starting named:
Error in named configuration:
/opt/configs/bind/conf/defaults/named.options.conf:148: unknown key 'rndckey'
                                                           [FAILED]
  - Process : restart
Stopping named:                                            [  OK  ]
Starting named:
Error in named configuration:
/opt/configs/bind/conf/defaults/named.options.conf:148: unknown key 'rndckey'
                                                           [FAILED]
-------------------------------------------------------------------

*** Process for HTTPD service ***
  - No need started
  - Process with 'apachectl': graceful
No message for graceful
-------------------------------------------------------------------

*** Process for QMAIL service ***
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
-------------------------------------------------------------------

*** Process for XINETD (including Pure-FTPd) service ***
  - No need started
  - Process: reload
Reloading configuration:                                   [  OK  ]
-------------------------------------------------------------------

*** Process for KLOXO service ***
  - No need started
  - Process: reload
Execute fixlxphpexe for php53s...
Reloading kloxo-phpcgi:                                    [  OK  ]
Reloading kloxo-hiawatha:                                  [  OK  ]
-------------------------------------------------------------------

*** Process for PHP-FPM service ***
  - No need started
  - Process: reload
Reloading php-fpm:                                         [  OK  ]
-------------------------------------------------------------------

Shutting down system logger:                               [  OK  ]
Starting system logger:                                    [  OK  ]
-------------------------------------------------------------------

- For help, type '/script/restart-all --help' or '/script/restart-all -h'

Offline rAXv2

  • Valuable Member
  • *
  • Posts: 68
  • Karma: +0/-0
    • View Profile
Re: Bind Error
« Reply #1 on: 2014-10-20, 17:00:06 »
[root@srv1 ~]# sh /script/sysinfo

A. Kloxo-MR: 7.0.0.b-2014102004

B. OS: CentOS release 6.5 (Final) x86_64

C. Apps:
   1. MySQL: mysql55-5.5.40-1.ius.el6.x86_64
   2. PHP: php53u-5.3.29-1.ius.el6.x86_64
   3. Httpd: httpd-2.2.29-1.mr.el6.x86_64
   4. Lighttpd: --uninstalled--
   5. Hiawatha: hiawatha-9.8.0-f.2.mr.el6.x86_64
   6. Nginx: --uninstalled--
   7. Cache: --uninstalled--
   8. Dns: bind-9.9.5-1.el6.x86_64
   9. Qmail: qmail-toaster-1.03-1.3.38.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.16.mr.el6.x86_64

D. Php-type (for Httpd/proxy):

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          2024        300       1723          0          0        166
   -/+ buffers/cache:        133       1890
   Swap:         2024          0       2024

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Bind Error
« Reply #2 on: 2014-10-21, 02:59:09 »
Run:
Code: [Select]
sed -i 's/rndc-key/rndckey/' /etc/rndc.key
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline kennethwu

  • Junior Member
  • *
  • Posts: 34
  • Karma: +0/-0
    • View Profile
Re: Bind Error
« Reply #3 on: 2014-10-26, 23:12:36 »
Run:
Code: [Select]
sed -i 's/rndc-key/rndckey/' /etc/rndc.key

Named Still fail to start up after run the sed -i 's/rndc-key/rndckey/' /etc/rndc.key

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Bind Error
« Reply #4 on: 2014-10-26, 23:26:29 »
Update your Kloxo-MR 7.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Andi

  • Junior Member
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Bind Error
« Reply #5 on: 2014-10-27, 01:52:07 »
Run:
Code: [Select]
sed -i 's/rndc-key/rndckey/' /etc/rndc.key

Named Still fail to start up after run the sed -i 's/rndc-key/rndckey/' /etc/rndc.key

first try, go to server ->switch program -> change bind to bind, change spam to bogofilter --> reboot

if it doesn't work,
second try
1. cd /var/log
2. mkdir named
3. chmod 777 named

then restart again
4. service named restart
5. cd /var/log/named
6. chmod 777 *
7. service named restart

does it helps you?
« Last Edit: 2014-10-27, 01:59:08 by Andi »

Offline kennethwu

  • Junior Member
  • *
  • Posts: 34
  • Karma: +0/-0
    • View Profile
Re: Bind Error
« Reply #6 on: 2014-10-27, 22:23:51 »
Run:
Code: [Select]
sed -i 's/rndc-key/rndckey/' /etc/rndc.key

Named Still fail to start up after run the sed -i 's/rndc-key/rndckey/' /etc/rndc.key

first try, go to server ->switch program -> change bind to bind, change spam to bogofilter --> reboot

if it doesn't work,
second try
1. cd /var/log
2. mkdir named
3. chmod 777 named

then restart again
4. service named restart
5. cd /var/log/named
6. chmod 777 *
7. service named restart

does it helps you?

service named can start right now, but the web show 500, don't know is the bind problem, all service start up normal, any idea?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Bind Error
« Reply #7 on: 2014-10-27, 22:41:04 »
If you don't use Kloxo-MR 7.0.0-2014102701, possible it's related to permissions or ownership. Run 'sh /script/fix-chownchmod'. This issue (error 500) found if using php-fpm/fcgid as php-type.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline durjoy

  • Junior Member
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Bind Error
« Reply #8 on: 2014-10-30, 13:47:28 »
Run:
Code: [Select]
sed -i 's/rndc-key/rndckey/' /etc/rndc.key

Named Still fail to start up after run the sed -i 's/rndc-key/rndckey/' /etc/rndc.key

first try, go to server ->switch program -> change bind to bind, change spam to bogofilter --> reboot

if it doesn't work,
second try
1. cd /var/log
2. mkdir named
3. chmod 777 named

then restart again
4. service named restart
5. cd /var/log/named
6. chmod 777 *
7. service named restart

does it helps you?

This solution works 100%. All of my BIND servers are working fine now.

Offline rAXv2

  • Valuable Member
  • *
  • Posts: 68
  • Karma: +0/-0
    • View Profile
Re: Bind Error
« Reply #9 on: 2014-11-16, 02:30:32 »
[root@srv1 ~]# sh /script/restart-all

*** Process for MYSQL/MARIADB service ***
  - Process: reload
No message for reload
-------------------------------------------------------------------

*** Process for BIND service ***
Starting named:
Error in named configuration:
/opt/configs/bind/conf/defaults/named.options.conf:148: unknown key 'rndc-key'
                                                           [FAILED]
  - Process : restart
Stopping named:                                            [  OK  ]
Starting named:
Error in named configuration:
/opt/configs/bind/conf/defaults/named.options.conf:148: unknown key 'rndc-key'
                                                           [FAILED]
-------------------------------------------------------------------

Stopping Varnish Cache:                                    [  OK  ]
Starting Varnish Cache:                                    [  OK  ]
-------------------------------------------------------------------

*** Process for NGINX service ***
  - No need started
  - Process: reload
Reloading nginx:                                           [  OK  ]
-------------------------------------------------------------------

*** Process for QMAIL service ***
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
-------------------------------------------------------------------

*** Process for XINETD (including Pure-FTPd) service ***
  - No need started
  - Process: reload
Reloading configuration:                                   [  OK  ]
-------------------------------------------------------------------

*** Process for KLOXO service ***
  - No need started
  - Process: reload
Execute fixlxphpexe for php53s...
Reloading kloxo-phpcgi:                                    [  OK  ]
Reloading kloxo-hiawatha:                                  [  OK  ]
-------------------------------------------------------------------

*** Process for PHP-FPM service ***
  - No need started
  - Process: reload
Reloading php-fpm:                                         [  OK  ]
-------------------------------------------------------------------

Shutting down system logger:                               [  OK  ]
Starting system logger:                                    [  OK  ]
-------------------------------------------------------------------

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

Offline rAXv2

  • Valuable Member
  • *
  • Posts: 68
  • Karma: +0/-0
    • View Profile
Re: Bind Error
« Reply #10 on: 2014-11-16, 02:31:34 »
getting the error again

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Bind Error
« Reply #11 on: 2014-11-16, 03:06:10 »
The same way to resolved.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ibuxxi

  • Senior Member
  • *
  • Posts: 322
  • Karma: +0/-0
    • View Profile
Re: Bind Error
« Reply #12 on: 2014-11-16, 03:10:46 »
i have to same:

Error in named configuration:
/opt/configs/bind/conf/defaults/named.options.conf:148: unknown key 'rndc-key'
                                                           [FEHLGESCHLAGEN]
  - Process : restart
Named beenden:                                             [  OK  ]
Named starten:
Error in named configuration:
/opt/configs/bind/conf/defaults/named.options.conf:148: unknown key 'rndc-key'
                                                           [FEHLGESCHLAGEN]

Code: [Select]
sh /script/sysinfo

A. Kloxo-MR: 7.0.0.b-2014111401

B. OS: CentOS release 6.6 (Final) i686

C. Apps:
   1. MySQL: mysql55-5.5.40-1.ius.el6.i686
   2. PHP: php54-5.4.34-1.ius.el6.i686
   3. Httpd: httpd-2.2.29-1.mr.el6.i386
   4. Lighttpd: --uninstalled--
   5. Hiawatha: hiawatha-9.8.0-f.2.mr.el6.i386
   6. Nginx: --uninstalled--
   7. Cache: --uninstalled--
   8. Dns: bind-9.9.5-1.el6.i686
   9. Qmail: qmail-toaster-1.03-1.3.38.mr.el6.i386
      - with: courier-imap-toaster-4.1.2-1.3.17.mr.el6.i386

D. Php-type (for Httpd/proxy): php-fpm_event

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1893       1291        602         24         35       1033
   -/+ buffers/cache:        222       1670
   Swap:         2047          2       2045

« Last Edit: 2014-11-16, 03:24:22 by ibuxxi »
KVM VPS | Centos 6.8 (32) 2GB | Kloxo-MR 7.0.0.b-2016* | hiawatha | php56 | php-fpm-event | mariadb

Offline ibuxxi

  • Senior Member
  • *
  • Posts: 322
  • Karma: +0/-0
    • View Profile
Re: Bind Error
« Reply #13 on: 2014-11-16, 03:31:02 »
The same way to resolved.

not resolved
KVM VPS | Centos 6.8 (32) 2GB | Kloxo-MR 7.0.0.b-2016* | hiawatha | php56 | php-fpm-event | mariadb

Offline rAXv2

  • Valuable Member
  • *
  • Posts: 68
  • Karma: +0/-0
    • View Profile
Re: Bind Error
« Reply #14 on: 2014-11-16, 04:27:32 »
me too

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.038 seconds with 19 queries.

web stats analysis