Jon,

On 10/2/23 13:16, Mcalexander, Jon J. wrote:
A little more info on this. The server rebooted last night and the
auto-startup started the instance correctly, but the Catalina.out
file was not created. It only appears to work properly if you log
onto the server and su to the owner user, then run the stop and start
scripts.
What does the suexec thing ultimately end up calling to launch Tomcat? Does it call catalina.sh? What is the effective user-id at the time the script is invoked?

Have you tried adding lots of debug logging to your script?

-chris

-----Original Message-----
From: Mcalexander, Jon J. <jonmcalexan...@wellsfargo.com.INVALID>
Sent: Monday, October 2, 2023 12:06 PM
To: users@tomcat.apache.org
Subject: Strange catalina.out not created issue

Hi all,
It's me again with another issue that is probably obvious to y'all, but I'm not
seeing it.
We have Tomcat Instances on various services that if Tomcat is started from
the Command Line as the user that owns the Instance, everything starts up
properly and the catalina.out log file gets created. However, if the restart is
performed by a workflow that calls the same scripts but via suexec,
everything starts up properly EXCEPT the catalina.out log file does NOT get
created. Has anyone ran into this before? Currently the instance is running
on Tomcat 9.0.80.

I don't have any log output to give you because ONLY the gc.log is getting
created when this happens.

Thanks,

Dream * Excel * Explore * Inspire
Jon McAlexander
Senior Infrastructure Engineer
Asst. Vice President
He/His

Middleware Product Engineering
Enterprise CIO | EAS | Middleware | Infrastructure Solutions

8080 Cobblestone Rd | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508

jonmcalexan...@wellsfargo.com<mailto:jonmcalexan...@wellsfargo.com>
This message may contain confidential and/or privileged information. If you
are not the addressee or authorized to receive this for the addressee, you
must not use, copy, disclose, or take any action based on this message or any
information herein. If you have received this message in error, please advise
the sender immediately by reply e-mail and delete this message. Thank you
for your cooperation.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to