Saturday, August 20, 2011

Easy Apche can not run

A.
!! Creating backup of working apache in '/usr/local/apache.backup'. !!
!! Symlink encountered (/usr/local/apache/etc), preserving target (conf)... !!
!! Backup of working apache complete. !!

!! Start: Silent httpupdate request !!


!! End: Silent httpupdate request !!

Checking that all tarballs are present and up to date.
Checking that all packages are present and up to date.
!! Trying to auto repair package system !!
!! Package system can not be repaired automatically !!
!! Please visit http://www.cpanel.net/support/could_not_ensurepkgs.htm for help with this error. !!
!! Restoring original working apache !!
!! Executing '/scripts/initsslhttpd' !!
!! Restarting 'httpd' ... !!
!! 'httpd' restart complete. !!
Building global cache for cpanel...Done
!! Executing '/scripts/initfpsuexec' !!
!! Executing '/scripts/initsslhttpd' !!
!! Executing '/scripts/update_apachectl' !!
Compiling report...
Sending report. As some of the attached files may be quite large, this could take a few minutes. Thanks for your patience.
!! If you want to create a support ticket with cPanel regarding this please reference 'BuildAP Report Id': '6207501' !!
Report processed.
!! Feel free to submit a support ticket at https://tickets.cpanel.net/submit/index.cgi?reqtype=tickets !!
!! Verbose logfile is at '/usr/local/cpanel/logs/easy/apache/build.1313811394' !!

While yum update

root@server [/]# yum update
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/lib64/python2.4/threading.py", line 416, in start
_start_new_thread(self.__bootstrap, ())
thread.error: can't start new thread

But for the
yum --disableplugin=fastestmirror update
Worked for me

So i have increased the RAM for my server and tried the easy apache fixed my issue

B. bash-3.2# /scripts/easyapache
Can't locate CDB_File.pm in @INC (@INC contains: /usr/local/cpanel /var/cpanel/perl/easy /scripts /usr/local/lib/perl5/5.8.8/i686-linux /usr/local/lib/perl5/5.8 8.8 /usr/local/lib/perl5/site_perl/5.8.8/i686-linux /usr/local/lib/perl5/site_per rl/5.8.8 /usr/local/lib/perl5/site_perl .) at /usr/local/cpanel/Cpanel/Locale/Uti ils.pm line 12.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Locale/Utils.pm line 12.
Compilation failed in require at /usr/local/cpanel/Cpanel/Locale.pm line 17.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Locale.pm line 17.
Compilation failed in require at /usr/local/cpanel/Cpanel/Template.pm line 40.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Template.pm line 40.
Compilation failed in require at /usr/local/cpanel/Cpanel/AdvConfig.pm line 9.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/AdvConfig.pm line 9.
Compilation failed in require at /var/cpanel/perl/easy/Cpanel/Easy/Utils/HttpdConf.pm line 11.
BEGIN failed--compilation aborted at /var/cpanel/perl/easy/Cpanel/Easy/Utils/HttpdConf.pm line 11.
Compilation failed in require at (eval 32) line 3.
...propagated at /usr/local/lib/perl5/5.8.8/base.pm line 85.
at (eval 30) line 3
at /var/cpanel/perl/easy/Cpanel/Easy.pm line 18
BEGIN failed--compilation aborted at /var/cpanel/perl/easy/Cpanel/Easy.pm line 18.
Compilation failed in require at (eval 1) line 3.
...propagated at /usr/local/lib/perl5/5.8.8/base.pm line 85.
BEGIN failed--compilation aborted at /var/cpanel/perl/easy/Cpanel/Easy/Apache.pm line 8.
Compilation failed in require at /scripts/easyapache line 23.

Solution : Upgrade the cpnale /scripts/upcp --force

No comments:

Post a Comment