Problem to start geonetwork on Ubuntu 16.04

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Problem to start geonetwork on Ubuntu 16.04

NicoM
Hello,

I'm trying to install geonetwork on a Linux/Ubuntu 16.04 server but I
have a big problem. I can deploy the webapp on tomcat8 without any
problem but when I try to start it, I get the following error :

2018-12-11 13:43:03,575 WARN
[jeeves.config.springutil.JeevesApplicationContext] - Exception
encountered during context initialization - cancelling refresh attempt:
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.apache.activemq.xbean.XBeanBrokerService#0':
Invocation of init method failed; nested exception is
java.io.IOException: Failed to bind to server socket:
tcp://localhost:61616 due to: java.net.BindException: Adresse déjà
utilisée (Bind failed)
2018-12-11 13:43:03,584 FATAL [jeeves.engine] - Raised exception during
init
2018-12-11 13:43:03,585 FATAL [jeeves.engine] -    Exception :
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.apache.activemq.xbean.XBeanBrokerService#0':
Invocation of init method failed; nested exception is
java.io.IOException: Failed to bind to server socket:
tcp://localhost:61616 due to: java.net.BindException: Adresse déjà
utilisée (Bind failed)
2018-12-11 13:43:03,585 FATAL [jeeves.engine] -    Message   : Error
creating bean with name
'org.apache.activemq.xbean.XBeanBrokerService#0': Invocation of init
method failed; nested exception is java.io.IOException: Failed to bind
to server socket: tcp://localhost:61616 due to: java.net.BindException:
Adresse déjà utilisée (Bind failed)
2018-12-11 13:43:03,588 FATAL [jeeves.engine] -    Stack     :
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.apache.activemq.xbean.XBeanBrokerService#0':
Invocation of init method failed; nested exception is
java.io.IOException: Failed to bind to server socket:
tcp://localhost:61616 due to: java.net.BindException: Adresse déjà
utilisée (Bind failed)

About that kind of problem I already read this :
http://osgeo-org.1560.x6.nabble.com/tcp-localhost-61616-due-to-java-net-BindException-Address-already-in-use-JVM-Bind-td5375333.html 
and this : https://github.com/geonetwork/core-geonetwork/issues/1933

The result of the command "sudo fuser -v -n tcp 61616" is :
61616/tcp: tomcat8    2959 F.... java
But when I try to kill this process it kills tomcat8 !
When I undeploy geonetwork and restart tomcat8, the command fuser return
nothing.
So it seems that tcp://localhost/61616 is really used by the geonetwork
webapp but it keeps saying that this port is used by another process and
refuse to start.
I never had another geonetwork installed on this server before. I tried
to change the config.properties file to work with another port (61617)
but the problem is the same.
Could someone help me please ?

Thanks,
Nicolas



_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork