OpenSolaris

Printable Version Enter a New Search
Bug ID 6516710
Synopsis WebAS failed to start when configure under HA
State 10-Fix Delivered (Fix available in build)
Category:Subcategory suncluster:ha-sapwebas
Keywords
Responsible Engineer Hemachandran Namachivayam
Reported Against
Duplicate Of
Introduced In
Commit to Fix 3.2_patch_02
Fixed In 3.2_patch_02
Release Fixed 3.2_patch(3.2_patch_02)
Related Bugs 6506218
Submit Date 23-January-2007
Last Update Date 14-February-2007
Description
This is a 2 node cluster with SC3.2 on S10u3 with SCM5.0 - Standalone J2EE.  Before configuring WebAS under Sun Cluster, I was able to start WebAS manually on both nodes and connect to it from the client without any problems.  Once that was good, I configured the HA WebAS scalable resource with the following command below.  

# clrs create -d -g webas-sc-rg -t SUNW.sapwebas \
-p sap_sid=QT2 \
-p sap_instance_number=04 \
-p sap_instance_name=J04 \
-p sap_instance_type=J2EE \
-p webas_startup_script=/export/home/qt2adm/startsap_webas \
-p webas_shutdown_script=/export/home/qt2adm/stopsap_webas \
-p resource_dependencies=hasp4webas,oracle-rs,msg-rs webas-sc-rs

When I enable the HA WebAS resource, it's failing with database not available and it's also having problem finding sqlplus.  Here are the exact startup messages:

Checking QT2 Database
------------------------------
 J2EE Database is not available via  test
 See logfile JdbcCon.log 

Starting SAP-Collector Daemon 
------------------------------
06:49:17 23.01.2007   LOG: Effective User Id is root
***********************************************************************
* This is Saposcol Version COLL 20.89 700 - V3.72 64Bit
* Usage:  saposcol -l: Start OS Collector 
*         saposcol -k: Stop  OS Collector 
*         saposcol -d: OS Collector Dialog Mode
*         saposcol -s: OS Collector Status
* The OS Collector (PID 19547) is already running ..... 
************************************************************************
 saposcol already running
 Running /usr/sap/QT2/SYS/exe/run/startj2eedb 
Trying to start QT2 database ...
Log file: /export/home/qt2adm/startdb.log
 Can not find executable sqlplus 
DB startup failed
Jan 23 06:49:17 pbulge1 SC[SUNW.sapwebas:4,webas-sc-rg,webas-sc-rs,webas_startR3]: Start command /export/home/qt2adm/startsap_webas J04 returned error, 5.Aborting startup of resource.

Jan 23 06:49:34 pbulge1 SC[SUNW.sapwebas:4,webas-sc-rg,webas-sc-rs,webas_svc_start]: Failed to connect to host localhost and port 50400: Connection refused.
Jan 23 06:49:34 pbulge1 SC[SUNW.sapwebas:4,webas-sc-rg,webas-sc-rs,webas_svc_start]: Failed to connect to the host <localhost> and port <50400>.

Logs from the WebAS startup log file:
Starting SAP-Collector Daemon 
------------------------------
 saposcol already running
 Running /usr/sap/QT2/SYS/exe/run/startj2eedb 
DB startup failed
Work Around
N/A
Comments
N/A