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-03-28, 14:01:21

Author Topic: problem with my server  (Read 10668 times)

0 Members and 1 Guest are viewing this topic.

Offline nemo1112

  • Valuable Member
  • *
  • Posts: 56
  • Karma: +0/-0
    • View Profile
problem with my server
« 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

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: problem with my server
« Reply #1 on: 2017-05-24, 12:49:14 »
Inform 'sh /script/sysinfo'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline nemo1112

  • Valuable Member
  • *
  • Posts: 56
  • Karma: +0/-0
    • View Profile
Re: problem with my server
« Reply #2 on: 2017-05-24, 13:16:55 »
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)


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: problem with my server
« Reply #3 on: 2017-05-24, 13:18:44 »
Did you change 'apache optimize' to 'medium' or 'high' in 'webserver configure'?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline nemo1112

  • Valuable Member
  • *
  • Posts: 56
  • Karma: +0/-0
    • View Profile
Re: problem with my server
« Reply #4 on: 2017-05-24, 13:33:00 »
no we just installed the latest php version and the php composer to make laravel framework
work with our projects

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: problem with my server
« Reply #5 on: 2017-05-24, 14:30:10 »
So, try to change from 'default' to 'medium' or 'high' for 'apache optimize' in 'admin > webserver configure'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline nemo1112

  • Valuable Member
  • *
  • Posts: 56
  • Karma: +0/-0
    • View Profile
Re: problem with my server
« Reply #6 on: 2017-05-24, 16:41:04 »
same problem

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: problem with my server
« Reply #7 on: 2017-05-24, 17:31:58 »
Investigate apache log in 'log manager'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline nemo1112

  • Valuable Member
  • *
  • Posts: 56
  • Karma: +0/-0
    • View Profile
Re: problem with my server
« Reply #8 on: 2017-05-25, 12:43:00 »
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!?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: problem with my server
« Reply #9 on: 2017-05-25, 14:04:08 »
'[warn]' is not error. We can avoiding this message.

About your issue, try using php 5.6 instead 7.0/7.1.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline nemo1112

  • Valuable Member
  • *
  • Posts: 56
  • Karma: +0/-0
    • View Profile
Re: problem with my server
« Reply #10 on: 2017-05-27, 12:51:43 »
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

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: problem with my server
« Reply #11 on: 2017-05-27, 13:00:49 »
Latest Laravel support php 5.6.4+ (read https://laravel.com/docs/5.4#server-requirements)
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline nemo1112

  • Valuable Member
  • *
  • Posts: 56
  • Karma: +0/-0
    • View Profile
Re: problem with my server
« Reply #12 on: 2017-05-27, 14:42:04 »
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]'

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: problem with my server
« Reply #13 on: 2017-05-27, 16:12:10 »
Try reboot and then run 'sh /script/restart-all'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline nemo1112

  • Valuable Member
  • *
  • Posts: 56
  • Karma: +0/-0
    • View Profile
Re: problem with my server
« Reply #14 on: 2017-05-27, 19:24:25 »
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

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.04 seconds with 23 queries.

web stats analysis