Transaction Check Error - httpd won't install - please help

agnosticon

Member
Jul 11, 2011
17
0
51
hello,
I have been trying to update apache with easyapache, after one failure the httpd is now gone and won't install again. below is the error log when I tried installing httpd from /scripts/easyapache

Install 0 Package(s)
Upgrade 17 Package(s)
Total size: 48 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Check Error:
installing package glibc-2.5-58.el5_6.4.i686 needs 1 inodes on the / filesystem
installing package gettext-0.17-1.el5.i386 needs 1 inodes on the / filesystem
Error Summary
-------------
!! 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 'automake19, gettext, libpng-devel, openssl, libpng-dev, zlib-devel, autoconf261, libidn-devel, gmake, libidn, libXpm, openssl-devel, automake, coreutils, patch, libstdc++-dev, 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, xorg-x11-devel, libtool-ltdl, libssl-dev, pam-devel, libopenssl0-devel, zlib1-devel, expat-devel, libopenssl0-dev, glibc-devel, expat, gcc-c++, zlib, libstdc++, bison, libstdc++-devel, libjpeg-devel, libtool-libltdl-devel, libtool, openssl-dev, libopenssl0, libz-devel, libjpeg-dev, pam-dev, fileutils, libltdl-devel, libopenssl0.9.7-devel, e2fsprogs-devel, make, libX11-devel, 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 --exclude=kernel* -y install automake19 gettext libpng-devel openssl libpng-dev zlib-devel autoconf261 libidn-devel gmake libidn libXpm openssl-devel automake coreutils patch libstdc++-dev 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 xorg-x11-devel libtool-ltdl libssl-dev pam-devel libopenssl0-devel zlib1-devel expat-devel libopenssl0-dev glibc-devel expat gcc-c++ zlib libstdc++ bison libstdc++-devel libjpeg-devel libtool-libltdl-devel libtool openssl-dev libopenssl0 libz-devel libjpeg-dev pam-dev fileutils libltdl-devel libopenssl0.9.7-devel e2fsprogs-devel make libX11-devel 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 EaError < AllDocumentation < TWiki
3) Resolve the YUM problem manually
4) Re-run EasyApache
!!
!! Please visit EaError < AllDocumentation < TWiki for help with this error. !!

!! No original working apache backup to restore !!
!! Executing '/scripts/initfpsuexec' !!
!! Executing '/scripts/initsslhttpd' !!
!! Executing '/scripts/update_apachectl' !!
!! '/scripts/update_apachectl' failed with exit code '256' !!
!! 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.1310428511' !!


--------------------------------

what is the following inodes error?

installing package glibc-2.5-58.el5_6.4.i686 needs 1 inodes on the / filesystem
installing package gettext-0.17-1.el5.i386 needs 1 inodes on the / filesystem


any help in this regard would be highly appreciated.

thank you
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Is the server out of available inodes?

Code:
df -ki
If you are using a Virtuozzo or OpenVZ virtual machine, the machine could be out of inodes. If that is the case, the VPS provider would need to increase the number of available inodes for the update to proceed.
 

agnosticon

Member
Jul 11, 2011
17
0
51
here:
# df -ki
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/simfs 704134 704134 0 100% /



I also have access to the NODE using openvz where I created this vps, could you tell me how do I increase the nodes?
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator

agnosticon

Member
Jul 11, 2011
17
0
51
To increase the disk inodes quota, use vzctl set --diskinodes. For example, we want to increase it by a factor of 3:

vzctl set 123 --diskinodes $(( 200000*3 )):$(( 220000*3 )) --save



this should work?
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
The numbers they provide are based on 200000 and 220000 for soft and hard limits. Your system shows 704134 and 704134 for those. You would need to use the existing soft and hard limits instead.

Of note, cPanel forum isn't really intended for administering VPS nodes. This isn't our area of expertise. I'd highly suggest posting on an OpenVZ forum for administrative questions such as these.
 

agnosticon

Member
Jul 11, 2011
17
0
51
I increased the Inodes:

# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/simfs 102398976 20881600 81517376 21% /


But still getting errors:

Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Updating:
coreutils i386 5.97-23.el5_6.4 updates 3.6 M
cpp i386 4.1.2-50.el5 base 2.7 M
gcc i386 4.1.2-50.el5 base 5.2 M
gcc-c++ i386 4.1.2-50.el5 base 3.4 M
gettext i386 0.17-1.el5 base 2.4 M
glibc-devel i386 2.5-58.el5_6.4 updates 2.0 M
krb5-devel i386 1.6.1-55.el5_6.2 updates 1.9 M
libstdc++ i386 4.1.2-50.el5 base 362 k
libstdc++-devel i386 4.1.2-50.el5 base 2.8 M
patch i386 2.5.4-31.el5 base 65 k
sed i386 4.1.5-8.el5 updates 176 k
Updating for dependencies:
gettext-devel i386 0.17-1.el5 base 364 k
glibc i686 2.5-58.el5_6.4 updates 5.3 M
glibc-common i386 2.5-58.el5_6.4 updates 16 M
glibc-headers i386 2.5-58.el5_6.4 updates 603 k
krb5-libs i386 1.6.1-55.el5_6.2 updates 667 k
libgcc i386 4.1.2-50.el5 base 96 k
Transaction Summary
================================================================================
Install 0 Package(s)
Upgrade 17 Package(s)
Total size: 48 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Check Error:
installing package glibc-2.5-58.el5_6.4.i686 needs 1 inodes on the / filesyste m
installing package gettext-0.17-1.el5.i386 needs 1 inodes on the / filesystem
Error Summary
-------------
!! 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 'automake19, gettext, libpng-devel, openssl, libpng- dev, zlib-devel, autoconf261, libidn-devel, gmake, libidn, libXpm, openssl-devel , automake, coreutils, patch, libstdc++-dev, libltdl3-devel, libltdl, libopenssl 0.9.7-static-devel, libtool-ltdl-devel, libXpm-devel, sed, libXpm-dev, lsof, krb 5-dev, flex, glibc-dev, expat-dev, krb5-devel, xorg-x11-devel, libtool-ltdl, lib ssl-dev, pam-devel, libopenssl0-devel, zlib1-devel, expat-devel, libopenssl0-dev , glibc-devel, expat, gcc-c++, zlib, libstdc++, bison, libstdc++-devel, libjpeg- devel, libtool-libltdl-devel, libtool, openssl-dev, libopenssl0, libz-devel, lib jpeg-dev, pam-dev, fileutils, libltdl-devel, libopenssl0.9.7-devel, e2fsprogs-de vel, make, libX11-devel, 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 --exclude=kernel* -y install automake19 gettext libpng-devel openssl libpng-dev zlib-devel autoconf261 libidn-devel gmake libidn libXpm openssl-deve l automake coreutils patch libstdc++-dev libltdl3-devel libltdl libopenssl0.9.7- static-devel libtool-ltdl-devel libXpm-devel sed libXpm-dev lsof krb5-dev flex g libc-dev expat-dev krb5-devel xorg-x11-devel libtool-ltdl libssl-dev pam-devel l ibopenssl0-devel zlib1-devel expat-devel libopenssl0-dev glibc-devel expat gcc-c ++ zlib libstdc++ bison libstdc++-devel libjpeg-devel libtool-libltdl-devel libt ool openssl-dev libopenssl0 libz-devel libjpeg-dev pam-dev fileutils libltdl-dev el libopenssl0.9.7-devel e2fsprogs-devel make libX11-devel gd cpp xorg-x11-dev g cc 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://www.cpanel.net/su pport/could_not_ensurepkgs.htm
3) Resolve the YUM problem manually
4) Re-run EasyApache
!!
!! Please visit EaError < AllDocumentation < TWiki for help with this error. !!

!! No original working apache backup to restore !!
!! Executing '/scripts/initfpsuexec' !!
!! Executing '/scripts/initsslhttpd' !!
!! Executing '/scripts/update_apachectl' !!
!! '/scripts/update_apachectl' failed with exit code '256' !!
!! Feel free to submit a support ticket at https://tickets.cpanel.net/submit/ind ex.cgi?reqtype=tickets !!
!! Verbose logfile is at '/usr/local/cpanel/logs/easy/apache/build.1310430345' !
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Forum threads are handled differently than the ticket system. If this is an emergency issue, then I would highly suggest opening up a ticket in WHM > Support Center > Contact cPanel or using the link in my signature.

Otherwise, try running "yum update" to see the results of that command in root SSH. If yum cannot update, then EasyApache will fail to recompile.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Please submit a ticket at this point then or reboot the container to see if that corrects the issue.
 

agnosticon

Member
Jul 11, 2011
17
0
51
I turned off the quotas in container's config file, and everything is working fine now! thank you for your help Tristan! =)
 

agnosticon

Member
Jul 11, 2011
17
0
51
crap, after yum update finished. and I ran easyapache following error showed

# /scripts/easyapache
Can't locate version.pm in @INC (@INC contains: /usr/local/cpanel /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 /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 15.
BEGIN failed--compilation aborted at /var/cpanel/perl/easy/Cpanel/Easy.pm line 15.
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.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Do you have two perl binaries on the machine?

Code:
ls -lah /usr/bin/perl /usr/local/bin/perl
 

agnosticon

Member
Jul 11, 2011
17
0
51
yep

# ls -lah /usr/bin/perl /usr/local/bin/perl
-rwxr-xr-x 2 root root 12K Jun 13 09:58 /usr/bin/perl*
lrwxrwxrwx 1 root root 13 Dec 3 2010 /usr/local/bin/perl -> /usr/bin/perl*
 

agnosticon

Member
Jul 11, 2011
17
0
51
I ran [email protected] [/]# /scripts/checkperlmodules

and now when I run easyapache I get the following error

# /scripts/easyapache
Can't locate BSD/Resource.pm in @INC (@INC contains: /usr/local/cpanel /var/cpanel/perl/easy /scripts /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 /var/cpanel/perl/easy/Cpanel/Easy.pm line 26.
BEGIN failed--compilation aborted at /var/cpanel/perl/easy/Cpanel/Easy.pm line 26.
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.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
As I've mentioned a couple of times, please try opening up a ticket. There's no cost for opening a ticket and it can be done using the link in my signature if you aren't able to via WHM > Support Center > Contact cPanel area. Thanks!