1833780 Members
2536 Online
110063 Solutions
New Discussion

swlist - restoring data

 
Anthony_141
Regular Advisor

swlist - restoring data

We are on HP-UX 11.11.

We were experimented with the new Apache, so to be safe before we started we saved off /opt/hpws/apache to /opt/hpws/apache.old.

Then we installed the new Apache....which led us to installing a new PERL,etc.

For various reasons, we gave up and wanted to get back to our original configuration.

To make sure we could get back we moved /opt/hpws/apache to /opt/hpws/apache.new and then moved apache.old to apache. Apache came up fine and was the old version.

The issue is that doing it this way, when you do a "swlist" the version of Apache is incorrect (it shows the new version).

Is there a "good" way for us to not only get back to our older Apache, but have swlist, etc. also reflect we we are on the old version? (How can we get the new version of Apache out of the SW files and get the old one back in)?

Thanks!
2 REPLIES 2
Dennis Handly
Acclaimed Contributor

Re: swlist - restoring data

>Is there a "good" way for us to not only get back to our older Apache ...

The only way to do that is to reinstall the old apache.

Otherwise what you should have done when you moved the old apache aside, is to fiddle with the IPD and move those directories too. This is not supported and my comments oversimplify the process, if it is at all possible.

What you could have done is install the new apache in an alternate root. (swinstall ... @ /path) If you can run apache from there, you're done. Otherwise you could have moved apache to apache.old and added a symlink to your alternate root location.

Unfortunately, you needed to decide when you installed the new apache whether you would be going back.
Anthony_141
Regular Advisor

Re: swlist - restoring data

thanks for the advice - hopefully we will do this correctly next time