MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: nemo1112 on 2017-05-24, 12:46:43
-
Hello Mustafa
i am having a problem with my server
every day or may be every couple of hours i need to put this command for the sites in the server to work
sh /script/restart-all
and i get http failed then every thing work for couple of hours
i even made a crop job at kloxo to do it every 6 hours
-
Inform 'sh /script/sysinfo'.
-
A. Control Panel:
- Kloxo-MR: 7.0.0.c-2017051802
- Web: hiawatha-10.6.0-f.1.mr.el6.x86_64
- PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
- OS: CentOS release 6.9 (Final) x86_64
- Hostname: restart54.cloudapp.net
C. Services:
1. MySQL: MariaDB-server-10.0.30-1.el6.x86_64
2. PHP:
- Installed:
- Branch: php70w-cli-7.0.18-1.w6.x86_64
- Multiple:
* php70m-7.0.18-1.ius.centos6
- Used: --PHP Branch--
- Multiple: disable
3. Web Used: apache
- Hiawatha: hiawatha-10.6.0-f.1.mr.el6.x86_64
- Lighttpd: lighttpd-1.4.45-1.el6.x86_64
- Nginx: nginx-1.13.0-1.el6.ngx.x86_64
- Apache: httpd-2.2.31-1.mr.el6.x86_64
- PHP Type: php-fpm_event
- Secondary PHP: off
4. WebCache: none
- ATS: --uninstalled--
- Squid: --uninstalled--
- Varnish: --uninstalled--
5. Dns: bind
- Bind: bind-9.9.9-1.mr.el6.x86_64
- DJBDns: djbdns-1.05-17.4.mr.el6.x86_64
- NSD: nsd-4.1.16-1.el6.x86_64
- PowerDNS: pdns-4.0.3-1.el6.MIND.x86_64
- Yadifa: yadifa-2.2.3-1.mr.el6.x86_64
6. Mail: qmail-toaster-1.03-1.3.56.mr.el6.x86_64
- pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el6.x86_64
- smtp: qmail-toaster-1.03-1.3.56.mr.el6.x86_64
- spam: bogofilter-1.2.4-1.el6.x86_64
7. FTP: pure-ftpd
- pure-ftpd: pure-ftpd-1.0.37-1.mr.el6.x86_64
8. Stats: awstats
- awstats: kloxomr-stats-awstats-7.6-1.mr.noarch
D. Memory:
total used free shared buffers cached
Mem: 3822 1795 2027 0 300 837
-/+ buffers/cache: 657 3165
Swap: 0 0 0
E. Disk Space:
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 30G 24G 4.6G 84% /
*** Process Time: 00:00:00:33.33767 (dd:hh:mm:ss:xxxxxx) ***
* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
(importance after Kloxo-MR update)
-
Did you change 'apache optimize' to 'medium' or 'high' in 'webserver configure'?.
-
no we just installed the latest php version and the php composer to make laravel framework
work with our projects
-
So, try to change from 'default' to 'medium' or 'high' for 'apache optimize' in 'admin > webserver configure'.
-
same problem
-
Investigate apache log in 'log manager'.
-
ate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 25 04:57:34 2017] [warn] RSA server certificate CommonName (CN) `Kloxo-MR certificate' does NOT match server name!?
[Thu May 25 04:57:34 2017] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 25 04:57:34 2017] [warn] RSA server certificate CommonName (CN) `Kloxo-MR certificate' does NOT match server name!?
[Thu May 25 04:57:34 2017] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 25 04:57:34 2017] [warn] RSA server certificate CommonName (CN) `Kloxo-MR certificate' does NOT match server name!?
[Thu May 25 04:57:34 2017] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 25 04:57:34 2017] [warn] RSA server certificate CommonName (CN) `Kloxo-MR certificate' does NOT match server name!?
[Thu May 25 04:57:34 2017] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 25 04:57:34 2017] [warn] RSA server certificate CommonName (CN) `Kloxo-MR certificate' does NOT match server name!?
[Thu May 25 04:57:34 2017] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 25 04:57:34 2017] [warn] RSA server certificate CommonName (CN) `Kloxo-MR certificate' does NOT match server name!?
[Thu May 25 04:57:34 2017] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 25 04:57:34 2017] [warn] RSA server certificate CommonName (CN) `Kloxo-MR certificate' does NOT match server name!?
[Thu May 25 04:57:34 2017] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 25 04:57:34 2017] [warn] RSA server certificate CommonName (CN) `Kloxo-MR certificate' does NOT match server name!?
[Thu May 25 04:57:34 2017] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 25 04:57:34 2017] [warn] RSA server certificate CommonName (CN) `Kloxo-MR certificate' does NOT match server name!?
[Thu May 25 04:57:34 2017] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 25 04:57:34 2017] [warn] RSA server certificate CommonName (CN) `Kloxo-MR certificate' does NOT match server name!?
[Thu May 25 04:57:34 2017] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 25 04:57:34 2017] [warn] RSA server certificate CommonName (CN) `Kloxo-MR certificate' does NOT match server name!?
[Thu May 25 04:57:34 2017] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 25 04:57:34 2017] [warn] RSA server certificate CommonName (CN) `Kloxo-MR certificate' does NOT match server name!?
[Thu May 25 04:57:34 2017] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 25 04:57:34 2017] [warn] RSA server certificate CommonName (CN) `Kloxo-MR certificate' does NOT match server name!?
[Thu May 25 04:57:34 2017] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 25 04:57:34 2017] [warn] RSA server certificate CommonName (CN) `Kloxo-MR certificate' does NOT match server name!?
[Thu May 25 04:57:34 2017] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 25 04:57:34 2017] [warn] RSA server certificate CommonName (CN) `Kloxo-MR certificate' does NOT match server name!?
[Thu May 25 04:57:34 2017] [notice] Digest: generating secret for digest authentication ...
[Thu May 25 04:57:34 2017] [notice] Digest: done
[Thu May 25 04:57:34 2017] [notice] FastCGI: process manager initialized (pid 10888)
[Thu May 25 04:57:34 2017] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 25 04:57:34 2017] [warn] RSA server certificate CommonName (CN) `Kloxo-MR certificate' does NOT match server name!?
[Thu May 25 04:57:34 2017] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 25 04:57:34 2017] [warn] RSA server certificate CommonName (CN) `Kloxo-MR certificate' does NOT match server name!?
[Thu May 25 04:57:34 2017] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 25 04:57:34 2017] [warn] RSA server certificate CommonName (CN) `Kloxo-MR certificate' does NOT match server name!?
[Thu May 25 04:57:34 2017] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 25 04:57:34 2017] [warn] RSA server certificate CommonName (CN) `Kloxo-MR certificate' does NOT match server name!?
[Thu May 25 04:57:34 2017] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 25 04:57:34 2017] [warn] RSA server certificate CommonName (CN) `Kloxo-MR certificate' does NOT match server name!?
[Thu May 25 04:57:34 2017] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 25 04:57:34 2017] [warn] RSA server certificate CommonName (CN) `Kloxo-MR certificate' does NOT match server name!?
[Thu May 25 04:57:34 2017] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 25 04:57:34 2017] [warn] RSA server certificate CommonName (CN) `Kloxo-MR certificate' does NOT match server name!?
[Thu May 25 04:57:34 2017] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 25 04:57:34 2017] [warn] RSA server certificate CommonName (CN) `Kloxo-MR certificate' does NOT match server name!?
[Thu May 25 04:57:34 2017] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 25 04:57:34 2017] [warn] RSA server certificate CommonName (CN) `Kloxo-MR certificate' does NOT match server name!?
[Thu May 25 04:57:34 2017] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 25 04:57:34 2017] [warn] RSA server certificate CommonName (CN) `Kloxo-MR certificate' does NOT match server name!?
[Thu May 25 04:57:34 2017] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 25 04:57:34 2017] [warn] RSA server certificate CommonName (CN) `Kloxo-MR certificate' does NOT match server name!?
[Thu May 25 04:57:34 2017] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 25 04:57:34 2017] [warn] RSA server certificate CommonName (CN) `Kloxo-MR certificate' does NOT match server name!?
-
'[warn]' is not error. We can avoiding this message.
About your issue, try using php 5.6 instead 7.0/7.1.
-
can't laravel needs php 7
any other idea
i started a cron to do this sh /script/restart-all
every hour
but i am not sure if the cron is working
-
Latest Laravel support php 5.6.4+ (read https://laravel.com/docs/5.4#server-requirements)
-
have a look at this
Shutting down system logger: [ OK ]
Starting system logger: [ OK ]
-------------------------------------------------------------------
Stopping httpry: [ OK ]
Starting httpry: [ OK ]
-------------------------------------------------------------------
*** Process for MYSQL/MARIADB service ***
Starting MySQL.170527 14:44:21 mysqld_safe Logging to '/var/lib/mysql/restart54.cloudapp.net.err'.
170527 14:44:21 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
SUCCESS!
- Process: restart
Shutting down MySQL.. SUCCESS!
Starting MySQL.170527 14:44:25 mysqld_safe Logging to '/var/lib/mysql/restart54.cloudapp.net.err'.
170527 14:44:25 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
SUCCESS!
-------------------------------------------------------------------
*** Process for BIND service ***
- Process: restart
Stopping named: [ OK ]
Starting named: [ OK ]
-------------------------------------------------------------------
Stopping php-fpm (PHP Used): [ OK ]
Starting php-fpm (PHP Used): [ OK ]
-------------------------------------------------------------------
*** Process for HTTPD service ***
- Process: restart
Stopping httpd: [FAILED]
Starting httpd: [ OK ]
-------------------------------------------------------------------
*** Process for QMAIL service ***
Stopping qmail-toaster: svscan qmail logging.
Starting qmail-toaster: svscan.
-------------------------------------------------------------------
Stopping pure-ftpd: [ OK ]
Starting pure-ftpd: [ OK ]
-------------------------------------------------------------------
Stopping kloxo-phpcgi: [ OK ]
Starting kloxo-phpcgi ('php54s' in 'fpm' mode): [ OK ]
Stopping kloxo-hiawatha: [ OK ]
Starting kloxo-hiawatha: [ OK ]
-------------------------------------------------------------------
- For help, type '/script/restart-all [--help|-h]'
-
Try reboot and then run 'sh /script/restart-all'
-
that's the problem i am talking about in the first post
i have to reboot and do sh /script/restart-all
every hour
i even made a cron to do that for me
i can't catch the problem till now
-
here we are a year later and the problem still here :D