httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Campbell <campb...@on2.com>
Subject Re: [users@httpd] dbd mysql segmentation fault in 2.2.6
Date Wed, 21 Nov 2007 03:38:15 GMT
FINALLY,  I found the problem and it was so simple.....I could shoot 
myself.  I forgot DBDPersist off in the conf file.  This was causing the 
seg faults.

Res wrote:
>
> 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@on2.com>
>>> To: <users@httpd.apache.org>
>>> Sent: Tuesday, November 20, 2007 3:59 PM
>>> Subject: Re: [users@httpd] 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@httpd.apache.org
>>> " from the digest: users-digest-unsubscribe@httpd.apache.org
>>> For additional commands, e-mail: users-help@httpd.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> 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@httpd.apache.org
>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message