How to fix the Oracle error ORA-16797: database is not using a server parameter file?

In this post, you’ll learn more about the Oracle ErrorORA-16797: database is not using a server parameter file with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-16797: database is not using a server parameter file

Reason for the Error ORA-16797: database is not using a server parameter file

The database was not using a server parameter file or the broker was unable to access the server parameter file.

How to fix the Error ORA-16797: database is not using a server parameter file ?

You can fix this error in Oracle by following the below steps

Issue the CREATE SPFILE=’..’ FROM PFILE=’…'” command to create a server parameter file and then restart the database to use it.