AOL Webserver - AolServer and core dumps

This is Interesting: Free IT Magazines  
Home > Archive > AOL Webserver > March 2007 > AolServer and core dumps





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author AolServer and core dumps
Agnieszka Kukałowicz

2007-03-28, 7:11 am

Hi,

I have question on how to force Aolserver to dump core?
My Aolserver crashes in some circumstances causing segmentation fault.
I would like to debug the problem, but I can't see any core file.
It looks like everything is set right.
I made 'ulimit -c unlimited' to have unlimited core file size and my
permissions where I dump a core look ok. What might be the reason it
does not work?

Cheers
Agnieszka Kukalowicz




Nathan Folkman

2007-03-28, 1:11 pm

You might want to take a look at the Tcl Core Dumper package Dossy and I did
a while back.

http://aolserver.cvs.sourceforge.ne...tcl-coredumper/

- n

On 3/28/07, Agnieszka Kukałowicz <qqlka@nask.pl> wrote:
>
> Hi,
>
> I have question on how to force Aolserver to dump core?
> My Aolserver crashes in some circumstances causing segmentation fault.
> I would like to debug the problem, but I can't see any core file.
> It looks like everything is set right.
> I made 'ulimit -c unlimited' to have unlimited core file size and my
> permissions where I dump a core look ok. What might be the reason it
> does not work?
>
> Cheers
> Agnieszka Kukalowicz
>
>
>
>
> --
> AOLserver - http://www.aolserver.com/
>
> To Remove yourself from this list, simply send an email to <
> listserv@listserv.aol.com> with the
> body of "SIGNOFF AOLSERVER" in the email message. You can leave the
> Subject: field of your email blank.
>




--
Nathan Folkman
nathan.folkman@gmail.com
Agnieszka Kukałowicz

2007-03-29, 7:11 am

Hi,=20

I tried to use it but it doesn't work.=20
It looks like something is wrong with tcl-coredumper configure script.=20
I did:
configure --with-tcl=3D[aolserver_dir]/lib
--with-google-coredumper=3D/usr/local
make

and put it under Aolserver lib directory.

When I had started to use it I got an error:=20
couldn't load file "[aolserver_dir]/lib/coredumper/coredumper.so":
libcoredumper.so.0: cannot open shared object file: No such file or
directory
while executing
"load [aolserver_dir]/lib/coredumper/coredumper.so"
("package ifneeded" script)
invoked from within
"package require google-coredumper 0.1"

And 'ldd coredumper.so' prints:
libtcl8.4.so =3D> /web/jail/opt/aolserver4/lib/libtcl8.4.so
(0x4000a000)
libdl.so.2 =3D> /lib/libdl.so.2 (0x400ab000)
libpthread.so.0 =3D> /lib/i686/libpthread.so.0 (0x400ae000)
libm.so.6 =3D> /lib/i686/libm.so.6 (0x400c2000)
libcoredumper.so.0 =3D> not found
libc.so.6 =3D> /lib/i686/libc.so.6 (0x42000000)
/lib/ld-linux.so.2 =3D> /lib/ld-linux.so.2 (0x80000000)

But the libcoredumper.so.0 is in the directory /usr/local:

ls /usr/local/lib/libcoredumper*:
/usr/local/lib/libcoredumper.a =20
/usr/local/lib/libcoredumper.so =20
/usr/local/lib/libcoredumper.so.0.0.0
/usr/local/lib/libcoredumper.la =20
/usr/local/lib/libcoredumper.so.0


How should it be configured?

Cheers

Agnieszka Kuka=B3owicz

-----Original Message-----
From: AOLserver Discussion [mailto:AOLSERVER@LISTSERV.AOL.COM] On Behalf
Of Nathan Folkman
Sent: Wednesday, March 28, 2007 4:38 PM
To: AOLSERVER@LISTSERV.AOL.COM
Subject: Re: [AOLSERVER] AolServer and core dumps

You might want to take a look at the Tcl Core Dumper package Dossy and I
did a while back.=20

http://aolserver.cvs.sourceforge.ne...-coredumper/=20

- n
On 3/28/07, Agnieszka Kuka=B3owicz <qqlka@nask.pl> wrote:
Hi,

I have question on how to force Aolserver to dump core?
My Aolserver crashes in some circumstances causing segmentation fault.
I would like to debug the problem, but I can't see any core file.
It looks like everything is set right.=20
I made 'ulimit -c unlimited' to have unlimited core file size and my
permissions where I dump a core look ok. What might be the reason it
does not work?

Cheers
Agnieszka Kukalowicz




--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to
<listserv@listserv.aol.com > with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the
Subject: field of your email blank.



--=20
Nathan Folkman
nathan.folkman@gmail.com=20


Dossy Shiobara

2007-03-29, 1:11 pm

On 2007.03.29, Agnieszka Kuka?owicz <qqlka@NASK.PL> wrote:
> But the libcoredumper.so.0 is in the directory /usr/local:
>
> ls /usr/local/lib/libcoredumper*:


No, it's in /usr/local/lib. Is /usr/local/lib in your LD_LIBRARY_PATH?

-- Dossy

--
Dossy Shiobara | dossy@panoptic.com | http://dossy.org/
Panoptic Computer Network | http://panoptic.com/
"He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on." (p. 70)


Agnieszka Kukałowicz

2007-03-30, 7:11 pm

> No, it's in /usr/local/lib. Is /usr/local/lib in your
LD_LIBRARY_PATH?

My mistake. I've forgetten to make 'ldconfig' after installing
google-coredumper. After that everything is ok.

Thanks for help
Cheers
qqlka


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com