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, 16:07:53

Author Topic: Fresh installed kloxomr7 on centos7 problems  (Read 15669 times)

0 Members and 1 Guest are viewing this topic.

Offline idove

  • Valuable Member
  • *
  • Posts: 142
  • Karma: +0/-0
    • View Profile
Fresh installed kloxomr7 on centos7 problems
« on: 2017-08-29, 12:02:38 »
Hi,
I freshly installed kloxomr7 on centos7 (now it is 3rd) time, and after reboot VPS via shell, I can't access anymore to web admin. Now the third time I try just to install and after sh /script/upcp, try to open web admin it works. Reboot from shell, and there is no more access to web admin.

Please for suggestions.
Tnx.

Using:
OpenStack Cloud (Fleio account) on intovps

Possible problems:
Code: [Select]
[root@server ~]# sh /script/restart-all

Redirecting to /bin/systemctl restart  rsyslog.service
-------------------------------------------------------------------

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

*** Process for MYSQL/MARIADB service ***
  - Process: restart
Shutting down MySQL. SUCCESS!
Starting MySQL.170829 05:50:47 mysqld_safe Logging to '/var/lib/mysql/server.myserver.com.err'.
170829 05:50:47 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):  Job for named.service failed because the control process exited with error code. See "systemctl status named.service" and "journalctl -xe" for details.
                                                           [FAILED]
-------------------------------------------------------------------

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@server ~]# systemctl status named.service -l
? named.service - LSB: start|stop|status|restart|try-restart|reload|force-reload DNS server
   Loaded: loaded (/etc/rc.d/init.d/named; bad; vendor preset: disabled)
   Active: failed (Result: exit-code) since Uto 2017-08-29 05:50:48 EDT; 21min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 1701 ExecStart=/etc/rc.d/init.d/named start (code=exited, status=7)

Kol 29 05:50:48 server.myserver.com named[1706]: sizing zone task pool based on 1 zones
Kol 29 05:50:48 server.myserver.com named[1706]: set up managed keys zone for view _default, file 'managed-keys.bind'
Kol 29 05:50:48 server.myserver.com named[1706]: command channel listening on 127.0.0.1#953
Kol 29 05:50:48 server.myserver.com named[1706]: the working directory is not writable
Kol 29 05:50:48 server.myserver.com named[1706]: isc_stdio_open '/var/log/named/default.log' failed: permission denied
Kol 29 05:50:48 server.myserver.com named[1701]: Starting named: [FAILED]
Kol 29 05:50:48 server.myserver.com systemd[1]: named.service: control process exited, code=exited status=7
Kol 29 05:50:48 server.myserver.com systemd[1]: Failed to start LSB: start|stop|status|restart|try-restart|reload|force-reload DNS server.
Kol 29 05:50:48 server.myserver.com systemd[1]: Unit named.service entered failed state.
Kol 29 05:50:48 server.myserver.com systemd[1]: named.service failed.



[root@server ~]# systemctl status httpd.service -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 Uto 2017-08-29 05:50:49 EDT; 20min ago
     Docs: man:httpd(8)
           man:apachectl(8)
  Process: 1981 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
  Process: 1979 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
 Main PID: 1979 (code=exited, status=1/FAILURE)

Kol 29 05:50:49 server.myserver.com systemd[1]: Starting The Apache HTTP Server...
Kol 29 05:50:49 server.myserver.com httpd[1979]: 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
Kol 29 05:50:49 server.myserver.com systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Kol 29 05:50:49 server.myserver.com kill[1981]: kill: cannot find process ""
Kol 29 05:50:49 server.myserver.com systemd[1]: httpd.service: control process exited, code=exited status=1
Kol 29 05:50:49 server.myserver.com systemd[1]: Failed to start The Apache HTTP Server.
Kol 29 05:50:49 server.myserver.com systemd[1]: Unit httpd.service entered failed state.
Kol 29 05:50:49 server.myserver.com systemd[1]: httpd.service failed.




Offline idove

  • Valuable Member
  • *
  • Posts: 142
  • Karma: +0/-0
    • View Profile
Re: Fresh installed kloxomr7 on centos7 problems
« Reply #1 on: 2017-08-29, 12:13:10 »
I just try to disable few Load modules in httpd.conf to see if apache will run. But to many modules is missing. How this is possible on freshly installed kloxomr7.
What I'm doing wrong? Tnx.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Fresh installed kloxomr7 on centos7 problems
« Reply #2 on: 2017-08-29, 12:14:54 »
Dis you try 'sh /script/cleanup'?.

Some services may trouble if you doesn't add domain in panel.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Fresh installed kloxomr7 on centos7 problems
« Reply #3 on: 2017-08-29, 12:15:20 »
Did you try 'sh /script/cleanup'?.

Some services may trouble if you doesn't add domain in panel.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline idove

  • Valuable Member
  • *
  • Posts: 142
  • Karma: +0/-0
    • View Profile
Re: Fresh installed kloxomr7 on centos7 problems
« Reply #4 on: 2017-08-29, 12:57:05 »
I've try:

Code: [Select]
yum reinstall httpd-* mod_*

and now as you suggested:
Code: [Select]
sh /script/cleanup

The same problem exists, no changes.
There is no such modules in /etc/httpd/modules

Also, if you think add domain name in panel, Fleio panel, there is no place to add it.
Only place domain is added is in /etc/hosts, added by kloxoMR system
in format
IP_address server.myserver.com server

and added in my domain service (at name.com).

Any other solutions, suggestions?!
Tnx in advance.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Fresh installed kloxomr7 on centos7 problems
« Reply #5 on: 2017-08-29, 13:06:38 »
CentOS 7 serve Apache 2.4. But Kloxo-MR use httpd24u from IUS repo. If you run 'cleanup', Kloxo-MR will try httpd to httpd24u. So, if you try install/reinstall manually, it's maybe make trouble.

Don't care first for this apache but try add domain in panel. After that, run 'sh /script/cleanup'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline idove

  • Valuable Member
  • *
  • Posts: 142
  • Karma: +0/-0
    • View Profile
Re: Fresh installed kloxomr7 on centos7 problems
« Reply #6 on: 2017-08-29, 13:14:25 »
>  but try add domain in panel.

Where, how, what do you mean? Add domain in kloxomr panel? Or?
Tnx.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Fresh installed kloxomr7 on centos7 problems
« Reply #7 on: 2017-08-29, 13:22:32 »
Under certain client (include 'admin'), click 'domain' and then add your domain. But, need setting 'dns template' first.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline idove

  • Valuable Member
  • *
  • Posts: 142
  • Karma: +0/-0
    • View Profile
Re: Fresh installed kloxomr7 on centos7 problems
« Reply #8 on: 2017-08-29, 13:35:18 »
So, as far as I understand you want me to add domain to one of client. Ok np.
But I can't access to kloxoMR panel :).

I will reinstall everything again, and add DNS template, and then add client and domain.
Then I will try to reboot server.

Tnx for now.
I will report in 30min ;).


ADDED:
Code: [Select]
[root@centos /]# sh /script/upcp
-------------------------------------------------------------------
 WARNING:
 - Need change hostname with qualify to FQDN
   (use 'server1.domain.com' instead 'server1')
 - May trouble for web and mail without FQDN hostname
-------------------------------------------------------------------
 - For OpenVZ VPS, change hostname from VPS panel
 - For Others, change 'HOSTNAME' in '/etc/sysconfig/network' file
 - Reboot after change hostname

[root@centos /]# hostnamectl set-hostname server.myserver.com
After that sh /script/upcp works, but I hjave never done that:

Code: [Select]
- Then, go to 'Switch Program' to enable web and other programs 
Where, how?
« Last Edit: 2017-08-29, 13:50:43 by idove »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Fresh installed kloxomr7 on centos7 problems
« Reply #9 on: 2017-08-29, 13:58:36 »
Admin > switch program.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline idove

  • Valuable Member
  • *
  • Posts: 142
  • Karma: +0/-0
    • View Profile
Re: Fresh installed kloxomr7 on centos7 problems
« Reply #10 on: 2017-08-29, 14:19:47 »
OK, I done everything, even SWITCH PROGRAM.

Added, client, added client domain,
even added domain for admin.

And result is:
- I can access to kloxo mr web admin
- I can access admin domain web page

- I can't access to client domain web page

Tnx ;).

P.S.
No reboot for now, waiting for your tips.


Added:
In services I see that no web servers is started, neither httpd, lighttpd, nginx nor hiawatha. How kloxo mr web admin runs? :)
« Last Edit: 2017-08-29, 14:28:00 by idove »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Fresh installed kloxomr7 on centos7 problems
« Reply #11 on: 2017-08-29, 14:47:17 »
Try 'sh /script/restart-all'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline idove

  • Valuable Member
  • *
  • Posts: 142
  • Karma: +0/-0
    • View Profile
Re: Fresh installed kloxomr7 on centos7 problems
« Reply #12 on: 2017-08-29, 15:08:49 »
Same, but now there is no httpd service to be restarted.

Code: [Select]
[root@centos admin]# sh /script/restart-all

Redirecting to /bin/systemctl restart  rsyslog.service
-------------------------------------------------------------------

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

*** Process for MYSQL/MARIADB service ***
  - Process: restart
Shutting down MySQL. SUCCESS!
Starting MySQL.170829 15:17:45 mysqld_safe Logging to '/var/lib/mysql/server.myserver.com.err'.
170829 15:17:45 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 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]'


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Fresh installed kloxomr7 on centos7 problems
« Reply #13 on: 2017-08-29, 15:14:31 »
Inform here 'sh /script/sysinfo'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline idove

  • Valuable Member
  • *
  • Posts: 142
  • Karma: +0/-0
    • View Profile
Re: Fresh installed kloxomr7 on centos7 problems
« Reply #14 on: 2017-08-29, 15:18:50 »
Code: [Select]
[root@centos admin]# sh /script/sysinfo
A. Control Panel:               
   - Kloxo-MR: 7.0.0.c-2017082501
   - Web: hiawatha-10.6.0-f.1.mr.el7.x86_64
   - PHP: php56s - 5.6.31-1.ius.centos7 (fpm mode)
B. Plateform:
   - OS: CentOS Linux release 7.3.1611 (Core) x86_64
   - Hostname: server.myserver.com
C. Services:
   1. MySQL: MariaDB-server-10.0.32-1.el7.centos.x86_64
   2. PHP:
      - Installed:
        - Branch: php56u-cli-5.6.31-1.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.4-1.el7.ngx.x86_64
     - Apache: httpd24u-2.4.27-1.ius.centos7.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.mr.el7.x86_64
   6. Mail: qmail-toaster-1.03-1.3.57.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.57.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:           3951         284         924           8        2742        3357
Swap:             0           0           0
E. Disk Space:
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda         59G  3,0G   53G   6% /


*** Process Time: 00:00:00:30.30800 (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@centos admin]#

 


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

Page created in 0.066 seconds with 18 queries.

web stats analysis