MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: rAXv2 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'
-
[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
-
Run:
sed -i 's/rndc-key/rndckey/' /etc/rndc.key
-
Run:
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
-
Update your Kloxo-MR 7.
-
Run:
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?
-
Run:
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?
-
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.
-
Run:
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.
-
[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]'
-
getting the error again
-
The same way to resolved.
-
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]
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
-
The same way to resolved.
not resolved
-
me too
-
switched to nsd for now
-
Hello, I also have the same problem. Can anybody help?
-
If using Kloxo-MR 7.0, switch to 'none' and then switch back to bind but recommend to use nsd instead bind because less memory usage.