- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- last command shows a lot of open connections
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
10-09-2003 10:37 PM
10-09-2003 10:37 PM
last command shows a lot of open connections
The 'last' command reports a lot of open connections ('still logged in') but most of them were closed (i.e., they don't exist).
I suspect this behaviour is due to OpenSSH because telnet closed connections appear as closed.
Can anybody help me ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2003 10:50 PM
10-09-2003 10:50 PM
Re: last command shows a lot of open connections
This may or may not be similar to what you're seeing and the only thing I've found to do about it is to patiently explain the proper logout procedure to them over and over again.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2003 11:02 PM
10-09-2003 11:02 PM
Re: last command shows a lot of open connections
11.11
PHNE_24829 s700_800 11.11 telnet kernel; telnetd(1M); telnet(1) patch
11.00
PHNE_26096 s700_800 11.00 telnet kernel and telnetd(1M) patch
PHNE_14820 s700_800 11.0 telnet(1) patch
If you look at the patch text for these patches you see something similar to:
"4. Incorrect records might be written into /etc/utmpx by telnetd when it exits."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2003 11:25 PM
10-09-2003 11:25 PM
Re: last command shows a lot of open connections
I also have similar issues with Exceed. When a user disconnects unproperly, "who" command shows logged users that are not logged on:
# who -u
testuser pts/17 Oct 9 22:18 14:56 12886 xxx.xxx.xxx.xxx:0.0
But running:
# ps -ef | grep 12886
root 17171 16697 3 13:15:54 ttyp3 0:00 grep 12886
shows nothing.
I usually use a little script to detect and remove that ghost_users ( find it attached ).
Maybe you could find it useful ... or maybe I'm talking about other issue different than yours ...
HTH
Kind regards,
Zigor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2003 12:00 AM
10-10-2003 12:00 AM
Re: last command shows a lot of open connections
- ftp and telnet connections are not the problem. They are properly closed. It's OpenSSH.
- 'who' command shows right connections. It is 'last' command that shows the open connections.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2003 12:03 AM
10-10-2003 12:03 AM
Re: last command shows a lot of open connections
- No X server is used to connect to my system. I use Secure CRT. But I found the same behaviour running:
$ ssh peter@`hostname`
After exiting, 'last' command shows as 'still logged in' the closed ssh connection.