oshs

Well-Known Member
PartnerNOC
Sep 5, 2004
146
0
166
Hi,

I cannot successfully build either CentOS 32bit/64bit Cpanel VMs since yesterday.

PHP/Apache is not being installed etc.

Anyone else having similar issues? Is there a fix for this?

Regards,
Suhail.
 

oshs

Well-Known Member
PartnerNOC
Sep 5, 2004
146
0
166
Here's an example of the errors:

Code:
[email protected] [~]# /scripts/easyapache
Can't locate Acme/Spork.pm in @INC (@INC contains: /usr/local/cpanel /var/cpanel/perl/easy /scripts /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /var/cpanel/perl/easy/Cpanel/Easy/Utils/BackGround.pm line 14.
BEGIN failed--compilation aborted at /var/cpanel/perl/easy/Cpanel/Easy/Utils/BackGround.pm line 14.
Compilation failed in require at (eval 17) line 3.
        ...propagated at /usr/local/lib/perl5/5.8.8/base.pm line 85.
 at (eval 15) line 3
 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/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.
[email protected] [~]#
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,545
12
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
Hi,

I cannot successfully build either CentOS 32bit/64bit Cpanel VMs since yesterday.

PHP/Apache is not being installed etc.

Anyone else having similar issues? Is there a fix for this?

Regards,
Suhail.
Do you have root (Administrator) access to the hardware node of the VM?

Which virtual environment is being used?

If direct root access to the hardware node is not available I recommend escalating the issue to the systems administration team that has control over the VE configuration.
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,545
12
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
Here's an example of the errors:

Code:
[email protected] [~]# /scripts/easyapache
Can't locate Acme/Spork.pm in @INC (@INC contains: /usr/local/cpanel /var/cpanel/perl/easy /scripts /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /var/cpanel/perl/easy/Cpanel/Easy/Utils/BackGround.pm line 14.
BEGIN failed--compilation aborted at /var/cpanel/perl/easy/Cpanel/Easy/Utils/BackGround.pm line 14.
Compilation failed in require at (eval 17) line 3.
        ...propagated at /usr/local/lib/perl5/5.8.8/base.pm line 85.
 at (eval 15) line 3
 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/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.
[email protected] [~]#
Please try the following command to install the specified Perl module that is mentioned in the error detail:
Code:
# /scripts/perlinstaller Acme::Spork
If needed, the process could be forced:
Code:
# /scripts/perlinstaller --force Acme::Spork
 

oshs

Well-Known Member
PartnerNOC
Sep 5, 2004
146
0
166
Hi Don,

Yes I do have root access to these boxes.

FYI, I successfully installed CentOS on a Xen VM, but it's failing on OpenVZ VMs(tried on two nodes). Nodes have not been changed in anyway although SolusVM was updated yesterday. SolusLabs have said that the CPanel installer has changed which is causing these problems.

CPanel DNS installs are fine as I built one successfully yesterday and a few the day before. So it's problems with CPanel installs on OpenVZ.

Regards,
Suhail.
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,545
12
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
Hi Don,

Yes I do have root access to these boxes.

FYI, I successfully installed CentOS on a Xen VM, but it's failing on OpenVZ VMs(tried on two nodes). Nodes have not been changed in anyway although SolusVM was updated yesterday. SolusLabs have said that the CPanel installer has changed which is causing these problems.

CPanel DNS installs are fine as I built one successfully yesterday and a few the day before. So it's problems with CPanel installs on OpenVZ.

Regards,
Suhail.
Immediately after the failure on Virtuozzo/OpenVZ please check the output of the following command (executed from within the VPS container):
Code:
# cat /proc/user_beancounters
 

oshs

Well-Known Member
PartnerNOC
Sep 5, 2004
146
0
166
Code:
[email protected] [~]# cat /proc/user_beancounters
Version: 2.5
       uid  resource                     held              maxheld              barrier                limit              failcnt
    19687:  kmemsize                  9667809             13614554           2147483646           2147483646                    0
            lockedpages                     0                    8               999999               999999                    0
            privvmpages                 56925               134166               512000               512000                    0
            shmpages                      663                  791               256000               256000                    0
            dummy                           0                    0                    0                    0                    0
            numproc                        53                   88               999999               999999                    0
            physpages                   31378                99135                    0           2147483647                    0
            vmguarpages                     0                    0               256000           2147483647                    0
            oomguarpages                31379                99136               256000           2147483647                    0
            numtcpsock                     27                   51              7999992              7999992                    0
            numflock                        8                   13               999999               999999                    0
            numpty                          1                    3               500000               500000                    0
            numsiginfo                      0                    7               999999               999999                    0
            tcpsndbuf                  539584              1168576            214748160            396774400                    0
            tcprcvbuf                  442368              1924128            214748160            396774400                    0
            othersockbuf                29376               181872            214748160            396774400                    0
            dgramrcvbuf                     0                 8736            214748160            396774400                    0
            numothersock                   27                   36              7999992              7999992                    0
            dcachesize                 626313               723969           2147483646           2147483646                    0
            numfile                      1242                 1758             23999976             23999976                    0
            dummy                           0                    0                    0                    0                    0
            dummy                           0                    0                    0                    0                    0
            dummy                           0                    0                    0                    0                    0
            numiptent                      22                   37               999999               999999                    0
[email protected] [~]#
 

HD-Sam

Active Member
PartnerNOC
Sep 23, 2003
40
0
156
Iowa City, Iowa
Hi,

I cannot successfully build either CentOS 32bit/64bit Cpanel VMs since yesterday.

PHP/Apache is not being installed etc.

Anyone else having similar issues? Is there a fix for this?

Regards,
Suhail.
I just installed cPanel VPS on a CentOS x64 Virtual Machine (XenServer). I'm having the same issue, Apache and PHP are not installed. Any ideas? I tried the perlinstaller but still having the same issue. I can't run easyapache or anything.

Thanks
 

HD-Sam

Active Member
PartnerNOC
Sep 23, 2003
40
0
156
Iowa City, Iowa
I reformatted, installed CentOS again, and installed cPanel... Nothing different, but for some reason everything installed this time.
 

oshs

Well-Known Member
PartnerNOC
Sep 5, 2004
146
0
166
Just tried again on an OpenVZ node and problems persists:

Code:
[[email protected] home]# php -v
-bash: php: command not found
[[email protected] home]# /scripts/easyapache
Can't locate Acme/Spork.pm in @INC (@INC contains: /usr/local/cpanel /var/cpanel/perl/easy /scripts /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /var/cpanel/perl/easy/Cpanel/Easy/Utils/BackGround.pm line 14.
BEGIN failed--compilation aborted at /var/cpanel/perl/easy/Cpanel/Easy/Utils/BackGround.pm line 14.
Compilation failed in require at (eval 17) line 3.
        ...propagated at /usr/local/lib/perl5/5.8.8/base.pm line 85.
 at (eval 15) line 3
 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/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.
Code:
[[email protected] home]# cat /proc/user_beancounters
Version: 2.5
       uid  resource                     held              maxheld              barrier                limit              failcnt
    19689:  kmemsize                  6612892             11535908           2147483646           2147483646                    0
            lockedpages                     0                    8               999999               999999                    0
            privvmpages                 35399               107639               512000               512000                    0
            shmpages                      641                  687               256000               256000                    0
            dummy                           0                    0                    0                    0                    0
            numproc                        43                   68               999999               999999                    0
            physpages                   12104                78393                    0           2147483647                    0
            vmguarpages                     0                    0               256000           2147483647                    0
            oomguarpages                12104                78393               256000           2147483647                    0
            numtcpsock                     23                   35              7999992              7999992                    0
            numflock                        8                   13               999999               999999                    0
            numpty                          1                    3               500000               500000                    0
            numsiginfo                      0                    4               999999               999999                    0
            tcpsndbuf                  570160               775456            214748160            396774400                    0
            tcprcvbuf                  376832              3703168            214748160            396774400                    0
            othersockbuf                18560                37536            214748160            396774400                    0
            dgramrcvbuf                     0                 9760            214748160            396774400                    0
            numothersock                   21                   25              7999992              7999992                    0
            dcachesize                 453537               571851           2147483646           2147483646                    0
            numfile                       947                 1399             23999976             23999976                    0
            dummy                           0                    0                    0                    0                    0
            dummy                           0                    0                    0                    0                    0
            dummy                           0                    0                    0                    0                    0
            numiptent                      22                   37               999999               999999                    0
[[email protected] home]#
And this is what happens when I try to force install Acme::Spork

Code:
[[email protected] home]# /scripts/perlinstaller --force Acme::Spork
Method: Perl Expect
commit: wrote '/usr/local/lib/perl5/5.8.8/CPAN/Config.pm'
CPAN: Storable loaded ok (v2.15)
Going to read /home/.cpan/Metadata
  Database was generated on Mon, 01 Feb 2010 07:43:58 GMT
Running install for module 'Acme::Spork'
Running make for D/DM/DMUEY/Acme-Spork-v0.0.8.tar.gz
CPAN: Digest::SHA loaded ok (v5.48)
CPAN: Compress::Zlib loaded ok (v2.017)
Checksum for /home/.cpan/sources/authors/id/D/DM/DMUEY/Acme-Spork-v0.0.8.tar.gz ok
Acme-Spork-v0.0.8/
Acme-Spork-v0.0.8/Changes
Acme-Spork-v0.0.8/lib/
Acme-Spork-v0.0.8/lib/Acme/
Acme-Spork-v0.0.8/lib/Acme/Spork.pm
Acme-Spork-v0.0.8/Makefile.PL
Acme-Spork-v0.0.8/MANIFEST
Acme-Spork-v0.0.8/META.yml
Acme-Spork-v0.0.8/README
Acme-Spork-v0.0.8/t/
Acme-Spork-v0.0.8/t/Acme-Spork.t
CPAN: File::Temp loaded ok (v0.22)
CPAN: YAML loaded ok (v0.71)

  CPAN.pm: Going to build D/DM/DMUEY/Acme-Spork-v0.0.8.tar.gz

perl-64bit-hack: enabled
Checking if your kit is complete...
Looks good
Warning: prerequisite Proc::Daemon 0 not found.
'EXTRALIBDIR' is not a known MakeMaker parameter name.
'OTHERLDFLAGS' is not a known MakeMaker parameter name.
Writing Makefile for Acme::Spork
---- Unsatisfied dependencies detected during ----
----      DMUEY/Acme-Spork-v0.0.8.tar.gz      ----
    Proc::Daemon [requires]
Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes] y
Running make install
  Delayed until after prerequisites

Running install for module 'Proc::Daemon'
Running make for E/EH/EHOOD/Proc-Daemon-0.03.tar.gz
CPAN: LWP::UserAgent loaded ok (v5.823)
CPAN: Time::HiRes loaded ok (v1.86)
Fetching with LWP:
  http://mirror.uta.edu/CPAN/authors/id/E/EH/EHOOD/CHECKSUMS
Transfer truncated: only 0 out of 11452 bytes received
[[email protected] home]# /scripts/easyapache
Can't locate Acme/Spork.pm in @INC (@INC contains: /usr/local/cpanel /var/cpanel/perl/easy /scripts /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /var/cpanel/perl/easy/Cpanel/Easy/Utils/BackGround.pm line 14.
BEGIN failed--compilation aborted at /var/cpanel/perl/easy/Cpanel/Easy/Utils/BackGround.pm line 14.
Compilation failed in require at (eval 17) line 3.
        ...propagated at /usr/local/lib/perl5/5.8.8/base.pm line 85.
 at (eval 15) line 3
 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/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.
[[email protected] home]#
Also this is what I see when loading up WHM -> Service Configuration -> Service Manager

Code:
service_manager_title
Enabled 	service_manager_monitor 	service_manager_service_information
		service_cpdavd_name

    service_cpdavd_description 

		service_entropychat_name

    service_entropychat_description 

		service_exim_name

    service_exim_description
So no joy! Please assist CPanel!

Regards,
Suhail.
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,545
12
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
Please submit a support request so that we may examine the system directly; direct access is necessary so that we may thoroughly inspect the affected server and investigate the specific circumstances involved. When available, please send me your ticket ID number (e.g., via a PM) so I may follow-up internally.
 

rsong

Member
Sep 5, 2007
12
0
51
I ran into similar issue, where "Transfer truncated" present.
Any word on a fix?

I'm running CentOS 5.x x54 on VMware (ESX 4) Virtual Machine.

Thanks,

Tommy
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,545
12
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
I ran into similar issue, where "Transfer truncated" present.
Any word on a fix?

I'm running CentOS 5.x x54 on VMware (ESX 4) Virtual Machine.
The information I have available indicates it might be an issue with a specific CPAN mirror being used when installing a Perl module.

1.) What is the output line directly above the message "Transfer truncated"? The line involved may begin with "Fetching with LWP:" followed by a CPAN mirror URL for the Perl module being requested. As seen by the CLI output provided by suhail I see the following mirror was used when experiencing the difficulty, and I am curious to know if the CPAN mirror URL is any different or if it is the same:
Code:
http://mirror.uta.edu/CPAN/
2.) Please let us know the output from the following command (via root SSH access):
Code:
# cat /home/.cpcpan/goodurls
 

oshs

Well-Known Member
PartnerNOC
Sep 5, 2004
146
0
166
Hi,

Yes the problem is with the specific mirror "mirror.uta.edu".

Here are the steps provided by Cpanel support to take whilst this bug is fixed:

1. Edit /home/.cpcpan/goodurls
- remove the line containing mirror.uta.edu
2. set the file immutable
chattr +i /home/.cpcpan/goodurls
3. mv /home/.cpan /home/.cpan_bak
4. /scripts/checkperlmodules --force
5. Run /scripts/easyapache

After this you should successfully see PHP and Apache running:

# php -v
# httpd -v

Regards,
Suhail.

p.s. I must say that I was very impressed with Cpanel support, especially considering it was complimentary support. Brilliant!
 

rsong

Member
Sep 5, 2007
12
0
51
Don,

It is the mirror.uta.edu mirror. I will try the fix provided by suhail and report result.

Thanks,

Tommy