Re: BUG #3980: Can not Install PostgreSQL - error at the end of installation

From: Miroslav Nachev <miro(at)space-comm(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: mha(at)hagander(dot)net, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #3980: Can not Install PostgreSQL - error at the end of installation
Date: 2008-02-25 16:56:37
Message-ID: 47C2F345.3030704@space-comm.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I can not start that command because:<br>
<br>
C:\Program Files\PostgreSQL\8.3\bin&gt;initdb -D ../data<br>
The program "postgres" is needed by initdb but was not found in the<br>
same directory as "C:\Program Files\PostgreSQL\8.3\bin/initdb".<br>
Check your installation.<br>
<br>
In the same time there are 2 files with that name:<br>
C:\Program Files\PostgreSQL\8.3\bin&gt;dir postgres.*<br>
&nbsp;Volume in drive C is ACER<br>
&nbsp;Volume Serial Number is 7C12-D67C<br>
<br>
&nbsp;Directory of C:\Program Files\PostgreSQL\8.3\bin<br>
<br>
01.02.2008 &#1075;.&nbsp; 04:00 &#1095;.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3&nbsp;661&nbsp;824 postgres.exe<br>
01.02.2008 &#1075;.&nbsp; 04:00 &#1095;.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;092&nbsp;970 postgres.lib<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2 File(s)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4&nbsp;754&nbsp;794 bytes<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 Dir(s)&nbsp; 110&nbsp;786&nbsp;924&nbsp;544 bytes free<br>
<br>
<br>
Miro.<br>
<br>
Dave Page wrote:
<blockquote
cite="mid:937d27e10802250748q30052f7au4fe00b6a07cfa1ce(at)mail(dot)gmail(dot)com"
type="cite">
<pre wrap="">On Mon, Feb 25, 2008 at 3:39 PM, Miroslav Nachev <a class="moz-txt-link-rfc2396E" href="mailto:miro(at)space-comm(dot)com">&lt;miro(at)space-comm(dot)com&gt;</a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">

To get up and running though, you should be able to install with
initdb disabled and then run it manually from the commandline.

How to do the above?
</pre>
</blockquote>
<pre wrap=""><!---->
When you install, un-check the initdb option on the initdb page of the
wizard. Then, initialise the cluster after installation by running a
command like:

initdb -D ../data

from the PostgreSQL command prompt window (there's a shortcut on the
start menu). See
<a class="moz-txt-link-freetext" href="http://www.postgresql.org/docs/8.3/interactive/app-initdb.html">http://www.postgresql.org/docs/8.3/interactive/app-initdb.html</a> for
more info on the initdb options.

Once that's done you should register PostgreSQL as a service - see the
'register' mode of pg_ctl:
<a class="moz-txt-link-freetext" href="http://www.postgresql.org/docs/8.3/interactive/app-pg-ctl.html">http://www.postgresql.org/docs/8.3/interactive/app-pg-ctl.html</a>

Those steps are roughly what the installer normally does for you.

</pre>
</blockquote>
<br>
</body>
</html>

Attachment Content-Type Size
unknown_filename text/html 2.6 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Dave Page 2008-02-25 17:14:53 Re: BUG #3980: Can not Install PostgreSQL - error at the end of installation
Previous Message Dave Page 2008-02-25 15:48:05 Re: BUG #3980: Can not Install PostgreSQL - error at the end of installation