Okay, so I have spent over 2 days trying to fix this problem. I have googled the issue, searched the archives of various forums, as well as read the documentation on oracle's website. At this point I am lost.


I am running Oracle Database 11g Release 2 EXPRESS EDITION. I am running Fedora 17 in Oracle's VirtualBox. The client I am attempting to connect to the server with is SQLDeveloper, and I am using the latest version of it.

When I am logged in as root, these are two of the many lines I have when I type "export" in the shell:

declare -x ORACLE_HOME="/u01/app/oracle/product/11.2.0/xe"
declare -x ORACLE_SID="PLSExtProc"

Some other things to know:

[root@zeke admin]# uname -a
Linux zeke 3.3.4-5.fc17.x86_64 #1 SMP Mon May 7 17:29:34 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

[root@zeke admin]# ls /u01/app/oracle/product/11.2.0/xe/network/admin
listener.ora samples tnsnames.ora

(these are the only files + one directory in that particular folder)

And here are the contents of both the .ora files:
[root@zeke admin]# cat listener.ora

# listener.ora Network Configuration File:

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/xe)
(PROGRAM = extproc)
)
)

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
)
)

DEFAULT_SERVICE_LISTENER = (XE)

# tnsnames.ora Network Configuration File:

XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
)
)

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

And lastly, here is the content of the sqldeveloper.sh file:

[root@zeke admin]# cat /opt/sqldeveloper/sqldeveloper.sh
#!/bin/bash
ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
ORACLE_SID=PLSExtProc
export ORACLE_HOME
export ORACLE_SID
cd "`dirname $0`"/sqldeveloper/bin && bash sqldeveloper $*

Please let me know if I need to provide any other information. Thank you.