Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Webstack 1.4 to 1.5 upgrade nightmare!!!

Status
Not open for further replies.

artfulbodger

Technical User
Jan 3, 2005
109
0
0
US
Help!

I was running webstack 1.4 and decided to upgrade to 1.5. Ok, go ahead, just shoot me.

I ran the ./install -u script, it ran, no errors. Now, Apache 2.2 and mySQL will not load. Consequently, now all my webservices are down. Here is the output from svcs -x -v:

Code:
svc:/network/http:sun-apache22 (Apache 2.2 HTTP server)
 State: maintenance since Sun Jan 02 22:53:30 2011
Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
   See: [URL unfurl="true"]http://sun.com/msg/SMF-8000-KS[/URL]
   See: man -M /opt/webstack/apache2/2.2/man -s 8 httpd
   See: /var/svc/log/network-http:sun-apache22.log
Impact: This service is not running.

I don't know how to proceed further. Any help would be greatly appreciated!

Thanks!
 
And your log file /var/svc/log/network-http:sun-apache22.log
shows???
 
Ok..... this post is for some self deprecation and hopefully to help someone else that does the bone-headed move of installing the x86 packages on a SPARC machine.

Yup...that's how I fubar'd my webserver. The fix is actually pretty simple. Here is what I did:

1) Back up your configuration files: php.ini, httpd.conf and any related conf files in the conf.d directory. These files are located in the ETC_ROOT (/etc/opt/webstack)

2) Back up your data directories. This is critical. Can be found in the VAR_ROOT (/var/opt/webstack)

3) Uninstall all of the packages using pkgrm. For a list, go to the directory where you unpacked the original installation files.

4) Delete the application directories to ensure you remove all of the libraries. This can be found under OPT_ROOT (/opt/webstack)

5) Get the right webstack version (in my case it was for SPARC), then re-install using the ./install -v amp command.

You server should come back up.

Hopefully this can help someone.




-----

Allan D. Reed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top