Saturday, September 17, 2011

Oracle 11g: Windows could not start the OracleDBConsoleorcl on Local Computer


I was using the Oracle 11g in my Windows 7 Professional system for few days..  Suddenly, I was not able to use the sql developer to connect the schema/user.

I found that the Oracle... services were down in the Windows services windows.

a) Oracle ORCL VSS Writer Service - running
b) OracleDBConsoleorcle - not running
c) OracleJobSchedulerORCL - not running
d) OracleServiceORCL - not running

When I started the OracleDBConsoleoracle, it thrown a error "Windows could not start the OracleDBConsoleorcl on Local Computer".

(Below solution is worked for me, based on the various fo rum threads)...

a. go to C:\.......\product\11.1.0\db_1\oc4j\j2ee
b. copy paste the folder: OC4J_DBConsole_192.168.x.y_orcl, two times
c. rename one of the two new folder as OC4J_DBConsole_localhost_orcl
d) rename the other one as OC4J_DBConsole__orcl


after making these changes and a reboot, it started to running.........







Sunday, September 4, 2011

Oracle11g Failure IO exception: The Network Adapter could not establish

Today,  I have installed Oracle 11g enterprise in my Windows 7 Enterprise 64 bit machine.   Oracle server and sql developer are in the same machine.

When I tried to connect the User Scott through SQL Developer,
I gave these details:
Hostname: localhost
Port: 1521
SID: orcl
 I got the error, Status: Failure -Io exception.   The Network Adapter could not establish.....

I have tried few steps provided in other blogs, forums, no use....

But when checked the tnsnames.ora,

ORCL =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.xyz.cc.bb)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = orcl.168.10.xyz)
    )
  )

I used these details for connection, it is working fine....

Andrew Ng machine learning course

Hi, I was failing in the week 2 quiz - Machine learning course in Coursera.org, especially in one of the question which has multiple opti...