MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: EndErr on 2017-05-18, 07:27:59

Title: stack on "Update All Php (branch and multiple)"
Post by: EndErr on 2017-05-18, 07:27:59
Last night I tried to run the "sh /script/cleanup" script after an update.
When the process came to "Update All Php (branch and multiple)" a next line "Update process" appears under and nothing else, the process is not running at all.
I left that for a night to make sure it is not a long process, but still stacked.

Is there a problemel with the script?

P.S. kloxo is running well, also the sites.

Code: [Select]
[root@vhsrv0 ~]# sh /script/sysinfo
A. Control Panel:
   - Kloxo-MR: 7.0.0.c-2017051705
   - Web: hiawatha-10.6.0-f.1.mr.el6.x86_64
   - PHP: php56s-5.6.30-1.w6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.9 (Final) x86_64
   - Hostname: srv0.domain.ltd
C. Services:
   1. MySQL: MariaDB-server-10.0.30-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php54-cli-5.4.45-1.ius.centos6.x86_64
        - Multiple:
          * php54m-5.4.45-1.ius.centos6
          * php55m-5.5.38-1.ius.centos6
          * php56m-5.6.30-2.ius.centos6
          * php70m-7.0.18-1.ius.centos6
      - 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: 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:          5475       3799       1675         19        944        710
-/+ buffers/cache:       2145       3330
Swap:         4975          6       4969
E. Disk Space:
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg_vhsrv0-lv_root
                       50G   19G   29G  39% /
Title: Re: stack on "Update All Php (branch and multiple)"
Post by: MRatWork on 2017-05-18, 08:15:45
There something wrong with php54, try remove it with 'sh /script/phpm-remover php54m' and then try again 'sh /script/cleanup'.
Title: Re: stack on "Update All Php (branch and multiple)"
Post by: EndErr on 2017-05-18, 11:26:01
before that should I change the branch from 5.4 to 5.5 or 5.6?
Title: Re: stack on "Update All Php (branch and multiple)"
Post by: MRatWork on 2017-05-18, 11:51:55
Better to 5.6.

But try:
Code: [Select]
sh /script/phpm-remover php54m
sh /script/phpm-installer php54m
sh /script/cleanup
Title: Re: stack on "Update All Php (branch and multiple)"
Post by: EndErr on 2017-05-18, 13:36:09
not working that solutions :(
Title: Re: stack on "Update All Php (branch and multiple)"
Post by: MRatWork on 2017-05-18, 14:07:21
Because php 5.4 is EOL, it's become rpm resource taken from ius archive where no mirrors.
Title: Re: stack on "Update All Php (branch and multiple)"
Post by: EndErr on 2017-05-18, 18:18:35
I have tried all solutions, but no luck, still stuck on cleanup ...
Title: Re: stack on "Update All Php (branch and multiple)"
Post by: MRatWork on 2017-05-18, 18:24:34
Try update with 'yum clean all; yum update -y'. Latest update already fixed this issue.
Title: Re: stack on "Update All Php (branch and multiple)"
Post by: EndErr on 2017-05-18, 18:55:13
already did that, still the same :(
Title: Re: stack on "Update All Php (branch and multiple)"
Post by: MRatWork on 2017-05-18, 19:23:19
Inform here 'sh /script/sysinfo'.
Title: Re: stack on "Update All Php (branch and multiple)"
Post by: EndErr on 2017-05-18, 19:46:36
after

Code: [Select]
sh /script/phpm-remover php54m
sh /script/phpm-installer php54m
sh /script/cleanup

I get

Code: [Select]
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: srv.domain.ltd
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:
          * php54m-
          * php56m-5.6.30-2.ius.centos6
          * php70m-7.0.18-1.ius.centos6
      - Used: --PHP Branch--
      - 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: 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:          5475       2153       3322         18        155        712
-/+ buffers/cache:       1285       4190
Swap:         4975          0       4975
E. Disk Space:
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg_vhsrv0-lv_root
                       50G   18G   29G  39% /

I see "php54-" there, but why?
Title: Re: stack on "Update All Php (branch and multiple)"
Post by: MRatWork on 2017-05-18, 19:57:34
Try 'sh /script/phpm-installer php54m --force'.
Title: Re: stack on "Update All Php (branch and multiple)"
Post by: EndErr on 2017-05-18, 20:43:40
it worked, at last