It looks like something is already listening on port 80.

netstat -a will show if anything is listening on port 80.

You also need to be root to bind to port 80. It looks like you already are but make sure your scripts are not switching user. If you are just running startup.sh --> then you should be ok and something else is already listening to port 80.

-Tim

Lisa Foister wrote:
hmm... ok, here's what's in the log (this should be exactly one start and stop -- the first 2 or 3 entries are from the start, the rest from the stop). I don't seem to be getting any errors at all on startup. No clue what "Error initializing endpoint" means, but it seems to be my first actual error.

Mar 21, 2003 11:59:04 AM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Mar 21, 2003 11:59:04 AM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Mar 21, 2003 11:59:05 AM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Mar 21, 2003 11:59:07 AM org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.net.BindException: Permission denied:80
at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoi
nt.java:270)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java)
at org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteCo nnector.
> < SNIPPED >

On Friday, March 21, 2003 12:08 PM, Tim Funk [SMTP:[EMAIL PROTECTED] wrote:


Look for /var/tomcat4/logs/catalina.out. There will be an error message
in there of what went wrong.

-Tim

Lisa Foister wrote:

I'm very much a Linux newbie, so I may be missing something obvious

here,


but I think I've got the J2SDK set up right, and I thought I had Tomcat

set


up right. I've completely shut down my Apache server so I don't have

to


deal with the interactions, and although I would prefer to be running
Tomcat on port 80, at the moment I'd be happy to have it running on any port.


Every time I try to start Tomcat as a service (logged in as root, if it makes a difference) I get "Starting tomcat4: OK ]" as if it were
running, but then there is no process running with a name that even
remotely makes me think it might be Tomcat running. Then when I stop

the


service, I get the following:

Stopping tomcat4: Using CATALINA_BASE: /var/tomcat4
Using CATALINA_HOME: /var/tomcat4
Using CATALINA_TMPDIR: /var/tomcat4/temp
Using JAVA_HOME: /usr/java/j2sdk1.4.1_02
Catalina.stop: java.net.ConnectException: Connection refused
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:426)
at java.net.Socket.connect(Socket.java:376)
at java.net.Socket.<init>(Socket.java:291)
at java.net.Socket.<init>(Socket.java:119)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:581)
at

org.apache.catalina.startup.Catalina.execute(Catalina.java:402)


at

org.apache.catalina.startup.Catalina.process(Catalina.java:180)


at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at

org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)


FAILED]

Any advice as to what might be causing my problem would be greatly
appreciated.

Lisa


--------------------------------------------------------------------- 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]



Reply via email to