Junin escreveu: > Galerinha, > > Segue abaixo todos meus procedimentos e o erro final... > > (...) > 7 - OLHA O ERRO > > erro: > > r...@es605-444:/var/log/postgresql# > /home/junin-dba/pgfouine-1.0/pgfouine.php -file > postgresql-8.3-main.log > /home/junin-dba/Área\ de\ > Trabalho/somefile.html > pgFouine did not find any valid PostgreSQL log line in your log file: > * check that PostgreSQL uses an english locale for logging > (lc_messages in your postgresql.conf), > * check that you use the -logtype option (syslog, stderr) according to > your log file, > * if you use syslog and log_line_prefix, check that your > log_line_prefix has a trailing space, > * if you use stderr, check that your log_line_prefix is of the form > '%t [%p]: [%l-1] '. > If you think your log file and your options are correct, please > contact the author (gsmet on #postgre...@freenode or guillaume-pg at > smet dot org).
O log cantou a bola, mas vou falar depois. > Solucao 1 - mudar para ingles no postgresql.conf o parametro > lc_messages //fiz e nada; Vi que você leu o log. É isso, tem que estar em inglês ali senão as regex do pgfouine não encontrarão nada. > Solucao 2 - verificar o log_line_prefix = 'user=%u,db=%d '#tem o > espaço no final... Vi que você não leu o log na integra pois a sua "Solução 2" está incompleta. O log_line_prefix precisa ser, no mínimo: '%t [%p]: [%l-1] ' mas você pode adicionar seu usuário e versão: '%t [%p]: [%l-1] user=%u,db=%d ' Tente lá e nos comunique. -- Dickson S. Guedes Administrador de Banco de Dados Confesol - Projeto Colmeia Florianopolis, SC, Brasil (48) 3322-1185, ramal: 26 _______________________________________________ pgbr-geral mailing list pgbr-geral@listas.postgresql.org.br https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral