easyapache error in the middle or in the end, what should we do?

basketmen

Well-Known Member
Sep 9, 2010
128
1
66
Sometime, but rarely i use easyapache get error in the middle or in the end, what should we do?

i am using vps, do we need to reinstall the vps from the beginning again?
or
do we need to re-run easyapache from the begining again?
or
need to restore whm, from whm backup? if yes where is the page for this in whm?



already read some another threads, but still dont get the answer
http://forums.cpanel.net/f442/easyapache-error-350021.html
http://forums.cpanel.net/f442/easy-apache-failed-error-330351.html
http://forums.cpanel.net/f5/easyapache-issue-140041.html
 

basketmen

Well-Known Member
Sep 9, 2010
128
1
66
i mean just general error like above threads, how to solve this problem

or this error message exactly that i get

Code:
!! Backup of working apache complete. !!
Checking that all tarballs are present and up to date.
!! Downloading '/var/cpanel/perl/easy/Cpanel/Easy/Apache/Frontpage.pm.tar.gz' !!

!! Downloading '/var/cpanel/perl/easy/Cpanel/Easy/Apache/PHPAsUser.pm.tar.gz' !!

!! Downloading '/var/cpanel/perl/easy/Cpanel/Easy/Apache/2_2.pm.tar.gz' !!

!! Downloading '/var/cpanel/perl/easy/Cpanel/Easy/PHP5/2_17.pm.tar.gz' !!

!! Downloading '/var/cpanel/perl/easy/Cpanel/Easy/PHP5/2_17.pm.patch.tar.gz' !!

!! Downloading '/var/cpanel/perl/easy/Cpanel/Easy/Xcache.pm.tar.gz' !!

!! Downloading '/var/cpanel/perl/easy/Cpanel/Easy/IonCubeLoader.pm.tar.gz.linux-generic-64' !!

Checking that all packages are present and up to date.
Loaded plugins: fastestmirror
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/share/yum-cli/yummain.py", line 309, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 178, in main
    result, resultmsgs = base.doCommands()
  File "/usr/share/yum-cli/cli.py", line 345, in doCommands
    self._getTs(needTsRemove)
  File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 101, in _getTs
    self._getTsInfo(remove_only)
  File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 112, in _getTsInfo
    pkgSack = self.pkgSack
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 662, in <lambda>
    pkgSack = property(fget=lambda self: self._getSacks(),
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 502, in _getSacks
    self.repos.populateSack(which=repos)
  File "/usr/lib/python2.4/site-packages/yum/repos.py", line 232, in populateSack
    self.doSetup()
  File "/usr/lib/python2.4/site-packages/yum/repos.py", line 79, in doSetup
    self.ayum.plugins.run('postreposetup')
  File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 179, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/fastestmirror.py", line 181, in postreposetup_hook
    all_urls = FastestMirror(all_urls).get_mirrorlist()
  File "/usr/lib/yum-plugins/fastestmirror.py", line 333, in get_mirrorlist
    self._poll_mirrors()
  File "/usr/lib/yum-plugins/fastestmirror.py", line 376, in _poll_mirrors
    pollThread.start()
  File "/usr/lib64/python2.4/threading.py", line 416, in start
    _start_new_thread(self.__bootstrap, ())
thread.error: can't start new thread
!! ensure() rc was '0', exit status was '256', perl '$?' was '0', exit sig '0', core dump: '0', shell '$?' was '1' !!

!! Simulating failed Cpanel::SysPkgs as per 'simulate-failed-syspkgs' flag !!

!! Could not ensure pkglist 'gettext, automake19, libstdc++.x86_64, libpng-devel, openssl, libpng-dev, zlib-devel, autoconf261, libidn-devel, gmake, libidn, libXpm, openssl-devel, automake, coreutils, patch, libltdl3-devel, libltdl, libopenssl0.9.7-static-devel, libtool-ltdl-devel, libXpm-devel, sed, libXpm-dev, lsof, krb5-dev, flex, glibc-dev, expat-dev, krb5-devel, libstdc++-devel.x64_64, xorg-x11-devel, libtool-ltdl, libssl-dev, pam-devel, libopenssl0-devel, zlib1-devel, expat-devel, libopenssl0-dev, glibc-devel, expat, gcc-c++, zlib, bison, libjpeg-devel, libtool-libltdl-devel, libtool, openssl-dev, libopenssl0, libz-devel, libjpeg-dev, pam-dev, fileutils, libltdl-devel, libopenssl0.9.7-devel, e2fsprogs-devel, ca_root_nss, make, libstdc++-dev.x86_64, libX11-devel, libstdc++-devel.x86_64, gd, cpp, xorg-x11-dev, gcc, ssl-dev, autoconf, lex' !!
!! The server's system package manager, 'YUM', failed. !!

!!
This is the command that failed: yum -y install gettext automake19 libstdc++.x86_64 libpng-devel openssl libpng-dev zlib-devel autoconf261 libidn-devel gmake libidn libXpm openssl-devel automake coreutils patch libltdl3-devel libltdl libopenssl0.9.7-static-devel libtool-ltdl-devel libXpm-devel sed libXpm-dev lsof krb5-dev flex glibc-dev expat-dev krb5-devel libstdc++-devel.x64_64 xorg-x11-devel libtool-ltdl libssl-dev pam-devel libopenssl0-devel zlib1-devel expat-devel libopenssl0-dev glibc-devel expat gcc-c++ zlib bison libjpeg-devel libtool-libltdl-devel libtool openssl-dev libopenssl0 libz-devel libjpeg-dev pam-dev fileutils libltdl-devel libopenssl0.9.7-devel e2fsprogs-devel ca_root_nss make libstdc++-dev.x86_64 libX11-devel libstdc++-devel.x86_64 gd cpp xorg-x11-dev gcc ssl-dev autoconf lex !!

!!
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 http://go.cpanel.net/eaerror 3) Resolve the YUM problem manually 4) Re-run EasyApache !!

!! Please visit http://go.cpanel.net/eaerror 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.
Report processed.
!! Verbose logfile is at '/usr/local/cpanel/logs/easy/apache/build.13896561575' !!
 

basketmen

Well-Known Member
Sep 9, 2010
128
1
66
up up

we can always create cpanel support ticket, and the support will solved it, if we get error when running easyapache right?

but it is better if we can solved it by ourself too
 

KurtN.

Well-Known Member
Jan 29, 2013
95
1
83
cPanel Access Level
Root Administrator
Hi basketmen,

The error output asked if you could perform some actions due to this error. Did you perform those actions? If so, what is the result of those steps? The steps I'm referring to can be found in the output of your error message:

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 EasyApache: Known Issues 3) Resolve the YUM problem manually 4) Re-run EasyApache
Thanks