From: jinu.mail@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #8134: initdb failed to execute
Date: Sat, 04 May 2013 20:01:53 +0000
Message-ID: <E1UYieX-0001lJ-6A@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 8134
Logged by: Jinu KJ
Email address: jinu.mail@gmail.com
PostgreSQL version: 9.2.3
Operating system: Windows XP
Description:
Hi,
We are trying install postgresql 9.2.3 version for windows xp.
Below issue happen only for this particular PC.
Other windows XP installations are ok.
Here initdb command failed mentioning that , it is able to find postgres ,
but version mismatched.
Below code print this.
--->
postgresql-9.2.3\src\bin\initdb\initdb.c
line 2884 :
if ((ret = find_other_exec(argv[0], "postgres", PG_BACKEND_VERSIONSTR,
backend_exec)) < 0)
{
char full_path[MAXPGPATH];
if (find_my_exec(argv[0], full_path) < 0)
strlcpy(full_path, progname, sizeof(full_path));
if (ret == -1)
fprintf(stderr,
_("The program \"postgres\" is needed by %s "
"but was not found in the\n"
"same directory as \"%s\".\n"
"Check your installation.\n"),
progname, full_path);
else
fprintf(stderr,
_("The program \"postgres\" was found by \"%s\"\n"
"but was not the same version as %s.\n"
"Check your installation.\n"),
full_path, progname);
exit(1);
}
----->
We compared the versions of both initdb.exe and postgres.exe using -V
option.
Both print 9.2.3.
Also data folder is not created.
Please let me know whether it is due to some issue with user permissions ??
Please let me know what can be the reason for this issue.
Thanks,
Jinu
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: jinu.mail@gmail.com
Subject: Re: BUG #8134: initdb failed to execute
In-Reply-To: <E1UYieX-0001lJ-6A@wrigleys.postgresql.org>
References: <E1UYieX-0001lJ-6A@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox