How do I run a command to fix broken RPMS?

gfrecipes

Registered
Aug 12, 2015
3
0
1
California
cPanel Access Level
Website Owner
I also need to run a command to fix a broken RPMS (whatever that is). I am a beginner to whm and need assistance. I found the

Home »
Server Configuration »
Tweak Settings

Now I need to know where to place the fix command to run it.

Any help would be appreciated.

I would have added a new discussion, but have no idea how to do so on this forum.

Thanks!
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
Hello :)

I believe you are looking for the following command:

Code:
/usr/local/cpanel/scripts/check_cpanel_rpms
It's documented here:

check_cpanel_rpms script

Thank you.
 

gfrecipes

Registered
Aug 12, 2015
3
0
1
California
cPanel Access Level
Website Owner
I have the code to run it. It is actually different than what you have supplied. (I would add the code here, but I don't know how to do this. )However, I do not know where to put this code. Can you explain this in detail? Thanks!

I checked under the Software and SQL tabs, but don't see where I can add the code.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
Please elaborate on which RPM is broken if you are not referring to the cPanel RPMs. What error message are you facing?

Thank you.
 

gfrecipes

Registered
Aug 12, 2015
3
0
1
California
cPanel Access Level
Website Owner
[check_cpanel_rpms] Altered RPMs found on “server.domain.com”.

The system detected problems with the following cPanel-provided files that the RPM controls:

RPM

Status

Additional Information

compat-MySQL51-shared,5.1.73,1.cp1150-/usr/lib64/libmysqlclient.so.16.0.0

Broken

S.?......

If you did not make these changes intentionally, execute the following command as the root user to correct them:

/usr/local/cpanel/scripts/check_cpanel_rpms --fix

This notice is the result of a request from “rpmcheck”.

This notice was generated on “Wednesday, August 12, 2015” at “5:07:30 AM UTC”.
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
I have the code to run it. It is actually different than what you have supplied. (I would add the code here, but I don't know how to do this. )However, I do not know where to put this code. Can you explain this in detail? Thanks!
Feel free to post the command you are referring to directly to the post in CODE tags. I'm not sure which command you are referring to. Also, to clarify, the issue continues after running the "/usr/local/cpanel/scripts/check_cpanel_rpms --fix" command?

Thank you.