minidlna
Ash Wyllie
ashwmls at gmail.com
Wed Mar 27 00:25:10 UTC 2013
On Tue, 2013-03-26 at 15:55 -0400, Sarunas Burdulis wrote:
> -----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 ]
>
Thanks for the help.
It seems that the version installed on my system (it seems to be the
current one) has a problem when enable_tivo is set to yes.
--
-ash
Elect Cthulhu
Vote the greatest evil
More information about the ubuntu-users
mailing list