Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » using autbind on linux for virgo tomcat server to bind on ports < 1024
using autbind on linux for virgo tomcat server to bind on ports < 1024 [message #990852] Fri, 14 December 2012 13:45 Go to next message
daniel marthaler is currently offline daniel marthalerFriend
Messages: 77
Registered: April 2012
Location: Zürich
Member
Does anybody have experience in using authbind together with vts onlinux systems?

regards
dani
Re: using autbind on linux for virgo tomcat server to bind on ports < 1024 [message #1123711 is a reply to message #990852] Wed, 02 October 2013 21:11 Go to previous messageGo to next message
Eduardo Frazão is currently offline Eduardo FrazãoFriend
Messages: 123
Registered: January 2012
Senior Member
I do!

touch /etc/authbind/byport/80
chmod 500 /etc/authbind/byport/80
chown virgouser /etc/authbind/byport/80


Use property
-Djava.net.preferIPv4Stack=true. Authbind does not suport ipv6 for now.

authbind --deep startup.sh -clean


Here works fine..

Reference:
http://www.2ality.com/2010/07/running-tomcat-on-port-80-in-user.html
Re: using autbind on linux for virgo tomcat server to bind on ports < 1024 [message #1123745 is a reply to message #1123711] Wed, 02 October 2013 21:56 Go to previous messageGo to next message
daniel marthaler is currently offline daniel marthalerFriend
Messages: 77
Registered: April 2012
Location: Zürich
Member
Hi Eduardo

Thanks for your reply.

I think I already tried this, but it did not work together with the "start-stop-deamon" in our custom init script. I have to check this again when I'm in the office.

Will come back to post my findings.

Regards,
Dani
Re: using autbind on linux for virgo tomcat server to bind on ports < 1024 [message #1125069 is a reply to message #1123745] Fri, 04 October 2013 06:01 Go to previous message
daniel marthaler is currently offline daniel marthalerFriend
Messages: 77
Registered: April 2012
Location: Zürich
Member
Just to complete this thread for any other user who might be interested in automatically start and stop virgo on linux systems.

I've attached the init script we're using on our systems, it might not be perfect but it works without any problems.

NOTE: we are using this script on Debian based OS's.

Previous Topic:Virgo Project wil be archived?
Next Topic:Start VTS in Debian as process - define execution user
Goto Forum:
  


Current Time: Fri Apr 19 23:52:18 GMT 2024

Powered by FUDForum. Page generated in 0.02965 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top