You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Andrey Kuprianov <an...@gmail.com> on 2013/07/20 18:12:21 UTC

Errors in Couch 1.3.1 log

Hi all,

I keep on getting this exception in couchdb log. The lot of them actually.
What do they mean? I have couchdb 1.3.1 freshly installed and also
couchdb-lucene attached to it.

   Cheers,

     Andrey

[Sat, 20 Jul 2013 16:08:57 GMT] [error] [<0.125.0>] {error_report,<0.31.0>,
                        {<0.125.0>,crash_report,
                         [[{initial_call,

 {mochiweb_socket_server,init,['Argument__1']}},
                           {pid,<0.125.0>},
                           {registered_name,[]},
                           {error_info,
                               {exit,eaddrinuse,
                                   [{gen_server,init_it,6},
                                    {proc_lib,init_p_do_apply,3}]}},
                           {ancestors,
                               [couch_secondary_services,couch_server_sup,
                                <0.32.0>]},
                           {messages,[]},
                           {links,[<0.94.0>]},
                           {dictionary,[]},
                           {trap_exit,true},
                           {status,running},
                           {heap_size,1597},
                           {stack_size,24},
                           {reductions,464}],
                          []]}}
[Sat, 20 Jul 2013 16:08:58 GMT] [error] [<0.125.0>] {error_report,<0.31.0>,
                        {<0.125.0>,crash_report,
                         [[{initial_call,

 {mochiweb_socket_server,init,['Argument__1']}},
                           {pid,<0.125.0>},
                           {registered_name,[]},
                           {error_info,
                               {exit,eaddrinuse,
                                   [{gen_server,init_it,6},
                                    {proc_lib,init_p_do_apply,3}]}},
                           {ancestors,
                               [couch_secondary_services,couch_server_sup,
                                <0.32.0>]},
                           {messages,[]},
                           {links,[<0.94.0>]},
                           {dictionary,[]},
                           {trap_exit,true},
                           {status,running},
                           {heap_size,1597},
                           {stack_size,24},
                           {reductions,464}],
                          []]}}

Re: Errors in Couch 1.3.1 log

Posted by Robert Newson <rn...@apache.org>.
Computing would be no fun if there was never a difference between what
we think is possible and what actually happens.

'netstat -anlp' (or similar) should help you find the other process
using the port.

B.


On 20 July 2013 17:17, Andrey Kuprianov <an...@gmail.com> wrote:
> Thanks Robert. I just dont understand how can that be possible. This is a
> fresh Ubuntu instance. The only thing running on that port is couch itself.
> Futon is working, views are working - everything seems fine. However,
> couchdb-lucene didnt pick up any data from couch (i.e. nothing is indexed).
>
>
> On Sat, Jul 20, 2013 at 11:14 PM, Robert Newson <rn...@apache.org> wrote:
>
>> "eaddrinuse". You have something already bound to port 5984 (probably
>> another couchdb instance).
>>
>> On 20 July 2013 17:12, Andrey Kuprianov <an...@gmail.com>
>> wrote:
>> > Hi all,
>> >
>> > I keep on getting this exception in couchdb log. The lot of them
>> actually.
>> > What do they mean? I have couchdb 1.3.1 freshly installed and also
>> > couchdb-lucene attached to it.
>> >
>> >    Cheers,
>> >
>> >      Andrey
>> >
>> > [Sat, 20 Jul 2013 16:08:57 GMT] [error] [<0.125.0>]
>> {error_report,<0.31.0>,
>> >                         {<0.125.0>,crash_report,
>> >                          [[{initial_call,
>> >
>> >  {mochiweb_socket_server,init,['Argument__1']}},
>> >                            {pid,<0.125.0>},
>> >                            {registered_name,[]},
>> >                            {error_info,
>> >                                {exit,eaddrinuse,
>> >                                    [{gen_server,init_it,6},
>> >                                     {proc_lib,init_p_do_apply,3}]}},
>> >                            {ancestors,
>> >
>>  [couch_secondary_services,couch_server_sup,
>> >                                 <0.32.0>]},
>> >                            {messages,[]},
>> >                            {links,[<0.94.0>]},
>> >                            {dictionary,[]},
>> >                            {trap_exit,true},
>> >                            {status,running},
>> >                            {heap_size,1597},
>> >                            {stack_size,24},
>> >                            {reductions,464}],
>> >                           []]}}
>> > [Sat, 20 Jul 2013 16:08:58 GMT] [error] [<0.125.0>]
>> {error_report,<0.31.0>,
>> >                         {<0.125.0>,crash_report,
>> >                          [[{initial_call,
>> >
>> >  {mochiweb_socket_server,init,['Argument__1']}},
>> >                            {pid,<0.125.0>},
>> >                            {registered_name,[]},
>> >                            {error_info,
>> >                                {exit,eaddrinuse,
>> >                                    [{gen_server,init_it,6},
>> >                                     {proc_lib,init_p_do_apply,3}]}},
>> >                            {ancestors,
>> >
>>  [couch_secondary_services,couch_server_sup,
>> >                                 <0.32.0>]},
>> >                            {messages,[]},
>> >                            {links,[<0.94.0>]},
>> >                            {dictionary,[]},
>> >                            {trap_exit,true},
>> >                            {status,running},
>> >                            {heap_size,1597},
>> >                            {stack_size,24},
>> >                            {reductions,464}],
>> >                           []]}}
>>

Re: Errors in Couch 1.3.1 log

Posted by Andrey Kuprianov <an...@gmail.com>.
Thanks Robert. I just dont understand how can that be possible. This is a
fresh Ubuntu instance. The only thing running on that port is couch itself.
Futon is working, views are working - everything seems fine. However,
couchdb-lucene didnt pick up any data from couch (i.e. nothing is indexed).


On Sat, Jul 20, 2013 at 11:14 PM, Robert Newson <rn...@apache.org> wrote:

> "eaddrinuse". You have something already bound to port 5984 (probably
> another couchdb instance).
>
> On 20 July 2013 17:12, Andrey Kuprianov <an...@gmail.com>
> wrote:
> > Hi all,
> >
> > I keep on getting this exception in couchdb log. The lot of them
> actually.
> > What do they mean? I have couchdb 1.3.1 freshly installed and also
> > couchdb-lucene attached to it.
> >
> >    Cheers,
> >
> >      Andrey
> >
> > [Sat, 20 Jul 2013 16:08:57 GMT] [error] [<0.125.0>]
> {error_report,<0.31.0>,
> >                         {<0.125.0>,crash_report,
> >                          [[{initial_call,
> >
> >  {mochiweb_socket_server,init,['Argument__1']}},
> >                            {pid,<0.125.0>},
> >                            {registered_name,[]},
> >                            {error_info,
> >                                {exit,eaddrinuse,
> >                                    [{gen_server,init_it,6},
> >                                     {proc_lib,init_p_do_apply,3}]}},
> >                            {ancestors,
> >
>  [couch_secondary_services,couch_server_sup,
> >                                 <0.32.0>]},
> >                            {messages,[]},
> >                            {links,[<0.94.0>]},
> >                            {dictionary,[]},
> >                            {trap_exit,true},
> >                            {status,running},
> >                            {heap_size,1597},
> >                            {stack_size,24},
> >                            {reductions,464}],
> >                           []]}}
> > [Sat, 20 Jul 2013 16:08:58 GMT] [error] [<0.125.0>]
> {error_report,<0.31.0>,
> >                         {<0.125.0>,crash_report,
> >                          [[{initial_call,
> >
> >  {mochiweb_socket_server,init,['Argument__1']}},
> >                            {pid,<0.125.0>},
> >                            {registered_name,[]},
> >                            {error_info,
> >                                {exit,eaddrinuse,
> >                                    [{gen_server,init_it,6},
> >                                     {proc_lib,init_p_do_apply,3}]}},
> >                            {ancestors,
> >
>  [couch_secondary_services,couch_server_sup,
> >                                 <0.32.0>]},
> >                            {messages,[]},
> >                            {links,[<0.94.0>]},
> >                            {dictionary,[]},
> >                            {trap_exit,true},
> >                            {status,running},
> >                            {heap_size,1597},
> >                            {stack_size,24},
> >                            {reductions,464}],
> >                           []]}}
>

Re: Errors in Couch 1.3.1 log

Posted by Robert Newson <rn...@apache.org>.
"eaddrinuse". You have something already bound to port 5984 (probably
another couchdb instance).

On 20 July 2013 17:12, Andrey Kuprianov <an...@gmail.com> wrote:
> Hi all,
>
> I keep on getting this exception in couchdb log. The lot of them actually.
> What do they mean? I have couchdb 1.3.1 freshly installed and also
> couchdb-lucene attached to it.
>
>    Cheers,
>
>      Andrey
>
> [Sat, 20 Jul 2013 16:08:57 GMT] [error] [<0.125.0>] {error_report,<0.31.0>,
>                         {<0.125.0>,crash_report,
>                          [[{initial_call,
>
>  {mochiweb_socket_server,init,['Argument__1']}},
>                            {pid,<0.125.0>},
>                            {registered_name,[]},
>                            {error_info,
>                                {exit,eaddrinuse,
>                                    [{gen_server,init_it,6},
>                                     {proc_lib,init_p_do_apply,3}]}},
>                            {ancestors,
>                                [couch_secondary_services,couch_server_sup,
>                                 <0.32.0>]},
>                            {messages,[]},
>                            {links,[<0.94.0>]},
>                            {dictionary,[]},
>                            {trap_exit,true},
>                            {status,running},
>                            {heap_size,1597},
>                            {stack_size,24},
>                            {reductions,464}],
>                           []]}}
> [Sat, 20 Jul 2013 16:08:58 GMT] [error] [<0.125.0>] {error_report,<0.31.0>,
>                         {<0.125.0>,crash_report,
>                          [[{initial_call,
>
>  {mochiweb_socket_server,init,['Argument__1']}},
>                            {pid,<0.125.0>},
>                            {registered_name,[]},
>                            {error_info,
>                                {exit,eaddrinuse,
>                                    [{gen_server,init_it,6},
>                                     {proc_lib,init_p_do_apply,3}]}},
>                            {ancestors,
>                                [couch_secondary_services,couch_server_sup,
>                                 <0.32.0>]},
>                            {messages,[]},
>                            {links,[<0.94.0>]},
>                            {dictionary,[]},
>                            {trap_exit,true},
>                            {status,running},
>                            {heap_size,1597},
>                            {stack_size,24},
>                            {reductions,464}],
>                           []]}}

Re: Errors in Couch 1.3.1 log

Posted by Andrey Kuprianov <an...@gmail.com>.
Thanks again. Couch was actually running and listening on that port as I
could curl to it and access it via Futon. We just restarted a server and
problem disappeared. Not sure what caused it.



On Sat, Jul 20, 2013 at 11:29 PM, Alexander Shorin <kx...@gmail.com> wrote:

> Hi Andrey
>
> Note exit reason
> > eaddrinuse
>
> This means that some process is already listen (ip:port) pair that
> CouchDB is also trying to. Try to look what process listens CouchDB's
> ip:port via lsof or netstat commands.
>
>
> --
> ,,,^..^,,,
>
>
> On Sat, Jul 20, 2013 at 8:12 PM, Andrey Kuprianov
> <an...@gmail.com> wrote:
> > Hi all,
> >
> > I keep on getting this exception in couchdb log. The lot of them
> actually.
> > What do they mean? I have couchdb 1.3.1 freshly installed and also
> > couchdb-lucene attached to it.
> >
> >    Cheers,
> >
> >      Andrey
> >
> > [Sat, 20 Jul 2013 16:08:57 GMT] [error] [<0.125.0>]
> {error_report,<0.31.0>,
> >                         {<0.125.0>,crash_report,
> >                          [[{initial_call,
> >
> >  {mochiweb_socket_server,init,['Argument__1']}},
> >                            {pid,<0.125.0>},
> >                            {registered_name,[]},
> >                            {error_info,
> >                                {exit,eaddrinuse,
> >                                    [{gen_server,init_it,6},
> >                                     {proc_lib,init_p_do_apply,3}]}},
> >                            {ancestors,
> >
>  [couch_secondary_services,couch_server_sup,
> >                                 <0.32.0>]},
> >                            {messages,[]},
> >                            {links,[<0.94.0>]},
> >                            {dictionary,[]},
> >                            {trap_exit,true},
> >                            {status,running},
> >                            {heap_size,1597},
> >                            {stack_size,24},
> >                            {reductions,464}],
> >                           []]}}
> > [Sat, 20 Jul 2013 16:08:58 GMT] [error] [<0.125.0>]
> {error_report,<0.31.0>,
> >                         {<0.125.0>,crash_report,
> >                          [[{initial_call,
> >
> >  {mochiweb_socket_server,init,['Argument__1']}},
> >                            {pid,<0.125.0>},
> >                            {registered_name,[]},
> >                            {error_info,
> >                                {exit,eaddrinuse,
> >                                    [{gen_server,init_it,6},
> >                                     {proc_lib,init_p_do_apply,3}]}},
> >                            {ancestors,
> >
>  [couch_secondary_services,couch_server_sup,
> >                                 <0.32.0>]},
> >                            {messages,[]},
> >                            {links,[<0.94.0>]},
> >                            {dictionary,[]},
> >                            {trap_exit,true},
> >                            {status,running},
> >                            {heap_size,1597},
> >                            {stack_size,24},
> >                            {reductions,464}],
> >                           []]}}
>

Re: Errors in Couch 1.3.1 log

Posted by Alexander Shorin <kx...@gmail.com>.
Hi Andrey

Note exit reason
> eaddrinuse

This means that some process is already listen (ip:port) pair that
CouchDB is also trying to. Try to look what process listens CouchDB's
ip:port via lsof or netstat commands.


--
,,,^..^,,,


On Sat, Jul 20, 2013 at 8:12 PM, Andrey Kuprianov
<an...@gmail.com> wrote:
> Hi all,
>
> I keep on getting this exception in couchdb log. The lot of them actually.
> What do they mean? I have couchdb 1.3.1 freshly installed and also
> couchdb-lucene attached to it.
>
>    Cheers,
>
>      Andrey
>
> [Sat, 20 Jul 2013 16:08:57 GMT] [error] [<0.125.0>] {error_report,<0.31.0>,
>                         {<0.125.0>,crash_report,
>                          [[{initial_call,
>
>  {mochiweb_socket_server,init,['Argument__1']}},
>                            {pid,<0.125.0>},
>                            {registered_name,[]},
>                            {error_info,
>                                {exit,eaddrinuse,
>                                    [{gen_server,init_it,6},
>                                     {proc_lib,init_p_do_apply,3}]}},
>                            {ancestors,
>                                [couch_secondary_services,couch_server_sup,
>                                 <0.32.0>]},
>                            {messages,[]},
>                            {links,[<0.94.0>]},
>                            {dictionary,[]},
>                            {trap_exit,true},
>                            {status,running},
>                            {heap_size,1597},
>                            {stack_size,24},
>                            {reductions,464}],
>                           []]}}
> [Sat, 20 Jul 2013 16:08:58 GMT] [error] [<0.125.0>] {error_report,<0.31.0>,
>                         {<0.125.0>,crash_report,
>                          [[{initial_call,
>
>  {mochiweb_socket_server,init,['Argument__1']}},
>                            {pid,<0.125.0>},
>                            {registered_name,[]},
>                            {error_info,
>                                {exit,eaddrinuse,
>                                    [{gen_server,init_it,6},
>                                     {proc_lib,init_p_do_apply,3}]}},
>                            {ancestors,
>                                [couch_secondary_services,couch_server_sup,
>                                 <0.32.0>]},
>                            {messages,[]},
>                            {links,[<0.94.0>]},
>                            {dictionary,[]},
>                            {trap_exit,true},
>                            {status,running},
>                            {heap_size,1597},
>                            {stack_size,24},
>                            {reductions,464}],
>                           []]}}