Join the community today
Become a Member

Beta Branch /usr/bin/cminfo bug

Discussion in 'Beta release code' started by wmtech, May 28, 2025.

  1. wmtech

    wmtech Active Member

    187
    44
    28
    Jul 22, 2017
    Ratings:
    +139
    Local Time:
    1:17 PM
    Please fill in any relevant information that applies to you:
    • CentOS Version: AlmaLinux 9
    • Centmin Mod Version Installed: 140.00beta01
    • Nginx Version Installed: 1.27.5
    • PHP Version Installed: 7.4.33
    • MariaDB MySQL Version Installed: 10.6.22-MariaDB
    • When was last time updated Centmin Mod code base ? : Fresh install today
    • Persistent Config:
    I recognized that there are errors with a fresh installed Centminmod stack 140.00beta1 at Alma Linux 9.

    When the load.sh script is triggered by csf the report is mailed as expected but shows the following errors:

    Code (Text):
    Failed:
     tcpdump-14:4.99.0-9.el9.x86_64                                              
    
    ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
    mysqladmin: connect to server at 'localhost' failed
    error: 'Access denied for user 'root'@'localhost' (using password: NO)'
    mysqladmin: connect to server at 'localhost' failed
    error: 'Access denied for user 'root'@'localhost' (using password: NO)'
    ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
    


    When I run the /usr/bin/cminfo script as root directly at the server there are no problems installing tcpdump and accessing the database.


    It seems that triggering the script by csf from load.sh does not inherit all root permissions or/and paths.

    This is just a minor annoyance hopefully not seen to frequently.
    Can anything be done about that?

    Thanks.
     
  2. eva2000

    eva2000 Administrator Staff Member

    58,895
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    9:17 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Just updated 131.00stable, 132.00stable, 140.00beta01 and new with cminfo.sh fix, run cmupdate command to pull the fix and let cronjob auto update cminfo.sh every 4hrs or for immediate fix after cmupdate run, run the cronjob command manually once instead of waiting 4hrs
    Code (Text):
    /usr/bin/cminfo_updater