oracle 备份

 

-bash: exp: command not found

vi /etc/environment

 

 

修改方法一:
export PATH=/ora01/app/oracle/product/11.2.0/db_1/bin:$PATH
//配置完后可以通过echo $PATH查看配置结果。
生效方法:立即生效
有效期限:临时改变,只能在当前的终端窗口中有效,当前窗口关闭后就会恢复原有的path配置
用户局限:仅对当前用户

 

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

 

chown -R oracle:dba /var/tmp/.oracle
chown -R oracle:dba /tmp/.oracle

 

检查内容

 

http://blog.sina.com.cn/s/blog_8fa7b9f50101cy7l.html

 

 

(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))

 

 

你可能感兴趣的:(oracle 备份)