Page 1 of 2
SOLVED: DLNA Server Won't Start
Posted: Fri Dec 27, 2013 10:02 pm
by johnnc
Hey All,
I am a complete newcomer to Linux and Amahi. I just installed Fedora 19 and Amahi 7 via the Express Disc and I purchased the DLNA app. I installed the app but the DLNA server won't start. So I used PUTTY to connect to the server. Here are the commands I have run so far:
Response
Code: Select all
-bash: /etc/minidlna.conf: Permission denied
Response
Code: Select all
-bash: /var/log/minidlna.log: No such file or directory
Response
Code: Select all
Redirecting to /bin/systemctl start amahi-dlna.service
Failed to issue method call: Access denied
Response
Code: Select all
minidlna.service - MiniDLNA is a DLNA/UPnP-AV server software
Loaded: loaded (/usr/lib/systemd/system/minidlna.service; enabled)
Active: failed (Result: exit-code) since Fri 2013-12-27 21:00:06 PST; 48s ago
Process: 2745 ExecStart=/usr/sbin/minidlnad -S (code=exited, status=127)
Dec 27 21:00:06 guest1-HP systemd[1]: Starting MiniDLNA is a DLNA/UPnP-AV s.....
Dec 27 21:00:06 guest1-HP systemd[1]: Started MiniDLNA is a DLNA/UPnP-AV se...e.
Dec 27 21:00:06 guest1-HP systemd[1]: minidlna.service: main process exited.../a
Dec 27 21:00:06 guest1-HP systemd[1]: Unit minidlna.service entered failed ...e.
I cannot turn off DHCP on my router but I can limit the number of addresses to 1. I restarted all my clients and they are receiving addresses from the server.
I have uninstalled and reinstalled DLNA, RPM Free and RPM Not Free numerous times.
What am I doing wrong?
Thanks in advance for any assistance.
John
Re: DLNA Server Won't Start
Posted: Sat Dec 28, 2013 3:28 am
by uels
Hi,
I have the exact the same problem. Installed with Express Disc yesterday, purchased/installed DLNA app but the service won’t start.
Code: Select all
Dec 28 11:19:36 localhost systemd[1]: Starting MiniDLNA is a DLNA/UPnP-AV server software...
Dec 28 11:19:36 localhost systemd[1]: Started MiniDLNA is a DLNA/UPnP-AV server software.
Dec 28 11:19:36 localhost systemd[1]: minidlna.service: main process exited, code=exited, status=127/n/a
Dec 28 11:19:36 localhost systemd[1]: Unit minidlna.service entered failed state.
Re: DLNA Server Won't Start
Posted: Sat Dec 28, 2013 8:42 am
by bigfoot65
Ensure you are running all commands as root. I need to see the full status message, please do this again and report back what is displays:
johnnc: Most of the commands you have attempted are not valid. If you are following guidance in the wiki, they may be for a different Amahi version/OS. If it does not say Amahi 7, it's probably not.
EDIT: Also please check the amahi-app-installer.log in /var/log for errors with DLNA.
Re: DLNA Server Won't Start
Posted: Sat Dec 28, 2013 9:12 am
by uels
Thanks for the reply! Here's the output
systemctl status minidlna.service
Code: Select all
[root@localhost /]# systemctl status minidlna.service
minidlna.service - MiniDLNA is a DLNA/UPnP-AV server software
Loaded: loaded (/usr/lib/systemd/system/minidlna.service; enabled)
Active: failed (Result: exit-code) since Sa 2013-12-28 17:03:36 CET; 31s ago
Process: 16390 ExecStart=/usr/sbin/minidlnad -S (code=exited, status=127)
Dez 28 17:03:36 localhost.localdomain systemd[1]: Starting MiniDLNA is a DLNA/UPnP-AV server software...
Dez 28 17:03:36 localhost.localdomain systemd[1]: Started MiniDLNA is a DLNA/UPnP-AV server software.
Dez 28 17:03:36 localhost.localdomain systemd[1]: minidlna.service: main process exited, code=exited, status=127/n/a
Dez 28 17:03:36 localhost.localdomain systemd[1]: Unit minidlna.service entered failed state.
and the installer.log
Code: Select all
======= app install begin @ 2013-12-27 20:40:46 +0100 ==========
Installing app id ogiaus92x5 under /var/hda/platform/html ENV=production
Your HDA services have been restarted.
Your HDA services have been restarted.
Configuring Amahi settings
Reloading systemctl daemon
Enabling minidlna.service
ln -s '/usr/lib/systemd/system/minidlna.service' '/etc/systemd/system/multi-user.target.wants/minidlna.service'
Starting minidlna.service
App: DLNA installed
======= app install end @ 2013-12-27 20:44:36 +0100 ==========
Re: DLNA Server Won't Start
Posted: Sat Dec 28, 2013 9:16 am
by bigfoot65
OK, all looks normal except the failure to start for minidlna. Have you applied OS updates?
Also please do this as root user and list the output:
Re: DLNA Server Won't Start
Posted: Sat Dec 28, 2013 9:23 am
by uels
Hi again,
no updates so far.
Code: Select all
[root@localhost log]# yum list plexmediaserver
Geladene Plugins: fastestmirror
Loading mirror speeds from cached hostfile
* fedora: ftp-stud.hs-esslingen.de
* rpmfusion-free: ftp-stud.hs-esslingen.de
* rpmfusion-free-updates: ftp-stud.hs-esslingen.de
* rpmfusion-nonfree: ftp-stud.hs-esslingen.de
* rpmfusion-nonfree-updates: ftp-stud.hs-esslingen.de
* updates: ftp.uni-koeln.de
Installierte Pakete
plexmediaserver.x86_64 0.9.8.14.263-139ddbc @amahi
Verfügbare Pakete
plexmediaserver.i386 0.9.8.14.263-139ddbc amahi
Re: DLNA Server Won't Start
Posted: Sat Dec 28, 2013 9:27 am
by bigfoot65
I cannot tell from the output, but does it say available or installed? Also might consider doing OS updates as there are security issues that get fixed by the OS.
Re: DLNA Server Won't Start
Posted: Sat Dec 28, 2013 9:34 am
by uels
Installed packages(Installierte Pakete):
Code: Select all
plexmediaserver.x86_64 0.9.8.14.263-139ddbc @amahi
Available packages(Verfügbare Pakete):
Code: Select all
plexmediaserver.i386 0.9.8.14.263-139ddbc amahi
I just started updating with
Re: DLNA Server Won't Start
Posted: Sat Dec 28, 2013 9:41 am
by bigfoot65
Ok, that is likely the issue then. You will need to uninstall DLNA. Then as root user do:
Code: Select all
yum remove plexmediaserver
yum list plexmediaserver
Ensure it is listed as not installed, then reinstall DLNA and it should work. I presume you did not install Plex Media Server on your own.
Re: DLNA Server Won't Start
Posted: Sat Dec 28, 2013 10:13 am
by uels
Still the same problem...
Followed your instructions and removed DLNA(dashboard) and then plexmediaserver. It’s not listed as installed by yum. Then I reinstalled DLNA but it still won’t start…
Output from
systemctl status minidlna.service is still the same:
Code: Select all
[root@localhost /]# systemctl status minidlna.service
minidlna.service - MiniDLNA is a DLNA/UPnP-AV server software
Loaded: loaded (/usr/lib/systemd/system/minidlna.service; enabled)
Active: failed (Result: exit-code) since Sa 2013-12-28 18:01:15 CET; 32s ago
Process: 27403 ExecStart=/usr/sbin/minidlnad -S (code=exited, status=127)
Dez 28 18:01:15 localhost.localdomain systemd[1]: Starting MiniDLNA is a DLNA/UPnP-AV server software...
Dez 28 18:01:15 localhost.localdomain systemd[1]: Started MiniDLNA is a DLNA/UPnP-AV server software.
Dez 28 18:01:15 localhost.localdomain systemd[1]: minidlna.service: main process exited, code=exited, status=127/n/a
Dez 28 18:01:15 localhost.localdomain systemd[1]: Unit minidlna.service entered failed state.
uninstall + installation from
/var/log/amahi-app-installer.log
Code: Select all
======= app uninstall begin @ 2013-12-28 17:47:13 +0100 ==========
Uninstalling app id ogiaus92x5 under /var/hda/platform/html ENV=production
Removing Amahi settings
Stopping minidlna.service
Disabling minidlna.service
rm '/etc/systemd/system/multi-user.target.wants/minidlna.service'
Reloading systemctl daemon
Done!
Your HDA services have been restarted.
App: DLNA uninstalled
======= app uninstall end @ 2013-12-28 17:47:15 +0100 ==========
======= app install begin @ 2013-12-28 17:52:01 +0100 ==========
Installing app id ogiaus92x5 under /var/hda/platform/html ENV=production
Your HDA services have been restarted.
Your HDA services have been restarted.
Configuring Amahi settings
Reloading systemctl daemon
Enabling minidlna.service
ln -s '/usr/lib/systemd/system/minidlna.service' '/etc/systemd/system/multi-user.target.wants/minidlna.service'
Starting minidlna.service
App: DLNA installed
======= app install end @ 2013-12-28 17:53:38 +0100 ==========