[turba] Failed to access the address book: DB Error: connect failed

Chris grooveman at comcast.net
Wed Dec 28 09:32:47 PST 2005


Thanks Kevin,

I did eventually figure out what the problem was, but I don't understand
why my directives didn't work. 

I was using mysql via tcp.  I forced it to use unix sockets, and shut
off networking.  I understood that I need to put the socket in the
chroot prison, but it was ignoring my my.cnf file and it even ignored it
when I hacked the mysqld_safe script.  I created my own startup script,
I put the socket in the chroot prison, and it works swimmingly.

Thank you.

Chris


Kevin M. Myer wrote:

>Quoting Chris <grooveman at comcast.net>:
>
>  
>
>>When I try to access my addressbook via the interface, I get this error:
>>"Failed to access the address book: DB Error: connect failed".
>>
>>I cannot figure out why.  Mysql is running, and I can connect to it just
>>fine on the command line.  Why can't turba find it?  What did I do wrong?
>>    
>>
>
>Apache runs chroot in OpenBSD.  So unless you've setup a chroot 
>environment for MySQL under the Apache webroot (/var/www), that's 
>likely the cause of your problems.  Either setup the MySQL environment, 
>or don't run Apache chroot.
>
>Kevin
>  
>


More information about the turba mailing list