News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

[not quite SOLVED]lmce beta- media not being displayed

Started by maverick0815, August 18, 2012, 12:43:21 AM

Previous topic - Next topic

maverick0815


maverick0815

okay, I replaced the StorageDevices_StatsRadar.sh on all machines with your new one, rebooted everything for good measure....and no change.

If you need anything, logs etc, just let me know.

maverick0815

well..I can imagine, that you have a lot on your hands...but...I still can't get my system running properly.
if you think a reinstall would fix it, I will try...

maverick0815


jamo

I don't mean to sound like a stuck mp3 here but have you ruled out the samba shares issue? I had what sounds like exactly the same issue and it was that the statusradar marks the HDD as offline when an MD boots up if it can't connect to the samba share. When I fixed that all was resolved. I see that Mario had a NT_STATUS_LOGON failure message which is exactly what I had.

Techstyle

I this a very old issue that has resurfaced?

http://forum.linuxmce.org/index.php/topic,7636.0.html
Techstyle UK Ltd
[url=http://www.techstyleuk.co.uk]http://www.techstyleuk.co.uk[/url]

Techstyle US Inc.
[url=http://www.techstyleus.com]http://www.techstyleus.com[/url]

maverick0815

all right jamo...I checked out your thread and dug around on my system.
What I found out so far is this: my two MDs have the same credentials for sambahelper, but they are different from what dcerouter has. So I copied the credentials file over to my mds first.
Next, I tried
Quotepdbedit -a -u sambahelper
and got this
Quotebuild_sam_account: smbpasswd database is corrupt!  username sambahelper with uid 10002 is not in unix passwd database! Failed to add entry for user sambahelper

jamo

Maverick

I'm no samba wiz...  but that's sounding odd. Can you post the output of

grep samba /etc/passwd

and

pdbedit -L -v | grep -i username


Armor Gnome

Quote from: maverick0815 on August 25, 2012, 07:10:53 PM
I've been pondering right now whether or not scrap this installation and try the latest snapshot...since it seems I might more or less be the only one with this weird issue.

I am now experiencing the same issue with the offline flags of my core's drives.  I can confirm as you have that it is related to booting a Media Director.  You also mentioned a problem with MythTV on the media directors that I am experiencing as well.
I made a wiki!  Click [url=http://wiki.linuxmce.org/index.php/User:Armorgnome2]here[/url] to check out my system.

JaseP

I noticed the following:
  1) Missing media descriptions in the Videos lists (didn't look elsewhere). The entries were there, just not the file names...
  2) MythTV bombs out about one a day on me as well... the failed once too often error...

Is that the same as both of you are experiencing?
See my User page on the LinuxMCE Wiki for a description of my system configuration (click the little globe under my profile pic).

Armor Gnome

1) in video everything is missing.  If I initiate a search I can get to a single file and play it however I can not load a performer etc and have it play all.

2. MythTV bombs before it starts on MDs, This may be due to an unrelated issue with my video card.  Working on that issue now.
I made a wiki!  Click [url=http://wiki.linuxmce.org/index.php/User:Armorgnome2]here[/url] to check out my system.

JaseP

OK nevermind,... my issues are unrelated, ... and at the moment , inconsequential, ... Thanks for clarification.
See my User page on the LinuxMCE Wiki for a description of my system configuration (click the little globe under my profile pic).

davegravy

Fresh install (09/09 snapshot) and I'm having this issue now too. Happy to help test.

maverick0815

jamo:

Quotegrep samba /etc/passwd
doesn't return anything here

and
Quotepdbedit -L -v | grep -i username

returns this:
Quotebuild_sam_account: smbpasswd database is corrupt!  username sambahelper with uid 10002 is not in unix passwd database!
Unix username:        pluto_me
NT username:         
Unix username:        pluto_wife
NT username:         

jamo

Maverick

Assuming now that you have done nothing on the system except copy your dcerouter's Sambacredentials file to the MDs, it seems to me there is some bigger problem with your sambahelper account and I'm afraid I don't know how to fix that if it is the case. As alluded to so delicately by Thom... the sambahelper account is created automagically and should not be messed with.

I asked a friend to check his working 10.04 installation and he confirmed the following:

1. sambahelper exists in /etc/passwd on dcerouter as expected:

grep -i samba /etc/passwd
#> sambahelper:x:10002:10002:Pluto Samba Share Helper:/tmp:/bin/false


2. He does not get an error when he lists the users in the smbpasswd databse

sudo pdbedit -L -v | grep -i username
Unix username:        pluto_mybuddy
NT username:
Unix username:        pluto_mybuddyswife
NT username:
Unix username:        sambahelper


3. His dcerouter version of Sambacredentials.secret differs from his single MD's version by password:

diff /usr/pluto/var/sambaCredentials.secret /usr/pluto/diskless/XX/usr/pluto/var/sambaCredentials.secret
3c3
< password=XYZLAJKSD
---
> password=SDLFJKFLJF

(Obviously I changed the MD number to XX and the hashed password values)

So I'm guessing that the dcerouter Sambacredentials.secret file isn't an issue for him because the mediadirector there is not trying to mount a remote share and that the credentials on the MD are correct (ie the password there, when hashed, matches the smbpasswd db).

So, I may be wrong on any of my assumptions there but, right or wrong unfortunately in your case I think the issue is the lack of the sambahelper user acc. Not sure how that happened but maybe one of the gurus can give some guidance there? Otherwise shoot down my assumptions!

davegravy... might be interesting to get the results from your setup with the commands above?