- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: LDAP, CDE and Xsession problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2002 09:49 AM
11-27-2002 09:49 AM
LDAP, CDE and Xsession problem
Console logins work fine and everything authenticates correctly. However when I try to log in through CDE the login gets all the way through running the profile and then the Xsession crashes.
Has anyone come across this error before?
I changed my profile to do nothing but echo HI and this is the tail of startlog:
--- execing /usr/dt/bin/dtsession using /users/maddispe/.profile...
+ source_profile=. /users/maddispe/.profile
+ source_login=source /users/maddispe/.profile
+ [ -z /usr/dt/bin/dtdbcache -init ]
+ export DT=true
+ /bin/ksh -c . /users/maddispe/.profile; unset DT; /usr/dt/bin/dtdbcache -init; PATH=/usr/dt/bin:$PATH /usr/dt/bin/ttsession -s; /usr/dt/bin/dtsession >| /users/maddispe/.dt/sessionlogs/lntrw122_DISPLAY=lntrw122:0 2>&1
HI
/usr/dt/bin/Xsession[598]: 1598 Bus error
+ rm -f /tmp/dtdbcache_lntrw122:0
X connection to lntrw122:0.0 broken (explicit kill or server shutdown).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2002 11:10 AM
11-27-2002 11:10 AM
Re: LDAP, CDE and Xsession problem
I haven't dealt with LDAP but you can do the following to debug the problem further -
move your ~/.dt directory to
remove echo command from your .profile
In your ~/.dtprofile file, comment out the entry "DTSOURCEPROFILE=true" (normally the last entry).
Give it a try and let us know.
HTH
...Manjeet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2002 01:38 AM
11-28-2002 01:38 AM
Re: LDAP, CDE and Xsession problem
I'll try patching CDE today.
Any other suggestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2002 01:44 AM
11-28-2002 01:44 AM
Re: LDAP, CDE and Xsession problem
Look at
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xf1d2f841489fd4118fef0090279cd0f9,00.html
Check your shell patches
Regards
Steve Steel
Quote of the moment
-------------------
"We are drowning in information but starved for knowledge."
-- John Naisbitt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2002 04:27 AM
11-28-2002 04:27 AM
Re: LDAP, CDE and Xsession problem
Any more ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2002 05:30 AM
11-28-2002 05:30 AM
Re: LDAP, CDE and Xsession problem
Next I'd suggest adding set -x in .dtprofile then reproduce the problem and look at the users startlog again.
also worth a look is running dr_dt and seeing if the upgrade has introduced problems ....
lastly see Rick's suggestion on how to enable CDE debugging : see http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe15d0fe6d0f7d61190050090279cd0f9,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2002 06:38 AM
11-28-2002 06:38 AM
Re: LDAP, CDE and Xsession problem
startlog and errorlog + /var/dt/Xerrors and run
dr_dt
Also look for any errors from ldap in the system logs
Regards
Steve Steel
Quote of the moment
-------------------
"We are drowning in information but starved for knowledge."
-- John Naisbitt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2002 06:58 AM
11-28-2002 06:58 AM
Re: LDAP, CDE and Xsession problem
Do you have this problem for all logins ?
Do you still have this problem with a new created login ?
As you should know : /usr/dt/bin/Xsession
is a shell script that you can modify to obtain a verbose output.
edit /usr/dt/bin/Xsession
I) first modification
1. add a set "set -x" after "#!/usr/bin/ksh"
2. modify (neer line 51)
exec >/dev/null 2>/dev/null
by :
exec > /tmp/debug.xsession 2>/tmp/debug.xsession.error
3. logout/login
4. analyse /tmp/debug.xsession
/tmp/debug.xsession.error
and your local starlog
II)second modification
dtstart_sessionlogfile="/dev/null"
in : dtstart_sessionlogfile="/tmp/dtsession.log"
regards,
Pierrick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2002 07:34 AM
11-28-2002 07:34 AM
Re: LDAP, CDE and Xsession problem
So after all that it is something buried in my home directory. I know it is nothing to do with .dt, .dtprofile, .profile or .xsession.
I should be able to find it now though. Thanks for all your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2002 04:33 AM
12-02-2002 04:33 AM
Re: LDAP, CDE and Xsession problem
/usr/dt/bin/Xsession[598]: 1598 Bus error
is the root of your problem. I suspect that the shell running Xsession is coring. You might have a core file in $HOME for that user.
I would guess that this corresponds to the line in Xsession at the end where the dtsession is started:
exec $startup >$dtstart_sessionlogfile 2>&1" ;;
(or the equivalent one for csh).
If there is a core file, do a file core and then run gdb
Something in your environment could certainly be causing this. Xsession and all the programs it runs reads and sources a lot of different components.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2002 04:35 AM
12-02-2002 04:35 AM