Changes

From Amahi Wiki
Jump to: navigation, search
2,009 bytes added ,  19:02, 13 August 2013
m
</blockquote>
==== DLNA Not Running After Boot-Up ====
 
This problem may occur on "some" systems after Amahi 7 starts ( see Amahi Dashboard: Setup > Settings > Servers).
 
* As a "root" user start a "Terminal Session", at the command-line enter:
 
<blockquote>{{Code|systemctl status minidlna.service}}
</blockquote>
 
<blockquote>Response:
{{Text|Text=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 Sat 2013-08-10 08:46:45 MDT; 16min ago
Process: 527 ExecStart=/usr/sbin/minidlna -f /etc/minidlna.conf -P /var/run/minidlna/minidlna.pid (code=exited,
status=255)}}
</blockquote>
 
* Also somewhere in the "messages" log reveals:
 
<blockquote>{{Text|Text=Aug 10 09:20:28 localhost minidlna[526]: [2013/08/10 09:20:28] minidlna.c:753: fatal: No IP address automatically detected!}}
</blockquote>
 
* What does all this mean? When DLNA starts it automatically expects to retrieve the Amahi servers' IP address. DLNA could not get the address as the network services on the server had not yet completed start-up and configuration.
 
* A "systemctl" command can be entered based on the following description:
 
Enable NetworkManager Wait Online
If you have services which fail if they are started before the network is up, you have to use
NetworkManager-wait-online.service in addition to the NetworkManager service. This is however
hardly ever necessary since most network daemons start up fine, even if the network has not been
configured yet.
 
* To enable NetworkManager Wait Online at startup with the following command:
 
<blockquote>{{Code|systemctl enable NetworkManager-wait-online}}
</blockquote>
 
* Enter the following to ensure that DLNA is enabled to start at each system boot:
 
<blockquote>{{Code|systemctl enable minidlna.service}}
</blockquote>
 
* If this was the problem encountered, on the next system boot DLNA should be running.
 
==== Other Stuff ====
* If you installed too early, uninstall DLNA, uninstall RPM Fusion (Non-free) and RPM Fusion, in that order, refreshing each time the available apps page in your HDA.