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>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>dir postgres.*<br>
Volume in drive C is ACER<br>
Volume Serial Number is 7C12-D67C<br>
<br>
Directory of C:\Program Files\PostgreSQL\8.3\bin<br>
<br>
01.02.2008 г. 04:00 ч. 3 661 824 postgres.exe<br>
01.02.2008 г. 04:00 ч. 1 092 970 postgres.lib<br>
2 File(s) 4 754 794 bytes<br>
0 Dir(s) 110 786 924 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"><miro(at)space-comm(dot)com></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 |
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 |