cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kirk Kosinski <kirkkosin...@gmail.com>
Subject Re: UI HTTP Status 404 / Tomcat - Address already in use
Date Thu, 11 Sep 2014 06:29:30 GMT
Hi, Piers.  The cloudstack-management init script starts Tomcat for you.
 You shouldn't use the tomcat6 init script to start Tomcat.

Best regards,
Kirk

On 09/10/2014 11:17 PM, Piers wrote:
> Can I get some advice on the Tomcat 404 error.
> 
> tail /var/log/tomcat6/catalina.out
> 
> Sep 11, 2014 3:23:30 PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 56 ms
> Sep 11, 2014 3:23:30 PM org.apache.catalina.core.StandardServer await
> SEVERE: StandardServer.await: create[8005]:
> java.net.BindException: Address already in use
>     at java.net.PlainSocketImpl.socketBind(Native Method)
>     at
> java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)
>     at java.net.ServerSocket.bind(ServerSocket.java:376)
>     at java.net.ServerSocket.<init>(ServerSocket.java:237)
>     at
> org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
>     at org.apache.catalina.startup.Catalina.await(Catalina.java:657)
>     at org.apache.catalina.startup.Catalina.start(Catalina.java:617)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 
>     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 
>     at java.lang.reflect.Method.invoke(Method.java:606)
>     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
>     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
> 
> java.util.logging.ErrorManager: 1: FileHandler is closed or not yet
> initialized, unable to log [Sep 11, 2014 3:23:30 PM
> org.apache.coyote.http11.Http11Protocol pause
> INFO: Pausing Coyote HTTP/1.1 on http-8080
> ]
> Sep 11, 2014 3:23:30 PM org.apache.coyote.http11.Http11Protocol pause
> INFO: Pausing Coyote HTTP/1.1 on http-8080
> 
> From what I can find out the "Address already in use" means that there
> is something on the port 8080 already or process using it from another
> time.
> 
> [root@ade1 ~]# /etc/init.d/cloudstack-management stop
> Stopping cloudstack-management:                            [  OK  ]
> 
> [root@ade1 ~]# /etc/init.d/cloudstack-agent stop
> Stopping Cloud Agent:
> [root@ade1 ~]# /etc/init.d/tomcat6 stop
> Stopping tomcat6:                                          [  OK  ]
> 
> [root@ade1 ~]# netstat -ln | grep 8080
> 
> -- nothing --
> 
> [root@ade1 ~]# lsof | grep tomcat
> 
> -- nothing --
> 
> [root@ade1 ~]# /etc/init.d/cloudstack-management start
> Starting cloudstack-management:                            [  OK  ]
> 
> 
> - 404 -
> 
> [root@ade1 ~]# /etc/init.d/cloudstack-agent start
> Starting Cloud Agent:
> 
> 
> - 404 -
> 
> This is a fresh install from scratch.
> 
> Thanks
> 
> Piers
> 
> /var/log/cloudstack/management/management-server.log
> 
> ...does not show any errors that I can see.
> 

Mime
View raw message