Thread: BUG #5627: Can not install on POSReady 2009

BUG #5627: Can not install on POSReady 2009

From
"Johnny Wang"
Date:
The following bug has been logged online:

Bug reference:      5627
Logged by:          Johnny Wang
Email address:      johnny@justgogo.net
PostgreSQL version: 8.3.4
Operating system:   Windows Embedded POSReady 2009
Description:        Can not install on POSReady 2009
Details:

Dear Sir,

When we try to install the PG 8.3.4 on XP POSReady 2009 operating system,
but we always got an error message "Failed to set permissions on the
installed files. Please see the logfile in C:\Program Files\tmp\pgperm.log."
!!

** Download Microsoft XP POSReady 2009:
http://www.microsoft.com/downloads/details.aspx?FamilyID=1E077ECE-3F19-4C41-
B219-6FCC821FB5FC&displaylang=en&displaylang=en

Thanks,
Johnny

Re: BUG #5627: Can not install on POSReady 2009

From
Robert Haas
Date:
On Mon, Aug 23, 2010 at 6:27 AM, Johnny Wang <johnny@justgogo.net> wrote:
> When we try to install the PG 8.3.4 on XP POSReady 2009 operating system,
> but we always got an error message "Failed to set permissions on the
> installed files. Please see the logfile in C:\Program Files\tmp\pgperm.log."
> !!

At the risk of asking an obvious question, what are the contents of
that logfile?

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company

Re: BUG #5627: Can not install on POSReady 2009

From
Johnny Wang
Date:
Dear Mr. Robert Haas,

You also can browse the Microsoft web page for more information as below:
http://support.microsoft.com/kb/162786/en

<http://support.microsoft.com/kb/162786/en>Thanks,
Johnny Wang

Johnny Wang <johnny@justgogo.net> =A9=F3 2010=A6~8=A4=EB24=A4=E9=A4W=A4=C81=
0:03 =BCg=B9D=A1G

> Dear Mr. Robert Haas,
>
> Please refer to the attachment for the detailed logs of PostgreSQL
> installation.
>
> It mentioned "'cacls' =A4=A3=ACO=A4=BA=B3=A1=A9=CE=A5~=B3=A1=A9R=A5O=A1B=
=A5i=B0=F5=A6=E6=AA=BA=B5{=A6=A1=A9=CE=A7=E5=A6=B8=C0=C9=A1C" in Chinese.
>
> Thanks,
> Johnny Wang
>



> 2010/8/23 Robert Haas <robertmhaas@gmail.com>
>
> On Mon, Aug 23, 2010 at 6:27 AM, Johnny Wang <johnny@justgogo.net> wrote:
>> > When we try to install the PG 8.3.4 on XP POSReady 2009 operating
>> system,
>> > but we always got an error message "Failed to set permissions on the
>> > installed files. Please see the logfile in C:\Program
>> Files\tmp\pgperm.log."
>> > !!
>>
>> At the risk of asking an obvious question, what are the contents of
>> that logfile?
>>
>> --
>> Robert Haas
>> EnterpriseDB: http://www.enterprisedb.com
>> The Enterprise Postgres Company
>>
>
>
>

Re: BUG #5627: Can not install on POSReady 2009

From
Johnny Wang
Date:
Dear Mr. Robert Haas,
 
Please refer to the attachment for the detailed logs of PostgreSQL installation.
 
It mentioned "'cacls' 不是內部或外部命令、可執行的程式或批次檔。" in Chinese.
 
Thanks,
Johnny Wang
2010/8/23 Robert Haas <robertmhaas@gmail.com>
On Mon, Aug 23, 2010 at 6:27 AM, Johnny Wang <johnny@justgogo.net> wrote:
> When we try to install the PG 8.3.4 on XP POSReady 2009 operating system,
> but we always got an error message "Failed to set permissions on the
> installed files. Please see the logfile in C:\Program Files\tmp\pgperm.log."
> !!

At the risk of asking an obvious question, what are the contents of
that logfile?

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company



--
Johnny Wang / 平台開發事業群
E-mail: johnny@justgogo.net
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Justgogo 企業e化商務整合平台
URL: http://www.justgogo.tw
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Sunstar International Co.,Ltd.(星晴國際)
TEL: 886-2-6636-2558
FAX: 886-2-6636-8698
ADDR: 台北市110信義區東興路43號9樓
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

Attachment

Re: BUG #5627: Can not install on POSReady 2009

From
Alvaro Herrera
Date:
Excerpts from Johnny Wang's message of lun ago 23 22:03:06 -0400 2010:
> Dear Mr. Robert Haas,
>
> Please refer to the attachment for the detailed logs of PostgreSQL
> installation.
>
> It mentioned "'cacls' 不是內部或外部命令、可執行的程式或批次檔。" in Chinese.

Since most of us can't read Chinese, it would have been a good idea to
provide a translation.

According to machine translation, what this says is

'Cacls' is not an internal or external command, operable program or batch file.

This seems more a problem with your Windows installation than anything.
Maybe you have messed up the PATH variable.

--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

Re: BUG #5627: Can not install on POSReady 2009

From
Magnus Hagander
Date:
On Tue, Aug 24, 2010 at 19:15, Alvaro Herrera
<alvherre@commandprompt.com> wrote:
> Excerpts from Johnny Wang's message of lun ago 23 22:03:06 -0400 2010:
>> Dear Mr. Robert Haas,
>>
>> Please refer to the attachment for the detailed logs of PostgreSQL
>> installation.
>>
>> It mentioned "'cacls' =A4=A3=ACO=A4=BA=B3=A1=A9=CE=A5~=B3=A1=A9R=A5O=A1B=
=A5i=B0=F5=A6=E6=AA=BA=B5{=A6=A1=A9=CE=A7=E5=A6=B8=C0=C9=A1C" in Chinese.
>
> Since most of us can't read Chinese, it would have been a good idea to
> provide a translation.
>
> According to machine translation, what this says is
>
> 'Cacls' is not an internal or external command, operable program or batch=
 file.
>
> This seems more a problem with your Windows installation than anything.
> Maybe you have messed up the PATH variable.

Seems this is XP embedded? Does it even come with cacls?


--=20
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

Re: BUG #5627: Can not install on POSReady 2009

From
Alvaro Herrera
Date:
Excerpts from Alvaro Herrera's message of mar ago 24 13:15:41 -0400 2010:

> According to machine translation, what this says is
>
> 'Cacls' is not an internal or external command, operable program or batch file.
>
> This seems more a problem with your Windows installation than anything.
> Maybe you have messed up the PATH variable.

Ah, you need to install an optional component
http://msdn.microsoft.com/en-us/library/dd458846(WinEmbedded.20).aspx

--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

Re: BUG #5627: Can not install on POSReady 2009

From
Johnny Wang
Date:
Thanks Alvaro!
There are so many optional components are in the POSReady 2009 installation
media.
But which one should we install?

2010/8/25 Alvaro Herrera <alvherre@commandprompt.com>

> Excerpts from Alvaro Herrera's message of mar ago 24 13:15:41 -0400 2010:
>
> > According to machine translation, what this says is
> >
> > 'Cacls' is not an internal or external command, operable program or bat=
ch
> file.
> >
> > This seems more a problem with your Windows installation than anything.
> > Maybe you have messed up the PATH variable.
>
> Ah, you need to install an optional component
> http://msdn.microsoft.com/en-us/library/dd458846(WinEmbedded.20).aspx
>
> --
> =C1lvaro Herrera <alvherre@commandprompt.com>
> The PostgreSQL Company - Command Prompt, Inc.
> PostgreSQL Replication, Consulting, Custom Development, 24x7 support
>

Re: BUG #5627: Can not install on POSReady 2009

From
Johnny Wang
Date:
Dear Hagander,
You are right!  I can not find the 'CALCS' command-line utility in the POS
Ready 2009.

Magnus Hagander <magnus@hagander.net> =A9=F3 2010=A6~8=A4=EB25=A4=E9=A4W=A4=
=C81:17 =BCg=B9D=A1G

> On Tue, Aug 24, 2010 at 19:15, Alvaro Herrera
> <alvherre@commandprompt.com> wrote:
> > Excerpts from Johnny Wang's message of lun ago 23 22:03:06 -0400 2010:
> >> Dear Mr. Robert Haas,
> >>
> >> Please refer to the attachment for the detailed logs of PostgreSQL
> >> installation.
> >>
> >> It mentioned "'cacls' =A4=A3=ACO=A4=BA=B3=A1=A9=CE=A5~=B3=A1=A9R=A5O=
=A1B=A5i=B0=F5=A6=E6=AA=BA=B5{=A6=A1=A9=CE=A7=E5=A6=B8=C0=C9=A1C" in Chines=
e.
> >
> > Since most of us can't read Chinese, it would have been a good idea to
> > provide a translation.
> >
> > According to machine translation, what this says is
> >
> > 'Cacls' is not an internal or external command, operable program or bat=
ch
> file.
> >
> > This seems more a problem with your Windows installation than anything.
> > Maybe you have messed up the PATH variable.
>
> Seems this is XP embedded? Does it even come with cacls?
>
>
> --
>  Magnus Hagander
>  Me: http://www.hagander.net/
>  Work: http://www.redpill-linpro.com/
>

Re: BUG #5627: Can not install on POSReady 2009

From
Johnny Wang
Date:
Hi Alvaro,

Thanks, I got it!  The 'CACLS' command-line utilities is an optional
component.  But, I do not know why this tool was not included in the default
install list for XP Embedded POS Ready 2009?

So that means the PG installer should detect if 'CACLS' is exist and warn
the user?

2010/8/25 Johnny Wang <johnny@justgogo.net>

> Thanks Alvaro!
> There are so many optional components are in the POSReady 2009 installati=
on
> media.
> But which one should we install?
>
> 2010/8/25 Alvaro Herrera <alvherre@commandprompt.com>
>
> Excerpts from Alvaro Herrera's message of mar ago 24 13:15:41 -0400 2010:
>>
>> > According to machine translation, what this says is
>> >
>> > 'Cacls' is not an internal or external command, operable program or
>> batch file.
>> >
>> > This seems more a problem with your Windows installation than anything.
>> > Maybe you have messed up the PATH variable.
>>
>> Ah, you need to install an optional component
>> http://msdn.microsoft.com/en-us/library/dd458846(WinEmbedded.20).aspx
>>
>> --
>> =C1lvaro Herrera <alvherre@commandprompt.com>
>> The PostgreSQL Company - Command Prompt, Inc.
>> PostgreSQL Replication, Consulting, Custom Development, 24x7 support
>>
>
>

Re: BUG #5627: Can not install on POSReady 2009

From
"Daniel Gochin"
Date:
Hi Johnny,

What did you do to fix the problem?

Regards,
Daniel.