Sean’s Obsessions

  • Archives

Archive for July, 2007

27 Jul

Finally, getting Apache to core

I’ve had some problems with Apache and I’d like a core dump when it happens so I can get a backtrace.
It’s harder than you think. Red Hat has 2 documents on it: this and that.
The summary of those is to add
CoreDumpDirectory /var/apache-dump
to httpd.conf, and make that directory 777. Then, edit some startup scripts […]

03 Jul

Using those debuginfo packages

Whenever you generate an RPM (rpmbuild -ba foo.spec), an package called foo-debuginfo is also created.
My original thoughts were that this created a debugging version of the binary, ie the same version compiled with -g, because (*hitches up suspenders*) that’s the way we used to do it.  So, I’d delete them.
After needing to get a backtrace […]

© 2008 Sean’s Obsessions | Entries (RSS) and Comments (RSS)

Powered by Wordpress, design by Web4Sudoku, based on Pinkline byGPS Gazette