You are not logged in.

Anzeigen

nslu2-info.de ist ein privates Projekt von mir, welches jeden Monat aus eigener Tasche finanziert wird. Mit einer freiwilligen Spende wird der Erhalt und der weitere Ausbau dieses Forums unterstützt. Um mich beim Erhalt des Forums zu unterstützen, kannst Du entweder via Flattr oder Paypal spenden. Ich bedanke mich schon jetzt bei allen Unterstützern.

Snck3rs

Beginner

  • "Snck3rs" started this thread

Posts: 9

wcf.user.option.userOption68: Linksys NSLU2

wcf.user.option.userOption65: Debian

  • Send private message

1

Wednesday, July 14th 2010, 1:49pm

-bash: sudo: command not found // 116 Stale NFS file handle // Debian 5.0 auf SLUG

Hallo zusammen,
ich bin noch ganz neu hier, deswegen möchte ich mich erst mal vorstellen. Mein Name ist Tom, bin 23 Jahre und arbeite als Webprogrammierer. Mit Linux arbeite ich nun schon ein paar Jährchen, bin aber noch weit vom "Professional" weg ;o).
Die NSLU2 habe ich schon seit x Jahren zuhause, aber vor kurzem bin ich auf die Alternative Verwendungsmöglichkeit gestoßen :o) Nach ewigen Versuchen (die Installationsroutine ist wirklich schrott) habe ich mir die Slug manuell bespielt und seitdem läuft sie auch ganz gut. (Bis auf die fehlerhaften Kernel-Updates....)

Hab mir dann auch gleich noch ein paar Programme dazuinstalliert. Die letzten beiden waren Samba und Apache2.
Die Anmeldung erfolgt per SSH.
Jetzt hatte ich schon ein paar Tage das Problem, dass ich keine Software mehr installieren kann, obwohl ich aber direkt als root angemeldet bin. Das Problem trat direkt nach der Installation von Apache auf. MySql wollte ich danach installieren, das ging auch schon nicht mehr....




Source code

1
2
3
oneill:/home/thomas# apt-get install update
E: Could not open lock file /var/lib/dpkg/lock - open (116 Stale NFS file handle)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?



Eine zweite Paketverwaltung habe ich nicht geöffnet. Auch nach einem Neustart besteht dieses Problem weiterhin. Jetzt habe ich schon paar mal gelesen, dass man die Lock-Datei manuell löschen kann. Wenn ich das aber machen möchte kommt diese Meldung:




Source code

1
rm: cannot remove `lock': Stale NFS file handle



Seltsam finde ich in beiden Fällen den Hinweis auf das NFS file handle....Und heute früh ist mir aufgefallen, dass sudo nicht mehr funktioniert. Bin als normaler User per SSH angemeldet.


Source code

1
2
thomas@oneill:/var/lib/dpkg$ sudo apt-get update
 bash: sudo: command not found


Ich hoffe ihr könnt mir weiterhelfen.Viele Grüße aus Niederbayern
Tom

Anzeigen

caplink811

Forensupporter

Posts: 2,200

wcf.user.option.userOption68: 64X2/8GB/Ubuntu10.04LTS

wcf.user.option.userOption65: anderes

Location: Berlin

Occupation: TK/IT Consulting and Engineering

  • Send private message

2

Wednesday, July 14th 2010, 11:37pm

N'Abend,
echo $PATH ergibt was?

Schonmal alles angehalten was mit nfs zu tun hat (/etc/init.d/nfsd stop o.ä.)?

bye
JrB
"Supporting joe users worldwide" <- that's our motto


Anzeigen

Snck3rs

Beginner

  • "Snck3rs" started this thread

Posts: 9

wcf.user.option.userOption68: Linksys NSLU2

wcf.user.option.userOption65: Debian

  • Send private message

3

Thursday, July 15th 2010, 8:48am

Doppelpost

This post has been edited 1 times, last edit by "Snck3rs" (Jul 15th 2010, 9:27am) with the following reason: doppelpost


Snck3rs

Beginner

  • "Snck3rs" started this thread

Posts: 9

wcf.user.option.userOption68: Linksys NSLU2

wcf.user.option.userOption65: Debian

  • Send private message

4

Thursday, July 15th 2010, 8:51am

Ich hatte es zumindest versucht.... bei mir heißt der Dienst "nfs-common".
nfsd gibt es bei mir nicht. Allerdings gibt das nur eine Fehlermeldung aus.


Source code

1
2
3
4
5
6
thomas@oneill:/etc/init.d$ ./nfs-common stop
Stopping NFS common utilities: statd./nfs-common: line 219: start-stop-daemon: command not found
 failed!
thomas@oneill:/etc/init.d$ ./nfs-common help
Usage: nfs-common {start|stop|status|restart}.
thomas@oneill:/etc/init.d$ 



echo $PATH ergibt folgendes:

Source code

1
2
thomas@oneill:~$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/games


Kannst du damit was anfangen?

Snck3rs

Beginner

  • "Snck3rs" started this thread

Posts: 9

wcf.user.option.userOption68: Linksys NSLU2

wcf.user.option.userOption65: Debian

  • Send private message

5

Thursday, July 15th 2010, 9:01am

So jetzt bin ich noch über ein paar andere Dienste gestoßen:

Source code

1
2
3
mountnfs-bootclean.sh
mountnfs.sh
umountnfs.sh


nach dem deaktivieren dieser Dienste lässt sich auch nfs-common beenden. Das Problem besteht weiterhin.

Hier mal eine Liste aller Dienste in init.d:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
README		 ifupdown		nslu2-rtc	 single
apache2		 ifupdown-clean		openbsd-inetd	 skeleton
atd		 killprocs		policycoreutils  ssh
binfmt-support	 leds_startup		portmap		 stop-bootlogd
bootlogd	 module-init-tools	procps		 stop-bootlogd-single
bootmisc.sh	 mountall-bootclean.sh	proftpd		 udev
checkfs.sh	 mountall.sh		rc		 udev-mtab
checkroot.sh	 mountdevsubfs.sh	rc.local	 umountfs
cron		 mountkernfs.sh		rcS		 umountnfs.sh
exim4		 mountnfs-bootclean.sh	reboot		 umountroot
glibc.sh	 mountnfs.sh		rmnologin	 urandom
halt		 mountoverflowtmp	rmrecovery	 webmin
hostname.sh	 mtab.sh		rsyslog		 x11-common
hwclock.sh	 networking		samba		 zleds
hwclockfirst.sh  nfs-common		sendsigs

This post has been edited 1 times, last edit by "Snck3rs" (Jul 15th 2010, 9:28am) with the following reason: Code hervorheben


caplink811

Forensupporter

Posts: 2,200

wcf.user.option.userOption68: 64X2/8GB/Ubuntu10.04LTS

wcf.user.option.userOption65: anderes

Location: Berlin

Occupation: TK/IT Consulting and Engineering

  • Send private message

6

Thursday, July 15th 2010, 3:28pm

Moin,

mit dem oben genannten $PATH kannst Du so keine Applikationen in /sbin und /usr/sbin finden. Entweder Du erweiterst den Suchpfad, oder adressierst den Programmaufruf absolut.

Deaktiver doch mal den "Autostart" aller NFS lastigen Scripte und boote einmal durch, vielleicht hilft es ja was...

bye
Jrb
"Supporting joe users worldwide" <- that's our motto


Snck3rs

Beginner

  • "Snck3rs" started this thread

Posts: 9

wcf.user.option.userOption68: Linksys NSLU2

wcf.user.option.userOption65: Debian

  • Send private message

7

Thursday, July 15th 2010, 4:04pm

wo kann ich den Autostart der Programme deaktivieren?

caplink811

Forensupporter

Posts: 2,200

wcf.user.option.userOption68: 64X2/8GB/Ubuntu10.04LTS

wcf.user.option.userOption65: anderes

Location: Berlin

Occupation: TK/IT Consulting and Engineering

  • Send private message

8

Thursday, July 15th 2010, 9:22pm

N'Abend,

man update-rc.d

bye
JrB
"Supporting joe users worldwide" <- that's our motto


Snck3rs

Beginner

  • "Snck3rs" started this thread

Posts: 9

wcf.user.option.userOption68: Linksys NSLU2

wcf.user.option.userOption65: Debian

  • Send private message

9

Saturday, July 17th 2010, 7:28pm

ich hab jetzt mal den USB-Stick mit dem Betriebssystem an nen Rechner angesteckt. Wenn ich nun ins Verzeichnis "var" wechsle hab ich nur die Ordner "lib, local und spool"

auch dpkg ist bis auf den Info - Ordner leer..... sollte doch eig. mehr sein.. selbst auf dem Haupt - Image sind hier mehr Dateien....

Snck3rs

Beginner

  • "Snck3rs" started this thread

Posts: 9

wcf.user.option.userOption68: Linksys NSLU2

wcf.user.option.userOption65: Debian

  • Send private message

10

Saturday, July 17th 2010, 7:38pm

Anmerkung:

allerdings nur, wenn ich per Dateimanager draufgehe.... in der Konsole zeigt er alles an...


Source code

1
backups  cache  crash  games  lib  local  lock  log  mail  opt  run  spool  tmp

Snck3rs

Beginner

  • "Snck3rs" started this thread

Posts: 9

wcf.user.option.userOption68: Linksys NSLU2

wcf.user.option.userOption65: Debian

  • Send private message

11

Tuesday, July 20th 2010, 10:07pm

@caplink811:

Der einzige Dienst der auf Autostart war und den ich mit NFS in Verbindung bringe war NFS-Common. Hat aber nichts gebracht... also siehts wohl schwer danach aus, dass ich alles nochmal neu installieren muss.... ;( ;(

Snck3rs

Beginner

  • "Snck3rs" started this thread

Posts: 9

wcf.user.option.userOption68: Linksys NSLU2

wcf.user.option.userOption65: Debian

  • Send private message

12

Tuesday, September 28th 2010, 3:04pm

Lange lange ist es her seitdem ich hier das Problem online gestellt hatte. Hab mich jetzt auch länger nicht mehr mit der Thematik befasst, nun aber doch endlich wieder mehrere Versuche gestartet.

Nur leider wieder ohne Erfolg. Meist schon nach der Installation und erster konfiguration tritt dieses Problem auf. Dabei spielt es keine Rolle welche Programme ich installiert habe. Kennt dieses Problem wirklich niemand??

domko

Beginner

Posts: 7

wcf.user.option.userOption68: NSLU2

wcf.user.option.userOption65: Debian

  • Send private message

13

Wednesday, September 29th 2010, 12:24am

Ich hab auch debian 5.0.4 drauf. Der Installer hat bei mir mit Stick bestens gearbeitet. Wenn Du die Intallation schon verdödelt hast, brenn die Firmware noch mal auf die NSLU2 drauf.
sudo hab ich übrigends auch nicht. Brauch ich auch nicht. Wir haben Debian, nicht Ubuntu auf der NSLU2 :-) Geht doch als root alles wunderbar...

domko

Similar threads

Social bookmarks