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-06-15, 21:44:18

Author Topic: Webserver stop work  (Read 2927 times)

0 Members and 1 Guest are viewing this topic.

Offline Luis Carlos Eich

  • Junior Member
  • *
  • Posts: 31
  • Karma: +0/-0
    • View Profile
Webserver stop work
« on: 2016-09-08, 12:39:04 »
Hi!

This is a problem that I have enough time, just had not reported for restarting the server, returning everything to normal.

Each day, after midnight, the web server stops running, and the system attempts to restart the service. The system is trying to do this every 5 minutes, but the service does not return to work.
So that everything returns to normal, just that I make a server restart. After that, everything returns to normal, and runs until the end of the day.

I searched for logs, but found nothing unusual. Also searched for some scheduled task, but found nothing.

Note: The hostname is hidden for security(************)

Host: ns1.***********
Date: Sep-08 04:00
Port: 80
Action: sh /script/restart-web --force >/dev/null 2>&1

Host: ns1.***********
Date: Sep-08 04:05
Port: 80
Action: sh /script/restart-web --force >/dev/null 2>&1

Host: ns1.***********
Date: Sep-08 04:10
Port: 80
Action: sh /script/restart-web --force >/dev/null 2>&1


This is my sysinfo

-toaster: opção desconhecida
-toaster: opção desconhecida

A. Control Panel:
   - Kloxo-MR: 7.0.0.b-2016090801
   - Web: hiawatha-10.3.0-f.1.mr.el6.x86_64
   - PHP: php54s-5.4.41-1.ius.el6 (cgi mode)
B. Plateform:
   - OS: CentOS release 6.8 (Final) x86_64
   - Hostname: ns1.**************
C. Services:
   1. MySQL: MariaDB-server-10.0.27-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php54-cli-5.4.45-1.ius.el6.x86_64
        - Multiple:
          * php52m-5.2.17-102.mr.el6
          * php53m-5.3.29-1.ius.el6
          * php54m-5.4.42-1.ius.el6
          * php55m-5.5.26-1.ius.el6
          * php56m-5.6.10-1.ius.el6
      - Used: --PHP Branch--
erro ao ler informação sobre o serviço phpm-fpm: Arquivo ou diretório não e                                                                                                                     ncontrado
      - Multiple: disable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.3.0-f.1.mr.el6.x86_64
     - Lighttpd: --uninstalled--
     - Nginx: --uninstalled--
     - Apache: httpd-2.2.31-1.mr.el6.x86_64
       - PHP Type: php-fpm_event
       - Secondary PHP: on
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - Bind: bind-9.9.7-1.mr.el6.x86_64
     - DJBDns: --uninstalled--
     - NSD: --uninstalled--
     - PowerDNS: --uninstalled--
     - Yadifa: --uninstalled--
   6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - pop3/imap4: none
      - smtp: none
      - spam: bogofilter-1.2.4-1.el6.x86_64
   7. Stats: awstats
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          3830        816       3013          0         65        320
   -/+ buffers/cache:        430       3400
   Swap:         2015          0       2015
E. Disk Space:
   Filesystem            Size  Used Avail Use% Mounted on
   /dev/mapper/vg_ns1-lv_root
                          37G   11G   25G  31% /


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

* Note: run 'sh 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: Webserver stop work
« Reply #1 on: 2016-09-08, 17:16:35 »
1. Set 'high' to 'admin > webserver configure > apache optimize'
2. Move (change owner) of domains to client(s) (other than admin)
3. Increase 'fastcgi childrens' in 'limit' for each client from '6' ('unlimited' = '6') to '12' or higher
4. Use 'phpXYm' (XY mean 5.2-7.0) instead 'php branch' for 'php used' in 'admin > webserver configure'
5. Enable 'apc' (or 'apcu' if exists) for every 'target' in 'admin > php modules status'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Luis Carlos Eich

  • Junior Member
  • *
  • Posts: 31
  • Karma: +0/-0
    • View Profile
Re: Webserver stop work
« Reply #2 on: 2016-09-08, 18:35:24 »
1. -> OK
2. -> how do I migrate the domains that are now linked to admin account?
3. -> OK
4. -> the setting is now: PHP Used (php54m) - PHP Branch (php54_(as_5.4.43)
5. -> No PHP Modules Under localhost

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Webserver stop work
« Reply #3 on: 2016-09-08, 19:51:36 »
2. Go to 'admin > all > all domains > (select domain) > change owner'. Then same way for 'all databases'
5. Go to 'admin > php module status' and then you see module list for certain version ('target' in list)
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


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

Page created in 0.032 seconds with 22 queries.

web stats analysis