You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by "Del Checcolo, Christopher" <Ch...@noblis.org> on 2014/04/23 00:52:01 UTC

CouchDB won't start on Fedora 19 with systemctl

My colleague and I just installed couchdb-1.5.0-1.fc19.x86_64 on Fedora 19 and we are unable to start couchdb using systemctl. We are able to start using /usr/bin/couchdb.

Running 'systemctl start couchdb' followed by 'systemctl status couchdb' results in the following output

[root@localhost yum.repos.d]# systemctl status couchdb
couchdb.service - CouchDB Server
   Loaded: loaded (/usr/lib/systemd/system/couchdb.service; disabled)
   Active: failed (Result: start-limit) since Tue 2014-04-22 18:44:25 EDT; 3s ago
  Process: 10551 ExecStart=/usr/bin/erl +Bd -noinput -sasl errlog_type error +K true +A 4 -couch_ini /etc/couchdb/default.ini /etc/couchdb/local.ini -s couch -pidfile /var/run/couchdb/couchdb.pid -heart (code=exited, status=1/FAILURE)

Apr 22 18:44:25 uxw-laptop-7.bio.noblis.org systemd[1]: Unit couchdb.service entered failed state.
Apr 22 18:44:25 uxw-laptop-7.bio.noblis.org systemd[1]: couchdb.service holdoff time over, scheduling restart.
Apr 22 18:44:25 uxw-laptop-7.bio.noblis.org systemd[1]: Stopping CouchDB Server...
Apr 22 18:44:25 uxw-laptop-7.bio.noblis.org systemd[1]: Starting CouchDB Server...
Apr 22 18:44:25 uxw-laptop-7.bio.noblis.org systemd[1]: couchdb.service start request repeated too quickly, refusing to start.
Apr 22 18:44:25 uxw-laptop-7.bio.noblis.org systemd[1]: Failed to start CouchDB Server.
Apr 22 18:44:25 uxw-laptop-7.bio.noblis.org systemd[1]: Unit couchdb.service entered failed state.


Has anyone had any luck running couchdb as a service on fedora 19?

Any assistance is greatly appreciated.

Thanks.


Chris.

Re: CouchDB won't start on Fedora 19 with systemctl

Posted by Travis Paul <Tr...@visPaul.me>.
I think you might need to install the openssl-libs package. There is a
Redhat bug filed here: https://bugzilla.redhat.com/show_bug.cgi?id=1023017



On Tue, Apr 22, 2014 at 6:52 PM, Del Checcolo, Christopher <
Christopher.DelCheccolo@noblis.org> wrote:

> My colleague and I just installed couchdb-1.5.0-1.fc19.x86_64 on Fedora 19
> and we are unable to start couchdb using systemctl. We are able to start
> using /usr/bin/couchdb.
>
> Running 'systemctl start couchdb' followed by 'systemctl status couchdb'
> results in the following output
>
> [root@localhost yum.repos.d]# systemctl status couchdb
> couchdb.service - CouchDB Server
>    Loaded: loaded (/usr/lib/systemd/system/couchdb.service; disabled)
>    Active: failed (Result: start-limit) since Tue 2014-04-22 18:44:25 EDT;
> 3s ago
>   Process: 10551 ExecStart=/usr/bin/erl +Bd -noinput -sasl errlog_type
> error +K true +A 4 -couch_ini /etc/couchdb/default.ini
> /etc/couchdb/local.ini -s couch -pidfile /var/run/couchdb/couchdb.pid
> -heart (code=exited, status=1/FAILURE)
>
> Apr 22 18:44:25 uxw-laptop-7.bio.noblis.org systemd[1]: Unit
> couchdb.service entered failed state.
> Apr 22 18:44:25 uxw-laptop-7.bio.noblis.org systemd[1]: couchdb.service
> holdoff time over, scheduling restart.
> Apr 22 18:44:25 uxw-laptop-7.bio.noblis.org systemd[1]: Stopping CouchDB
> Server...
> Apr 22 18:44:25 uxw-laptop-7.bio.noblis.org systemd[1]: Starting CouchDB
> Server...
> Apr 22 18:44:25 uxw-laptop-7.bio.noblis.org systemd[1]: couchdb.service
> start request repeated too quickly, refusing to start.
> Apr 22 18:44:25 uxw-laptop-7.bio.noblis.org systemd[1]: Failed to start
> CouchDB Server.
> Apr 22 18:44:25 uxw-laptop-7.bio.noblis.org systemd[1]: Unit
> couchdb.service entered failed state.
>
>
> Has anyone had any luck running couchdb as a service on fedora 19?
>
> Any assistance is greatly appreciated.
>
> Thanks.
>
>
> Chris.
>

Re: CouchDB won't start on Fedora 19 with systemctl

Posted by Dave Cottlehuber <dc...@jsonified.com>.
------------------------------------------------------
From: Del Checcolo, Christopher christopher.delcheccolo@noblis.org
Reply: user@couchdb.apache.org user@couchdb.apache.org
Date: 24. April 2014 at 07:44:34
To: user@couchdb.apache.org user@couchdb.apache.org
Subject:  Re: CouchDB won't start on Fedora 19 with systemctl

> Thank you very much for the response. I just checked and I do have openssl-libs installed. 

Assuming for the moment this is an erlang-related problem can you try this:

erl -s crypto -noshell -eval 'io:format("~p~n", [crypto:md5(crypto:strong_rand_bytes(1024))]).' -s erlang halt

which should print out a random string resembling << 32,54, 54 … >>

If this *doesn’t* work then erlang’s crypto module is not available / not working, and that will need to be addressed first.

If it does work, then at least couchdb should be starting up. And then I’d expect to see a couch.log somewhere.

Next step then would be to su/sudo to the user account couchdb runs under, cd ~, and then:

couchdb -i

Which starts up couch in interactive mode, and hopefully we’ll be enlightened by the subsequent error messages! If you’re feeling bold look at http://mail-archives.apache.org/mod_mbox/couchdb-user/201205.mbox/%3CCAHZBNKaTcYWctfyY7Z1HoM6RdrWVCSKecW8TE1Np_tdJwVrxaA@mail.gmail.com%3E for the next steps.

A+
Dave




Re: CouchDB won't start on Fedora 19 with systemctl

Posted by "Del Checcolo, Christopher" <Ch...@noblis.org>.
Thank you very much for the response. I just checked and I do have openssl-libs installed.

From: "<Del Checcolo>", Chris Del Checcolo <ch...@noblis.org>>
Date: Tuesday, April 22, 2014 6:51 PM
To: "user@couchdb.apache.org<ma...@couchdb.apache.org>" <us...@couchdb.apache.org>>
Subject: CouchDB won't start on Fedora 19 with systemctl

My colleague and I just installed couchdb-1.5.0-1.fc19.x86_64 on Fedora 19 and we are unable to start couchdb using systemctl. We are able to start using /usr/bin/couchdb.

Running 'systemctl start couchdb' followed by 'systemctl status couchdb' results in the following output

[root@localhost yum.repos.d]# systemctl status couchdb
couchdb.service - CouchDB Server
   Loaded: loaded (/usr/lib/systemd/system/couchdb.service; disabled)
   Active: failed (Result: start-limit) since Tue 2014-04-22 18:44:25 EDT; 3s ago
  Process: 10551 ExecStart=/usr/bin/erl +Bd -noinput -sasl errlog_type error +K true +A 4 -couch_ini /etc/couchdb/default.ini /etc/couchdb/local.ini -s couch -pidfile /var/run/couchdb/couchdb.pid -heart (code=exited, status=1/FAILURE)

Apr 22 18:44:25 uxw-laptop-7.bio.noblis.org systemd[1]: Unit couchdb.service entered failed state.
Apr 22 18:44:25 uxw-laptop-7.bio.noblis.org systemd[1]: couchdb.service holdoff time over, scheduling restart.
Apr 22 18:44:25 uxw-laptop-7.bio.noblis.org systemd[1]: Stopping CouchDB Server...
Apr 22 18:44:25 uxw-laptop-7.bio.noblis.org systemd[1]: Starting CouchDB Server...
Apr 22 18:44:25 uxw-laptop-7.bio.noblis.org systemd[1]: couchdb.service start request repeated too quickly, refusing to start.
Apr 22 18:44:25 uxw-laptop-7.bio.noblis.org systemd[1]: Failed to start CouchDB Server.
Apr 22 18:44:25 uxw-laptop-7.bio.noblis.org systemd[1]: Unit couchdb.service entered failed state.


Has anyone had any luck running couchdb as a service on fedora 19?

Any assistance is greatly appreciated.

Thanks.


Chris.