Be sure to report any Grakn boot up issues!


#1

We’ve seen several issues popped up on our discussion channel with regard to Grakn boot up.

While we are working on improving the stability, it would be great if anyone experiencing such issues to create a topic here.

Please ensure that you include the following details:

  1. Grakn version
  2. Your operating system
  3. Whether it is Grakn distribution that you download, installed from brew, or Docker
  4. The step which you did
  5. The current state of Grakn, by running these commands:
  • ls -la /tmp/*.pid
  • ps -ef | grep redis-server
  • jps (if this command is installed on the system. usually is, when you are on Oracle JDK)
  1. The logs. If they’re quite long, maybe try only posting the last 200 lines of each
  • tail -n 200 $GRAKN_HOME/logs/cassandra.log
  • tail -n 200 $GRAKN_HOME/logs/grakn.log
  • tail -n 200 /tmp/grakn-queue.log

Starting Queue........FAILED! [all success on another two computer]
Starting Grakn… FAILED
Grakn server status error after changing default Visualiser port [0.18.0][RESOLVED]
#2

#6

Hi Samuel,

Can you create your own topic for this issue?

In the new topic, please also include the following information:

cat ./conf/grakn.properties| grep server.host
and

cat ./conf/grakn.properties| grep server.port

Thanks!


#7

oops. I will not be able to add more information… I have reinstalled everything :frowning: I will create a new topic with what I have.


#8

UPDATE: My issue was solved. The cause was a wrong JAVA_HOME environment variable.

  1. Grakn version

1.0

  1. Your operating system

Ubuntu 16.04 LTS

Whether it is Grakn distribution that you download, installed from brew, or Docker

Download from grakn.ai

The step which you did

  • download 1.0
  • unzip
  • cd into folder
  • ./grakn server start

Grakn responded:

> tomen@viech-ubuntu:~/Applications/grakn-dist-1.0.0$ ./grakn server start
> =============================================================================
>       ________  _____     _______  __    __  __    __      _______  ___
>      |   __   ||   _  \  |   _   ||  |  /  /|  \  |  |    |   _   ||   |
>      |  |  |__||  | |  | |  | |  ||  | /  / |   \ |  |    |  | |  ||   |
>      |  | ____ |  |_| /  |  |_|  ||  |/  /  |    \|  |    |  |_|  ||   |
>      |  ||_   ||   _  \  |   _   ||   _  \  |   _    |    |   _   ||   |
>      |  |__|  ||  | \  \ |  | |  ||  | \  \ |  | \   | __ |  | |  ||   |
>      |________||__|  \__\|__| |__||__|  \__\|__|  \__||__||__| |__||___|
> 
>                           Grakn: The Database For AI
> =============================================================================
> 
> Starting Storage...FAILED!
> Unable to start Storage
> Please run 'grakn server status' or check the logs located under 'logs' directory.

The current state of Grakn, by running these commands:

tomen@viech-ubuntu:~/Applications/grakn-dist-1.0.0$ ls -la /tmp/*.pid
ls: cannot access '/tmp/*.pid': No such file or directory
tomen@viech-ubuntu:~/Applications/grakn-dist-1.0.0$ ps -ef | grep redis-server
tomen     4597  3894  0 19:32 pts/2    00:00:00 grep --color=auto redis-server
tomen@viech-ubuntu:~/Applications/grakn-dist-1.0.0$ jps
4600 sun.tools.jps.Jps

The logs. If they’re quite long, maybe try only posting the last 200 lines of each

The commands were off, because they assume $GRAKN_HOME, which is not defined as per the installation instructions. I fixed them.

logs/cassandra.log does not exist.

logs/grakn.log shows:

2018-02-04 19:23:42,259 [main] INFO  ai.grakn.engine.GraknConfig - Project directory in use: /home/tomen/Applications/grakn-dist-1.0.0
2018-02-04 19:23:42,266 [main] INFO  ai.grakn.engine.GraknConfig - Configuration file in use: /home/tomen/Applications/grakn-dist-1.0.0/conf/grakn.properties

/tmp/grakn-queue.log does not exist.


#9

Grakn Version: 1.0

OS: Arch Linux (4.14.16-1-MANJARO)

GRAKN Distribution: 1.0 release downloaded from https://grakn.ai/download/latest

Steps: ./grakn server start

Output:
Starting Storage........................FAILED! Unable to start Storage Please run 'grakn server status' or check the logs located under 'logs' directory.

State:
-rw-r–r-- 1 user user 5 8 feb 14:02 /tmp/grakn-storage.pid
user 14551 1714 0 14:05 pts/0 00:00:00 grep --color redis-server
14745 Jps

grakn.log:
2018-02-08 13:43:41,656 [main] INFO ai.grakn.engine.GraknConfig - Project directory in use: /home/user/grakn 2018-02-08 13:43:41,660 [main] INFO ai.grakn.engine.GraknConfig - Configuration file in use: /home/user/grakn/conf/grakn.properties

Other logs do not exist

JAVA_HOME is set to: /usr/lib/jvm/java-8-openjdk

Any ideas what may be the cause? I used Beta builds of GRAKN on the same environment some months ago with no problems.

Thanks.


not able to start grakn on unix
Grakn server startup issue after update to 1.2.0