INIT: no more processes left in this runlevel
I make a 'little' linux through copying files from RHEL4.
When I copy the full /lib directory ,it can boot and login But on excuting restart or shutdown, it shows some messages and then halts. INIT: Switching to runlevel: 6 INIT: Sending processes the TERM signal INIT: no more processes left in this runlevel Maybe it needs some more files, but for the limit of disk space, I want to know the exact file it needs. anyone can tell me? The second question: When I copy part of the /lib directory and the full /lib/security directory,the problem above still exists,and a more problem happens at login. login: root Password: login(pam_unix)[376]: check pass: user unknown login(pam_unix)[376]:authentication failure: logname=LOGIN uid=0 euid=0 tty=tty1 ruser= rhost= login[376]: FAILED LOGIN 1 FROM (null) FOR root. Authentication failure Login incorrect login: which lib does it need except for /lib/security? The third question: Which files decide the ls command to list colorful files? Thanks for any help. |
Re: INIT: no more processes left in this runlevel
Quote:
It should be safe to manually poweroff or reboot your machine at this point, but if you want to fix this then I'd start by checking that power management is enabled in your BIOS. You may even have to recompile your kernel and change the power management options in the kernel. Quote:
/lib/security is a directory, not a library. /lib/security/pam_filter is probably going to be needed. You'll definitely need /etc/passwd and probably /etc/shadow as a minimum. You should find errors, such as the inability to load a given module, in various files in /var/log/ Quote:
Code:
ls --color=tty Code:
alias ls='/bin/ls --color=tty' |
Re: Re: INIT: no more processes left in this runlevel
Thanks for your answer.
Quote:
After the little linux shows those init messages and halts, it does not umount the root file system,so when booting the next time , it compalins that the system appears to have down uncleanly, and there always are some files damaged. Quote:
In /var/log,there are one dmesg file and one wtmp file.the dmesg only logged before the root file system was mounted, and the wtmp file was a binary file. Quote:
|
The first two questions are still waiting.
|
All times are GMT -5. The time now is 02:09 AM. |