Talk:Oracle10g R2 Database on SLES10 for i386 Step-by-Step 1
From CoolSolutionsWiki
This page is intended to be a step-by-step giude for people new to Oracle and SLES10 who want to perform a simple installation of Oracle on SLES10.
Klyons 18:08, 15 August 2006 (MDT)
which gcc?
Unfortunately it doesn't work in my environment. I have a new installed SLES10 and I'm trying to get Oracle 10.2 installed. During the linking I get errors:
skipping incompatible ... libsql10.a when searching for -lsql10 ... cannot find -lsql10 ... genclntsh: Failed to link libclntsh.so.10.1
gcc -v gives me the version number 4.1, do I have to use an older version (remember that gcc-old thing?)
Any comments are welcome
I have the same problem. This error message in oracle log:
INFO: Start output from spawned process: INFO: ---------------------------------- INFO: INFO: /oracle/product/10gR2/bin/genclntsh INFO: /usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld: skipping incompatible /oracle/product/10gR2/lib/libsql10.a when searching for -lsql10 /usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld: cannot find -lsql10 collect2: ld returned 1 exit status INFO: genclntsh: Failed to link libclntsh.so.10.1 INFO: make: *** [client_sharedlib] Error 1 INFO: End output from spawned process.
Have someone a idea?
thanks
After install:
oracle@linux-6:~> . oraenv ORACLE_SID = orcl ? linux-6
ORACLE_SID = [orcl] ? orcl
oracle@linux-6:~> sqlplus
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Aug 4 10:16:20 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved..
Enter user-name: sys/password as sysdba
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 1224736768 bytes Fixed Size 1219112 bytes Variable Size 318768600 bytes Database Buffers 889192448 bytes Redo Buffers 15556608 bytes Database mounted. Database opened.
oracle@linux-6:~> lsnrctl status
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 01-AUG-2008 17:20:11
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1))) TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error TNS-00511: No listener Linux Error: 111: Connection refused
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=linux-6.mshome)(PORT=1521))) TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error TNS-00511: No listener Linux Error: 111: Connection refused
oracle@linux-6:~> lsnrctl start
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 01-AUG-2008 17:22:08
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Starting /opt/oracle/product/10.2/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.1.0 - Production System parameter file is /opt/oracle/product/10.2/db_1/network/admin/listener.ora Log messages written to /opt/oracle/product/10.2/db_1/network/log/listener.log Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1))) Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=linux-6.mshome)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1))) STATUS of the LISTENER
Alias LISTENER Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production Start Date 01-AUG-2008 17:22:09 Uptime 0 days 0 hr. 0 min. 0 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /opt/oracle/product/10.2/db_1/network/admin/listener.ora Listener Log File /opt/oracle/product/10.2/db_1/network/log/listener.logListening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=linux-6.mshome)(PORT=1521)))
Services Summary... Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
oracle@linux-6:~>
Aydin Demir
