[Live] & [minimal] SMB shares not available - "Error 2: Share Not Available"
#1
There's another thread for this that i could post into and try to revive, but i've posted there before - it's not going anywhere and no real answers are forthcoming. I know a lot of people want this sorted - so can someone 'in the know' please sort this out for us.

I have completed 2 installs in the last few weeks, one using the XBMC Live cd (9.11 repack) and another based on Ubuntu server 9.10 and then an install of XBMC using the guide at : http://wiki.xbmc.org/?title=XBMCbuntu

In both cases, i cannot browse to samb / windows shares in 'Add Source'. I get an error : Error 2: Share not available.
This is a problem because my media files (like many other people) are on a NAS box.

My older XBMC Live cd (9.04.1) works fine and can read the shares. The new one cannot.

Because i cannot read the shares in my minimal install either its more than just a problem with the Live cd.

Neither the Live CD or the minimal install process installs the SAMBA Client. I installed this using the command : sudo apt-get install smbfs smbclient.

I STILL cannot browse the damn shares though!

To get round this on my minimal install I have 'mounted' my NAS box's shared folders to the XBMC Home folder and have accessed them from there. I used the basis of this guide to do it : http://ubuntuforums.org/showthread.php?t=280473
This is an ugly solution though, and one i cannot implement on the Live system.

I am a real Linux novice so i appologise if anoy of this is misleading or plain wrong. Can someone with some real knowledge please sort this out for all of us so we can put this one to bed please?

There's a virtual pint in it for you if you do.
Reply
#2
What kind of NAS are you using?
Could you enable debug logging in XBMC and post the log since it might give some more information. How to enable debug http://wiki.xbmc.org/index.php?title=Log..._Debugging
The log from the NAS is also of interest.
Reply
#3
My Linux novice status may prove a problem here...

I have enabled debugging but cannot find the log!

The link you provided says it is at : /home/<username>/.xbmc/temp/

I have browsed to /home/xbmc and there is no ".xbmc" folder, only a file called "core" thats about 15mb in size.

Ive tried this on a local full Ubuntu install (its a multiboot system) and via SSH on my PC (where i am now).

Can you help me get to the log please?
Reply
#4
dot-stuff is hidden by default. Try ls -sla and you'll see the .xbmc dir.
-= Team Kodi developer fueled by heavy metal =-
Reply
#5
Thanks.

I have posted the debug log file here: http://pastebin.com/q43GvjzD

It shows the smb error about 3/4 of the way down.

As for the other questions, this is happening at my house with my QNAP TS209 NAS, and at my brothers with his Bufallo NAS. Same error - "Error 2: Share not available" when trying to browse SMB shares, on 2 different installs.
Reply
#6
The debug file didn't reveal much.

Could you try to add your NAS manually?
In "Add Source" double click or press enter on <None> and write:
Code:
smb://<name of your nas>/<name of your share>
An example:
Code:
smb://mystorage/video
This will only work if you don't use username and password to access the NAS.
If your are using a password:
Code:
smb://<username>:<password>@<name of your nas>/<name of your share>

Could you also provide an output of "smbtree -N" from the xbmc.

QNAP uses Linux and Samba so get a log from the nas would also be great.
Reply
#7
Thanks! I have been trying to manually enter the address of the server without success. As a windows person, i was beginning the line with '\\' and now i can see from your example how it should be done.

Manually entering the SMB path using the server name didnt work though. My Qnap is named "media" and i have a user called "xbmc" with a password "xbmc". I tried:

smb://xbmc:xbmc@media/qmultimedia

It returned a 'timed out' error. I enabled debugging and was going to post the log file again, but i decided to try changing the server name for the IP Address of the NAS, and this worked!

Obviously without your help i would not have gotten this far, so there is still a problem, but this is a much better work around than mounting shares.
Reply
#8
all i had to do was add these to my sources.list

Code:
deb http://archive.ubuntu.com/ubuntu/ karmic-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse

and then
Code:
sudo apt-get update
sudo apt-get upgrade
Press THANK USER if I Help
Reply

Logout Mark Read Team Forum Stats Members Help
[Live] & [minimal] SMB shares not available - "Error 2: Share Not Available"0