开发者社区> 问答> 正文

求助一个tomcat做群集启动报错的问题?报错

[root@LocalServer tomcat1]# ./bin/startup.sh ;tail -f logs/catalina.out
Using CATALINA_BASE:   /usr/local/tomcat1
Using CATALINA_HOME:   /usr/local/tomcat1
Using CATALINA_TMPDIR: /usr/local/tomcat1/temp
Using JRE_HOME:        /usr/local/jdk1.6.0_38
Using CLASSPATH:       /usr/local/tomcat1/bin/bootstrap.jar
Jan 27, 2013 8:32:10 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/jdk1.6.0_38/jre/lib/amd64/server:/usr/local/jdk1.6.0_38/jre/lib/amd64:/usr/local/jdk1.6.0_38/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Jan 27, 2013 8:32:12 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-10081
Jan 27, 2013 8:32:12 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2619 ms
Jan 27, 2013 8:32:12 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jan 27, 2013 8:32:12 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.36
Jan 27, 2013 8:32:12 PM org.apache.catalina.ha.tcp.SimpleTcpCluster start
INFO: Cluster is about to start
Jan 27, 2013 8:32:12 PM org.apache.catalina.tribes.transport.ReceiverBase bind
INFO: Receiver Server Socket bound to:/127.0.0.1:4001
Jan 27, 2013 8:32:12 PM org.apache.catalina.tribes.membership.McastServiceImpl setupSocket
INFO: Attempting to bind the multicast socket to /192.168.44.129:45564
Jan 27, 2013 8:32:12 PM org.apache.catalina.tribes.membership.McastServiceImpl setupSocket
INFO: Setting multihome multicast interface to:/127.0.0.1
Jan 27, 2013 8:32:12 PM org.apache.catalina.tribes.membership.McastServiceImpl setupSocket
INFO: Setting cluster mcast soTimeout to 500
Jan 27, 2013 8:32:12 PM org.apache.catalina.ha.tcp.SimpleTcpCluster start
SEVERE: Unable to start cluster.
org.apache.catalina.tribes.ChannelException: java.net.SocketException: Not a multicast address; No faulty members identified.
 at org.apache.catalina.tribes.group.ChannelCoordinator.internalStart(ChannelCoordinator.java:169)
 at org.apache.catalina.tribes.group.ChannelCoordinator.start(ChannelCoordinator.java:97)
 at org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:149)
 at org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:149)
 at org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor.start(MessageDispatchInterceptor.java:147)
 at org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:149)
 at org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:149)
 at org.apache.catalina.tribes.group.GroupChannel.start(GroupChannel.java:407)
 at org.apache.catalina.ha.tcp.SimpleTcpCluster.start(SimpleTcpCluster.java:672)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1047)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
 at org.apache.catalina.core.StandardService.start(StandardService.java:525)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
 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:597)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.net.SocketException: Not a multicast address
 at java.net.MulticastSocket.joinGroup(MulticastSocket.java:274)
 at org.apache.catalina.tribes.membership.McastServiceImpl.start(McastServiceImpl.java:233)
 at org.apache.catalina.tribes.membership.McastService.start(McastService.java:374)
 at org.apache.catalina.tribes.group.ChannelCoordinator.internalStart(ChannelCoordinator.java:154)
 ... 19 more
Jan 27, 2013 8:32:12 PM org.apache.catalina.startup.Catalina start
SEVERE: Catalina.start:
LifecycleException:  org.apache.catalina.tribes.ChannelException: java.net.SocketException: Not a multicast address; No faulty members identified.
 at org.apache.catalina.ha.tcp.SimpleTcpCluster.start(SimpleTcpCluster.java:679)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1047)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
 at org.apache.catalina.core.StandardService.start(StandardService.java:525)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
 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:597)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Jan 27, 2013 8:32:12 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 314 ms

大家谁遇到过这个问题,后来我在csdn  http://bbs.csdn.net/topics/300018110上找到有人遇到类似的问题,但是谁也没说在linux环境下怎么解决的,求助各位

@红薯

我贴个图,

展开
收起
爱吃鱼的程序员 2020-06-22 22:00:27 548 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    <aclass='referer'target='_blank'>@JFinalhostname和hosts配置文件不一致:http://www.javacui.com/service/136.html

    2020-06-22 22:00:44
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
Apache Tomcat 的云原生演进 立即下载
低代码开发师(初级)实战教程 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载