Bad initdb output: 'initdb'
[email protected] (Brian FCC via dbd-pg) Mon, 28 Mar 2022 19:35:45 +0000 (UTC)
| Newsgroups | perl.dbd.pg |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_863581_1951907950.1648496145858 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, This is my first submission to this site, so apologies if I'm going about t= his the wrong way and please do let me know the preferred way. My work has a PostgreSQL server that I connect to from my development deskt= op computer via Perl scripts and PgAdmin 4.=C2=A0 This development computer= is a 64-bit Windows 10 CPU.=C2=A0 I installed Strawberry Perl in 2015 and then the necessary CPAN modules nee= ded for my various apps. =C2=A0 =C2=A0 I have upgraded Strawberry perl and the CPAN modules on a regular basis sin= ce 2015.=C2=A0 I have never had PostgreSQL installed on my development comp= uter.=C2=A0 Nor have I ever set the DBI_* environment variables.=C2=A0 The = CPAN install of DBD::Pg always worked seamlessly until last week when I beg= an getting a 'initdb' error.=C2=A0 Here are the specifics: =C2=A0 =C2=A0# DBI=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 Version 1.643 =C2=A0# DBD::Pg=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Version 3.15.1 =C2=A0# Perl=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= Version 5.30.2 =C2=A0# OS=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0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0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 initdb =C2=A0# Error was: Bad initdb output: 'initdb' is not recognized as an inte= rnal or external command, =C2=A0# operable program or batch file. Is there a reason the 'initdb' error is appearing now after nearly 7 years?= =C2=A0 Do I need to install PostgreSQL on my development computer just to g= et past this error?=C2=A0 Thinking that there may be a bug in the current v= ersion of Strawberry Perl or the CPAN modules, I installed a prior version = of them all and am still getting the 'initdb' error. Many thanks in advance for any information about this issue. Brian ------=_Part_863581_1951907950.1648496145858 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <html><head></head><body><div class=3D"yahoo-style-wrap" style=3D"font-fami= ly:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div dir= =3D"ltr" data-setdir=3D"false"><div dir=3D"ltr" data-setdir=3D"false"><div>= Hello,</div><div><br></div><div dir=3D"ltr" data-setdir=3D"false">This is m= y first submission to this site, so apologies if I'm going about this the w= rong way and please do let me know the preferred way.<br></div><div><br></d= iv><div>My work has a PostgreSQL server that I connect to from my developme= nt desktop computer via Perl scripts and PgAdmin 4. This development = computer is a 64-bit Windows 10 CPU.</div> <br>I installed Strawberry = Perl in 2015 and then the necessary CPAN modules needed for my various apps= . <br> <br>I have upgraded Strawberry perl and the CPAN modules = on a regular basis since 2015. I have never had PostgreSQL installed = on my development computer. Nor have I ever set the DBI_* environment= variables. The CPAN install of DBD::Pg always worked seamlessly unti= l last week when I began getting a 'initdb' error. Here are the speci= fics:<br> <br> # DBI &nb= sp; = Version 1.643<br> # DBD::Pg = &nb= sp; Version 3.15.1<br> # Perl  = ; &n= bsp; Version 5.30.2<br> # OS= &nb= sp; = MSWin32<br> # PostgreSQL (compiled) &nbs= p; ?<br> # PostgreSQL (target) &nbs= p; ?<br> # PostgreSQL (reported) &n= bsp; ?<br> # Default port &nb= sp; ?<br> # DBI_DSN &nb= sp; = dbi:Pg:dbname=3Ddb_xyz_appname<br>&nbs= p;# DBI_USER &nb= sp; fte_MyName<br> # T= est schema  = ; dbd_pg_testschema<br> # LANG &nbs= p; &= nbsp; C<br> # Adjusted= : &n= bsp; initdb<br> # Error was: Bad initdb = output: 'initdb' is not recognized as an internal or external command,<br>&= nbsp;# operable program or batch file.<br><br><br>Is there a reason the 'in= itdb' error is appearing now after nearly 7 years? Do I need to insta= ll PostgreSQL on my development computer just to get past this error? = Thinking that there may be a bug in the current version of Strawberry Perl= or the CPAN modules, I installed a prior version of them all and am still = getting the 'initdb' error.<br><br>Many thanks in advance for any informati= on about this issue.<br><br>Brian<br><br></div><div><br></div></div></div><= /body></html> ------=_Part_863581_1951907950.1648496145858--