启动时的出错提示!
Mounting remaining file systems... [ OK ]
Cleaning file systems: /tmp /var/lock/etc/rc.d/rcsysinit.d/S50cleanfs: line 82: cd: /var/lock: No such file or directory
/var/run [ FAIL ]
.....
....
INIT: Entering runlevel: 3
INIT: cannot execute "/etc/rc.d.init.d/rc"
login:
不能关机的问题!
# halt
Broadcast message from root(tty1) (....)
The system is going down for system halt NOW!
INIT: Switching to runlevel: 0
INIT: Sending processes started by init the TERM signal
INIT: Sending processes started by init the KILL signal
INIT: cannot execute "/etc/rc.d.init.d/rc"
Give root password for maintenance
(or type Control-D to continue):
# cd /etc/rc.d.init.d/
bash: cd: /etc/rc.d.init.d/: No such file or directory
# cd /etc
# ls -a rc*
. .. init.d rc0.d rc1.d rc2.d rc3.d rc4.d rc5.d rc6.d rcsysinit.d
# cd rc0.d
bash: cd: /etc/rc.d.init.d/: No such file or directory
# ls -a -l rc*
total 12
....
drwxr-xr-x 2 root root 142 2006-07-31 03:34 rc0.d
drwxr-xr-x....
drwxr-xr-x....
/var/lock: No such file or directory 这个问题,我在/var下发现有 locl 目录,估计是我前面操作时手误,mv locl lock后就正常了。
Post by crazywill
启动时的出错提示!
Mounting remaining file systems... [ OK ]
Cleaning file systems: /tmp /var/lock/etc/rc.d/rcsysinit.d/S50cleanfs: line 82: cd: /var/lock: No such file or directory
/var/run [ FAIL ]
.....
....
INIT: Entering runlevel: 3
INIT: cannot execute "/etc/rc.d.init.d/rc"
login:
不能关机的问题!
# halt
Broadcast message from root(tty1) (....)
The system is going down for system halt NOW!
INIT: Switching to runlevel: 0
INIT: Sending processes started by init the TERM signal
INIT: Sending processes started by init the KILL signal
INIT: cannot execute "/etc/rc.d.init.d/rc"
Give root password for maintenance
(or type Control-D to continue):
# cd /etc/rc.d.init.d/
bash: cd: /etc/rc.d.init.d/: No such file or directory
# cd /etc
# ls -a rc*
. .. init.d rc0.d rc1.d rc2.d rc3.d rc4.d rc5.d rc6.d rcsysinit.d
# cd rc0.d
bash: cd: /etc/rc.d.init.d/: No such file or directory
# ls -a -l rc*
total 12
....
drwxr-xr-x 2 root root 142 2006-07-31 03:34 rc0.d
drwxr-xr-x....
drwxr-xr-x....
/var/lock: No such file or directory 这个问题,我在/var下发现有 locl 目录,估计是我前面操作时手误,mv locl lock后就正常了。