打印

求助:Xmanageroracle用户无法登录Xmanage

求助:Xmanageroracle用户无法登录Xmanage

求助:Xmanageroracle用户无法登录Xmanage
原来发在itpub的数据库管理版的

刚刚新建oracle用户,准备安装oracle10g r2for aix
命令行下配好.profile后,取消.dtprofile最后一行的注释,准备图形界面登录,输入用户名和口令后,无法进入CDE
给.dtprofile中 DTSOURCEPROFILE=true加上注释后,可以登录图形界面,但环境变量不对

.profile:

if [ -s "$MAIL" ] # This is at Shell startup. In normal
then echo "$MAILMSG" # operation, the Shell checks
fi # periodically.

PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:.$PATH:$ORACLE_HOME/bin:
export PATH
ORACLE_BASE=/oracle
export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.2.0.1/db_1
export ORACLE_HOME
ORACLE_SID=test
export ORACLE_SID
NLS_LANG=American_America.zhs16gbk
export NLS_LANG
DISPLAY=127.0.0.1:0.0
export DISPLAY
ORACLE_TERM=vt100
export ORACLE_TERM


startlog:
--- Wed Jun  4 12:34:41 BEIST 2008
--- /usr/dt/bin/Xsession starting...
--- Xsession started by dtlogin
--- sourcing /home/oracle/.dtprofile...
--- sourcing /usr/dt/config/Xsession.d/0010.dtpaths...
--- sourcing /usr/dt/config/Xsession.d/0030.dttmpdir...
--- sourcing /usr/dt/config/Xsession.d/0040.xmbind...
--- sourcing /usr/dt/config/Xsession.d/0050.dtxmodmap...
--- starting /usr/dt/bin/dthello &
--- starting /usr/dt/bin/dtsearchpath
--- starting /usr/dt/bin/dtappgather &
--- execing /usr/dt/bin/dtsession using /home/oracle/.profile...
--- Tooltalk Message Server did not start within timeout specified.
--- Launching Xfailsafe_tooltalk_error to correct problems.
XIO:  fatal IO error 73 (A connection with a remote socket was reset by that socket.) on X server "1
92.9.100.100:1.0"
      after 43 requests (36 known processed) with 0 events remaining.


errorlog:
Wed Jun 04 10:30:19 2008
dtsession: Unable to exec /usr/dt/install/oldrules/dtrmrules.driver.
  [ENOENT (2)] A file or directory in the path name does not exist.

Wed Jun 04 10:30:19 2008
dtsession: Screen lock when the screen saver is turned on is not available on this server.  Your scr
een will not be locked when the screen saver is turned on.

Wed Jun 04 10:30:20 2008
dtfile: X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  20 (X_GetProperty)
  Resource id in failed request:  0x1c00048
  Serial number of failed request:  555
  Current serial number in output stream:  555


Wed Jun 04 10:32:44 2008
dtsession: Connection to server lost - exiting.

errorlog没看明白,相关的报错网上也没有找到答案
我对环境变量的设置一直不明白,除了ORACLE_HOME,SID,BASE之外,不知道其他变量该怎么设置,特别是图形界面登录的相关设置不明白,望大家指教

TOP

解决了,注释掉DISPLAY就可以了,正在找原因。

TOP

TOP

DISPLAY变量设置成xmanager客户机IP:0.0即可

TOP


感谢一直以来您对我们的支持!
当前时区 GMT+8, 现在时间是 2008-8-22 09:04 京ICP证060528 号

Designed By 17DST