LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   oracle10g on slack10? (https://www.linuxquestions.org/questions/slackware-14/oracle10g-on-slack10-316102/)

zord 04-22-2005 12:34 PM

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

WMD 04-23-2005 02:16 PM

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)

zord 04-23-2005 05:09 PM

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.

zord 04-25-2005 01:16 PM

Just for the record, oracle actually works on both Slackware and Suse :D

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.

Dakar 05-20-2005 03:24 PM

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.

zord 05-20-2005 06:32 PM

for 10g: start the installer using './runInstaller -ignoreSysPrereqs'

Dakar 05-20-2005 08:51 PM

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?


All times are GMT -5. The time now is 11:16 PM.