Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

java.net.SocketException: Protocol family unavailable

Hi All,

Being a new member of Cisco Service Community, I would like to say "Hello" to everyone and also pardon me if I am missing any information here. I am really looking for your expertise here :)

Two VM topology architecture of my environment:

Application servers with CPSC11.1: RHEL7.2


Production 1 (Cluster Node1): Domain Controller --> Service Link + RequestCenter

Production 2 (Cluster Node2): Host Controller -> RequestCenter.war

Both Production 1 and Production 2 are using IPv4 and not IPv6.

I have installed CPSC 11.1.1 which is bundled with Wildfly 8 on Red Hat Enterprise Linux Server release 7.2 (Maipo) as cluster install (choose complete cluster option during install) only on my cluster node1 (nothing installed in production 2 box as of now ). After successful install, I tried to start CPSC service with following command:

nohup ./startServiceCatalogCluster.sh > startServiceCatalogCluster.log 2>&1 &

However, I am getting error: "Protocol family unavailable"

Here is the complete log file:

nohup: ignoring input
Starting serviceCatalog in Cluster.....
=========================================================================

JBoss Bootstrap Environment

JBOSS_HOME: /opt/app/workload/CiscoPrimeServiceCatalog/wildfly-8.2.0.Final

JAVA: /opt/app/workload/jdk1.7.0_99/bin/java

JAVA_OPTS: -server -Xms4096m -Xmx4096m -XX:PermSize=512m -XX:MaxPermSize=512m -XX:NewRatio=2 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/log -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.base.dir= -Djboss.domain.config.dir=/configuration -XX:CompileCommand=exclude,com/newscale/bfw/signon/filters/AuthenticationFilter,doFilter -XX:CompileCommand=exclude,org/apache/xml/dtm/ref/sax2dtm/SAX2DTM,startElement -XX:CompileCommand=exclude,org/exolab/castor/xml/Marshaller,marshal -XX:CompileCommand=exclude,org/apache/xpath/compiler/XPathParser,UnionExpr -XX:CompileCommand=exclude,org/apache/oro/text/regex/Perl5Compiler,__parseAtom% -Dnewscale.logger.dir=/opt/app/workload/CiscoPrimeServiceCatalog/wildfly-8.2.0.Final/domain/servers/server-hostva-SL/log

=========================================================================

14:54:50,045 INFO [org.jboss.modules] JBoss Modules version 1.3.3.Final
14:54:50,328 INFO [org.jboss.as.process.Host Controller.status] JBAS012017: Starting process 'Host Controller'
[Host Controller] 14:54:51,548 INFO [org.jboss.modules] JBoss Modules version 1.3.3.Final
[Host Controller] 14:54:51,831 INFO [org.jboss.msc] JBoss MSC version 1.2.2.Final
[Host Controller] 14:54:51,945 INFO [org.jboss.as] JBAS015899: WildFly 8.2.0.Final "Tweek" starting
[Host Controller] 14:54:53,652 INFO [org.xnio] XNIO version 3.3.0.Final
[Host Controller] 14:54:53,652 INFO [org.jboss.as] JBAS010902: Creating http management service using network interface (management) port (9990) securePort (-1)
[Host Controller] 14:54:53,684 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.3.0.Final
[Host Controller] 14:54:53,794 INFO [org.jboss.remoting] JBoss Remoting version 4.0.7.Final
[Host Controller] 14:54:53,851 ERROR [org.jboss.msc.service.fail] MSC000001: Failed to start service jboss.remoting.server.management: org.jboss.msc.service.StartException in service jboss.remoting.server.management: JBAS017113: Failed to start service
[Host Controller] at org.jboss.as.remoting.AbstractStreamServerService.start(AbstractStreamServerService.java:112) [wildfly-remoting-8.2.0.Final.jar:8.2.0.Final]
[Host Controller] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
[Host Controller] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
[Host Controller] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_99]
[Host Controller] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_99]
[Host Controller] at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_99]
[Host Controller] Caused by: java.net.SocketException: Protocol family unavailable
[Host Controller] at sun.nio.ch.Net.bind0(Native Method) [rt.jar:1.7.0_99]
[Host Controller] at sun.nio.ch.Net.bind(Net.java:463) [rt.jar:1.7.0_99]
[Host Controller] at sun.nio.ch.Net.bind(Net.java:455) [rt.jar:1.7.0_99]
[Host Controller] at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) [rt.jar:1.7.0_99]
[Host Controller] at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) [rt.jar:1.7.0_99]
[Host Controller] at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:67) [rt.jar:1.7.0_99]
[Host Controller] at org.xnio.nio.NioXnioWorker.createTcpConnectionServer(NioXnioWorker.java:182)
[Host Controller] at org.xnio.XnioWorker.createStreamConnectionServer(XnioWorker.java:243) [xnio-api-3.3.0.Final.jar:3.3.0.Final]
[Host Controller] at org.xnio.XnioWorker.createStreamServer(XnioWorker.java:145) [xnio-api-3.3.0.Final.jar:3.3.0.Final]
[Host Controller] at org.jboss.remoting3.remote.RemoteConnectionProvider$ProviderInterface.createServer(RemoteConnectionProvider.java:309) [jboss-remoting-4.0.7.Final.jar:4.0.7.Final]
[Host Controller] at org.jboss.as.remoting.AbstractStreamServerService.start(AbstractStreamServerService.java:102) [wildfly-remoting-8.2.0.Final.jar:8.2.0.Final]
[Host Controller] ... 5 more
[Host Controller]
[Host Controller] 14:54:53,868 ERROR [org.jboss.as.controller.management-operation] JBAS014613: Operation ("add") failed - address: ([
[Host Controller] ("host" => "HOST1"),
[Host Controller] ("core-service" => "management"),
[Host Controller] ("management-interface" => "native-interface")
[Host Controller] ]) - failure description: {"JBAS014671: Failed services" => {"jboss.remoting.server.management" => "org.jboss.msc.service.StartException in service jboss.remoting.server.management: JBAS017113: Failed to start service
[Host Controller] Caused by: java.net.SocketException: Protocol family unavailable"}}
[Host Controller] 14:54:53,916 INFO [org.jboss.as.controller] JBAS014774: Service status report
[Host Controller] JBAS014775: New missing/unsatisfied dependencies:
[Host Controller] service jboss.remoting.endpoint.management (missing) dependents: [service jboss.jmx.remoting-connector-ref, service jboss.remoting.management.channel.registry]
[Host Controller] JBAS014777: Services which failed to start: service jboss.remoting.server.management
[Host Controller]
[Host Controller] 14:54:53,920 FATAL [org.jboss.as.host.controller] JBAS010933: Host Controller boot has failed in an unrecoverable manner; exiting. See previous messages for details.
[Host Controller] 14:54:53,989 INFO [org.jboss.as] JBAS015950: WildFly 8.2.0.Final "Tweek" stopped in 9ms
14:54:54,352 INFO [org.jboss.as.process.Host Controller.status] JBAS012010: Process 'Host Controller' finished with an exit status of 99
14:54:54,356 INFO [org.jboss.as.process] JBAS012016: Shutting down process controller
14:54:54,357 INFO [org.jboss.as.process] JBAS012015: All processes finished; exiting

1 REPLY
New Member

I figured it out

I figured it out

Updated host.xml (/opt/app/workload/CiscoPrimeServiceCatalog/wildfly-8.2.0.Final/domain/configuration/host.xml)

and hostva_backup.xml (/opt/app/workload/CiscoPrimeServiceCatalog/wildfly-8.2.0.Final/domain/configuration/hostva_backup.xml)

to this and Issue Resolved

<interface name="management">
<any-ipv4-address/>
</interface>
<interface name="public">
<any-ipv4-address/>
</interface>
<interface name="unsecure">

404
Views
0
Helpful
1
Replies
CreatePlease to create content