Join the community today
Register Now

Could not create lock at /var/run/yum.pid: [Errno 28] No space left on device

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Doni, Apr 11, 2020.

  1. Doni

    Doni Member

    45
    2
    8
    Aug 23, 2014
    Ratings:
    +5
    Local Time:
    9:32 AM
    nginx/1.7.4
    mysql Ver 15.1 Distrib 5.5.39-MariaDB, for Linux (x86_64) using readline 5.1
    Hello,

    Today i login to my VPS and run centmin to update nginx. The centmin run fine but there's some error before the menu appear

    Code:
    Could not create lock at /var/run/yum.pid: [Errno 28] No space left on device
    
    Can't create lock file; exiting
    /usr/local/src/centminmod/tools/pip-updates.sh: line 86: pip: command not found
    /usr/local/src/centminmod/tools/pip-updates.sh: line 91: pip: command not found
    /usr/local/src/centminmod/tools/pip-updates.sh: line 98: pip: command not found
    /usr/local/src/centminmod/tools/pip-updates.sh: line 109: pip: command not found
    Could not create lock at /var/run/yum.pid: [Errno 28] No space left on device
    
    Can't create lock file; exiting
    inc/cpcheck.inc: line 381: pip: command not found
    inc/cpcheck.inc: line 382: pip: command not found
    inc/cpcheck.inc: line 387: pip: command not found
    inc/cpcheck.inc: line 394: pip: command not found
    inc/cpcheck.inc: line 405: pip: command not found
    Could not create lock at /var/run/yum.pid: [Errno 28] No space left on device
    
    Can't create lock file; exiting
    Checking the disk usage with df -h, looks fine

    Code:
    Filesystem      Size  Used Avail Use% Mounted on
    devtmpfs        911M     0  911M   0% /dev
    tmpfs           920M     0  920M   0% /dev/shm
    tmpfs           920M  920M     0 100% /run
    tmpfs           920M     0  920M   0% /sys/fs/cgroup
    /dev/vda1        40G   12G   27G  30% /
    tmpfs           184M     0  184M   0% /run/user/0
    Do you happen to know what cause the error?



    • CentOS Version: CentOS 7 64bit
    • Centmin Mod Version Installed:123.09beta01
    • Nginx Version Installed: 1.17.6
     
  2. eva2000

    eva2000 Administrator Staff Member

    51,248
    11,900
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,374
    Local Time:
    12:32 PM
    Nginx 1.25.x
    MariaDB 10.x
    /run which is ram disk tmpfs based filesystem ran out of disk space = 100% used !

    so size of /run is based on how much memory you have on system and can default to 1/2 size of amount of memory available/installed

    i.e. on 32GB memory based server
    Code (Text):
    df -hT
    Filesystem     Type      Size  Used Avail Use% Mounted on
    devtmpfs       devtmpfs   16G     0   16G   0% /dev
    tmpfs          tmpfs      16G     0   16G   0% /dev/shm
    tmpfs          tmpfs      16G  980K   16G   1% /run
    tmpfs          tmpfs      16G     0   16G   0% /sys/fs/cgroup
    /dev/md1       ext4       69G   55G   11G  84% /
    tmpfs          tmpfs      16G  400K   16G   1% /tmp
    /dev/md2       ext4      151G   27G  116G  19% /home
    tmpfs          tmpfs     3.2G     0  3.2G   0% /run/user/0
    


    not sure why you'd use all 920MB of your /run as usually it uses very little. Could be YUM update related

    what's output of
    Code (Text):
    free -mlt


    what's output for /run directory disk sizes to max 1 level deep
    Code (Text):
    du -h --max-depth=1 /run

    example for me
    Code (Text):
    du -h --max-depth=1 /run
    0       /run/redis
    8.0K    /run/blkid
    0       /run/docker
    0       /run/containerd
    4.0K    /run/pcp
    4.0K    /run/memcached
    4.0K    /run/chrony
    0       /run/dbus
    0       /run/setrans
    0       /run/unbound
    0       /run/named
    0       /run/cryptsetup
    0       /run/svnserve
    4.0K    /run/php-fpm
    4.0K    /run/tuned
    0       /run/sepermit
    0       /run/net-snmp
    0       /run/netreport
    0       /run/sudo
    0       /run/ppp
    0       /run/screen
    0       /run/console
    0       /run/faillock
    0       /run/user
    0       /run/lvm
    12K     /run/mdadm
    4.0K    /run/tmpfiles.d
    576K    /run/udev
    0       /run/mount
    0       /run/log
    0       /run/lock
    4.0K    /run/initramfs
    320K    /run/systemd
    980K    /run
    

    For posting code or output from commands to keep the formatting, you might want to use CODE tags for code How to use forum BBCODE code tags :)
     
  3. Doni

    Doni Member

    45
    2
    8
    Aug 23, 2014
    Ratings:
    +5
    Local Time:
    9:32 AM
    nginx/1.7.4
    mysql Ver 15.1 Distrib 5.5.39-MariaDB, for Linux (x86_64) using readline 5.1
    Hi Eva, Thank for responding. Yeah i didnt see the /run that say take 100%.

    Anyway this is the following output

    Code (Text):
    free -mlt
    
                  total        used        free      shared  buff/cache   available
    Mem:           1839         579         163         224        1095         772
    Low:           1839        1675         163
    High:             0           0           0
    Swap:          1023         860         163
    Total:         2863        1440         327
    


    Code (Text):
     du -h --max-depth=1 /run
    0       /run/cryptsetup
    0       /run/wpa_supplicant
    0       /run/pure-ftpd
    8.0K    /run/blkid
    4.0K    /run/memcached
    4.0K    /run/php-fpm
    4.0K    /run/chrony
    0       /run/dbus
    0       /run/console
    0       /run/sepermit
    4.0K    /run/cloud-init
    0       /run/setrans
    0       /run/faillock
    0       /run/screen
    0       /run/net-snmp
    0       /run/ppp
    0       /run/netreport
    4.0K    /run/tuned
    0       /run/user
    0       /run/svnserve
    0       /run/sudo
    0       /run/plymouth
    4.0K    /run/tmpfiles.d
    168K    /run/udev
    0       /run/mount
    97M     /run/log
    0       /run/lock
    4.0K    /run/initramfs
    824M    /run/systemd
    920M    /run
    
     
  4. eva2000

    eva2000 Administrator Staff Member

    51,248
    11,900
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,374
    Local Time:
    12:32 PM
    Nginx 1.25.x
    MariaDB 10.x
    Looks like systemd's journald logging related (it's done in memory by default) and @pamamolf has mentioned before I should maybe default to lower max size that default. But I haven't done so as in 9+ yrs and 100s of servers, I have never once ran into the limit.

    what's output for these commands
    Code (Text):
    systemctl status systemd-journald | sed -e "s|$(hostname)|hostname|g"

    and
    Code (Text):
    journalctl --disk-usage

    one one of my servers which i changed journald logging from memory to disk looks like
    Code (Text):
    journalctl --disk-usage
    Archived and active journals take up 2.3G on disk.
    

    Code (Text):
    systemctl status systemd-journald | sed -e "s|$(hostname)|hostname|g"
    ● systemd-journald.service - Journal Service
       Loaded: loaded (/usr/lib/systemd/system/systemd-journald.service; static; vendor preset: disabled)
       Active: active (running) since Sat 2020-03-21 03:45:00 UTC; 3 weeks 0 days ago
         Docs: man:systemd-journald.service(8)
               man:journald.conf(5)
     Main PID: 1054 (systemd-journal)
       Status: "Processing requests..."
        Tasks: 1
       Memory: 106.1M
       CGroup: /system.slice/systemd-journald.service
               └─1054 /usr/lib/systemd/systemd-journald
    Mar 21 03:45:00 hostname systemd-journal[1054]: Runtime journal is using 8.0M (max allowed 1.5G, trying to leave 2.3G free of 15.6G available → current limit 1.5G).
    Mar 21 03:45:00 hostname systemd-journal[1054]: Journal started
    Mar 21 03:45:00 hostname systemd-journal[1054]: Permanent journal is using 1.6G (max allowed 3.0G, trying to leave 4.0G free of 12.7G available → current limit 3.0G).
    Mar 21 03:45:00 hostname systemd-journal[1054]: Time spent on flushing to /var is 85.652ms for 932 entries.
    


    Then try clearing older entries = 1d
    Code (Text):
    journalctl --vacuum-time=1d

    would end up like
    Code (Text):
    journalctl --vacuum-time=1d
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-00000000009f95c5-00059d275a744cf9.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000a0d59a-00059d5ffe3d3dcb.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000a21617-00059d8fea375951.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000a35839-00059dbff4a51d3c.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000a49b3f-00059def9a08dc18.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000a5e0a5-00059e17e4add081.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000a72481-00059e44504f5034.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000a868c8-00059e6c7c875914.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000a9af0f-00059e93f906d578.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000aaf09c-00059ec65b213b0a.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000ac3a2a-00059ef4cbd1dd3a.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000ad8012-00059f1d6d16078e.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000aec5a3-00059f461d32b0cf.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000b00a51-00059f6e6a884e66.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000b149d5-00059f997ec989f8.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000b28c7a-00059fc1f92e1c94.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000b3d11a-00059fe8cd8b650d.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000b51328-0005a010b6bc016f.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000b655f4-0005a0392c4001e1.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000b797e9-0005a05f06448322.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000b8dbb2-0005a0845246064d.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000ba1bfd-0005a0a716b934e5.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000bb57de-0005a0c8d30d32c4.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000bc97be-0005a0ef9b1b1d8a.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000bdddde-0005a10ba81913a1.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000bf1fbe-0005a12e9a25b154.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000c062e8-0005a1510beb8653.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000c1aa21-0005a176bef35d49.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000c2eb9a-0005a19a2df2ab63.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000c42a8c-0005a1bd4515c75f.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000c56978-0005a1e1eb278a61.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000c6a9fc-0005a20aec5a238c.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000c7ea9c-0005a22e28042b67.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000c92d3c-0005a252fa53e2e4.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000ca6e1f-0005a27683e21b1f.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000cbaad9-0005a29808aa2d3c.journal (64.0M).
    Deleted archived journal /var/log/journal/ace2833ef9d9499bae4433ed0e0df162/system@f90b64e92f51414391405bbe26fae311-0000000000cceaa6-0005a2b995a0d1a0.journal (64.0M).
    Vacuuming done, freed 2.3G of archived journals on disk.
    

    recheck
    Code (Text):
    journalctl --disk-usage      
    Archived and active journals take up 64.0M on disk.
    


    More background info on journald logging Understanding systemd-journald and how logging works with Journal in RHEL 7
     
  5. Doni

    Doni Member

    45
    2
    8
    Aug 23, 2014
    Ratings:
    +5
    Local Time:
    9:32 AM
    nginx/1.7.4
    mysql Ver 15.1 Distrib 5.5.39-MariaDB, for Linux (x86_64) using readline 5.1
    Hi Eva, this is the output for the command

    #systemctl status systemd-journald | sed -e "s|$(hostname)|hostname|g"
    Code (Text):
    ● systemd-journald.service - Journal Service
       Loaded: loaded (/usr/lib/systemd/system/systemd-journald.service; static; vendor preset: disabled)
       Active: active (running) since Mon 2018-03-19 14:09:06 UTC; 2 years 0 months ago
         Docs: man:systemd-journald.service(8)
               man:journald.conf(5)
     Main PID: 333 (systemd-journal)
       Status: "Processing requests..."
       CGroup: /system.slice/systemd-journald.service
               └─333 /usr/lib/systemd/systemd-journald
    
    Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
    


    #journalctl --disk-usage
    Code (Text):
    Archived and active journals take up 96.0M on disk.
    
    [03:58][root@biruapi systemd]# journalctl --vacuum-time=1d
    Deleted archived journal /run/log/journal/60907066c0804b048728ec12db5e2629/system@dd4ef3687f854a89bf6f3b6281c7bedd-00000000007eeeca-00059dab9a8d2f67.journal (8.0M).
    Deleted archived journal /run/log/journal/60907066c0804b048728ec12db5e2629/system@dd4ef3687f854a89bf6f3b6281c7bedd-00000000007f0e0c-00059db56e6af81f.journal (8.0M).
    Deleted archived journal /run/log/journal/60907066c0804b048728ec12db5e2629/system@dd4ef3687f854a89bf6f3b6281c7bedd-00000000007f2d7e-00059dbf177a1355.journal (8.0M).
    Deleted archived journal /run/log/journal/60907066c0804b048728ec12db5e2629/system@dd4ef3687f854a89bf6f3b6281c7bedd-00000000007f4d15-00059dc8bdc5e5ab.journal (8.0M).
    Deleted archived journal /run/log/journal/60907066c0804b048728ec12db5e2629/system@dd4ef3687f854a89bf6f3b6281c7bedd-00000000007f6c84-00059dd2a020a734.journal (8.0M).
    Deleted archived journal /run/log/journal/60907066c0804b048728ec12db5e2629/system@dd4ef3687f854a89bf6f3b6281c7bedd-00000000007f8c2c-00059dddd9e08c72.journal (8.0M).
    Deleted archived journal /run/log/journal/60907066c0804b048728ec12db5e2629/system@dd4ef3687f854a89bf6f3b6281c7bedd-00000000007fabeb-00059de8fbac4704.journal (8.0M).
    Deleted archived journal /run/log/journal/60907066c0804b048728ec12db5e2629/system@dd4ef3687f854a89bf6f3b6281c7bedd-00000000007fcbbb-00059df5dc52cae4.journal (8.0M).
    Deleted archived journal /run/log/journal/60907066c0804b048728ec12db5e2629/system@dd4ef3687f854a89bf6f3b6281c7bedd-00000000007febab-00059e02ac599fc7.journal (8.0M).
    Deleted archived journal /run/log/journal/60907066c0804b048728ec12db5e2629/system@dd4ef3687f854a89bf6f3b6281c7bedd-0000000000800b61-00059e0fa0c44f2a.journal (8.0M).
    Deleted archived journal /run/log/journal/60907066c0804b048728ec12db5e2629/system@dd4ef3687f854a89bf6f3b6281c7bedd-0000000000802b36-00059e1cb347dc29.journal (8.0M).
    Deleted archived journal /run/log/journal/60907066c0804b048728ec12db5e2629/system@dd4ef3687f854a89bf6f3b6281c7bedd-0000000000804b5b-00059e2b16013441.journal (8.0M).
    Vacuuming done, freed 96.0M of archived journals on disk.
    


    #journalctl --disk-usage
    Code (Text):
    Archived and active journals take up 4.0K on disk.
    


    After this the 'Could not create lock at /var/run/yum.pid: [Errno 28] No space left on device' is missing but its still output the error PIP command not found

    #centmin
    Code (Text):
    /usr/local/src/centminmod /run/systemd
    /usr/local/src/centminmod/tools/pip-updates.sh: line 86: pip: command not found
    /usr/local/src/centminmod/tools/pip-updates.sh: line 91: pip: command not found
    /usr/local/src/centminmod/tools/pip-updates.sh: line 98: pip: command not found
    /usr/local/src/centminmod/tools/pip-updates.sh: line 109: pip: command not found
    inc/cpcheck.inc: line 379: pip: command not found
    inc/cpcheck.inc: line 405: pip: command not found
    
    --------------------------------------------------------
         Centmin Mod Menu 123.09beta01 centminmod.com
    --------------------------------------------------------
    
     
  6. eva2000

    eva2000 Administrator Staff Member

    51,248
    11,900
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,374
    Local Time:
    12:32 PM
    Nginx 1.25.x
    MariaDB 10.x
    so disk issue was resolved but what is output for
    Code (Text):
    yum list python2-pip -q

    and
    Code (Text):
    yum history list python2-pip

    2nd command lists the entire history for that yum packages install, reinstall, update and removal if any
    Code (Text):
    yum history list python2-pip
    Loaded plugins: fastestmirror, priorities, versionlock
    ID     | Command line             | Date and time    | Action(s)      | Altered
    -------------------------------------------------------------------------------
       624 | reinstall python2-pip -- | 2020-01-23 22:52 | Reinstall      |    1   
       577 | update python2-pip --dis | 2019-10-26 23:47 | Update         |    1   
       449 | update --disableplugin=p | 2019-04-12 01:04 | I, O, U        |  127 EE
       437 | -y update                | 2019-03-20 18:26 | E, I, U        |  117 EE
       344 | update --disableplugin=p | 2018-04-23 23:38 | Update         |   11   
        34 | -y install python-pip    | 2017-04-06 14:23 | Install        |    1   
    history list
    
     
  7. Doni

    Doni Member

    45
    2
    8
    Aug 23, 2014
    Ratings:
    +5
    Local Time:
    9:32 AM
    nginx/1.7.4
    mysql Ver 15.1 Distrib 5.5.39-MariaDB, for Linux (x86_64) using readline 5.1
    Hi Eva, This is the output

    # yum list python2-pip -q
    Code (Text):
    Error: No matching Packages to list
    


    # yum history list python2-pip
    Code (Text):
    Loaded plugins: fastestmirror, priorities, versionlock
    Bad transaction IDs, or package(s), given
    Error: Failed history list
    


    # ls -la /etc/yum.repos.d/
    Code (Text):
    total 196
    drwxr-xr-x.  2 root root  4096 Apr 11 04:01 .
    drwxr-xr-x. 94 root root 12288 Apr 11 03:02 ..
    -rw-r--r--   1 root root  1730 Mar  5  2017 CentOS-Base.OLD
    -rw-r--r--.  1 root root  1730 Mar  5  2017 CentOS-Base.repo
    -rw-r--r--   1 root root  1320 Mar  5  2017 CentOS-CR.OLD
    -rw-r--r--.  1 root root  1320 Mar  5  2017 CentOS-CR.repo
    -rw-r--r--   1 root root   649 Sep  5  2019 CentOS-Debuginfo.repo
    -rw-r--r--   1 root root   314 Sep  5  2019 CentOS-fasttrack.repo
    -rw-r--r--   1 root root   630 Sep  5  2019 CentOS-Media.repo
    -rw-r--r--   1 root root   998 Dec 11  2018 CentOS-SCLo-scl.repo
    -rw-r--r--   1 root root   971 Oct 29  2018 CentOS-SCLo-scl-rh.repo
    -rw-r--r--   1 root root  1331 Sep  5  2019 CentOS-Sources.repo
    -rw-r--r--   1 root root  6639 Sep  5  2019 CentOS-Vault.repo
    -rw-r--r--   1 root root  1072 Aug 19  2017 epel.OLD
    -rw-r--r--   1 root root  1091 Nov 25 16:45 epel.repo
    -rw-r--r--   1 root root  1050 Sep 17  2019 epel.repo.rpmnew
    -rw-r--r--   1 root root  1149 Sep 17  2019 epel-testing.repo
    -rw-r--r--   1 root root   169 Mar  5  2017 mariadb.repo
    -rw-r--r--   1 root root   693 Nov 25 16:37 mirrors-rpmforge
    -rw-r--r--   1 root root   673 Nov 25 16:37 mirrors-rpmforge-extras
    -rw-r--r--   1 root root   673 Mar  1  2019 mirrors-rpmforge-extras.rpmsave
    -rw-r--r--   1 root root   693 Mar  1  2019 mirrors-rpmforge.rpmsave
    -rw-r--r--   1 root root   683 Nov 25 16:37 mirrors-rpmforge-testing
    -rw-r--r--   1 root root   683 Mar  1  2019 mirrors-rpmforge-testing.rpmsave
    -rw-r--r--   1 root root  2574 Mar  5  2017 percona-release.OLD
    -rw-r--r--   1 root root  2583 Nov 25 16:45 percona-release.repo
    -rw-r--r--   1 root root   446 Sep  6  2019 remi-glpi91.repo
    -rw-r--r--   1 root root   446 Sep  6  2019 remi-glpi92.repo
    -rw-r--r--   1 root root   446 Sep  6  2019 remi-glpi93.repo
    -rw-r--r--   1 root root   446 Sep  6  2019 remi-glpi94.repo
    -rw-r--r--   1 root root   855 Sep  6  2019 remi-modular.repo
    -rw-r--r--   1 root root  2340 Dec  9  2015 remi.OLD
    -rw-r--r--   1 root root   456 Sep  6  2019 remi-php54.repo
    -rw-r--r--   1 root root  1314 Sep  6  2019 remi-php70.repo
    -rw-r--r--   1 root root  1314 Sep  6  2019 remi-php71.repo
    -rw-r--r--   1 root root  1314 Sep  6  2019 remi-php72.repo
    -rw-r--r--   1 root root  1314 Sep  6  2019 remi-php73.repo
    -rw-r--r--   1 root root  1314 Sep  6  2019 remi-php74.repo
    -rw-r--r--   1 root root  2371 Mar  5  2017 remi.repo
    -rw-r--r--   1 root root  2605 Mar 21  2018 remi.repo.rpmnew
    -rw-r--r--   1 root root   449 Apr 11 04:01 remi-safe.repo
    -rw-r--r--   1 root root   750 Mar 21  2018 remi-safe.repo.rpmnew
    -rw-r--r--   1 root root  1128 Jun 12  2014 rpmforge.OLD
    -rw-r--r--   1 root root  1184 Nov 25 16:37 rpmforge.repo
    -rw-r--r--   1 root root   614 Nov 25 16:35 varnishcache_varnish41.OLD
    -rw-r--r--   1 root root   614 Apr 11 04:01 varnishcache_varnish41.repo
    
     
  8. eva2000

    eva2000 Administrator Staff Member

    51,248
    11,900
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,374
    Local Time:
    12:32 PM
    Nginx 1.25.x
    MariaDB 10.x
    Looks like your install is originally pretty old back in 2017 ? if could of been before python2-pip was installed by default in later 123.09beta01 revisions. So you can manually install it and then version lock it as we update it via pip later on, but lock the yum package to prevent conflicts
    Code (Text):
    yum -y install python2-pip
    yum versionlock python2-pip
    yum versionlock list
    

    last command lists all packages that Centmin Mod locks

    example
    Code (Text):
    yum versionlock list
    Loaded plugins: fastestmirror, priorities, versionlock
    0:libc-client-2007f-16.el7.*
    0:uw-imap-devel-2007f-16.el7.*
    0:python2-pip-8.1.2-10.el7.*
    0:ImageMagick-6.9.11.6-2.el7.remi.*
    0:ImageMagick-devel-6.9.11.6-2.el7.remi.*
    0:ImageMagick-c++-6.9.11.6-2.el7.remi.*
    0:ImageMagick-c++-devel-6.9.11.6-2.el7.remi.*
    0:ImageMagick-libs-6.9.11.6-2.el7.remi.*
    0:LibRaw-0.19.2-1.el7.*
    versionlock list done
    


    then run centmin.sh menu and it should do the proper background pip updates for your system
     
  9. Doni

    Doni Member

    45
    2
    8
    Aug 23, 2014
    Ratings:
    +5
    Local Time:
    9:32 AM
    nginx/1.7.4
    mysql Ver 15.1 Distrib 5.5.39-MariaDB, for Linux (x86_64) using readline 5.1
    Hi Eva,

    # yum -y install python2-pip
    Code (Text):
    Loaded plugins: fastestmirror, priorities, versionlock
    Loading mirror speeds from cached hostfile
     * base: mirror.newmediaexpress.com
     * centos-sclo-rh: mirror.newmediaexpress.com
     * centos-sclo-sclo: mirror.newmediaexpress.com
     * epel: sg.fedora.ipserverone.com
     * extras: mirror.newmediaexpress.com
     * rpmforge: mirror.poliwangi.ac.id
     * updates: mirror.newmediaexpress.com
    279 packages excluded due to repository priority protections
    No package python2-pip available.
    Error: Nothing to do
    


    Strange, look like th package is not available in the repo
     
  10. eva2000

    eva2000 Administrator Staff Member

    51,248
    11,900
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,374
    Local Time:
    12:32 PM
    Nginx 1.25.x
    MariaDB 10.x
    what do you get from
    Code (Text):
    yum -q list python2-pip --enablerepo=epel --disableplugin=priorities --disableexcludes=main,epel
     
  11. Doni

    Doni Member

    45
    2
    8
    Aug 23, 2014
    Ratings:
    +5
    Local Time:
    9:32 AM
    nginx/1.7.4
    mysql Ver 15.1 Distrib 5.5.39-MariaDB, for Linux (x86_64) using readline 5.1
    This one
    Code (Text):
    # yum -q list python2-pip --enablerepo=epel --disableplugin=priorities --disableexcludes=main,epel
    Available Packages
    python2-pip.noarch                                             8.1.2-12.el7                                              epel
    
     
  12. eva2000

    eva2000 Administrator Staff Member

    51,248
    11,900
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,374
    Local Time:
    12:32 PM
    Nginx 1.25.x
    MariaDB 10.x
    ok install via
    Code (Text):
    yum -y install python2-pip --enablerepo=epel --disableplugin=priorities --disableexcludes=main,epel
    yum versionlock python2-pip
    yum versionlock list
    
     
  13. Doni

    Doni Member

    45
    2
    8
    Aug 23, 2014
    Ratings:
    +5
    Local Time:
    9:32 AM
    nginx/1.7.4
    mysql Ver 15.1 Distrib 5.5.39-MariaDB, for Linux (x86_64) using readline 5.1
    Hi Eva,

    Thank you for baring with me with the problem. It looks like it solved now, and i can update nginx. Thanks a lot and stay healty in this trying time.

    Code (Text):
    -------------------------------------------------------------
    * Current Nginx Version: 1.17.9 (110420-065646-centos7-kvm-3cb25c3)
    * Latest Nginx Available: 1.17.9 (centminmod.com/nginxnews)
    -------------------------------------------------------------
    
    -------------------------------------------------------------
     Centmin Mod local code is up to date at /usr/local/src/centminmod
     no available updates at this time...
    -------------------------------------------------------------
    
     
  14. eva2000

    eva2000 Administrator Staff Member

    51,248
    11,900
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,374
    Local Time:
    12:32 PM
    Nginx 1.25.x
    MariaDB 10.x
    Glad to hear and you too stay safe/healthy !
     
  15. pamamolf

    pamamolf Well-Known Member

    4,038
    426
    83
    May 31, 2014
    Ratings:
    +824
    Local Time:
    4:32 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    I didn't get again that error but for me i think is better to set it to lower max size if that can protect us also from a full /run.

    Also at least for me a huge amount of logs there are not easy to check and not so usable and not needed...

    Thanks :)
     
    Last edited: Apr 12, 2020