1 |
And apache can write to the directory that the file is in? i know in a vanilla |
2 |
install that directory is only writeable root... |
3 |
|
4 |
On Thursday 09 June 2005 18:32, Claudinei Matos wrote: |
5 |
> On 6/9/05, kashani <kashani-list@××××××××.net> wrote: |
6 |
> > Claudinei Matos wrote: |
7 |
> > > [error] (13)Permission denied: attempted append of local preserve file |
8 |
> > > '/var/log/apache2/mod_slog_sql_preserve.sql' but failed. |
9 |
> > > [error] mod_log_sql: child spawned but unable to open database link |
10 |
> > |
11 |
> > Assuming it's not a software issue, have you verified that you can |
12 |
> > connect to your database server from the client using the same |
13 |
> > credentials? |
14 |
> > |
15 |
> > kashani |
16 |
> > -- |
17 |
> > gentoo-server@g.o mailing list |
18 |
> |
19 |
> yeah, I can connect to mysql with the specified user/password. |
20 |
> I also tried to use my admin user and that's faill too. |
21 |
> What is stranger is that even the preserve file can't be writed. |
22 |
> |
23 |
> that's my configuration for mod_log_sql: |
24 |
> |
25 |
> <IfModule mod_log_sql.c> |
26 |
> # LogSQLMassVirtualHosting automatically sets LogSQLCreateTables to |
27 |
> 'on' LogSQLMassVirtualHosting on |
28 |
> |
29 |
> LogSQLDBParam user apache |
30 |
> LogSQLDBParam passwd apacheuserpassword |
31 |
> LogSQLDBParam host localhost |
32 |
> LogSQLDBParam database apachelogs |
33 |
> LogSQLDBParam socketfile /var/run/mysqld/mysqld.sock |
34 |
> LogSQLMachineID localhost |
35 |
> |
36 |
> LogSQlPreserveFile /var/log/apache2/mod_slog_sql_preserve.sql |
37 |
> </IfModule> |
38 |
> |
39 |
> And that's the permission for preserv file: |
40 |
> |
41 |
> -rw-rw-rw- 1 apache apache 5 Jun 9 18:09 |
42 |
> /var/log/apache2/mod_slog_sql_preserve.sql |
43 |
> |
44 |
> |
45 |
> Tks in advice, |
46 |
> |
47 |
> Claudinei Matos |
48 |
-- |
49 |
gentoo-server@g.o mailing list |