| From: | Daron Ryan <daron(dot)ryan(at)gmail(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Cannot start Postgres : invalid data in PID file |
| Date: | 2011-04-14 08:01:59 |
| Message-ID: | 4DA6A9F7.5080501@gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Problem: Cannot start Postgres
Platform: Postgres 8.3, Windows Vista Home
Error Message: pg_ctl: invalid data in PID file "C:/Program
Files/PostgreSQL/8.3/data/postmaster.pid"
I run postgres on Windows Vista Home Edition. It normally runs as a
service but is not starting. I created a command line instruction by
copying the data from Windows service GUI and changing "runservice" to
"start". Under the command line it produces the following:
C:\Users\Daron>"C:/Program Files/PostgreSQL/8.3/bin/pg_ctl.exe" start -N
"postgr
esql-8.3" -D "C:/Program Files/PostgreSQL/8.3/data" -w
pg_ctl: invalid data in PID file "C:/Program
Files/PostgreSQL/8.3/data/postmaste
r.pid"
Entering "type postmaster.pid" in the appropriate directory produces a
couple of blank lines.
I thought of trying to delete the PID file but I am not sure if it may
cause further problems.
Can anyone help?
Regards,
Daron.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | John R Pierce | 2011-04-14 08:04:09 | Re: Cannot start Postgres : invalid data in PID file |
| Previous Message | Craig Ringer | 2011-04-14 08:01:40 | Re: Replication: slave is in permanent startup 'recovery' |