In linux, I run /bin/su $TOMCAT_USER -- $CATALINA_HOME/bin/startup.sh Group owner of tomcat directory is tomcat user.
-----Original Message----- From: Roland Carlsson [mailto:[EMAIL PROTECTED] Sent: January 14, 2005 4:48 AM To: TomcatUsers Subject: SV: SV: Installing and running tomcat as a user other than root Are you accessing tomcat from localhost or any other host? Den 05-01-14 09.19, skrev "Mumanyi Bravismore" <[EMAIL PROTECTED]>: > Sorry, I am on RedHat 9. I have given the user -rwx- of the [tomcat] > dir, No problem with the user starting tomcat. ps -e|grep java shows > the tomcat process is running but when I try to access the pages from > the browser, connection is failing. > > Any tips on how to grant priviledges to port 80 or 8080 on linux to a > user. > > Thanks > > Roland Carlsson wrote: >> Hi Mumanyi! >> >> This will require some knowleage about you operatingsystem since not >> all operation is allowed being a non-root user. But it basically >> comes down to >> this: >> >> Grant the user you would like to run tomcat read and write rights on >> the whole tomcat install-dir. This because tomcat write down a few >> things to disk. >> >> Make sure that you operating system allow the user to open up the >> port you which tomcat to run on. Usually ports under 1024 are >> dissallowed without special privilegies. >> >> If you still are having problem you have to read the logs to see why >> tomcat fails to start correctly. >> >> Regards >> Roland Carlsson >> >> >> >> >> Den 05-01-14 08.12, skrev "Mumanyi Bravismore" >> <[EMAIL PROTECTED]>: >> >> >>> How can one achieve to install and run tomcat as a user other than >>> root. I have tried to extract tomcat from the *.gz as a user but >>> once I try to access it from the browser I get the "Connection >>> Failed" error when in actually fact tomcat is running. >>> >>> When I su -l to root and restart tomcat, I am able to see the page. >>> >>> Thanks in advance. >>> >>> Regards >>> /Bravo >>> >>> >>> -------------------------------------------------------------------- >>> - >>> 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] !DSPAM:41e7a257192608070517611!