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
CHING(6) Games Manual CHING(6)
NAME
ching, fortune - the book of changes and other cookies
SYNOPSIS
/usr/games/ching [ hexagram ]
/usr/games/fortune
DESCRIPTION
The I Ching or Book of Changes is an ancient Chinese oracle that has been in use for centuries as a source of wisdom and advice.
The text of the oracle (as it is sometimes known) consists of sixty-four hexagrams, each symbolized by a particular arrangement of six
straight (---) and broken (- -) lines. These lines have values ranging from six through nine, with the even values indicating the broken
lines.
Each hexagram consists of two major sections. The Judgement relates specifically to the matter at hand (E.g., "It furthers one to have
somewhere to go.") while the Image describes the general attributes of the hexagram and how they apply to one's own life ("Thus the supe-
rior man makes himself strong and untiring.").
When any of the lines have the values six or nine, they are moving lines; for each there is an appended judgement which becomes signifi-
cant. Furthermore, the moving lines are inherently unstable and change into their opposites; a second hexagram (and thus an additional
judgement) is formed.
Normally, one consults the oracle by fixing the desired question firmly in mind and then casting a set of changes (lines) using
yarrow-stalks or tossed coins. The resulting hexagram will be the answer to the question.
Using an algorithm suggested by S. C. Johnson, the Unix oracle simply reads a question from the standard input (up to an EOF) and hashes
the individual characters in combination with the time of day, process id and any other magic numbers which happen to be lying around the
system. The resulting value is used as the seed of a random number generator which drives a simulated coin-toss divination. The answer is
then piped through nroff for formatting and will appear on the standard output.
For those who wish to remain steadfast in the old traditions, the oracle will also accept the results of a personal divination using, for
example, coins. To do this, cast the change and then type the resulting line values as an argument.
The impatient modern may prefer to settle for Chinese cookies; try fortune.
SEE ALSO
It furthers one to see the great man.
DIAGNOSTICS
The great prince issues commands,
Founds states, vests families with fiefs.
Inferior people should not be employed.
BUGS
Waiting in the mud
Brings about the arrival of the enemy.
If one is not extremely careful,
Somebody may come up from behind and strike him.
Misfortune.
CHING(6)