Linux install - error writing to file $ORACLE_HOME/install/utl/unixenv
Date: 11 Jul 2002 01:11:09 -0700
Message-ID: <d2aa5308.0207110011.1ddcf1b5_at_posting.google.com>
Hi all!
I'm trying to install Oracle 9.2.0 Enterprise Edition on a machine
running Debian GNU/Linux 3.0 (Woody).
The installer always stops at about 4% of the common installation,
telling me there was an error writing to
/opt/oracle/OraHome1/install/utl/unixenv
and leaving me no other option than to retry or cancel. Retry doesn't work, so I don't really get past this point. $ORACLE_HOME is /opt/oracle/OraHome1 as one might have guessed already.
I already checked the filesystem and found no errors, so the write error can't be the result of a media defect.
Anyone got a hint on that problem?
Thanks in advance,
Lars Weber
P.S.: after cancelling the installation the content of that generated file unixenv is:
#!/bin/sh
#
# $Header: unixenv 22-jun-00.17:29:42 menash Exp $ Copyr (c) 1994
Oracle
#
# unixenv Report details of the current unix environment
#
# This is intended to be a portable shell script to dump
out
# the main Unix configuration details for a given
platform.
# A number of 'standard' commands are tried to gather
the
# relevant information. The script is not guaranteed to
# work.
#
echo " " echo "Machine Environment:" echo "--------------------" echo " "
#
# Which echo to use ?
#
if `echo -n| grep n >/dev/null 2>&1` ; then
ECHO="echo" NC='\c' else ECHO="echo -n" NC=""
fi;
#
(
init()
{
PREV=1;
echo $1
}
tryit()
{
if [ $PREV -ne 0 ] ; then
if $* ; then
PREV=$? echo "[From $*]"
fi;
fi;
}
echo " " echo "User: `id`" echo "Current Directory: `pwd`" init "Machine: {" tryit uname -X tryit uname -a tryit uname init " " tryit hostname
echo "}"
init "Ulimit: {"
(ulimit -a) PREV=$? tryit csh -f -c limit if [ $PREV -ne 0 ]; then (ulimit) fi; echo "}" init "Swap: {" tryit swapinfo -l tryit /etc/swapinfo -l tryit swap -l tryit /etc/swap -l tryit /etc/pstat -s tryit sar -r 1 1 tryit vmstat echo "}" init "Disk Mounts: {" tryit mount tryit /etc/mount echo "}"
init "Disk Free: {"
tryit df -k
tryit df echo "}" init "Environment: {" env | sort
echo "}"
init "System Tables: {"
tryit sar -v 1 1 tryit /etc/pstat -T
echo "}"
init "Semaphores: {"
tryit ipcs -sa init " " tryit /etc/sysdef | grep SEM
echo "}"
init "Shared Mem: {"
tryit ipcs -ma init " " tryit /etc/sysdef | grep SHM
echo "}"
OT="x"
if [ -r /var/opt/oracle/oratab ]; then
OT=/var/opt/oracle/oratab
else if [ -r /etc/oratab ]; then
OT=/etc/oratab
fi;
fi;
if [ "$OT" $* ; thethen
OT=/e" " t $* tryitSHM e1 "^#" $*if [ "}" OT="x$"ech "T/oring tr $NCyit givirma dbx xdb sdb adb t/ored tuss prss crxp $kcrxp $debug gdb st/oreddg_st/ore do id`"( $i ) <null 2>&1` ; t 1/null 2>&1`|SHM e1i 'uaraf ecmma> null 2>&1 id`"$PREV ?0 ] ; then
iho $"ech "$i $NCyit ;
f
dono "}"
init " "
echo )` ;null 2>&1`| awk 'BEGINtr pfxi;
}REVt ;/}$/ tr pfxi;
}REVt r prdedf "%s%s\n",pfx,$0 };
}t ;/\{$/ r pfxi;
}'
Received on Thu Jul 11 2002 - 10:11:09 CEST