Docker can't open '/tmp/init-log'

235 views
Skip to first unread message

himan pishnamaz

unread,
Jun 8, 2023, 10:57:15 AM6/8/23
to ArangoDB
Hi,

I am trying to run Arangodb on my vm useing docker but I am geeting bellow error?

root@eve-lab:~# docker run -p 8529:8529 -e ARANGO_ROOT_PASSWORD=test1 --name=adb arangodb
Initializing root user...Hang on...
Initializing database...Hang on...
Illegal instruction (core dumped)
ArangoDB didn't start correctly during init
cat: can't open '/tmp/init-log': No such file or directory

I am using latest image.

Has anyone had same problem before?
Do you have any solutions to fix this problem please?

Thansk
Himan

Wilfried Gösgens

unread,
Jun 10, 2023, 7:59:07 AM6/10/23
to ArangoDB
`Illegal instruction` points to that you are using a machine that doesn't offer all instructions the binary requires.
This may be happening if you i.e. choose on an ARM-mac to run the x86 docker container instead the native ARM one which demands some instructions that Rosetta doesn't implement.
So, whats your host CPU? (/proc/cpuinfo)
Cheers,
Willi

himan pishnamaz

unread,
Jun 11, 2023, 12:43:21 PM6/11/23
to aran...@googlegroups.com
Hi Willi,

thanks for responding, as I mentioned I am using virtual machine, below is the VM information,
cpuinfo model name      : QEMU Virtual CPU version 2.5+
uname -a --> (venv) root@eve-lab:~/neo4j# uname -a
Linux test 5.15.0-71-generic #78-Ubuntu SMP Tue Apr 18 09:00:29 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Thanks
Himan


--
You received this message because you are subscribed to a topic in the Google Groups "ArangoDB" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/arangodb/Ux3zSwVRAUY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to arangodb+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/arangodb/c3a1c1fa-996e-4f52-a3b8-510e78c934a8n%40googlegroups.com.

Wilfried Gösgens

unread,
Jun 13, 2023, 10:18:07 AM6/13/23
to ArangoDB
the relevant information is in `/proc/cpuinfo`. You need to make sure to support avx2 in the flags.
Reply all
Reply to author
Forward
0 new messages