Assistant diskstation ungeplant heruntergefahren

Status
Für weitere Antworten geschlossen.

stpkle

Benutzer
Mitglied seit
21. Feb 2009
Beiträge
96
Punkte für Reaktionen
3
Punkte
8
Hallo,

ich benötige Hilfe!
Meine DS408 meldet nach jedem Neustart "diskstation wurde aufgrund eines Stromausfalls ungeplant heruntergefahren."
Hier im Forum habe ich folgendes dazu gefunden und ausgeführt:

umount /opt
mount #kontrollieren ob /opt nicht gemountet ist
rmdir /opt
ln -s /volume1/opt /

in der rc.local habe ich die Zeile "[ -e /volume1/opt ] && mount -o bind /volume1/opt /opt" auskommentieren.

Alles ohne Veränderung! Die Meldung bleibt. Was kann ich noch tun?
Wer kann mir helfen?

Ciao, Bernd
 

goetz

Super-Moderator
Teammitglied
Sehr erfahren
Mitglied seit
18. Mrz 2009
Beiträge
13.999
Punkte für Reaktionen
264
Punkte
373
Hallo,
wie startest Du die DS neu?

Gruß Götz
 

stpkle

Benutzer
Mitglied seit
21. Feb 2009
Beiträge
96
Punkte für Reaktionen
3
Punkte
8
Hallo,

ich habe gestern Abend die Firmware 2.3-1141 aufgespielt und siehe da, das Problem ist nicht mehr vorhanden.

Ciao, Bernd
 

stpkle

Benutzer
Mitglied seit
21. Feb 2009
Beiträge
96
Punkte für Reaktionen
3
Punkte
8
Hallo,

mein Problem hat sich leider noch nicht erledigt.
Folgendes kann ich nachstellen:

Wenn in der Datei /etc/rc.local der Eintrag:

[ -e /volume1/opt ] && mount -o bind /volume1/opt /opt

vorhanden ist kommt die eMail "diskstation ungeplant heruntergefahren" beim Neustart der DS.

Nehme ich den Eintrag heraus kann ich "ipkg" nicht mehr aufrufen!

Was kann ich tun?

Ciao, Bernd
 

goetz

Super-Moderator
Teammitglied
Sehr erfahren
Mitglied seit
18. Mrz 2009
Beiträge
13.999
Punkte für Reaktionen
264
Punkte
373
Hallo,
stell auf Symlink um, ließ mal hier.

Gruß Götz
 

stpkle

Benutzer
Mitglied seit
21. Feb 2009
Beiträge
96
Punkte für Reaktionen
3
Punkte
8
Hallo Goetz

das funktioniert so nicht bei mir! Nach den Befehlen kann ich ipkg nicht mehr aufrufen! Was soll ich tun?

diskstation> umount /opt
umount: Couldn't umount /opt: Inappropriate ioctl for device
diskstation> umount -f /opt
diskstation> umount
BusyBox v1.1.0 (2010.03.12-16:56+0000) multi-call binary

Usage: umount [flags] FILESYSTEM|DIRECTORY

diskstation> rmdir /opt
diskstation> ln -s /volume1/opt
diskstation> ipkg
-ash: ipkg: not found
 

stpkle

Benutzer
Mitglied seit
21. Feb 2009
Beiträge
96
Punkte für Reaktionen
3
Punkte
8
Hallo Goetz,

es ist noch schlimmer! Nach der Eingabe (s.o.) komme ich per Browser nicht mehr auf meine DS. Was kan ich tun?

http://"DS-IP":5000/

Antwort im Browser:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8k PHP/5.2.12 Server at 192.168.11.30 Port 5000
 

goetz

Super-Moderator
Teammitglied
Sehr erfahren
Mitglied seit
18. Mrz 2009
Beiträge
13.999
Punkte für Reaktionen
264
Punkte
373
Hallo,
bitte immer ganz genau lesen.
Mit mount kontrollieren ob /opt noch gemountet ist, nicht mit umount.
Den Symlink mit ln -s /volume1/opt / setzen.
Möglicherweise hast Du die gesamte ipkg Installation gelöscht.
Bestandsaufnahme:
Rich (BBCode):
ls -la /
ls -la /volume1
mount
einen Neustart kannst Du auf der Konsole mit
Rich (BBCode):
/sbin/poweroff
und per Taster wieder einschalten.

Gruß Götz
 

stpkle

Benutzer
Mitglied seit
21. Feb 2009
Beiträge
96
Punkte für Reaktionen
3
Punkte
8
Hallo Götz,

ok, Ebene 8! Aber ich bekomme den Fehler "ungeplant heruntergefahren" nicht weg. Hier jetzt noch mal alle Befehle in der Zusammenfassung:

diskstation> umount /opt
umount: Couldn't umount /volume1/opt: Invalid argument
diskstation> mount
/dev/md0 on / type ext3 (rw,data=ordered)
/tmp on /tmp type tmpfs (rw)
/sys on /sys type sysfs (rw)
/proc/bus/usb on /proc/bus/usb type usbfs (rw)
/dev/md2 on /volume1 type ext3 (usrquota,grpquota)
diskstation> rmdir /opt
rmdir: `/opt': Not a directory
diskstation> ln -s /volume1/opt /
ln: /opt: File exists

Für mich sieht das nicht gut aus!


Das ist der Inhalt von /etc/rc.local:

#!/bin/sh

# Optware setup
mkdir -p /opt
# [ -e /volume1/opt ] && mount -o bind /volume1/opt /opt
[ -x /opt/etc/rc.optware ] && /opt/etc/rc.optware
[ -e /bin/killall ] || ln -s /bin/busybox /bin/killall


Was mache ich falsch? Ciao, Bernd
 

goetz

Super-Moderator
Teammitglied
Sehr erfahren
Mitglied seit
18. Mrz 2009
Beiträge
13.999
Punkte für Reaktionen
264
Punkte
373
Hallo,
wie oft hast Du nach dem auskommentieren von [ -e /volume1/opt ] && mount -o bind /volume1/opt /opt neu gestartet?
Kommentiere auf jeden Fall die Zeile mkdir -p /opt aus.
Und gib dann bitte die Ausgabe von
Rich (BBCode):
ls -la /
ls -la /volume1/opt
ls -la /opt
mount
hier bekannt.

Gruß Götz
 

stpkle

Benutzer
Mitglied seit
21. Feb 2009
Beiträge
96
Punkte für Reaktionen
3
Punkte
8
Hallo Götz,

hier die Ausgaben auf Deine Befehle:

diskstation> ls -la /
drwxr-xr-x 24 root root 4096 Mar 28 08:58 .
drwxr-xr-x 24 root root 4096 Mar 28 08:58 ..
drwx------ 3 root root 4096 Feb 22 00:10 .cache
drwx------ 3 root root 4096 Feb 22 00:10 .config
drwx------ 3 root root 4096 Feb 22 00:10 .local
-rw-r--r-- 1 root root 3 Mar 1 2004 .mkcert.serial
-rw------- 1 root root 1024 Mar 1 2004 .rnd
drwxr-xr-x 2 root root 4096 Mar 21 13:10 bin
drwxr-xr-x 2 2001 2001 4096 Mar 22 19:58 bootstrap
drwxr-xr-x 4 root root 32768 Mar 28 08:58 dev
drwxr-xr-x 14 root root 4096 Mar 28 08:58 etc
drwxr-xr-x 12 root root 4096 Mar 28 08:58 etc.defaults
drwxr-xr-x 2 root root 4096 Mar 12 21:22 initrd
drwxr-xr-x 14 root root 12288 Mar 21 13:09 lib
drwxr-xr-x 2 root root 4096 Mar 12 21:03 lib64
lrwxrwxrwx 1 root root 11 Mar 21 13:09 linuxrc -> bin/busybox
drwx------ 2 root root 4096 Mar 12 21:08 lost+found
drwxr-xr-x 4 root root 4096 Mar 24 21:11 mnt
lrwxrwxrwx 1 root root 12 Mar 25 21:51 opt -> /volume1/opt
dr-xr-xr-x 75 root root 0 Jan 1 1970 proc
drwxr-xr-x 2 root root 4096 Mar 28 09:00 root
drwxr-xr-x 2 root root 4096 Mar 21 13:09 sbin
-rw-rw-rw- 1 root root 272290 Feb 19 14:42 syno-e500-bootstrap_1.2-7_powerpc.xsh
drwxr-xr-x 10 root root 0 Jan 1 1970 sys
drwxrwxrwt 6 root root 520 Mar 28 08:59 tmp
drwxr-xr-x 7 root root 4096 Mar 21 13:09 usr
drwxr-xr-x 12 root root 4096 Mar 28 08:58 var
drwxr-xr-x 11 root root 4096 Mar 21 13:10 var.defaults
drwxr-xr-x 21 root root 4096 Mar 28 08:58 volume1

diskstation> ls -la /volume1/opt
drwxr-xr-x 17 root root 4096 Mar 28 08:48 .
drwxr-xr-x 21 root root 4096 Mar 28 08:58 ..
drwxr-xr-x 2 root root 12288 Mar 24 22:35 bin
drwxr-xr-x 5 root root 4096 Mar 24 22:34 etc
drwx------ 2 root root 4096 Mar 21 12:55 ipkg-3w17lh
drwx------ 2 root root 4096 Feb 21 2009 ipkg-4Wj99a
drwx------ 2 root root 4096 Mar 24 21:48 ipkg-Mh9AKE
drwx------ 2 root root 4096 Mar 24 20:56 ipkg-WLLqTX
drwx------ 2 root root 4096 Feb 21 2009 ipkg-qAbxAB
drwx------ 2 root root 4096 Mar 21 12:52 ipkg-xsJ8KA
drwxr-xr-x 6 root root 4096 Mar 21 12:55 lib
drwxr-xr-x 2 root root 4096 Mar 21 12:55 libexec
drwxr-xr-x 4 root root 4096 Jun 25 2008 man
drwxr-xr-x 2 root root 4096 Mar 21 12:55 sbin
drwxr-xr-x 10 root root 4096 Feb 21 2009 share
drwxr-xr-t 2 root root 4096 Sep 5 2008 tmp
drwxr-xr-x 4 root root 4096 Feb 21 2009 var

diskstation> ls -la /opt
lrwxrwxrwx 1 root root 12 Mar 25 21:51 /opt -> /volume1/opt

diskstation> mount
/dev/md0 on / type ext3 (rw,data=ordered)
/tmp on /tmp type tmpfs (rw)
/sys on /sys type sysfs (rw)
/proc/bus/usb on /proc/bus/usb type usbfs (rw)
/dev/md2 on /volume1 type ext3 (usrquota,grpquota)

Kannst Du damit etwas anfangen? Die Meldung mit den "diskstation ungeplant heruntergefahren" nervt schon sehr!

Ciao, Bernd
 

goetz

Super-Moderator
Teammitglied
Sehr erfahren
Mitglied seit
18. Mrz 2009
Beiträge
13.999
Punkte für Reaktionen
264
Punkte
373
Hallo,
das sieht soweit gut aus.
Suche mal bitte in /var/log/messages die Zeilen die in den Zeitbereich eines Neustart fallen.

Gruß Götz
 

stpkle

Benutzer
Mitglied seit
21. Feb 2009
Beiträge
96
Punkte für Reaktionen
3
Punkte
8
Hallo liebe DS Gemeinde,

mit Freude habe ich auf die FW 3.x gewartet und in meine DS-408 eingespielt. Alles i.O. und tolle neue Funktionen.

Nach der Firmware habe ich noch das IPKG installiert um WOL zu nutzen. Die DS soll morgens unseren eGroup-Server über das Netzwerk starten. Auch das funktioniert ohne Probleme.

Folgendes Phänomen habe ich jetzt:

Die DS soll über die Energieeinstellungen um 23:55 Herunterfahren und um 05:50 Uhr wieder starten. Das funktioniert auch aber ich bekomme seit der Umsellung auf FW 3.x jeden Morgen eine eMail mit folgendem Inhalt:

----
Sehr geehrter Benutzer,

diskstation wurde aufgrund eines Stromausfalls ungeplant heruntergefahren.

Mit freundlichen Grüßen
Synology DiskStation
----

Kann mir jemand Helfen das zu fixen? Ich freue mich auf alle Antworten.

Ciao, Bernd
 
Status
Für weitere Antworten geschlossen.
 

Kaffeautomat

Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.

Als Dankeschön schalten wir deinen Account werbefrei.

:coffee:

Hier gehts zum Kaffeeautomat