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-27, 21:11:56

Author Topic: Kloxo Panel down, sh /script/restart-all stuck at starting DJBDNS  (Read 3567 times)

0 Members and 1 Guest are viewing this topic.

Offline NginxHolic

  • Valuable Member
  • *
  • Posts: 84
  • Karma: +1/-0
    • View Profile
Dear Pak Mustafa,

Please help me to fix the problem.

Right now I can not access Kloxo Panel (Kloxo Panel down, command netstat -ntulp shows no sign of Kloxo Panel port active) and doing command 'sh /script/restart-all' stuck at starting DJBDNS service.

All of the problems were started after I added the hostname of my Kloxo-MR as a domain in Kloxo MR (hostname: kloxo.domain.tld)

Then I activate Letsencrypt SSL on that domain

After that I set that SSL for Kloxo (I want to change default SSL Certificate of Kloxo-MR panel).

After I realized nothing happened, then I decided to use default Kloxo-MR certificate for the panel.

I remove the certificate in Kloxo-MR panel, then I deleted the domain which was the hostname of my server in Kloxo-MR panel.

Then suddenly I lost access to Kloxo-MR panel. I checked if the port is up but it isn't.

I tried to restart all service using command 'sh /script/restart-all' but it stuck at starting DJBDNS (EDIT: after 5 minutes it says 2 problems occurs:
Code: [Select]
Restarting djbdns (via systemctl):  Job for djbdns.service failed because a timeout was exceeded. See "systemctl status djbdns.service" and "journalctl -xe" for details.here is from "systemctl status djbdns.service"
Code: [Select]
* djbdns.service - SYSV: DJBDns is a World Wide DNS server.
   Loaded: loaded (/etc/rc.d/init.d/djbdns; bad; vendor preset: disabled)
   Active: failed (Result: timeout) since Tue 2017-07-04 21:58:31 WIB; 11min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 2455 ExecStart=/etc/rc.d/init.d/djbdns start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/djbdns.service
           |-  840 tcpserver -vDRHl0 -x tcp.cdb -- 0.0.0.0 53 //bin/axfrdns
           |-  844 //bin/tinydns
           |- 1493 //bin/tinydns
           |- 1626 //bin/tinydns
           |- 1970 //bin/tinydns
           |- 2460 //bin/tinydns
           |-12916 //bin/tinydns
           `-13478 //bin/tinydns

Jul 04 21:53:31 kloxo.domain.tld systemd[1]: Starting SYSV: DJBDns is a World Wide DNS server....
Jul 04 21:53:31 kloxo.domain.tld djbdns[2455]: Starting Djbdns for:
Jul 04 21:53:31 kloxo.domain.tld djbdns[2455]: - axfrdns    [  OK  ]
Jul 04 21:53:31 kloxo.domain.tld djbdns[2455]: - tinydns    [  OK  ]
Jul 04 21:53:31 kloxo.domain.tld systemd[1]: PID file /var/run/djbdns.pid not readable (yet?) after start.
Jul 04 21:58:31 kloxo.domain.tld systemd[1]: djbdns.service start operation timed out. Terminating.
Jul 04 21:58:31 kloxo.domain.tld systemd[1]: Failed to start SYSV: DJBDns is a World Wide DNS server..
Jul 04 21:58:31 kloxo.domain.tld systemd[1]: Unit djbdns.service entered failed state.
Jul 04 21:58:31 kloxo.domain.tld systemd[1]: djbdns.service failed.

The second problem was:
Code: [Select]
Job for kloxo-web.service failed because the control process exited with error code. See "systemctl status kloxo-web.service" and "journalctl -xe" for details.the content:
Code: [Select]
* kloxo-web.service - Startup script for Kloxo-MR.
   Loaded: loaded (/usr/lib/systemd/system/kloxo-web.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2017-07-04 21:58:39 WIB; 9min ago
     Docs: https://forum.mratwork.com/
  Process: 3333 ExecStart=/usr/local/lxlabs/kloxo/init/kloxo-hiawatha -c /usr/local/lxlabs/kloxo/init (code=exited, status=1/FAILURE)
  Process: 3327 ExecStartPre=/usr/bin/lxphp.exe -f /usr/local/lxlabs/kloxo/init/changeport.php (code=exited, status=0/SUCCESS)

Jul 04 21:58:39 kloxo.domain.tld systemd[1]: Starting Startup script for Kloxo-MR....
Jul 04 21:58:39 kloxo.domain.tld kloxo-hiawatha[3333]: Error loading private key from /usr/local/lxlabs/kloxo/etc/program.pem: PK - Read/write of file failed (-0x3E00)
Jul 04 21:58:39 kloxo.domain.tld systemd[1]: kloxo-web.service: control process exited, code=exited status=1
Jul 04 21:58:39 kloxo.domain.tld systemd[1]: Failed to start Startup script for Kloxo-MR..
Jul 04 21:58:39 kloxo.domain.tld systemd[1]: Unit kloxo-web.service entered failed state.
Jul 04 21:58:39 kloxo.domain.tld systemd[1]: kloxo-web.service failed.


A. Control Panel:
   - Kloxo-MR: 7.0.0.c-2017060801
   - Web: hiawatha-10.6.0-f.1.mr.el7.x86_64
   - PHP: php56s-5.6.30-2.ius.centos7 (fpm mode)
B. Plateform:
   - OS: CentOS Linux release 7.3.1611 (Core) x86_64
   - Hostname: kloxo.domain.tld
C. Services:
   1. MySQL: MariaDB-server-10.0.31-1.el7.centos.x86_64
   2. PHP:
      - Installed:
        - Branch: php56u-cli-5.6.30-2.ius.centos7.x86_64
        - Multiple:
          * php56m-5.6.30-2.ius.centos7
          * php71m-7.1.5-1.ius.centos7
      - Used: php56m-fpm
      - Multiple: enable
   3. Web Used: hiawathaproxy
     - Hiawatha: hiawatha-10.6.0-f.1.mr.el7.x86_64
     - Lighttpd: lighttpd-1.4.45-1.el7.x86_64
     - Nginx: nginx-1.13.1-1.el7.ngx.x86_64
     - Apache: httpd24u-2.4.25-4.ius.centos7.x86_64
       - PHP Type: php-fpm_event
       - Secondary PHP: off
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: djbdns
     - Bind: bind-9.9.9-1.mr.el7.x86_64
     - DJBDns: djbdns-1.05-17.4.mr.el7.x86_64
     - NSD: nsd-4.1.16-1.el7.x86_64
     - PowerDNS: pdns-4.0.3-1.el7.MIND.x86_64
     - Yadifa: yadifa-2.2.5-1.el7.x86_64
   6. Mail: qmail-toaster-1.03-1.3.56.mr.el7.x86_64
      - pop3/imap4: dovecot-toaster-2.2.24-1.mr.el7.x86_64
      - smtp: qmail-toaster-1.03-1.3.56.mr.el7.x86_64
      - spam: --uninstalled--
   7. FTP: pure-ftpd
      - pure-ftpd: pure-ftpd-1.0.42-3.el7.x86_64
   8. Stats: awstats
      - awstats: kloxomr-stats-awstats-7.6-1.mr.noarch
« Last Edit: 2017-07-04, 17:09:08 by NginxHolic »

Offline NginxHolic

  • Valuable Member
  • *
  • Posts: 84
  • Karma: +1/-0
    • View Profile
I just found the solution:

1. DJBDNS
It was stuck because DJBDNS was never installed before even on the Kloxo-MR panel states it is installed.
Solution: Remove the package

2. Kloxo-web error
It was because after I deleted the domain and the certificate, the Kloxo MR Panel SSL configuration was still referring to the old .pem file thus when restarted it still look for non existent .PEM file.
Solution: point .PEM into a new working .PEM file which consist of RSA Key, CRT Key and CA Bundle Key.


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Try update your Kloxo-MR 7.0
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.027 seconds with 18 queries.

web stats analysis