Hi All,
I am not able start data server .not seeing any errors also., Does any one faced similar issue?
0 [main] INFO com.appian.data.TopologyFactory - Loading topology /apps/appian/data-server/conf/appian-topology.xml282 [main] INFO com.appian.data.server.config.CustomPropertiesConfiguration - Configuration file custom.properties does not exist. Default settings will be used.298 [main] INFO com.appian.data.server.Watchdog - Creating directory '/apps/appian/data-server/data'302 [main] INFO com.appian.data.server.Watchdog - Checking permissions on directory '/apps/appian/data-server/data'302 [main] INFO com.appian.data.server.Watchdog - Creating directory '/apps/appian/data-server/node'302 [main] INFO com.appian.data.server.Watchdog - Checking permissions on directory '/apps/appian/data-server/node'302 [main] INFO com.appian.data.server.Watchdog - Creating directory '/apps/appian/data-server/../logs/data-server'302 [main] INFO com.appian.data.server.Watchdog - Checking permissions on directory '/apps/appian/data-server/../logs/data-server'302 [main] INFO com.appian.data.server.Watchdog - Creating directory '/apps/appian/data-server/../logs/data-metrics'302 [main] INFO com.appian.data.server.Watchdog - Checking permissions on directory '/apps/appian/data-server/../logs/data-metrics'305 [main] INFO com.appian.data.server.Watchdog - Initializing log4j (processName=watchdog, logsDir=/apps/appian/data-server/../logs/data-server) from /apps/appian/data-server/conf/log4j.properties{"level":"INFO","time":"2019-06-29T10:56:00.299Z","logger":"watchdog","caller":"Watchdog.java:1099","thread":"main","msg":"Starting Data Server in the background"}{"level":"INFO","time":"2019-06-29T10:56:00.302Z","logger":"watchdog","caller":"JvmStarter.java:41","thread":"main","msg":"Starting JVM process: Config{class=com.appian.data.server.Watchdog, hostAndPort=localhost:5400, args=[-f]}"}
Thanks,
Sushma
Discussion posts and replies are publicly visible
Hi Sushma,
It seems that data-server folder is not configured properly.check if custom.properties file exists in data-server /conf folder. Also ensure if appian-topology.xml file is copied from <APPIAN_HOME>/conf/ into <APPIAN_HOME>/data-server/conf/ before starting the data server.
appian-topology.xml
<APPIAN_HOME>/conf/
<APPIAN_HOME>/data-server/conf/
Hope it helps!!
After enabling debug in log4j..
I could see below logs at watchdog.log.
{"level":"DEBUG","time":"2019-06-29T18:09:23.075Z","logger":"watchdog","caller":"ClientCnxn.java:745","thread":"main-SendThread(localhost:2181)","msg":"Got ping response for sessionid: 0x10004d63cc5000d after 0ms"}
{"level":"DEBUG","time":"2019-06-29T18:09:28.992Z","logger":"watchdog","caller":"StatusHandler.java:58","thread":"vert.x-eventloop-thread-0","msg":"Failed to fetch the status from localhost:5401"}
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:5401
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:347)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:340)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:627)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:551)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:465)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:437)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:873)
at java.lang.Thread.run(Thread.java:748)
{"level":"DEBUG","time":"2019-06-29T18:09:28.993Z","logger":"watchdog","caller":"StatusHandler.java:58","thread":"vert.x-eventloop-thread-2","msg":"Failed to fetch the status from localhost:5404"}
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:5404
{"level":"DEBUG","time":"2019-06-29T18:09:28.997Z","logger":"watchdog","caller":"StatusHandler.java:58","thread":"vert.x-eventloop-thread-1","msg":"Failed to fetch the status from localhost:5450"}
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:5450
{"level":"DEBUG","time":"2019-06-29T18:09:33.083Z","logger":"watchdog","caller":"ClientCnxn.java:745","thread":"main-SendThread(localhost:2181)","msg":"Got ping response for sessionid: 0x10004d63cc5000d after 0ms"}
{"level":"DEBUG","time":"2019-06-29T18:09:38.993Z","logger":"watchdog","caller":"StatusHandler.java:58","thread":"vert.x-eventloop-thread-2","msg":"Failed to fetch the status from localhost:5404"}
{"level":"DEBUG","time":"2019-06-29T18:09:38.993Z","logger":"watchdog","caller":"StatusHandler.java:58","thread":"vert.x-eventloop-thread-1","msg":"Failed to fetch the status from localhost:5450"}
Errors are similar to KB articles
https://community.appian.com/support/w/kb/1383/kb-1890-data-server-does-not-start-with-could-not-establish-websocket-connection-with-host_5f00_and_5f00_post
but i don't see any restrictions at VM level for these ports . [5401, 5404 ,5450]
if any restrictions how does other ports 5403 5405 5400 are started. which is used by Data server.
Any clue to resolve these issue VM.
sushma
I simply redid the installation and it solved my issue.
I did the reinstall, but it did not resolved my issue.
is this issue resolved ?