25 Ağustos 2011 Perşembe

Easyapache


whm panelden easyapache çalıştırdığımda bu hatayı alıyordum bu nedenle 
!! The server's system package manager, 'YUM', failed. !!
!!
This is the command that failed: yum --exclude=kernel* -y install zlib1-devel expat-devel gettext automake19 libpng-devel libopenssl0-dev expat openssl gcc-c++ glibc-devel libpng-dev zlib-devel libstdc++ zlib bison autoconf261 gmake libXpm libstdc++-devel libjpeg-devel openssl-devel automake coreutils libtool-libltdl-devel libopenssl0 openssl-dev libtool patch libstdc++-dev libz-devel libltdl3-devel libltdl libjpeg-dev libopenssl0.9.7-static-devel pam-dev libtool-ltdl-devel libopenssl0.9.7-devel libltdl-devel fileutils e2fsprogs-devel libXpm-devel sed libXpm-dev lsof krb5-dev flex glibc-dev expat-dev krb5-devel make libX11-devel xorg-x11-devel libtool-ltdl libssl-dev gd pam-devel cpp xorg-x11-dev gcc libopenssl0-devel ssl-dev lex autoconf !!
!!
Since EasyApache was unable to resolve it automatically you should: 1) Manually run the failed YUM command (shown above) via SSH 2) See if your particular error is addressed at cPanel - The Leading Control Panel 3) Resolve the YUM problem manually 4) Re-run EasyApache !!
!! Please visit cPanel - The Leading Control Panel for help with this error. !!
!! Restoring original working apache !! 


sed -i -e's/^exclude=.*//' /etc/yum.conf; yum update
komutu çalıştırdım ve iyice bok ettim Whm panelde Apache easyupdate ulaşamadım bu nedenle SSH ile bağlanıp root oldum ve sorunun ne olduğunu anlamak istedim.
şimdi ise
Can't locate version.pm in @INC (@INC contains: /usr/local/cpanel /home/trfighters/perl5/lib/perl5/i686-linux /home/trfighters/perl5/lib/perl5 /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/local/cpanel/Cpanel/CPAN/Getopt/Param.pm line 7.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/CPAN/Getopt/Param.pm line 7.
Compilation failed in require at /usr/local/cpanel/scripts/cpanel_easy_sanity_check line 16.
BEGIN failed--compilation aborted at /usr/local/cpanel/scripts/cpanel_easy_sanity_check line 16.
Can't locate version.pm in @INC (@INC contains: /usr/local/cpanel /var/cpanel/perl/easy /scripts /home/trfighters/perl5/lib/perl5/i686-linux /home/trfighters/perl5/lib/perl5 /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/local/cpanel/Cpanel/CPAN/base/ball.pm line 9.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/CPAN/base/ball.pm line 9.
Compilation failed in require 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/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.


bu Hatayı almaktayım.
bu hatayı gidermek içinde /usr/local/cpanel/bin/checkperlmodules komutunu denedim ama olmadı
daha sonra hata bana perl verisyon farkından kaynaklanan bir hata olduğunu söyledğini fark ettim ve 



cd /root
wget http://layer1.cpanel.net/perl588installer.tar.gz
tar -zxf perl588installer.tar.gz
cd perl588installer
./install 


bu komutları uygulayarak perl versiyonunu değiştirdim.
 /scripts/easyapache komutunu tekrar kullandım artık hata vermiyordu fakat easy apache ile tekrar kurulum yapmayı denediğimde ilk baştaki hatayı tekrar aldım.Olsun yinede kurtardık :)




Hiç yorum yok:

Yorum Gönder