HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: last command output is wrong
Operating System - HP-UX
1832935
Members
2881
Online
110048
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
08-06-2001 01:10 PM
08-06-2001 01:10 PM
last command output is wrong
Hi,
We have a HP-UX 11.0 server. When an FTP connection is made to this server and exited properly, "last" command out put shows proper login & logout time. But when an FTP session timed out of inactivity, last command output shows the FTP connection as " still logged in".
How to fix this problem? Is there any patch ?
Thanks in advance.
Thanks & regards,
Jegi,
NBC, New York
We have a HP-UX 11.0 server. When an FTP connection is made to this server and exited properly, "last" command out put shows proper login & logout time. But when an FTP session timed out of inactivity, last command output shows the FTP connection as " still logged in".
How to fix this problem? Is there any patch ?
Thanks in advance.
Thanks & regards,
Jegi,
NBC, New York
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2001 01:17 PM
08-06-2001 01:17 PM
Re: last command output is wrong
Hi:
An ungraceful loss of connectivity may have caused this. If you wish to eliminate this entry from your /var/adm/wtmp file, do this:
# /usr/sbin/acct/fwtmp < /var/adm/wtmp > /tmp/wtmp
At this point, you may edit the /tmp/wtmp file, since it is a ASCII file.
# /usr/sbin/acct/fwtmp -ic < /tmp/wtmp > /var/adm/wtmp
...JRF...
An ungraceful loss of connectivity may have caused this. If you wish to eliminate this entry from your /var/adm/wtmp file, do this:
# /usr/sbin/acct/fwtmp < /var/adm/wtmp > /tmp/wtmp
At this point, you may edit the /tmp/wtmp file, since it is a ASCII file.
# /usr/sbin/acct/fwtmp -ic < /tmp/wtmp > /var/adm/wtmp
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2001 01:22 PM
08-06-2001 01:22 PM
Re: last command output is wrong
Thanks JRF for your response.
Your reply guides to edit wtmp file. But I would like to make system aware of FTP disconnections. Do we have any patch for this ?
Thanks & regards,
Jegi
Your reply guides to edit wtmp file. But I would like to make system aware of FTP disconnections. Do we have any patch for this ?
Thanks & regards,
Jegi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2001 07:11 PM
08-06-2001 07:11 PM
Re: last command output is wrong
Hi,
For the particular session that you are
tracing, is there an entry in the syslog
file? and what does it say?
By default the inactivity of an
ftp session will timeout after 15 minutes.
If the session terminates abnormally the
'last' program will not report it's ending.
This usually happens with users sessions
if they are logged in when a system is
rebooted.
In answer to you question about a patch,
I would imagine that this type of problem
would get a low priority fix even if it
has been reported. I have March 2001 on
most of my systems and the problem still
exists.
HTH
-Michael
For the particular session that you are
tracing, is there an entry in the syslog
file? and what does it say?
By default the inactivity of an
ftp session will timeout after 15 minutes.
If the session terminates abnormally the
'last' program will not report it's ending.
This usually happens with users sessions
if they are logged in when a system is
rebooted.
In answer to you question about a patch,
I would imagine that this type of problem
would get a low priority fix even if it
has been reported. I have March 2001 on
most of my systems and the problem still
exists.
HTH
-Michael
Anyone for a Mutiny ?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP