Re: dbd mysql segmentation fault in 2.2.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Daniel,

Your slackware 12, you are installing apache from source from httpd.apache.org ? if so ls /var/log/packages/http*
if it returns a package then   "removepkg httpd "

Then reinstall from source again, I have done a gazillion slackware 11 and 12's with apache2 and mysql and none have ever shown me the problem you are having. From our previous conversations, I know you know the correct procedure for installing it all, theres just somthing there thats interupting it.

If none of that applies, remove all dbd global options apart from the DBDParams, then add "DBDPersist off" and "DBDriver mysql"
and try that


On Tue, 20 Nov 2007, Daniel Campbell wrote:

My ldd looks like
linux-gate.so.1 => (0xffffe000)
libaprutil-1.so.0 => /usr/lib/libaprutil-1.so.0 (0xb7fbf000)
libldap-2.3.so.0 => /usr/lib/libldap-2.3.so.0 (0xb7f8c000)
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb7f75000)
libresolv.so.2 => /lib/libresolv.so.2 (0xb7f62000)
liblber-2.3.so.0 => /usr/lib/liblber-2.3.so.0 (0xb7f56000)
libmysqlclient_r.so.15 => /usr/lib/libmysqlclient_r.so.15 (0xb7e10000)
libnsl.so.1 => /lib/libnsl.so.1 (0xb7df9000)
libm.so.6 => /lib/libm.so.6 (0xb7dd2000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7dbe000)
libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xb7d81000)
libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb7c55000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7c35000)
libapr-1.so.0 => /usr/lib/libapr-1.so.0 (0xb7c13000)
libuuid.so.1 => /lib/libuuid.so.1 (0xb7c10000)
librt.so.1 => /lib/librt.so.1 (0xb7c08000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7bda000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7bc2000)
libdl.so.2 => /lib/libdl.so.2 (0xb7bbe000)
libc.so.6 => /lib/libc.so.6 (0xb7a7c000)
/lib/ld-linux.so.2 (0xb7fdd000)

Can you supply a copy of yours for comparison?

Danie Qian wrote:

----- Original Message ----- From: "Daniel Campbell" <campbell@xxxxxxx>
To: <users@xxxxxxxxxxxxxxxx>
Sent: Tuesday, November 20, 2007 3:59 PM
Subject: Re:  dbd mysql segmentation fault in 2.2.6


I have. I do the ldd on the httpd and it shows the mysql client lib in
the list. I still get the segmentation fault as soon as I put the
DBDriver mysql command into the httpd.conf file. I have installed the
gdb but I am unsure exactly how to get it to produce the results I need.


the mysql-client from `ldd httpd` might be from the option
--with-mysql=/usr/lib/mysql you put when compiling.

In my working installation libmysql-client is from `ldd
libaprutil-x.x`. But I didnt use the included apr. You might try
installing apr-util before hand to see if it makes any difference for
you.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
" from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


--
Cheers
Res



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux