minidlna
Sarunas Burdulis
sarunas at math.dartmouth.edu
Tue Mar 26 19:55:07 UTC 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 03/26/2013 02:52 PM, Ash Wyllie wrote:
> My TV says it is a dlna client, so I want to set up my Ubuntu desktop as
> a dlna server using minidlna. So far it isn't working.
If you installed it as an Ubuntu package, it should have attempted to
start the service with all the proper privileges/permissions. You can
check for minidlna process and ports it's listening, for example:
$ ps aux|grep dlna
$ sudo netstat -tupln
You may have to open your desktop's firewall, if any, for connections to
corresponding ports.
> Here is the output from Terminal:
>
> ashw at ashw-desktop:~$ minidlna --d
> [2013/03/26 14:38:29] minidlna.c:745: error: Unknown option: --d
> ashw at ashw-desktop:~$ minidlna -d
> [2013/03/26 14:38:38] daemonize.c:101: error: Unable to open pidfile for
> writing /var/run/minidlna.pid: Permission denied
> [2013/03/26 14:38:38] minidlna.c:881: warn: Starting ReadyDLNA version
> 1.0.25.
> [2013/03/26 14:38:38] utils.c:260: warn: make_dir: cannot create
> directory '/var/cache/minidlna'
> [2013/03/26 14:38:38] minidlna.c:318: fatal: ERROR: Failed to open
> sqlite database! Exiting...
>
> I understand the why of permissions, but not the how of to change them.
> Or even in this case where to change permissions.
If you want to start minidlna directly from the command line for test
purposes, you should do it as a superuser:
$ sudo minidlna -d
Currently the Ubuntu-way (i.e. using Upstart) would be to use
$ sudo service minidlna [ start | stop | restart ]
- --
Sarunas Burdulis
http://math.dartmouth.edu/~sarunas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/
iEYEARECAAYFAlFR/RsACgkQejaFVltl6E+asgCeIUrT3BIdmosScTNIR6qsu+2O
yfcAn3QG2QCbng3ktysrELXQbt4CQhPH
=V5N4
-----END PGP SIGNATURE-----
More information about the ubuntu-users
mailing list