ORA-01678: parameter db_file_name_convert must be pairs of pattern and replacement strings

I got ” ORA-01678: parameter db_file_name_convert must be pairs of pattern and replacement strings ” error in Oracle database.

 

ORA-01678: parameter db_file_name_convert must be pairs of pattern and replacement strings

 

Details of error are as follows.

SQL> alter system set db_file_name_convert='' scope=spfile sid='*';
alter system set db_file_name_convert='' scope=spfile sid='*'
*
ERROR at line 1:
ORA-32017: failure in updating SPFILE
ORA-01678: parameter db_file_name_convert must be pairs of pattern and
replacement strings

ORA-01678: parameter string must be pairs of pattern and replacement strings.
 
Cause: The initialization parameter does not have even number of strings for its value. The odd numbered strings are patterns to be found in file names. The even numbered strings are used to replace the corresponding patterns when found in file names.

Action: Specify even number of strings for the parameter, or omit the parameter.
    

 

DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT

The ORA-01678 error is related with the wrong number of quotes in the syntax or check the pairs of pattern in the convert strings.

If you want to set this parameter to the null, then use the reset option as follows.

alter system reset db_file_name_convert scope=spfile sid='*';

 

Or You can run these parameters as follows, check and fix the syntax as follows.

 

ALTER SYSTEM SET DB_FILE_NAME_CONVERT='+DATA','+DATAC1' SCOPE=SPFILE SID='*';

ALTER SYSTEM SET LOG_FILE_NAME_CONVERT='+RECO','+RECOC1' SCOPE=SPFILE SID='*';

 

 

 

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

Oracle Database Tutorials for Beginners ( Junior Oracle DBA )

 703 views last month,  3 views today

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

IT Tutorial