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, 18:55:21

Author Topic: error: not an rpm package when cleanup  (Read 4125 times)

0 Members and 2 Guests are viewing this topic.

Offline tonym

  • Valuable Member
  • *
  • Posts: 64
  • Karma: +0/-0
    • View Profile
error: not an rpm package when cleanup
« on: 2017-03-16, 08:43:37 »
I just updated to the latest version:
 
A. Control Panel:
   - Kloxo-MR: 7.0.0.c-2017031601
   - Web: hiawatha-10.5.0-f.2.mr.el6.i686
   - PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.8 (Final) i686
   - Hostname: mail.mtc1.uk
C. Services:
   1. MySQL: MariaDB-server-10.0.30-1.el6.i686
   2. PHP:
      - Installed:
        - Branch: php55w-cli-5.5.38-1.w6.i386
        - Multiple:
          * php52m-5.2.17-102.mr.el6
          * php53m-5.3.29-1.ius.el6
          * php54m-5.4.45-1.ius.el6
          * php55m-5.5.38-1.ius.el6
          * php56m-5.6.30-1.ius.el6
          * php70m-7.0.16-1.ius.el6
      - Used: php55m-fpm
      - Multiple: enable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.5.0-f.2.mr.el6.i686
     - Lighttpd: lighttpd-1.4.45-1.el6.i686
     - Nginx: nginx-1.11.10-1.el6.ngx.i386
     - Apache: httpd24u-2.4.25-3.ius.el6.i686
       - PHP Type: php-fpm_event
       - Secondary PHP: off
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: none
     - Bind: --uninstalled--
     - DJBDns: --uninstalled--
     - NSD: --uninstalled--
     - PowerDNS: --uninstalled--
     - Yadifa: --uninstalled--
   6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.i386
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el6.i686
      - smtp: qmail-toaster-1.03-1.3.55.mr.el6.i386
      - spam: --uninstalled--
   7. Stats: awstats
D. Memory:
             total       used       free     shared    buffers     cached
Mem:          2909       2458        450         96        410       1289
-/+ buffers/cache:        758       2150
Swap:          511         11        500
E. Disk Space:
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1        39G   23G   15G  61% /


When I ran "sh /script/cleanup", there were error messages at the "Update All Php" step:

-----------------
- Copy to /opt/configs/squid
Copy all contents from ../file/trafficserver
- Copy to /opt/configs/trafficserver
Update All Php (branch and multiple)
- Update process
error: not an rpm package
argument is not an RPM package

... Repeated many times ...

argument is not an RPM package
error: not an rpm package
argument is not an RPM package
Initialize PureFtp service
- Initialize process
- Restart pure-ftpd service
Initialize logrotates
- Initialize process
--------------------------------

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: error: not an rpm package when cleanup
« Reply #1 on: 2017-03-16, 13:16:55 »
Inform here 'yum clean all; yum list php* '.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline tonym

  • Valuable Member
  • *
  • Posts: 64
  • Karma: +0/-0
    • View Profile
Re: error: not an rpm package when cleanup
« Reply #2 on: 2017-03-16, 15:59:53 »
Here it is attached.
« Last Edit: 2017-03-16, 16:02:00 by tonym »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: error: not an rpm package when cleanup
« Reply #3 on: 2017-03-16, 18:28:16 »
Try:
Code: [Select]
rm -rf /opt/php*m
sh /script/phpm-installer php53m -y
sh /script/phpm-installer php54m -y
sh /script/phpm-installer php55m -y
sh /script/phpm-installer php56m -y
sh /script/phpm-installer php70m -y
sh /script/phpm-installer php71m -y

and then run (if no found error):
Code: [Select]
sh /script/cleanup
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline tonym

  • Valuable Member
  • *
  • Posts: 64
  • Karma: +0/-0
    • View Profile
Re: error: not an rpm package when cleanup
« Reply #4 on: 2017-03-16, 20:13:41 »
Thanks, those messages did not appear after that.

The cleanup ended with this now:

Stopping php55m-fpm (PHP Used):                            [  OK  ]
Starting php55m-fpm (PHP Used):                            [  OK  ]
-------------------------------------------------------------------

Stopping php52m-fpm (Multiple Php):                        [FAILED]
Starting php52m-fpm (Multiple Php): /bin/bash: php52m-fpm: command not found
                                                           [FAILED]
-------------------------------------------------------------------

Stopping php53m-fpm (Multiple Php):                        [  OK  ]
Starting php53m-fpm (Multiple Php):                        [  OK  ]
-------------------------------------------------------------------

Stopping php54m-fpm (Multiple Php):                        [FAILED]
Starting php54m-fpm (Multiple Php): [16-Mar-2017 19:05:09] ERROR: An another FPM instance seems to already listen on /opt/configs/php-fpm/sock/php54m-woodbr.sock
[16-Mar-2017 19:05:09] ERROR: FPM initialization failed
                                                           [FAILED]
-------------------------------------------------------------------

Stopping php55m-fpm (Multiple Php):                        [  OK  ]
Starting php55m-fpm (Multiple Php):                        [  OK  ]
-------------------------------------------------------------------

Stopping php56m-fpm (Multiple Php):                        [FAILED]
Starting php56m-fpm (Multiple Php): [16-Mar-2017 19:05:09] ERROR: An another FPM instance seems to already listen on /opt/configs/php-fpm/sock/php56m-admin.sock
[16-Mar-2017 19:05:09] ERROR: FPM initialization failed
                                                           [FAILED]
-------------------------------------------------------------------

Stopping php70m-fpm (Multiple Php):                        [FAILED]
Starting php70m-fpm (Multiple Php): [16-Mar-2017 19:05:09] ERROR: An another FPM instance seems to already listen on /opt/configs/php-fpm/sock/php70m-admin.sock
[16-Mar-2017 19:05:09] ERROR: FPM initialization failed
                                                           [FAILED]
-------------------------------------------------------------------

Stopping php71m-fpm (Multiple Php):                        [  OK  ]
Starting php71m-fpm (Multiple Php):                        [  OK  ]
-------------------------------------------------------------------

Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
-------------------------------------------------------------------


And running "sh /script/restart-web" after a while shows the same.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: error: not an rpm package when cleanup
« Reply #5 on: 2017-03-16, 20:23:07 »
Not work for php52m and then remove with 'rm -rf /opt/php52m'. For other php,  just 'pkill -9 php-fpm; sh /script/restart-web; sh /scrip/restart' or reboot your server.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline tonym

  • Valuable Member
  • *
  • Posts: 64
  • Karma: +0/-0
    • View Profile
Re: error: not an rpm package when cleanup
« Reply #6 on: 2017-03-16, 20:53:57 »
Thanks, those all  started now.

It does try to stop and start php52m-fpm still:
Stopping php52m-fpm (Multiple Php):                        [FAILED]
Starting php52m-fpm (Multiple Php): /bin/bash: php52m-fpm: command not found
                                                           [FAILED]

That is no problem though.

Thanks again.



Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: error: not an rpm package when cleanup
« Reply #7 on: 2017-03-16, 20:57:59 »
Run 'chkconfig php52m-fpm off; service php52m-fpm stop; chkconfig --del php52m-fpm; rm -f /etc/init.d/php52m-fpm'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline tonym

  • Valuable Member
  • *
  • Posts: 64
  • Karma: +0/-0
    • View Profile
Re: error: not an rpm package when cleanup
« Reply #8 on: 2017-03-16, 21:00:47 »
Thank you!

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine

Page created in 0.076 seconds with 18 queries.

web stats analysis