Re: Sqlnet V1 installation on SUN clients

From: joseph.m.miklewicz <jmjm_at_cbnewsm.cb.att.com>
Date: Wed, 5 May 1993 19:20:04 GMT
Message-ID: <C6KJ1M.KG3_at_cbnewsm.cb.att.com>


In article <1993May5.044118.15968_at_oracle.us.oracle.com> rmanalac_at_oracle.com writes:
>jmjm_at_cbnewsm.cb.att.com (joseph.m.miklewicz) writes:
>|> I am trying to install SQLNET V1 from the Oracle 7.0.12 cdrom
>|> distribution on my SUN IPX running 4.1.2.
>|>
>|> I have created a UNIX user called oracle and a group called dba. Created
>|> a home directory of /u01/home/oracle for oracle
>|>
>|> drwxr-xr-x 5 root wheel 512 Apr 30 10:44 /u01
>|> drwxrwxrwx 3 root wheel 512 Apr 30 10:44 /u01/home
>|> drwxr-xr-x 7 oracle dba 512 Apr 30 14:06 /u01/home/oracle
>|> drwxr-xr-x 3 oracle dba 512 Apr 30 10:58 product
>|> drwxr-xr-x 11 oracle dba 512 Apr 30 12:36 product/7.0.12
>|>
>|> I have mounted the cdrom as:
>|>
>|> mount -r -t hsfs /dev/sr0 /cdrom
>|>
>|> the permissions on the directory tree down to orainst are:
>|>
>|> dr-xr-xr-x 2 root wheel 2048 Jan 28 21:52 /cdrom
>|> drwxr-xr-x 32 9741 643 4096 Jan 29 06:56 /cdrom/oracle
>|> drwxr-xr-x 2 9741 643 6144 Jan 28 21:51 /cdrom/oracle/orainst
>|>
>|> I am running openwindows when I do this so in an xterm window I "su -" from
>|> me to "oracle".
>|>
>|> I cd to /cdrom/oracle/orainst and type in ./orainst. ( My ORACLE_HOME is
>|> set to /u01/home/oracle/product/7.0.12 and my ORACLE_BASE is set to
>|> /u01/home/oracle. )
>|>
>|> The installer asks me what I want to use for ORACLE_HOME and offers me
>|> /u01/home/oracle/product/7.0.12 as the default. I take the default, the
>|> installed changes to the next screen and prints the error message:
>|>
>|> sh: getwd: can't open ..
>|>
>|> and fails. I have tried everything I can think of in terms of checking
>|> permissions, etc. and am getting nowhere. I can get the software
>|> installed if I log in as root. ( I am only installing the SQLNET V1
>|> software, not the oracle kernel. )
>|>
>|> Anybody run into this??!!! Anybody have any ideas as to what the problem
>|> is?
>|>
>|> Thanks,
>|> --
>|> Joe Miklewicz 908-949-3061 jmjm_at_hogpa.att.com
>

Thanks to all who replied. To those of you who mentioned the "."'s at the end of the filenames - I have only seen that happen on SUNOS 4.1.1. 4.1.2 understands the rock ridge cdrom format just fine.

My problem had to do with the way getwd works. The .. it couldn't open was the mount point of the filesysytem (/u01). getwd doesn't consider the fact that /u01 is a filesystem mount point. It looks /u01 as if there was no filesystem mounted there. When I umount'ed /u01 the permissions were:

drwxr-x--- 5 root wheel 512 Apr 30 10:44 /u01

as opposed to:

drwxr-xr-x 5 root wheel 512 Apr 30 10:44 /u01

when the filesystem was mounted on it. With the filesystem umount'ed I

chmod 755 /u01

re-mount'ed the filesystem and everything worked fine.

BTW - some of the UNIX tools fail on getwd in this situation as well. If I was cd'ed to /u01 and did a find . -print, find would return the same getwd error!

-- 
Joe Miklewicz	908-949-3061	jmjm_at_hogpa.att.com
Received on Wed May 05 1993 - 21:20:04 CEST

Original text of this message