16.04.2024, 10:04 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
tuxedo
Titel: Odd startup error: cannot execute "/etc/init.d/rcS"  BeitragVerfasst am: 28.08.2006, 16:41 Uhr



Anmeldung: 07. Mai 2005
Beiträge: 153

For some reason my freshly squeezed Kanotix woke up this morning with the following error during startup:

Code:

[..]
Switching root...
INIT: version 2.86 booting
INIT: cannot execute "/etc/init.d/rcS"
INIT: Entering runlevel: 5
INIT: cannot execute "/etc/init.d/rc"

Debian GNU/Linux testing/instable (none) tty1

(none) login:


That's as far as the startup goes. I can now log in as root but the following errors are shown:

Code:

Unable to change tty /dev/tty1: Read-only file system
attempt to acces beyond end of device
hda2: rw=0, want=722813760, limit=46138680
-bash: /bin/uname: cannot execure binary file
-bash: /bin/uname: cannot execure binary file
-bash: [: !=: unary operator expected
-bash: [: too many arguments
-bash: [: =: unary operator expected
root@(none)


The last couple of errors are repeated a few more lines.

I can run basic commands and traverse around what appears to be a intact file system. But I can't run netcardonfig; this returns "no supported cards are found", yet the cards definitely exist and worked fine yesterday. I probably can't start X-windows either.

I guess the easiest option may be to do CD update-install or even a complete reinstall. Fortunetaly I've documented and automated most things for a custom low-calorie Kanotix notebook installation.

If someone might however know what causes the above errors I would greatly appreciate any feedback, as of course, the same might happen again but in a less opportune moment.

By the way the Kanotix version I use is 2005-04.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
ockham23
Titel: RE: Odd startup error: cannot execute "/etc/init.d/rcS&  BeitragVerfasst am: 28.08.2006, 16:49 Uhr



Anmeldung: 25. Mar 2005
Beiträge: 2133

Zitat:
my freshly squeezed Kanotix
Geschockt
What exactly have you done with it?

_________________
And I ain't got no worries 'cause I ain't in no hurry at all (Doobie Brothers, "Black Water").
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
tuxedo
Titel: RE: Odd startup error: cannot execute "/etc/init.d/rcS&  BeitragVerfasst am: 28.08.2006, 16:54 Uhr



Anmeldung: 07. Mai 2005
Beiträge: 153

No big changes. Only adding a few standard programs and deleting some via apt-get. The last application I remember having installed however and for the first time was Real Player via KLIK. My orange squeezer broke this morning too.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
ockham23
Titel: RE: Odd startup error: cannot execute "/etc/init.d/rcS&  BeitragVerfasst am: 28.08.2006, 17:20 Uhr



Anmeldung: 25. Mar 2005
Beiträge: 2133

Ok, klik and realplayer are definitely not to blame; I've used them many times without any adverse effects.
I suggest you boot off the Kanotix cd, salavage your data to an external drive and then enter
Code:
sudo fdisk -l
sudo testdisk /list
to gather diagnostic information about your hard drive.

_________________
And I ain't got no worries 'cause I ain't in no hurry at all (Doobie Brothers, "Black Water").
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
tuxedo
Titel: RE: Odd startup error: cannot execute "/etc/init.d/rcS&  BeitragVerfasst am: 28.08.2006, 19:19 Uhr



Anmeldung: 07. Mai 2005
Beiträge: 153

Ok thanks for the tip. I have no data to restore. Its a brand new install. Maybe the problem was caused by a faulty hd.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
piper
Titel: RE: Odd startup error: cannot execute "/etc/init.d/rcS&  BeitragVerfasst am: 28.08.2006, 19:46 Uhr
Team Member
Team Member


Anmeldung: 03. Mai 2005
Beiträge: 1544
Wohnort: out there somewhere
Instead of sudo use su or sux then password

fdisk -l
testdisk /list

_________________
h2's d-u script
h2's rdiff-backup script
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
ockham23
Titel: RE: Odd startup error: cannot execute "/etc/init.d/rcS&  BeitragVerfasst am: 28.08.2006, 19:56 Uhr



Anmeldung: 25. Mar 2005
Beiträge: 2133

@piper: The commands were meant for the LiveCD; i am not yet suffering from Ubuntu virus. Winken

_________________
And I ain't got no worries 'cause I ain't in no hurry at all (Doobie Brothers, "Black Water").
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
piper
Titel: RE: Odd startup error: cannot execute "/etc/init.d/rcS&  BeitragVerfasst am: 28.08.2006, 20:03 Uhr
Team Member
Team Member


Anmeldung: 03. Mai 2005
Beiträge: 1544
Wohnort: out there somewhere
ockham23

I am allergic to Ubuntu period Winken

_________________
h2's d-u script
h2's rdiff-backup script
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
Swynndla
Titel: RE: Odd startup error: cannot execute "/etc/init.d/rcS&  BeitragVerfasst am: 28.08.2006, 23:11 Uhr



Anmeldung: 05. Dez 2005
Beiträge: 414
Wohnort: Auckland, New Zealand
tuxedo ... I did a similar thing once ... I apt-get removed a few seemingly innocent apps, but I didn't read closely enough before pressing 'y' because it wanted to remove a whole lot more. If it's a new install, may be best to install again?

_________________
Linux is evolution, not intelligent design - Linus Torvalds
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
tuxedo
Titel: Re: RE: Odd startup error: cannot execute "/etc/init.d/  BeitragVerfasst am: 28.08.2006, 23:55 Uhr



Anmeldung: 07. Mai 2005
Beiträge: 153

Swynndla hat folgendes geschrieben::
tuxedo ... I did a similar thing once ... I apt-get removed a few seemingly innocent apps, but I didn't read closely enough before pressing 'y' because it wanted to remove a whole lot more. If it's a new install, may be best to install again?


Thanks for sharing that bit of experience.

All I had done in terms of removing programs was:
apt-get remove --purge libwine
apt-get remove --purge wine
apt-get remove --purge quanta
apt-get remove --purge mozilla-thunderbird*

I tried a CD update-install but not even that worked, instead it stopped at the error:
/usr/bin/kanotix-update: line 678 5657 Segmentation fault rm -rf $FOLDER

Its hard to understand why the wine/quanta/mozilla removal should cause the problem.

I also did a bunch of automated installations via a shell script:

apt-get -y --force-yes install nedit
apt-get -y --force-yes install fmirror
apt-get -y --force-yes install fortune-mod
apt-get -y --force-yes install fortunes
apt-get -y --force-yes install fortunes-off
apt-get -y --force-yes install debian-hints
apt-get -y --force-yes install fortunes-de
apt-get -y --force-yes install gift
apt-get -y --force-yes install appolon
apt-get -y --force-yes install apache
apt-get -y --force-yes install gftp
apt-get -y --force-yes install antiword
apt-get -y --force-yes install 3ddesktop
apt-get -y --force-yes install kino
apt-get -y --force-yes install camstream
apt-get -y --force-yes install camstream-doc
apt-get -y --force-yes install ispell
apt-get -y --force-yes install wbritish

Now Kanotix 2005-04 is reinstalling fresh again....
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
piper
Titel: RE: Re: RE: Odd startup error: cannot execute "/etc/ini  BeitragVerfasst am: 29.08.2006, 00:08 Uhr
Team Member
Team Member


Anmeldung: 03. Mai 2005
Beiträge: 1544
Wohnort: out there somewhere
apt-get remove --purge mozilla-thunderbird mozilla-thunderbird-dev mozilla-thunderbird-inspector mozilla-thunderbird-typeaheadfind

I won't comment on the others, I feel "forced" automated installations are not a good idea, but that is only my opinion, anything can go wrong, yes, I have done them in the past, but I have also had my system b0rked more often using it. Winken

_________________
h2's d-u script
h2's rdiff-backup script
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
slh
Titel: RE: Re: RE: Odd startup error: cannot execute "/etc/ini  BeitragVerfasst am: 29.08.2006, 00:20 Uhr



Anmeldung: 16. Aug 2004
Beiträge: 1905

--force-yes is actually one of the very stupid ways to ruin your system.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
horo
Titel: RE: Re: RE: Odd startup error: cannot execute "/etc/ini  BeitragVerfasst am: 29.08.2006, 08:32 Uhr



Anmeldung: 17. Dez 2003
Beiträge: 700
Wohnort: Berlin
Zitat:
--force-yes is actually one of the very stupid ways to ruin your system.

There are also clever ways?

Ciao Martin

_________________
omnia vincit pecunia
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
tuxedo
Titel: RE: Re: RE: Odd startup error: cannot execute "/etc/ini  BeitragVerfasst am: 29.08.2006, 09:28 Uhr



Anmeldung: 07. Mai 2005
Beiträge: 153

My idea was to automate some application installation procedures, because I seem to find my self installing Kanotix on more than a regular basis, as such, it becomes somewehat monotonous to perform the same installation procedures over and over again... But following this experience I'm converting back to the more regular gui installers or manually typed interactive apt-get sessions.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.