arcilio

Well-Known Member
Jun 11, 2014
50
0
6
cPanel Access Level
Root Administrator
Hello, i'm having problems with two plugins, clamav e munin
Check the log

CLAMAV:

Code:
[20140628.213927]   
[20140628.213927]   Problems were detected with cPanel-provided files which are RPM controlled.
[20140628.213927]   If you did not make these changes intentionally, you can correct them by running:
[20140628.213927]   
[20140628.213927]   > /usr/local/cpanel/scripts/check_cpanel_rpms --fix
[20140628.213927]   The following RPMs are missing from your system:
[20140628.213927]   cpanel-clamav-0.98.3-1.cp1140
[20140628.213927]   cpanel-clamav-virusdefs-0.98.3-1.cp1140
[20140628.213927]   cpanel-perl-514-File-Scan-ClamAV-1.91-1.cp1136
[20140628.213927]   Removing 0 broken rpms: 
[20140628.213927]   rpm: no packages given for erase
[20140628.213928]   Downloading [url]http://httpupdate.cpanel.net/RPM/11.40/centos/6/x86_64/rpm.md5[/url]
[20140628.213929]   cpanel-clamav-virusdefs-0.98.3-1.cp1140.x86_64.rpm already downloaded
[20140628.213929]   cpanel-perl-514-File-Scan-ClamAV-1.91-1.cp1136.x86_64.rpm already downloaded
[20140628.213929]   cpanel-clamav-0.98.3-1.cp1140.x86_64.rpm already downloaded
[20140628.213929]   Hooks system NOT enabled
[20140628.213929]   No RPMS need to be uninstalled
[20140628.213929]   Installing new rpms: cpanel-clamav-virusdefs-0.98.3-1.cp1140.x86_64.rpm cpanel-perl-514-File-Scan-ClamAV-1.91-1.cp1136.x86_64.rpm cpanel-clamav-0.98.3-1.cp1140.x86_64.rpm
[20140628.213929]   Preparing packages for installation...
[20140628.213929]   error: error creating temporary file /var/tmp/rpm-tmp.ZksLAT: No such file or directory
[20140628.213929]   error: Couldn't create temporary file for %pre(cpanel-clamav-virusdefs-0.98.3-1.cp1140.x86_64): No such file or directory
[20140628.213929]   error:   install: %pre scriptlet failed (2), skipping cpanel-clamav-virusdefs-0.98.3-1.cp1140
[20140628.213929]   error: error creating temporary file /var/tmp/rpm-tmp.bWX2Mu: No such file or directory
[20140628.213929]   error: Couldn't create temporary file for %pre(cpanel-clamav-0.98.3-1.cp1140.x86_64): No such file or directory
[20140628.213929]   error:   install: %pre scriptlet failed (2), skipping cpanel-clamav-0.98.3-1.cp1140
[20140628.213929]   cpanel-perl-514-File-Scan-ClamAV-1.91-1.cp1136
[20140628.213930] W Error Code: 3
[20140628.213930] E The following possible errors were detected while installing RPMs:
[20140628.213930] E error creating temporary file /var/tmp/rpm-tmp.ZksLAT Couldn't create temporary file for %pre(cpanel-clamav-virusdefs-0.98.3-1.cp1140.x86_64) install error creating temporary file /var/tmp/rpm-tmp.bWX2Mu Couldn't create temporary file for %pre(cpanel-clamav-0.98.3-1.cp1140.x86_64) install
[20140628.213930]   The Administrator will be notified to review this output when this script completes
Done



Munin:


Code:
[20140628.214451]   
[20140628.214451]   Problems were detected with cPanel-provided files which are RPM controlled.
[20140628.214451]   If you did not make these changes intentionally, you can correct them by running:
[20140628.214451]   
[20140628.214451]   > /usr/local/cpanel/scripts/check_cpanel_rpms --fix
[20140628.214451]   The following RPMs are missing from your system:
[20140628.214451]   cpanel-perl-514-Cache-Cache-1.06-1.cp1136
[20140628.214451]   cpanel-perl-514-munin-1.4.7-10.cp1136
[20140628.214451]   Removing 0 broken rpms: 
[20140628.214451]   rpm: no packages given for erase
[20140628.214452]   Downloading [url]http://httpupdate.cpanel.net/RPM/11.36/centos/6/x86_64/rpm.md5[/url]
[20140628.214454]   cpanel-perl-514-Cache-Cache-1.06-1.cp1136.x86_64.rpm already downloaded
[20140628.214454]   cpanel-perl-514-munin-1.4.7-10.cp1136.x86_64.rpm already downloaded
[20140628.214454]   Hooks system NOT enabled
[20140628.214454]   No RPMS need to be uninstalled
[20140628.214454]   Installing new rpms: cpanel-perl-514-Cache-Cache-1.06-1.cp1136.x86_64.rpm cpanel-perl-514-munin-1.4.7-10.cp1136.x86_64.rpm
[20140628.214454]   Preparing packages for installation...
[20140628.214454]   cpanel-perl-514-Cache-Cache-1.06-1.cp1136
[20140628.214455]   error: error creating temporary file /var/tmp/rpm-tmp.TXv4rQ: No such file or directory
[20140628.214455]   error: Couldn't create temporary file for %pre(cpanel-perl-514-munin-1.4.7-10.cp1136.x86_64): No such file or directory
[20140628.214455]   error:   install: %pre scriptlet failed (2), skipping cpanel-perl-514-munin-1.4.7-10.cp1136
[20140628.214455] W Error Code: 2
[20140628.214455] E The following possible errors were detected while installing RPMs:
[20140628.214455] E error creating temporary file /var/tmp/rpm-tmp.TXv4rQ Couldn't create temporary file for %pre(cpanel-perl-514-munin-1.4.7-10.cp1136.x86_64) install
[20140628.214455]   The Administrator will be notified to review this output when this script completes
[20140628.214457]    
[20140628.214457]   The following RPMs are unneeded on your system and should be uninstalled:
[20140628.214457]   cpanel-perl-514-File-Scan-ClamAV-1.91-1.cp1136
[20140628.214457]   Removing 0 broken rpms: 
[20140628.214457]   rpm: no packages given for erase
[20140628.214457]   No new RPMS needed for install
[20140628.214458]   Uninstalling unneeded rpms: cpanel-perl-514-File-Scan-ClamAV

I already run /usr/local/cpanel/scripts/check_cpanel_rpms --fix
And the problem continue
How i can fix it and use the plugins?
Tks
 

arcilio

Well-Known Member
Jun 11, 2014
50
0
6
cPanel Access Level
Root Administrator
Other thing, for me haven't " WHM >> Plugins >> ConfigServer Security&Firewall", and i have CSF installed in my server

"
I see it in my log
"error: error creating temporary file /var/tmp/rpm-tmp.I1FpQF: No such file or directory
[20140630.000100] error: Couldn't create temporary file for %pre(cpanel-clamav-virusdefs-0.98.3-1.cp1140.x86_64): No such file or directory
[20140630.000100] error: install: %pre scriptlet failed (2), skipping cpanel-clamav-virusdefs-0.98.3-1.cp1140
[20140630.000100] error: error creating temporary file /var/tmp/rpm-tmp.stYRV6: No such file or directory
[20140630.000100] error: Couldn't create temporary file for %pre(cpanel-clamav-0.98.3-1.cp1140.x86_64): No such file or directory
[20140630.000100] error: install: %pre scriptlet failed (2), skipping cpanel-clamav-0.98.3-1.cp1140"
 

cPanelMichael

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

I am happy to see you were able to resolve the issue. Thank you for updating us with the outcome.