sunos 5.8 on sparc -- system crash -- found at ok prompt -- entered boot -- skip cntrl-d for system maint -- get error -- cannot create /var/adm/utmpx --
what is the utmpx and what is the proper solution to bringing the box back up.
At OK prompt boot cdrom -s, check /etc/vfstab for any problems or try to cd /var; ls -l /var, check if there is adm directory is there, if not Mkdir adm and cd adm.
pwd
/var/adm
ls -l
check out if you have these files
utmp, utmpx and so On. if do not have, such create them
touch utmpx
touch utmp
then, reboot the system
.
F. regal
good luck
"think twice and hit enter once"
grep -i "user management" /etc/security/exec_attr
User Management:suser:cmd:::/usr/sbin/grpck:euid=0
User Management:suser:cmd:::/usr/sbin/pwck:euid=0
User Management:suser:cmd:::/etc/init.d/utmpd:uid=0;gid=sys
There are three commands available to the user management policy . First checks /etc/group for consistency; the second does the same for /etc/passwd . The Third is is actually a system startup Script to start and stop the Utmpd Deamon, which monitors the utmp and utmpx fiels. These Files contains information on active users.
WTMP this file contains a record of logins and logouts
UTMP this files contains current logins. .
F. regal
good luck
"think twice and hit enter once"
This happens often when you have /var as a separate
file system, i.e. not part of "/".
When /var is a file system in its own right, it won't be
mounted when the system is at single user (only / and
/usr are mounted by default). You may also notice write
failure messages to wtmp(x) when you shut the system down.
This is also because /var gets unmounted along with the
other file systems, leaving only / and /usr until much
later in the process.
The solution is to get /var mounted at the same time as
/ and /usr. John Philcox
Mobile Ventures Limited UK
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.