Operating System - HP-UX
1823064 Members
3079 Online
109645 Solutions
New Discussion юеВ

jakarta tomcat 4.1.31 config problem to run on port 80

 
sstan
Frequent Advisor

jakarta tomcat 4.1.31 config problem to run on port 80

Hi evening to all,

any one can help on this?
we had a boxes configured with tomcat4.1.31 and would to use the default port 80 to start the web server process. Initially tried out with root access seems working ,cool.

But later tried it out with new created user, tomcat , tried to start it but permission error like:

permission denied errno 13 : port 80.

It sound like the tomcat user unable to use the port 80, but when switch to port beside 80, it able to work. Any workaround for this?
The tomcat is in group of sys.


Thanks in advance.
3 REPLIES 3
Alex Lavrov.
Honored Contributor

Re: jakarta tomcat 4.1.31 config problem to run on port 80

Check with "netstat" or "lsof" if someone already uses this port:

netstat -an | grep 80

lsof -i:80


(lsof: http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.75/)

Alex.
I don't give a damn for a man that can only spell a word one way. (M. Twain)
sstan
Frequent Advisor

Re: jakarta tomcat 4.1.31 config problem to run on port 80

hi Alex,
i tried ur suggestion but seems that netstat | gerp 80 output this :
c/local/01368/c-0/9161
51d7fdc0 dgram 0 0 505a9e80 0 0

not much useful info then lsof -i:80 produce nothing, .

One more thing, had anyone come across to configure tomcat webserver with user beside root, is it possible to do so , or any workaround for user beside root to start tomcat using famous port 80.

???
sstan
Frequent Advisor

Re: jakarta tomcat 4.1.31 config problem to run on port 80

thanks