Oracle Solution for Error ora-01166

Solution for Oracle Error ORA-01166

ORA-01166: file number string is larger than string (string)

What triggered the Error:

File mentioned in CREATE CONTROLFILE has a file number which is larger than that specified for MAXDATAFILES or MAXLOGFILES.

What should we do to fix it:

Increase the maximum specified on the command line.