Hello, sorry if my language is bad.
can everyone help me please with the error service carbonio-ws-collaboration
i have been follow installation documentation carbonio-ce and not error found when installation
i run command /opt/zextras/common/bin/java -Djava.net.preferIPv4Stack=true -jar /usr/bin/carbonio/ws-collaboration/carbonio-ws-collaboration.jar
and this is result
05-03-2024 05:02:59.150 INFO c.z.c.c.c.logging.ChatsLogger : Consul config loaded
05-03-2024 05:02:59.226 INFO c.z.hikari.HikariDataSource : ws-collaboration-db-pool - Starting...
05-03-2024 05:02:59.625 INFO c.z.hikari.pool.HikariPool : ws-collaboration-db-pool - Added connection org.postgresql.jdbc.PgConnection@2ff95fc6
05-03-2024 05:02:59.628 INFO c.z.hikari.HikariDataSource : ws-collaboration-db-pool - Start completed.
05-03-2024 05:02:59.867 INFO io.ebean : ebean version: 12.12.3
05-03-2024 05:02:59.945 INFO io.avaje.config : Loaded properties from []
05-03-2024 05:02:59.999 WARN io.ebean.core : DataSource [db] has autoCommit defaulting to true!
05-03-2024 05:03:00.334 INFO io.ebean.core : Started database[db] platform[POSTGRES] in 377ms
05-03-2024 05:03:00.419 INFO o.f.c.i.l.VersionPrinter : Flyway Community Edition 8.0.5 by Redgate
05-03-2024 05:03:00.420 INFO o.f.c.i.d.b.BaseDatabaseType : Database: jdbc:postgresql://127.78.0.4:20003/carbonio-ws-collaboration-db (PostgreSQL 12.18)
05-03-2024 05:03:00.474 INFO o.f.c.i.command.DbValidate : Successfully validated 5 migrations (execution time 00:00.029s)
05-03-2024 05:03:00.490 INFO o.f.c.i.command.DbMigrate : Current version of schema "chats": 1.0.3
05-03-2024 05:03:00.492 INFO o.f.c.i.command.DbMigrate : Schema "chats" is up to date. No migration necessary.
05-03-2024 05:03:00.776 INFO o.eclipse.jetty.server.Server : jetty-10.0.6; built: 2021-06-29T15:28:56.259Z; git: 37e7731b4b142a882d73974ff3bec78d621bd674; jvm 17.0.8+7
Exception in thread "main" java.io.IOException: Failed to bind to /127.78.0.4:10000
at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:341)
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:302)
at org.eclipse.jetty.server.Server.lambda$doStart$0(Server.java:401)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
at org.eclipse.jetty.server.Server.doStart(Server.java:397)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
at com.zextras.carbonio.chats.boot.Boot.boot(Boot.java:97)
at com.zextras.carbonio.chats.boot.Chats.main(Chats.java:29)
Caused by: java.net.BindException: Address already in use
at java.base/sun.nio.ch.Net.bind0(Native Method)
at java.base/sun.nio.ch.Net.bind(Net.java:555)
at java.base/sun.nio.ch.ServerSocketChannelImpl.netBind(ServerSocketChannelImpl.java:337)
at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:294)
at java.base/sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:89)
at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:336)
... 16 more
@rndabd
Hi,
Sorry to hear about your trouble.
Is this is fresh installation or upgradation?
Also, what OS you are using?
Regards,
Sharif
fresh installation and OS using ubuntu 20.04
thanks.
Randi