Unable to start/stop the DataStage server engine or log in to DataStage clients
Unable to start/stop the DataStage server engine or log in to DataStage clients
问题
DataStage安装完成,并进行非root化之后,发现无法启动了,总是提示权限不足,但查看提示文件权限又是足够的
uv: unable to exec
原因及解决方案
具体可参考如下官方文档说明
官方文档说明
Troubleshooting
Problem
The uv -admin -start and uv -admin -stop commands no longer run properly, and DataStage clients cannot log in.
Symptom
\1) The uv -admin -start and uv -admin -stop commands report an error that starts with
uv: unable to exec
\2) Attempted logins from DataStage clients display the following message
Failed to connect to Information Server Engine: hostname:port, project: project
(The RPC failed (81009))
Cause
This problem occurs when the IMPERSONATION tunable in $DSHOME/uvconfig is set to 1, and ownership and permissions were incorrectly changed on specific files under $DSHOME. The default location of $DSHOME is /opt/IBM/InformationServer/Server/DSEngine.
Environment
UNIX platforms only with either (1) Information Server release 11.5 or higher, or (2) the latest fix pack of earlier releases plus the JR52770 patch.
Resolving The Problem
The following steps are necessary to fix the issue.
With root access:
Remove shared memory segments and semaphore arrays
List DSEngine shared memory segments where tag needs to be replaced with the value of INSTANCETAG from $DSHOME/uvconfig.
# ipcs -m | grep tag
Remove DSEngine shared memory segments where shmid is the number after 0xtag in the second column. It is possible that no segments are active.
# ipcrm -m shmid -m ***…*** -m shmidExample:
# ipcs -m | grep ade
0xadecb500 26476550 root 666 26467348 0
0xadeeb500 26542088 root 666 4851604 0
# ipcrm -m 26476550 -m 26542088List DSEngine semaphore arrays replacing tag with INSTANCETAG. For the AIX platform, skip this step for Information Server releases higher than 8.5.
# ipcs -s | grep tag
Remove DSEngine semaphore arrays where semid is the number after 0xtagc and 0xtagd in the second column. Again, it is possible to find no arrays.
# ipcrm -s semid -s semidExample:
# ipcs -s|grep ade
0xadecb500 579240047 root 666 203
0xadedffff 579272816 root 666 1
# ipcrm -s 579240047 -s 579272816Fix permissions issues
# cd $DSHOME
# . ./dsenv
# ./scripts/DSEenable_impersonation.shMake sure JobMonApp and wlm are stopped
# bin/uv -admin -stop
With DataStage administrator:
Restart the DataStage server engine
$ cd $DSHOME
$ . ./dsenv
bin/uv -admin -start
蚂蚁🐜再小也是肉🥩!
“您的支持,我的动力!觉得不错的话,给点打赏吧 ୧(๑•̀⌄•́๑)૭”
微信支付
支付宝支付