Operating System - Linux
1827877 Members
1486 Online
109969 Solutions
New Discussion

Start / stop script for HPWS

 
P-Dicky
Frequent Advisor

Start / stop script for HPWS

Hello

I am trying to setup a script to start and stop all the HPWS services as I am clustering them any tips? I am thinking something as simple as

cd /path/webmin/
./webmin-init start
su - www
cd /path/tomcat/bin/
./startup.sh
cd /path/apache/bin
./httpd start
exit
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: Start / stop script for HPWS

Shalom,

It will work.

Note that all listed above come with configuration for auto start in /etc/rc.config.d

Use full path.

Startup scripts are in /sbin/init.d

SEP-
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
P-Dicky
Frequent Advisor

Re: Start / stop script for HPWS

I keep getting this
[www:hostomni:/]
# exit
logout root
Warning: running Tomcat as root can cause security vulnerabilities
(for more information see tomcat.admin.guide)
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program
/usr/lib/dld.sl: Can't open shared library: /opt/hpws/apache/lib/libapr-0.sl.9
/usr/lib/dld.sl: No such file or directory
./start_web.sh[7]: 10920 Abort(coredump)
[root:hostomni:/etc/cmcluster/web]
#
P-Dicky
Frequent Advisor

Re: Start / stop script for HPWS

no response