Upgrade Apache from 2.2 to 2.4

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Upgrade Apache from 2.2 to 2.4
# 1  
Old 10-13-2014
Upgrade Apache from 2.2 to 2.4

hello everyone.

let me start by stating I am relatively new to Linux and do not consider myself to be a very professional Linux administrator.

I have a red-hat 6.2 server used as a web server in a closed network (no internet access). however we do have a repository server with many applications (I do NOT manage the repository server, only the web server)

I am currently trying to upgrade the Apache on the server from 2.2 to 2.4, and I find it surprisingly difficult.

first I tried of course to use the repository server.

on the repository server I found the packages of apache-httpd, though they were named httpd24-httpd, httpd24-apr and etc.
I went on to install the packages and found out that this did not update the apache already on the server, but instead installed a new apache on the server. I found that I had two httpd services, and the chkconfig command showed me to have httpd and httpd24-httpd starting up. I later realized the new installation was installed in some weird place under /opt/..(something) directory, while the older version was under /user/sbin/

I didn't find any useful help on Google, only instructions on how to install\upgrade Apache from a tar.gz file. so since I have that file as well, I uninstalled the httpd24 and tried to upgrade from the tar.gz file.

here everything went smoothly (I extracted everything from the archive and ran the configure file successfully), until I tried running 'make' where I received the following error:

Code:
libtool: link: cannot find the library `/usr/lib/libexpat.la' or unhandled argument `/usr/lib/libexpat.la'

I have the libtool installed but the file libexpact.la does not exist (I do have other files in that directory though).

At some point I also finally figured out that the different files of Apache (and almost all the applications on the server) are spread at different directories: /usr/sbin/httpd , /usr/lib64/httpd , and -/usr/include/httpd.

I am stuck with no success in this seemly simple task with no solution in the horizon.

I would very much appreciate help in:
  1. understanding why different apps are spread across so many directories and not under one folder like in windows.
  2. help with updating Apache in it's current place instead of installing an additional Apache

Thanks in advance for the help!
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Red Hat

Process not running: /opt/java15/jdk/bin/java -classpath /opt/apache/apache-ant-1.7.0-mod/lib/ant-la

Have no idea on what the below error message is: Process not running: /opt/java15/jdk/bin/java -classpath /opt/apache/apache-ant-1.7.0-mod/lib/ant-launcher.jar org.apache.tools.ant.launch.Launcher -buildfile build.xml dist. Any help? (3 Replies)
Discussion started by: gull05
3 Replies

2. Web Development

Apache module development on apache 2.2

Hi, I'm new to developing modules for Apache. I understand the basics now and can develop something simple which allows a 'GET' request to happen, but what I want to do is actually 'POST' information to my site. I know the basic POST Request works and I can see that it is post by looking at... (2 Replies)
Discussion started by: fishman2001
2 Replies

3. Solaris

Upgrade Apache to new version? Solaris 10, goal:PHP

Hello, I have been searching on unix.com and google in general. I can't find what I am looking for. Maybe too dumb of a question. I've downloaded and installed the sunfreeware package for PHP 5.3.6 and made sure all dependencies are satisfied. Apache 2.2.8 is currently installed and... (2 Replies)
Discussion started by: CSLibrary
2 Replies

4. AIX

OS upgrade

Hello, fellows: I have an old H80 with AIX 4.3, I want to upgrade to AIX 5.3, is this possible? I have read in some documentation that is necesary do it version to version, I mean... 4.3->5.1 5.1->5.2 5.2->5.3, anybody have this experience? I will aprecciate yor help. Kind regards. (2 Replies)
Discussion started by: GEIER
2 Replies

5. Solaris

help for Upgrade

hi administrator i need help to find solution for this . i have sun fire v880 server with configuration metioned below sun fire v880 2*750 MHz UltraSPARC 111 with 4 GB Memory ( 256*16 ) 36*6 GB hard disks( Internal) with other configuration and now i need to upgrade this server.... (3 Replies)
Discussion started by: dhasanka
3 Replies
Login or Register to Ask a Question