Re: cannot execute "/etc/init.d/rc"
On Mon, 4 Oct 2004, Andrew Porter wrote:
> On Mon, 2004-10-04 at 12:59, Ivan Glushkov wrote:
> > INIT: cannot execute "/etc/init.d/rcS"
> > INIT: Entering runlevel: 2
> > INIT: cannot execute "/etc/init.d/rc"
> What does ls -l /etc/init.d/rc* show ?
-rwxrwxrwx 1 root root 2235 Oct 4 14:25 /etc/init.d/rc
-rwxrwxrwx 1 root root 1190 Oct 4 14:25 /etc/init.d/rcS
I found the following:
the /bin/sh was missing, as well as /bin/bash. I linked:
ln -s /bin/zsh bin/sh
Basicly seems like the whole system is not working properly:
"apt-get dist-upgrade" wants libc6.
"apt-get install libc6" says that it cannot get the debconf version. The
debconf version is ofcourse installed... So, the first task in the moment
is to find a way to install libc6...
(a lot of things in /lost+found/.)is there a way with apt-get or so to recover the
previous state of the system?