Oracle Error ORA-01523: cannot rename data file to ‘string’ – file already part of database

Oracle Error Message

ORA-01523: cannot rename data file to ‘string’ – file already part of database

Reason for the Error

During ALTER DATABASE RENAME or ALTER TABLESPACE RENAME, the new name of a file is already present in the control file.

Solution

Rename the file to a name not already being used as part of the database.