Can't connect to Enterprise Manager (Oracle 10g)? [message #334215] |
Tue, 15 July 2008 21:55 |
bongda
Messages: 5 Registered: July 2008
|
Junior Member |
|
|
This is so weird! I'm completely new to Oracle; so this might be a stupid question.
Right after installing the Oracle 10, I was able to connect to the Enterprise Manager. However, after I shut down the computer and connect to it again, it kept giving me an error message "Can't not connect".
I did some researches and found out that it might be because my computer has multiple IP addresses; or the Environment Variables are not defined...However, I've tried everything and it's still NOT working for me so far
Please help!!!!!!!
Thank you
|
|
|
|
Re: Can't connect to Enterprise Manager (Oracle 10g)? [message #334241 is a reply to message #334223] |
Tue, 15 July 2008 23:40 |
bongda
Messages: 5 Registered: July 2008
|
Junior Member |
|
|
hmm, I'm new to this forum. But after reading the guilines, I still couldn't find anything wrong with my post.
In addition, I don't have a strong background in network and system. I'm just following along a video training course for Oracle 10g; and learning EM is HUGE component of the course. So I really don't know what to do.
I know it's a huge favor to ask. But if you can show me where I went wrong, I will greatly appreciate
[Updated on: Tue, 15 July 2008 23:41] Report message to a moderator
|
|
|
|
|
|
Re: Can't connect to Enterprise Manager (Oracle 10g)? [message #335040 is a reply to message #335038] |
Sat, 19 July 2008 22:35 |
|
ebrian
Messages: 2794 Registered: April 2006
|
Senior Member |
|
|
Since this is a DHCP computer, first check the hosts file (C:\WINDOWS\system32\drivers\etc\hosts) and verify it has the following entry:
127.0.0.1 localhost <hostname.domainname> <hostname>
Then perform the following at a command prompt:
C:\> set ORACLE_HOSTNAME=<hostname>
C:\> set ORACLE_HOME=<oracle_home_directory>
C:\> set ORACLE_SID=<oracle_sid>
C:\> cd %ORACLE_HOME%\bin
C:\> emctl start dbconsole
Without knowing the state of your current configuration, it probably wouldn't hurt to run the following prior to doing any of the above.
C:\> set ORACLE_HOME=<oracle_home_directory>
C:\> set ORACLE_SID=<oracle_sid>
C:\> cd %ORACLE_HOME%\bin
C:\> emca -config dbcontrol db -repos recreate
To prevent future startup issues, you may want to set ORACLE_HOSTNAME as a system environment variable.
Check Installing Oracle Database on DHCP Computers for any additional info.
[Updated on: Sat, 19 July 2008 22:37] Report message to a moderator
|
|
|
|