1. Lsnrctl Start command not found or bash:lsnrctl:command not found.
Su-oralce switch users, the middle to have-, and-the two sides of the space, in order to correctly switch to the Oracle user, or the user will appear to find, the user does not exist error;
2. Database connection Error "ORA-12541:TNS: No Listener"
Because the listener thread for the database is not started
(1) SECURECRT connect to the Linux machine where the database resides, switch to Oracle user mode
[Email protected] ~]# su-oracle
- (2)
Then log in to the database with Sqlplus and close the database
[[email protected] bin]$ sqlplus/nolog//Login Sqlplus
sql> connect/as SYSDBA//Connect Oracle
Sql> Startup//Start database
Sql> exit//Exit Sqlplus, start monitoring
Steps to read
- (3)
Start monitoring
[[Email protected] bin]$ CD $ORACLE _home/bin//Enter the ORACLE installation directory
[[email protected] bin]$ lsnrctl start//Start monitoring
Lsnrctl Start command not found database connection error "ORA-12541:TNS: No Listener"