Re: BUG #4771: Postgres wont start

From: Christine Penner <christinep(at)telus(dot)net>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4771: Postgres wont start
Date: 2009-04-24 15:08:08
Message-ID: 19740414223344.ADBA38313C0AE851@priv-edtnaa06.telusplanet.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

<html>
<body>
When I looked at the Windows Event Log I found this:<br><br>
<font face="Segoe UI" size=2>%t FATAL:&nbsp; bogus data in lock file
&quot;postmaster.pid&quot;: &quot;&quot;<br><br>
</font>So what do I do now? I have already re installed and that didn't
help.<br><br>
Christine<br><br>
At 02:45 AM 4/23/2009, you wrote:<br>
<blockquote type=cite class=cite cite="">Christine,<br><br>
when PostgreSQL does not start on Windows, the first place to look for
errors is the Microsoft Windows EventLog. That is the standard place to
report errors.<br><br>
You can dig there via Control Panel; exact click path depending on your
Windows Version (XP / Vista / W2003 / W2008 / W7); or start a commandline
and type eventvwr (works on all)<br><br>
There you go to the errors of &quot;Application&quot;; and track down the
information of the PostgreSQL service.<br><br>
In my experience (~ 200 different Windows Computers in ~15 Administrative
Environments)&nbsp; the most common errors are:<br><br>
- &quot;something&quot; is taking away the
&quot;run-as-service&quot;-privilege of the postgres-Windows-User. Likely
culprits for &quot;something&quot; are GroupPolicies within
ActiveDirectory. To be more challenging, it does not happen immediately,
but after x days of normal working<br><br>
- &quot;something&quot; is taking away access rights to the PostgreSQL
Data Directory / the PostgreSQL Configuration files<br><br>
- Switching distributions between versions (from pginstaller to one click
installer or vice versa)<br><br>
- Difference within PostgreSQL packagings (&quot;pg_debugger&quot; was
default acitvated in 8.3.0-8.3.4; and is no more default activated by
default in 8.3.7; a line with &quot;preload pg_debugger &quot; in
postgresql.conf may lead to non starting PostgreSQL service)<br><br>
- Some (anti)viral products block the access off ports; or files, or
starting of processes by Postgresql.<br><br>
Most of these errors are best detected by checking the error log. (just
with AntiVir Products you're in the wild, most of the time. Check their
logfiles!)<br><br>
Harald<br><br>
<br><br>
<br><br>
<br>
On Thu, Apr 23, 2009 at 5:08 AM, Christine Penner
&lt;<a href="mailto:christinep(at)telus(dot)net">christinep(at)telus(dot)net</a>&gt;
wrote:
<dl>
<dd>I get no error. The only way I know its not connected is by trying to
log in to pgAdmin. It tells me the server doesn't listen. Then I told it
to start. Last time that worked. Now it won't start at all but it never
gives any error.<br>

<dd>When I tried to open it with pg_ctl it tells me can not open PID file
(Postmaster.pid). Permission denied. That's odd because I am an
administrative user on Vista and it was working at one point.<br>

<dd>Should Postgres not be in the Program Files directory for Vista?
<dd>In any case how to I fix it. I want to at least get the data out so I
can re load it. I have a backup but its not as recent as I would
like.<br>

<dd>Christine<br>
<br>

<dd>At 10:46 PM 4/21/2009, you wrote:<br><br>

<dl>
<dd>-----BEGIN PGP SIGNED MESSAGE-----
<dd>Hash: SHA1<br>

<dd>Christine Penner wrote:
<dd>&gt; The following bug has been logged online:
<dd>&gt;
<dd>&gt; Bug reference:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4771
<dd>&gt; Logged by:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Christine Penner
<dd>&gt; Email address:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="mailto:christinep(at)telus(dot)net">christinep(at)telus(dot)net</a>
<dd>&gt; PostgreSQL version: 8.3.7
<dd>&gt; Operating system:&nbsp;&nbsp; Vista
<dd>&gt; Description:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Postgres
wont start
<dd>&gt; Details:
<dd>&gt;
<dd>&gt; I have had Postgres running and working on the computer for
about a month. A
<dd>&gt; week ago I started and realized that the Postgres service was
not started. I
<dd>&gt; started it and it worked fine. Today I started up and again
Postgres has not
<dd>&gt; started. I have tried again and again to start it but it won't
start. I have
<dd>&gt; restarted my computer 3 times, shut down programs running that
may interfere
<dd>&gt; but still nothing.
<dd>&gt;
<dd>&gt; I can't find a log file that will give me more info on why it
won't start.
<dd>&gt;<br>

<dd>what is the Error you are getting ?<br>

<dd>go to bin folder of postgres and try to start using pg_ctl<br>

<dd>like :- pg_ctl -D&nbsp; c:/postgres/8.3/...path upto data
folder&nbsp; START<br>
<br>
<br>
<br>
<br>
<br>
<br>

<dd>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
--
<dd>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
regards,tushar
<dd>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="http://webeatoracle.com">http://webeatoracle.com</a>
<dd>-----BEGIN PGP SIGNATURE-----
<dd>Version: GnuPG v1.2.2 (GNU/Linux)<br>

<dd>iD8DBQFJ7q9LfQNodY2PIRoRArjqAKCIfLk/392qYIn+cQY7iy23IPXNxQCgtetG
<dd>8Q7KHYTH/gcd3+WSQnCd/Zw=
<dd>=7r7H
<dd>-----END PGP SIGNATURE-----<br>

<dd>__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4029 (20090422) __________<br>

<dd>The message was checked by ESET NOD32 Antivirus.<br><br>

<dd><a href="http://www.eset.com">http://www.eset.com</a><br>
<br>
<br><br>

</dl>
<dd>--
<dd>Sent via pgsql-bugs mailing list
(<a href="mailto:pgsql-bugs(at)postgresql(dot)org">pgsql-bugs(at)postgresql(dot)org</a>
)
<dd>To make changes to your subscription:
<dd><a href="http://www.postgresql.org/mailpref/pgsql-bugs">
http://www.postgresql.org/mailpref/pgsql-bugs</a><br><br>
</dl><br><br>
<br>
-- <br>
GHUM Harald Massa<br>
persuadere et programmare<br>
Harald Armin Massa<br>
Spielberger Straße 49<br>
70435 Stuttgart<br>
0173/9409607<br>
no fx, no carrier pigeon <br>
-<br>
LASIK good, steroids bad?</blockquote></body>
</html>

Attachment Content-Type Size
unknown_filename text/html 6.1 KB

Browse pgsql-bugs by date

  From Date Subject
Next Message Ted Holzman 2009-04-24 16:07:26 BUG #4780: Aggregate functions are unaware of LIMIT clauses in SELECTs
Previous Message Thomas S. Chin 2009-04-24 14:34:58 Re: BUG #4779: LIMIT/OFFSET behavior change (possibly related to Top-n)