Re: The system cannot execute the specified program in windows xp (service pack 3)

From: "prabakaran(dot)a" <prabakaran(dot)a(at)zohocorp(dot)com>
To: John R Pierce <pierce(at)hogranch(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: The system cannot execute the specified program in windows xp (service pack 3)
Date: 2011-01-05 11:24:35
Message-ID: 12d55ebd77a.1634763444902808339.8828991370113326099@zohocorp.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks for your help.
But now facing new problem. While running the "initdb.exe -D ..\data -E UTF-8 --locale=C -U postgres" command the following unknown language printed. This should be in english.
Please help me out.

Filerna tillhörande databasen kommer att ägas av användaren "Administra
Denna användare måste också köra server-processen.

Databasklustret kommer initieras med lokalen C.
Databasens standardtextsökningskonfiguration har satts till "english".

skapar katalog ../data ... ok
skapar underkataloger ... ok
väljer initialt värde för max_connections ... 100
väljer initialt värde för shared_buffers ... 32MB
skapar konfigurationsfiler ... ok
skapar databasen template1 i ../data/base/1 ... ok
initierar pg_authid ... ok
initierar beroenden ... ok
skapar systemvyer ... ok
laddar systemobjektens beskrivningar ... ok
skapar konverteringar ... ok
skapar kataloger ... ok
sätter rättigheter för inbyggda objekt ... ok
skapar informationsschema ... ok
loading PL/pgSQL server-side language ... ok
kör vacuum på databasen template1 ... ok
kopierar template1 till template0 ... ok
kopierar template1 till postgres ... ok

VARNING: slår på autentiseringsmetod "trust" för lokala anslutningar.
Du kan ändra detta genom att redigera pg_hba.conf eller använda
flaggan -A nästa gång du kör initdb.

Det lyckadas. Du kan nu starta databasservern med:

"postgres" -D "../data"
eller
"pg_ctl" -D "../data" -l logfil start

Thanks,

Prabakaran A

---- On Fri, 31 Dec 2010 03:13:54 +0530 John R Pierce &lt;pierce(at)hogranch(dot)com&gt; wrote ----

On 12/30/10 6:39 AM, prabakaran.a wrote:
&gt; Dear All,
&gt;
&gt; We are using Postgresql 9.0.1(binary) in our Java Application.
&gt;
&gt; In some windows xp sp3 machines, we found that the executable files
&gt; related to postgresql are not working. while executing those files(ex:
&gt; initdb.exe), following error thrown in console "The system cannot
&gt; execute the specified program" .Other executable files not related to
&gt; postgresql working fine.
&gt;
&gt; By comparing working and non-working machines, came to know that some
&gt; *.VC90.* files and directories are missing from C:\Windows\WinSxS\
&gt; Then we copied *.VC90.* related files and directories from
&gt; C:\Windows\WinSxS\Manifests\ ,C:\Windows\WinSxS\Policies\ (working
&gt; system) to non-working system.
&gt; After that, executable files under postgresql seems to be working but
&gt; facing locale problems.(ex:Informations are in swedish).
&gt;
&gt; If any one knows please help me out.

Blindly copying files into the Windows "Side by Side" assembly cache
sounds very sketchy to me.

My guess is, those systems need the VC90 runtime redistributables
package installed.

http://www.microsoft.com/downloads/en/details.aspx?familyid=a5c84275-3b97-4ab7-a40d-3802b2af5fc2&amp;displaylang=en
&lt;http://www.microsoft.com/downloads/en/details.aspx?familyid=a5c84275-3b97-4ab7-a40d-3802b2af5fc2&amp;displaylang=en&gt;

In response to

Browse pgsql-general by date

  From Date Subject
Next Message tuanhoanganh 2011-01-05 12:49:15 Re: How to build plperl with PostgreSQL 9 on Windows
Previous Message Craig Ringer 2011-01-05 10:50:11 Re: UUID column as pimrary key?