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-26, 17:38:16

Author Topic: Domains not working after restore Kloxo 7 , Centos7  (Read 14966 times)

0 Members and 1 Guest are viewing this topic.

Offline rajitbansal

  • Junior Member
  • *
  • Posts: 36
  • Karma: +0/-0
    • View Profile
My server was compromised so i took up and backup and reinstalled the OS
After that i installed KloxoMr7
and tried to restore my previous backup .

Backup was restored successfully but non of the site is opening now .
i can access kloxo panel but website is not opening .

Chrome shows me ERR_CONNECTION_RESET

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Domains not working after restore Kloxo 7 , Centos7
« Reply #1 on: 2017-07-18, 11:25:28 »
Inform here 'sh /script/sysinfo' and what's you see for 'sh /script/restart-all'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline rajitbansal

  • Junior Member
  • *
  • Posts: 36
  • Karma: +0/-0
    • View Profile
Re: Domains not working after restore Kloxo 7 , Centos7
« Reply #2 on: 2017-07-18, 11:33:31 »
Code: [Select]
[root@server1 ~]# sh /script/sysinfo
A. Control Panel:
   - Kloxo-MR: 7.0.0.c-2017071101
   - 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: server1
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
      - Used: --PHP Branch--
      - Multiple: disable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.6.0-f.1.mr.el7.x86_64
     - Lighttpd: lighttpd-1.4.45-1.el7.x86_64
     - Nginx: nginx-1.13.3-1.el7.ngx.x86_64
     - Apache: httpd-2.4.6-45.el7.centos.4.x86_64
       - PHP Type: php-fpm_event (default)
       - Secondary PHP: off
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - 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: courier-imap-toaster-4.1.2-1.3.20.mr.el7.x86_64
      - smtp: qmail-toaster-1.03-1.3.56.mr.el7.x86_64
      - spam: bogofilter-1.2.3-6.el7.x86_64
   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
D. Memory:
              total        used        free      shared  buff/cache   available
Mem:           1024         156         300           2         567         725
Swap:             0           0           0
E. Disk Space:
Filesystem      Size  Used Avail Use% Mounted on
/dev/simfs       50G  4.0G   47G   8% /


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

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

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

Restarting httpry (via systemctl):                         [  OK  ]
-------------------------------------------------------------------

*** Process for MYSQL/MARIADB service ***
  - Process: restart
Shutting down MySQL. SUCCESS!
Starting MySQL.170718 09:41:08 mysqld_safe Logging to '/var/lib/mysql/server1.err'.
170718 09:41:08 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
 SUCCESS!
-------------------------------------------------------------------

*** Process for BIND service ***
  - Process: restart
Stopping named (via systemctl):                            [  OK  ]
Starting named (via systemctl):                            [  OK  ]
-------------------------------------------------------------------

Redirecting to /bin/systemctl restart  php-fpm.service
-------------------------------------------------------------------

*** Process for HTTPD service ***
  - Process: restart
Redirecting to /bin/systemctl stop  httpd.service
Redirecting to /bin/systemctl start  httpd.service
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
-------------------------------------------------------------------

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

Redirecting to /bin/systemctl restart  kloxo-web.service
-------------------------------------------------------------------

Redirecting to /bin/systemctl restart  kloxo-php.service
-------------------------------------------------------------------

Redirecting to /bin/systemctl restart  kloxo-wrap.service
-------------------------------------------------------------------

- For help, type '/script/restart-all [--help|-h]'
[root@server1 ~]#

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Domains not working after restore Kloxo 7 , Centos7
« Reply #3 on: 2017-07-18, 11:35:37 »
Inform here 'systemctl status httpd -l'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline rajitbansal

  • Junior Member
  • *
  • Posts: 36
  • Karma: +0/-0
    • View Profile
Re: Domains not working after restore Kloxo 7 , Centos7
« Reply #4 on: 2017-07-18, 11:37:40 »
Code: [Select]
[root@server1 ~]# systemctl status httpd -l
? httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2017-07-18 09:41:13 UTC; 4min 8s ago
     Docs: man:httpd(8)
           man:apachectl(8)
  Process: 1584 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
  Process: 1582 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
 Main PID: 1582 (code=exited, status=1/FAILURE)

Jul 18 09:41:13 server1 systemd[1]: Starting The Apache HTTP Server...
Jul 18 09:41:13 server1 httpd[1582]: httpd: Syntax error on line 13 of /etc/httpd/conf/httpd.conf: Cannot load modules/mod_authn_alias.so into server: /etc/httpd/modules/mod_authn_alias.so: cannot open shared object file: No such file or directory
Jul 18 09:41:13 server1 systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Jul 18 09:41:13 server1 kill[1584]: kill: cannot find process ""
Jul 18 09:41:13 server1 systemd[1]: httpd.service: control process exited, code=exited status=1
Jul 18 09:41:13 server1 systemd[1]: Failed to start The Apache HTTP Server.
Jul 18 09:41:13 server1 systemd[1]: Unit httpd.service entered failed state.
Jul 18 09:41:13 server1 systemd[1]: httpd.service failed.
[root@server1 ~]#

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Domains not working after restore Kloxo 7 , Centos7
« Reply #5 on: 2017-07-18, 11:41:12 »
Try 'sh /script/cleanup'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline rajitbansal

  • Junior Member
  • *
  • Posts: 36
  • Karma: +0/-0
    • View Profile
Re: Domains not working after restore Kloxo 7 , Centos7
« Reply #6 on: 2017-07-18, 11:54:31 »
It worked :)
Thanks for help ..

If possible can u tell me ways to make the server secure.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Domains not working after restore Kloxo 7 , Centos7
« Reply #7 on: 2017-07-18, 11:57:59 »
It worked :)
Thanks for help ..

If possible can u tell me ways to make the server secure.
In my opinion, Kloxo-MR secure enough. So, you don't need running filewall like iptables or csf.

Most security issue related to application in website (like wordpress).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline rajitbansal

  • Junior Member
  • *
  • Posts: 36
  • Karma: +0/-0
    • View Profile
Re: Domains not working after restore Kloxo 7 , Centos7
« Reply #8 on: 2017-07-18, 13:59:21 »
Now site is working but webmail giving error



Error 500 - Internal Server Error

A generic error message, given when no more specific message is suitable
 

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Domains not working after restore Kloxo 7 , Centos7
« Reply #9 on: 2017-07-18, 14:03:18 »
Reset mysql root password with 'sh /script/reset-mysql-root-password YOURNEWPASSWORD' and then run 'sh /script/fixmail-all'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline rajitbansal

  • Junior Member
  • *
  • Posts: 36
  • Karma: +0/-0
    • View Profile
Re: Domains not working after restore Kloxo 7 , Centos7
« Reply #10 on: 2017-07-18, 14:11:22 »
Done the first step
On second its asking password repeatidly even though i changed via panel too, i am going for reboot now

Offline rajitbansal

  • Junior Member
  • *
  • Posts: 36
  • Karma: +0/-0
    • View Profile
Re: Domains not working after restore Kloxo 7 , Centos7
« Reply #11 on: 2017-07-18, 19:17:31 »
Done these steps but still 500 error

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Domains not working after restore Kloxo 7 , Centos7
« Reply #12 on: 2017-07-19, 02:27:31 »
All webmail applications error?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline rajitbansal

  • Junior Member
  • *
  • Posts: 36
  • Karma: +0/-0
    • View Profile
Re: Domains not working after restore Kloxo 7 , Centos7
« Reply #13 on: 2017-07-19, 18:27:36 »
Yes none working

Offline rajitbansal

  • Junior Member
  • *
  • Posts: 36
  • Karma: +0/-0
    • View Profile
Re: Domains not working after restore Kloxo 7 , Centos7
« Reply #14 on: 2017-07-20, 07:45:04 »
None of the email service is working :(

 


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

Page created in 0.063 seconds with 21 queries.

web stats analysis