RE: tomcat.conf missing
Hi. Probably because you are logged in as the root. Try to log in as the tomcat4 user. Or change user by the "su tomcat4" command. Next run the Tomcat. Maybe you will need to enable rwx rights to tomcat4 user on the Tomcat directories and files. Radek > -Original Message- > From: hostmaster [mailto:[EMAIL PROTECTED] > Sent: Friday, February 06, 2004 10:39 AM > To: [EMAIL PROTECTED] > Subject: RE: tomcat.conf missing > > Hi, > > I'm running Tomcat on the standard port 8080 > (mod_jk on 8009) > > As soon as I'm starting Tomcat it is running > under user "root" > > No idea how I can change this to user tomcat4 > > Thanks, > Markus > > > > Hi. > > > > Solve it in other way. Run Tomcat on some port up to 1024 under any user > > you like and redirect (in iptables) requests from port 80 (443) to your > > own port(s). > > > > Radek > > > > > > > -Original Message- > > > From: hostmaster [mailto:[EMAIL PROTECTED] > > > Sent: Friday, February 06, 2004 9:23 AM > > > To: [EMAIL PROTECTED] > > > Subject: Re: tomcat.conf missing > > > > > > Okay, but it should be possible to set > > > the user like TOMCAT_USER="tomcat4" > > > > > > startup.sh and catalina.sh are offering > > > no such possibility. > > > > > > chown -R tomcat4.tomcat4 jakarta > > > > > > was not able to fix the root problem. > > > > > > > > > > hostmaster wrote: > > > > > > > > > I just installed Tomcat 4.1.29 > > > > > > > > > > The problem I got is: Tomcat is running under root. > > > > > > > > > > I'd like to change this to tomcat4 > > > > > > > > > > But there is no longer a tomcat.conf file available > > > > > where I can change this setting. > > > > > > > > "tomcat.conf" is not a part of jakarta-tomcat-4.1.x package. It is a > > > part > > > of a > > > > RPM for version 2.1.24. It is nice, but it has nothing to do with > > the > > > original > > > > package. > > > > > > > > Nix. > > > > > > > > > > > > > > - > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat.conf missing
Hi, I'm running Tomcat on the standard port 8080 (mod_jk on 8009) As soon as I'm starting Tomcat it is running under user "root" No idea how I can change this to user tomcat4 Thanks, Markus > Hi. > > Solve it in other way. Run Tomcat on some port up to 1024 under any user > you like and redirect (in iptables) requests from port 80 (443) to your > own port(s). > > Radek > > > > -Original Message- > > From: hostmaster [mailto:[EMAIL PROTECTED] > > Sent: Friday, February 06, 2004 9:23 AM > > To: [EMAIL PROTECTED] > > Subject: Re: tomcat.conf missing > > > > Okay, but it should be possible to set > > the user like TOMCAT_USER="tomcat4" > > > > startup.sh and catalina.sh are offering > > no such possibility. > > > > chown -R tomcat4.tomcat4 jakarta > > > > was not able to fix the root problem. > > > > > > > hostmaster wrote: > > > > > > > I just installed Tomcat 4.1.29 > > > > > > > > The problem I got is: Tomcat is running under root. > > > > > > > > I'd like to change this to tomcat4 > > > > > > > > But there is no longer a tomcat.conf file available > > > > where I can change this setting. > > > > > > "tomcat.conf" is not a part of jakarta-tomcat-4.1.x package. It is a > > part > > of a > > > RPM for version 2.1.24. It is nice, but it has nothing to do with > the > > original > > > package. > > > > > > Nix. > > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat.conf missing
hostmaster wrote: Okay, but it should be possible to set the user like TOMCAT_USER="tomcat4" startup.sh and catalina.sh are offering no such possibility. chown -R tomcat4.tomcat4 jakarta was not able to fix the root problem. If you take a closer look at the 4.1.24 RPM, you'll notice that there are aditional scripts, namely "/usr/bin/dtomcat" and "/etc/init.d/tomcat", which are responsible for starting up Tomcat as a service. They read "/etc/tomcat/tomcat.conf". Nix. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat.conf missing
Hi. Solve it in other way. Run Tomcat on some port up to 1024 under any user you like and redirect (in iptables) requests from port 80 (443) to your own port(s). Radek > -Original Message- > From: hostmaster [mailto:[EMAIL PROTECTED] > Sent: Friday, February 06, 2004 9:23 AM > To: [EMAIL PROTECTED] > Subject: Re: tomcat.conf missing > > Okay, but it should be possible to set > the user like TOMCAT_USER="tomcat4" > > startup.sh and catalina.sh are offering > no such possibility. > > chown -R tomcat4.tomcat4 jakarta > > was not able to fix the root problem. > > > > hostmaster wrote: > > > > > I just installed Tomcat 4.1.29 > > > > > > The problem I got is: Tomcat is running under root. > > > > > > I'd like to change this to tomcat4 > > > > > > But there is no longer a tomcat.conf file available > > > where I can change this setting. > > > > "tomcat.conf" is not a part of jakarta-tomcat-4.1.x package. It is a > part > of a > > RPM for version 2.1.24. It is nice, but it has nothing to do with the > original > > package. > > > > Nix. > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat.conf missing
Okay, but it should be possible to set the user like TOMCAT_USER="tomcat4" startup.sh and catalina.sh are offering no such possibility. chown -R tomcat4.tomcat4 jakarta was not able to fix the root problem. > hostmaster wrote: > > > I just installed Tomcat 4.1.29 > > > > The problem I got is: Tomcat is running under root. > > > > I'd like to change this to tomcat4 > > > > But there is no longer a tomcat.conf file available > > where I can change this setting. > > "tomcat.conf" is not a part of jakarta-tomcat-4.1.x package. It is a part of a > RPM for version 2.1.24. It is nice, but it has nothing to do with the original > package. > > Nix. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat.conf missing
hostmaster wrote: I just installed Tomcat 4.1.29 The problem I got is: Tomcat is running under root. I'd like to change this to tomcat4 But there is no longer a tomcat.conf file available where I can change this setting. "tomcat.conf" is not a part of jakarta-tomcat-4.1.x package. It is a part of a RPM for version 2.1.24. It is nice, but it has nothing to do with the original package. Nix. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat.conf missing
You can use the commons-daemon jsvc (that ships with TC 5.x). "hostmaster" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I just installed Tomcat 4.1.29 > > The problem I got is: Tomcat is running under root. > > I'd like to change this to tomcat4 > > But there is no longer a tomcat.conf file available > where I can change this setting. > > The question I got is: > > where can I enable tomcat4 instead of root to > run Tomcat ? > > TOMCAT_USER="tomcat4" - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]