Re: [foxboro] The utmpx problem

  • From: "Kevin Fitzgerrell" <fitzgerrell@xxxxxxxxx>
  • To: foxboro@xxxxxxxxxxxxx
  • Date: Tue, 16 Oct 2007 08:14:28 +0900

Hi Cristian,

Did you try my suggestions from last time you wrote with this problem?

Regards,

Kevin FitzGerrell

(previous message follows)
-------------------------------------------------------

Hi Cristian,

You probably have one of two problems (or both):
1) /var partition is full
2) corrupt utmpx file

If you go to the P81 and open a VT100 window you can check your disk space:
# df -kFufs
If /var is 100% that was the cause.  Full /var partition is normally
from growth of log files (including utmpx).

If full /var was not the problem, you'll need to null the utmp/wtmp
files.  In a VT100 window:
cat /dev/null > /var/utmp
cat /dev/null > /var/utmpx
cat /dev/null > /var/wtmp
cat /dev/null > /var/wtmpx
In general, this should be done when nobody is logged in from a remote
workstation.  In your case that shouldn't be an issue.  These files
are used to keep track of remote logins.  Nulling them will lose your
record of logins, so if this is important, copy the files first (to
/opt or to off platform).  You will also lose your record of when the
workstation last booted (uptime command will not tell you how long the
box has been up, until you reboot again).  After clearing these files
it is a good idea to reboot.  If not, you may need to restart utmpd.

Regards,

Kevin FitzGerrell
 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             //www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: