Cpanel service does not run (Starting cPanel services: Can't locate BSD/Resource.pm)

mgoogol

Registered
Aug 22, 2013
2
0
1
cPanel Access Level
Root Administrator
HI

I have issue with Cpanel server and it wont be run

This is error :
Starting cPanel services: Can't locate BSD/Resource.pm in @INC (@INC contains: / usr/local/cpanel /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_ 64-linux-64int /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib /usr/l ocal/cpanel/3rdparty/perl/514/lib64/perl5/5.14.3/x86_64-linux-64int /usr/local/c panel/3rdparty/perl/514/lib64/perl5/5.14.3 /opt/cpanel/perl5/514/site_lib/x86_64 -linux-64int /opt/cpanel/perl5/514/site_lib .) at /usr/local/cpanel/etc/init/sta rtcpsrvd line 12.
BEGIN failed--compilation aborted at /usr/local/cpanel/etc/init/startcpsrvd line 12.


Any idea?


I tried to use "upcp --fore" but still same issue.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
Hello :)

Please try installing this missing Perl module via:

Code:
/scripts/perlinstaller BSD::Resource
Thank you.
 

mgoogol

Registered
Aug 22, 2013
2
0
1
cPanel Access Level
Root Administrator
HI

I did but I got the same error !!

Code:
Starting cPanel services: Can't locate BSD/Resource.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/5.14.3/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/5.14.3 /opt/cpanel/perl5/514/site_lib/x86_64-linux-64int /opt/cpanel/perl5/514/site_lib .) at /usr/local/cpanel/etc/init/startcpsrvd line 12.
BEGIN failed--compilation aborted at /usr/local/cpanel/etc/init/startcpsrvd line 12.
my cpanel version is :11.38
Centos is 5.9

I tried "/usr/local/cpanel/scripts/check_cpanel_rpms --fix" but dose not help me...

Please advise?

- - - Updated - - -

this is output of "/usr/local/cpanel/scripts/check_cpanel_rpms --fix"

Code:
[email protected] [/usr/local/cpanel/3rdparty/perl/514/lib64/perl5/5.14.3]# /usr/local/cpanel/scripts/check_cpanel_rpms --fix
[20130823.105311]
[20130823.105311]   Problems were detected with cPanel-provided files which are RPM controlled.
[20130823.105311]   If you did not make these changes intentionally, you can correct them by running:
[20130823.105311]
[20130823.105311]   > /usr/local/cpanel/scripts/check_cpanel_rpms --fix
[20130823.105311]
[20130823.105311]   The following files were found to be altered from their original RPM:
[20130823.105311]   bandmin,1.6.1,9.cp1136
[20130823.105311]   cpanel-perl-514-BSD-Resource,1.2904,1.cp1136
[20130823.105311]   cpanel-perl-514-CPAN,1.9800,1.cp1136
[20130823.105311]   cpanel-perl-514-Crypt-CAST5_PP,1.04,1.cp1136
[20130823.105311]   cpanel-perl-514-Crypt-CBC,2.30,1.cp1136
[20130823.105311]   cpanel-perl-514-Crypt-DES_EDE3,0.01,1.cp1136
[20130823.105311]   cpanel-perl-514-Crypt-DSA,1.17,1.cp1136
[20130823.105311]   cpanel-perl-514-Crypt-GPG,1.63,1.cp1136
[20130823.105311]   cpanel-perl-514-Crypt-OpenPGP,1.06,1.cp1136
[20130823.105311]   cpanel-perl-514-Crypt-Primes,0.50,1.cp1136
[20130823.105311]   cpanel-perl-514-Crypt-RC4,2.02,1.cp1136
[20130823.105311]   cpanel-perl-514-Crypt-RSA,1.97,1.cp1136
[20130823.105311]   cpanel-perl-514-Crypt-Random,1.25,1.cp1136
[20130823.105311]   cpanel-perl-514-IO-Compress,2.052,1.cp1136
[20130823.105311]   cpanel-perl-514-IO-Interactive,0.0.6,1.cp1136
[20130823.105311]   cpanel-perl-514-IO-Interactive-Tiny,0.2,1.cp1136
[20130823.105311]   cpanel-perl-514-IO-Prompt,0.997001,1.cp1136
[20130823.105311]   cpanel-perl-514-IO-Socket-ByteCounter,v0.0.2,1.cp1136
[20130823.105311]   cpanel-perl-514-IO-Socket-INET6,2.69,1.cp1136
[20130823.105311]   cpanel-perl-514-IO-Socket-SSL,1.76,1.cp1136
[20130823.105311]   cpanel-perl-514-IO-String,1.08,1.cp1136
[20130823.105311]   cpanel-perl-514-IO-TieCombine,1.002,1.cp1136
[20130823.105311]   cpanel-perl-514-IO-Zlib,1.10,1.cp1136
[20130823.105311]   cpanel-perl-514-IO-stringy,2.110,1.cp1136
[20130823.105311]   cpanel-perl-514-String-CRC32,1.4,1.cp1136
[20130823.105311]   cpanel-perl-514-YAML-Tiny,1.51,1.cp1136
[20130823.105311]   cpanel-wwwcount,2.5,2.cp1136
[20130823.105311]   error: file /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/Test/Tester/Capture.pm (Not a directory): Not a directory
[20130823.105311]   error: file /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/Test/Tester/CaptureRunner.pm (Not a directory): Not a directory
[20130823.105311]   error: file /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/Test/Tester/Delegate.pm (Not a directory): Not a directory
[20130823.105311]   error: file /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int/BSD/Resource.pm (Not a directory): Not a directory
[20130823.105311]   error: file /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int/auto/String/CRC32/CRC32.so (Not a directory): Not a directory
[20130823.105311]
[20130823.105311]   Removing 32 broken rpms: bandmin, cpanel-perl-514-BSD-Resource, cpanel-perl-514-CPAN, cpanel-perl-514-Crypt-CAST5_PP, cpanel-perl-514-Crypt-CBC, cpanel-perl-514-Crypt-DES_EDE3, cpanel-perl-514-Crypt-DSA, cpanel-perl-514-Crypt-GPG, cpanel-perl-514-Crypt-OpenPGP, cpanel-perl-514-Crypt-Primes, cpanel-perl-514-Crypt-RC4, cpanel-perl-514-Crypt-RSA, cpanel-perl-514-Crypt-Random, cpanel-perl-514-IO-Compress, cpanel-perl-514-IO-Interactive, cpanel-perl-514-IO-Interactive-Tiny, cpanel-perl-514-IO-Prompt, cpanel-perl-514-IO-Socket-ByteCounter, cpanel-perl-514-IO-Socket-INET6, cpanel-perl-514-IO-Socket-SSL, cpanel-perl-514-IO-String, cpanel-perl-514-IO-TieCombine, cpanel-perl-514-IO-Zlib, cpanel-perl-514-IO-stringy, cpanel-perl-514-String-CRC32, cpanel-perl-514-YAML-Tiny, cpanel-wwwcount, error: file /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/Test/Tester/Capture.pm (Not a directory): Not a directory, error: file /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/Test/Tester/CaptureRunner.pm (Not a directory): Not a directory, error: file /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/Test/Tester/Delegate.pm (Not a directory): Not a directory, error: file /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int/BSD/Resource.pm (Not a directory): Not a directory, error: file /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int/auto/String/CRC32/CRC32.so (Not a directory): Not a directory
[20130823.105311]   error: package error: file /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/Test/Tester/Capture.pm (Not a directory): Not a directory is not installed
[20130823.105311]   error: package error: file /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/Test/Tester/CaptureRunner.pm (Not a directory): Not a directory is not installed
[20130823.105311]   error: package error: file /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/Test/Tester/Delegate.pm (Not a directory): Not a directory is not installed
[20130823.105311]   error: package error: file /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int/BSD/Resource.pm (Not a directory): Not a directory is not installed
[20130823.105311]   error: package error: file /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int/auto/String/CRC32/CRC32.so (Not a directory): Not a directory is not installed
[20130823.105313]   No new RPMS needed for install
[20130823.105314]   No RPMS need to be uninstalled
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
Could you open a support ticket so we can take a closer look?

Submit A Ticket

You can post the ticket number here so we can update this thread with the outcome.

Thank you.