trouble installing PH 8.43.D1 for AIX
Brett Greiner
Brett.Greiner at synoptix.co.nz
Wed May 3 18:44:56 CDT 2006
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.
More information about the powerh-l
mailing list