0 Members and 2 Guests are viewing this topic.
[root@server ~]# sh /script/restart-allRedirecting to /bin/systemctl restart rsyslog.service-------------------------------------------------------------------Restarting httpry (via systemctl): [ OK ]-------------------------------------------------------------------*** Process for MYSQL/MARIADB service *** - Process: restartShutting 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: restartStopping 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: restartRedirecting to /bin/systemctl stop httpd.serviceRedirecting to /bin/systemctl start httpd.serviceJob 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 foundStarting 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 zonesKol 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#953Kol 29 05:50:48 server.myserver.com named[1706]: the working directory is not writableKol 29 05:50:48 server.myserver.com named[1706]: isc_stdio_open '/var/log/named/default.log' failed: permission deniedKol 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=7Kol 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 directoryKol 29 05:50:49 server.myserver.com systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILUREKol 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=1Kol 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.
Did you try 'sh /script/cleanup'?.Some services may trouble if you doesn't add domain in panel.
yum reinstall httpd-* mod_*
sh /script/cleanup
[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
- Then, go to 'Switch Program' to enable web and other programs
[root@centos admin]# sh /script/restart-allRedirecting to /bin/systemctl restart rsyslog.service-------------------------------------------------------------------Restarting httpry (via systemctl): [ OK ]-------------------------------------------------------------------*** Process for MYSQL/MARIADB service *** - Process: restartShutting 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: restartStopping 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 foundStarting 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@centos admin]# sh /script/sysinfoA. 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.comC. 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.noarchD. Memory: total used free shared buff/cache availableMem: 3951 284 924 8 2742 3357Swap: 0 0 0E. 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]#
Page created in 0.039 seconds with 17 queries.