Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - orionsune

Pages: 1 ... 7 8 [9]
Installation issues / Re: No Media. Windows Shares Not Mounting.
« on: February 14, 2008, 04:43:16 am »
omg i just tried it with a windows xp box and it works!

I didn't have an xp box to try before now, use a friends laptop with xp on it.

so i'm looking into windows vista's security policy now... because we know windows firewall is off and whatnot...

what's strange, is i'm using wireshark for windows... and wireshark shows absolutely no browser traffic whatsoever, not even blocked traffic...

wow guys
just tried it with a windows xp box and it works fine

i'm now looking into windows vista's security policies now...

Ok hari, here you go.  I did as you said, and I saw nothing new.

I set value of 1 in the traceSMB file...

Here is my syslog entries

eb 13 07:35:50 dcerouter automount[19404]: parse(sun): entry 36 is empty!
Feb 13 07:35:50 dcerouter automount[19404]: failed to mount /mnt/device/36
Feb 13 07:35:51 dcerouter automount[19491]: parse(sun): entry 35 is empty!
Feb 13 07:35:51 dcerouter automount[19491]: failed to mount /mnt/device/35
Feb 13 07:35:51 dcerouter automount[19564]: parse(sun): entry 36 is empty!
Feb 13 07:35:51 dcerouter automount[19564]: failed to mount /mnt/device/36

Here is my dmesg... which only contains messages about my raid, which i know about...

[97724.228812] EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
[97724.231142] EXT3 FS on md4, internal journal
[97724.231436] EXT3-fs: mounted filesystem with ordered data mode.
[97745.906023] kjournald starting.  Commit interval 5 seconds
[97745.906363] EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
[97745.908132] EXT3 FS on md4, internal journal
[97745.908387] EXT3-fs: mounted filesystem with ordered data mode.
[97868.789459] kjournald starting.  Commit interval 5 seconds

I am so frustrated... I don't understand... i've most definately narrowed it down to it being isolated to the LInuxMCE box.  I tried installing it on a complete different set of hardware, different network switch, different network cables, different windows box with a share... same result... I can't believe i'm the only one with this outstanding issue....

Installation issues / Re: No Media. Windows Shares Not Mounting.
« on: February 14, 2008, 04:10:42 am »

I tested to see if everything was being pulled from the database properly, using a method mentioned previously..

you can test the code by running the following:

sudo /etc/auto.PlutoStorageDevices 91

( please change 91 to the device Number of your Storage Device)

Everything was returned accurate.... so thats not it...


I'm sorry, i should have included my original post link in here...

yes, I know exactly how automounting works, I never presumed to try and create a folder inside /mnt/device... that was the original poster that said that, I didn't mean I used the same steps he did, I simply meant his symptons were identical to mine... symptons being:

LinuxMCE detects my shares fine but has a problem mounting them...
i've tried cifs and smbfs, no difference...
i've monitored traffic on my windows box using wireshark.. there is absoultely not a single packet of browser traffic making it to my windows box...
as a matter of fact, there is no browser traffic being generated from the linuxmce box either (I checked)..

it's as if, the linuxmce box isn't even attempting to mount the share...

yes I checked in the automount map file for the ping thing... i can ping my windows box.. I even commented out the ping statemens in the map file to make sure... same result...

i'm just so frustrated...
I posted my dmesg, logs, and all that in my previous post... see link please... i've had 2 other guys that seem pretty smart trying to help me out, maybe a fresh perspective can help...

I realize this is an old ass topic.  but after searching for related issues to mine, this issue is EXACTLY the problem i'm having.  I see it was suggested to add the share manually, that won't work here, it's not that the shares are not being detected, it's that they are not being mounted by automount daemon.

Was this every solved?  How?

Installation issues / Re: No Media. Windows Shares Not Mounting.
« on: February 13, 2008, 03:31:27 pm »
Yes, it detects the shares and the wizard runs...  the online box is checked...

At least i'm homing in on the source, i'm alot closer than I was a day ago.  I've narrowed it down to the autofs mechanism.  I've been playing with the syntax in the map file for mounting shares.  The autofs mechanism mounts my raid fine, so I haven't ruled out that something between linuxmce and the windows box is causing a problem.  But like I said, there is absolutely no browser traffic making it to the windows box, as if the automount command is never being executed.  Even though I don't really NEED this work i'm stuck on it now, I won't rest until I solve this.

Installation issues / Re: No Media. Windows Shares Not Mounting.
« on: February 13, 2008, 07:04:02 am »
Well, I have finished analyzing my network traffic using wireshark.

When I mount the share manually using mount or smbmount, there are tons of browser/smb/cifs traffic showing up.

When I allow linuxmce to attemp an aoutmount of those shares (while monitoring both ends of traffic), a ping is sent to my windows share box, and a replay is recieved by the linuxmce box, but then nothing else happens.  It just pings my windows box, and generates an error in the syslog.   The linuxmce box never even attempts through out any browser traffic after pinging and recieving a response. This sounds like coolinjones's hunch, but... I commented out the pinging mechanism in the autofs map file so that it would bypass pinging and go straight to the mount command, no luck... same error logged in syslog also...

Installation issues / Re: No Media. Windows Shares Not Mounting.
« on: February 13, 2008, 04:04:25 am »
Negative houston... I just got home, re-installed MCE fresh... made damned sure windows firewall is off, same identical results.   Once again, here are my log entries.  Too bad I can't find what code -13 means.

I get this during LinuxMCE's automatic detection wizard...
Feb 12 18:51:15 dcerouter kernel: [ 1582.854473]  CIFS VFS: Send error in SessSetup = -13
Feb 12 18:51:15 dcerouter kernel: [ 1583.095652]  CIFS VFS: cifs_mount failed w/return code = -13
Feb 12 18:51:16 dcerouter kernel: [ 1584.962725]  CIFS VFS: Send error in SessSetup = -13
Feb 12 18:51:17 dcerouter kernel: [ 1585.204772]  CIFS VFS: cifs_mount failed w/return code = -13
Feb 12 18:51:17 dcerouter kernel: [ 1586.671798]  CIFS VFS: Send error in SessSetup = -13
Feb 12 18:51:18 dcerouter kernel: [ 1586.939598]  CIFS VFS: cifs_mount failed w/return code = -13
Feb 12 18:51:18 dcerouter kernel: [ 1588.550243]  CIFS VFS: Send error in SessSetup = -13
Feb 12 18:51:19 dcerouter kernel: [ 1588.797034]  CIFS VFS: cifs_mount failed w/return code = -13

Directly afterwards, and everytime I try to cd into my /mnt/devices/## folder where the mount point is, I recieve these errors.
Feb 12 18:52:31 dcerouter automount[28724]: failed to mount /mnt/device/28
Feb 12 18:52:31 dcerouter automount[28845]: parse(sun): entry 35 is empty!

What is interesting here, I didn't notice before, is that the first set of errors only happen when the auto wizard detects my windows shares.  The following errors are the only ones I see after the wizard is finished.

Have you tried accessing the contents of the files as well besides just mounting the shares?
Yes, actually if I mount my windows share somewhere inside LinuxMCE's /home/public/data  , it sees all my media and I can play it just fine.

Just a thought - I noticed somewhere in some script a ping test (not the one to google) and I think I was looking at storage device scripts at the time. It is just possible that one of the things used to test share availability is ping. If so, it is also just possible that your Windows firewall was configured to allow file sharing (inbound), but probably not ICMP/ping. If so, then it would have thought the share/server was offline even though you manually mount.
That actually could make a whole lot of sense, except I remember reading also that it doesn't bother attempting to mount those shares if it doesn't recieve a ping reply.  I have a log file full of autofs trying to mount those shares every 5 minutes or so on it's own.

I am so frustrated, this is garbage.  I have a question, you guys have this working just fine?  Can I look at your autofs map file (/etc/auto.PlutoStorageDevices, network configuration, flavor of windows (xp/vista)? I just don't get it.  This copy of windows vista is only 5 days old, I have no exotic configurations on my network or pc.  I have a pretty standard setup, have tried to match all the hardware i've collected to the list of known compatible hardware in LinuxMCE.

Well I am back to troubleshooting, think i'll try and get more detail out of the windows side as it tries to mount.  Screw windows event log, time to download ethereal.  I'll update later... thx everyone for your input...

Installation issues / Re: No Media. Windows Shares Not Mounting.
« on: February 13, 2008, 12:22:33 am »
Oh My God... yes I had to spell it out.  I want to give each of you guys my home address and directions.  I would like for everyone that tried to help, come to where I live and put a foot in my ass.

Out of pure and total desperation last night, I checked my windows firewall and it was ON!  I sware to god and all that is holy and righteous that I turned that damned firewall off when I installed windows.  I just installed windows not only a few days ago, because I went from  XP to Vista.  I decided to see what Vista is all about.  Well, this is my second installation of Vista, and I have to admit, the first time I installed Vista, I remember having this firewall problem with another technology I was researching.  The problem was, I swore that I turned the firewall off after installing windows, then when nothing worked right over my network, I checked the firewall settings and it was back on.  I think windows Vista is turning the firewall back on by itself, I sware it has to be because i've never in my life had any kind of memory problems like this.  And twice i've sworn I turned the firewall off, I go back and check and it's back on.

Now.. I turned the firewall off, but I had already broken the autofs mechanism in mce during my troubleshooting, so I need to re-install mce again and test it's "out of the box" share discovery and autofs again.  I hope it will work this time.  But I am still skeptical.  I am a firm skeptic because even with windows firewall being on that whole time, I was able to mount my windows shares manually using both smbfs and cifs.  And windows was logging in the event log, successful logins from the autofs attempting to mount the shares. If windows firewall was preventing autofs from mounting my shares, then shouldn't it prevent me from manually mounting them as well?  I will admit, I do not claim to know all the intricacies and obscure methods used in network protocols, maybe there is something different autofs does that gets blocked by windows firewall where manually mounting does not use.  Who knows... (the RFC knows...)

Anyways, I will re-install mce on my box and re-test this again with windows firewall OFF and post my results.

I would appreciate any flaming please.  A foot in the ass, a couple variations of the spelling newbie... anything please lol.

Installation issues / Re: No Media. Windows Shares Not Mounting.
« on: February 11, 2008, 06:15:48 pm »
So I just tried you guy's suggestion despite my stubbornness...

I connect my network share pc (windows box) to the internal nic of the lmce box using a crossover cable.  Then the cablemodem connected directly to the external nic of my lmce box.  Completely isolating the lmce box and windows box from my existing network.  No change...

Although I have had another development... i've finally gotten logging to log the errors during automount and here they are.

Feb 11 01:06:55 dcerouter kernel: [  939.815214]  CIFS VFS: cifs_mount failed w/return code = -13
Feb 11 01:06:56 dcerouter kernel: [  940.312890]  CIFS VFS: Send error in SessSetup = -13
Feb 11 01:06:56 dcerouter kernel: [  940.387544]  CIFS VFS: cifs_mount failed w/return code = -13
Feb 11 01:06:57 dcerouter kernel: [  940.979295]  CIFS VFS: Send error in SessSetup = -13
Feb 11 01:07:22 dcerouter automount[31586]: parse(sun): entry 36 is empty!
Feb 11 01:07:22 dcerouter automount[31586]: failed to mount /mnt/device/36
Feb 11 01:07:23 dcerouter automount[31868]: parse(sun): entry 37 is empty!
Feb 11 01:07:23 dcerouter automount[31868]: failed to mount /mnt/device/37

So it's obviously the cifs/smbfs issue, but i've put "smbfs" in the filesystem field and no change it still gives CIFS errors and mounting errors.  I even tried modifying the automount map file and hardcoded the option to use "-fstype=smbfs" instead of allowing it to use a variable.  Still I can mount all these shares manually...

Thanks for trying tho guys, at least I know it's something to do with the mounting procedure... if I find a solution i'll be sure to post details.

EDIT: I was hoping one of you guys would recognize those errors.  It seems to me, everything is pointing to the cifs/smbfs issue, but when I put smbfs in the filesystem field of the share through the web admin, and restart/reboot/powerdownbackup, I still recieve the same error, and shares still do not get mounted.  Actually I found out if you try to cd into /mnt/device/##, then the autofs attempts to mount the filesystem associated with the number.  I used this method to generate those error messages, but they are generated the same by itself also.  I don't understand on the Windows side, the only log entry being recorded is a successful login from the username I specified linuxmce to use for the share.

BTW: I tried seting up a NFS share on my spare *nix box, I don't know if it's my configuration yet, but it wasn't detected at all.  I do admit, i've never really used NFS much because of permission issues in the applications I used in the past.

EDIT2: It dawned on me to try and mount manually using cifs... so I did, and i cant mount my windows shares manually using smbfs or cifs, so again, whats with the mounting errors? errrr

Installation issues / Re: No Media. Windows Shares Not Mounting.
« on: February 11, 2008, 06:08:25 am »
Sounds like your networking is OK, but even relatively minor or intermittent issues could cause problems. You could try attaching (temporarily of course) your PC directly to the core with a cross over cable (modern NICs usually don't even need that) to eliminate cabling and switching. And try fixing your NICs rather than autonegotiating - use sudo ethtool eth0 and 1 on the Core and properties of the adaptor in Windows to check what they are set to. Fixing to 100Full to start with. If either say half-duplex then you definitely have an autoneg problem. BTW - some NICs have been seen to have comms probs at Gb on LMCE, so 100Full again would help you eliminate that possibility.
The network environment i'm using, has been used with the same configuration for quite some time, there is no question my network settings, configuration, layout, etc... is ok.
Make sure that your Windows firewall is completely disabled whilst testing to eliminate that. Once the share(s) have been detected and added, from KDE desktop Dolphin file manager navigate to /home/data/public/Windows... blah blah, and see if KDE can browse your Windows folders and play files in Kaffine or Amarok - this will confirm basic connectivity. Copying large files back and forth can confirm you are getting the correct bandwidth as speed and duplex problems often cause massive reductions in bandwidth, especially only in one direction....
Always the first thing I do when I install a windows box... firewall = off, reportingmethod = none, etc...
I think i confirmed basic connectivity when I manually mounted my windows share on linux mce using smbmount.  Also I can play the movies off my windows share through mce, after I mounted it manually in /home/public/data/other/test.
I can also see the mce box connecting to my windows share using the "shared folders" snap-in for the management console.  Also see successful login under security audit.
If you can't navigate/play - try enabling security logging on Windows in admin tools-local security policy then check the events in the Security Event log to confirm that LMCE is successfully authenticating. You should also look under shares/sessions in Computer Management, and keep hitting refresh. You should see LMCE periodically connecting to the share(s), especially just after it sets them up.
got it
Be aware that the initial run of UpdateMedia will take a few minutes to populate your media library even when there are only a few media files, but much longer when there are a lot. Don't run UpdateMedia from the command line unless you know what you are doing. And don't forget to Reload the DCERouter after it has discovered and added all your shares.
I checked the mount point... it's empty.  Every configuration pattern i've tried.
Windows logs a successful auth.
Windows shows user logged into share.
but /mnt/device remains empty.
Go to the admin web site, login and go to Media File Sync in the Media and Files menu. You should see your Windows shares under there when you navigate down on the left hand panel. Go into one of your media shares so that you can see your own folders/files - now choose the resync option. This will run UpdateMedia for you properly.
Yes i've done this also, again something I read during my research... problem is, those windows shares we see listed there?  They are symbolic links to the actual mount point of the share?  Something eg: /mnt/device/33.... it's empty.  there is no /mnt/device/33.  It stops at /mnt/device.
Then you have the CIFS/SMBFS issue I had. Go to the devices tree and navigate down to the share - you will find a data attribute in the definition that is called filesystem type - set to "cifs", change that to "smbfs".
This is the juicy part... I actually saw a topic about this, and when I saw it, I was convinced this would be my problem.  I tried that, I also tried changing that setting in the config file.  To no avail.  I wasn't exactly sure how long it would take for the core to pick up the change and restart the associated service so I rebooted to make sure the change was in effect.  Still got errors in updatemedia, and /mnt/device was still blank.. no mounted shares... Where can I look to try and observe the error messages generated by mce's mounting mechanism?

I'm leaning toward this mounting issue with the difference between cifs/smbfs... i'm sure thats it, because if I try mounting using -t cifs in my mount command, I get some obscure error, I have to use -t smbfs and it'll mount find... but thats just manually, and as I stated before, I changed the mounting method but it still wouldn't mount.  I think if we can just find where that mechanism is logging errors... I know it's autofs, but I see no errors being generated in the typical log files...

The only thing I haven't looked at in depth are the security logs in windows.  At first glance everything seems to auth just fine on windows side, then nothing else happens.  I haven't turned up my logging level yet, i'm going to try this next time I re-install linuxmce and it goes through all it's wizardry and tries to connect to the shares again.

EDIT: I decicded to move on and try to get the RAID working and give the shares a rest... I noticed this in my syslog
Feb 11 00:54:36 dcerouter automount[15507]: mount(generic): failed to mount /dev/md3 (type auto) on /mnt/device/28
Feb 11 00:54:36 dcerouter automount[15507]: failed to mount /mnt/device/28
Feb 11 00:54:36 dcerouter automount[15541]: >> mount: you must specify the filesystem type
Feb 11 00:54:36 dcerouter automount[15541]: mount(generic): failed to mount /dev/md3 (type auto) on /mnt/device/28
Feb 11 00:54:36 dcerouter automount[15541]: failed to mount /mnt/device/28
so I know auotofs is logging to syslog, now why don't I get any errors when configuring the windows shares...

well, now i'm back on troubleshooting shares i've been inspired...

Installation issues / [SOLVED] No Media. Windows Shares Not Mounting.
« on: February 11, 2008, 01:39:42 am »
Ok.  I have done some pretty intense research regarding this matter.  All I have found are old topics, where the problem was never solved.  Hardly any topics even had suggestions on how to resolve this problem.  The topics that did offer suggestions were links to a set of generic instructions on how to manually add shares through web admin (which didn't work for any previous posters or myself).

From the begining.  Anyone feel free to blow my mind with whatever it is i'm missing... please..

1. Installed Linux MCE DVD 710 Beta 3
2. Ran through wizards, took mostly default settings.
3. MCE finds my windows box's shares. (asks for username/pw, etc... everything proceeds with the share wizards fine... no indication of any problems)
4. I go to look at my media and it isn't there.
5. The generic syslog's in the /var/log tell me absolutely nothing.
6. I search the forums...
7. I find out where MCE tries to mount the samba shares... (/mnt/devices/##)
8. I issue smbmount command to manually mount my share in (/mnt/device/##) and recieve an error that the folder doesn't exist.
9. I check the folder contents of /mnt/device and there are no folders that correspond with the symbolic links created by the wizard in /home/public/data/other.
10. I issue a "mkdir" command to create the associated number of my share (my case 33).  It says permission denied.
11. I smack myself and then issue a command "sudo mkdir" and again... permission denied.
12 I use "su" to become root completely and make the folder again... permission denied.
13. So I issue an "ls -la" to see if maybe the folder exists but is hidden... it is not.
14. I decide I am too frustrated and came to the conclusion this product does not work out of the box, even with matching hardware as seen on the demo. word of the day = bullshit
15. Just to see if MCE even catalogs my movies correctly, I create a folder in /home/public/data/other called test.  So I have /home/public/data/other/test...
16. I manually mount my windows share at the command line into /home/public/data/other/test...
17. It mounts successfully.  Wow that was an easy command to use... wonder what MCE's problem is?
18. (Continuing on) I issue the "UpdateMedia" command at the command prompt.
19. I go back into the orbiter and go look at media, OMFG IT'S THERE.. ALL MY MEDIA IS THERE!!!

So... is there some sort of known issue or am I a rare case?  Wtf I have no idea why the hell mce cannot properly mount my shares.  Except maybe MCE can't create the /mnt/device/## folder for the mount point to go.  Because I certainly was not able to create any folder in there, even as root.  I tried different folder names too, not just the numbers associated with my symbolic links.

Please, this is probably the only time in my life I desperately want someone to make me feel stupid and talk down to me like i'm at idiot and explain to me what is wrong with me and why i'm not smart enough to figure out this supposedly "out of the box" product.

Pages: 1 ... 7 8 [9]