操作系统:AIX 6100-03
数据库:10.2.0.4
错误信息1:$ emctl start dbconsole
ps: 0509-048 Flag -o was used with invalid list.
ps: Not a recognized flag: -
Usage: ps [-ANPaedfklmMZ] [-n namelist] [-F Format] [-o specifier[=header],...]
[-p proclist][-G|-g grouplist] [-t termlist] [-U|-u userlist] [-c classlist] [ -T
pid] [ -L pidlist]
Usage: ps [aceglnsuvwxU] [t tty] [processnumber]
Starting Oracle Enterprise Manager 10g Database Control .............. Failed
解决方法1:
a) Take backup of 'emctl.pl' from $ORACLE_HOME/bin
b) Edit emctl.pl and goto line number 1314, which is:
$ps=`ps -p $PID -o cmd --cols 1000 |grep DEMDROOT`;
Modify above line as below:
$ps=`ps -p $PID -o args | grep DEMDROOT`;
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/5359/viewspace-628751/
,如需转载,请注明出处,否则将追究法律责任。