11-08-2002
Have you set your display back to your p.c. (or workstation ) you are connecting from? Normally this would give a different error (can't open display) but it's possible.
Once you sign into the server via Exceed, set display to your IP address (from workstation)
Either setenv DISPLAY xxx.xxx.xxx.xxx:0
or
export DISPLAY=xxx.xxx.xxx.xxx:0
Also, you either need to be root or oracle user to do the install - follow the instructions that come with the product. You would proabably have to set up the oracle user and create the proper environment for it. Then do a su - to that user. Check your documentation.
The only other possible issue I can think of is that you don't have the correct path for java. Again, this should be documented in the installation guide.
Here is an example only of some of the steps in other types of Oracle installations: Note - I did put 'example only' - follow your documentation!!!
From SunSolve:
SETTING UP AN ORACLE USER AND LOADING ORACLE
Create oracle users and add a group called dba to the /etc/group file
Make sure the oracle userid is the same on both nodes.
Here's the group file:
root::0:root
other::1:
bin::2:root,bin,daemon
sys::3:root,bin,sys,adm
adm::4:root,adm,daemon
uucp::5:root,uucp
mail::6:root
tty::7:root,tty,adm
lp::8:root,lp,adm
nuucp::9:root,nuucp
staff::10:
daemon::12:root,daemon
sysadmin::14:
nobody::60001:
noaccess::60002:
dba::6003:oracle
1. cp /etc/skel/local.cshrc and local.login to oracle's home directory
2. Edit .cshrc and add the oracle environment:
# @(#)cshrc 1.11 89/11/29 SMI
umask 022
set path=(/bin /usr/bin /usr/ucb /etc /export/oracle/7.1.6/bin .)
setenv ORACLE_SID oracle
setenv ORACLE_HOME /export/oracle/7.1.6
if ( $?prompt ) then
set history=32
endif
NOTE: Oracle recommends making the ORACLE_SID parameter different on each node.
They recommend that you use the name of the database and a 1 and 2 after
it. For example, oracle1 and oracle2.
3. Make a directory called 7.1.6 (the oracle rev) in oracle's home directory.
This is where all the oracle executables will go.
4. Make sure .rhosts and hosts.equiv are set up so that you can rcp files back
and forth. When you install oracle, you install on one machine and the
installation program copies files to the second node.
5. Edit /etc/system and add the following section for shared memory to the
bottom of the file:
*
* set up shared memory for oracle
set semsys:seminfo_semmni=70
set semsys:seminfo_semmns=200
set shmsys:shminfo_shmmin=1
set shmsys:shm_info_shmmni=100
set shmsys:shm_info_shmseg=10
set shmsys:shminfo_shmmax=8388608
set semsys:seminfo_semmsl=50
NOTE: Before you begin installing oracle, make sure that the pdb is running
and all the volumes are owned by oracle.
6. Mount the oracle cdrom:
# mount -r -F hsfs /dev/dsk/c0t6d0s0 /cdrom
7. Run the orainst program as oracle:
% cd /cdrom/oracle/orainst
8. Set ORACLE_TERM to xsun if in xterm. Set ORACLE_TERM to sun if in cmdtool
% setenv ORACLE_TERM xsun
% orainst
disabled smilies --oombera
Last edited by oombera; 02-16-2004 at 01:31 PM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Having the following message returned:
FIND REDLOG FILES.....
ksh: dbfFILe: parameter not set
When I attempt to perform the script below....#!/bin/ksh
. $HOME/.profile
# Initial Script Prerequisites
ORACLE_SID=MDirect ; export ORACLE_SID
REDOLOGDIR=$ARCLOGDEST ; export REDOLOGDIR... (2 Replies)
Discussion started by: Cameron
2 Replies
2. Shell Programming and Scripting
Say I write something like the following:
var1=1
var2=2
for int in 1 2
do
echo "\$var$int"
done
I want the output to be:
1
2
Instead I get something like:
$var1
$var2 (2 Replies)
Discussion started by: Awanka
2 Replies
3. UNIX and Linux Applications
hi, linux gurus...
i'm trying to write a script in ksh called ResetPass that allows a user to change mysql passwords. the script accepts user, password and host like this: ResetPass <user> <password> <host>. here's the code:
*****************************************************
mysql... (1 Reply)
Discussion started by: ankimo
1 Replies
4. Shell Programming and Scripting
Hi, i have this script
setenv.sh
if
then
echo "is empty"
fi
echo "done"
The following is the result when i run the script from command without and with a dot and space operator
$ setenv.sh
is empty
done
$ . setenv.sh
sh: VAR_1: Parameter not set.
$
It's our standard to run... (5 Replies)
Discussion started by: ysrini
5 Replies
5. Shell Programming and Scripting
Hi
I am looking for a unix command or a small shell script which can takes one parameter and then searches for the passed in the parameter in any or all files under say /home/dev/
Can anyone please help me on this? (3 Replies)
Discussion started by: pankaj80
3 Replies
6. Programming
Hi,
I have this following code which gives me error when compiling. The problem is happening at the point where I create a const_iterator inside the overloaded insertion operator (i.e) operator << () function. The template argument version of set is not correct I guess. Could anyone please pitch... (3 Replies)
Discussion started by: royalibrahim
3 Replies
7. Shell Programming and Scripting
i am passing input parameter 'one_two' to the script , the script output should display the result as below
one_1two
one_2two
one_3two
if
then
echo " Usage : <$0> <DATABASE> "
exit 0
else
for DB in 1 2 3
do
DBname=`$DATABASE | awk -F "_" '{print $1_${DB}_$2}`
done
fi (5 Replies)
Discussion started by: only4satish
5 Replies
8. Shell Programming and Scripting
Hi,
A very basic query.
I am working on two different UNIX servers and I see different behaviours for my user id. This has to be a setting in the .profile, but I can't seem to find where :confused:
So, in one server if I type echo $XYZDD (a random variable), I get a blank line with no... (2 Replies)
Discussion started by: ALDonP
2 Replies
9. Shell Programming and Scripting
My intention is to go through list of addresses and call google geocode api for each of them. I am using lynx for this, but somehow I can't supply the parameters to it in a proper way.
To show that my parameters are OK I just hardcoded one address in my script and put it in my input file, and... (2 Replies)
Discussion started by: migurus
2 Replies
10. Shell Programming and Scripting
Getting the following when I try to set -u or set -o nounset in ksh on Solaris. Anyone ever seen this? Using an account I just built so everything is default and default shell is set to ksh.
Oracle Corporation SunOS 5.11 11.3 September 2015
bar@solaris11:~$ echo $0
-ksh
bar@solaris11:~$ set... (3 Replies)
Discussion started by: epost
3 Replies
SD(4) Linux Programmer's Manual SD(4)
NAME
sd - Driver for SCSI Disk Drives
SYNOPSIS
#include <linux/hdreg.h> /* for HDIO_GETGEO */
#include <linux/fs.h> /* for BLKGETSIZE and BLKRRPART */
CONFIGURATION
The block device name has the following form: sdlp, where l is a letter denoting the physical drive, and p is a number denoting the parti-
tion on that physical drive. Often, the partition number, p, will be left off when the device corresponds to the whole drive.
SCSI disks have a major device number of 8, and a minor device number of the form (16 * drive_number) + partition_number, where drive_num-
ber is the number of the physical drive in order of detection, and partition_number is as follows:
partition 0 is the whole drive
partitions 1-4 are the DOS "primary" partitions
partitions 5-8 are the DOS "extended" (or "logical") partitions
For example, /dev/sda will have major 8, minor 0, and will refer to all of the first SCSI drive in the system; and /dev/sdb3 will have
major 8, minor 19, and will refer to the third DOS "primary" partition on the second SCSI drive in the system.
At this time, only block devices are provided. Raw devices have not yet been implemented.
DESCRIPTION
The following ioctls are provided:
HDIO_GETGEO
Returns the BIOS disk parameters in the following structure:
struct hd_geometry {
unsigned char heads;
unsigned char sectors;
unsigned short cylinders;
unsigned long start;
};
A pointer to this structure is passed as the ioctl(2) parameter.
The information returned in the parameter is the disk geometry of the drive as understood by DOS! This geometry is not the physical
geometry of the drive. It is used when constructing the drive's partition table, however, and is needed for convenient operation of
fdisk(1), efdisk(1), and lilo(1). If the geometry information is not available, zero will be returned for all of the parameters.
BLKGETSIZE
Returns the device size in sectors. The ioctl(2) parameter should be a pointer to a long.
BLKRRPART
Forces a reread of the SCSI disk partition tables. No parameter is needed.
The scsi(4) ioctl(2) operations are also supported. If the ioctl(2) parameter is required, and it is NULL, then ioctl(2) will fail
with the error EINVAL.
FILES
/dev/sd[a-h]: the whole device
/dev/sd[a-h][0-8]: individual block partitions
COLOPHON
This page is part of release 3.27 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 1992-12-17 SD(4)