Hi,
I'll make sure to check this out.  Maybe all of us just wasted time
creating this tool since we apparently don't know simple unix
administration ;)

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]
>Sent: Tuesday, June 01, 2004 11:40 AM
>To: [EMAIL PROTECTED]
>Subject: RE: JSVC problems with Tomcat 5.0.19 & Linux
>
>Hi Yoav Shapira,
>
>Look into a simple unix administration book
> - for granting rights for ports(binding) to non-root user and u might
>save some time (may be money too) for this tool.
>
>Regards,
>Jagsir
>
>-- Thanks lord for giving some of us a bit lateral thinking.
>
>-----Original Message-----
>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, June 01, 2004 8:49 PM
>To: Tomcat Users List
>Subject: RE: JSVC problems with Tomcat 5.0.19 & Linux
>
>
>Hi,
>I suggest you read about JSVC or otherwise inform yourself about the
>tool before making that general port 1024 statement ;)  JSVC is
intended
>exactly to allow non-root users to run tomcat on ports < 1024.
>
>Yoav Shapira
>Millennium Research Informatics
>
>
>>-----Original Message-----
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED]
>>Sent: Tuesday, June 01, 2004 11:20 AM
>>To: [EMAIL PROTECTED]
>>Subject: RE: JSVC problems with Tomcat 5.0.19 & Linux
>>
>>Unix system (even Linux) does not allow normal users to bind at ports
>><1024,
>>
>>Use some port number >1024 or you need to configure your user for
>>permission to bind to a port <1024.
>>
>>Changa fer.
>>
>>
>>-----Original Message-----
>>From: Ashwin Desai [mailto:[EMAIL PROTECTED]
>>Sent: Tuesday, June 01, 2004 8:40 PM
>>To: Tomcat Users List
>>Subject: JSVC problems with Tomcat 5.0.19 & Linux
>>
>>Hi,
>>
>>I am trying to get Tomcat 5.0.19 to run as a non-root user using
>commons
>>daemon - jsvc on a linux machine.
>>
>>uname -a
>>Linux rx2600 2.4.20-cgl-1.12-mckinley-smp #1 SMP Tue Sep 23 09:21:46
>MDT
>>2003 ia64 unknown
>>
>>I got the following error in the log file
>>
>>syscall failed in set_caps
>>service exits with a value of 4
>>
>>After looking at a few solutions on the internet, I commented out the
>>set_caps(CAPS) & set_caps(CAPSMIN) lines from jsvc-unix.c and tried
>>again.
>>
>>Now, tomcat started properrly but had problems binding to port 80
>>(java.net.BindException)
>>
>>It looks like these set_caps() calls are needed to get the proper
>>permissions to bind to port 80.
>>
>>/* set capabilities enough for binding port 80 setuid/getuid */
>>    if (set_caps(CAPS)!=0)
>>        return(-1);
>>
>>Anyone else has seen this problem before. Any suggestions/solutions ??
>>
>>Thanks a lot in advance.
>>
>>Ashwin.
>>
>>=====
>>Ashwin Desai.
>>
>>
>>
>>
>>__________________________________
>>Do you Yahoo!?
>>Friends.  Fun.  Try the all-new Yahoo! Messenger.
>>http://messenger.yahoo.com/
>>
>>---------------------------------------------------------------------
>>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]
>
>
>
>
>This e-mail, including any attachments, is a confidential business
>communication, and may contain information that is confidential,
>proprietary and/or privileged.  This e-mail is intended only for the
>individual(s) to whom it is addressed, and may not be saved, copied,
>printed, disclosed or used by anyone else.  If you are not the(an)
>intended recipient, please immediately delete this e-mail from your
>computer system and notify the sender.  Thank you.
>
>
>---------------------------------------------------------------------
>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]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to