ORA-24324: service handle not initialized

I got ” ORA-24324: service handle not initialized ”  error in Oracle database.

 

ORA-24324: service handle not initialized

 

Details of error are as follows.

ORA-24324: service handle not initialized

Cause: An attempt was made to use an improper service context handle.

Action: Verify that the service context handle has all the parameters initialized prior to this call.
SQL> startup
ORACLE instance started.

Total System Global Area 2147483648 bytes
Fixed Size 1268508 bytes
Variable Size 1124074724 bytes
Database Buffers 1006632960 bytes
Redo Buffers 15507456 bytes
Database mounted.
ORA-01092: ORACLE instance terminated. Disconnection forced

SQL> shutdown immediate
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist

 

 

service handle not initialized

This ORA-24324 error is related to the attempt was made to use an improper service context handle.

Verify that the service context handle has all the parameters initialized prior to this call.

 

Some datafiles cannot be read because are offline or corrupted.

Check the OFFLINE files:

select file#, status, name from v$datafile where status not in ('SYSTEM', 'ONLINE');

heck if you have a good backup from which you can restore any  problematic data file.

1) First restore the problematic datafiles

2) Mount the database and ONLINE those datafiles

SQL> startup mount;
SQL> alter database datafile  file1#, .. , filen# online;

3) Recover the database

 SQL> recover database;

4) Open database

SQL > alter database open ;
Second case: If you got this error on Windows system, then add the following line to $ORACLE_HOME\NETWORK\ADMIN\sqlnet.ora
SQLNET.AUTHENTICATION_SERVICES= (NULL)

 

Third case is as follows, read the following post.

ORA-01090: shutdown in progress – connection is not permitted and ORA-24324: service handle not initialized

 

Do you want to learn Oracle Database for Beginners, then read the following articles.

Oracle Tutorial | Oracle Database Tutorials for Beginners ( Junior Oracle DBA )

 

About Mehmet Salih Deveci

I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress [email protected].-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  [email protected] a mail atabilirsiniz.

Leave a Reply

Your email address will not be published. Required fields are marked *