trouble installing PH 8.43.D1 for AIX
Brett Greiner
Brett.Greiner at synoptix.co.nz
Wed May 3 20:38:24 CDT 2006
Hi all
The folder was uncompressed when we received the CD. Windows unzipping
software is probably the cause then written to CD.
Thanks to everyone for your help.
Brett.
-----Original Message-----
From: Deskin, Bob [mailto:Bob.Deskin at Cognos.COM]
Sent: Thursday, 4 May 2006 13:30
To: Brett Greiner
Cc: powerh-l at lists.sowder.com
Subject: RE: trouble installing PH 8.43.D1 for AIX
I've just forwarded these messages to our build team leader and will
talk to him tomorrow morning (that would be Thursday over here). It may
be a download issue or it may be the way we got the files onto the CD.
Bob
Bob Deskin
Senior Product Manager, Application Development Tools Cognos Inc. 3755
Riverside Drive, Ottawa ON K1G 4K9 CANADA bob.deskin at cognos.com (613)
738-1338 ext 7268
-----Original Message-----
From: powerh-l-bounces+bob.deskin=cognos.com at lists.sowder.com
[mailto:powerh-l-bounces+bob.deskin=cognos.com at lists.sowder.com]On
Behalf Of Darren Reely
Sent: May 3, 2006 8:54 PM
To: Brett Greiner
Cc: powerh-l at lists.sowder.com
Subject: Re: trouble installing PH 8.43.D1 for AIX
I thought the CD downloads were *.tar.Z files for Unix. The Solaris name
looks something like ph843d1_sol.tar.Z. Is that what you received for
AIX, or was it already decompressed and extracted on the CD. If so,
maybe they used Windows software for that, which might not be a good
idea.
Despite Dirk's response, I found carriage returns in a script will stop
it from running. At least on SunOS. It didn't matter if linefeeds were
also there. I get odd results if only carriage returns are the end of
line. The first run gives the below result well a second does nothing.
When carriage returns + line feeds are the end of line I get the below
result.
Here is my execution and response.
.../dreely-> ./test3.csh
./test3.csh: Command not found.
../dreely->
By the way. It didn't matter if the first line on the script used ksh or
csh in my case.
You could try fixing the files, with the tr command, but your install
file should already be clean.
tr -d "\015" < test3.csh > test4.csh
Darren
Brett Greiner wrote:
>
> The CD we received, came from a COGNOS reseller in New Zealand, which
> they downloaded the Powerhouse from a URL that they were told about
> from COGNOS Canada. This download was written out to a CD and sent to
us.
>
> Thanks
> Brett
>
> -----Original Message-----
> From: powerh-l-bounces+brett.greiner=synoptix.co.nz at lists.sowder.com
> [mailto:powerh-l-bounces+brett.greiner=synoptix.co.nz at lists.sowder.com
> ]
> On Behalf Of Brett Greiner
> Sent: Thursday, 4 May 2006 11:45
> To: Rohde, Dirk
> Cc: powerh-l at lists.sowder.com
> Subject: RE: trouble installing PH 8.43.D1 for AIX
>
>
> Hi Dirk
>
> I assume that you did a "cd" to the directory "<install
> directory>/ph843d1" before running the "./install" command?
> That's correct.
>
> Logged is as root.
> ls -l install displays;
> SYS=/test|root:/apps/cognos/ph843d1>ls -l install
> -rwxrwxrwx 1 root sys 15223 May 01 14:26 install
> SYS=/test|root:/apps/cognos/ph843d1>
>
>
>
> To show you the ^M issue we have and why we assume its in a DOS format
> ....
> SYS=/test|root:/apps/cognos/ph843d1>cat -v setpow.sh ###^M ^M #
> SetPowerHouseServer script for (Bourne) sh users^M # DON'T execute
> this script, 'dot' it e.g.^M
> # . /usr/cognos/ph843d1/setup.sh^M
> # (otherwise, the environment variables will just get lost).^M ^M #
> Maintenance note: the logic to update the user's PATH variable^M #
> assumes that PowerHouse is kept in a directory that contains^M #
> cognos and ph in that order in its directory path.^M
>
>
>
> And running the script seems to fail on a blank file where the ^M is
> the only character...
> SYS=/test|root:/apps/cognos/ph843d1>sh -v setpow.sh ###
>
> setpow.sh[2]: ^M: not found.
> # SetPowerHouseServer script for (Bourne) sh users # DON'T execute
> this script, 'dot' it e.g.
> # . /usr/cognos/ph843d1/setup.sh
> # (otherwise, the environment variables will just get lost).
>
> setpow.sh[7]: ^M: not found.
> # Maintenance note: the logic to update the user's PATH variable #
> assumes that PowerHouse is kept in a directory that contains # cognos
> and ph in that order in its directory path.
>
> setpow.sh[11]: ^M: not found.
> # To change the default location for PowerHouse, do a
> # PH_VER=PowerHouse-version;export PH_VER
> # PH_USR=PowerHouse-location;export PH_USR
> # before .'ing this file (where PowerHouse-location is the # directory
> where PowerHouse is installed and PowerHouse-version is # the version
> of PowerHouse desired.)
>
> setpow.sh[18]: ^M: not found.
> # define default version for PH.
> PH_VER=${PH_VER:=d1}
>
> setpow.sh[21]: ^M: not found.
> if [ ! $?PH_USR ] ; then
> if [ `uname` = "HP-UX" ] ; then
> hpver=`uname -r | cut -f 2 -d .`
> case $hpver in
> ' is not expected.3-057 Syntax error at line 26 : `in
> SYS=/test|root:/apps/cognos/ph843d1>
>
> -----Original Message-----
> From: Rohde, Dirk [mailto:Dirk.Rohde at vpgroup.com]
> Sent: Thursday, 4 May 2006 11:33
> To: Brett Greiner
> Cc: powerh-l at lists.sowder.com
> Subject: RE: trouble installing PH 8.43.D1 for AIX
>
> Carriage returns at the end of each line of a script should not affect
> its execution. It may be a file protection issue. I assume that you
> did a "cd" to the directory "<install directory>/ph843d1" before
> running the "./install" command? When you do an "ls -l install" in
> that directory, what do you see? Are you logged in as the root (or
> similarly privileged) user?
>
> Dirk Rohde
> VantagePoint Systems
>
> -----Original Message-----
> From: powerh-l-bounces+dirk.rohde=vpgroup.com at lists.sowder.com
> [mailto:powerh-l-bounces+dirk.rohde=vpgroup.com at lists.sowder.com] On
> Behalf Of Brett Greiner
> Sent: May 3, 2006 2:44 PM
> To: powerh-l at lists.sowder.com
> Subject: trouble installing PH 8.43.D1 for AIX
>
>
> Hi all
>
> We have received Powerhouse version 8.43.D1 for AIX on CD.
>
> I aliased to the root user and proceeded to copy the PH folder from CD
> onto the AIX box, then we ran the install program by doing the command
> > ./install<enter>.
> AIX responds with ksh: ./install: not found.
>
> By looking at the supplied setpow.sh script in vi, there are ^M at
> then end of the lines, indicating to me that the data written onto the
> CD is in a DOS format.
> Would that be correct to assume why it won't run the install program?
>
> Can anyone help?
>
> Cheers
> Brett
>
>
>
>
>
>
>
--
= = = = = = = = = = = = = = = = = = = = = = = = = = = = Mailing list:
powerh-l at lists.sowder.com
Subscribe: "subscribe" in message body to
powerh-l-request at lists.sowder.com
Unsubscribe: "unsubscribe <password>" in message body to
powerh-l-request at lists.sowder.com
http://lists.sowder.com/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.
Add 'site:lists.sowder.com powerh-l' to your search terms to search the
list archive at Google.
This message may contain privileged and/or confidential
information. If you have received this e-mail in error or are not the
intended recipient, you may not use, copy, disseminate or distribute it;
do not open any attachments, delete it immediately from your system and
notify the sender promptly by e-mail that you have done so. Thank you.
More information about the powerh-l
mailing list