minidlna not running

This forum is for all other ARMv5 devices

minidlna not running

Postby Guest » Wed Feb 15, 2012 9:55 am

Hi,

I would try minidlna.
I followed the instructions:
http://archlinuxarm.org/support/guides/ ... s/minidlna

When I start with
$this->bbcode_second_pass_code('', '/etc/rc.d/minidlna start ')
No error messages, no log at all,
Not any error in "errors log" or "messages".

/var/run/minidlna.pid contains a pid, which "ps ax" does not show as running.

How can I trace the problem?

Regards,
Robert

My /etc/minidlna.conf is:
$this->bbcode_second_pass_code('', '
port=8200
network_interface=eth0
media_dir=V,/film
friendly_name=POGO DLNA
db_dir=/var/cache/minidlna
log_dir=/var/log
album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg/Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg
inotify=yes
enable_tivo=no
strict_dlna=no
notify_interval=900
serial=12345678
model_number=1
')
Guest
 

Re: minidlna not running

Postby pepedog » Wed Feb 15, 2012 11:13 am

Did you alter the user in /etc/conf.d/minidlna ?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: minidlna not running

Postby slycat » Wed Feb 15, 2012 4:51 pm

Invoking it through /etc/rc.d never really worked for me. Try
$this->bbcode_second_pass_code('', 'minidlna -R
# R flag rescans directory')

and all should run fine. Else i posted my minidlna.conf here: http://pastebin.com/SYMJfEBE
Make sure to edit it as you would in the instructions (directory, presentation url, etc.)

Good luck!
Pogoplug Pro w/ Wireless User -> decomm.
Cubox-i4pro User
4TB eSATA HDD (8g/3700+ Sw/Storage)
Kodi / Transmission / Minidlna / Samba / Batch-audio-conversions / Lighttpd
------------------------------
Rollback Machine - Thanks to impatt
slycat
 
Posts: 169
Joined: Wed Feb 09, 2011 3:07 am
Location: Miami, FL

Re: minidlna not running

Postby Guest » Sat Feb 18, 2012 1:05 am

Hi Slycat and Pepedog,

Thank you very much for your help!
I had some very hard days at work :) so didn't try what Slycat sugest.

I will try and refer back today.

Robert
Guest
 

Re: minidlna not running

Postby Guest » Sat Feb 18, 2012 1:24 am

Hi Pepedog!

$this->bbcode_second_pass_quote('pepedog', 'D')id you alter the user in /etc/conf.d/minidlna ?


Thank you for suggestion!

It is now "Minidlna user= nobody".
Probably I should create a user, right?

The instruction page doesnt mention it. It says daemon run by root as default.
Seems key step as solution. I'll try Asap. :)

Regards,
Robert
Guest
 

Re: minidlna not running

Postby Guest » Tue Feb 21, 2012 7:24 pm

Hi,

Thanks for answer.
I created user "minidlna" and set it to /etc/conf.d/minidlna.
As Slycat wrote /etc/rc.d not worked for me either,
but minidlna -R works fine.
so I have to start minidlna daemon manualy after reboots, but I can handle now.

So thanks again.
Minidlna is great, but setup description needs some correction.

Regards,
Robert
Guest
 

Re: minidlna not running

Postby WarheadsSE » Tue Feb 21, 2012 8:00 pm

If you need to do it manually after reboots, I'd suggest placing the call in rc.local so that it is done for you after the system is online.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: minidlna not running

Postby pepedog » Tue Feb 21, 2012 8:12 pm

If it runs as user minidlna, alter stuff in /etc/minidlna.conf (like db location) to a place that the user can write to
Also media location needs permissions possibly too
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: minidlna not running

Postby Guest » Wed Feb 22, 2012 7:39 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'I')f you need to do it manually after reboots, I'd suggest placing the call in rc.local so that it is done for you after the system is online.


Thank you very much WarheadSE!

Good to know. I'll do this.

Regards.
Robert
Guest
 

Re: minidlna not running

Postby Guest » Wed Feb 22, 2012 7:44 pm

$this->bbcode_second_pass_quote('pepedog', 'I')f it runs as user minidlna, alter stuff in /etc/minidlna.conf (like db location) to a place that the user can write to
Also media location needs permissions possibly too


Thank you Pepedog!

Do you think not needed to create minidlna ordinary user?
Using root is recommended?

Regards Robert
Guest
 
Top

Next

Return to Community Supported

Who is online

Users browsing this forum: No registered users and 46 guests