Trouble connecting to biograkn on Ubuntu 16.04.5 LTS


#1

Hi all,

Just reporting some issues trying to connect to biograkn on Ubuntu 16. I think possibly
biograkn was not installed correctly. It was obtained from the binary: grakn-core-1.4.2-biograkn_dn-0.1.zip.

When I try to connect via the python client I get the following error:

Traceback (most recent call last):
File “/home/ggeorge/anaconda3/envs/py36/lib/python3.6/site-packages/grakn/service/Session/TransactionService.py”, line 145, in send
response = next(self._response_iterator)
File “/home/ggeorge/anaconda3/envs/py36/lib/python3.6/site-packages/grpc/_channel.py”, line 363, in next
return self._next()
File “/home/ggeorge/anaconda3/envs/py36/lib/python3.6/site-packages/grpc/_channel.py”, line 357, in _next
raise self
grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with:
status = StatusCode.UNKNOWN
details = “Shutdown in progress. Please check server logs for the stack trace.”
debug_error_string = “{“created”:”@1547547473.306917007",“description”:“Error received from peer”,“file”:“src/core/lib/surface/call.cc”,“file_line”:1036,“grpc_message”:“Shutdown in progress. Please check server logs for the stack trace.”,“grpc_status”:2}"

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “test.py”, line 7, in
with session.transaction(grakn.TxType.READ) as read_transaction:
File “/home/ggeorge/anaconda3/envs/py36/lib/python3.6/site-packages/grakn/init.py”, line 69, in transaction
transaction_service = TransactionService(self.keyspace, tx_type, self.credentials, self._stub.transaction)
File “/home/ggeorge/anaconda3/envs/py36/lib/python3.6/site-packages/grakn/service/Session/TransactionService.py”, line 39, in init
self._communicator.send(open_req)
File “/home/ggeorge/anaconda3/envs/py36/lib/python3.6/site-packages/grakn/service/Session/TransactionService.py”, line 149, in send
raise GraknError(“Server/network error: {0}\n\n generated from request: {1}”.format(e, request))
grakn.exception.GraknError.GraknError: Server/network error: <_Rendezvous of RPC that terminated with:
status = StatusCode.UNKNOWN
details = “Shutdown in progress. Please check server logs for the stack trace.”
debug_error_string = “{“created”:”@1547547473.306917007",“description”:“Error received from peer”,“file”:“src/core/lib/surface/call.cc”,“file_line”:1036,“grpc_message”:“Shutdown in progress. Please check server logs for the stack trace.”,“grpc_status”:2}"

generated from request: open_req {
keyspace: “biograkn_dn”
}

The last 200 lines of grakn.log are the following:

2019-01-14 13:56:47,334 [main] INFO ai.grakn.engine.Server -
2019-01-14 13:56:47,334 [main] INFO ai.grakn.engine.Server - EngineID{value=SEACServer-3f10cfaf-33b7-4361-8f7d-af5b4877ac86} is checking the system schema
2019-01-14 14:51:26,226 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-14 14:51:26,229 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-14 14:51:26,230 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-14 14:51:26,230 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-14 14:51:26,231 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-14 14:51:26,231 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-14 14:51:37,701 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-14 14:51:37,705 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-14 14:51:37,706 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-14 14:51:37,706 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-15 09:48:23,535 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-15 09:48:23,539 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-15 09:48:23,541 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-15 09:48:23,541 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-15 09:48:23,542 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-15 09:48:23,542 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-15 09:57:59,334 [grpc-default-executor-0] ERROR a.g.e.r.SessionService$TransactionListener - Runtime Exception in RPC TransactionListener:
java.lang.IllegalStateException: Shutdown in progress
at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:66)
at java.lang.Runtime.addShutdownHook(Runtime.java:211)
at org.janusgraph.graphdb.database.StandardJanusGraph.(StandardJanusGraph.java:176)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:160)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:131)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:121)
at org.janusgraph.core.JanusGraphFactory$Builder.open(JanusGraphFactory.java:260)
at ai.grakn.factory.TxFactoryJanus.configureGraph(TxFactoryJanus.java:183)
at ai.grakn.factory.TxFactoryJanus.newJanusGraph(TxFactoryJanus.java:139)
at ai.grakn.factory.TxFactoryJanus.buildTinkerPopGraph(TxFactoryJanus.java:135)
at ai.grakn.factory.TxFactoryJanus.getGraphWithNewTransaction(TxFactoryJanus.java:120)
at ai.grakn.factory.TxFactoryJanus.getGraphWithNewTransaction(TxFactoryJanus.java:72)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.getTinkerPopGraph(TxFactoryAbstract.java:123)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.initialiseGraknTx(TxFactoryAbstract.java:115)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.openTx(TxFactoryAbstract.java:104)
at ai.grakn.factory.TxFactoryAbstract.open(TxFactoryAbstract.java:66)
at ai.grakn.factory.EmbeddedGraknSession.transaction(EmbeddedGraknSession.java:133)
at ai.grakn.keyspace.KeyspaceStoreImpl.containsKeyspace(KeyspaceStoreImpl.java:100)
at ai.grakn.engine.factory.EngineGraknTxFactory.tx(EngineGraknTxFactory.java:73)
at ai.grakn.engine.rpc.ServerOpenRequest.open(ServerOpenRequest.java:42)
at ai.grakn.engine.rpc.SessionService$TransactionListener.open(SessionService.java:221)
at ai.grakn.engine.rpc.SessionService$TransactionListener.handleRequest(SessionService.java:136)
at ai.grakn.engine.rpc.SessionService$TransactionListener.lambda$onNext$0(SessionService.java:117)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2019-01-15 09:58:56,024 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-15 09:58:56,027 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-15 09:58:56,029 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-15 09:58:56,029 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-15 10:16:30,372 [grpc-default-executor-1] ERROR a.g.e.r.SessionService$TransactionListener - Runtime Exception in RPC TransactionListener:
java.lang.IllegalStateException: Shutdown in progress
at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:66)
at java.lang.Runtime.addShutdownHook(Runtime.java:211)
at org.janusgraph.graphdb.database.StandardJanusGraph.(StandardJanusGraph.java:176)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:160)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:131)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:121)
at org.janusgraph.core.JanusGraphFactory$Builder.open(JanusGraphFactory.java:260)
at ai.grakn.factory.TxFactoryJanus.configureGraph(TxFactoryJanus.java:183)
at ai.grakn.factory.TxFactoryJanus.newJanusGraph(TxFactoryJanus.java:139)
at ai.grakn.factory.TxFactoryJanus.buildTinkerPopGraph(TxFactoryJanus.java:135)
at ai.grakn.factory.TxFactoryJanus.getGraphWithNewTransaction(TxFactoryJanus.java:120)
at ai.grakn.factory.TxFactoryJanus.getGraphWithNewTransaction(TxFactoryJanus.java:72)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.getTinkerPopGraph(TxFactoryAbstract.java:123)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.initialiseGraknTx(TxFactoryAbstract.java:115)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.openTx(TxFactoryAbstract.java:104)
at ai.grakn.factory.TxFactoryAbstract.open(TxFactoryAbstract.java:66)
at ai.grakn.factory.EmbeddedGraknSession.transaction(EmbeddedGraknSession.java:133)
at ai.grakn.keyspace.KeyspaceStoreImpl.containsKeyspace(KeyspaceStoreImpl.java:100)
at ai.grakn.engine.factory.EngineGraknTxFactory.tx(EngineGraknTxFactory.java:73)
at ai.grakn.engine.rpc.ServerOpenRequest.open(ServerOpenRequest.java:42)
at ai.grakn.engine.rpc.SessionService$TransactionListener.open(SessionService.java:221)
at ai.grakn.engine.rpc.SessionService$TransactionListener.handleRequest(SessionService.java:136)
at ai.grakn.engine.rpc.SessionService$TransactionListener.lambda$onNext$0(SessionService.java:117)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2019-01-15 10:17:35,510 [grpc-default-executor-2] ERROR a.g.e.r.SessionService$TransactionListener - Runtime Exception in RPC TransactionListener:
java.lang.IllegalStateException: Shutdown in progress
at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:66)
at java.lang.Runtime.addShutdownHook(Runtime.java:211)
at org.janusgraph.graphdb.database.StandardJanusGraph.(StandardJanusGraph.java:176)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:160)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:131)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:121)
at org.janusgraph.core.JanusGraphFactory$Builder.open(JanusGraphFactory.java:260)
at ai.grakn.factory.TxFactoryJanus.configureGraph(TxFactoryJanus.java:183)
at ai.grakn.factory.TxFactoryJanus.newJanusGraph(TxFactoryJanus.java:139)
at ai.grakn.factory.TxFactoryJanus.buildTinkerPopGraph(TxFactoryJanus.java:135)
at ai.grakn.factory.TxFactoryJanus.getGraphWithNewTransaction(TxFactoryJanus.java:120)
at ai.grakn.factory.TxFactoryJanus.getGraphWithNewTransaction(TxFactoryJanus.java:72)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.getTinkerPopGraph(TxFactoryAbstract.java:123)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.initialiseGraknTx(TxFactoryAbstract.java:115)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.openTx(TxFactoryAbstract.java:104)
at ai.grakn.factory.TxFactoryAbstract.open(TxFactoryAbstract.java:66)
at ai.grakn.factory.EmbeddedGraknSession.transaction(EmbeddedGraknSession.java:133)
at ai.grakn.keyspace.KeyspaceStoreImpl.containsKeyspace(KeyspaceStoreImpl.java:100)
at ai.grakn.engine.factory.EngineGraknTxFactory.tx(EngineGraknTxFactory.java:73)
at ai.grakn.engine.rpc.ServerOpenRequest.open(ServerOpenRequest.java:42)
at ai.grakn.engine.rpc.SessionService$TransactionListener.open(SessionService.java:221)
at ai.grakn.engine.rpc.SessionService$TransactionListener.handleRequest(SessionService.java:136)
at ai.grakn.engine.rpc.SessionService$TransactionListener.lambda$onNext$0(SessionService.java:117)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2019-01-15 10:17:53,305 [grpc-default-executor-2] ERROR a.g.e.r.SessionService$TransactionListener - Runtime Exception in RPC TransactionListener:
java.lang.IllegalStateException: Shutdown in progress
at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:66)
at java.lang.Runtime.addShutdownHook(Runtime.java:211)
at org.janusgraph.graphdb.database.StandardJanusGraph.(StandardJanusGraph.java:176)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:160)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:131)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:121)
at org.janusgraph.core.JanusGraphFactory$Builder.open(JanusGraphFactory.java:260)
at ai.grakn.factory.TxFactoryJanus.configureGraph(TxFactoryJanus.java:183)
at ai.grakn.factory.TxFactoryJanus.newJanusGraph(TxFactoryJanus.java:139)
at ai.grakn.factory.TxFactoryJanus.buildTinkerPopGraph(TxFactoryJanus.java:135)
at ai.grakn.factory.TxFactoryJanus.getGraphWithNewTransaction(TxFactoryJanus.java:120)
at ai.grakn.factory.TxFactoryJanus.getGraphWithNewTransaction(TxFactoryJanus.java:72)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.getTinkerPopGraph(TxFactoryAbstract.java:123)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.initialiseGraknTx(TxFactoryAbstract.java:115)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.openTx(TxFactoryAbstract.java:104)
at ai.grakn.factory.TxFactoryAbstract.open(TxFactoryAbstract.java:66)
at ai.grakn.factory.EmbeddedGraknSession.transaction(EmbeddedGraknSession.java:133)
at ai.grakn.keyspace.KeyspaceStoreImpl.containsKeyspace(KeyspaceStoreImpl.java:100)
at ai.grakn.engine.factory.EngineGraknTxFactory.tx(EngineGraknTxFactory.java:73)
at ai.grakn.engine.rpc.ServerOpenRequest.open(ServerOpenRequest.java:42)
at ai.grakn.engine.rpc.SessionService$TransactionListener.open(SessionService.java:221)
at ai.grakn.engine.rpc.SessionService$TransactionListener.handleRequest(SessionService.java:136)
at ai.grakn.engine.rpc.SessionService$TransactionListener.lambda$onNext$0(SessionService.java:117)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

Many thanks,
George


#2

Can you post the output of the following:

$ grakn server status

and

$ jps

?


#3

Sure Ganesh.

grakn server status:

  ________  _____     _______  __    __  __    __      _______  _______  _____     _______
 |   __   ||   _  \  |   _   ||  |  /  /|  \  |  |    |   _   ||   _   ||   _  \  |   ____|
 |  |  |__||  | |  | |  | |  ||  | /  / |   \ |  |    |  | |__||  | |  ||  | |  | |  |
 |  | ____ |  |_| /  |  |_|  ||  |/  /  |    \|  |    |  |     |  | |  ||  |_| /  |  |____
 |  ||_   ||   _  \  |   _   ||   _  \  |   _    |    |  |  __ |  | |  ||   _  \  |   ____|
 |  |__|  ||  | \  \ |  | |  ||  | \  \ |  | \   |    |  |_|  ||  |_|  ||  | \  \ |  |____
 |________||__|  \__\|__| |__||__|  \__\|__|  \__|    |_______||_______||__|  \__\|_______|

                                     THE KNOWLEDGE GRAPH

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

Storage: RUNNING
Engine: RUNNING

and jps:
8832 AdminCLI
33542 GraknCassandra
36566 MatrixStore-web-1.2.6.jar
3688 JobExecutor
4106 Grakn
29579 Jps
35611 AdminCLI
37198 JobExecutor
4910 StartServer

Thanks,
George


#4

The excerpt from grakn.log below indicates that it’s in the middle of shutting down. Did you do grakn server stop?

It would be helpful if you post the steps in order to help us reproduce the issue.

Best regards,

Ganesh


#5

Hi Ganesh,

I have tried to shut it down once but it stalls and never finishes even after overnight.

I just manually killed the database with kill -9.
Now I tried to use, grakn server start
with the following output:


      ________  _____     _______  __    __  __    __      _______  _______  _____     _______
     |   __   ||   _  \  |   _   ||  |  /  /|  \  |  |    |   _   ||   _   ||   _  \  |   ____|
     |  |  |__||  | |  | |  | |  ||  | /  / |   \ |  |    |  | |__||  | |  ||  | |  | |  |
     |  | ____ |  |_| /  |  |_|  ||  |/  /  |    \|  |    |  |     |  | |  ||  |_| /  |  |____
     |  ||_   ||   _  \  |   _   ||   _  \  |   _    |    |  |  __ |  | |  ||   _  \  |   ____|
     |  |__|  ||  | \  \ |  | |  ||  | \  \ |  | \   |    |  |_|  ||  |_|  ||  | \  \ |  |____
     |________||__|  \__\|__| |__||__|  \__\|__|  \__|    |_______||_______||__|  \__\|_______|

                                         THE KNOWLEDGE GRAPH


Storage is already running
Starting Engine....................................................................................................................................................FAILED!
Unable to start Engine.

Contents of grakn.log after my attempt to start it at 16:17 :

2019-01-15 16:17:56,078 [main] INFO  ai.grakn.engine.GraknConfig - Project directory in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-15 16:17:56,081 [main] INFO  ai.grakn.engine.GraknConfig - Configuration file in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-15 16:17:56,083 [main] INFO  ai.grakn.engine.GraknConfig - Project directory in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-15 16:17:56,083 [main] INFO  ai.grakn.engine.GraknConfig - Configuration file in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-15 16:17:56,084 [main] INFO  ai.grakn.engine.GraknConfig - Project directory in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-15 16:17:56,084 [main] INFO  ai.grakn.engine.GraknConfig - Configuration file in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-15 16:17:57,320 [main] WARN  a.g.engine.bootup.EnginePidManager - Pid file already exists: '[/tmp/grakn-engine.pid]'. Overwriting...
2019-01-15 16:17:57,358 [main] INFO  ai.grakn.engine.GraknConfig - Project directory in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-15 16:17:57,360 [main] INFO  ai.grakn.engine.GraknConfig - Configuration file in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-15 16:17:57,605 [main] INFO  ai.grakn.engine.Server -
==================================================
2019-01-15 16:17:57,606 [main] INFO  ai.grakn.engine.Server -
====================================================================================================
      ________  _____     _______  __    __  __    __      _______  _______  _____     _______
     |   __   ||   _  \  |   _   ||  |  /  /|  \  |  |    |   _   ||   _   ||   _  \  |   ____|
     |  |  |__||  | |  | |  | |  ||  | /  / |   \ |  |    |  | |__||  | |  ||  | |  | |  |
     |  | ____ |  |_| /  |  |_|  ||  |/  /  |    \|  |    |  |     |  | |  ||  |_| /  |  |____
     |  ||_   ||   _  \  |   _   ||   _  \  |   _    |    |  |  __ |  | |  ||   _  \  |   ____|
     |  |__|  ||  | \  \ |  | |  ||  | \  \ |  | \   |    |  |_|  ||  |_|  ||  | \  \ |  |____
     |________||__|  \__\|__| |__||__|  \__\|__|  \__|    |_______||_______||__|  \__\|_______|

                                         THE KNOWLEDGE GRAPH
====================================================================================================
2019-01-15 16:17:57,606 [main] INFO  ai.grakn.engine.Server -
==================================================
2019-01-15 16:17:57,607 [main] INFO  ai.grakn.engine.Server - EngineID{value=SEACServer-735ebdbe-ff88-4aea-9aec-d46894d70879} is checking the system schema

Thanks,
George


#6

Looks like you did not kill everything - you need to kill two processes, GraknCassandra and Grakn:

$ jps
...
33542 GraknCassandra
4106 Grakn

#7

Thanks again,
I now deleted both processes.

$ sudo jps
8832 AdminCLI
34609 Jps
36566 MatrixStore-web-1.2.6.jar
3688 JobExecutor
35611 AdminCLI
37198 JobExecutor
4910 StartServer

then Ran: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1$ sudo ./grakn server start

====================================================================================================
________ _____ _______ __ __ __ __ _______ _______ _____ _______
| __ || _ \ | _ || | / /| \ | | | _ || _ || _ \ | |
| | ||| | | | | | | || | / / | \ | | | | ||| | | || | | | | |
| | ____ | |
| / | |
| || |/ / | | | | | | | | || |
| / | |
___
| ||_ || _ \ | _ || _ \ | _ | | | __ | | | || _ \ | |
| |__| || | \ \ | | | || | \ \ | | \ | | |
| || |
| || | \ \ | |
__
|||| __|| |||| _|__| _| |||||__| _|______|

                                     THE KNOWLEDGE GRAPH

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

Starting Storage…SUCCESS
Starting Engine…FAILED!
Unable to start Engine.

$ sudo jps
8832 AdminCLI
36357 Jps
36566 MatrixStore-web-1.2.6.jar
3688 JobExecutor
35611 AdminCLI
37198 JobExecutor
35278 Grakn
4910 StartServer

Do, I need to also kill StartServer process?

Thanks,
George


#8

StartServer is not a Grakn process. Grakn only has two processes - Grakn and GraknCassandra.

Ok, so Engine failed to start. Can you now post the log from logs/grakn.log?

Also, is there a specific reason to start Grakn with sudo? Starting Grakn without sudo is the recommended way: ./grakn server start


#9

I am not running the database on my local user directory but I can try it on my local then. That’s why
I use sudo.

The last 200 lines of the log are as follows:

logs/grakn.log <

2019-01-16 14:05:36,109 [main] INFO ai.grakn.engine.Server -
2019-01-16 14:05:36,110 [main] INFO ai.grakn.engine.Server - EngineID{value=SEACServer-aa29b48a-e6b4-43b6-9dd7-5c5aa95a7ad6} is checking the system schema
ggeorge@SEACServer:/home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1$ tail -200 logs/grakn.log
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.getTinkerPopGraph(TxFactoryAbstract.java:123)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.initialiseGraknTx(TxFactoryAbstract.java:115)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.openTx(TxFactoryAbstract.java:104)
at ai.grakn.factory.TxFactoryAbstract.open(TxFactoryAbstract.java:66)
at ai.grakn.factory.EmbeddedGraknSession.transaction(EmbeddedGraknSession.java:133)
at ai.grakn.keyspace.KeyspaceStoreImpl.containsKeyspace(KeyspaceStoreImpl.java:100)
at ai.grakn.engine.factory.EngineGraknTxFactory.tx(EngineGraknTxFactory.java:73)
at ai.grakn.engine.rpc.ServerOpenRequest.open(ServerOpenRequest.java:42)
at ai.grakn.engine.rpc.SessionService$TransactionListener.open(SessionService.java:221)
at ai.grakn.engine.rpc.SessionService$TransactionListener.handleRequest(SessionService.java:136)
at ai.grakn.engine.rpc.SessionService$TransactionListener.lambda$onNext$0(SessionService.java:117)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2019-01-15 09:58:56,024 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-15 09:58:56,027 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-15 09:58:56,029 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-15 09:58:56,029 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-15 10:16:30,372 [grpc-default-executor-1] ERROR a.g.e.r.SessionService$TransactionListener - Runtime Exception in RPC TransactionListener:
java.lang.IllegalStateException: Shutdown in progress
at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:66)
at java.lang.Runtime.addShutdownHook(Runtime.java:211)
at org.janusgraph.graphdb.database.StandardJanusGraph.(StandardJanusGraph.java:176)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:160)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:131)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:121)
at org.janusgraph.core.JanusGraphFactory$Builder.open(JanusGraphFactory.java:260)
at ai.grakn.factory.TxFactoryJanus.configureGraph(TxFactoryJanus.java:183)
at ai.grakn.factory.TxFactoryJanus.newJanusGraph(TxFactoryJanus.java:139)
at ai.grakn.factory.TxFactoryJanus.buildTinkerPopGraph(TxFactoryJanus.java:135)
at ai.grakn.factory.TxFactoryJanus.getGraphWithNewTransaction(TxFactoryJanus.java:120)
at ai.grakn.factory.TxFactoryJanus.getGraphWithNewTransaction(TxFactoryJanus.java:72)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.getTinkerPopGraph(TxFactoryAbstract.java:123)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.initialiseGraknTx(TxFactoryAbstract.java:115)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.openTx(TxFactoryAbstract.java:104)
at ai.grakn.factory.TxFactoryAbstract.open(TxFactoryAbstract.java:66)
at ai.grakn.factory.EmbeddedGraknSession.transaction(EmbeddedGraknSession.java:133)
at ai.grakn.keyspace.KeyspaceStoreImpl.containsKeyspace(KeyspaceStoreImpl.java:100)
at ai.grakn.engine.factory.EngineGraknTxFactory.tx(EngineGraknTxFactory.java:73)
at ai.grakn.engine.rpc.ServerOpenRequest.open(ServerOpenRequest.java:42)
at ai.grakn.engine.rpc.SessionService$TransactionListener.open(SessionService.java:221)
at ai.grakn.engine.rpc.SessionService$TransactionListener.handleRequest(SessionService.java:136)
at ai.grakn.engine.rpc.SessionService$TransactionListener.lambda$onNext$0(SessionService.java:117)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2019-01-15 10:17:35,510 [grpc-default-executor-2] ERROR a.g.e.r.SessionService$TransactionListener - Runtime Exception in RPC TransactionListener:
java.lang.IllegalStateException: Shutdown in progress
at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:66)
at java.lang.Runtime.addShutdownHook(Runtime.java:211)
at org.janusgraph.graphdb.database.StandardJanusGraph.(StandardJanusGraph.java:176)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:160)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:131)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:121)
at org.janusgraph.core.JanusGraphFactory$Builder.open(JanusGraphFactory.java:260)
at ai.grakn.factory.TxFactoryJanus.configureGraph(TxFactoryJanus.java:183)
at ai.grakn.factory.TxFactoryJanus.newJanusGraph(TxFactoryJanus.java:139)
at ai.grakn.factory.TxFactoryJanus.buildTinkerPopGraph(TxFactoryJanus.java:135)
at ai.grakn.factory.TxFactoryJanus.getGraphWithNewTransaction(TxFactoryJanus.java:120)
at ai.grakn.factory.TxFactoryJanus.getGraphWithNewTransaction(TxFactoryJanus.java:72)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.getTinkerPopGraph(TxFactoryAbstract.java:123)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.initialiseGraknTx(TxFactoryAbstract.java:115)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.openTx(TxFactoryAbstract.java:104)
at ai.grakn.factory.TxFactoryAbstract.open(TxFactoryAbstract.java:66)
at ai.grakn.factory.EmbeddedGraknSession.transaction(EmbeddedGraknSession.java:133)
at ai.grakn.keyspace.KeyspaceStoreImpl.containsKeyspace(KeyspaceStoreImpl.java:100)
at ai.grakn.engine.factory.EngineGraknTxFactory.tx(EngineGraknTxFactory.java:73)
at ai.grakn.engine.rpc.ServerOpenRequest.open(ServerOpenRequest.java:42)
at ai.grakn.engine.rpc.SessionService$TransactionListener.open(SessionService.java:221)
at ai.grakn.engine.rpc.SessionService$TransactionListener.handleRequest(SessionService.java:136)
at ai.grakn.engine.rpc.SessionService$TransactionListener.lambda$onNext$0(SessionService.java:117)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2019-01-15 10:17:53,305 [grpc-default-executor-2] ERROR a.g.e.r.SessionService$TransactionListener - Runtime Exception in RPC TransactionListener:
java.lang.IllegalStateException: Shutdown in progress
at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:66)
at java.lang.Runtime.addShutdownHook(Runtime.java:211)
at org.janusgraph.graphdb.database.StandardJanusGraph.(StandardJanusGraph.java:176)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:160)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:131)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:121)
at org.janusgraph.core.JanusGraphFactory$Builder.open(JanusGraphFactory.java:260)
at ai.grakn.factory.TxFactoryJanus.configureGraph(TxFactoryJanus.java:183)
at ai.grakn.factory.TxFactoryJanus.newJanusGraph(TxFactoryJanus.java:139)
at ai.grakn.factory.TxFactoryJanus.buildTinkerPopGraph(TxFactoryJanus.java:135)
at ai.grakn.factory.TxFactoryJanus.getGraphWithNewTransaction(TxFactoryJanus.java:120)
at ai.grakn.factory.TxFactoryJanus.getGraphWithNewTransaction(TxFactoryJanus.java:72)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.getTinkerPopGraph(TxFactoryAbstract.java:123)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.initialiseGraknTx(TxFactoryAbstract.java:115)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.openTx(TxFactoryAbstract.java:104)
at ai.grakn.factory.TxFactoryAbstract.open(TxFactoryAbstract.java:66)
at ai.grakn.factory.EmbeddedGraknSession.transaction(EmbeddedGraknSession.java:133)
at ai.grakn.keyspace.KeyspaceStoreImpl.containsKeyspace(KeyspaceStoreImpl.java:100)
at ai.grakn.engine.factory.EngineGraknTxFactory.tx(EngineGraknTxFactory.java:73)
at ai.grakn.engine.rpc.ServerOpenRequest.open(ServerOpenRequest.java:42)
at ai.grakn.engine.rpc.SessionService$TransactionListener.open(SessionService.java:221)
at ai.grakn.engine.rpc.SessionService$TransactionListener.handleRequest(SessionService.java:136)
at ai.grakn.engine.rpc.SessionService$TransactionListener.lambda$onNext$0(SessionService.java:117)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2019-01-15 11:19:41,553 [grpc-default-executor-3] ERROR a.g.e.r.SessionService$TransactionListener - Runtime Exception in RPC TransactionListener:
java.lang.IllegalStateException: Shutdown in progress
at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:66)
at java.lang.Runtime.addShutdownHook(Runtime.java:211)
at org.janusgraph.graphdb.database.StandardJanusGraph.(StandardJanusGraph.java:176)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:160)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:131)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:121)
at org.janusgraph.core.JanusGraphFactory$Builder.open(JanusGraphFactory.java:260)
at ai.grakn.factory.TxFactoryJanus.configureGraph(TxFactoryJanus.java:183)
at ai.grakn.factory.TxFactoryJanus.newJanusGraph(TxFactoryJanus.java:139)
at ai.grakn.factory.TxFactoryJanus.buildTinkerPopGraph(TxFactoryJanus.java:135)
at ai.grakn.factory.TxFactoryJanus.getGraphWithNewTransaction(TxFactoryJanus.java:120)
at ai.grakn.factory.TxFactoryJanus.getGraphWithNewTransaction(TxFactoryJanus.java:72)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.getTinkerPopGraph(TxFactoryAbstract.java:123)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.initialiseGraknTx(TxFactoryAbstract.java:115)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.openTx(TxFactoryAbstract.java:104)
at ai.grakn.factory.TxFactoryAbstract.open(TxFactoryAbstract.java:66)
at ai.grakn.factory.EmbeddedGraknSession.transaction(EmbeddedGraknSession.java:133)
at ai.grakn.keyspace.KeyspaceStoreImpl.containsKeyspace(KeyspaceStoreImpl.java:100)
at ai.grakn.engine.factory.EngineGraknTxFactory.tx(EngineGraknTxFactory.java:73)
at ai.grakn.engine.rpc.ServerOpenRequest.open(ServerOpenRequest.java:42)
at ai.grakn.engine.rpc.SessionService$TransactionListener.open(SessionService.java:221)
at ai.grakn.engine.rpc.SessionService$TransactionListener.handleRequest(SessionService.java:136)
at ai.grakn.engine.rpc.SessionService$TransactionListener.lambda$onNext$0(SessionService.java:117)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2019-01-15 14:33:44,435 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-15 14:33:44,438 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-15 14:33:44,439 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-15 14:33:44,440 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-15 16:13:29,805 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-15 16:13:29,809 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-15 16:13:29,810 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-15 16:13:29,810 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-15 16:17:56,078 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-15 16:17:56,081 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-15 16:17:56,083 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-15 16:17:56,083 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-15 16:17:56,084 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-15 16:17:56,084 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-15 16:17:57,320 [main] WARN a.g.engine.bootup.EnginePidManager - Pid file already exists: ‘[/tmp/grakn-engine.pid]’. Overwriting…
2019-01-15 16:17:57,358 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-15 16:17:57,360 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-15 16:17:57,605 [main] INFO ai.grakn.engine.Server -
2019-01-15 16:17:57,606 [main] INFO ai.grakn.engine.Server -

2019-01-15 16:17:57,606 [main] INFO ai.grakn.engine.Server -

2019-01-15 16:17:57,607 [main] INFO ai.grakn.engine.Server - EngineID{value=SEACServer-735ebdbe-ff88-4aea-9aec-d46894d70879} is checking the system schema
2019-01-16 14:05:24,607 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-16 14:05:24,610 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-16 14:05:24,612 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-16 14:05:24,612 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-16 14:05:24,613 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-16 14:05:24,613 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-16 14:05:35,826 [main] WARN a.g.engine.bootup.EnginePidManager - Pid file already exists: ‘[/tmp/grakn-engine.pid]’. Overwriting…
2019-01-16 14:05:35,854 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-16 14:05:35,856 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-16 14:05:36,108 [main] INFO ai.grakn.engine.Server -

2019-01-16 14:05:36,109 [main] INFO ai.grakn.engine.Server -

2019-01-16 14:05:36,109 [main] INFO ai.grakn.engine.Server -

2019-01-16 14:05:36,110 [main] INFO ai.grakn.engine.Server - EngineID{value=SEACServer-aa29b48a-e6b4-43b6-9dd7-5c5aa95a7ad6} is checking the system schema


#10

Hi,

I am trying it on my local now.

Starting Storage…SUCCESS
Engine is already running

I tried running the console but it fails:
(py36) ggeorge@SEACServer:~/grakn-core-1.4.2-biograkn_dn-0.1$ ./graql console
UNKNOWN: Shutdown in progress. Please check server logs for the stack trace.
(py36) ggeorge@SEACServer:~/grakn-core-1.4.2-biograkn_dn-0.1$ tail logs/grakn.log
2019-01-16 14:05:36,109 [main] INFO ai.grakn.engine.Server -
2019-01-16 14:05:36,110 [main] INFO ai.grakn.engine.Server - EngineID{value=SEACServer-aa29b48a-e6b4-43b6-9dd7-5c5aa95a7ad6} is checking the system schema
2019-01-17 11:50:37,640 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/ggeorge/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-17 11:50:37,644 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/ggeorge/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-17 11:50:37,646 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/ggeorge/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-17 11:50:37,646 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/ggeorge/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-17 11:50:37,647 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/ggeorge/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-17 11:50:37,647 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/ggeorge/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties

Not sure what’s happening.

Thanks,
George


#11

It says 'Engine is already running, is this not the first time you started it on your local machine?

I would suggest killing Grakn and GraknCassandra using kill -9 so we arrive at a clean slate where we then proceed step by step, in order for us to troubleshoot more effectively.


#12

Hi @ggeorge, welcome to the community!

I see that you’re running into some problems and that Ganesh is helping you get started on BioGrakn.

To have a better experience in using Disucss, I’d like to share this page with you: Markdown help. It explains how to write your posts for better readability. I hope you’ll find it useful in this thread and your future posts :slight_smile:

We all feel very strongly about the applications of Grakn in Bioinformatics and hope that you’ll find BioGrakn of use and inspiration. Excited to hear your feedback once you get your hands on it (you can always reach us on community slack).


#13

Hi,

I did kill them both, grakn, grakncassandra, prior to using the command:
./grakn server start.

This is what happens when I do it again. and you can see how I killed the process.

$ jps
9506 Jps
8910 GraknCassandra
$ kill -9 8910
$ ./grakn server start

Starting Storage…SUCCESS
Engine is already running
$ ./graql console
UNKNOWN: Shutdown in progress. Please check server logs for the stack trace.

$ tail logs/grakn.log
2019-01-18 09:26:57,400 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/ggeorge/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-18 09:26:57,400 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/ggeorge/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-18 09:26:57,401 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/ggeorge/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-18 09:26:57,402 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/ggeorge/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-18 09:28:57,164 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/ggeorge/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-18 09:28:57,167 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/ggeorge/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-18 09:28:57,169 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/ggeorge/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-18 09:28:57,169 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/ggeorge/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-18 09:28:57,170 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/ggeorge/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-18 09:28:57,170 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/ggeorge/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
ggeorge@SEACServer:~/grakn-core-1.4.2-biograkn_dn-0.1$ tail -200 logs/grakn.log
2019-01-15 09:58:56,029 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1
2019-01-15 09:58:56,029 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/data/bio_grakn/grakn-core-1.4.2-biograkn_dn-0.1/conf/grakn.properties
2019-01-15 10:16:30,372 [grpc-default-executor-1] ERROR a.g.e.r.SessionService$TransactionListener - Runtime Exception in RPC TransactionListener:
java.lang.IllegalStateException: Shutdown in progress
at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:66)
at java.lang.Runtime.addShutdownHook(Runtime.java:211)
at org.janusgraph.graphdb.database.StandardJanusGraph.(StandardJanusGraph.java:176)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:160)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:131)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:121)
at org.janusgraph.core.JanusGraphFactory$Builder.open(JanusGraphFactory.java:260)
at ai.grakn.factory.TxFactoryJanus.configureGraph(TxFactoryJanus.java:183)
at ai.grakn.factory.TxFactoryJanus.newJanusGraph(TxFactoryJanus.java:139)
at ai.grakn.factory.TxFactoryJanus.buildTinkerPopGraph(TxFactoryJanus.java:135)
at ai.grakn.factory.TxFactoryJanus.getGraphWithNewTransaction(TxFactoryJanus.java:120)
at ai.grakn.factory.TxFactoryJanus.getGraphWithNewTransaction(TxFactoryJanus.java:72)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.getTinkerPopGraph(TxFactoryAbstract.java:123)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.initialiseGraknTx(TxFactoryAbstract.java:115)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.openTx(TxFactoryAbstract.java:104)
at ai.grakn.factory.TxFactoryAbstract.open(TxFactoryAbstract.java:66)
at ai.grakn.factory.EmbeddedGraknSession.transaction(EmbeddedGraknSession.java:133)
at ai.grakn.keyspace.KeyspaceStoreImpl.containsKeyspace(KeyspaceStoreImpl.java:100)
at ai.grakn.engine.factory.EngineGraknTxFactory.tx(EngineGraknTxFactory.java:73)
at ai.grakn.engine.rpc.ServerOpenRequest.open(ServerOpenRequest.java:42)
at ai.grakn.engine.rpc.SessionService$TransactionListener.open(SessionService.java:221)
at ai.grakn.engine.rpc.SessionService$TransactionListener.handleRequest(SessionService.java:136)
at ai.grakn.engine.rpc.SessionService$TransactionListener.lambda$onNext$0(SessionService.java:117)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2019-01-15 10:17:35,510 [grpc-default-executor-2] ERROR a.g.e.r.SessionService$TransactionListener - Runtime Exception in RPC TransactionListener:
java.lang.IllegalStateException: Shutdown in progress
at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:66)
at java.lang.Runtime.addShutdownHook(Runtime.java:211)
at org.janusgraph.graphdb.database.StandardJanusGraph.(StandardJanusGraph.java:176)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:160)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:131)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:121)
at org.janusgraph.core.JanusGraphFactory$Builder.open(JanusGraphFactory.java:260)
at ai.grakn.factory.TxFactoryJanus.configureGraph(TxFactoryJanus.java:183)
at ai.grakn.factory.TxFactoryJanus.newJanusGraph(TxFactoryJanus.java:139)
at ai.grakn.factory.TxFactoryJanus.buildTinkerPopGraph(TxFactoryJanus.java:135)
at ai.grakn.factory.TxFactoryJanus.getGraphWithNewTransaction(TxFactoryJanus.java:120)
at ai.grakn.factory.TxFactoryJanus.getGraphWithNewTransaction(TxFactoryJanus.java:72)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.getTinkerPopGraph(TxFactoryAbstract.java:123)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.initialiseGraknTx(TxFactoryAbstract.java:115)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.openTx(TxFactoryAbstract.java:104)
at ai.grakn.factory.TxFactoryAbstract.open(TxFactoryAbstract.java:66)
at ai.grakn.factory.EmbeddedGraknSession.transaction(EmbeddedGraknSession.java:133)
at ai.grakn.keyspace.KeyspaceStoreImpl.containsKeyspace(KeyspaceStoreImpl.java:100)
at ai.grakn.engine.factory.EngineGraknTxFactory.tx(EngineGraknTxFactory.java:73)
at ai.grakn.engine.rpc.ServerOpenRequest.open(ServerOpenRequest.java:42)
at ai.grakn.engine.rpc.SessionService$TransactionListener.open(SessionService.java:221)
at ai.grakn.engine.rpc.SessionService$TransactionListener.handleRequest(SessionService.java:136)
at ai.grakn.engine.rpc.SessionService$TransactionListener.lambda$onNext$0(SessionService.java:117)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2019-01-15 10:17:53,305 [grpc-default-executor-2] ERROR a.g.e.r.SessionService$TransactionListener - Runtime Exception in RPC TransactionListener:
java.lang.IllegalStateException: Shutdown in progress
at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:66)
at java.lang.Runtime.addShutdownHook(Runtime.java:211)
at org.janusgraph.graphdb.database.StandardJanusGraph.(StandardJanusGraph.java:176)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:160)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:131)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:121)
at org.janusgraph.core.JanusGraphFactory$Builder.open(JanusGraphFactory.java:260)
at ai.grakn.factory.TxFactoryJanus.configureGraph(TxFactoryJanus.java:183)
at ai.grakn.factory.TxFactoryJanus.newJanusGraph(TxFactoryJanus.java:139)
at ai.grakn.factory.TxFactoryJanus.buildTinkerPopGraph(TxFactoryJanus.java:135)
at ai.grakn.factory.TxFactoryJanus.getGraphWithNewTransaction(TxFactoryJanus.java:120)
at ai.grakn.factory.TxFactoryJanus.getGraphWithNewTransaction(TxFactoryJanus.java:72)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.getTinkerPopGraph(TxFactoryAbstract.java:123)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.initialiseGraknTx(TxFactoryAbstract.java:115)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.openTx(TxFactoryAbstract.java:104)
at ai.grakn.factory.TxFactoryAbstract.open(TxFactoryAbstract.java:66)
at ai.grakn.factory.EmbeddedGraknSession.transaction(EmbeddedGraknSession.java:133)
at ai.grakn.keyspace.KeyspaceStoreImpl.containsKeyspace(KeyspaceStoreImpl.java:100)
at ai.grakn.engine.factory.EngineGraknTxFactory.tx(EngineGraknTxFactory.java:73)
at ai.grakn.engine.rpc.ServerOpenRequest.open(ServerOpenRequest.java:42)
at ai.grakn.engine.rpc.SessionService$TransactionListener.open(SessionService.java:221)
at ai.grakn.engine.rpc.SessionService$TransactionListener.handleRequest(SessionService.java:136)
at ai.grakn.engine.rpc.SessionService$TransactionListener.lambda$onNext$0(SessionService.java:117)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2019-01-15 11:19:41,553 [grpc-default-executor-3] ERROR a.g.e.r.SessionService$TransactionListener - Runtime Exception in RPC TransactionListener:
java.lang.IllegalStateException: Shutdown in progress
at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:66)
at java.lang.Runtime.addShutdownHook(Runtime.java:211)
at org.janusgraph.graphdb.database.StandardJanusGraph.(StandardJanusGraph.java:176)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:160)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:131)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:121)
at org.janusgraph.core.JanusGraphFactory$Builder.open(JanusGraphFactory.java:260)
at ai.grakn.factory.TxFactoryJanus.configureGraph(TxFactoryJanus.java:183)
at ai.grakn.factory.TxFactoryJanus.newJanusGraph(TxFactoryJanus.java:139)
at ai.grakn.factory.TxFactoryJanus.buildTinkerPopGraph(TxFactoryJanus.java:135)
at ai.grakn.factory.TxFactoryJanus.getGraphWithNewTransaction(TxFactoryJanus.java:120)
at ai.grakn.factory.TxFactoryJanus.getGraphWithNewTransaction(TxFactoryJanus.java:72)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.getTinkerPopGraph(TxFactoryAbstract.java:123)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.initialiseGraknTx(TxFactoryAbstract.java:115)
at ai.grakn.factory.TxFactoryAbstract$GraphWithTx.openTx(TxFactoryAbstract.java:104)
at ai.grakn.factory.TxFactoryAbstract.open(TxFactoryAbstract.java:66)
at ai.grakn.factory.EmbeddedGraknSession.transaction(EmbeddedGraknSession.java:133)
at ai.grakn.keyspace.KeyspaceStoreImpl.containsKeyspace(KeyspaceStoreImpl.java:100)
at ai.grakn.engine.factory.EngineGraknTxFactory.tx(EngineGraknTxFactory.java:73)
at ai.grakn.engine.rpc.ServerOpenRequest.open(ServerOpenRequest.java:42)
at ai.grakn.engine.rpc.SessionService$TransactionListener.open(SessionService.java:221)
at ai.grakn.engine.rpc.SessionService$TransactionListener.handleRequest(SessionService.java:136)
at ai.grakn.engine.rpc.SessionService$TransactionListener.lambda$onNext$0(SessionService.java:117)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

The graql console does not work on my system.
If you know where to proceed based on errors in the relevant log it would be helpful.
If you give me an email I can send you the whole log as well if you like.

Thanks,
George


#14

Thanks, I was just writing a quick reply, which is why the formatting was poor.


#15

So from your last comment:

  • You killed Grakn but as you are starting a new one it says “Engine is already running”
  • A few lines from the grakn.log indicates that it is currently trying to shut down:
 ERROR a.g.e.r.SessionService$TransactionListener - Runtime Exception in RPC TransactionListener:
java.lang.IllegalStateException: Shutdown in progress

Am I making the correct observation here?


#16

Hi Ganesh,

Yes that is right, not sure what’s running with the linux setup.
I have gotten everything working on my windows laptop just fine… now.

I am now just trying with a clean grakn-core-1.4.3 not the biograkn version.

This is what I have for jps now.

$ jps
2931 Jps

$ ./grakn server start

Starting Storage…SUCCESS
Engine is already running

$ ./graql

Exception in thread “main” java.lang.IllegalArgumentException: 1 > 0
at java.util.Arrays.copyOfRange(Arrays.java:3480)
at java.util.Arrays.copyOfRange(Arrays.java:3441)
at ai.grakn.engine.bootup.Graql.main(Graql.java:55)

$ ./graql console

UNKNOWN: Shutdown in progress. Please check server logs for the stack trace.

$ more logs/grakn.log

2019-01-18 10:16:07,902 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/ggeorge/grakn-core-1.4.3
2019-01-18 10:16:07,905 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/ggeorge/grakn-core-1.4.3/conf/grakn.properties
2019-01-18 10:16:07,908 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/ggeorge/grakn-core-1.4.3
2019-01-18 10:16:07,908 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/ggeorge/grakn-core-1.4.3/conf/grakn.properties
2019-01-18 10:16:07,909 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/ggeorge/grakn-core-1.4.3
2019-01-18 10:16:07,910 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/ggeorge/grakn-core-1.4.3/conf/grakn.properties
2019-01-21 10:26:02,522 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/ggeorge/grakn-core-1.4.3
2019-01-21 10:26:02,526 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/ggeorge/grakn-core-1.4.3/conf/grakn.properties
2019-01-21 10:26:02,528 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/ggeorge/grakn-core-1.4.3
2019-01-21 10:26:02,529 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/ggeorge/grakn-core-1.4.3/conf/grakn.properties
2019-01-21 10:26:02,530 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/ggeorge/grakn-core-1.4.3
2019-01-21 10:26:02,530 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/ggeorge/grakn-core-1.4.3/conf/grakn.properties
2019-01-21 10:27:00,613 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/ggeorge/grakn-core-1.4.3
2019-01-21 10:27:00,616 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/ggeorge/grakn-core-1.4.3/conf/grakn.properties
2019-01-21 10:27:00,619 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/ggeorge/grakn-core-1.4.3
2019-01-21 10:27:00,619 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/ggeorge/grakn-core-1.4.3/conf/grakn.properties
2019-01-21 10:29:37,388 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/ggeorge/grakn-core-1.4.3
2019-01-21 10:29:37,391 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/ggeorge/grakn-core-1.4.3/conf/grakn.properties
2019-01-21 10:29:37,393 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/ggeorge/grakn-core-1.4.3
2019-01-21 10:29:37,393 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/ggeorge/grakn-core-1.4.3/conf/grakn.properties
2019-01-21 10:32:40,736 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/ggeorge/grakn-core-1.4.3
2019-01-21 10:32:40,740 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/ggeorge/grakn-core-1.4.3/conf/grakn.properties
2019-01-21 10:32:40,743 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/ggeorge/grakn-core-1.4.3
2019-01-21 10:32:40,743 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/ggeorge/grakn-core-1.4.3/conf/grakn.properties
2019-01-21 10:33:07,115 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/ggeorge/grakn-core-1.4.3
2019-01-21 10:33:07,118 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/ggeorge/grakn-core-1.4.3/conf/grakn.properties
2019-01-21 10:33:07,121 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/ggeorge/grakn-core-1.4.3
2019-01-21 10:33:07,121 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/ggeorge/grakn-core-1.4.3/conf/grakn.properties
2019-01-21 10:33:07,122 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/ggeorge/grakn-core-1.4.3
2019-01-21 10:33:07,122 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/ggeorge/grakn-core-1.4.3/conf/grakn.properties
2019-01-22 10:01:18,335 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/ggeorge/grakn-core-1.4.3
2019-01-22 10:01:18,338 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/ggeorge/grakn-core-1.4.3/conf/grakn.properties
2019-01-22 10:01:18,341 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/ggeorge/grakn-core-1.4.3
2019-01-22 10:01:18,341 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/ggeorge/grakn-core-1.4.3/conf/grakn.properties
2019-01-22 10:01:18,342 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/ggeorge/grakn-core-1.4.3
2019-01-22 10:01:18,342 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/ggeorge/grakn-core-1.4.3/conf/grakn.properties

Thanks for the help,
George


#17

Starting Grakn and immediately getting an “Engine is already running” definitely sounds like there’s another existing Grakn process which you can’t see possibly because it’s running as a different user (eg., root).

Can you:

  1. kill Grakn again (both Grakn and GraknCassandra).
  2. Do jps and paste the output. This command will allow us to verify whether there’s a Grakn instance running under your user.
  3. Do sudo jps and paste the output. This command will verify whether there’s a Grakn instance running under the root user. If my hunch is correct, you’ll see another instance of Grakn which we didn’t see.