I've just installed the latest 10g version on a RHEL4 Linux system. Afterward, and after exporting my ORACLE_SID and ORACLE_HOME variables, on trying to start the EM Control (emctl), I got the dreaded "OC4J Configuration issue" error:
./emctl start dbconsole
TZ set to US/Eastern
OC4J Configuration issue. /usr/local/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_myhostname_myoracledb not found.
lsnrctl hung when connecting or checking status:
./lsnrctl
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 25-JUN-2007 16:14:23
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Welcome to LSNRCTL, type "help" for information.
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1521)))
I ran netca again to reconfigure the existing listener (LISTENER) with port 1521, and all goes well, until the end, when this message comes up:
"The information provided for this listener is currently in use by other software on this computer. You can proceed with the configuration as it is, but it will not be possible to start this listener until the conflict is resolved. Would you like to continue with the configuration anyway? (Yes|No)"
Since I want the listener to run on the standard 1521 port, and since I can't find anything else running on this port, I chose "Yes". I saw this appear in the console:
The information provided for this listener is currently in use by other software on this computer.
Listener start failed. Listener may already be running.
And then this on exit:
Oracle Net Services configuration successful. The exit code is 0
Afterward, it looked like the listener was running:
# netstat -a |grep 1521
tcp 0 0 *:1521 *:* LISTEN
[root@destefano ~]# ps -elf|grep lsnr
0 S jd 7499 1 0 76 0 - 10433 - 09:58 ? 00:00:00 /usr/local/oracle/product/10.2.0/db_1//bin/tnslsnr LISTENER -inherit
But "lsnrctl status" times out, and "emctl start dbconsole" returns the same error as before.
./emctl start dbconsole
TZ set to US/Eastern
OC4J Configuration issue. /usr/local/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_myhostname_myoracledb not found.
lsnrctl hung when connecting or checking status:
./lsnrctl
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 25-JUN-2007 16:14:23
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Welcome to LSNRCTL, type "help" for information.
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1521)))
I ran netca again to reconfigure the existing listener (LISTENER) with port 1521, and all goes well, until the end, when this message comes up:
"The information provided for this listener is currently in use by other software on this computer. You can proceed with the configuration as it is, but it will not be possible to start this listener until the conflict is resolved. Would you like to continue with the configuration anyway? (Yes|No)"
Since I want the listener to run on the standard 1521 port, and since I can't find anything else running on this port, I chose "Yes". I saw this appear in the console:
The information provided for this listener is currently in use by other software on this computer.
Listener start failed. Listener may already be running.
And then this on exit:
Oracle Net Services configuration successful. The exit code is 0
Afterward, it looked like the listener was running:
# netstat -a |grep 1521
tcp 0 0 *:1521 *:* LISTEN
[root@destefano ~]# ps -elf|grep lsnr
0 S jd 7499 1 0 76 0 - 10433 - 09:58 ? 00:00:00 /usr/local/oracle/product/10.2.0/db_1//bin/tnslsnr LISTENER -inherit
But "lsnrctl status" times out, and "emctl start dbconsole" returns the same error as before.