Click here to Skip to main content
15,887,135 members
Home / Discussions / Database
   

Database

 
AnswerRe: How to replace string with stuff ? Pin
Richard Deeming16-Jul-13 1:37
mveRichard Deeming16-Jul-13 1:37 
GeneralRe: How to replace string with stuff ? Pin
caulsonchua16-Jul-13 1:39
caulsonchua16-Jul-13 1:39 
GeneralRe: How to replace string with stuff ? Pin
Richard Deeming16-Jul-13 1:50
mveRichard Deeming16-Jul-13 1:50 
AnswerRe: How to replace string with stuff ? Pin
Mycroft Holmes16-Jul-13 12:44
professionalMycroft Holmes16-Jul-13 12:44 
QuestionMounting .DBF files (Oracle Database 11g) Pin
prathameshpitale15-Jul-13 5:33
prathameshpitale15-Jul-13 5:33 
AnswerRe: Mounting .DBF files (Oracle Database 11g) Pin
Maciej Los29-Jul-13 23:46
mveMaciej Los29-Jul-13 23:46 
GeneralRe: Mounting .DBF files (Oracle Database 11g) Pin
prathameshpitale30-Jul-13 5:40
prathameshpitale30-Jul-13 5:40 
QuestionORA-12560 TNS : protocol adapter error; ORA-1033 Oracle initialization or shutdown in progress Pin
prathameshpitale15-Jul-13 5:33
prathameshpitale15-Jul-13 5:33 
Hello,
I am using win XP with oracle 11g Express edition. I have a customized application written in c#.net and Oracle 11g express as backend.
It was all working fine till today, But now I am getting error.
While opening c# application I am getting ORA-1033 Oracle initialization or shutdown in progress

and if I try from command prompt.
sqlplus system/system123
Error : ORA-12560: TNS: protocol adapter error

tnsnames.ora content

VB
XE =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = user-pc)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = XE)
    )
  )

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

ORACLR_CONNECTION_DATA =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    )
    (CONNECT_DATA =
      (SID = CLRExtProc)
      (PRESENTATION = RO)
    )
  )



Oracle Services in services.msc
NAme Status
oraclejobschedulerXE -
OracleMTSRecoveryService - Started
OracleServiceXE - Started
OracleXEClrAgent - Started
OracleXETBSListener - Started



TNSPING O/p.

C:\Documents and Settings\User>tnsping localhost

TNS Ping Utility for 32-bit Windows: Version 11.2.0.2.0 - Production on 14-JUL-2
013 15:57:23

Copyright (c) 1997, 2010, Oracle.  All rights reserved.

Used parameter files:
C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\sqlnet.ora

Used HOSTNAME adapter to resolve the alias
Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=))(ADDRESS=(PROTO
COL=TCP)(HOST=127.0.0.1)(PORT=1521)))
OK (30 msec)

C:\Documents and Settings\User>



content of listener.ora
VB
SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = PLSExtProc)
      (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
      (PROGRAM = extproc)
    )
    (SID_DESC =
      (SID_NAME = CLRExtProc)
      (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
      (PROGRAM = extproc)
    )
  )

LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
      (ADDRESS = (PROTOCOL = TCP)(HOST = user-pc)(PORT = 1521))
    )
  )

DEFAULT_SERVICE_LISTENER = (XE)




Listener Status :

C:\Documents and Settings\User>lsnrctl status

LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 14-JUL-2013 16:00
:46

Copyright (c) 1991, 2010, Oracle.  All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Produ
ction
Start Date                14-JUL-2013 15:07:14
Uptime                    0 days 0 hr. 53 min. 34 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Default Service           XE
Listener Parameter File   C:\oraclexe\app\oracle\product\11.2.0\server\network\a
dmin\listener.ora
Listener Log File         C:\oraclexe\app\oracle\diag\tnslsnr\user-pc\listener\a
lert\log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=user-pc)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
  Instance "CLRExtProc", status UNKNOWN, has 3 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
  Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "xe" has 1 instance(s).
  Instance "xe", status READY, has 1 handler(s) for this service...
The command completed successfully



command :lsnrctl services


C:\Documents and Settings\User>lsnrctl services

LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 14-JUL-2013 16:02
:12

Copyright (c) 1991, 2010, Oracle.  All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
  Instance "CLRExtProc", status UNKNOWN, has 3 handler(s) for this service...
    Handler(s):
      "DEDICATED" established:0 refused:0
         LOCAL SERVER
      "ORACLE SERVER" established:0 refused:0 current:0 max:25 state:ready
         CLRExtProc
         (ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\NTN_438_FC77BB0E_BBD1.ORA))
      "ORACLE SERVER" established:0 refused:0 current:0 max:25 state:ready
         CLRExtProc
         (ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\NTN_438_FC77BB0E_B074.ORA))
Service "PLSExtProc" has 1 instance(s).
  Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
      "DEDICATED" established:0 refused:0
         LOCAL SERVER
Service "xe" has 1 instance(s).
  Instance "xe", status READY, has 1 handler(s) for this service...
    Handler(s):
      "DEDICATED" established:7 refused:0 state:ready
         LOCAL SERVER
The command completed successfully



Tried login using sysdba

C:\Documents and Settings\User>sqlplus / as sysdba

SQL*Plus: Release 11.2.0.3.0 Production on Sun Jul 14 16:03:30 2013

Copyright (c) 1982, 2011, Oracle.  All rights reserved.

ERROR:
ORA-12560: TNS:protocol adapter error


Enter user-name:





tried connecting from sql command line

SQL*Plus: Release 11.2.0.2.0 Production on Sun Jul 14 16:04:32 2013

Copyright (c) 1982, 2010, Oracle.  All rights reserved.

SQL> shutdown immediate;
ORA-01012: not logged on
SQL> connect system/manager321
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
Process ID: 0
Session ID: 0 Serial number: 0


SQL>




Can you please suggest a solution? I have no fresh database backup.
-
Prathamesh

QuestionHow to find ladder in sql query Pin
Member 356741115-Jul-13 2:02
Member 356741115-Jul-13 2:02 
AnswerRe: How to find ladder in sql query Pin
Niral Soni15-Jul-13 5:00
Niral Soni15-Jul-13 5:00 
AnswerRe: How to find ladder in sql query Pin
karna from Hyderabad22-Jul-13 21:01
karna from Hyderabad22-Jul-13 21:01 
Questiondatabase course Pin
V.14-Jul-13 22:32
professionalV.14-Jul-13 22:32 
AnswerRe: database course Pin
Eddy Vluggen15-Jul-13 0:30
professionalEddy Vluggen15-Jul-13 0:30 
GeneralRe: database course Pin
V.15-Jul-13 1:30
professionalV.15-Jul-13 1:30 
QuestionFIlestream of varbinary ? ( To Store files) Pin
Amol_B14-Jul-13 21:22
professionalAmol_B14-Jul-13 21:22 
AnswerRe: FIlestream of varbinary ? ( To Store files) Pin
Richard MacCutchan14-Jul-13 22:29
mveRichard MacCutchan14-Jul-13 22:29 
AnswerRe: FIlestream of varbinary ? ( To Store files) Pin
Mycroft Holmes14-Jul-13 22:42
professionalMycroft Holmes14-Jul-13 22:42 
GeneralRe: FIlestream of varbinary ? ( To Store files) Pin
Amol_B14-Jul-13 22:58
professionalAmol_B14-Jul-13 22:58 
Questionneed an sql query to extract results in the attached format Pin
vijays.30198914-Jul-13 3:40
vijays.30198914-Jul-13 3:40 
Questionbackup in sqllocaldb Pin
dharmaa.m12-Jul-13 7:57
dharmaa.m12-Jul-13 7:57 
AnswerRe: backup in sqllocaldb Pin
NotPolitcallyCorrect12-Jul-13 8:36
NotPolitcallyCorrect12-Jul-13 8:36 
GeneralRe: backup in sqllocaldb Pin
dharmaa.m12-Jul-13 10:03
dharmaa.m12-Jul-13 10:03 
QuestionMysql query with date conditions not working in server Pin Pin
ven75312-Jul-13 4:11
ven75312-Jul-13 4:11 
GeneralRe: Mysql query with date conditions not working in server Pin Pin
Eddy Vluggen12-Jul-13 4:52
professionalEddy Vluggen12-Jul-13 4:52 
SuggestionDatabse for broadcasting company Pin
aman wangde11-Jul-13 12:34
aman wangde11-Jul-13 12:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.