cpanel will not start on FreeBSD 7.0-RELEASE

gregf

Member
Sep 17, 2006
5
0
151
Hello,

Trying to get cPanel installed and running on our new FreeBSD 7.0-RELEASE based server.

We tried starting cPanel using /etc/init.d/cpanel start and /etc/init.d/cpanel4 start. Neither worked.

Ran a upcp and it was nice enough to remove perl. Reinstalled perl 5.8.8 and ran upcp --force. Quite a bit was updated, but perl was removed again. Reinstalled perl again and then tried /etc/init.d/cpanel4 start again. It gets farther than before now, but errors out with the following;

Code:
gila# /etc/init.d/cpanel4 start
Waiting for cpaneld to shutdown ... ...Done
Waiting for webmaild to shutdown ... ...Done
Waiting for cphulkd.pl to shutdown ... ...Done
Waiting for cPhulkd to shutdown ... ...Done
Waiting for cphulkd to shutdown ... ...Done
Can't locate BSD/Resource.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/cpanel/Cpanel/CPAN/overload/__Time /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl/5.6.2 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at /usr/local/cpanel/libexec/cpdavd line 24.
BEGIN failed--compilation aborted at /usr/local/cpanel/libexec/cpdavd line 24.
Waiting for cpdavd to shutdown ... ...Done
Waiting for cpdavd-ssl to shutdown ... ...Done
Waiting for cpdavd-ssl to shutdown ... ...Done
Waiting for cpldapd to shutdown ... ...Done
Waiting for cppop to shutdown ... ...Done
Waiting for cppop-ssl to shutdown ... ...Done
Waiting for cpanellogd to shutdown ... ...Done
Waiting for entropychat to shutdown ... ...Done
Waiting for eximstats to shutdown ... ...Done
Waiting for melange to shutdown ... ...Done
Waiting for startmelange to shutdown ... ...Done
Shutting down Mailman's master qrunner
PID unreadable in: /usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid
[Errno 2] No such file or directory: '/usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid'
Is qrunner even running?
No matching processes were found
Waiting for antirelayd to shutdown ... ...Done
Waiting for eximstats to shutdown ... ...Done
Waiting for cpbandwd to shutdown ... ...Done
Can't locate BSD/Resource.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/cpanel/Cpanel/CPAN/overload/__Time /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl/5.6.2 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at /usr/local/cpanel/Cpanel/Rlimit.pm line 10.
Compilation failed in require at /usr/local/cpanel/Cpanel/TailWatch.pm line 18.
Compilation failed in require at /usr/local/cpanel/libexec/tailwatchd line 14.
Waiting for tailwatchd to shutdown ... ...Done
Waiting for cpsrvd to shutdown ... ...Done
Waiting for cpsrvd-ssl to shutdown ... ...Done
Waiting for whostmgrd to shutdown ... ...Done
(internal death while parsing ) Wed Oct  1 15:46:08 2008 [1147] error: Can't locate Cpanel/Cleanup.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/cpanel/3rdparty/lib/perl/5.8.8/amd64-freebsd/auto /usr/local/cpanel/3rdparty/lib/perl/5.8.8/amd64-freebsd /usr/local/cpanel/3rdparty/lib/perl/5.8.8 /usr/local/cpanel/3rdparty/lib/perl /usr/local/cpanel/Cpanel/CPAN/overload/__Time /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl/5.6.2 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at /usr/local/cpanel/Cpanel/CleanupStub.pm line 33.
 at /usr/local/cpanel/Cpanel/CleanupStub.pm line 33
        eval {...} called at /usr/local/cpanel/Cpanel/CleanupStub.pm line 33
        require Cpanel/CleanupStub.pm called at /usr/local/cpanel/Cpanel/SafeRun/FDs.pm line 3
        Cpanel::SafeRun::FDs::BEGIN() called at Cpanel/Cleanup.pm line 0
        eval {...} called at Cpanel/Cleanup.pm line 0
        require Cpanel/SafeRun/FDs.pm called at /usr/local/cpanel/Cpanel/SafeRun/BG.pm line 3
        Cpanel::SafeRun::BG::BEGIN() called at Cpanel/Cleanup.pm line 0
        eval {...} called at Cpanel/Cleanup.pm line 0
        require Cpanel/SafeRun/BG.pm called at /usr/local/cpanel/Cpanel/BandwidthMgr.pm line 11
        Cpanel::BandwidthMgr::BEGIN() called at Cpanel/Cleanup.pm line 0
        eval {...} called at Cpanel/Cleanup.pm line 0
        require Cpanel/BandwidthMgr.pm called at /usr/local/cpanel/cpanellogd line 35
        main::BEGIN() called at Cpanel/Cleanup.pm line 0
        eval {...} called at Cpanel/Cleanup.pm line 0


(internal death while parsing ) Wed Oct  1 15:46:08 2008 [1147] error: Can't locate DBD/mysql.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/cpanel/3rdparty/lib/perl/5.8.8/amd64-freebsd/auto /usr/local/cpanel/3rdparty/lib/perl/5.8.8/amd64-freebsd /usr/local/cpanel/3rdparty/lib/perl/5.8.8 /usr/local/cpanel/3rdparty/lib/perl /usr/local/cpanel/Cpanel/CPAN/overload/__Time /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl/5.6.2 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at /usr/local/cpanel/cpanellogd line 76.
 at /usr/local/cpanel/cpanellogd line 76
        main::BEGIN() called at DBD/mysql.pm line 76
        eval {...} called at DBD/mysql.pm line 76


(internal death while parsing ) Wed Oct  1 15:46:08 2008 [1147] error: Can't locate DBD/mysql.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/cpanel/3rdparty/lib/perl/5.8.8/amd64-freebsd/auto /usr/local/cpanel/3rdparty/lib/perl/5.8.8/amd64-freebsd /usr/local/cpanel/3rdparty/lib/perl/5.8.8 /usr/local/cpanel/3rdparty/lib/perl /usr/local/cpanel/Cpanel/CPAN/overload/__Time /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl/5.6.2 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at /usr/local/cpanel/cpanellogd line 76.
BEGIN failed--compilation aborted at /usr/local/cpanel/cpanellogd line 76.
 at /usr/local/cpanel/cpanellogd line 76


Can't locate DBD/mysql.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/cpanel/3rdparty/lib/perl/5.8.8/amd64-freebsd/auto /usr/local/cpanel/3rdparty/lib/perl/5.8.8/amd64-freebsd /usr/local/cpanel/3rdparty/lib/perl/5.8.8 /usr/local/cpanel/3rdparty/lib/perl /usr/local/cpanel/Cpanel/CPAN/overload/__Time /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl/5.6.2 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at /usr/local/cpanel/cpanellogd line 76.
BEGIN failed--compilation aborted at /usr/local/cpanel/cpanellogd line 76.
[a fatal error or timeout occurred while processing this directive][a fatal error or timeout occurred while processing this directive][a fatal error or timeout occurred while processing this directive]Waiting for cppop to shutdown ... ...Done
Waiting for cppop-ssl to shutdown ... ...Done
Can't locate BSD/Resource.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/cpanel/Cpanel/CPAN/overload/__Time /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl/5.6.2 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at /usr/local/cpanel/Cpanel/Rlimit.pm line 10.
Compilation failed in require at /usr/local/cpanel/Cpanel/TailWatch.pm line 18.
Compilation failed in require at /usr/local/cpanel/bin/tailwatchd line 14.
Can't locate DBI.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl/5.6.2 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at /usr/local/cpanel/Cpanel/Hulkd.pm line 8.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Hulkd.pm line 8.
Compilation failed in require at /usr/local/cpanel/cphulkd.pl line 23.
BEGIN failed--compilation aborted at /usr/local/cpanel/cphulkd.pl line 23.
Can't locate BSD/Resource.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/cpanel/Cpanel/CPAN/overload/__Time /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl/5.6.2 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at /usr/local/cpanel/cpdavd line 24.
BEGIN failed--compilation aborted at /usr/local/cpanel/cpdavd line 24.
We're still going through that output ourselves but wanted to see if anyone else has run into this before and knows how to fix it.

We are also rather curios why upcp keeps removing perl and how to prevent upcp from doing it again.

Thanks