Code: Select all
[wayne@armpi ~]$ sudo systemctl start minidlna
[sudo] password for wayne:
Job for minidlna.service failed. See 'systemctl status minidlna.service' and 'journalctl -xn' for details.
Code: Select all
minidlna.service - minidlna server
Loaded: loaded (/usr/lib/systemd/system/minidlna.service; enabled)
Active: failed (Result: exit-code) since Sun 2013-02-10 20:54:42 GMT; 3min 14s ago
Process: 443 ExecStart=/usr/sbin/minidlna -P /var/run/minidlna/minidlna.pid (code=exited, status=1/FAILURE)
Feb 10 20:54:42 armpi minidlna[443]: [-w url] [-R] [-V] [-h]
Feb 10 20:54:42 armpi minidlna[443]: Notes:
Feb 10 20:54:42 armpi minidlna[443]: Notify interval is in seconds. Default is 895 seconds.
Feb 10 20:54:42 armpi minidlna[443]: Default pid file is /var/run/minidlna/minidlna.pid.
Feb 10 20:54:42 armpi minidlna[443]: With -d minidlna will run in debug mode (not daemonize).
Feb 10 20:54:42 armpi minidlna[443]: -w sets the presentation url. Default is http address on port 80
Feb 10 20:54:42 armpi minidlna[443]: -h displays this text
Feb 10 20:54:42 armpi minidlna[443]: -R forces a full rescan
Feb 10 20:54:42 armpi minidlna[443]: -L do note create playlists
Feb 10 20:54:42 armpi minidlna[443]: -V print the version number
Feb 10 20:54:42 armpi systemd[1]: minidlna.service: control process exited, code=exited status=1
Feb 10 20:54:42 armpi systemd[1]: Failed to start minidlna server.
Feb 10 20:54:42 armpi systemd[1]: Unit minidlna.service entered failed stateCode: Select all
-- Logs begin at Thu 1970-01-01 01:00:02 BST, end at Sun 2013-02-10 20:56:49 GMT. --
Feb 10 20:54:42 armpi minidlna[443]: -V print the version number
Feb 10 20:54:42 armpi systemd[1]: minidlna.service: control process exited, code=exited status=1
Feb 10 20:54:42 armpi systemd[1]: Failed to start minidlna server.
-- Subject: Unit minidlna.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/be02cf6855d2428ba40df7e9d022f03d
--
-- Unit minidlna.service has failed.
--
-- The result is failed.
Feb 10 20:54:42 armpi systemd[1]: Unit minidlna.service entered failed state
Feb 10 20:54:42 armpi sudo[440]: pam_unix(sudo:session): session closed for user root
Feb 10 20:55:30 armpi sudo[448]: wayne : TTY=pts/0 ; PWD=/etc/ushare ; USER=root ; COMMAND=/usr/bin/journalctl -x
n
Feb 10 20:55:30 armpi sudo[448]: pam_unix(sudo:session): session opened for user root by wayne(uid=0)
Feb 10 20:56:07 armpi sudo[448]: pam_unix(sudo:session): session closed for user root
Feb 10 20:56:49 armpi sudo[452]: wayne : TTY=pts/0 ; PWD=/home/wayne ; USER=root ; COMMAND=/usr/bin/journalctl -x
n
Feb 10 20:56:49 armpi sudo[452]: pam_unix(sudo:session): session opened for user root by wayne(uid=0)
Code: Select all
media_dir=/mnt/music
friendly_name=raspberrypi
db_dir=/var/cache/minidlna
log_dir=/var/log
inotify=yes
presentation_url=http://192.168.0.125:8200ExecStart=/usr/sbin/minidlna -P /var/run/minidlna/minidlna.pid
The directory /var/run/minidlna is empty, I don't know whether there's supposed to be something there to populate the pid of the process.
The other dodgy thing I can see is PWD=/home/wayne. That was a directory I previously set as a media directory. It is no longer in the .conf file and the machine has had a reboot since having that. Nowhere have I set a password for minidlna, so I don't know where it's getting that from.
Any help on getting to the bottom of why it's not working would be greatly appreciated.