Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: users

Cherokee feels panic! (r3406)

 

 

Cherokee users RSS feed   Index | Next | Previous | View Threaded


denis.kot at gmail

Jul 1, 2009, 1:40 AM

Post #1 of 5 (183 views)
Permalink
Cherokee feels panic! (r3406)

Cherokee feels panic!
which: no dbx in
(/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.2)
ptrace: Operation not permitted.
/tmp/tmp.nwvumLqmO2:1: Error in sourced command file:
No symbol table is loaded. Use the "file" command.
PID 24052: received a signal=6

what more information do you need?

Denis Kot
denis?jabber.org.by
ICQ: 13680126
Mobil: +375 29 6-1234-78
_______________________________________________
Cherokee mailing list
Cherokee[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee


alvaro at alobbs

Jul 1, 2009, 1:46 AM

Post #2 of 5 (172 views)
Permalink
Re: Cherokee feels panic! (r3406) [In reply to]

On 01-jul-09, at 10:40, Denis Kot wrote:

> Cherokee feels panic!
> which: no dbx in
> (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/
> bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.2)
> ptrace: Operation not permitted.
> /tmp/tmp.nwvumLqmO2:1: Error in sourced command file:
> No symbol table is loaded. Use the "file" command.
> PID 24052: received a signal=6
>
> what more information do you need?


A way to reproduce it would be perfect.
You could also try to get the back-trace:

# gdb cherokee-worker
(gdb) run
(gdb) bt full

--
Octality
http://www.octality.com/

_______________________________________________
Cherokee mailing list
Cherokee[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee


denis.kot at gmail

Jul 1, 2009, 2:25 AM

Post #3 of 5 (172 views)
Permalink
Re: Cherokee feels panic! (r3406) [In reply to]

# gdb cherokee-worker
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu"...
(gdb) run
Starting program: /usr/local/sbin/cherokee-worker
[Thread debugging using libthread_db enabled]
[New Thread 0x7fe3959986f0 (LWP 26098)]
[01/06/2009 12:24:07.570] (critical) spawner.c:86 - Could initialize
SHM '/cherokee-spawner-26095': Operation not permitted

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fe3959986f0 (LWP 26098)]
cherokee_logger_writer_open (writer=0x0) at logger_writer.c:255
255 switch (writer->type) {
(gdb) bt full
#0 cherokee_logger_writer_open (writer=0x0) at logger_writer.c:255
ret = <value optimized out>
__func__ = "cherokee_logger_writer_open"
#1 0x00007fe3939d5920 in cherokee_logger_ncsa_init (logger=0x22c4a10)
at logger_ncsa.c:140
ret = <value optimized out>
#2 0x00007fe3953498b6 in cherokee_server_initialize (srv=0x2267800)
at server.c:648
re = -1818404592
ret = ret_ok
i = <value optimized out>
tmp = (cherokee_list_t *) 0x0
ent = <value optimized out>
loggers_done = <value optimized out>
#3 0x0000000000401760 in main (argc=1, argv=<value optimized out>) at
main_worker.c:246
ret = <value optimized out>
(gdb)


Denis Kot
denis?jabber.org.by
ICQ: 13680126
Mobil: +375 29 6-1234-78



2009/7/1 Alvaro Lopez Ortega <alvaro[at]alobbs.com>:
> On 01-jul-09, at 10:40, Denis Kot wrote:
>
>> Cherokee feels panic!
>> which: no dbx in
>>
>> (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.2)
>> ptrace: Operation not permitted.
>> /tmp/tmp.nwvumLqmO2:1: Error in sourced command file:
>> No symbol table is loaded.  Use the "file" command.
>> PID 24052: received a signal=6
>>
>> what more information do you need?
>
>
> A way to reproduce it would be perfect.
> You could also try to get the back-trace:
>
> # gdb cherokee-worker
> (gdb) run
> (gdb) bt full
>
> --
> Octality
> http://www.octality.com/
>
>
_______________________________________________
Cherokee mailing list
Cherokee[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee


alvaro at alobbs

Jul 1, 2009, 2:45 AM

Post #4 of 5 (171 views)
Permalink
Re: Cherokee feels panic! (r3406) [In reply to]

Hello Denis,

On 01-jul-09, at 11:25, Denis Kot wrote:

> (gdb) bt full
> #0 cherokee_logger_writer_open (writer=0x0) at logger_writer.c:255
> ret = <value optimized out>
> __func__ = "cherokee_logger_writer_open"
> #1 0x00007fe3939d5920 in cherokee_logger_ncsa_init (logger=0x22c4a10)
> at logger_ncsa.c:140


Could you please paste the output of: grep logger /path/to/
cherokee.conf ?

--
Greetings, alo
http://www.alobbs.com/

_______________________________________________
Cherokee mailing list
Cherokee[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee


alvaro at alobbs

Jul 1, 2009, 3:17 AM

Post #5 of 5 (171 views)
Permalink
Re: Cherokee feels panic! (r3406) [In reply to]

Hello Denis,

On 01-jul-09, at 11:47, Denis Kot wrote:

> # grep logger /usr/local/etc/cherokee/cherokee.conf


It's fixed in r3407: http://svn.cherokee-project.com/changeset/3407

Cherokee was not checking whether log writers were defined.. it
assumed they were. There is a virtual host in your configuration that
uses the logging but does not define any log writers. That was leading
the server to crash on startup.

You'll have to define them in the virtual server "30". That will fix
the problem.

Thanks for reporting!!

--
Greetings, alo
http://www.alobbs.com/

_______________________________________________
Cherokee mailing list
Cherokee[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee

Cherokee users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.