LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-22-2005, 12:34 PM   #1
zord
Member
 
Registered: Feb 2005
Distribution: slack 10
Posts: 50

Rep: Reputation: 15
oracle10g on slack10?


Hi,
I'm currently trying to install oracle 10g (release 1 10.1.0.3 linux x86) on slackware 10.0 (kernel 2.6.9).
I have followed the instructions from http://download-east.oracle.com/docs...521_01/toc.htm

During Installation I created a database called train.
I start it using 'lsnrctl start' and
Code:
sqlplus /nolog
SQL> connect / as sysdba
SQL> startup
If I run netmgr now, I can connect to it with scott/tiger and my system account, test works without any problems reported.

I tought great, that's it, and tried to install compiere. But that claim's, it can't connect as 'system'.

So I started reading tutorials again, and noticed a few things:
I can't tnsping the db, neither 'tnsping <oracle_sid>' nor 'tnsping <globalname>' works.
I get the errormessage: oracle tnsping TNS-03505: Failed to resolve name

Also I cant connect using 'sqlplus system/password' or 'sqlplus system/password@train'.
It keeps saying "ERROR: ORA-01017: invalid username/password; logon denied"
Only scott/tiger works here. The password for system is 100% correct (it works via netmgr).

During the installation I had two errormessages, unfortunately I didn't write them down. I choose to continue, and the installation finished succesfully.
This is the part of the log, where I think the error occurred.
Quote:
Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'all_no_orcl' of makefile '/opt/compiere2/app/oracle/OraHome_1/rdbms/lib/ins_rdbms.mk'. See '/opt/compiere2/app/oracle/oraInventory/logs/installActions2005-04-21_04-57-38PM.log' for details.
Exception Severity: 1
I needed to force the installer to run, it would just accept RedHat or Suse servers.
Did anybody manage to have it running on slackware 10.0? Or won't it work cause it ain't a RPM based distro?
I'm getting quite frustrated finding the errors, a lot of the documentation and tutorials I read were slightly out of date, and have slightly differences, which variables have to be set to which path. So I'd like to at least know, whether it's just a configuration problem, or if it just won't work.

My bash profile for the oracle user:
Code:
umask 022
export TEMP=/tmp
export TMPDIR=/tmp
export ORACLE_BASE=/opt/compiere2/app/oracle
export ORACLE_SID=train
unset ORACLE_HOME
unset TNS_ADMIN
export ORACLE_HOME=$ORACLE_BASE/OraHome_1
export PATH=$PATH:$ORACLE_HOME/bin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
My sqlnet.ora:
Code:
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
NAMES.DEFAULT_DOMAIN = huberei.net
And the tnsnames.ora
Code:
TRAIN =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = huber.huberei.net)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = train.huberei.net)
    )
  )

EXTPROC_CONNECTION_DATA =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    )
    (CONNECT_DATA =
      (SID = PLSExtProc)
      (PRESENTATION = RO)
    )
  )

Any help is appreciated, let me know if you need anything else, e.g. the full install log (about 10.000 lines )

Thx

Last edited by zord; 04-22-2005 at 12:35 PM.
 
Old 04-23-2005, 02:16 PM   #2
WMD
Member
 
Registered: Jul 2004
Location: Florida
Distribution: Slackware, Debian
Posts: 484

Rep: Reputation: 30
Oracle is only certified to run on Red Hat Enterprise. If you really need to run Oracle on Linux and can't pay for RHEL, I recommend you get White Box Linux, which clones it. (Version 4 is about to come out so you may want to wait)
 
Old 04-23-2005, 05:09 PM   #3
zord
Member
 
Registered: Feb 2005
Distribution: slack 10
Posts: 50

Original Poster
Rep: Reputation: 15
For the moment I'm trying to install it on Suse 9.1, there are some tutorials out there who cover that.
I'm still struggling with doing so, but I guess I'll get it to work sooner or later.

Otherwise I'll try Whitebox, thx for the advice, I've never heard of it before.
 
Old 04-25-2005, 01:16 PM   #4
zord
Member
 
Registered: Feb 2005
Distribution: slack 10
Posts: 50

Original Poster
Rep: Reputation: 15
Just for the record, oracle actually works on both Slackware and Suse

I had the same problems on Suse at first, for some reason it works on both systems, when the Default-Domain-line in sqlnet.ora is uncommented.
 
Old 05-20-2005, 03:24 PM   #5
Dakar
LQ Newbie
 
Registered: Apr 2003
Posts: 11

Rep: Reputation: 0
Can anyone elaborate or point me in the direction to get Oracle to install on SL10.1?

I've tried 9i, and get


Code:
oracle@lappy1:~/ora/Disk1$ ./runInstaller
oracle@lappy1:~/ora/Disk1$ Initializing Java Virtual Machine from /tmp/OraInstall2005-05-20_02-55-14PM/jre/bin/java. Please wait...
Error occurred during initialization of VM
Unable to load native library: /tmp/OraInstall2005-05-20_02-55-14PM/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
I've regressed gcc back to 3.2.2 (from SL9), and it still persists. (at least I think the compiler was regressed, i used pkgtool and the gcc-3.2.2-i386-3.tgz from the old distro, then ldconfig). and still same error.

When I tried to get 10g to install it blows up with
Checking operating system version: must be redhat-2.1, redhat-3, SuSE-9, SuSE-8 or UnitedLinux-1.0
Failed <<<<

Is there a way to get around either of these? I'd prefer to use 9i, since that is what was requested.
 
Old 05-20-2005, 06:32 PM   #6
zord
Member
 
Registered: Feb 2005
Distribution: slack 10
Posts: 50

Original Poster
Rep: Reputation: 15
for 10g: start the installer using './runInstaller -ignoreSysPrereqs'
 
Old 05-20-2005, 08:51 PM   #7
Dakar
LQ Newbie
 
Registered: Apr 2003
Posts: 11

Rep: Reputation: 0
Thanks, didn't see that switch. But just found out the server is going house a preexisting database that is in version 9i and needs to stay thay way.... any suggestions on how to get around what looks like a glib error so I can get it to actually install?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
automatic start oracle10g script velmots83 Linux - Software 1 04-15-2008 12:11 AM
No cd-rw in Slack10 deft Slackware 9 08-11-2006 05:35 PM
FC3+Oracle10g freeze poj Linux - Software 7 05-12-2005 12:54 AM
Installing Oracle10G in Text mode vipspark Linux - Enterprise 1 03-21-2005 11:46 AM
No X in Slack10...? deft Linux - Software 3 08-23-2004 08:42 PM


All times are GMT -5. The time now is 06:55 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration