-bash: exp: command not found
vi / etc / environment
Modification method 1:
export PATH=/ora01/app/oracle/product/11.2.0/db_1/bin:$PATH
//After configuration, you can view the configuration result by echo $PATH.
Effective method: Immediately Effective
period: Temporary change, only valid in the current terminal window, the original path configuration will be restored after the current window is closed
User limitations: only for the current user
Message 206 not found; No message file for product=RDBMS, facility=EXP: Release 11.2.0.4.0 - Production on Sun Jul 30 13:51:06 2017
export ORACLE_HOME=/ora01/app/oracle/product/11.2.0/db_1
./exp a/b@vcs buffer=64000 file=/data/v.dmp owner=a
EXP-00056: ORACLE error 12541 encountered
ORA-12541: TNS:no listener
EXP-00000: Export terminated unsuccessfully
lsnrctl status
lsnrctl start
onnecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oracle)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 111: Connection refused
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 111: Connection refused
chmod -R 777 /tmp/.oracle 和
chmod -R 777 /var/tmp/.oracle
chmod 6751 $ORACLE_HOME/bin/oracle
检查内容
http://blog.sina.com.cn/s/blog_8fa7b9f50101cy7l.html
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))