Permission denied problem with minidlna
Hello world, I want to set up a dlna server with minidlna on F25 but I get "not accessible [Permission denied]" error, actually no logs in "/var/log/minidlna",this is the full message of "systemct status minidlna":
[root@server ~]# systemctl status minidlna
● minidlna.service - MiniDLNA is a DLNA/UPnP-AV server software
Loaded: loaded (/usr/lib/systemd/system/minidlna.service; enabled; vendor preset: disabled)
Active: active (running) since mar 2017-01-03 10:50:11 PET; 5s ago
Main PID: 15637 (minidlnad)
Tasks: 2 (limit: 512)
CGroup: /system.slice/minidlna.service
└─15637 /usr/sbin/minidlnad -S
ene 03 10:50:11 server.alexove.me systemd[1]: Started MiniDLNA is a DLNA/UPnP-AV server software.
ene 03 10:50:11 server.alexove.me minidlnad[15637]: [2017/01/03 10:50:11] minidlna.c:614: error: Media directory "A,/media/datadisk/Music/alexove" not accessible [Permission denied]
ene 03 10:50:11 server.alexove.me minidlnad[15637]: minidlna.c:1030: warn: Starting MiniDLNA version 1.1.5.
ene 03 10:50:11 server.alexove.me minidlnad[15637]: minidlna.c:1070: warn: HTTP listening on port 8200
ene 03 10:50:11 server.alexove.me minidlnad[15637]: inotify.c:198: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [0] and I do no
ene 03 10:50:11 server.alexove.me minidlnad[15637]: upnpsoap.c:1997: warn: SoapMethod: Unknown: GetSortExtensionCapabilities
ene 03 10:50:11 server.alexove.me minidlnad[15637]: upnpsoap.c:123: warn: Returning UPnPError 401: Invalid Action
ene 03 10:50:11 server.alexove.me minidlnad[15637]: upnpsoap.c:1997: warn: SoapMethod: Unknown: GetFeatureList
ene 03 10:50:11 server.alexove.me minidlnad[15637]: upnpsoap.c:123: warn: Returning UPnPError 401: Invalid Action
This is my minidlna.conf file:
port=8200
user=root
media_dir=A,/media/datadisk/Music/alexove
friendly_name=alexove DLNA Server
album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg/Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg
inotify=yes
enable_tivo=no
strict_dlna=no
notify_interval=900
serial=12345678
model_number=1
Please, can anyone help me? or recomend another dnla server?
Is the directory
/media/datadisk/Music/alexove
existent and accessible by root? Maybeselinux
is preventing your server from starting? Check withgetsebol
.Hello thomaswood the path exists and is accesible by root, I check the selinux booleans and I get:
You could try to disable
selinux
in/etc/selinux/config
by settingSELINUX=disabled
. After that you need to reboot. I am not sure if you can disableselinux
on the fly withsetsebool
. If you need the security ofselinux
, you also might want to configureselinux
accordingly to runminidnla
.