Re: pgsql in a virtual environment

From: Martín Marqués <martin(at)2ndquadrant(dot)com>
To: Graeme Gemmill <graeme(at)gemmill(dot)name>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: pgsql in a virtual environment
Date: 2014-05-16 15:35:27
Message-ID: CABeG9LsCcEamXas3+oD0Ny0Jfncs1kk54-ru=bMg58E453_5OQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2014-05-16 11:56 GMT-03:00 Graeme Gemmill <graeme(at)gemmill(dot)name>:
> $ ./pg_ctl start -D /mnt/post/pgsql/data &
> [1] 3692
> [postgres(at)localhost bin]$ pg_ctl: could not open PID file
> "/mnt/post/pgsql/data/postmaster.pid": Protocol error
>
> [1]+ Exit 1 ./pg_ctl start -D /mnt/post/pgsql/data
> Is there any advice on running postgresql in a virtual machine connecting to
> host data?

Did you check your logs to see if there was any information which
would point to the problem?

Looks like a libpq - backend server mismatch.

--
Martín Marqués http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message image 2014-05-16 15:41:55 Re: Psycopg2 : error message.
Previous Message Karsten Hilbert 2014-05-16 15:14:43 Re: Psycopg2 : error message.