- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- after installing 11.00 ksh sessions are not discon...
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-25-2003 02:09 AM
11-25-2003 02:09 AM
after installing 11.00 ksh sessions are not disconnecting
We have recently upgraded 3 of our 4 servers from 10.20 to 11.00.
When I say 'upgrade', we actually did the clean install method. We also installed the latest HWE1100 and QPK1100. I noticed that it includes patch PHCO_27418.
Anyway, since then we have noticed that ksh sessions are behaving oddly.
We have a menu based system, which the users click on window's X button to exit from.
However, the ksh session remains, and it appears the user is still logged in.
On our remaining 10.20 server, when the users do the same, the ksh session disappears OK.
Any ideas??
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 02:15 AM
11-25-2003 02:15 AM
Re: after installing 11.00 ksh sessions are not disconnecting
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 02:31 AM
11-25-2003 02:31 AM
Re: after installing 11.00 ksh sessions are not disconnecting
Yes, they are using terminal emulators.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 02:35 AM
11-25-2003 02:35 AM
Re: after installing 11.00 ksh sessions are not disconnecting
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 02:39 AM
11-25-2003 02:39 AM
Re: after installing 11.00 ksh sessions are not disconnecting
Whatever way the software system is written, the users don't have any option to logout.
They have always hit the X button, when they return to the main menu.
We had a problem with it working on hp10.20 after a general patch install, but as soon as we removed patch phco_20018, worked again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 02:43 AM
11-25-2003 02:43 AM
Re: after installing 11.00 ksh sessions are not disconnecting
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 02:46 AM
11-25-2003 02:46 AM
Re: after installing 11.00 ksh sessions are not disconnecting
I don't know what to think, maybe there's something in a ksh patch somewhere but I'm not sure how to find it.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 02:52 AM
11-25-2003 02:52 AM
Re: after installing 11.00 ksh sessions are not disconnecting
If I kill my hummingbird telnet window by clicking the X button, it generates a SIGHUP (1) to the child.
So, if I open a terminal window with a shell, type
trap 'date >>1' 1
and kill the window, it logs the datestamp to file 1.
It sounds like your problem is that something is no longer propagating or handling these signals properly.
Check it's not something obvious like a trap statement in /etc/profile of your 11.00 system that the 10.20 system didn't have.
-- Graham
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 03:02 AM
11-25-2003 03:02 AM
Re: after installing 11.00 ksh sessions are not disconnecting
the profiles are the same on the 10.20 server and the 11.00 server.
The /etc/profile contains :
trap "" 1 2 3
trap 1 2 3
The user's profile includes :
trap "" 0 2 3 4
trap "~epic/etc/remove_eptc" 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 04:07 AM
11-25-2003 04:07 AM
Re: after installing 11.00 ksh sessions are not disconnecting
These 'fixes' will already be applied to the 11.00 ksh so you are experiencing the same problem as before but without the option to remove the fix.
Could you post the relevant scripts (including ~epic/etc/remove_eptc)?
One thing that may be worth trying is to change your scripts to use the Posix shell (#!/usr/bin/sh rather than #!/usr/bin/ksh). I've found differences in them in the past.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 07:44 PM
11-25-2003 07:44 PM
Re: after installing 11.00 ksh sessions are not disconnecting
attached is the remove_eptc script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 08:39 PM
11-25-2003 08:39 PM
Re: after installing 11.00 ksh sessions are not disconnecting
I uninstalled patch phco_27418 "ksh(1) cumulative patch" which was installed as part of the latest patch kit, and everything is now working OK.
My only concern is is unistalling this patch will have some other effect.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 09:36 PM
11-25-2003 09:36 PM
Re: after installing 11.00 ksh sessions are not disconnecting
man sh-ksh states that 'If arg is the null string (your case) then this signal is ignored by the shell AND BY THE COMMANDS THAT IT INVOKES (my emphasis).
I would expect your kill -2 to have no effect and suspect that you've been getting away with it due to a bug in ksh.
If you have a test environment, I'd put some diag code in remove_eptc (just log to a tmp file) to see whether it is being called. I'd also either change your kill to kill -15 (the default) or (if -2 is required) change the trap to "" 0 3 4.
Regards,
John