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-19, 08:29:51

Author Topic: Scavenge not completing  (Read 3993 times)

0 Members and 1 Guest are viewing this topic.

Offline tochits

  • Junior Member
  • *
  • Posts: 39
  • Karma: +0/-0
    • View Profile
Scavenge not completing
« on: 2017-06-02, 10:52:25 »
Scavenge is not completing; the process only completes if I skip on the collect_lxguard function:

Code: [Select]
        log_shell("Scavenge: Collect LxGuard info");
        //lxguard::collect_lxguard();
        log_shell("Scavenge: Fix MySQL root password");
        fix_all_mysql_root_password();
        log_shell("Scavenge: Auto update Kloxo");
        auto_update();
Code: [Select]
[root@kloxomr7-build-apache log]# 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: php56s-5.6.30-2.ius.centos6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.9 (Final) x86_64
   - Hostname: kloxomr7-build-apache.emc.ph
C. Services:
   1. MySQL: MariaDB-server-10.0.30-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php56u-cli-5.6.30-2.ius.centos6.x86_64
        - Multiple:
          * php56m-5.6.30-2.ius.centos6
          * php70m-7.0.18-1.w6
      - Used: php56m-fpm
      - Multiple: enable
   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: on
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: none
     - 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: --uninstalled--
   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:         31866       1470      30396          1          0        258
-/+ buffers/cache:       1212      30654
Swap:            0          0          0
E. Disk Space:
Filesystem      Size  Used Avail Use% Mounted on
/dev/simfs      1.1T  223G  864G  21% /


*** Process Time: 00:00:00:16.16787 (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: Scavenge not completing
« Reply #1 on: 2017-06-02, 12:38:09 »
What's you mean ' not completing'. For lxguard, go to 'admin > lxguard' and then click 'update'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline tochits

  • Junior Member
  • *
  • Posts: 39
  • Karma: +0/-0
    • View Profile
Re: Scavenge not completing
« Reply #2 on: 2017-06-02, 12:47:16 »
Scavenge ends without completing the next set of functions in scavenge.php. The process just dies.
Code: [Select]
        log_shell("Scavenge: Collect LxGuard info");
        lxguard::collect_lxguard();
        log_shell("Scavenge: Fix MySQL root password");
        fix_all_mysql_root_password();
        log_shell("Scavenge: Auto update Kloxo");
        auto_update();

        $endtime = date('Y/m/d H:i:s', time());

        $subj = "Scavenge has completed";

        $msg  = "Scavenge started: {$starttime}\n";
        $msg .= "Scavenge completed: {$endtime}";

        if (file_exists("/usr/local/lxlabs/kloxo/etc/flag/enablescavengesendmail.flg")) {
        //      lx_mail(null, $login->contactemail, $subj, $msg);
                callInBackground("lx_mail", array(null, $login->contactemail, $subj, $msg));
        }

So from the code above, the scavenger process stops at "lxguard::collect_lxguard()".  Logs confirm that the next actions ("Fix MySQL root password", "Scavenge: Auto update Kloxo", etc.) do not run. Even the email notification (for Scavenge complete) is not sent because the process does not reach the end of the script.
« Last Edit: 2017-06-02, 12:53:29 by tochits »

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.041 seconds with 19 queries.

web stats analysis