Hi,
Sometimes You can get “TNS-00507: Connection closed ” error.
Details of error are as follows.
TNS-00507: Connection closed
Cause: Normal “end of file” condition has been reached; partner has disconnected.
Action: None needed; this is an information message.
TNS-12537: TNS:connection closed
TNS-12560: TNS:protocol adapter error
TNS-00507: Connection closed
Linux Error: 115: Operation now in progress
TNS-12560: TNS:protocol adapter error
TNS-00507: Connection closed
Linux Error: 115: Operation now in progress
When you got this error, check your /etc/hosts file, if the following entry don’t exist in the /etc/hosts file,
127.0.0.1 localhost.localdomain localhost
then add it and try again.
Do you want to learn more details about RMAN, then read the following articles.
https://ittutorial.org/rman-backup-restore-and-recovery-tutorials-for-beginners-in-the-oracle-database/