Search Postgresql Archives

Re: pgsql in a virtual environment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



=?UTF-8?B?TWFydMOtbiBNYXJxdcOpcw==?= <martin@xxxxxxxxxxxxxxx> writes:
> 2014-05-16 11:56 GMT-03:00 Graeme Gemmill <graeme@xxxxxxxxxxxx>:
>> $ ./pg_ctl start -D /mnt/post/pgsql/data &
>> [1] 3692
>> [postgres@localhost bin]$ pg_ctl: could not open PID file
>> "/mnt/post/pgsql/data/postmaster.pid": Protocol error

> Looks like a libpq - backend server mismatch.

No --- pg_ctl is trying to read the postmaster's PID file, and it's
getting some bizarre error from fopen().  I have no idea exactly what
"Protocol error" might mean in this context.  It would make some sense
if the data directory were on NFS or other network-based file system,
but otherwise it's kind of weird.

Anyway this is a filesystem problem.  libpq is not involved.  I would
venture that it's either a kernel bug or some misconfiguration of the
virtual environment.  The fix is below Postgres' level, for sure.

			regards, tom lane



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux