cPanel Edge Release issue Apache Update

stargatesg1

Active Member
Nov 30, 2006
36
0
156
I updated the cPanel to the latest edge release and when i go to update the apache server in the WHM it gives me this error

Not Found
The server was not able to find the document (./cgi/easyapache2.pl) you requested
Please check the url and try again. You might also want to report
this error to your webhost.


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

cpsrvd/10.9.6 Server at 209.85.106.16


How would i go about getting the easyapache2.pl or even getting apache2 and installing it manually?

Thanks for anybody who helps.
 

stargatesg1

Active Member
Nov 30, 2006
36
0
156
tried that

loged into the server

went to

cd /scripts

easyapache folder wasn't there am i going to the right plcae?

Also anyway to install apahce manually but would it mess up cPanel and WHM

Thanks...
 

stargatesg1

Active Member
Nov 30, 2006
36
0
156
Ok I ran it and at the end i got this

Done!
Making Apache 2...
Done!
Installing Apache 2...
Use of uninitialized value in -e at /usr/lib/perl5/site_perl/5.8.5/File/Copy/Recursive.pm line 196.
Use of uninitialized value in -e at /usr/lib/perl5/site_perl/5.8.5/File/Copy/Recursive.pm line 196.
Use of uninitialized value in -e at /usr/lib/perl5/site_perl/5.8.5/File/Copy/Recursive.pm line 196.
Use of uninitialized value in -e at /usr/lib/perl5/site_perl/5.8.5/File/Copy/Recursive.pm line 196.
Use of uninitialized value in -e at /usr/lib/perl5/site_perl/5.8.5/File/Copy/Recursive.pm line 196.
Done!
Use of uninitialized value in -e at /usr/lib/perl5/site_perl/5.8.5/File/Copy/Recursive.pm line 196.
Use of uninitialized value in -e at /usr/lib/perl5/site_perl/5.8.5/File/Copy/Recursive.pm line 196.
Use of uninitialized value in -e at /usr/lib/perl5/site_perl/5.8.5/File/Copy/Recursive.pm line 196.
Use of uninitialized value in -e at /usr/lib/perl5/site_perl/5.8.5/File/Copy/Recursive.pm line 196.
Use of uninitialized value in -e at /usr/lib/perl5/site_perl/5.8.5/File/Copy/Recursive.pm line 196.
make install failed to build conf/, restoring and aborting... at /usr/local/cpanel/Cpanel/EasyApache.pm line 884.
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
It's been my experience that when there's problems with Perl modules (.pm) that the best thing to do as a first step to fixing the problem is to run:

/usr/local/cpanel/bin/checkperlmodules

See if that works for you.
 

stargatesg1

Active Member
Nov 30, 2006
36
0
156
The funny thing is

The perl module that is failing during install is located here

/usr/local/cpanel/Cpanel

i tried running the comand

/usr/local/cpanel/Cpanel/checkperlmodules

Wouldn't work

There is also a .tar file in EasyApache.tar

Thanks for all of your help by the way..
 

stargatesg1

Active Member
Nov 30, 2006
36
0
156
Ok got it working

What it is you can't install apache and php at the same time. You need to install apache and that is it.
 

grindlay

Well-Known Member
Dec 8, 2004
59
5
158
Edinburgh, Scotland
cPanel Access Level
Root Administrator
Have a look towards the end of:
"Bug 2299 - [11.0 BLOCKER] Apache 2 Support for next major release!"
http://bugzilla.cpanel.net/show_bug.cgi?id=2299
This describes how to fix the "The server was not able to find the document (./cgi/easyapache2.pl) you requested" problem.
cp /scripts/easyapache /usr/local/cpanel/whostmgr/docroot/cgi/easyapache2.pl

Can anyone can help with the following problem:
WHM 10.8.0 cPanel 11.0-E529 CentOS 4.4 i686 - WHM X v3.1.0
Apache update 1.3.7 to 2.0.59 (without PHP) using Easyapache from within WHM.

"Use of uninitialized value in -e at /usr/lib/perl5/site_perl/5.8.7/File/Copy/Recursive.pm line 196." (ten times)
"Can't locate auto/cPScript/SafeRun/saferun_out.al in @INC (@INC contains: /scripts /usr/local/cpanel /home/cpeasyapache/work /usr/lib/perl5/5.8.7/i686-linux /usr/lib/perl5/5.8.7 /usr/lib/perl5/site_perl/5.8.7/i686-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at /usr/local/cpanel/Cpanel/EasyApache/HttpdConf.pm line 1468"
 
Last edited:

grindlay

Well-Known Member
Dec 8, 2004
59
5
158
Edinburgh, Scotland
cPanel Access Level
Root Administrator
I raised a ticket and the cPanel techs were able to resolve it for me.
They said it was a syntax error in httpd.conf.
The Perl module issue was supposed to be resolved by updating File:Copy:Recursive to the latest version, but I couldn't make that work.
I suggest you do what I did and raise a support ticket.
G.
 

katmai

Well-Known Member
Mar 13, 2006
564
4
168
Brno, Czech Republic
i suggest you move to cpanel current build instead of edge if you're working on a production server? i mean ... stability of services should always come in first.
 

cPDan

cPanel Staff
Staff member
Mar 9, 2004
724
15
243
Installing Apache 2...
Use of uninitialized value in -e at /usr/lib/perl5/site_perl/5.8.5/File/Copy/Recursive.pm line 196.
That warning can safely be ignored and will go away if you upgrade File::Copy::Recursive

make install failed to build conf/, restoring and aborting... at /usr/local/cpanel/Cpanel/EasyApache.pm line 884.
that means apache's `make install` failed and so it restored your working apache and aborted the build process.

Either use verbose output or see /usr/local/cpanel/log/easyapache to look for what went wrong.

Fell free to create a support ticket so I can look into it if you wish. "ATTN Dan" in the subject woudl be excellent.

Thanks!
 

cPDan

cPanel Staff
Staff member
Mar 9, 2004
724
15
243
Not Found
The server was not able to find the document (./cgi/easyapache2.pl) you requested
Either do
/scripts/upcp --force
or
cp /scripts/easyapache /usr/local/cpanel/whostmgr/docroot/cgi/easyapache2.pl