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!

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.

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"

Are you new to Gentoo?

HOWTO Install Oracle 10g - Gentoo Linux Wiki

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.

lsnrctl start

Errors will be more visible if there are any. Likely, the listener.log file can't be accessed - mine was never created.

touch $ORACLE_HOME/network/log/listener.log
chown 

or

 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

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.