Troubles with miniDLNA on alARM

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Troubles with miniDLNA on alARM

Postby UberSlackr » Wed Dec 26, 2012 12:38 am

I'm trying to setup miniDLNA, but when I try to access the config file (/etc/minidlna.conf) I'm getting a Permissions Denied.
I'm logged in through SSH with root, so don't know why I can't access this? Are the miniDLNA files located elsewhere on alARM?

Many Thanks for your Help & Happy Holidays
______________________________________________________________________________________________________

Date: 2/10/2013 - New Issue with miniDLNA. Did not want to create new post so just adding on to this since its related..


New Issue: Unable to get miniDLNA to rebuild library after file has been added to media folder.
Have followed direction listed on the alARM wiki about miniDLNA to force rebuild of library data, but is not effective.
Library is not being updated. I even set miniDLNA to check folders and rebuild library every so often, but that is failing also.
Library has not been updated since a week ago, even though 15+ files have been added since.
Last edited by UberSlackr on Mon Feb 11, 2013 2:05 am, edited 3 times in total.
UberSlackr
 
Posts: 39
Joined: Mon Dec 24, 2012 6:29 am

Re: Troubles with miniDLNA on alARM

Postby WarheadsSE » Wed Dec 26, 2012 12:44 am

sudo?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Troubles with miniDLNA on alARM

Postby UberSlackr » Wed Dec 26, 2012 1:08 am

I was finally able to access the config file after a reboot of the PP. Not sure why that was required..

But when trying to start miniDLNA I get
$this->bbcode_second_pass_quote('', 'm')inidlna.c:475: error: Media directory "/media/Local_Disk/Movies" not accessible! [Transport endpoint is not connected]

Never recieved this error before on any Linux boxes I have

I ran fsck on the drive which resulted in..
$this->bbcode_second_pass_quote('', '
')
# fsck /media/Local_Disk
fsck from util-linux 2.22.2
e2fsck 1.42.6 (21-Sep-2012)
fsck.ext2: Is a directory while trying to open /media/Local_Disk

The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>

# e2fsck -b 8193 /dev/sdb1
e2fsck 1.42.6 (21-Sep-2012)
ext2fs_check_if_mount: Transport endpoint is not connected while determining whether /dev/sdb1 is mounted.
e2fsck: Device or resource busy while trying to open /dev/sdb1
Filesystem mounted or opened exclusively by another program?


Still trying to make sense of it.
Its not being accessed by any other program, as miniDLNA is the only package I've installed since setting up alARM.
I did however install udev-automount which might be the problem?
UberSlackr
 
Posts: 39
Joined: Mon Dec 24, 2012 6:29 am

Re: Troubles with miniDLNA on alARM

Postby pepedog » Wed Dec 26, 2012 1:40 am

Uninstall udev-automount and install udevil
Name of mount may change, df to find
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Troubles with miniDLNA on alARM

Postby UberSlackr » Wed Dec 26, 2012 1:58 am

$this->bbcode_second_pass_quote('pepedog', 'U')ninstall udev-automount and install udevil
Name of mount may change, df to find


I uninstalled udev-automount, prior to reading you post, and just added the mount info to /etc/fstab
Now the PP has gone nuts...

I issued a reboot command to check if the /etc/fstab entry would work, and upon reboot the USB Drive containing alARM would not "turn on" - the SATA HDD (Local_Disk) was spinning, but the LED on the USB Drive never flashed/blinked/lite up. The Green Light on the PP kept blinking for about 5 min

So per the Note on the alARM install instruction "U-Boot has been noted to occasionally not properly re-initialize USB and SATA drives on soft reboots." I power cycled the device... Same problem, HHD Spinning, USB Nothing & Green Light on PP blinking.

So I removed the SATA Drive, power cycled again, and the USB Drive started work (LED Light blinking like crazy)... Green Light Solid. Only problem is now, I'm unable to SSH into the PP.
Note says "Network has been observed to take a little longer.." Waited 3-4 and still unable access via SSH. I thought maybe it might have been assigned a new Local IP so I checked my Router's Attached Devices, and its not even listed. Power Cycled the PP, USB Drive working, Green Light Solid, been about 5+ min now, still no SSH access..

:( Everything was going great until mount/access issue of SATA Drive.

EDIT: Was able to resolve the boot issue by, attaching the USB to another Linux server, mounting, and editing /fstab (and removing the HDD from the media dir list of minidlna)
UberSlackr
 
Posts: 39
Joined: Mon Dec 24, 2012 6:29 am
Top

Re: Troubles with miniDLNA on alARM

Postby UberSlackr » Wed Dec 26, 2012 5:05 am

$this->bbcode_second_pass_quote('pepedog', 'U')ninstall udev-automount and install udevil
Name of mount may change, df to find


as mentioned in prior post, I removed udev-automount, and after recovering from failed boots, I installed udevil as you suggest.

Is there a wiki directly connected to udevil.. only thing I can find is a udev wiki, provided by Arch Linix, that seems remotely related..

My only concern is on the arch wiki for udev it mentions "The inherent disadvantage of this method is that udev does not always load modules in the same order on each boot." This could be problematic if its fails to mount the HDD with at the same point thats listed in the minidlna config ??
UberSlackr
 
Posts: 39
Joined: Mon Dec 24, 2012 6:29 am
Top

Re: Troubles with miniDLNA on alARM

Postby UberSlackr » Wed Dec 26, 2012 6:04 pm

Thank you for ya'lls help. Got miniDLNA up and running.
Now to tackle the SAMBA issues, lol.
UberSlackr
 
Posts: 39
Joined: Mon Dec 24, 2012 6:29 am

Re: Troubles with miniDLNA on alARM

Postby UberSlackr » Mon Feb 11, 2013 2:07 am

Bumped Due to Update.. (New issue posted in post #1)
UberSlackr
 
Posts: 39
Joined: Mon Dec 24, 2012 6:29 am

Re: Troubles with miniDLNA on alARM

Postby WarheadsSE » Mon Feb 11, 2013 2:16 am

Search the forums for miniDLNA and ulimit
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Troubles with miniDLNA on alARM

Postby UberSlackr » Mon Feb 11, 2013 4:55 am

$this->bbcode_second_pass_quote('WarheadsSE', 'S')earch the forums for miniDLNA and ulimit

Is there a Specific Term I should look for?
I Tried miniDLNA + ulimit = Nothing
ulimit = 1 page 4 topics (including this one) but nothing seemed seemed to help
miniDLNA Library = Nothing
miniDLNA rebuild = 3 topics which 1 I read prior to post about my issue

I've tried setting ulimit to unlimited, rebooting, and running the miniDNLA rebuild command but its still failing to list the same 15 new files added over the past week in any of the Media Clients. Also checked the miniDLNA meta logs, and its not being listed. Everything from before a week ago is there...
UberSlackr
 
Posts: 39
Joined: Mon Dec 24, 2012 6:29 am
Top

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 14 guests