Installing oracle on Gentoo


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Installing oracle on Gentoo
# 1  
Old 12-19-2007
Installing oracle on Gentoo

Hello!
I'm using Linux Gentoo 2.6.22-gentoo-r9.
Before I used Red Had I had no issues with the installation.
But I don't like Red Hat and trying to install Oracle on Gentoo.
See following:

rpm --nodeps -vv -i oracle-xe-10.2.0.1-1.0.i386.rpm
...
You must run '/etc/init.d/oracle-xe configure' as the root user to
configure the database.
...
/etc/init.d/oracle-xe start
Starting Oracle Net Listener.
Starting Oracle Database 10g Express Edition Instance.

/etc/init.d/oracle-xe status

LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 19-DEC-2007 19:30:22

Copyright (c) 1991, 2005, Oracle. All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 2: No such file or directory
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=%hostname%)(PORT=%port%)))
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist

Even if there are no errors in status 127.0.0.1:8080/apex is unavailable.

Can someone help me or just tell where I can find some information regarding installation on Gentoo.
Thank you!

Last edited by reborg; 12-19-2007 at 04:51 PM.. Reason: turn off smileys
# 2  
Old 12-19-2007
Quote:
Originally Posted by mirusnet
Before I used Red Had I had no issues with the installation.
But I don't like Red Hat and trying to install Oracle on Gentoo.
I wouldn't touch Gentoo with precompiled software with a barge pole.

The rational behind Gentoo is you compile everything yourself and I don't think Larry has open sourced Oracle yet.
# 3  
Old 12-19-2007
Quote:
Originally Posted by mirusnet
You must run '/etc/init.d/oracle-xe configure' as the root user to
configure the database.

I didn't see you having run the configure. you only ran start.
# 4  
Old 12-19-2007
Quote:
Originally Posted by idle
I didn't see you having run the configure. you only ran start.
I did it previously.

mirus mirus # /etc/init.d/oracle-xe configure

Oracle Database 10g Express Edition Configuration
-------------------------------------------------
This will configure on-boot properties of Oracle Database 10g Express
Edition. The following questions will determine whether the database should
be starting upon system boot, the ports it will use, and the passwords that
will be used for database accounts. Press <Enter> to accept the defaults.
Ctrl-C will abort.

Specify the HTTP port that will be used for Oracle Application Express [8080]:

Specify a port that will be used for the database listener [1521]:

Specify a password to be used for database accounts. Note that the same
password will be used for SYS and SYSTEM. Oracle recommends the use of
different passwords for each database account. This can be done after
initial configuration:
Confirm the password:

Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]:

Starting Oracle Net Listener...Done
Configuring Database...Done
Starting Oracle Database 10g Express Edition Instance...Done
Installation Completed Successfully.
To access the Database Home Page go to "http://127.0.0.1:8080/apex"
# 5  
Old 12-19-2007
Quote:
Originally Posted by mirusnet
Can someone help me or just tell where I can find some information regarding installation on Gentoo.
Are you new to Gentoo?

HOWTO Install Oracle 10g - Gentoo Linux Wiki
# 6  
Old 01-28-2009
Java It can be done.

Hi sorry I just found this posting. I've done 10g XE on Gentoo before but it wasn't so easy. Too bad.

As for your problem, there were a few problems with my rpm not being complete for Gentoo. Try to start the listener yourself.
Code:
lsnrctl start

Errors will be more visible if there are any. Likely, the listener.log file can't be accessed - mine was never created.
Code:
touch $ORACLE_HOME/network/log/listener.log
chown

or
Code:
 chmod 777 listener.log

Also be sure your ORACLE_{HOME,SID} are set. My instance didn't even have a .bash_rc file for some reason. I exported them myself for now.

Use
Code:
netstat -an

to check that you are listening on 1521 and 8080 or whatever http port you specified in configure. I was going crazy because my http listener never worked, but I got it running without even realizing it. The http server took a minute to start. Give it a while. It's awefully rewarding once you get it up.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Installing Oracle jre 8 on Linux

Hi, I am a common user on a linux cluster that has openJDK installed. For a particular software, the vendor asks for Oracle version of java installed. How can I install the oracle version from my home space where I don't need admin privileges to install? thanks! (2 Replies)
Discussion started by: pc2001
2 Replies

2. Solaris

Problem Installing Oracle 8i

System Model and Spec Sun Enterprise 420R Processor Speed: 450 MHz (4 processors) Installed RAM: 4 GB Os: Solaris 8 Sparc I successfully installed standard oracle 8i setup on our database server specs above but after installation was competed and it went to creating database I got the... (2 Replies)
Discussion started by: Wpgn
2 Replies

3. Red Hat

Errors while installing Oracle on Redhat5.7

Hello All, I'm having below errors while installing oracle on Redhat 5.7 64 bit, terminated installation as preliminary check failed. -bash-3.2$ !cd cd ../../../database/ -bash-3.2$ xclock Error: Can't open display: -bash-3.2$ xdpyinfo xdpyinfo: unable to open display "". -bash-3.2$... (6 Replies)
Discussion started by: lovesaikrishna
6 Replies

4. Solaris

When installing the Oracle it complains that must be configured to display at least .

Good Evening, When I try to install the oracle in Solaris 10, I get the following error: Checking Temp space: must be greater than 250 MB. Actual 27740 MB Passed Checking swap space: must be greater than 500 MB. Actual 28555 MB Passed Checking monitor: must be configured to... (12 Replies)
Discussion started by: aa_monster
12 Replies

5. Solaris

Installing Oracle HTTP Server

Hi, i am trying to install Oracle 10g Companion Products on a Solaris 5.9 server. At the end of the installation the configuration assistant fails and it's unable to start the HTTP Server. Below is the error opmnctl: starting opmn and all managed processes... Failed to get IP for ... (0 Replies)
Discussion started by: saharookiedba
0 Replies

6. Solaris

Installing oracle 10g on solaris

Thanks all for your help. Now here is another problem i have, i have been trying to install oracle 10g on solaris but i keep getting this error message "there is not enough memory on the volume you specify to copy the starter database files the oracle universal installer discover that you have... (8 Replies)
Discussion started by: mutiat
8 Replies

7. Solaris

Java Exceptions while installing Oracle

Hello. I was trying to installe oracle 10g on solaris t0 x86 and got few exception? Could you please suggest, what might be going wrong? $ ls -l total 32 drwxr-xr-x 9 oracle dba 512 Nov 21 03:50 doc drwxr-xr-x 5 oracle dba 512 Nov 21 03:50 install drwxr-xr-x 2... (5 Replies)
Discussion started by: panchpan
5 Replies

8. Red Hat

Help installing Oracle 9i/10g on RedHat?

If anybody can help would be greatly appreciated... I get the same error with Oracle 9i & 10g when installing on Red Hat Fedora 4, it's java related... Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2007-03-16_01-09PM/jre/lib/i386/libawt.so: connat restore segment... (0 Replies)
Discussion started by: Joncamp
0 Replies

9. UNIX for Dummies Questions & Answers

Installing Oracle on Linux

Happy Holidays everybody. I'm trying to install oracle 8i personal on my desktop, but I don't know how to do it at the command prompt. Heck, i don't even know how to access my cdrom drive from the command prompt. Could somebody give me a hint to get me started. I would tried to do it with Xwindows... (2 Replies)
Discussion started by: tmanpakdee
2 Replies
Login or Register to Ask a Question