Darryl Weaver | 17 Nov 2004 23:26
Picon

Connection error on Fedora 3 using local socket connection

Hi All,

I am having a problem with getting this to work on Fedora 3.
I have a full install (i.e. everything) of Fedora 3.

I have then removed the installed libdbi libraries and drivers (i.e. the
rpms - libdbi, libdbi-dbd-mysql & libdbi-dbd-pgsql that were version
0.6.x).

I have then installed the latest versions of libdbi from the website
from source.

So, I now have libdbi 0.7.2 and libdbi-drivers 0.7.1 installed.

I have then downloaded mod_log_sql-1.99 and extracted the source.
I have downloaded both the diff files and patched the source.

I then successfully ran configure and make and make install.

I then set up a new database called apachelogs and a new database user
with create and insert privileges.
I then create the entries for apache, which I do from an include file as
follows:

/etc/httpd/conf.d/mod_log_sql.conf:
LoadModule log_sql_module modules/mod_log_sql.so
LoadModule log_sql_mysql_module modules/mod_log_sql_mysql.so
<IfModule mod_ssl.c>
LoadModule log_sql_ssl_module moduels/mod_log_sql_ssl.so
</IfModule> 
(Continue reading)

Edward Rudd | 19 Nov 2004 06:44
Favicon
Gravatar

Re: Connection error on Fedora 3 using local socket connection

Quoting Darryl Weaver <darryl@...>:

> Hi All,
>
> I am having a problem with getting this to work on Fedora 3.
> I have a full install (i.e. everything) of Fedora 3.

I just finished installing that in Vmware yesterday.

> I have then removed the installed libdbi libraries and drivers (i.e. the
> rpms - libdbi, libdbi-dbd-mysql & libdbi-dbd-pgsql that were version
> 0.6.x).

That seems really odd that FC3 would have libdbi 0.6 still installed.

> I have then installed the latest versions of libdbi from the website
> from source.
>
>
> /etc/httpd/conf.d/mod_log_sql.conf:
> LoadModule log_sql_module modules/mod_log_sql.so
> LoadModule log_sql_mysql_module modules/mod_log_sql_mysql.so
> <IfModule mod_ssl.c>
> LoadModule log_sql_ssl_module moduels/mod_log_sql_ssl.so
> </IfModule>
> LogSQLLoginInfo mysql://username:password <at> localhost/apachelogs
> LogSQLCreateTables on
> LogSQLDBParam socketfile /var/lib/mysql/mysql.sock
>
>
(Continue reading)


Gmane