Medienserver ohne Router

L I V E Stammtisch ab 20:30 Uhr im Chat
  • Danke dir Hofei. Das hört sich sehr nach meinem Problem an. Auch die Sache mit dem Remote Desktop ist ein sehr hilfreiches Tool, da ich nicht ständig Maus und Tastatur umstecken muss ;) Nice. Thx. Ich werde berichten ob es geholfen hat.

  • Hab den "sleep-mode" jetzt mal deaktiviert und ein bash-skript am laufen, welches den Router anpingt und die Verbindung wieder herstellt, wenn sie abgebrochen wurde. Wenn heute und morgen der Medienserver sichtbar bleibt, verbuche ich es als Erfolg.

  • Also, ich habe nach wie vor das gleiche Problem. Das bash-skript und power-mangement deaktivierung haben nicht geholfen.
    Ich habe mir mal die logfile durchgesehen, doch so wirklich verstehen tu ich da nix. Aber vielleicht gibt es ja hier jemanden der das kann:

    Hier der Auszug:

    [2017/07/18 20:17:06] minidlna.c:1004: warn: Starting MiniDLNA version 1.1.2.
    [2017/07/18 20:17:06] minidlna.c:1043: warn: HTTP listening on port 8200
    [2017/07/18 21:07:44] inotify.c:198: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [1902] and I do not have permission to increase this limit. Please do so manually by writing a higher value into /proc/sys/fs/inotify/max_user_watches.
    [2017/07/19 07:25:07] upnphttp.c:1043: warn: HTTP Connection closed unexpectedly
    [2017/07/19 07:25:12] upnphttp.c:1043: warn: HTTP Connection closed unexpectedly
    [2017/07/19 07:25:17] upnphttp.c:1043: warn: HTTP Connection closed unexpectedly
    [2017/07/19 07:25:22] upnphttp.c:1043: warn: HTTP Connection closed unexpectedly
    [2017/07/19 07:25:27] upnphttp.c:1043: warn: HTTP Connection closed unexpectedly
    [2017/07/19 07:25:32] upnphttp.c:1043: warn: HTTP Connection closed unexpectedly
    [2017/07/19 07:25:37] upnphttp.c:1043: warn: HTTP Connection closed unexpectedly
    [2017/07/19 07:25:42] upnphttp.c:1043: warn: HTTP Connection closed unexpectedly
    [2017/07/19 07:25:47] upnphttp.c:1043: warn: HTTP Connection closed unexpectedly
    [2017/07/19 07:25:52] upnphttp.c:1043: warn: HTTP Connection closed unexpectedly
    [2017/07/19 07:25:57] upnphttp.c:1043: warn: HTTP Connection closed unexpectedly
    [2017/07/19 07:26:02] upnphttp.c:1043: warn: HTTP Connection closed unexpectedly
    [2017/07/19 07:26:07] upnphttp.c:1043: warn: HTTP Connection closed unexpectedly
    [2017/07/19 07:26:12] upnphttp.c:1043: warn: HTTP Connection closed unexpectedly
    [2017/07/19 07:26:18] upnphttp.c:1043: warn: HTTP Connection closed unexpectedly
    [2017/07/20 19:17:07] minidlna.c:1004: warn: Starting MiniDLNA version 1.1.2.
    [2017/07/20 19:17:07] minidlna.c:1043: warn: HTTP listening on port 8200
    [2017/07/20 19:17:17] inotify.c:198: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [1902] and I do not have permission to increase this limit. Please do so manually by writing a higher value into /proc/sys/fs/inotify/max_user_watches.
    [2017/07/20 19:42:25] upnphttp.c:1003: warn: /favicon.ico not found, responding ERROR 404
    [2017/07/20 20:17:12] minidlna.c:153: warn: received signal 15, good-bye
    [2017/07/20 20:17:13] minidlna.c:1004: warn: Starting MiniDLNA version 1.1.2.
    [2017/07/20 20:17:13] minidlna.c:1043: warn: HTTP listening on port 8200
    [2017/07/20 20:17:13] inotify.c:198: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [1902] and I do not have permission to increase this limit. Please do so manually by writing a higher value into /proc/sys/fs/inotify/max_user_watches.
    [2017/07/20 20:22:45] upnphttp.c:1043: warn: HTTP Connection closed unexpectedly
    [2017/07/20 22:58:33] upnphttp.c:1212: error: send(res_buf): 29200 bytes sent (out of 116881)
    [2017/07/20 23:24:36] upnphttp.c:1043: warn: HTTP Connection closed unexpectedly
    [2017/07/21 16:03:37] minidlna.c:153: warn: received signal 15, good-bye
    [2017/07/21 16:03:38] minidlna.c:1004: warn: Starting MiniDLNA version 1.1.2.
    [2017/07/21 16:03:38] minidlna.c:1043: warn: HTTP listening on port 8200
    [2017/07/21 16:03:38] inotify.c:198: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [1902] and I do not have permission to increase this limit. Please do so manually by writing a higher value into /proc/sys/fs/inotify/max_user_watches.
    [2017/07/21 16:18:08] upnphttp.c:1003: warn: /favicon.ico not found, responding ERROR 404
    [2017/07/21 16:52:31] minidlna.c:153: warn: received signal 15, good-bye
    [2017/07/21 16:52:46] minidlna.c:1004: warn: Starting MiniDLNA version 1.1.2.
    [2017/07/21 16:52:46] minidlna.c:1043: warn: HTTP listening on port 8200
    [2017/07/21 16:53:14] inotify.c:198: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [1902] and I do not have permission to increase this limit. Please do so manually by writing a higher value into /proc/sys/fs/inotify/max_user_watches.
    [2017/07/21 18:37:03] upnpsoap.c:1897: warn: SoapMethod: Unknown: AddPortMapping
    [2017/07/21 18:37:03] upnpsoap.c:1945: warn: Returning UPnPError 401: Invalid Action
    [2017/07/21 18:37:22] upnpsoap.c:1897: warn: SoapMethod: Unknown: DeletePortMapping
    [2017/07/21 18:37:22] upnpsoap.c:1945: warn: Returning UPnPError 401: Invalid Action
    [2017/07/21 18:37:22] upnpsoap.c:1897: warn: SoapMethod: Unknown: GetGenericPortMappingEntry
    [2017/07/21 18:37:22] upnpsoap.c:1945: warn: Returning UPnPError 401: Invalid Action
    [2017/07/21 18:37:34] upnpsoap.c:1897: warn: SoapMethod: Unknown: AddPortMapping
    [2017/07/21 18:37:34] upnpsoap.c:1945: warn: Returning UPnPError 401: Invalid Action
    [2017/07/21 18:37:37] upnpsoap.c:1897: warn: SoapMethod: Unknown: GetGenericPortMappingEntry
    [2017/07/21 18:37:37] upnpsoap.c:1945: warn: Returning UPnPError 401: Invalid Action
    [2017/07/21 18:37:46] upnpsoap.c:1897: warn: SoapMethod: Unknown: DeletePortMapping
    [2017/07/21 18:37:46] upnpsoap.c:1945: warn: Returning UPnPError 401: Invalid Action
    [2017/07/21 18:39:02] upnpsoap.c:1897: warn: SoapMethod: Unknown: AddPortMapping
    [2017/07/21 18:39:02] upnpsoap.c:1945: warn: Returning UPnPError 401: Invalid Action
    [2017/07/21 18:43:41] upnpsoap.c:1897: warn: SoapMethod: Unknown: GetGenericPortMappingEntry
    [2017/07/21 18:43:41] upnpsoap.c:1945: warn: Returning UPnPError 401: Invalid Action
    [2017/07/21 18:43:41] upnpsoap.c:1897: warn: SoapMethod: Unknown: DeletePortMapping
    [2017/07/21 18:43:41] upnpsoap.c:1945: warn: Returning UPnPError 401: Invalid Action
    [2017/07/21 19:16:17] minidlna.c:153: warn: received signal 15, good-bye
    [2017/07/21 19:16:26] minidlna.c:1004: warn: Starting MiniDLNA version 1.1.2.
    [2017/07/21 19:16:26] minidlna.c:1043: warn: HTTP listening on port 8200
    [2017/07/21 19:16:39] inotify.c:198: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [1902] and I do not have permission to increase this limit. Please do so manually by writing a higher value into /proc/sys/fs/inotify/max_user_watches.
    [2017/07/21 19:20:07] minidlna.c:153: warn: received signal 15, good-bye
    [2017/07/21 19:20:16] minidlna.c:1004: warn: Starting MiniDLNA version 1.1.2.
    [2017/07/21 19:20:17] minidlna.c:1043: warn: HTTP listening on port 8200
    [2017/07/21 19:20:30] inotify.c:198: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [1902] and I do not have permission to increase this limit. Please do so manually by writing a higher value into /proc/sys/fs/inotify/max_user_watches.
    [2017/07/21 20:00:29] minidlna.c:153: warn: received signal 15, good-bye
    [2017/07/21 20:00:40] minidlna.c:1004: warn: Starting MiniDLNA version 1.1.2.
    [2017/07/21 20:00:40] minidlna.c:1043: warn: HTTP listening on port 8200
    [2017/07/21 20:01:20] inotify.c:198: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [1902] and I do not have permission to increase this limit. Please do so manually by writing a higher value into /proc/sys/fs/inotify/max_user_watches.
    [2017/07/21 20:09:55] upnphttp.c:1003: warn: /favicon.ico not found, responding ERROR 404
    [2017/07/21 20:12:04] upnphttp.c:1043: warn: HTTP Connection closed unexpectedly
    [2017/07/21 20:12:06] upnphttp.c:1043: warn: HTTP Connection closed unexpectedly
    [2017/07/21 22:17:40] minidlna.c:153: warn: received signal 15, good-bye
    [2017/07/21 22:18:03] minidlna.c:1004: warn: Starting MiniDLNA version 1.1.2.
    [2017/07/21 22:18:03] minidlna.c:1043: warn: HTTP listening on port 8200
    [2017/07/21 22:18:16] inotify.c:198: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [1902] and I do not have permission to increase this limit. Please do so manually by writing a higher value into /proc/sys/fs/inotify/max_user_watches.
    [2017/07/22 12:46:43] upnphttp.c:1925: warn: Specified range was invalid!
    [2017/07/22 12:46:43] upnphttp.c:1925: warn: Specified range was invalid!
    [2017/07/22 20:48:25] upnphttp.c:1003: warn: /favicon.ico not found, responding ERROR 404

    Würd mich freuen wenn das jemand liest und mir helfen kann.

  • Guck mal da:
    http://www.monodevelop.com/documentation/…-watches-limit/

    Spoiler anzeigen

    When available, MonoDevelop uses Inotify to keep track of changes in files. In some systems, the maximum number of allowed watch handles may be too low, and may prevent MonoDevelop to work properly.
    To avoid this situation, MonoDevelop will switch to managed file watching if the watches limit is lower than 9000. Managed file watching is less efficient than Inotify based file watching, so it is highly recommended to adjust the Inotify configuration and increase the watches limit. The default is 8192. 16384 is good, 32768 is probably more than enough.
    To change the limit, run:
    # echo 16384 > /proc/sys/fs/inotify/max_user_watches
    To make the change permanent, edit the file /etc/sysctl.conf and add this line to the end of the file:
    fs.inotify.max_user_watches=16384

  • Danke dir fred0815, wenn ich den Wert auf 16384 erhöhe kommt noch immer die selbe Fehlermeldung. Aber kann man diesen Wert zum Beispiel auch auf 100000 erhöhen ohne große Performance Probleme zu bekommen? Für was genau steht der Wert eigentlich?

  • Lange hats gedauert aber nun scheint er endlich stabil zu laufen mein Media-Server. Hab zwischendurch mal kurz Kodi verwendet, war aber nicht zufrieden, da ich meine vorliegende Ordnerstruktur 1:1 beibehalten wollte. Hab also nochmal alles neu aufgesetzt, MiniDLNA installiert und meine Externe Festplatte gemountet. Aber was führte nun letztendlich zu meinen ständigen Verbindungsabbrüchen unter Raspbian Jessie? Es war mein WLAN- Repeater (AVM) der sich anscheinend nicht mit dem Speedport- Router verstand. Hab ihn einfach ausgesteckt, da die Signalstärke auch ohne noch ausreichend ist.
    Hier noch ein paar Links die mir weitergeholfen haben. Momentan läuft aber nur MiniDLNA ohne irgendwelche Scripts. Evtl. versuche ich noch den RPi3 als Access Point zu verwenden um das ganze ohne Speedport zu verwirklichen.

    RPi als Access Point: https://frillip.com/using-your-ras…t-with-hostapd/

    Stabiler 24/7 Dauerbetrieb: https://www.datenreise.de/raspberry-pi-s…7-dauerbetrieb/

    WLAN- Verbindung automatisch wiederherstellen: http://alexba.in/blog/2015/01/1…-a-raspberrypi/

    MiniDLNA installieren und einrichten: http://www.gehaxelt.in/blog/raspberry…na-mediaserver/

    Externe Datenspeicher einbinden: https://skeleter.wordpress.com/2014/04/06/ras…cher-einbinden/

    Script- Dateien ausführbar machen: https://www.elektronik-kompendium.de/sites/raspberry-pi/2006091.htm

    Vielleicht hilft es ja dem einen oder anderen. Allen die mir geholfen haben, ein großes Dankeschön. Bis zum nächsten mal :)

    Einmal editiert, zuletzt von pete_gillerson (28. Juli 2017 um 22:31)

Jetzt mitmachen!

Du hast noch kein Benutzerkonto auf unserer Seite? Registriere dich kostenlos und nimm an unserer Community teil!