You are not logged in.

#1 2016-11-17 16:14:40

Dun
Member
Registered: 2014-12-28
Posts: 98

CouchDB service fails to start

My couchdb.service stopped working. I know it was running two days ago, but now I simply can't start the service. All I did was upgrading my packages recently.
I can't even stop the service.

I don't know else where to search for a clue. Could somebody help me?

#( 17.11.16@17:13 )( dun@Arch64L ):~ systemctl stop couchdb.service  
#( 17.11.16@17:13 )( dun@Arch64L ):~ systemctl status couchdb.service  
● couchdb.service - CouchDB Server
   Loaded: loaded (/usr/lib/systemd/system/couchdb.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Do 2016-11-17 17:12:41 CET; 58s ago
  Process: 19729 ExecStart=/usr/lib/couchdb/bin/couchdb (code=exited, status=127)
 Main PID: 19729 (code=exited, status=127)

Nov 17 17:12:41 Arch64L systemd[1]: Started CouchDB Server.
Nov 17 17:12:41 Arch64L systemd[1]: couchdb.service: Main process exited, code=exited, status=127/n/a
Nov 17 17:12:41 Arch64L systemd[1]: couchdb.service: Unit entered failed state.
Nov 17 17:12:41 Arch64L systemd[1]: couchdb.service: Failed with result 'exit-code'.

Offline

#2 2016-11-18 12:29:59

hnsn
Member
Registered: 2013-02-19
Posts: 4

Re: CouchDB service fails to start

Hi!
Temporary solution which worked for me:

/usr/lib/couchdb

sudo rm erts-8.1
sudo ln -s /usr/lib/erts-8.1.1 erts-8.1

sudo systemctl restart couchdb.service
sudo systemctl status couchdb.service

Hope this helps!

Last edited by hnsn (2016-11-19 09:08:57)

Offline

#3 2016-11-18 13:49:41

Dun
Member
Registered: 2014-12-28
Posts: 98

Re: CouchDB service fails to start

Thank you very much for the help! I changed it a little bit, so it could run on my system.

cd /usr/lib/couchdb

sudo rm erts-8.1
sudo ln -s /usr/lib/erlang/erts-8.1.1 erts-8.1

systemctl restart couchdb.service

#( 18.11.16@14:49 )( dun@Arch64L ):~ systemctl status couchdb.service 
● couchdb.service - CouchDB Server
   Loaded: loaded (/usr/lib/systemd/system/couchdb.service; enabled; vendor preset: disabled)
   Active: active (running) since Fr 2016-11-18 14:38:43 CET; 10min ago

Is this a problem with the current release? There are no issues in the CouchDB-Github project and the Apache site only confuses me, so I don't know where to look for this problem.

But I don't understand your second fix. Could you please explain it a little bit more to me?

Offline

#4 2016-11-18 18:24:21

loqs
Member
Registered: 2014-03-06
Posts: 18,787

Re: CouchDB service fails to start

Have either of you filed this as a packaging issue against the couchdb package on the arch bugtracker?

Offline

#5 2016-11-19 09:14:07

hnsn
Member
Registered: 2013-02-19
Posts: 4

Re: CouchDB service fails to start

i have now, see https://bugs.archlinux.org/task/51883

Dun, check out the report to a clarification for the "second fix" that was mentioned earlier

Last edited by hnsn (2016-11-19 09:17:52)

Offline

Board footer

Powered by FluxBB