Hi,
Sometimes You can get “TNS-01101: Could not find service name string ” error.
Details of error are as follows.
TNS-01101: Could not find service name string
Cause: The ervice name could not be resolved by name-lookup.
Action: Verify that the listener name or service name specified to LSNRCTL has the correct name and address defined in
LISTENER.ORA or in TNSNAMES.ORA.
TNS-01101: Could not find service name LISTENER_SCAN1
To solve this error, Set your environment to the Grid Infrastructure home. Please check environment variable ORACLE_HOME setting:
env | grep ORACLE_HOME
It should be set to the same as Grid Infrastructure ORACLE_HOME (or the $GRID_HOME)
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/