Operating System - HP-UX
1820553 Members
2814 Online
109626 Solutions
New Discussion юеВ

About APache-based Web Server upgrade

 
SOLVED
Go to solution
Tim_ct
Advisor

About APache-based Web Server upgrade

On HP-UX 11.11, it is default to install Apache-based web server 2.0.49.

If upgrading from 2.0.49 to the newest version 2.0.59, do I need to swremove the old version first? Is there any document from HP?
8 REPLIES 8
Torsten.
Acclaimed Contributor
Solution

Re: About APache-based Web Server upgrade

The Jun 07 media already contains
hpuxwsApache A.2.0.58.00 HP-UX Apache-based Web Server

and I guess the later media releases have newer versions.

swinstall will manage the update - so simply install the newer version.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Tim_ct
Advisor

Re: About APache-based Web Server upgrade

so how about the configuration files, will they be override? Anyone have experience doing the upgrade?
likid0
Honored Contributor

Re: About APache-based Web Server upgrade

I did the upgrade(not the same versions you mention), and my config files were fine, but i made a full backup of my apache config dir.

Make a a backup just in case!!
Windows?, no thanks
Olivier Masse
Honored Contributor

Re: About APache-based Web Server upgrade

Although the upgrade does preserve some files, it *WILL* overwrite those which are less used.

For example, the last update I did a few weeks ago to fix a security issue scrapped php.ini and apachectl which were customized, so better make a backup and try it on your test environment first.

Olivier
David Nixon
Valued Contributor

Re: About APache-based Web Server upgrade

It is always helpful if you can test the
upgrade before applying it to a production server. E.g. Apache 2.0.58.01
needed Perl 5.8.8 to be installed first, with Apache shut down. However the new 'apachectl' startup file wanted to use Perl 5.6.1

There are often issues like that to deal
with after an Apache upgrade.
Tim_ct
Advisor

Re: About APache-based Web Server upgrade

thanks for the information.
Sorry I am not experience with apache.

I hit another problem when trying to stop apache.

As I know start and stop of apache is control by apachectl start/stop.
But when I execute "apachectl stop", "httpd" is still in "ps -f".

It is not related to the upgrade issue, but I just curious to know, beside apachectl status, is there any way to check apache is currently running?
Torsten.
Acclaimed Contributor

Re: About APache-based Web Server upgrade

httpd is also used for other functionality.

apachectl will control the server listen on port 80, but apache based server is also used for example
ISEE - port 5060
SMH - port 2301/2381

Read the "ps -ef" output carefully, SMH related server looks like this (for this example):

hpsmh 19628 19616 0 16:49:06 ? 0:00 /opt/hpws/apache/bin/httpd -k start -DSSL -f /opt/hpsmh/conf/sm

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Tim_ct
Advisor

Re: About APache-based Web Server upgrade

Thanks for your replay. Information is very useful!