Walter Lee

Web server 7.0u3 is out

Thursday Jul 03, 2008

The new web server 7.0u3 (standalone  version, not the package-based version) was out last week. You can see the release notes at

http://docs.sun.com/app/docs/doc/820-4848/gdutz?a=browse

and download the bits at

http://tinyurl.com/4l7yed

I tried the standalone version and it was installed easily , except I got an old linker patch,

109147-39 in my old Solaris 8, which I need to upgrade first before I can install the new web 7.0u3.

e.g. I got this warning in the middle of my installation,

The following patches need to be installed for the server installation to
complete successfully.
Patches to be updated: [109147-39]


1. Continue
2. Exit

   Enter the number corresponding to your choice  [1] {"<" goes back, "!"   exits}

----------------------------------------------------------------------------------- 

It was listed in the 7.0u3 release notes,

"Incompatible Patches
Some incompatible patches can affect Web Server startup and cause the server not to
respond to requests. The following table lists such patches. If you have an incompatible
patch installed on your machine, upgrade the patch to a recommended compatible patch.

TABLE 3 List of Incompatible Patches

Operating System         Incompatible Patch                    Recommended Compatible Patch
Solaris 8 SPARC         109147-37,38,39 (linker patch)          109147–40 (linker patch)

"

So,  I looked up the latest at sunsolve,

http://sunsolve.sun.com/search/document.do?assetkey=1-21-109147-44-1&searchclause=109147-39

then  downloaded and unzipped  above,

apple:/export/home0> unzip 109147-44.zip

apple:/export/home0> patchadd 109147-44

Checking installed patches...
Verifying sufficient filesystem capacity (dry run method)...
Installing patch packages...

Patch number 109147-44 has been successfully installed.
See /var/sadm/patch/109147-44/log for details

Patch packages installed:
  SUNWarc
  SUNWbtool
  SUNWbtoox
  SUNWcsl
  SUNWcslx
  SUNWcsr
  SUNWcsu
  SUNWcsxu
  SUNWhea
  SUNWmdb
  SUNWmdbx
  SUNWosdem
  SUNWtoo
  SUNWtoox

-------------------------------

 Then, everything else was the same in the installation process and all worked fine after a successful installation.

Give it a try and you should see the easy installation yourself.



[3] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg
Comments:

Hi Water,

I just wonder if the start on boot option is not enabled during the Webserver 7.0 installation, is there anyway to enable it after the installation?

Thanks & Regards
Paul

Posted by Paul Liong on October 21, 2008 at 04:45 PM HKT #

Paul,

I think you can add back the S* and K* scripts in /etc/init.d , rc3.d ,etc...

e.g.
vm44:/export/wlee> ls -lrt /etc/rc3.d
total 39
-rwxr--r-- 6 root sys 474 Jan 22 2005 S16boot.server
-rw-r--r-- 1 root sys 1285 Jan 22 2005 README
-rwxr--r-- 6 root sys 5840 Jun 19 2006 S52imq
-rwxr--r-- 5 root sys 824 Aug 17 2006 S84appserv
-rwxr--r-- 6 root sys 1649 Feb 19 2008 S50apache
-rwxr-xr-x 6 root root 2071 Oct 14 15:22 S75webserver02

e.g.

vm44:/export/wlee> cat /etc/rc3.d//S75webserver02
#!/bin/sh
#------------------------------------------------------------------------------
#
# Sun ONE Web Server 6.1
#
# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# NOTE: To avoid your system from failing on reboot, do not change this
# file in any way.
# This script is designed to be executed on reboot.
#
#------------------------------------------------------------------------------

# Make sure we have PATH set at this point.
PATH="$PATH:/bin:/sbin:/usr/bin:/usr/sbin"

# Set this to 0, if you do NOT want autostart after a system reboot.
S1WS_START_ONBOOT=1

# Initialize Script scope level variables.
S1WS_HOME=/export/wlee/61sp8
S1WS_VERSION="6.1"

rc_failed="Failure"
rc_success="Success"

ret=$rc_success

# See how we were called.
case "$1" in
start_msg)
echo "Sun ONE Web Server $S1WS_VERSION starting ($S1WS_HOME)"
;;
start)
if [ -z "S1WS_START_ONBOOT" ] || [ "$S1WS_START_ONBOOT" = "0" ]; then
ret=$rc_success
else
echo "Sun ONE Web Server $S1WS_VERSION starting ($S1WS_HOME)"
for each_server in $S1WS_HOME/https-*
do
if [ -d "$each_server" ]; then
echo " `basename $each_server`: \c"
$each_server/start || ret=$rc_failed
echo "$ret"
fi
done
fi
;;
stop_msg)
echo "Sun ONE Web Server $S1WS_VERSION stopping ($S1WS_HOME)"
;;
stop)
echo "Sun ONE Web Server $S1WS_VERSION stopping ($S1WS_HOME)"
for each_server in $S1WS_HOME/https-*
do
reversed_list="$each_server $reversed_list"
done
for each_server in $reversed_list
do
if [ -d $each_server ]; then
echo " `basename $each_server`: \c "
$each_server/stop || ret=$rc_failed
echo "$ret"
fi
done
;;
restart)
$0 stop || return=$rc_failed
$0 start || return=$rc_failed
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
;;
esac

# Inform the caller not only verbosely and set an exit status.
test "$ret" = "$rc_success" || exit 1
exit 0

------------
Pls. make sure you name it properly at
/etc/init.d and /etc/rc<n>.d ,etc

e.g. /etc/rc0.d/K05webserver01 /etc/rc0.d/K05webserver02
vm44:/etc/rc3.d> ls /etc/rc1.d/*web*
/etc/rc1.d/K05webserver01 /etc/rc1.d/K05webserver02
vm44:/etc/rc3.d> ls /etc/rc2.d/*web*
/etc/rc2.d/K05webserver01 /etc/rc2.d/K05webserver02
vm44:/etc/rc3.d> ls /etc/rc3.d/*web*
/etc/rc3.d/S75webserver02 *** (note the UPPERCASE S<filename> )
.....
vm44:/etc/rc3.d> ls /etc/init.d/*web*
/etc/init.d/webserver01 /etc/init.d/webserver02

As usual, always test before you do any further.
The above is an example for web 6.1, same applies to 7.0 in terms of the start up on boot S* and K* scripts.

Walter

Posted by Walter Lee on October 21, 2008 at 06:29 PM HKT #

Hi Water,

I See. Thanks a lot.

Regards
Paul

Posted by Paul Liong on October 22, 2008 at 10:56 AM HKT #

Post a Comment:
  • HTML Syntax: NOT allowed