You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "xpeng@ucalgary.ca" <xp...@ucalgary.ca> on 2012/06/22 00:49:43 UTC

RHEL6 couchdb1.2 startup failed

Hi,
I built couchdb1.2 from source on RHEL6 because the available couchDB
version from RHEL6 is old (1.0.xx).

I installed all the latest version of pre-requisites: erlang, curl,
spidermonkey, icu

./configure, make and make install --> all passed
service start couched --> NO error message, it shows "Starting database
server couched"

ps -ef shows couched is running, but it never binds to 5984.

service stop couched never stops couchdb either.

Banged my head against the wall whole day today.

Help please.
Peter

--
View this message in context: http://couchdb-development.1959287.n2.nabble.com/RHEL6-couchdb1-2-startup-failed-tp7580473.html
Sent from the CouchDB Development mailing list archive at Nabble.com.

Re: RHEL6 couchdb1.2 startup failed

Posted by "xpeng@ucalgary.ca" <xp...@ucalgary.ca>.
Thanks Daniel.
No, it outputs "connect lost". I think it never starts up correctly.

but there is no error message …..



On 2012-06-22, at 3:11 AM, Daniel L [via CouchDB Development] wrote:

By default it binds to 127.0.0.1, can you go into terminal on that server and try

curl http://127.0.0.1:5984<http://127.0.0.1:5984/>


Thanks.
Daniel

On 22/06/2012, at 8:49 AM, [hidden email]<x-msg://13/user/SendEmail.jtp?type=node&node=7580475&i=0> wrote:

> Hi,
> I built couchdb1.2 from source on RHEL6 because the available couchDB
> version from RHEL6 is old (1.0.xx).
>
> I installed all the latest version of pre-requisites: erlang, curl,
> spidermonkey, icu
>
> ./configure, make and make install --> all passed
> service start couched --> NO error message, it shows "Starting database
> server couched"
>
> ps -ef shows couched is running, but it never binds to 5984.
>
> service stop couched never stops couchdb either.
>
> Banged my head against the wall whole day today.
>
> Help please.
> Peter
>
> --
> View this message in context: http://couchdb-development.1959287.n2.nabble.com/RHEL6-couchdb1-2-startup-failed-tp7580473.html
> Sent from the CouchDB Development mailing list archive at Nabble.com<http://Nabble.com>.



________________________________
If you reply to this email, your message will be added to the discussion below:
http://couchdb-development.1959287.n2.nabble.com/RHEL6-couchdb1-2-startup-failed-tp7580473p7580475.html
To unsubscribe from RHEL6 couchdb1.2 startup failed, click here<http://couchdb-development.1959287.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7580473&code=eHBlbmdAdWNhbGdhcnkuY2F8NzU4MDQ3M3wtODYwNjU5Njc2>.
NAML<http://couchdb-development.1959287.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>



--
View this message in context: http://couchdb-development.1959287.n2.nabble.com/RHEL6-couchdb1-2-startup-failed-tp7580473p7580477.html
Sent from the CouchDB Development mailing list archive at Nabble.com.

Re: RHEL6 couchdb1.2 startup failed

Posted by "xpeng@ucalgary.ca" <xp...@ucalgary.ca>.
On RHEL 6, to install latest version Couchdb 1.2,  from source, there are too many dependencies to be installed first.
I tried github you mentioned, but stuck when installing rubygem-rake, which requires ruby and ruby gems (???), I am lost here ….
==

rpm -ivh rubygem-rake-0.8.7-2.1.el6.noarch.rpm
warning: rubygem-rake-0.8.7-2.1.el6.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY
error: Failed dependencies:
ruby(rubygems) is needed by rubygem-rake-0.8.7-2.1.el6.noarch

==




On 2012-06-22, at 11:03 AM, Wendall Cada [via CouchDB Development] wrote:

Both of these projects work with RHEL6:
https://github.com/wendall911/couchdb-rpm
https://github.com/iriscouch/build-couchdb

The couchdb-rpm I've not personally tested on RHEL6, but have received
feedback from users that it does work. build-couchdb is a good way to go
as well. You can look at the srpm for what is required to make a working
install, or similar methods in build-couchdb.

Wendall

On 06/22/2012 09:56 AM, till wrote:

> Not an expert on Redhat/CentOS or any of these flavors, but:
> http://rpmfind.net/linux/rpm2html/search.php?query=libicui18n.so.49
>
> Maybe that gets you started!
>
>
> On Friday, June 22, 2012 at 5:24 PM, [hidden email]<x-msg://128/user/SendEmail.jtp?type=node&node=7580487&i=0> wrote:
>
>> Thanks. Till.
>> Get this error when starting from the binary, but I have downloaded and install ICU from http://site.icu-project.org/
>>
>> Any idea where to get libicui18n.so.49 for RHEL 6?
>>
>> Thanks
>>
>>
>> ==
>> [root@data ~]# /usr/local//bin/couchdb
>> Apache CouchDB 1.3.0a-1352329 (LogLevel=info) is starting.
>>
>> =CRASH REPORT==== 22-Jun-2012::09:09:57 ===
>> crasher:
>> initial call: couch_drv:init/1
>> pid:<0.84.0>
>> registered_name: []
>> exception exit: "libicui18n.so.49: cannot open shared object file: No such file or directory"
>> in function gen_server:init_it/6 (gen_server.erl, line 320)
>> ancestors: [couch_primary_services,couch_server_sup,<0.31.0>]
>> messages: []
>> links: [<0.83.0>]
>> dictionary: []
>> trap_exit: false
>> status: running
>> heap_size: 610
>> stack_size: 24
>> reductions: 142
>> neighbours:
>> s
>>
>> On 2012-06-22, at 9:04 AM, till [via CouchDB Development] wrote:
>>
>> If it's not the host it might be that what you think is CouchDB running, is really heart trying to (re)start it.
>>
>> The start script just calls another wrapper which in itself just tries to start CouchDB and reports that. It doesn't actually report if the launch procedure completes.
>>
>> I'd enable stderr and stdout logging – on Ubuntu, that is in /etc/default/couchdb – not sure where that is on Redhat. But these files usually give you a good idea on where it's stuck.
>>
>> I'm guessing a source install usually puts it in /usr/local/etc/default/couchdb.
>>
>> Till
>>
>>
>> On Friday, June 22, 2012 at 11:10 AM, Daniel L wrote:
>>
>>> By default it binds to 127.0.0.1, can you go into terminal on that server and try
>>>
>>> curl http://127.0.0.1:5984<http://127.0.0.1:5984/><http://127.0.0.1:5984/>
>>>
>>>
>>> Thanks.
>>> Daniel
>>>
>>> On 22/06/2012, at 8:49 AM, [hidden email]<x-msg://36/user/SendEmail.jtp?type=node&node=7580480&i=0>  (mailto:[hidden email]<x-msg://36/user/SendEmail.jtp?type=node&node=7580480&i=1>) wrote:
>>>
>>>> Hi,
>>>> I built couchdb1.2 from source on RHEL6 because the available couchDB
>>>> version from RHEL6 is old (1.0.xx).
>>>>
>>>> I installed all the latest version of pre-requisites: erlang, curl,
>>>> spidermonkey, icu
>>>>
>>>> ./configure, make and make install -->  all passed
>>>> service start couched -->  NO error message, it shows "Starting database
>>>> server couched"
>>>>
>>>> ps -ef shows couched is running, but it never binds to 5984.
>>>>
>>>> service stop couched never stops couchdb either.
>>>>
>>>> Banged my head against the wall whole day today.
>>>>
>>>> Help please.
>>>> Peter
>>>>
>>>> --
>>>> View this message in context: http://couchdb-development.1959287.n2.nabble.com/RHEL6-couchdb1-2-startup-failed-tp7580473.html
>>>> Sent from the CouchDB Development mailing list archive at Nabble.com<http://Nabble.com><http://Nabble.com<http://Nabble.com/>>  (http://Nabble.com<http://Nabble.com/><http://Nabble.com/>).
>>>>
>>>
>>>
>>
>>
>>
>>
>>
>> ________________________________
>> If you reply to this email, your message will be added to the discussion below:
>>
>> NAML<<x-msg://128/>http://couchdb-development.1959287.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>>
>>
>> --
>> View this message in context: http://couchdb-development.1959287.n2.nabble.com/RHEL6-couchdb1-2-startup-failed-tp7580473p7580481.html
>> Sent from the CouchDB Development mailing list archive at Nabble.com<http://Nabble.com> (http://Nabble.com<http://Nabble.com/>).
>>
>>
>
>



________________________________
If you reply to this email, your message will be added to the discussion below:
http://couchdb-development.1959287.n2.nabble.com/RHEL6-couchdb1-2-startup-failed-tp7580473p7580487.html
To unsubscribe from RHEL6 couchdb1.2 startup failed, click here<http://couchdb-development.1959287.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7580473&code=eHBlbmdAdWNhbGdhcnkuY2F8NzU4MDQ3M3wtODYwNjU5Njc2>.
NAML<http://couchdb-development.1959287.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>



--
View this message in context: http://couchdb-development.1959287.n2.nabble.com/RHEL6-couchdb1-2-startup-failed-tp7580473p7580489.html
Sent from the CouchDB Development mailing list archive at Nabble.com.

Re: RHEL6 couchdb1.2 startup failed

Posted by Wendall Cada <we...@83864.com>.
Both of these projects work with RHEL6:
https://github.com/wendall911/couchdb-rpm
https://github.com/iriscouch/build-couchdb

The couchdb-rpm I've not personally tested on RHEL6, but have received 
feedback from users that it does work. build-couchdb is a good way to go 
as well. You can look at the srpm for what is required to make a working 
install, or similar methods in build-couchdb.

Wendall

On 06/22/2012 09:56 AM, till wrote:
> Not an expert on Redhat/CentOS or any of these flavors, but:
> http://rpmfind.net/linux/rpm2html/search.php?query=libicui18n.so.49
>
> Maybe that gets you started!
>
>
> On Friday, June 22, 2012 at 5:24 PM, xpeng@ucalgary.ca wrote:
>
>> Thanks. Till.
>> Get this error when starting from the binary, but I have downloaded and install ICU from http://site.icu-project.org/
>>
>> Any idea where to get libicui18n.so.49 for RHEL 6?
>>
>> Thanks
>>
>>
>> ==
>> [root@data ~]# /usr/local//bin/couchdb
>> Apache CouchDB 1.3.0a-1352329 (LogLevel=info) is starting.
>>
>> =CRASH REPORT==== 22-Jun-2012::09:09:57 ===
>> crasher:
>> initial call: couch_drv:init/1
>> pid:<0.84.0>
>> registered_name: []
>> exception exit: "libicui18n.so.49: cannot open shared object file: No such file or directory"
>> in function gen_server:init_it/6 (gen_server.erl, line 320)
>> ancestors: [couch_primary_services,couch_server_sup,<0.31.0>]
>> messages: []
>> links: [<0.83.0>]
>> dictionary: []
>> trap_exit: false
>> status: running
>> heap_size: 610
>> stack_size: 24
>> reductions: 142
>> neighbours:
>> s
>>
>> On 2012-06-22, at 9:04 AM, till [via CouchDB Development] wrote:
>>
>> If it's not the host it might be that what you think is CouchDB running, is really heart trying to (re)start it.
>>
>> The start script just calls another wrapper which in itself just tries to start CouchDB and reports that. It doesn't actually report if the launch procedure completes.
>>
>> I'd enable stderr and stdout logging – on Ubuntu, that is in /etc/default/couchdb – not sure where that is on Redhat. But these files usually give you a good idea on where it's stuck.
>>
>> I'm guessing a source install usually puts it in /usr/local/etc/default/couchdb.
>>
>> Till
>>
>>
>> On Friday, June 22, 2012 at 11:10 AM, Daniel L wrote:
>>
>>> By default it binds to 127.0.0.1, can you go into terminal on that server and try
>>>
>>> curl http://127.0.0.1:5984<http://127.0.0.1:5984/>
>>>
>>>
>>> Thanks.
>>> Daniel
>>>
>>> On 22/06/2012, at 8:49 AM, [hidden email]<x-msg://36/user/SendEmail.jtp?type=node&node=7580480&i=0>  (mailto:[hidden email]<x-msg://36/user/SendEmail.jtp?type=node&node=7580480&i=1>) wrote:
>>>
>>>> Hi,
>>>> I built couchdb1.2 from source on RHEL6 because the available couchDB
>>>> version from RHEL6 is old (1.0.xx).
>>>>
>>>> I installed all the latest version of pre-requisites: erlang, curl,
>>>> spidermonkey, icu
>>>>
>>>> ./configure, make and make install -->  all passed
>>>> service start couched -->  NO error message, it shows "Starting database
>>>> server couched"
>>>>
>>>> ps -ef shows couched is running, but it never binds to 5984.
>>>>
>>>> service stop couched never stops couchdb either.
>>>>
>>>> Banged my head against the wall whole day today.
>>>>
>>>> Help please.
>>>> Peter
>>>>
>>>> --
>>>> View this message in context: http://couchdb-development.1959287.n2.nabble.com/RHEL6-couchdb1-2-startup-failed-tp7580473.html
>>>> Sent from the CouchDB Development mailing list archive at Nabble.com<http://Nabble.com>  (http://Nabble.com<http://Nabble.com/>).
>>>>
>>>
>>>
>>
>>
>>
>>
>>
>> ________________________________
>> If you reply to this email, your message will be added to the discussion below:
>> http://couchdb-development.1959287.n2.nabble.com/RHEL6-couchdb1-2-startup-failed-tp7580473p7580480.html
>> To unsubscribe from RHEL6 couchdb1.2 startup failed, click here<http://couchdb-development.1959287.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7580473&code=eHBlbmdAdWNhbGdhcnkuY2F8NzU4MDQ3M3wtODYwNjU5Njc2>.
>> NAML<http://couchdb-development.1959287.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>>
>>
>> --
>> View this message in context: http://couchdb-development.1959287.n2.nabble.com/RHEL6-couchdb1-2-startup-failed-tp7580473p7580481.html
>> Sent from the CouchDB Development mailing list archive at Nabble.com (http://Nabble.com).
>>
>>
>
>


Re: RHEL6 couchdb1.2 startup failed

Posted by till <kl...@gmail.com>.
Not an expert on Redhat/CentOS or any of these flavors, but:
http://rpmfind.net/linux/rpm2html/search.php?query=libicui18n.so.49

Maybe that gets you started!


On Friday, June 22, 2012 at 5:24 PM, xpeng@ucalgary.ca wrote:

> Thanks. Till.
> Get this error when starting from the binary, but I have downloaded and install ICU from http://site.icu-project.org/
>  
> Any idea where to get libicui18n.so.49 for RHEL 6?
>  
> Thanks
>  
>  
> ==
> [root@data ~]# /usr/local//bin/couchdb
> Apache CouchDB 1.3.0a-1352329 (LogLevel=info) is starting.
>  
> =CRASH REPORT==== 22-Jun-2012::09:09:57 ===
> crasher:
> initial call: couch_drv:init/1
> pid: <0.84.0>
> registered_name: []
> exception exit: "libicui18n.so.49: cannot open shared object file: No such file or directory"
> in function gen_server:init_it/6 (gen_server.erl, line 320)
> ancestors: [couch_primary_services,couch_server_sup,<0.31.0>]
> messages: []
> links: [<0.83.0>]
> dictionary: []
> trap_exit: false
> status: running
> heap_size: 610
> stack_size: 24
> reductions: 142
> neighbours:
> s
>  
> On 2012-06-22, at 9:04 AM, till [via CouchDB Development] wrote:
>  
> If it's not the host it might be that what you think is CouchDB running, is really heart trying to (re)start it.
>  
> The start script just calls another wrapper which in itself just tries to start CouchDB and reports that. It doesn't actually report if the launch procedure completes.
>  
> I'd enable stderr and stdout logging – on Ubuntu, that is in /etc/default/couchdb – not sure where that is on Redhat. But these files usually give you a good idea on where it's stuck.
>  
> I'm guessing a source install usually puts it in /usr/local/etc/default/couchdb.
>  
> Till
>  
>  
> On Friday, June 22, 2012 at 11:10 AM, Daniel L wrote:
>  
> > By default it binds to 127.0.0.1, can you go into terminal on that server and try
> >  
> > curl http://127.0.0.1:5984<http://127.0.0.1:5984/>
> >  
> >  
> > Thanks.
> > Daniel
> >  
> > On 22/06/2012, at 8:49 AM, [hidden email]<x-msg://36/user/SendEmail.jtp?type=node&node=7580480&i=0> (mailto:[hidden email]<x-msg://36/user/SendEmail.jtp?type=node&node=7580480&i=1>) wrote:
> >  
> > > Hi,
> > > I built couchdb1.2 from source on RHEL6 because the available couchDB
> > > version from RHEL6 is old (1.0.xx).
> > >  
> > > I installed all the latest version of pre-requisites: erlang, curl,
> > > spidermonkey, icu
> > >  
> > > ./configure, make and make install --> all passed
> > > service start couched --> NO error message, it shows "Starting database
> > > server couched"
> > >  
> > > ps -ef shows couched is running, but it never binds to 5984.
> > >  
> > > service stop couched never stops couchdb either.
> > >  
> > > Banged my head against the wall whole day today.
> > >  
> > > Help please.
> > > Peter
> > >  
> > > --
> > > View this message in context: http://couchdb-development.1959287.n2.nabble.com/RHEL6-couchdb1-2-startup-failed-tp7580473.html
> > > Sent from the CouchDB Development mailing list archive at Nabble.com<http://Nabble.com> (http://Nabble.com<http://Nabble.com/>).
> > >  
> >  
> >  
>  
>  
>  
>  
>  
> ________________________________
> If you reply to this email, your message will be added to the discussion below:
> http://couchdb-development.1959287.n2.nabble.com/RHEL6-couchdb1-2-startup-failed-tp7580473p7580480.html
> To unsubscribe from RHEL6 couchdb1.2 startup failed, click here<http://couchdb-development.1959287.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7580473&code=eHBlbmdAdWNhbGdhcnkuY2F8NzU4MDQ3M3wtODYwNjU5Njc2>.
> NAML<http://couchdb-development.1959287.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>  
>  
>  
> --
> View this message in context: http://couchdb-development.1959287.n2.nabble.com/RHEL6-couchdb1-2-startup-failed-tp7580473p7580481.html
> Sent from the CouchDB Development mailing list archive at Nabble.com (http://Nabble.com).
>  
>  



Re: RHEL6 couchdb1.2 startup failed

Posted by "xpeng@ucalgary.ca" <xp...@ucalgary.ca>.
Thanks. Till.
Get this error when starting from the binary, but I have downloaded and install ICU from http://site.icu-project.org/

Any idea where to get libicui18n.so.49 for RHEL 6?

Thanks


==
[root@data ~]# /usr/local//bin/couchdb
Apache CouchDB 1.3.0a-1352329 (LogLevel=info) is starting.

=CRASH REPORT==== 22-Jun-2012::09:09:57 ===
  crasher:
    initial call: couch_drv:init/1
    pid: <0.84.0>
    registered_name: []
    exception exit: "libicui18n.so.49: cannot open shared object file: No such file or directory"
      in function  gen_server:init_it/6 (gen_server.erl, line 320)
    ancestors: [couch_primary_services,couch_server_sup,<0.31.0>]
    messages: []
    links: [<0.83.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 610
    stack_size: 24
    reductions: 142
  neighbours:
s

On 2012-06-22, at 9:04 AM, till [via CouchDB Development] wrote:

If it's not the host it might be that what you think is CouchDB running, is really heart trying to (re)start it.

The start script just calls another wrapper which in itself just tries to start CouchDB and reports that. It doesn't actually report if the launch procedure completes.

I'd enable stderr and stdout logging – on Ubuntu, that is in /etc/default/couchdb – not sure where that is on Redhat. But these files usually give you a good idea on where it's stuck.

I'm guessing a source install usually puts it in /usr/local/etc/default/couchdb.

Till


On Friday, June 22, 2012 at 11:10 AM, Daniel L wrote:

> By default it binds to 127.0.0.1, can you go into terminal on that server and try
>
> curl http://127.0.0.1:5984<http://127.0.0.1:5984/>
>
>
> Thanks.
> Daniel
>
> On 22/06/2012, at 8:49 AM, [hidden email]<x-msg://36/user/SendEmail.jtp?type=node&node=7580480&i=0> (mailto:[hidden email]<x-msg://36/user/SendEmail.jtp?type=node&node=7580480&i=1>) wrote:
>
> > Hi,
> > I built couchdb1.2 from source on RHEL6 because the available couchDB
> > version from RHEL6 is old (1.0.xx).
> >
> > I installed all the latest version of pre-requisites: erlang, curl,
> > spidermonkey, icu
> >
> > ./configure, make and make install --> all passed
> > service start couched --> NO error message, it shows "Starting database
> > server couched"
> >
> > ps -ef shows couched is running, but it never binds to 5984.
> >
> > service stop couched never stops couchdb either.
> >
> > Banged my head against the wall whole day today.
> >
> > Help please.
> > Peter
> >
> > --
> > View this message in context: http://couchdb-development.1959287.n2.nabble.com/RHEL6-couchdb1-2-startup-failed-tp7580473.html
> > Sent from the CouchDB Development mailing list archive at Nabble.com<http://Nabble.com> (http://Nabble.com<http://Nabble.com/>).
> >
>
>
>




________________________________
If you reply to this email, your message will be added to the discussion below:
http://couchdb-development.1959287.n2.nabble.com/RHEL6-couchdb1-2-startup-failed-tp7580473p7580480.html
To unsubscribe from RHEL6 couchdb1.2 startup failed, click here<http://couchdb-development.1959287.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7580473&code=eHBlbmdAdWNhbGdhcnkuY2F8NzU4MDQ3M3wtODYwNjU5Njc2>.
NAML<http://couchdb-development.1959287.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>



--
View this message in context: http://couchdb-development.1959287.n2.nabble.com/RHEL6-couchdb1-2-startup-failed-tp7580473p7580481.html
Sent from the CouchDB Development mailing list archive at Nabble.com.

Re: RHEL6 couchdb1.2 startup failed

Posted by till <kl...@gmail.com>.
If it's not the host it might be that what you think is CouchDB running, is really heart trying to (re)start it.

The start script just calls another wrapper which in itself just tries to start CouchDB and reports that. It doesn't actually report if the launch procedure completes.

I'd enable stderr and stdout logging – on Ubuntu, that is in /etc/default/couchdb – not sure where that is on Redhat. But these files usually give you a good idea on where it's stuck.

I'm guessing a source install usually puts it in /usr/local/etc/default/couchdb.

Till


On Friday, June 22, 2012 at 11:10 AM, Daniel L wrote:

> By default it binds to 127.0.0.1, can you go into terminal on that server and try
>  
> curl http://127.0.0.1:5984
>  
>  
> Thanks.
> Daniel
>  
> On 22/06/2012, at 8:49 AM, xpeng@ucalgary.ca (mailto:xpeng@ucalgary.ca) wrote:
>  
> > Hi,
> > I built couchdb1.2 from source on RHEL6 because the available couchDB
> > version from RHEL6 is old (1.0.xx).
> >  
> > I installed all the latest version of pre-requisites: erlang, curl,
> > spidermonkey, icu
> >  
> > ./configure, make and make install --> all passed
> > service start couched --> NO error message, it shows "Starting database
> > server couched"
> >  
> > ps -ef shows couched is running, but it never binds to 5984.
> >  
> > service stop couched never stops couchdb either.
> >  
> > Banged my head against the wall whole day today.
> >  
> > Help please.
> > Peter
> >  
> > --
> > View this message in context: http://couchdb-development.1959287.n2.nabble.com/RHEL6-couchdb1-2-startup-failed-tp7580473.html
> > Sent from the CouchDB Development mailing list archive at Nabble.com (http://Nabble.com).
> >  
>  
>  
>  



Re: RHEL6 couchdb1.2 startup failed

Posted by Daniel L <d...@ejl.im>.
By default it binds to 127.0.0.1, can you go into terminal on that server and try

curl http://127.0.0.1:5984


Thanks.
Daniel

On 22/06/2012, at 8:49 AM, xpeng@ucalgary.ca wrote:

> Hi,
> I built couchdb1.2 from source on RHEL6 because the available couchDB
> version from RHEL6 is old (1.0.xx).
> 
> I installed all the latest version of pre-requisites: erlang, curl,
> spidermonkey, icu
> 
> ./configure, make and make install --> all passed
> service start couched --> NO error message, it shows "Starting database
> server couched"
> 
> ps -ef shows couched is running, but it never binds to 5984.
> 
> service stop couched never stops couchdb either.
> 
> Banged my head against the wall whole day today.
> 
> Help please.
> Peter
> 
> --
> View this message in context: http://couchdb-development.1959287.n2.nabble.com/RHEL6-couchdb1-2-startup-failed-tp7580473.html
> Sent from the CouchDB Development mailing list archive at Nabble.com.