Обсуждение: Logs are not available for this server

Поиск
Список
Период
Сортировка

Logs are not available for this server

От
Maximilian Tyrtania
Дата:
For some reason PGAdmin 1.12.2 would show "Logs are not available for this server" (well, actually "Logs sind für
diesenServer nicht verfügbar", the translation is mine) in the logs pane when i want to view the log file via the
"tools/serverstatus" menu item. The server is running pg 9.0.3 under Ubuntu 8.4. I didn't alter the log_directory in
postgresql.conf(it's still on 'pg_log') and i can view the log file just fine via: nano
/usr/local/pgsql/data/pg_log/postgresql-2011-03-05.What could PGAdmin possibly stop from displaying the log file I
wonder?

Kind regards,

Max

Maximilian Tyrtania Software-Entwicklung
Dessauer Str. 6-7
10969 Berlin
http://www.contactking.de



Re: Logs are not available for this server

От
Vik Reykja
Дата:
On Sat, Mar 5, 2011 at 15:51, Maximilian Tyrtania <lists@contactking.de> wrote:
For some reason PGAdmin 1.12.2 would show "Logs are not available for this server" (well, actually "Logs sind für diesen Server nicht verfügbar", the translation is mine) in the logs pane when i want to view the log file via the "tools/server status" menu item. The server is running pg 9.0.3 under Ubuntu 8.4. I didn't alter the log_directory in postgresql.conf (it's still on 'pg_log') and i can view the log file just fine via: nano /usr/local/pgsql/data/pg_log/postgresql-2011-03-05. What could PGAdmin possibly stop from displaying the log file I wonder?


Re: Logs are not available for this server

От
Jan-Peter Seifert
Дата:
Hello,

Am 05.03.2011 15:51, schrieb Maximilian Tyrtania:

> For some reason PGAdmin 1.12.2 would show "Logs are not available for this server" (well, actually "Logs sind für
diesenServer nicht verfügbar", the translation is mine) in the logs pane when i want to view the log file via the
"tools/serverstatus" menu item. The server is running pg 9.0.3 under Ubuntu 8.4. I didn't alter the log_directory in
postgresql.conf(it's still on 'pg_log') and i can view the log file just fine via: nano
/usr/local/pgsql/data/pg_log/postgresql-2011-03-05.What could PGAdmin possibly stop from displaying the log file I
wonder?

It seems as if you've changed the 'default name' of the log files. This
prevents displaying the log files in pgAdmin as well ...

Peter



Re: Logs are not available for this server

От
Maximilian Tyrtania
Дата:
>> For some reason PGAdmin 1.12.2 would show "Logs are not available for this server" (well, actually "Logs sind für
diesenServer nicht verfügbar", the translation is mine) in the logs pane when i want to view the log file via the
"tools/serverstatus" menu item. The server is running pg 9.0.3 under Ubuntu 8.4. I didn't alter the log_directory in
postgresql.conf(it's still on 'pg_log') and i can view the log file just fine via: nano
/usr/local/pgsql/data/pg_log/postgresql-2011-03-05.What could PGAdmin possibly stop from displaying the log file I
wonder?
>
> It seems as if you've changed the 'default name' of the log files. This
> prevents displaying the log files in pgAdmin as well ...
>
> Peter

Aah, good catch, yes, that's true. Changed it back and, well, still can't see them, but that's just because the old log
filestill has that shortened name, so I'll just wait until the auto rotate kicks in. 

@Vik: Thanks, i just forgot to mention that i had adminpack installed already.

Thanks and best wishes from Berlin,

Max

Maximilian Tyrtania Software-Entwicklung
Dessauer Str. 6-7
10969 Berlin
http://www.contactking.de