Import directory '*****/EXP1' does not exist(linux+sap)

RHEL 5.3 安装NetWeaver7.0 时候报出如下的问题:

 

 

--------------------------------------------------------------

INFO 2009-09-01 14:19:34.571
Output of /usr/java/jdk1.6.0_02/bin/java -classpath migmon.jar -showversion -Xmx1024m com.sap.inst.migmon.imp.ImportMonitor -sapinst is written to the logfile import_monitor.java.log.

WARNING 2009-09-01 14:19:34.752
Execution of the command "/usr/java/jdk1.6.0_02/bin/java -classpath migmon.jar -showversion -Xmx1024m com.sap.inst.migmon.imp.ImportMonitor -sapinst" finished with return code 2. Output:
java version "1.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_02-b05, mixed mode)

WARNING[E] 2009-09-01 14:19:34.753
CJS-30022  Program 'Migration Monitor' exits with error code 2. For details see log file(s) import_monitor.java.log, import_monitor.log.

ERROR 2009-09-01 14:19:34.792
FCO-00011  The step runMigrationMonitor with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor was executed with status ERROR .

 

-------------------------------------------------------------------

 

 

问题解决办法:

 

按提示查看日志

[root@saptst01 AS]# vi import_monitor.java.log (文件路径在提示里)

 

/tmp/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/import_monitor.java.log

-------------------------------------------------------------------

 

java version "1.6.0_02"

Java(TM) SE Runtime Environment (build 1.6.0_02-b05)

Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_02-b05, mixed mode)

 

Required system resources are missing or not available:

Import directory '**************/EXP1' does not exist;

Import directory  '**************/ EXP2' does not exist;

Import directory '**************/ EXP3' does not exist.

 

-------------------------------------------------------------------

 

系统标示:TS2,本系统的管理员为ts2adm,因此估计是这个账户的问题
[root@saptst01 Export]# su - ts2adm
saptst01:ts2adm 1> cd /opt/*****/E
/opt/*****/ unreadable

 

 

这就提示<sid>adm没有权限操作这个目录

saptst01:ts2adm 1> exit (退出,需要用root权限)
logout
[root@saptst01 Export]# chown -R ts2adm . (给ts2adm权限)
 
[root@saptst01 Export]# cd ..
[root@saptst01 *******]# chown -R ts2adm ./Export/ (给ts2adm权限)
[root@saptst01 *******]# su - ts2adm
saptst01:ts2adm 1> /opt/*******/E (还是没有权限,上一级权限)
/opt/*******/ unreadable
saptst01:ts2adm 2> exit
logout
[root@saptst01 *******]# cd
[root@saptst01 ~]# chown -R ts2adm /opt/*******/  (给ts2adm 权限)
[root@saptst01 ~]# ll /opt/
total 24
drwxr-xr-x 3 root   root     4096 Aug 28 17:35 ORCLfmap
drwx------ 8 ts2adm ftp      4096 Sep  1 15:34 ******* (此目录已经有权限)
drwxr-xr-x 4 oracle oinstall 4096 Aug 28 17:24 oracle
drwxr-xr-x 3 root   root     4096 Aug 28 22:37 sun
[root@saptst01 ~]# su - ts2adm (ts2adm 进去)
saptst01:ts2adm 2> cd /opt/*******/ (有权限)
saptst01:ts2adm 3> ll
total 149692

回到xwindows界面,Retry ,系统就继续了….

 

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值