Install Oracle in UNIX
Good morning all,
I am kind of new to Oracle db in SunOS system. The db server is SunOS 5.10 and I am giving access to this server through PuTTY. Recently I need to install newer version of OEM agent to the server but have hard time to get Xwin work. I have installed X-Win32 5.4 in my PC and tried to configure but can’t make it work. I would like to know how you installed your Oracle software in the UNIX env if you don’t have direct access to the server console? BTW, my db version is 10.2.0.4.
Thanks a lot for your info.
Shirley
user611494 wrote:
Thanks Ed,
I took it back. When I first installed X-Win32 and configure it (actually somebody helped me with it). It worked fine so I was able to install 10.2.0.5 in our dev server. Then my co-work did the same thing but she can’t make /usr/openwin/bin/xclock popup. So I stopped my session and close the X-win server on my laptop. Then somehow she got her clock popup and I can’t get mine work any more. This whole configuration is like a black box to me. I just configured another session to connect to a different UNIX server and it works! So here are my questions:
1) Is one server can support to channel its output to different laptops (since my co-worker and I configured x-win to the same server)?Absolutely. Remember, unlike windows, unix is a true multi-user OS. Your session on the server is completely separate from someone else's .. or even a second session.
2) What is the best connect method to connect to SunOS: SartNetSSH, rsh, rexec or XDMCP?Define "best". The fact that is Solaris ("SunOS") has nothing to do with it. They are all different methods of getting a remote shell session on the *nix server. Everyone has their favorite.
3) What is the purpose of PuTTY here besides to set X11 forwarding?PuTTY is just another product to get a remote secure shell session. I like it because it is light weight and free. Actully PuTTY has nothing itself to do with x-11 forwarding. PuTTY gives the secure shell session. In that session, you indicate that x-windows is to be forwarded to some IP address and port, supposedly that of your desktop where you are running PuTTY (or SSH, or rsh, etc, etc). At that IP address, you will need an x-server running (Exceed is one, there are others) to receive and render the x output that was forwarded there.
4) Anything else I need to know?
Thanks a lot for your help,
Shirley
Similar Messages
-
Install ORACLE 8.1.6 and 9i on HP UNIX 11.20 (11i)
Hi,
When I install ORACLE 8.1.6 and/or 9i on HP UNIX 11i (11.20, hardware: i2000 workstation), I got the following error message:
Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target nnfgt.o of makefile
/opt/oracle/product/8.1.6/network/lib/ins_net_client.mk
Exception Severity: 1
Would appreciate very much if someone can help to analyse the cause of the problem.
Thanks.Hi,
When I install ORACLE 8.1.6 and/or 9i on HP UNIX 11i (11.20, hardware: i2000 workstation), I got the following error message:
Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target nnfgt.o of makefile
/opt/oracle/product/8.1.6/network/lib/ins_net_client.mk
Exception Severity: 1
Would appreciate very much if someone can help to analyse the cause of the problem.
Thanks. -
Oracle Installer Problem while installing Oracle 9i on HP Unix
Hi Everyone ,
I had earlier installed 9.2.0.1 on Linux and had no probs whatsoever . When i am trying to install Oracle 9.2.0.1 on HP Unix , the Oracle Installer opens up a window saying CHOOSE JDK HOME DIRECTORY . I have already set the PATH environment variable to point to /opt/java1.4 and /opt/java1.4/jre/bin and also JAVA_HOME to point to /opt/java1.4 . Even after trying to put the directory information it refuses to go thru giving the Error INVALID JDK HOME.PLEASE ENTER CORRECT JDK LOCATION.
Any replies would be greatly appreciated
Thanks
RaviThis could be due to you have multiple JDK homes like java1.4 and java1.3. Instead of type JDK home in the windows box, try to browse and select the JDK home and try it. Otherwise, if you have multiple JDK homes, then try to remove one of them.
-
Installed Oracle client on UNIX is 32 bit OR 64 bit
I have Oracle 11G DB client installed on Unix system: RHEL 5 64 bit. I would like to know whether the installed oracle client is 64 bit or 32 bit. How do I get to know the same?
Hi;
Please see:
How To Find Oracle Client Version And Check If It Is Instant Client Or Full Client [ID 818454.1]
PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
Regard
Helios -
HELP! Can not install Oracle 8.1.5 w/ RedHat 6.1!
I can not get Oracle 8.1.5 to install onto Linux RedHat 6.1. The
Oracle installation script generates several errors. I have
tried several attempts, using different options, but they all
generate errors.
Please help. The Oracle Installation scripts appear to be very
buggy... or perhaps they are incompatible with the standard
RedHat 6.1 release. Either way, it is very frustrating.
I have documented one of my (failed) installation attempts below.
Does anyone have any words of wisdom?
I am installing Oracle onto a Dell Latitude CPi PC w/ 128MB RAM,
a 366MHz Pentium II, and RedHat 6.1 (using the standard Linux
2.2.12-2 kernel). RedHat was installed using the standard "Gnome
Workstation" configuration.
The Oralce CD is labeled:
"Oralce 8i Enterprise Edition
Release 8.1.5
for Linux
(c) Oracle Corporation 1999"
I got this CD about one week ago at Oracle OpenWorld '99 in Los
Angeles... it should be their "latest & greatest" version so far.
1. Pre-Installation and ./runInstall
I created an "oracle" Unix account w/ groups "oinstall" (the
primary group) and "dba" (a secondary group).
I created directories /u01 through /u04, belonging to oracle.
I setup .cshrc and sourced it, containing:
umask 022
setenv DISPLAY `hostname`:0
xhost +
setenv ORACLE_BASE /u01/app/oracle
setenv ORACLE_HOME ${ORACLE_BASE}/product/8.1.5
setenv ORACLE_SID cprtest
setenv PATH ${ORACLE_HOME}/bin:${PATH}
setenv LD_LIBRARY_PATH ${ORACLE_HOME}/lib
setenv NLS_LANG US7ASCII
I downloaded jre116_v5 and installed to /usr/local/jre.
Finally, I executed (from the "oracle" Unix account):
cd /mnt/cdrom
./runInstall
Problem: I got the error (from ./runInstall):
Initializing Java Virtual Machine from /usr/local/jre/bin/jre.
Please wait...
Error in CreateOUIProcess(): -1
: Bad address
Workaround: Executed the following commands instead:
cd /mnt/cdrom/install/linux
./runIns.sh
3. runIns.sh and root.sh
I selected the following options (from ./runIns.sh):
Source: /mnt/cdrom/stage/products.jar
Destination: /u01/app/oracle/product/8.1.5
Oracle 8i Enterprise Edition 8.1.5.0.0
Typical (585MB)
Installable Components: Oralce Intelligent Agent 8.1.5.0.0
Global Database Name: cprtest.parkrussell.com
SID: cprtest
Directory for Database Files: /u02
Then (when instructed by ./runIns.sh), I attempted to execute
(from the
"root" Unix account):
cd /u01/app/oracle/product/8.1.5
./root.sh
Problem: I got the error:
"bash: ./root.sh: Permission denied"
The execute bit was not set.
Workaround: I executed:
chmod a+x root.sh
./root.sh
5. Configuration Tools
The Oracle Installer (./runIns.sh) attempted to execute:
A. Net8 Configuration Agent
B. Oracle Database Configuration Agent
Problem: The "Oracle Database Configuration Agent" failed with
the following error message:
"One or more tools have failed. It is recommended but not
required that these tools succeed for this installation.
You can now select these tools, read its details to examine
why they have failed, fix those problems, and retry them.
Or, you can click "Next" to continue."
When I selected the "Oracle Database Configuration Agent" for
more info, I got the following additional details (as the cause
of the error):
"A required command line argument is missing."
The log file
"/u01/app/oracle/oraInventory/logs/installActions.log" recorded:
"Command which is being spawned is /usr/local/jre/bin/jre
-Duser.dir=/u01/app/oracle/product/8.1.5/assistants/dbca/jlib
-classpath
/usr/local/jre/lib/rt.jar:/u01/app/oracle/product/8.1.5/jlib/ewt-3_1_10.jar:/u01/app/oracle/produc
/8.1.5/jlib/share-1_0_6.jar:/u01/app/oracle/product/8.1.5/assistants/dbca/jlib/DBAssist.jar:/u01/a
p/oracle/product/8.1.5/assistants/jlib/jnls.jar:/u01/app/oracle/product/8.1.5/assistants/jlib/ACC.
AR:/u01/app/oracle/product/8.1.5/jlib/help-3_0_7.jar:/u01/app/oracle/product/8.1.5/jlib/oracle_ice
4_03_3.jar:/u01/app/oracle/product/8.1.5/jlib/HotJavaBean.jar:/u01/app/oracle/product/8.1.5/jlib/n
tcfg.jar:/usr/local/jre/lib/i18n.jar
DBCreateWizard /createtype seed /numusers NO_VALUE /apptype
NO_VALUE /cartridges NO_VALUE /options NO_VALUE /demos NO_VALUE
/seedloc NO_VALUE /sid cprtest /orahome
/u01/app/oracle/product/8.1.5 /orabase /u01/app/oracle /dbloc
/u02 /clususer NO_VALUE /cluspswd NO_VALUE /nodeinfo NO_VALUE
/gdbName cprtest.parkrussell.com
Invalid Exit Code. The following result code will be used for
configuration tool: 1
Configuration tool Oracle Database Configuration Assistant
failed"
Workaround: There is obviously nothing I can do to fix this
problem. It appears to be an internal bug in ./runIns.sh.
Therefore, I selected "Next" and executed "dbassist" directly.
6. dbassist
I executed:
dbassist
Problem: I got the following error:
"JNLS Execution:oracle.ntpg.jnls.JNLSException
Unable to find any National Character Sets. Please
check your Oracle installation."
Workaround: Press "OK" and ignore the error.
7. dbassist (cont.)
I selected the following options:
Create database
Typical
Copy existing database files from the CD
Global Database Name: cprtest.parkrussell.com
SID: cprtest
Problem: I got the following error:
"CD-ROM drive not detected on this system.
Database not created."
(Note: I've been running the installation scripts from the
CDROM drive this entire time. "df" shows the CDROM drive
mounted on /mnt/cdrom. "ls /mnt/cdrom" works too.)
Workaround: Abort (which generated the additional error: "Unable
to create database. DBCA-00003: No CD-ROM drive detected.") and
run dbassist again, this time using different parameters.
8. dbassist, again
I executed "dbassist" again and selected the following options:
Create database
Typical
Create new database files
Hybrid
Concurrently connected users: 5
Options: Oralce interMedia, Oralce JServer, and iM demos
Global Database Name: cprtest2.parkrussell.com
SID: cprtest2
Create database now
Problem: I got the following error:
"ORA-01012: not logged on"
Workaround: Try, try again.
9. dbassist, one last time
Executed "dbassist" once more and selected the following options:
Create database
Typical
Create new database files
Hybrid
Concurrently connected users: 5
Options: Oralce interMedia, Oralce JServer, and interMedia
demos
Global Database Name: cprtest3.parkrussell.com
SID: cprtest3
Output creation script
Then, I executed (from the "oracle" Unix account):
cd /u01/app/oracle/product/8.1.5/install
setenv ORACLE_SID cprtest3
./sqlcprtest3.sh
Problem: I got the following output:
"Oracle Server Manager Release 3.1.5.0.0 - Production
(c) Copyright 1997, Oracle Corporation. All Rights Reserved.
Oracle8i Enterprise Edition Release 8.1.5.0.0 - Production
With the Partitioning and Java options
PL/SQL Release 8.1.5.0.0 - Production
SVRMGR> SVRMGR> Connected.
SVRMGR> ORACLE instance started.
ORA-01012: not logged on
SVRMGR> 2> 3> 4> 5> 6> 7>
8> 9> CREATE DATABASE "cprtest3"
ORA-01012: not logged on
SVRMGR> Disconnected."
Workaround: Beats me.
10. sqlplus
I attempted to execute sqlplus, but got the following error
message:
"/u01/app/oracle/product/8.1.5/bin/sqlplus: Permission denied."
The execute bit was not set.
Workaround: I executed:
chmod a+x /u01/app/oracle/product/8.1.5/bin/sqlplus
sqlplus
I gave up for now... there were just too many things wrong with
this installation, starting with the very first command I was
supposed to execute (./runInstaller).
I can't fathom why Oracle's installation script has so many bugs.
Am I just doing something terribly wrong?
Please help.
nullI'm using enlightenment version 0.15.5-41, which is more recent
than the 0.15.5-37 version (containing the Oracle installer
patch) that you recommended. Unfortunately, it fails when using
this version.
I also tried installing Oracle using twm, with enlightenment
disabled. This didn't help either.
Furthermore, the errors that I'm encountering in the OUI are
not just toward the end of the installation. They happen from
the very beginning, right after I enter "./runInstall", and
continue every step of the way.
Calvin Mitchell (guest) wrote:
: Check out my thread: "Assistants Failure Toward end of Oracle
: Install" to see where i've gone with this.
: if your running Enlightenment as your window manager you need
to
: upgrade to 0.15.5-37, that will solve the OUI error.
: Let me know if you solve any of your problems.
: Chris Russell (guest) wrote:
: : I can not get Oracle 8.1.5 to install onto Linux RedHat 6.1.
: The
: : Oracle installation script generates several errors. I have
: : tried several attempts, using different options, but they all
: : generate errors.
: : Please help. The Oracle Installation scripts appear to be
very
: : buggy... or perhaps they are incompatible with the standard
: : RedHat 6.1 release. Either way, it is very frustrating.
: : I have documented one of my (failed) installation attempts
: below.
: : Does anyone have any words of wisdom?
: : I am installing Oracle onto a Dell Latitude CPi PC w/ 128MB
: RAM,
: : a 366MHz Pentium II, and RedHat 6.1 (using the standard Linux
: : 2.2.12-2 kernel). RedHat was installed using the standard
: "Gnome
: : Workstation" configuration.
: : The Oralce CD is labeled:
: : "Oralce 8i Enterprise Edition
: : Release 8.1.5
: : for Linux
: : (c) Oracle Corporation 1999"
: : I got this CD about one week ago at Oracle OpenWorld '99 in
Los
: : Angeles... it should be their "latest & greatest" version so
: far.
: : 1. Pre-Installation and ./runInstall
: : I created an "oracle" Unix account w/ groups "oinstall" (the
: : primary group) and "dba" (a secondary group).
: : I created directories /u01 through /u04, belonging to oracle.
: : I setup .cshrc and sourced it, containing:
: : umask 022
: : setenv DISPLAY `hostname`:0
: : xhost +
: : setenv ORACLE_BASE /u01/app/oracle
: : setenv ORACLE_HOME ${ORACLE_BASE}/product/8.1.5
: : setenv ORACLE_SID cprtest
: : setenv PATH ${ORACLE_HOME}/bin:${PATH}
: : setenv LD_LIBRARY_PATH ${ORACLE_HOME}/lib
: : setenv NLS_LANG US7ASCII
: : I downloaded jre116_v5 and installed to /usr/local/jre.
: : Finally, I executed (from the "oracle" Unix account):
: : cd /mnt/cdrom
: : ./runInstall
: : Problem: I got the error (from ./runInstall):
: : Initializing Java Virtual Machine from
: /usr/local/jre/bin/jre.
: : Please wait...
: : Error in CreateOUIProcess(): -1
: : : Bad address
: : Workaround: Executed the following commands instead:
: : cd /mnt/cdrom/install/linux
: : ./runIns.sh
: : 3. runIns.sh and root.sh
: : I selected the following options (from ./runIns.sh):
: : Source: /mnt/cdrom/stage/products.jar
: : Destination: /u01/app/oracle/product/8.1.5
: : Oracle 8i Enterprise Edition 8.1.5.0.0
: : Typical (585MB)
: : Installable Components: Oralce Intelligent Agent 8.1.5.0.0
: : Global Database Name: cprtest.parkrussell.com
: : SID: cprtest
: : Directory for Database Files: /u02
: : Then (when instructed by ./runIns.sh), I attempted to execute
: : (from the
: : "root" Unix account):
: : cd /u01/app/oracle/product/8.1.5
: : ./root.sh
: : Problem: I got the error:
: : "bash: ./root.sh: Permission denied"
: : The execute bit was not set.
: : Workaround: I executed:
: : chmod a+x root.sh
: : ./root.sh
: : 5. Configuration Tools
: : The Oracle Installer (./runIns.sh) attempted to execute:
: : A. Net8 Configuration Agent
: : B. Oracle Database Configuration Agent
: : Problem: The "Oracle Database Configuration Agent" failed
with
: : the following error message:
: : "One or more tools have failed. It is recommended but not
: : required that these tools succeed for this installation.
: : You can now select these tools, read its details to
examine
: : why they have failed, fix those problems, and retry them.
: : Or, you can click "Next" to continue."
: : When I selected the "Oracle Database Configuration Agent" for
: : more info, I got the following additional details (as the
cause
: : of the error):
: : "A required command line argument is missing."
: : The log file
: : "/u01/app/oracle/oraInventory/logs/installActions.log"
: recorded:
: : "Command which is being spawned is /usr/local/jre/bin/jre
: : -Duser.dir=/u01/app/oracle/product/8.1.5/assistants/dbca/jlib
: : -classpath
/usr/local/jre/lib/rt.jar:/u01/app/oracle/product/8.1.5/jlib/ewt-
: 3_1_10.jar:/u01/app/oracle/product/8.1.5/jlib/share-
1_0_6.jar:/u01/app/oracle/product/8.1.5/assistants/dbca/jlib/DBAs
sist.jar:/u01/app/oracle/product/8.1.5/assistants/jlib/jnls.jar:/
u01/app/oracle/product/8.1.5/assistants/jlib/ACC.JAR:/u01/app/ora
: cle/product/8.1.5/jlib/help-
: 3_0_7.jar:/u01/app/oracle/product/8.1.5/jlib/oracle_ice-
4_03_3.jar:/u01/app/oracle/product/8.1.5/jlib/HotJavaBean.jar:/u0
1/app/oracle/product/8.1.5/jlib/netcfg.jar:/usr/local/jre/lib/i18
: n.jar
: : DBCreateWizard /createtype seed /numusers NO_VALUE /apptype
: : NO_VALUE /cartridges NO_VALUE /options NO_VALUE /demos
NO_VALUE
: : /seedloc NO_VALUE /sid cprtest /orahome
: : /u01/app/oracle/product/8.1.5 /orabase /u01/app/oracle /dbloc
: : /u02 /clususer NO_VALUE /cluspswd NO_VALUE /nodeinfo NO_VALUE
: : /gdbName cprtest.parkrussell.com
: : Invalid Exit Code. The following result code will be used
for
: : configuration tool: 1
: : Configuration tool Oracle Database Configuration Assistant
: : failed"
: : Workaround: There is obviously nothing I can do to fix this
: : problem. It appears to be an internal bug in ./runIns.sh.
: : Therefore, I selected "Next" and executed "dbassist"
directly.
: : 6. dbassist
: : I executed:
: : dbassist
: : Problem: I got the following error:
: : "JNLS Execution:oracle.ntpg.jnls.JNLSException
: : Unable to find any National Character Sets. Please
: : check your Oracle installation."
: : Workaround: Press "OK" and ignore the error.
: : 7. dbassist (cont.)
: : I selected the following options:
: : Create database
: : Typical
: : Copy existing database files from the CD
: : Global Database Name: cprtest.parkrussell.com
: : SID: cprtest
: : Problem: I got the following error:
: : "CD-ROM drive not detected on this system.
: : Database not created."
: : (Note: I've been running the installation scripts from the
: : CDROM drive this entire time. "df" shows the CDROM drive
: : mounted on /mnt/cdrom. "ls /mnt/cdrom" works too.)
: : Workaround: Abort (which generated the additional error:
: "Unable
: : to create database. DBCA-00003: No CD-ROM drive detected.")
: and
: : run dbassist again, this time using different parameters.
: : 8. dbassist, again
: : I executed "dbassist" again and selected the following
options:
: : Create database
: : Typical
: : Create new database files
: : Hybrid
: : Concurrently connected users: 5
: : Options: Oralce interMedia, Oralce JServer, and iM demos
: : Global Database Name: cprtest2.parkrussell.com
: : SID: cprtest2
: : Create database now
: : Problem: I got the following error:
: : "ORA-01012: not logged on"
: : Workaround: Try, try again.
: : 9. dbassist, one last time
: : Executed "dbassist" once more and selected the following
: options:
: : Create database
: : Typical
: : Create new database files
: : Hybrid
: : Concurrently connected users: 5
: : Options: Oralce interMedia, Oralce JServer, and interMedia
: : demos
: : Global Database Name: cprtest3.parkrussell.com
: : SID: cprtest3
: : Output creation script
: : Then, I executed (from the "oracle" Unix account):
: : cd /u01/app/oracle/product/8.1.5/install
: : setenv ORACLE_SID cprtest3
: : ./sqlcprtest3.sh
: : Problem: I got the following output:
: : "Oracle Server Manager Release 3.1.5.0.0 - Production
: : (c) Copyright 1997, Oracle Corporation. All Rights
Reserved.
: : Oracle8i Enterprise Edition Release 8.1.5.0.0 - Production
: : With the Partitioning and Java options
: : PL/SQL Release 8.1.5.0.0 - Production
: : SVRMGR> SVRMGR> Connected.
: : SVRMGR> ORACLE instance started.
: : ORA-01012: not logged on
: : SVRMGR> 2> 3> 4> 5> 6> 7>
: : 8> 9> CREATE DATABASE "cprtest3"
: : ORA-01012: not logged on
: : SVRMGR> Disconnected."
: : Workaround: Beats me.
: : 10. sqlplus
: : I attempted to execute sqlplus, but got the following error
: : message:
: : "/u01/app/oracle/product/8.1.5/bin/sqlplus: Permission
: denied."
: : The execute bit was not set.
: : Workaround: I executed:
: : chmod a+x /u01/app/oracle/product/8.1.5/bin/sqlplus
: : sqlplus
: : I gave up for now... there were just too many things wrong
with
: : this installation, starting with the very first command I was
: : supposed to execute (./runInstaller).
: : I can't fathom why Oracle's installation script has so many
: bugs.
: : Am I just doing something terribly wrong?
: : Please help.
null -
Installing Oracle 8.0.5 on HP-UX 11.00
Hello,
When I installing Oracle 8.05 on HP-UX 11.00 'Unix Installer' return ERROR:
Error during action 'Creating ntcontab.o'.
Command: make -f /oracle/SH1/network/lib/ins_network.mk ntcontab.o
(if [ "compile" = "compile" ] ;then
/oracle/SH1/bin/gennttab > ntcontab.c ;
/opt/ansic/bin/cc DA2.0W DS2.0 +ESlit -c ntcontab.c ;
rm -f /oracle/SH1/lib/ntcontab.o ;
mv ntcontab.o /oracle/SH1/lib ;fi)
sh[3]: /opt/ansic/bin/cc: Execute permission denied.
mv: ntcontab.o: cannot access: No such file or directory
*** Error exit code 1.
All need patches are installed.
In 'Installation Requirements Oracle', do not mention about /opt/ansic/bin/cc.
Help to solve the problem,
A priori, ThanksA have installed Oracle 8.1.5 on HP_UX 11.00 - 32 bit environment
I want to install/upgrade to Oracle 8.1.7 (64-bit)
1. Is there any problem with this aspect ? (Oracle 8.1.7. 64-bit on HP_UX 32 bit)
2. I need an advice regarding <new install> vs. <upgrading> ! I'm not sure if all operating system requirements are met (patch releases)
3. What are the risk of upgrading ? -
Installing Oracle 11g on Ubuntu 8.04
Hello,
I am having a sleepless night trying to install Oracle 11g express on Ubuntu 8.04.
There is no server. I am actually trying to install on the exact box i am using.
I got this error again and again. Any pro and experts please help:
Can't connect to X11 window server using '127.0.0.1:0.0' as the value of the DISPLAY variable.
127.0.0.1:0.0
127.0.0.1:0.0
=======================
oracle@sithkong-desktop:~/database$ DISPLAY=127.0.0.1:0.0
oracle@sithkong-desktop:~/database$ export DISPLAY
oracle@sithkong-desktop:~/database$ xclock
No protocol specified
Error: Can't open display: 127.0.0.1:0.0
oracle@sithkong-desktop:~/database$ ./runInstaller -ignoreSysPrereqs
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 80 MB. Actual 10751 MB Passed
Checking swap space: must be greater than 150 MB. Actual 1915 MB Passed
Checking monitor: must be configured to display at least 256 colors
>>> Could not execute auto check for display colors using command /usr/X11R6/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<<
Ignoring required pre-requisite failures. Continuing...Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-08-29_10-22-59PM. Please wait ...oracle@sithkong-desktop:~/database$ Oracle Universal Installer, Version 11.1.0.6.0 Production
Copyright (C) 1999, 2007, Oracle. All rights reserved.
No protocol specified
Can't connect to X11 window server using '127.0.0.1:0.0' as the value of the DISPLAY variable.
127.0.0.1:0.0
127.0.0.1:0.0
OUI-10025:Unable to start an interactive install session because of the following error:Can't connect to X11 window server using '127.0.0.1:0.0' as the value of the DISPLAY variable. The DISPLAY environment variable should be set to <hostname or IP address>:<screen>, where the <screen> is usually '0.0'.
OUI-10026:Depending on the Unix Shell, you can use one of the following commands as examples to set the DISPLAY environment variable:
- For csh: % setenv DISPLAY 192.168.1.128:0.0
- For sh, ksh and bash: $ DISPLAY=192.168.1.128:0.0; export DISPLAY
Use the following command to see what shell is being used:
echo $SHELL
Use the following command to view the current DISPLAY environment variable setting:
echo $DISPLAY
- Make sure that client users are authorized to connect to the X Server.
OUI-10027:To enable client users to access the X Server, open an xterm, dtterm or xconsole as the user that started the session and type the following command:
% xhost +
To test that the DISPLAY environment variable is set correctly, run a X11 based program that comes with the native operating system such as 'xclock':
% <full path to xclock... see below>
If you are not able to run xclock successfully, please refer to your PC-X Server or OS vendor for further assistance.
Typical path for 'xclock': '/usr/X11R6/bin/xclock'http://www.pythian.com/news/968/installing-oracle-11g-on-ubuntu-804-lts-hardy-heron
HTH... -
Installing Oracle 8.1.7 on Linux RedHat 7.1
I am trying to install Oracle 8.1.7 on a Linux RedHat 7.1 machine with P4 1.7GHz. I 've tryed all the papers I found on the net for setting the user accounts and groups, linking with the old gcc libraries, etc. The problem is that after starting the OUI and when a window pops-up that spans the products list available, the whole operation finishes too quicly without reaching the 100%. At the next screen when I am trying to give the Instalation Unix group - should be oinstall/dba - I press next and get the message "Unable to setup Inventory. You may not have proper permisions". The machine has 256MBs Ram and 520MB Swap file on a 20GB HDD.Has anyone else seen this before? I couldn't find anything on the net. Can anyone help me? Thanks in advance...
Hi,
In the user where you are trying to install Oracle, give the following command at the prompt.
$ umask
The result should be "022". If it is not, connect as root and change the umask-settings of the user.
$ umask 022 <user-name>
and connect as the user, where you are trying to install and run the Installer.
Hope this will work,
Murali. -
Install Oracle 11gR2 Express Edition on Ubuntu Linux 11.04 (64-bit) Howto
h2. Install Oracle 11gR2 Express Edition on Ubuntu Linux 11.04 (64-bit) Howto
Version: B
Author: Dude, 24. May 2011
The following are step by step instructions how to install Oracle 11gR2 Express Edition (Beta) under Linux Ubuntu 11.04, 64-bit.
Access to the Internet is required.
The instructions cover the following additional topics:
- Converting Red Hat based Oracle XE installer to Ubuntu.
- Work-around for missing /sbin/chkconfig tool.
- Install Oracle XE into a different directory or disk volume.
- Relocate and configure the Oracle user and default login directory.
- Uninstall, reconfigure and perform first database backup.
- Notes and web links.
- Troubleshooting
h3. A) System Setup and Prerequisites
h4. A.1. System Access
You will need terminal command line, root and system console access to perform the setup tasks.
To open a Terminal at the system console:
Menu Applications > Accessories > TerminalThe following commands will enable remote ssh login with root access:
sudo apt-get install openssh-server
sudo passwd root
Verify:
ssh root@xe_server_host_nameh4. A.2. Software Prerequisites
The following is required in order to install Oracle 11gR2 XE:
sudo apt-get install alien libaio1 unixodbcThe following is not required, but it will fix backspace and arrow keys in case you prefer using the vi-editor:
sudo apt-get install vimh4. A.3. System Swap space
Minimum swap space required is 2 GB. You can increase swap space if necessary using a swap file:
To analyze current swap space and memory configuration:
sudo cat /proc/meminfo
To install a 1 GB swapfile named swapfile in /, for example:
sudo dd if=/dev/zero of=/swapfile bs=1024 count=1048576
(this may take a while)
sudo mkswap /swapfile
sudo swapon /swapfile
sudo cp /etc/fstab /etc/fstab.orig
sudo echo '/swapfile swap swap defaults 0 0' >> /etc/fstab
Verify:
sudo swapon -a
sudo swapon -sh4. A.4. Kernel Parameters
Oracle 11g XE requires the following additional kernel parameters:
sudo nano /etc/sysctl.d/60-oracle.conf
(Enter the following)
# Oracle 11g XE kernel parameters
fs.file-max=6815744
net.ipv4.ip_local_port_range=9000 65000
kernel.sem=250 32000 100 128
kernel.shmmax=536870912
(Save the file)
Note: kernel.shmmax = max possible value, e.g. size of physical RAM.
Verify: sudo cat /etc/sysctl.d/60-oracle.conf
Load new kernel parameters:
sudo service procps start
Verify:
sudo sysctl -q fs.file-max
-> fs.file-max = 6815744h4. A.5. Oracle Installation Directory
The current Oracle Installation Guide uses the same directory like in previous versions: /usr/lib/oracle/xe/app/oracle/product/11.2.0/server. However, the current Beta installation uses Oracle Flexible Architecture (OFA) and installs into /u01/app/oracle/product/11.2.0/xe. Due to size limitations of Oracle XE it may not be necessary to store the installation to a specific directory or separate volume, but it is possible:
Install Oracle XE to separate disk volume:
From the system console menu: System > Administration > Disk Utility
Select "ext3" filesystem for Oracle compatibility and specify a Volume label, e.g. Oracle.
Notice the device name e.g. /dev/sdb
Get the drive UUID:
sudo blkid
e.g. /dev/sdb: UUID="d19a2d8f-da43-4802-8bdb-0703c855e23a"
Modify /etc/fstab to automatically mount the volume at system startup:
sudo cp /etc/fstab /etc/fstab.original
sudo nano /etc/fstab
(Add the following, using determined UUID, for exmple)
UUID=d19a2d8f-da43-4802-8bdb-0703c855e23a /u01 ext3 defaults,errors=remount-ro 0 1
(Save the file)
Create the mount-point, mount the new volume and set ownership and privileges:
sudo mkdir /u01
sudo mount -a
sudo chown root:root /u01
sudo chmod 755 /u01
Verify:
df -h
or restart the systemYou can also install Oracle XE into a specific directory:
Create a symbolic link to store the installation into an existing directory, for instance:
sudo mkdir /home/oracle-xe
sudo ln -s /home/oracle-xe /u01h3. C) Oracle 11g XE Download and Installation
h4. C.1. Download and convert the Installer from Red Hat to Ubuntu
Please see section E.3. to download the Oracle 11gR2 XE installer.
Select the version listed for Linux x64.
sudo unzip linux.x64_11gR2_OracleXE.zip
sudo alien --to-deb --scripts oracle-xe-11.2.0-0.5.x86_64.rpm
(This may take a while)h4. C.2. Create a special chkconfig script
The Red Hat based installer of Oracle XE 11gR2 beta relies on +/sbin/chkconfig+, which is not used in Ubuntu. The chkconfig package available for the current version of Ubuntu produces errors and my not be safe to use. Below is a simple trick to get around the problem and install Oracle XE successfully:
Create /sbin/chconfig:
sudo nano /sbin/chkconfig
(Cut and paste the following)
#!/bin/bash
# Oracle 11gR2 XE installer chkconfig hack for Debian by Dude
file=/etc/init.d/oracle-xe
if [[ ! `tail -n1 $file | grep INIT` ]]; then
echo >> $file
echo '### BEGIN INIT INFO' >> $file
echo '# Provides: OracleXE' >> $file
echo '# Required-Start: $remote_fs $syslog' >> $file
echo '# Required-Stop: $remote_fs $syslog' >> $file
echo '# Default-Start: 2 3 4 5' >> $file
echo '# Default-Stop: 0 1 6' >> $file
echo '# Short-Description: Oracle 11g Express Edition' >> $file
echo '### END INIT INFO' >> $file
fi
update-rc.d oracle-xe defaults 80 01
(Save the file)
Set appropriate execute privileges:
chmod 755 /sbin/chkconfig
Note: You should remove the /sbin/chkconfig file after successful installation of Oracle XE.
h4. C.3. Install and configure Oracle XE
sudo dpkg --install ./oracle-xe_11.2.0-1.5_amd64.deb
/etc/init.d/oracle-xe configure
(This will take a while)
Remove the /sbin/chkconfig script, which is no longer needed.
sudo rm /sbin/chkconfigh4. C.4. Relocate and Configure the Oracle user login
The Oracle XE installer specifies /u01/app/oracle as the login directory for the Oracle user. Although not really necessary, the following will relocate the Oracle user $HOME to a standard location and create standard /etc/skel login files:
Exit all Oracle user sessions:
sudo /etc/init.d/oracle-xe stop
sudo kill -9 `ps -ef | grep oracle | grep -v grep | awk '{print $2}'`
sudo userdel oracle
sudo useradd -s /bin/bash -G dba -g dba -m oracle
sudo passwd oracle
Verify:
sudo id oracle
-> uid=1001(oracle) gid=1001(dba) groups=1001(dba)h4. C.5. Setup Oracle environment variables
In order to use sqlplus and other tools, the Oracle account requires certain environment variables. The following will set these variables automatically at every interactive Oracle login:
sudo echo '. /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh' >> /home/oracle/.bashrch4. C.6. Oracle sudo root access
It is not essential to allow the Oracle user to use sudo, but it is convenient:
usermod -G admin oracle
Verify:
id oracle
-> uid=1001(oracle) gid=1001(dba) groups=1001(dba),120(admin)
sudo su -
-> Enter Oracle account passwordh4. C.7. Oracle 11g XE Post-installation
After you install Oracle Database XE, its graphical user interface is only available from the local server, but not remotely.
The following will correct the problem if necessary:
Login as user Oracle or use:
su - oracle
sqlplus / as sysdba
At the SQL prompt, enter the following command:
EXEC DBMS_XDB.SETLISTENERLOCALACCESS(FALSE);
exith3. D) Unintstall, Reconfigure and Troubleshooting
h4. D.1. Uninstall Oracle 11g XE
The following will completely uninstall and remove Oracle 11g XE:
Login as user root:
sudo su -
/etc/init.d/oracle-xe stop
dpkg --purge oracle-xe
rm -r /u01/app
rm /etc/default/oracle-xe
update-rc.d -f oracle-xe removeh4. D.2. Reconfigure Oracle 11g XE
Type the following in a terminal window:
/etc/init.d/oracle-xe stop
sudo rm /etc/default/oracle-xe
/etc/init.d/oracle-xe configureh4. D.3. Enable Archivelog mode and perform a database backup
Login as user Oracle:
su - oracle
sqlplus / as sysdba
At the SQL prompt, enter the following commands:
shutdown immediate
startup mount
alter database archivelog;
alter database open;
exit
Login to system console of the Oracle user account:
Select Applications > Oracle Database 11g Express Edition > Backup Databaseh3. E) Notes
h4. E.1. Oracle 11g XE limitiations overview
- It will consume, at most, processing resources equivalent to one CPU.
- Only one installation of Oracle Database XE can be performed on a single computer.
- The maximum amount of user data in an Oracle Database XE database cannot exceed 11 GB.
- The maximum amount of RAM that Oracle XE uses cannot exceed 1 GB, even if more is available.
- HTTPS is not supported natively with the HTTP listener built into Oracle Database XE.
h4. E.2. Documentation and Links
Official documentation for Oracle 11gR2 XE can be found at:
http://www.oracle.com/pls/xe112/homepage
h4. E.3. Oracle 11g XE downloads
The Installer is available from the Oracle Technology Network at:
http://www.oracle.com/technology/products/database/xe
http://www.oracle.com/technetwork/database/express-edition/downloads/index.html
h4. E.4 APEX links and archives
The APEX archives can be found at:
http://www.oracle.com/technetwork/developer-tools/apex/application-express/all-archives-099381.html
The APEX download site is:
http://www.oracle.com/technetwork/developer-tools/apex/downloads/index.html
h3. F) Troubleshooting
... in progress
Regards and best of luck!
Edited by: Dude on May 25, Version B: various corrections. chkconfig package (A.2.) not required.even though I am admin user.Admin user is a MS Windows term, that does not apply to Linux or Unix in the same fashion.
The configuration script tells you "You must be root user to run the configure script. Login as root user and
then run the configure script."
This is most likely correct because your account is not root and does not have UID 0. What you can do is to login as root e.g. sudo su -, as the message suggest, or use "sudo /etc/init.d/oracle-xe configure", provided your account is defined in the /etc/sudoers file to perform root/admin actions.
Btw, do not modify /etc/passwd and /etc/group to give you admin privileges or try to create a another root account under a different name. That's not the way it works and usually leads to nasty problems. -
Error while installing Oracle 10G on Oracle Enterprise Linux 4.8 32 bit
Our machine is a x86_64 machine with 32 GB of RAM available. I have installed OEL 4.8 32 bit on this machine (configured swap space of 32 GB) and OEL by default boots with the Hugemem kernel.
I am trying to install Oracle 10G enterprise edition on this. All required kernel parameters, shell limits etc. have been verified and configured. The preinstallation checks succeed on all the tests and installation proceeds smoothly. However in the last step of configuring the database using dbca following two errors are thrown:
1. ORA-27102 - out of memory
2. ORA-01034 - ORACLE not found
Most places where I am reading are telling to configure kernel parameters. However that doesn't seem to be the problem in this case.
Please Help.Hi;
What is exact db version? What installation log says?
Please see and confirm you have all pre-req settings
Oracle Database on Unix AIX,HP-UX,Linux,Mac OS X,Solaris,Tru64 Unix Operating Systems Installation and Configuration Requirements Quick Reference (8.0.5 to 11.2) [ID 169706.1]
Regard
Helios -
Error while installing Oracle 10g on Solaris 9 x86
Hi all,
I got several error after install oracle 10g. After I run the root.sh. It prompt :
Starting Oracle CSS service under init(1M)
Expecting the CRS daemons to be up within 120 seconds.
Giving up: Oracle CSS stack appears NOT to be running.
and when I start sqlplus, it prompt:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Intel SVR4 UNIX Error: 2: No such file or directory
and following the error message prompt every minutes.
"oracle: (Oracle CSSD will be run out of init)"
"root: Failure in CSS initialization opening OCR."
I don't think reinstall oracle will solve my problem if I don't figure out what going wrong. Could anyone tell me what I need to do? Thanks very much for helping.
Cheers,
AlexCheck also if the t-bit is set:
[root@vtl1g121 ~]# ls -dl /tmp
drwxrwxrwt 11 root root 4096 Apr 10 11:44 /tmp
This is needed to mark the filesystem/directory as temporary.
Sometimes this can cause such problems also
Command: chmod +t /tmp -
Error while installing oracle 10g on centos 5.6 32 Bit
Hi All,
Please help me with the issue I facing while installing oracle 10g on centos 5.6 32bit. I did lot of research on google but I am getting same answer...the libXp package is missing, but I have check it...its already installed.
[root@staging ~]# find / -name libXp.so.6
/usr/lib/libXp.so.6
/usr/lib64/libXp.so.6
echo $DISPLAY
<ipaddress>:0.0
[oracle@staging database]$ DISPLAY=<ipaddress>:0.0; export DISPLAY
[oracle@staging database]$ id
uid=500(oracle) gid=500(oinstall) groups=500(oinstall),501(dba) context=root:system_r:unconfined_t:SystemLow-SystemHigh
Below is the error message I am getting :
oracle@staging database]$ ./runInstaller
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
Passed
All installer requirements met.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-06-27_05-37-17PM. Please wait ...[oracle@staging database]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2012-06-27_05-37-17PM/jre/1.4.2/lib/i386/libawt.so: libXtst.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at sun.security.action.LoadLibraryAction.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
at sun.awt.DebugHelper.<clinit>(Unknown Source)
at java.awt.Component.<clinit>(Unknown Source)
I found some suggestion on google and tried to not use ip address in DISPLAY settings...
if I am using 0.0 instead of IP below eg.
[oracle@staging database]$ DISPLAY=:0.0; export DISPLAY
The error I am receiving differnt error
[oracle@staging database]$ ./runInstaller
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
Passed
All installer requirements met.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-06-27_05-34-40PM. Please wait ...
DISPLAY not set. Please set the DISPLAY and try again.
Depending on the Unix Shell, you can use one of the following commands as examples to set the DISPLAY environment variable:
- For csh: % setenv DISPLAY 192.168.1.128:0.0
- For sh, ksh and bash: $ DISPLAY=192.168.1.128:0.0; export DISPLAY
Use the following command to see what shell is being used:
echo $SHELL
Use the following command to view the current DISPLAY environment variable setting:
echo $DISPLAY
- Make sure that client users are authorized to connect to the X Server.
To enable client users to access the X Server, open an xterm, dtterm or xconsole as the user that started the session and type the following command:
% xhost +
To test that the DISPLAY environment variable is set correctly, run a X11 based program that comes with the native operating system such as 'xclock':
% <full path to xclock.. see below>
If you are not able to run xclock successfully, please refer to your PC-X Server or OS vendor for further assistance.
Typical path for xclock: /usr/X11R6/bin/xclock
[oracle@staging database]$ echo $SHELL
/bin/bash
Please help me.satish.ygl wrote:
Hi,
I am getting the same error when i am applying patchset to 10201 to 10204. I am using RedHat Linux 4 version and I tried set $DISPLAY=<hostname/ip address>:0.0 and export=DISPLAY
#xhost + and checked $PATH this is also is correct
I did these steps still i am getting the following error
pen an xterm, dtterm or xconsole as the user that started the session and type the following command:
% xhost +
To test that the DISPLAY environment variable is set correctly, run a X11 based program that comes with the native operating system such as 'xclock':
% <full path to xclock... see below>
If you are not able to run xclock successfully, please refer to your PC-X Server or OS vendor for further assistance.
Typical path for 'xclock': '/usr/X11R6/bin/xclock'
Please help me in this scenario.
thank You,
Sri
Edited by: satish.ygl on Oct 30, 2012 7:49 PMyou must log onto the DB Server as below (or functional equivalent)
ssh -X oracle@DB_Server
& the first & only command after logging onto the DB Server should be as below
xclock
If/when xclock fails, then OUI will fail. -
Error while installing oracle 10g on AIX
I am receiving the following error while installing oracle 10g on AIX..
error in invoking target 'relink' of makefile 'u01/app/oracle/product/10.2.0/orcl/precomp/lib/ins_precomp.mk'..
i am installing enterprise edition. pl helpHi;
What is AIX version?
Please see:
Installing 10g On Aix 5.3:'Error In Invoking Target 'Relink' Of Makefile ...' [ID 309668.1]
AIX: On Silent Install, Getting Several 'Error In Invoking Target' Messages [ID 351380.1]
"Error invoking target ... of makefile ... " Errors While Installing 8.1.6 [ID 113781.1]
Please also check below and be sure you have all prereq. on your server:
Oracle Database on Unix AIX,HP-UX,Linux,Mac OS X,Solaris,Tru64 Unix Operating Systems Installation and Configuration Requirements Quick Reference (8.0.5 to 11.2) [ID 169706.1]
Regard
Helios -
Issues while installing ORACLE 10g R2 RAC on RHEL 5.3
i am installing oracle 10g R2 RAC on RHEL 5.3 in a test environment. my aim was to install using ASM.
i went through the pre-requisites ok before beginning with the installation.
since RHEL 5.3 doesnt support raw devices i used
http://www.idevelopment.info/data/Unix/Linux/LINUX_ConnectingToAniSCSITargetWithOpen-iSCSIInitiatorUsingLinux.shtml#Configure%20iSCSI%20Initiator%20and%20New%20Volume
udev to configure shared storage. my storage is on openfiler as a iSCSI target.
fdisk -l on both nodes shows the shared drives.
[root@node1 ~]# fdisk -l
Disk /dev/sda: 21.4 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 2053 16386300 8e Linux LVM
/dev/sda3 2054 2372 2562367+ 82 Linux swap / Solaris
Disk /dev/sdd: 10.5 GB, 10502537216 bytes
64 heads, 32 sectors/track, 10016 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sdd1 1 10016 10256368 83 Linux
Disk /dev/sdb: 10.5 GB, 10536091648 bytes
64 heads, 32 sectors/track, 10048 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 10048 10289136 83 Linux
Disk /dev/sdc: 10.5 GB, 10536091648 bytes
64 heads, 32 sectors/track, 10048 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 1 10048 10289136 83 Linux
Disk /dev/sdf: 10.5 GB, 10569646080 bytes
64 heads, 32 sectors/track, 10080 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sdf1 1 10080 10321904 83 Linux
Disk /dev/sde: 10.5 GB, 10502537216 bytes
64 heads, 32 sectors/track, 10016 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sde1 1 10016 10256368 83 Linux
[root@node1 ~]# ls -l /dev/iscsi/arpl*
/dev/iscsi/arpl1:
total 0
lrwxrwxrwx 1 oracle oinstall 9 Jun 30 12:58 part -> ../../sde
lrwxrwxrwx 1 oracle oinstall 10 Jun 30 12:58 part1 -> ../../sde1
/dev/iscsi/arpl2:
total 0
lrwxrwxrwx 1 oracle oinstall 9 Jun 30 12:58 part -> ../../sdd
lrwxrwxrwx 1 oracle oinstall 10 Jun 30 12:58 part1 -> ../../sdd1
/dev/iscsi/arpl3:
total 0
lrwxrwxrwx 1 oracle oinstall 9 Jun 30 12:58 part -> ../../sdb
lrwxrwxrwx 1 oracle oinstall 10 Jun 30 12:58 part1 -> ../../sdb1
/dev/iscsi/arpl4:
total 0
lrwxrwxrwx 1 oracle oinstall 9 Jun 30 12:58 part -> ../../sdc
lrwxrwxrwx 1 oracle oinstall 10 Jun 30 12:58 part1 -> ../../sdc1
/dev/iscsi/arpl5:
total 0
lrwxrwxrwx 1 oracle oinstall 9 Jun 30 12:58 part -> ../../sdf
lrwxrwxrwx 1 oracle oinstall 10 Jun 30 12:58 part1 -> ../../sdf1
[root@node1 ~]# configuring udev results in the drives being mapped to persistent drive names eg. /dev/iscsi/arpl1/part1
still when i enter the name of the raw device which i have created i get the following error. please help
Image: !http://img91.imageshack.us/img91/7448/oracle.png!did you check this
http://download-west.oracle.com/docs/cd/B19306_01/install.102/b14203/storage.htm#BABBHECD
http://download.oracle.com/docs/cd/B28359_01/install.111/b28263/storage.htm#CDEBFDEH
also before you do what is suggested on the url posted by Mufalani,
it seems that you should do the following:
Check existence of udev raw mapping rule file /etc/udev/rules.d/60-raw.rules
On RH/EL5, udev raw mapping rule file /etc/udev/rules.d/60-raw.rules should exist by default as part of the util-linux package, for example:
# ls /etc/udev/rules.d/60-raw.rules
/etc/udev/rules.d/60-raw.rulesCreate a custom udev raw mapping rule file, /etc/udev/rules.d/61-oracleraw.rules say, for example:
# touch /etc/udev/rules.d/61-oracleraw.rules3b. Add udev raw binding rules to /etc/udev/rules.d/61-oracleraw.rules file
Add the udev raw binding rules to the /etc/udev/rules.d/61-oracleraw.rules file, for example:
# cat /etc/udev/rules.d/61-oracleraw.rules
# Raw bind to Oracle Clusterware devices
ACTION=="add", KERNEL=="sd*", PROGRAM=="/sbin/scsi_id", RESULT=="360a98000686f6959684a453333524174", RUN+="/bin/raw /dev/raw/raw1 %N"
ACTION=="add", KERNEL=="sd*", PROGRAM=="/sbin/scsi_id", RESULT=="360a98000686f6959684a453333524179", RUN+="/bin/raw /dev/raw/raw2 %N"If migrating to RHEL5/OEL5 from an earlier Linux version that relied on /etc/sysconfig/rawdevices file for persistent raw device bindings, the following script can be used as a basis for generating your RHEL5/OEL5 udev rules. Note, the script does not factor device name persistency.
#!/bin/bash
grep -v "^ *#" /etc/sysconfig/rawdevices | grep -v "^$" | while read dev major minor ; do
if [ -z "$minor" ]; then
echo "ACTION==\"add\", KERNEL==\"${major##/dev/}\", RUN+=\"/bin/raw $dev %N\""
else
echo "ACTION==\"add\", ENV{MAJOR}==\"$major\", ENV{MINOR}==\"$minor\", RUN+=\"/bin/raw $dev %M %m\""
fi
done -
Error while connecting to Oracle on Unix
Hi..
I m new to JDBC.
I have written a small code which will connect to the Oracle and select some data to display report.
On execution its throwing NULL POINTER EXCEPTION on conn.
I guess the URL tht i hav used is a problem area. But i dont know what to use. I have used oracle_SID.
Can someone tell me if that is correct url or where should i find correct DSN namein UNIX dir?hey thanks....
actually i have done it using DSN on windows. but i
really dont know wher should i do it on UNIX. The
oracle 9i is already installed on this unix box. I
guess, the DSN name also has been created and exists
on the same. But i dont know where should i search in
unix dir to structure to find this DSN name.
Can someone help me to find existing DSN name on this
box?
I believe it should be somewhere in ORACLE_HOME ...
???For Unix, if you have ODBC installed, there is an odbc.ini where you need to add the necessary configurations.
The best way you could do is make use of the Oracle thin driver (type 4).
Maybe you are looking for
-
Error while starting BI Server.....
hi, I installed BI on my machine, all the servers are running except BI Server. It is giving error - 1- Error outside of Presentation Catalog occurred. [2013-05-17T12:19:38.000+05:30] [OBIPS] [ERROR:16] [] [saw.sqlNodeCacheMgr.cleanExpired] [ecid: 00
-
Covert color pdf to a black & white
Does anyone know how to convert a color pdf into black and white? We're having some space issues on our server and have some documents that were scanned in color that we would like to convert to black and white to reduce the file size. I am using Ado
-
Problem viewing videos I recorded with the phone
When trying to view videos I recorded with the phone, It gives me a message saying it is impossible to view this multimedia file format! It has been recorded with the phone and it can't watch it on the phone!? It doesn't recognize its own recording f
-
Adobe CC desktop and apps oblivious to system restore
Running Windows 8.1 on a Surface Pro 3 i7. No problems for 2 months until I had to do a system restore because the last release of Indesign was freezing (which fixed it). But I noticed that nothing Adobe was on the "affected programs" list. I looked
-
I've changed the language to Dutch in order have the date format when creating a calender in Iphoto. This succeeded, but in the meanwhile the months appear in the short form, like "jan" instead of January. I can't find a setting in Iphoto or in Syste