Hi,
Sometimes You can get “TNS-12541: TNS:no listener ” error.
Details of error are as follows.
TNS-12541: TNS:no listener
Cause: The connection request could not be completed because the listener is not running.
Action: Ensure that the supplied destination address matches one of the addresses used by the listener –
compare the TNSNAMES.ORA entry with the appropriate LISTENER.ORA file (or TNSNAV.ORA if the connection is
to go by way of an Interchange). Start the listener on the remote machine.
This error is related with the listener of database server, if you got this error, then check your database listener as follows.
$ lsnrctl status listener
Listener should be always started.
You can stop and start the Listener as follows.
$ srvctl start listener $ srvctl stop listener
or
$ lsnrctl stop listener $ lsnrctl start listener
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/