Skip to content

Instantly share code, notes, and snippets.

@ile
Created April 9, 2017 21:36
Show Gist options
  • Save ile/3a2765c6b99a0889decb1d0d5dff1c0d to your computer and use it in GitHub Desktop.
Save ile/3a2765c6b99a0889decb1d0d5dff1c0d to your computer and use it in GitHub Desktop.
root@pc:/var/log# service arangodb3 restart
Job for arangodb3.service failed because the control process exited with error code. See "systemctl status arangodb3.service" and "journalctl -xe" for details.
root@pc:/var/log# systemctl status arangodb3.service
● arangodb3.service - LSB: arangodb
Loaded: loaded (/etc/init.d/arangodb3; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2017-04-09 17:33:29 EDT; 18s ago
Docs: man:systemd-sysv-generator(8)
Process: 13075 ExecStop=/etc/init.d/arangodb3 stop (code=exited, status=0/SUCCESS)
Process: 13086 ExecStart=/etc/init.d/arangodb3 start (code=exited, status=1/FAILURE)
Tasks: 23
Memory: 469.8M
CPU: 114ms
CGroup: /system.slice/arangodb3.service
└─9328 /usr/sbin/arangod --uid arangodb --gid arangodb --pid-file /var/run/arangodb/arangod.pid --temp.path /var/tmp/arangod --log.foreground-tty false --supervisor
Apr 09 17:33:29 pc systemd[1]: Stopped LSB: arangodb.
Apr 09 17:33:29 pc systemd[1]: Starting LSB: arangodb...
Apr 09 17:33:29 pc arangodb3[13086]: * Starting arango database server arangod
Apr 09 17:33:29 pc arangodb3[13086]: * database version check failed, maybe you need to run 'upgrade'?
Apr 09 17:33:29 pc systemd[1]: arangodb3.service: Control process exited, code=exited status=1
Apr 09 17:33:29 pc systemd[1]: Failed to start LSB: arangodb.
Apr 09 17:33:29 pc systemd[1]: arangodb3.service: Unit entered failed state.
Apr 09 17:33:29 pc systemd[1]: arangodb3.service: Failed with result 'exit-code'.
root@pc:/var/log# service arangodb3 upgrade
* Upgrading arango database server arangod 2017-04-09T21:34:14Z [13132] INFO ArangoDB 3.1.17 [linux] 64bit, using VPack 0.1.30, ICU 54.1, V8 5.0.71.39, OpenSSL 1.0.2g 1 Mar 2016
2017-04-09T21:34:14Z [13132] INFO file-descriptors (nofiles) hard limit is 131072, soft limit is 131072
2017-04-09T21:34:14Z [13132] WARNING fcntl on lockfile '/var/lib/arangodb3/LOCK' failed: not implemented. a possible reason is that the filesystem does not support file-locking
2017-04-09T21:34:14Z [13132] FATAL database is locked, please check the lock file '/var/lib/arangodb3/LOCK'
[fail]
@ile
Copy link
Author

ile commented Apr 9, 2017

root@pc:/var/log# ls -al /var/lib/arangodb3/LOCK
-rw------- 1 arangodb arangodb 4 Apr 9 01:21 /var/lib/arangodb3/LOCK
root@pc:/var/log# cat /var/lib/arangodb3/LOCK
9328root@pc:/var/log#

@ile
Copy link
Author

ile commented Apr 9, 2017

root@pc:/var/log# ls -al /var/run/arangodb/
total 0
drwxr-xr-x 2 arangodb arangodb 40 Apr 9 17:33 .
drwxr-xr-x 25 root root 1060 Apr 9 17:30 ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment