tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Kukulies <k...@kukulies.org>
Subject Re: Tomcat relicts from previous installation - ubuntu
Date Thu, 09 Jul 2020 11:59:13 GMT

> Am 09.07.2020 um 13:34 schrieb calder <calder.cay@gmail.com>:
> 
> On Thu, Jul 9, 2020 at 4:48 AM Christoph Kukulies <kuku@kukulies.org> wrote:
>> 
>> I’m resurrecting tomcat on a server (Ubuntu 18.04.4) on which I had been running
tomcat7 some time ago.
>> At the moment, when the system has started up, I’m seeing a process:
>> 
>> root@kuku:~# ps ax | grep -i tomcat
>> 1092 ?        Sl     0:08 /usr/lib/jvm/java-1.11.0-openjdk-i386/bin/java -Djava.util.logging.config.file=/usr/share/tomcat/conf/logging.properties
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.awt.headless=true
-Djava.security.egd=file:/dev/./urandom -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
-Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -Xms512M -Xmx1024M -server -XX:+UseParallelGC
-Dignore.endorsed.dirs= -classpath /usr/share/tomcat/bin/bootstrap.jar:/usr/share/tomcat/bin/tomcat-juli.jar
-Dcatalina.base=/usr/share/tomcat -Dcatalina.home=/usr/share/tomcat -Djava.io.tmpdir=/usr/share/tomcat/temp
org.apache.catalina.startup.Bootstrap start
>> 2079 pts/0    S+     0:00 grep --color=auto -i tomcat
> 
>> root@kuku:~#
> 
> It's never a good idea to run as root.
> 
>> Since I have no tomcat service script in /etc/init.d I have no idea at the moment,
who or which script is starting this java process.
> 
> might try:
> user@machine:~ /> ps systemctl status <PID of JAVA>
> so in your example
> user@machine:~ /> ps systemctl status 1092


systemctl status 1092

worked (without the „ps“) :)


Mime
View raw message