debugsqlMinor
PGAdmin III Server Status Error: Could not read directory "pg_log" No such file or directory
Viewed 0 times
pgadminsuchdirectoryerrorfilereadcouldstatusserveriii
Problem
Running PostgreSQL 9.3 on Ubuntu 14.04 and pgAdmin III 1.18.1 on Windows 7.
I tried
"Could not read directory "pg_log" No such file or directory"
I don't see any answers online. The server is mostly setup with default settings (for logging). The user I'm connecting with through pgAdmin is a superuser level account.
Purpose of use: monitoring what will become a live system.
I tried
Tools->Server Status and I get an error:"Could not read directory "pg_log" No such file or directory"
I don't see any answers online. The server is mostly setup with default settings (for logging). The user I'm connecting with through pgAdmin is a superuser level account.
Purpose of use: monitoring what will become a live system.
Solution
Your client (Windows) is running on a different machine than your server (Ubuntu).
You cannot read the remote file system. Inspecting the logs only works if your client is on the same machine (or has access to the remote file system by way of some advanced trickery.)
To suppress the error message remove the log file from the display.
In the Server Status window press
Ctrl-Alt-F
Or uncheck
You cannot read the remote file system. Inspecting the logs only works if your client is on the same machine (or has access to the remote file system by way of some advanced trickery.)
To suppress the error message remove the log file from the display.
In the Server Status window press
Ctrl-Alt-F
Or uncheck
View -> Logfile.Context
StackExchange Database Administrators Q#74603, answer score: 8
Revisions (0)
No revisions yet.