02-12-2001
FWIW, I solved this problem by killing utmpd, flushing the following files in /var/adm: utmp, utmpx, wtpm & wtmpx and restarting utmpd.
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
:confused:
HI...
I am a brasilian software maker.
I have a message " utmpx - filesystem isfull - /var/messages/unable to edit data "
Like resolves its problem ???
Tank yours.... (2 Replies)
Discussion started by: jaimi.passos
2 Replies
2. UNIX for Advanced & Expert Users
When shutting down a freshly installed version of 5.7 on a Compaq server I get two messages:
INIT: failed to write of utmpx entry: "s0"
and:
INIT: failed to write of utmpx entry: "fw"
then I can continue with the shutdown. When I bring the system back up it has not saved any of my... (2 Replies)
Discussion started by: DarkLord
2 Replies
3. SCO
I had a drive go bad. I have replaced the drive and have my system up. I have a 1-to-1 mirror raid. My mirrored boot drive brings the system up. I issued a reboot command. The system comes up gives me a login prompt and generates the error: failed write of utmpx entry:"i2".
What is i2? (1 Reply)
Discussion started by: jwideman
1 Replies
4. AIX
Hi. I'm new to AIX and I need to create a crontab entry to run a script every first 5 business days of the month? please help. (2 Replies)
Discussion started by: udelalv
2 Replies
5. Red Hat
Hello all,
I´m on Red Hat Enterprise Server 4.5
I´m wondering if it is possible to disable the need to add every IP machine entry in the file /etc/hosts to allow it to connect to Red hat?
I´m getting "where are you?" message. This is solved adding the machine ip where I´m working.
Thanks in... (1 Reply)
Discussion started by: mig28mx
1 Replies
6. UNIX for Dummies Questions & Answers
Can someone please quickly respond to this?
I need to have a script test.sh to run every 30 minutes from Monday to Saturday from 6am to 10pm as a crontab entry...
Thanks. (3 Replies)
Discussion started by: everurs789
3 Replies
7. UNIX for Dummies Questions & Answers
I have recently been assigned to help maintain some testing software on two UNIX stations. The stations are connected to instruments that supply power, signals, and take measurements from a box. Both test stations are basically the same. I was given a crash course (read a little training) a couple... (18 Replies)
Discussion started by: bjstaff
18 Replies
8. Shell Programming and Scripting
Hi
i have following sample entry--Each entry has 7-9 lines. Below entry has 7 lines.
I have a file it contains 1000's of such entries and each entry has 7-9 lines.
Input:
dn:cn=aci,cn=index,cn=example,cn=ldbm database, cn=plugins,cn=config
objectClass: top
objectClass:... (2 Replies)
Discussion started by: buzzme
2 Replies
9. How to Post in the The UNIX and Linux Forums
Hi All,
Please help me and guide me to write a bash/shell script on Linux box to delete parent entry with all their child entries.
example:
Parent is :
----------
dn: email=yogesh.kumar@wipro.com, o=wipro, o=in
child is:
----------
dn: cn: yogesh kumar, email=yogesh.kumar@wipro.com,... (1 Reply)
Discussion started by: Chand
1 Replies
10. Shell Programming and Scripting
I have the input file like this.
Input file: 12.txt
1) There are one or more than one <tr> tags in same line.
2) Some tr tags may have one <td> or more tna one <td> tags within it.
3) Few <td> tags having "<td> </td>". Few having more than one " " entry in it.
<tr> some td... (4 Replies)
Discussion started by: thomasraj87
4 Replies
utmpd(1M) utmpd(1M)
NAME
utmpd - utmpx monitoring daemon
SYNOPSIS
utmpd [-debug]
The utmpd daemon monitors the /var/adm/utmpx file. See utmpx(4) (and utmp(4) for historical information).
utmpd receives requests from pututxline(3C) by way of a named pipe. It maintains a table of processes and uses poll(2) on /proc files to
detect process termination. When utmpd detects that a process has terminated, it checks that the process has removed its utmpx entry from
/var/adm/utmpx. If the process' utmpx entry has not been removed, utmpd removes the entry. By periodically scanning the /var/adm/utmpx
file, utmpd also monitors processes that are not in its table.
-debug Run in debug mode, leaving the process connected to the controlling terminal. Write debugging information to standard output.
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
/etc/default/utmpd
You can set default values for the flags listed below. For example: SCAN_PERIOD=600
SCAN_PERIOD
The number of seconds that utmpd sleeps between checks of /proc to see if monitored processes are still alive. The default is 300.
MAX_FDS
The maximum number of processes that utmpd attempts to monitor. The default value is 4096.
WTMPX_UPDATE_FREQ
The number of seconds that utmpd sleeps between read accesses of the wtmpx file. The wtmpx file's last access time is used by
init(1M) on reboot to determine when the operating system became unavailable. The default is 60.
/var/adm/utmpx
File containing user and accounting information for commands such as who(1), write(1), and login(1).
/proc
Directory containing files for processes whose utmpx entries are being monitored.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
svcs(1), init(1M), svcadm(1M), poll(2), pututxline(3C), proc(4), utmp(4), utmpx(4), attributes(5), smf(5)
NOTES
If the filesystem holding /var/adm/wtmpx is mounted with options which inhibit or defer access time updates, an unknown amount of error
will be introduced into the utmp DOWN_TIME record's timestamp in the event of an uncontrolled shutdown (for example, a crash or loss of
power ). Controlled shutdowns will update the modify time of /var/adm/wtmpx, which will be used on the next boot to determine when the pre-
vious shutdown ocurred, regardless of access time deferral or inhibition.
The utmpd service is managed by the service management facility, smf(5), under the service identifier:
svc:/system/filesystem/utmp:default
Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The ser-
vice's status can be queried using the svcs(1) command.
12 Sep 2005 utmpd(1M)