Обсуждение: PG 9.1 on windows setup problem
Hello, I have a strange problem. I'm installing PostgreSQL 9.1 on Windows XP Home SP3 (don't ask!!! :-)) and facing the following problem (pasted from log) --------------------- [...] Starting the database server... Executing cscript //NoLogo "C:\PGSql\installer\server\startserver.vbs" postgresql-9.1 Script exit code: 1 Script output: Starting postgresql-9.1 Failed to start the database server (14) Script stderr: Program ended with an error exit code [...] ------------------ All seems to be OK, initdb seems OK, if I run pg_ctl -D <data dir> start the server starts and populates its log (in \pg_log) with no strange things Antivirus software is disabled Firewall is disabled We have a customized (unattended and parameter-driven) PostgreSQL setup inside out application setup. To exclude even this, I tried to install PG using setup with its own GUI, but no luck. I'd like to know the meaning of that (14) error code, just to dig further in the problem. Also, is there an installation error codes reference somewhere? Thanks Moreno.-
On 04/20/2016 01:57 AM, Moreno Andreo wrote: > Hello, > I have a strange problem. > I'm installing PostgreSQL 9.1 on Windows XP Home SP3 (don't ask!!! :-)) Where did you get the binary/installer? > and facing the following problem (pasted from log) > > --------------------- > [...] > Starting the database server... > Executing cscript //NoLogo "C:\PGSql\installer\server\startserver.vbs" > postgresql-9.1 > Script exit code: 1 > > Script output: > Starting postgresql-9.1 > Failed to start the database server (14) > > Script stderr: > Program ended with an error exit code > [...] > ------------------ > > All seems to be OK, initdb seems OK, if I run > pg_ctl -D <data dir> start > the server starts and populates its log (in \pg_log) with no strange things > Antivirus software is disabled > Firewall is disabled > > We have a customized (unattended and parameter-driven) PostgreSQL setup > inside out application setup. To exclude even this, I tried to install > PG using setup with its own GUI, but no luck. > > I'd like to know the meaning of that (14) error code, just to dig > further in the problem. > Also, is there an installation error codes reference somewhere? Have you looked in startserver.vbs? > > Thanks > Moreno.- > > > -- Adrian Klaver adrian.klaver@aklaver.com
Il 20/04/2016 15:34, Adrian Klaver ha scritto: > On 04/20/2016 01:57 AM, Moreno Andreo wrote: >> Hello, >> I have a strange problem. >> I'm installing PostgreSQL 9.1 on Windows XP Home SP3 (don't ask!!! :-)) > > Where did you get the binary/installer? PostgreSQL official site > >> and facing the following problem (pasted from log) >> >> --------------------- >> [...] >> Starting the database server... >> Executing cscript //NoLogo "C:\PGSql\installer\server\startserver.vbs" >> postgresql-9.1 >> Script exit code: 1 >> >> Script output: >> Starting postgresql-9.1 >> Failed to start the database server (14) >> >> Script stderr: >> Program ended with an error exit code >> [...] >> ------------------ >> >> All seems to be OK, initdb seems OK, if I run >> pg_ctl -D <data dir> start >> the server starts and populates its log (in \pg_log) with no strange >> things >> Antivirus software is disabled >> Firewall is disabled >> >> We have a customized (unattended and parameter-driven) PostgreSQL setup >> inside out application setup. To exclude even this, I tried to install >> PG using setup with its own GUI, but no luck. >> >> I'd like to know the meaning of that (14) error code, just to dig >> further in the problem. >> Also, is there an installation error codes reference somewhere? > > Have you looked in startserver.vbs? Looked now :-) No luck :-( > >> >> Thanks >> Moreno.- >> >> >> > >
On 04/20/2016 07:28 AM, Moreno Andreo wrote: > Il 20/04/2016 15:34, Adrian Klaver ha scritto: >> On 04/20/2016 01:57 AM, Moreno Andreo wrote: >>> Hello, >>> I have a strange problem. >>> I'm installing PostgreSQL 9.1 on Windows XP Home SP3 (don't ask!!! :-)) >> >> Where did you get the binary/installer? > PostgreSQL official site So the EDB installer. I very rarely do an install on Windows, so all I can do is point you at other resources. My guess is you will get an answer sooner from the installer forum: http://forums.enterprisedb.com/forums/show/9.page;jsessionid=34A76CF0B57AA6B2F85D0CA0B7B62D24 >> >> Have you looked in startserver.vbs? > Looked now :-) > No luck :-( >> >>> >>> Thanks >>> Moreno.- >>> >>> >>> >> >> > > > > -- Adrian Klaver adrian.klaver@aklaver.com
Il 20/04/2016 20:58, Adrian Klaver ha scritto: > On 04/20/2016 07:28 AM, Moreno Andreo wrote: >> Il 20/04/2016 15:34, Adrian Klaver ha scritto: >>> On 04/20/2016 01:57 AM, Moreno Andreo wrote: >>>> Hello, >>>> I have a strange problem. >>>> I'm installing PostgreSQL 9.1 on Windows XP Home SP3 (don't ask!!! >>>> :-)) >>> >>> Where did you get the binary/installer? >> PostgreSQL official site > > So the EDB installer. > > I very rarely do an install on Windows, We had over 1000 installations in last 4 years, and about 5-6% had issues, but this one is tough.... everything we have done to clear past issues had no effect on this case. > so all I can do is point you at other resources. My guess is you will > get an answer sooner from the installer forum: > > http://forums.enterprisedb.com/forums/show/9.page;jsessionid=34A76CF0B57AA6B2F85D0CA0B7B62D24 > Thanks a lot, I'll give a try... Cheers, Moreno.
On 04/20/2016 12:26 PM, Moreno Andreo wrote: > Il 20/04/2016 20:58, Adrian Klaver ha scritto: >> On 04/20/2016 07:28 AM, Moreno Andreo wrote: >>> Il 20/04/2016 15:34, Adrian Klaver ha scritto: >>>> On 04/20/2016 01:57 AM, Moreno Andreo wrote: >>>>> Hello, >>>>> I have a strange problem. >>>>> I'm installing PostgreSQL 9.1 on Windows XP Home SP3 (don't ask!!! >>>>> :-)) >>>> >>>> Where did you get the binary/installer? >>> PostgreSQL official site >> >> So the EDB installer. >> >> I very rarely do an install on Windows, > > We had over 1000 installations in last 4 years, and about 5-6% had > issues, but this one is tough.... everything we have done to clear past > issues had no effect on this case. Gotta believe it has do with an OS that is past EOL interacting with an installer that is moving on. Unfortunately I do not spend enough time in Windows to be of help. > >> so all I can do is point you at other resources. My guess is you will >> get an answer sooner from the installer forum: >> >> http://forums.enterprisedb.com/forums/show/9.page;jsessionid=34A76CF0B57AA6B2F85D0CA0B7B62D24 >> > > Thanks a lot, I'll give a try... > > Cheers, > Moreno. > > > -- Adrian Klaver adrian.klaver@aklaver.com