t*******g 发帖数: 89 | 1 INIT: Cannot create /var/adm/utmp or /var/adm/utmpx
INIT: failed write of utmpx entry: ""
INIT: failed write of utmpx entry: ""
INIT: SINGLE USER MODE
Type Ctrl-d to proceed with normal startup,(or give
root password for system maintenance:)
ENTER RUN LEVEL (0-6, s or S) :
I am screwed by this message. I typed root password and
whichever run level I selected, it halted.
I searched the error message "Cannot create /var/adm/utmp or
/var/adm/utmpx" on |
|
d******e 发帖数: 2265 | 2 Hi, help!
my SUN refuse remote login now!
the message is " No utmpx entry, you must exec "login"
from the lowerest level "shell".
what happens?
I just generate a "kernel lock" and maybe don't release it.
I kill the SPL of informix, I don't know what the damned
informix has done.:(
Help |
|
m****m 发帖数: 165 | 3 Your /var/adm/utmpx corrupts. Try boot from cd-rom and
delete this file. Then you will be able to login. |
|
j***i 发帖数: 2 | 4 #include
#include
#include
#include
#include
int main()
{
struct utmpx *U;
while ((U = getutxent())!=NULL) {
printf ( "%s", U -> ut_pid);
}
return 0;
}
I wrote these lines but it said that "Segmentation Fault (core dumped)"
Could you give me some suggestion. TX |
|
g*****y 发帖数: 26 | 5 I have encountered this problem one time,
It is for the disk have no enough space in my case,
I think maybe the access power have some mistake.
Try delete these two files,
chmod 775 /var/adm
reboot |
|
t*******g 发帖数: 89 | 6 Finally I reinstall the Solaris 7.
I check Sunsolve online, it says it's bug.
It happens when you put /var directory in a sperated partition
other than /. And you updated the kernel patch. |
|