1836402 Members
2430 Online
110100 Solutions
New Discussion

Re: Tomcat service stop

 
GTFSpanneer
Frequent Advisor

Tomcat service stop

Hi Gurus,
Could you pleae tell me how to stop the tomcat service and how to find PHP version.


regards
Panneer
7 REPLIES 7
Ricky_HK
Frequent Advisor

Re: Tomcat service stop

Depends on where you installed the tomcat, usually installed at /usr/local/tomcat sth like that.
u can run /usr/local/tomcat/bin/shutdown.sh to stop tomcat with tomcat user.
Ricky_HK
Frequent Advisor

Re: Tomcat service stop

To check php version, write a page, e.g. info.php with the following:


access the web page will show you all about the php server.
GTFSpanneer
Frequent Advisor

Re: Tomcat service stop

Hi Ricky,

i am asking for HP UX .
i have checked below path not avialble.
/usr/local/tomcat
Ricky_HK
Frequent Advisor

Re: Tomcat service stop

/opt/hpws/tomcat <- here?
GTFSpanneer
Frequent Advisor

Re: Tomcat service stop

Ricky,
thanks i go the path and one more doubt,
how to check the tomcat and php serivice runnig or not.
Suraj K Sankari
Honored Contributor

Re: Tomcat service stop

Hi,
>>how to check the tomcat and php serivice runnig or not

Just do
#ps -aef | grep tomcat
and
#ps -aef | grep php


Suraj
Ricky_HK
Frequent Advisor

Re: Tomcat service stop

For tomcat: ps -ef|grep tomcat

As I know, PHP is not a kind of process or service. PHP is a module enabled in Apache HTTP server. I think you have to check apache http server...
run "ps -ef|grep http" you will see the apache is running or not.
I guess your apache located at /opt/hpws/apache.
run "/opt/hpws/apache/bin/apachectl stop" may stop your apache http server.