You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Keith Pemberton <ga...@charter.net> on 2002/09/07 04:43:56 UTC
Permission denied trying to connect tomcat to port 80...
I'm trying to point my tomcat server over to port 80 in Redhat Linux,
but I am having a little trouble with it. I have apache installed as
well but I have both disabled the service and commented out the two
lines in the /etc/services file that deal specifically with port 80.
Anyone have a suggestion as to why I am getting this error message and
what I can do to resolve it? Thanks in advance!
Keith
Re: Permission denied trying to connect tomcat to port 80...
Posted by Mark Eggers <it...@yahoo.com>.
Make sure the startup script is not suid/sgid to
something.
Also, make sure there is not an httpd configured in
/etc/inetd.conf.
/mde/
just my two cents . . . .
__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Permission denied trying to connect tomcat to port 80...
Posted by Ben Walding <be...@walding.com>.
Does it work if you pick a port like 2343 or some other random unused
port (just to rule out some other service / odd configuration error).
Keith Pemberton wrote:
>Here is the output I get from running tomcat4 run. Hope this helps:
>
>Using CATALINA_BASE: /var/tomcat4
>Using CATALINA_HOME: /var/tomcat4
>Using CATALINA_TMPDIR: /var/tomcat4/temp
>Using JAVA_HOME: /usr/java/j2sdk1.4.0
>Catalina.start: LifecycleException: null.open: java.net.BindException:
>Permission denied:80
>LifecycleException: null.open: java.net.BindException: Permission
>denied:80
> at
>org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnector.java:1130)
> at
>org.apache.catalina.core.StandardService.initialize(StandardService.java:454)
> at
>org.apache.catalina.core.StandardServer.initialize(StandardServer.java:553)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:780)
> at
>org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
> at
>org.apache.catalina.startup.Catalina.process(Catalina.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
>org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
>----- Root Cause -----
>java.net.BindException: Permission denied:80
> at
>org.apache.catalina.connector.http.HttpConnector.open(HttpConnector.java:950)
> at
>org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnector.java:1128)
> at
>org.apache.catalina.core.StandardService.initialize(StandardService.java:454)
> at
>org.apache.catalina.core.StandardServer.initialize(StandardServer.java:553)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:780)
> at
>org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
> at
>org.apache.catalina.startup.Catalina.process(Catalina.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
>org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
>
>Keith
>
>On Fri, 2002-09-06 at 22:59, Ben Walding wrote:
>
> Might be best to post the dump of your error message.
>
> Although from the sounds of it, it might be that your catalina.sh /
> startup.sh is not set for execute
>
> Try chmod a+x catalina.sh
>
> Then
> ./catalina.sh run
>
> See if that helps
>
> Keith Pemberton wrote:
>
> >I'm trying to point my tomcat server over to port 80 in Redhat Linux,
> >but I am having a little trouble with it. I have apache installed as
> >well but I have both disabled the service and commented out the two
> >lines in the /etc/services file that deal specifically with port 80.
> >Anyone have a suggestion as to why I am getting this error message and
> >what I can do to resolve it? Thanks in advance!
> >
> >Keith
> >
> >
> >
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Permission denied trying to connect tomcat to port 80...
Posted by Keith Pemberton <ga...@charter.net>.
Here is the output I get from running tomcat4 run. Hope this helps:
Using CATALINA_BASE: /var/tomcat4
Using CATALINA_HOME: /var/tomcat4
Using CATALINA_TMPDIR: /var/tomcat4/temp
Using JAVA_HOME: /usr/java/j2sdk1.4.0
Catalina.start: LifecycleException: null.open: java.net.BindException:
Permission denied:80
LifecycleException: null.open: java.net.BindException: Permission
denied:80
at
org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnector.java:1130)
at
org.apache.catalina.core.StandardService.initialize(StandardService.java:454)
at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:553)
at org.apache.catalina.startup.Catalina.start(Catalina.java:780)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
----- Root Cause -----
java.net.BindException: Permission denied:80
at
org.apache.catalina.connector.http.HttpConnector.open(HttpConnector.java:950)
at
org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnector.java:1128)
at
org.apache.catalina.core.StandardService.initialize(StandardService.java:454)
at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:553)
at org.apache.catalina.startup.Catalina.start(Catalina.java:780)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
Keith
On Fri, 2002-09-06 at 22:59, Ben Walding wrote:
Might be best to post the dump of your error message.
Although from the sounds of it, it might be that your catalina.sh /
startup.sh is not set for execute
Try chmod a+x catalina.sh
Then
./catalina.sh run
See if that helps
Keith Pemberton wrote:
>I'm trying to point my tomcat server over to port 80 in Redhat Linux,
>but I am having a little trouble with it. I have apache installed as
>well but I have both disabled the service and commented out the two
>lines in the /etc/services file that deal specifically with port 80.
>Anyone have a suggestion as to why I am getting this error message and
>what I can do to resolve it? Thanks in advance!
>
>Keith
>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Permission denied trying to connect tomcat to port 80...
Posted by Ben Walding <be...@walding.com>.
Might be best to post the dump of your error message.
Although from the sounds of it, it might be that your catalina.sh /
startup.sh is not set for execute
Try chmod a+x catalina.sh
Then
./catalina.sh run
See if that helps
Keith Pemberton wrote:
>I'm trying to point my tomcat server over to port 80 in Redhat Linux,
>but I am having a little trouble with it. I have apache installed as
>well but I have both disabled the service and commented out the two
>lines in the /etc/services file that deal specifically with port 80.
>Anyone have a suggestion as to why I am getting this error message and
>what I can do to resolve it? Thanks in advance!
>
>Keith
>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>