HOW TO : Upgrade Apache 1.x or 2.x to 2.0.58

Hi, I applyed your step, but now my apache not started... and if i wold started it response "Error"

Why??? :'( Please Help me :(
 
When I exec:

./build convert

I receive this message:

cat: /etc/redhat-release: No such file or directory
cat: /etc/redhat-release: No such file or directory

/etc/httpd/conf/httpd.conf seems to already be converted

I have debian, not redhat.... :S
 
check your build file and see which version of php is under php, and check if the .tar.gz file exist.
 
Hey there,
I'll skip the foreplay and get straight to the point. Perl won't compile.
Every time I get to the
Code:
./build mod_perl_ap2
part, I always get this:
Code:
[root@67 customapache]# ./build mod_perl_ap2
Found /usr/local/directadmin/customapache/mod_perl-2.0-current.tar.gz
Extracting ...
Done.
Nuking previous mod_perl install (or configure will fail)...
Configuring mod_perl-2.0.3...
Reading Makefile.PL args from @ARGV
   MP_APXS = /usr/sbin/apxs
   MP_APR_CONFIG = /usr/bin/apr-1-config
   MP_APU_CONFIG = /usr/bin/apu-1-config
no conflicting prior mod_perl version found - good.
Configuring Apache/2.0.59 mod_perl/2.0.3 Perl/v5.8.8
[  error] Can't resolve host: 'localhost' (check /etc/hosts)
[  error] Can't resolve host: 'localhost' (check /etc/hosts)
Done. Making mod_perl-2.0.3...
Trying to make mod_perl-2.0...
make: *** No targets specified and no makefile found.  Stop.

*** The make has failed, do you want to try to make again? (y,n):
I've tried updating Perl through Yum to no avail. Any help will be greatly appreciated!

Alex.
 
Hey there,
I'll skip the foreplay and get straight to the point. Perl won't compile.
Every time I get to the
Code:
./build mod_perl_ap2
part, I always get this:
Code:
[root@67 customapache]# ./build mod_perl_ap2
Found /usr/local/directadmin/customapache/mod_perl-2.0-current.tar.gz
Extracting ...
Done.
Nuking previous mod_perl install (or configure will fail)...
Configuring mod_perl-2.0.3...
Reading Makefile.PL args from @ARGV
   MP_APXS = /usr/sbin/apxs
   MP_APR_CONFIG = /usr/bin/apr-1-config
   MP_APU_CONFIG = /usr/bin/apu-1-config
no conflicting prior mod_perl version found - good.
Configuring Apache/2.0.59 mod_perl/2.0.3 Perl/v5.8.8
[  error] Can't resolve host: 'localhost' (check /etc/hosts)
[  error] Can't resolve host: 'localhost' (check /etc/hosts)
Done. Making mod_perl-2.0.3...
Trying to make mod_perl-2.0...
make: *** No targets specified and no makefile found.  Stop.

*** The make has failed, do you want to try to make again? (y,n):
I've tried updating Perl through Yum to no avail. Any help will be greatly appreciated!

Alex.

I get the same.
 
Turns out the reason is directadmin screwed up the /etc/hosts file (at least I think it was DA, I didn't touch it). The localhost line was messed up. It had ::1 instead of 127.0.0.1
 
Turns out the reason is directadmin screwed up the /etc/hosts file (at least I think it was DA, I didn't touch it). The localhost line was messed up. It had ::1 instead of 127.0.0.1

Probably should've checked that one out before posting :-/
 
i finished the upgrade, everything working except my direct admin stopped working after this upgrade.

when i go to domain.com/config or domain.com:2222
directadmin won't show.

how do i fix this issue?

it is urgent matter!
 
Try attempting to start directadmin from the shell as root, and look for error messages.

Also look for error messages in the logs in /var/log/directadmin.

Jeff
 
ok then how do i start up directadmin ?
which file starts it?
is it like 'service da start' ?

and another thing,
i noticed that, i cant connect to ssh anymore , but fortunately, i still have SSH open.

im worried that once i close this putty, i will forever lose my ability to login to SSH.

how can i tackle this matter?

thank you, this is urgent, so i really appreciate your help
 
ok then how do i start up directadmin ?
which file starts it?
is it like 'service da start' ?
That depends on your OS distribution. On RH and CentOS systems it's:
Code:
service directadmin restart
and another thing, i noticed that, i cant connect to ssh anymore , but fortunately, i still have SSH open.

im worried that once i close this putty, i will forever lose my ability to login to SSH.

how can i tackle this matter?
Unfortunately I have no idea. You should check to make sure your update didn't somehow overwrite the ssh config file (though I don't see how it could have :( ).

Jeff
 
alot of peoples not just me is having this SSH problem, just from this thread alone.

how did others fix this probleM?
they never ever mentioned a fix.
 
Please help me... :'(

when I execute:



After about 1 minute receive this error:


Why...? Please help me :'(

Check your configure.php_ap2 file. It might be empty...
try:

rm -f configure.*
./build update_data
./build update_data_ap2

to get a new one.
 
Code:
cd /usr/local/directadmin/customapache
and delete php x.x.x folder then build php again with y

Wael

Will your Apache2 upgrade steps work on a Debian OS? I am having one heck of a hard time getting it to 1)install 2)start when it is

-Seth
 
FYI Seth,

I run Deb 3.1 and have just completed this upgrade. The only issue i had was that I needed to delete the config files and reload them (about two posts up).

After this it seems to have worked like a charm!

Can the first post be edited to include some of these tips for deb users please?
 
Back
Top