apache compilation problem

abubin

Well-Known Member
Dec 7, 2004
401
3
168
I tried to compile apache today to enable mcrypt on my php but I keep on having problems.

I first compiled using WHM as usual, selected to compile to php 4.4.4 (was 4.4.2) then enable the modules that I need to use such as mcrypt, curl and so on.

Then when it compiles, it only compile the default modules.

'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--prefix=/usr/local' '--with-xml' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-magic-quotes' '--with-mysqli' '--with-mysql=/usr' '--enable-discard-path' '--with-pear' '--enable-sockets' '--enable-track-vars' '--with-zlib'

I am not sure why. I then tried compiling again and it's still the same outcome. Compilation is successful and apache is running with php 4.4.4 but still only default modules.

I then tried using easyapache and when the script starts, it didn't let me choose any option. It just went straight to compile using default parameters like above.

Anyone have any idea?

Thanks.
 

abubin

Well-Known Member
Dec 7, 2004
401
3
168
Checking Update System........Can't locate auto/cPScript/RpmUtils/checkupdate.al in @INC (@INC contains: /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.6/i686-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl . /scripts ./scripts /usr/local/cpanel) at ./buildapache line 27
/etc/rc.d/init.d/httpd start: httpd started
Setting /home permissions to 0711......Done

----
above is part of the output from running easyapache.
 

abubin

Well-Known Member
Dec 7, 2004
401
3
168
damn...I am in screwed.

I tried updating with /scripts/upcp and it was running and all then I see something red and green saying running some auto-heal. Currently it is still running like non-stop with this output :

Code:
......
......
......
......
......
......
......
......
......
......
......
......
Then I see some syncing there. So, it's running some kind of CVS syncing? What is this autoheal? Will my config files all be replaced back to default? I am now in panic mode.
 

designeru

Well-Known Member
Nov 2, 2005
83
0
156
> I see something red and green saying running some auto-heal
this is the way CPanel do upgrades now, nothing to worry about

> So, it's running some kind of CVS syncing?
yes. It's taking about 5-30 minutes depending on your server specs.

> Will my config files all be replaced back to default?
No.

Hint: try reinstalling perl (http://layer1.cpanel.net)
 

abubin

Well-Known Member
Dec 7, 2004
401
3
168
thanks for the reply. The script did finish running though it took longer than usual.

After upgrading mailscanner was broken. I need to re-install mailscanner from configserver.com's script.

What else do I need to check to see if anything else broken?