Na na - so schnell schon Aufgeben? 😉 Zeige doch mal
sudo service minidlna status
sowie
cat /var/log/minidlna.log
sowie ein Screenshot vom Browser wenn du
http://localhost:8200/
eingegeben hast.
Anmeldungsdatum: Beiträge: 19611 Wohnort: Schleswig-Holstein |
Na na - so schnell schon Aufgeben? 😉 Zeige doch mal sudo service minidlna status sowie cat /var/log/minidlna.log sowie ein Screenshot vom Browser wenn du http://localhost:8200/ eingegeben hast. |
||
Anmeldungsdatum: Beiträge: 23336 |
Kann mich Dakuan nur anschließen, wurde das Laufwerk korrekt in die fstab eingetragen? |
||
Anmeldungsdatum: Beiträge: 12067 |
Hallo! Zeig uns doch mal die Ausgabe von
Und falls du etwas geändert hast, natürlich die aktuelle config des minidlndad. |
||
(Themenstarter)
Anmeldungsdatum: Beiträge: Zähle... |
Danke für das Interesse. [Status] ● minidlna.service - LSB: minidlna server Loaded: loaded (/etc/init.d/minidlna; generated; vendor preset: enabled) Active: active (running) since Fri 2018-01-05 19:03:33 CET; 48s ago Docs: man:systemd-sysv-generator(8) Process: 10962 ExecStop=/etc/init.d/minidlna stop (code=exited, status=0/SUCCESS) Process: 10971 ExecStart=/etc/init.d/minidlna start (code=exited, status=0/SUCCESS) Tasks: 2 (limit: 4915) CGroup: /system.slice/minidlna.service └─10983 /usr/sbin/minidlnad -f /etc/minidlna.conf -P /run/minidlna/minidlna.pid -r Jän 05 19:03:33 Linux-17 systemd[1]: Starting LSB: minidlna server... Jän 05 19:03:33 Linux-17 minidlna[10971]: [2018/01/05 19:03:33] minidlna.c:618: error: Media directory "V,/media/karlo/alte40er/Medias" not accessible [Permission denied] Jän 05 19:03:33 Linux-17 systemd[1]: Started LSB: minidlna server. [minidlna.log] [2018/01/05 19:32:41] minidlna.c:155: warn: received signal 15, good-bye [2018/01/05 19:32:42] minidlna.c:1047: warn: Starting MiniDLNA version 1.2.0. [2018/01/05 19:32:42] minidlna.c:1087: warn: HTTP listening on port 8200 [2018/01/05 19:36:34] minidlna.c:155: warn: received signal 15, good-bye [2018/01/05 19:36:35] minidlna.c:1047: warn: Starting MiniDLNA version 1.2.0. [2018/01/05 19:36:35] minidlna.c:1087: warn: HTTP listening on port 8200 [mount] sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,nosuid,relatime,size=3026028k,nr_inodes=756507,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=610608k,mode=755) /dev/mapper/ubuntu--vg-root on / type ext4 (rw,relatime,errors=remount-ro,data=ordered) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755) cgroup on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime) cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd) pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct) cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio) cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory) cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event) cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma) cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids) cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb) cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio) cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=38,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1649) debugfs on /sys/kernel/debug type debugfs (rw,relatime) hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M) mqueue on /dev/mqueue type mqueue (rw,relatime) configfs on /sys/kernel/config type configfs (rw,relatime) fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime) tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=610608k,mode=700,uid=1000,gid=1000) gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000) /dev/sda1 on /media/karlo/alte40er type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime) [fstab] # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> /dev/mapper/ubuntu--vg-root / ext4 errors=remount-ro 0 1 /dev/mapper/ubuntu--vg-swap_1 none swap sw 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0 [grep mini /etc/group /etc/passwd] /etc/group:karlo:x:1000:minidlna /etc/group:minidlna:x:129: /etc/passwd:minidlna:x:122:129:MiniDLNA server,,,:/var/lib/minidlna:/bin/false [minidlna.conf] # This is the configuration file for the MiniDLNA daemon, a DLNA/UPnP-AV media # server. # # Unless otherwise noted, the commented out options show their default value. # # On Debian, you can also refer to the minidlna.conf(5) man page for # documentation about this file. # Specify the user name or uid to run as (root by default). # On Debian system command line option (from /etc/default/minidlna) overrides this. #user=minidlna # Path to the directory you want scanned for media files. # # This option can be specified more than once if you want multiple directories # scanned. # # If you want to restrict a media_dir to a specific content type, you can # prepend the directory name with a letter representing the type (A, P or V), # followed by a comma, as so: # * "A" for audio (eg. media_dir=A,/var/lib/minidlna/music) # * "P" for pictures (eg. media_dir=P,/var/lib/minidlna/pictures) # * "V" for video (eg. media_dir=V,/var/lib/minidlna/videos) # * "PV" for pictures and video (eg. media_dir=PV,/var/lib/minidlna/digital_camera) media_dir=/var/lib/minidlna #media_dir=/var/cache/minidlna # Set this to merge all media_dir base contents into the root container # (The default is no.) #merge_media_dirs=no # Path to the directory that should hold the database and album art cache. #db_dir=/var/cache/minidlna # Path to the directory that should hold the log file. #log_dir=/var/log # Type and minimum level of importance of messages to be logged. # # The types are "artwork", "database", "general", "http", "inotify", # "metadata", "scanner", "ssdp" and "tivo". # # The levels are "off", "fatal", "error", "warn", "info" or "debug". # "off" turns of logging entirely, "fatal" is the highest level of importance # and "debug" the lowest. # # The types are comma-separated, followed by an equal sign ("="), followed by a # level that applies to the preceding types. This can be repeated, separating # each of these constructs with a comma. # # The default is to log all types of messages at the "warn" level. #log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn # Use a different container as the root of the directory tree presented to # clients. The possible values are: # * "." - standard container # * "B" - "Browse Directory" # * "M" - "Music" # * "P" - "Pictures" # * "V" - "Video" # * Or, you can specify the ObjectID of your desired root container # (eg. 1$F for Music/Playlists) # If you specify "B" and the client device is audio-only then "Music/Folders" # will be used as root. #root_container=. #media_dir=V,/media/karlo/Seag_2T media_dir=V,/media/karlo/alte40er/Medias #media_dir=V,/home/karlo/Videos #/Medien # Network interface(s) to bind to (e.g. eth0), comma delimited. # This option can be specified more than once. network_interface=enp4s0 # Port number for HTTP traffic (descriptions, SOAP, media transfer). # This option is mandatory (or it must be specified on the command-line using # "-p"). port=8200 # URL presented to clients (e.g. http://example.com:80). #presentation_url=/ # Name that the DLNA server presents to clients. # Defaults to "hostname: username". friendly_name=MyDLNA # Serial number the server reports to clients. # Defaults to the MAC address of nework interface. #serial= # Model name the server reports to clients. #model_name=Windows Media Connect compatible (MiniDLNA) # Model number the server reports to clients. # Defaults to the version number of minidlna. #model_number= # Automatic discovery of new files in the media_dir directory. inotify=yes # List of file names to look for when searching for album art. # Names should be delimited with a forward slash ("/"). # This option can be specified more than once. album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg album_art_names=AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg album_art_names=Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg # Strictly adhere to DLNA standards. # This allows server-side downscaling of very large JPEG images, which may # decrease JPEG serving performance on (at least) Sony DLNA products. #strict_dlna=no # Support for streaming .jpg and .mp3 files to a TiVo supporting HMO. #enable_tivo=no # Which method to use for registering in TiVo: 'bonjour' (default) or # legacy 'beacon' #tivo_discovery=bonjour # SSDP notify interval, in seconds. #notify_interval=895 # Path to the MiniSSDPd socket, for MiniSSDPd support. #minissdpdsocket=/run/minissdpd.sock # Always set SortCriteria to this value, regardless of the SortCriteria # passed by the client # e.g. force_sort_criteria=+upnp:class,+upnp:originalTrackNumber,+dc:title #force_sort_criteria= # maximum number of simultaneous connections # note: many clients open several simultaneous connections while streaming #max_connections=50 # set this to yes to allow symlinks that point outside user-defined media_dirs. #wide_links=no habe zum Testen eine alte 40er Platte eingebaut und der User ist geändert auf karlo. Die fstab habe ich auch in den Codeblock gelegt. VG Charly |
||
Anmeldungsdatum: Beiträge: 19611 Wohnort: Schleswig-Holstein |
Falscher post |
||
Anmeldungsdatum: Beiträge: 19611 Wohnort: Schleswig-Holstein |
Ändere den eintrag in der /etc/minidlna.conf auf /media/karlo/alte40er dann neu einlesen. P.s. Musste korrigieren ☺ |
||
(Themenstarter)
Anmeldungsdatum: Beiträge: 21 |
Hat sich nichts geändert. |
||
Anmeldungsdatum: Beiträge: 19611 Wohnort: Schleswig-Holstein |
Zeige bitte wieder die cat /var/log/minidlna.log |
||
(Themenstarter)
Anmeldungsdatum: Beiträge: 21 |
[2018/01/05 20:35:32] minidlna.c:155: warn: received signal 15, good-bye [2018/01/05 20:35:33] minidlna.c:1047: warn: Starting MiniDLNA version 1.2.0. [2018/01/05 20:35:33] minidlna.c:1087: warn: HTTP listening on port 8200 [2018/01/05 20:46:09] minidlna.c:155: warn: received signal 15, good-bye [2018/01/05 20:46:10] minidlna.c:1047: warn: Starting MiniDLNA version 1.2.0. [2018/01/05 20:46:10] minidlna.c:1087: warn: HTTP listening on port 8200 |
||
Anmeldungsdatum: Beiträge: 19611 Wohnort: Schleswig-Holstein |
In der Log ist ja nichts enthalten 😮 Zeige nochmal die conf cat /etc/minidlna.conf |
||
(Themenstarter)
Anmeldungsdatum: Beiträge: 21 |
Die letzten 3 Zeilen sind bei der Log dazu gekommen (20:46). # This is the configuration file for the MiniDLNA daemon, a DLNA/UPnP-AV media # server. # # Unless otherwise noted, the commented out options show their default value. # # On Debian, you can also refer to the minidlna.conf(5) man page for # documentation about this file. # Specify the user name or uid to run as (root by default). # On Debian system command line option (from /etc/default/minidlna) overrides this. #user=minidlna # Path to the directory you want scanned for media files. # # This option can be specified more than once if you want multiple directories # scanned. # # If you want to restrict a media_dir to a specific content type, you can # prepend the directory name with a letter representing the type (A, P or V), # followed by a comma, as so: # * "A" for audio (eg. media_dir=A,/var/lib/minidlna/music) # * "P" for pictures (eg. media_dir=P,/var/lib/minidlna/pictures) # * "V" for video (eg. media_dir=V,/var/lib/minidlna/videos) # * "PV" for pictures and video (eg. media_dir=PV,/var/lib/minidlna/digital_camera) media_dir=/var/lib/minidlna #media_dir=/var/cache/minidlna # Set this to merge all media_dir base contents into the root container # (The default is no.) #merge_media_dirs=no # Path to the directory that should hold the database and album art cache. #db_dir=/var/cache/minidlna # Path to the directory that should hold the log file. #log_dir=/var/log # Type and minimum level of importance of messages to be logged. # # The types are "artwork", "database", "general", "http", "inotify", # "metadata", "scanner", "ssdp" and "tivo". # # The levels are "off", "fatal", "error", "warn", "info" or "debug". # "off" turns of logging entirely, "fatal" is the highest level of importance # and "debug" the lowest. # # The types are comma-separated, followed by an equal sign ("="), followed by a # level that applies to the preceding types. This can be repeated, separating # each of these constructs with a comma. # # The default is to log all types of messages at the "warn" level. #log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn # Use a different container as the root of the directory tree presented to # clients. The possible values are: # * "." - standard container # * "B" - "Browse Directory" # * "M" - "Music" # * "P" - "Pictures" # * "V" - "Video" # * Or, you can specify the ObjectID of your desired root container # (eg. 1$F for Music/Playlists) # If you specify "B" and the client device is audio-only then "Music/Folders" # will be used as root. #root_container=. #media_dir=V,/media/karlo/Seag_2T media_dir=V,/media/karlo/alte40er #media_dir=V,/home/karlo/Videos #/Medien # Network interface(s) to bind to (e.g. eth0), comma delimited. # This option can be specified more than once. network_interface=enp4s0 # Port number for HTTP traffic (descriptions, SOAP, media transfer). # This option is mandatory (or it must be specified on the command-line using # "-p"). port=8200 # URL presented to clients (e.g. http://example.com:80). #presentation_url=/ # Name that the DLNA server presents to clients. # Defaults to "hostname: username". friendly_name=MyDLNA # Serial number the server reports to clients. # Defaults to the MAC address of nework interface. #serial= # Model name the server reports to clients. #model_name=Windows Media Connect compatible (MiniDLNA) # Model number the server reports to clients. # Defaults to the version number of minidlna. #model_number= # Automatic discovery of new files in the media_dir directory. inotify=yes # List of file names to look for when searching for album art. # Names should be delimited with a forward slash ("/"). # This option can be specified more than once. album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg album_art_names=AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg album_art_names=Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg # Strictly adhere to DLNA standards. # This allows server-side downscaling of very large JPEG images, which may # decrease JPEG serving performance on (at least) Sony DLNA products. #strict_dlna=no # Support for streaming .jpg and .mp3 files to a TiVo supporting HMO. #enable_tivo=no # Which method to use for registering in TiVo: 'bonjour' (default) or # legacy 'beacon' #tivo_discovery=bonjour # SSDP notify interval, in seconds. #notify_interval=895 # Path to the MiniSSDPd socket, for MiniSSDPd support. #minissdpdsocket=/run/minissdpd.sock # Always set SortCriteria to this value, regardless of the SortCriteria # passed by the client # e.g. force_sort_criteria=+upnp:class,+upnp:originalTrackNumber,+dc:title #force_sort_criteria= # maximum number of simultaneous connections # note: many clients open several simultaneous connections while streaming #max_connections=50 # set this to yes to allow symlinks that point outside user-defined media_dirs. #wide_links=no Ich muss jetzt für 1 h weg. |
||
Anmeldungsdatum: Beiträge: 19611 Wohnort: Schleswig-Holstein |
Habe mir erlaubt die config mal etwas zu kürzen 😉 Lösche den Inhalt der jetzigen und füge diesen Inhalt ein #user=minidlna #media_dir=/var/lib/minidlna #media_dir=/var/cache/minidlna media_dir=V,/media/karlo/alte40er #merge_media_dirs=no # Path to the directory that should hold the database and album art cache. #db_dir=/var/cache/minidlna # Path to the directory that should hold the log file. log_dir=/var/log #log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn network_interface=enp4s0 port=8200 friendly_name=MyDLNA # Serial number the server reports to clients. # Defaults to the MAC address of nework interface. serial=681019810597110 # Automatic discovery of new files in the media_dir directory. inotify=yes # List of file names to look for when searching for album art. # Names should be delimited with a forward slash ("/"). # This option can be specified more than once. album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg album_art_names=AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg album_art_names=Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg # Strictly adhere to DLNA standards. # This allows server-side downscaling of very large JPEG images, which may # decrease JPEG serving performance on (at least) Sony DLNA products. #strict_dlna=no # Support for streaming .jpg and .mp3 files to a TiVo supporting HMO. #enable_tivo=no # Which method to use for registering in TiVo: 'bonjour' (default) or # legacy 'beacon' #tivo_discovery=bonjour # SSDP notify interval, in seconds. notify_interval=495 # maximum number of simultaneous connections # note: many clients open several simultaneous connections while streaming max_connections=30 danach wieder sudo service minidlna stop sudo rm /var/cache/minidlna/files.db sudo service minidlna start sudo service minidlna rescan zeige wieder http://localhost:8200/ und falls nicht Funktioniert die log Datei cat /var/log/minidlna.log sowie ip neigh show und sudo netstat -taupen | grep mini |
||
(Themenstarter)
Anmeldungsdatum: Beiträge: 21 |
Rescan und netstat nimmt er nicht an. Siehe Codeblock. Der Fehler "favicon.ico not found" tritt auf, wenn der Ordner "Medias" vom Laufwerk alte40er die Freigabe verliert. Warum die gelegentlich verloren geht, ist mir auch ein Rätsel. [2018/01/05 22:17:25] minidlna.c:155: warn: received signal 15, good-bye [2018/01/05 22:18:24] minidlna.c:1047: warn: Starting MiniDLNA version 1.2.0. [2018/01/05 22:18:24] minidlna.c:342: warn: Creating new database at /var/cache/minidlna/files.db [2018/01/05 22:18:24] minidlna.c:1087: warn: HTTP listening on port 8200 [2018/01/05 22:18:24] playlist.c:125: warn: Parsing playlists... [2018/01/05 22:18:24] playlist.c:259: warn: Finished parsing playlists. [2018/01/05 22:24:13] minidlna.c:155: warn: received signal 15, good-bye [2018/01/05 22:24:14] minidlna.c:1047: warn: Starting MiniDLNA version 1.2.0. [2018/01/05 22:24:14] minidlna.c:1087: warn: HTTP listening on port 8200 [2018/01/05 22:24:41] minidlna.c:155: warn: received signal 15, good-bye [2018/01/05 22:24:48] minidlna.c:1047: warn: Starting MiniDLNA version 1.2.0. [2018/01/05 22:24:48] minidlna.c:1087: warn: HTTP listening on port 8200 [2018/01/05 22:25:57] upnphttp.c:1021: warn: /favicon.ico not found, responding ERROR 404 [2018/01/05 22:26:54] minidlna.c:155: warn: received signal 15, good-bye [2018/01/05 22:27:23] minidlna.c:1047: warn: Starting MiniDLNA version 1.2.0. [2018/01/05 22:27:23] minidlna.c:1087: warn: HTTP listening on port 8200 [2018/01/05 22:27:24] monitor.c:218: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [0] 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. [2018/01/05 22:27:49] upnphttp.c:1021: warn: /favicon.ico not found, responding ERROR 404 ip neigh show 192.168.1.115 dev enp4s0 lladdr 24:4b:03:ca:7d:d1 STALE 192.168.1.221 dev enp4s0 lladdr 00:6e:07:9f:e3:7b REACHABLE 192.168.1.41 dev enp4s0 lladdr e0:3f:49:81:a3:0d STALE 192.168.1.242 dev enp4s0 lladdr 88:87:17:c3:aa:f5 STALE 192.168.1.1 dev enp4s0 lladdr dc:09:4c:0c:a7:89 REACHABLE fe80::de09:4cff:fe0c:a789 dev enp4s0 lladdr dc:09:4c:0c:a7:89 router STALE karlo@Linux-17:~$ sudo netstat -taupen | grep mini [sudo] Passwort für karlo: sudo: netstat: Befehl nicht gefunden karlo@Linux-17:~$ sudo service minidlna rescan Usage: /etc/init.d/minidlna {start|stop|status|restart|force-reload|rotate} karlo@Linux-17:~$ cd /media/karlo/alte40er karlo@Linux-17:/media/karlo/alte40er$ ls -ldh drwxr-xr-x 4 karlo karlo 4,0K Jän 4 18:57 . |
||
Anmeldungsdatum: Beiträge: 19611 Wohnort: Schleswig-Holstein |
Die Verion 1.2.0 Funktioniert bei dir nicht (ist auch nicht die Offizielle für 16.04) Entferne sie sudo apt-get purge minidlna Dann Installiere die Offizielle sudo apt-get install minidlna Nehme dann die config die ich gekürzt habe und Teste.Zeige die Terminal Ausgaben der Installation. Sowie sudo netstat | grep 8200 und cat /var/log/minidlna.log |
||
Anmeldungsdatum: Beiträge: 12067 |
Bitte ebenfalls ein
Ich vermute schlicht, dass du keinen Dateizugriff erlaubst. Alternativ wäre es natürlich möglich den minidlnad mit den Nutzerrechten von karlo laufen zu lassen. |