1838598 Members
4106 Online
110128 Solutions
New Discussion

dtsession memory fault

 
Viktor Holmberg
Advisor

dtsession memory fault

Hi There,

I have probelm that is driving me mad.

We currently use VNC and eXceed as xservers in our environment. I just recently reinstalled one of the servers to 11i Dec 2003 plus a bunch of extras patches. Nearly the same as its cluster friend. The install went 100% ok.

Now when I start a vncserver session as root everything works OK and I have a proper work cde enviroment. If I do it as any other users, vnc starts OK and I can connect and puch pack Xterms, but dtsession refuses to start, it memory faults. /usr/dt/bin/dtsession has setuid for root set, and if I remove it, dtsession comes up but with some expect permission problems.

Anybody got any ideas why dtsession memory faults ? I have had similar problems with other programs in the past and it been and environment variable issue but I can not see it this time.

Thanks

Viktor
8 REPLIES 8
Steven E. Protter
Exalted Contributor

Re: dtsession memory fault

in /etc/profile

env > $HOME/env.txt

log on dt as root,

then another user

compare the two files.

Something is different.

I suppose it could be permissions, but your are a good admin, and you'd know if permissions were manually changed.

Good luck,

post anything you find.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Viktor Holmberg
Advisor

Re: dtsession memory fault

Here is the output in the startlog.


system_A: /onl/.dt # more startlog
--- Fri Jun 11 11:10:14 EST 2004
--- /usr/dt/bin/Xsession starting...
--- Xsession started by init
--- setting font path...
--- sourcing /onl/.dtprofile...
--- sourcing /usr/dt/config/Xsession.d/0010.dtpaths...
--- sourcing /etc/dt/config/Xsession.d/0010.migration...
--- sourcing /usr/dt/config/Xsession.d/0020.dtims...
--- sourcing /usr/dt/config/Xsession.d/0030.dttmpdir...
--- sourcing /usr/dt/config/Xsession.d/0040.xmbind...
--- sourcing /usr/dt/config/Xsession.d/0060.srcsysenv...
--- sourcing /etc/dt/config/Xsession.d/9000.migration...
--- starting /usr/dt/bin/dthello &
--- starting /usr/dt/bin/dtsearchpath -ksh
--- starting /usr/dt/bin/dtappgather &
--- execing /usr/dt/bin/dtsession ...
not sourcing /onl/.profile (see /onl/.dtprofile)
/usr/dt/bin/Xsession[598]: 10598 Memory fault
system_A: /onl/.dt #
Joseph Loo
Honored Contributor

Re: dtsession memory fault

hi Viktor,

could u also send $HOME/.dt/errorlog as well?

also, any log in /var/dt/Xerrors?

regards.
what you do not see does not mean you should not believe
Viktor Holmberg
Advisor

Re: dtsession memory fault

There are no entries in either of those files. I presume dtsession crashes out before ut haas a chance to do any thing.
Joseph Loo
Honored Contributor

Re: dtsession memory fault

hi,

what is the output for dr_dt?

# /usr/contrib/bin/dr_dt > /tmp/dr_dt_op

regards.
what you do not see does not mean you should not believe
Viktor Holmberg
Advisor

Re: dtsession memory fault

I have cheched dr_dt apart from a couple of warning that I have check it reports nothing exiting.

The speed of which dtsession memory faults indicated that it is not getting very far at all.
Joseph Loo
Honored Contributor

Re: dtsession memory fault

hi,

could u produce the output for the following:

# ps -ef | grep rpc
# ps -ef | grep dt
# rpcinfo -p

also u may like to restart CDE, but note that each user should be logged out of the system before executing these commands:

# /sbin/init.d/dtlogin.rc stop
# /usr/dt/bin/dtconfig -reset
# /sbin/init.d/dtlogin.rc start
# /usr/dt/bin/dtconfig -e

regards.
what you do not see does not mean you should not believe
Viktor Holmberg
Advisor

Re: dtsession memory fault

Hi There,

I have solved the problem with the use of good old truss.

The problem was introduced by patch PHCO_20530 (lic cummulative patch). The patch introduces a problem with suid and sgid related to NLS and inparticular /etc/default/nlspath. The solution is either to put the message files in the NLSPATH or a * to invoke the old behaviour.

At the time of download there was no warning posted against the patch. But now there is ;-{

Thanks for all your help,

Viktor