You are not logged in.

#1 2006-05-22 22:58:48

T-u-N-i-X
Member
From: İstanbul
Registered: 2006-03-14
Posts: 435
Website

Samba: No Such File or Directory ? Strange Problem..

Hello,

I'm using Arch Linux for a while and liked it so much.. I was using Debian GNU/Linux before this distro.. Any way; I have a /pub directory which is a partition on my hd.. It's always mounted to the system and I'm always using it..

I've configured Samba to share my music let's say.. Here's my conf file:

[01:54] (tunix@penguix ~)$ cat /etc/samba/smb.conf
# penguix Samba Configuration File

[global]
  workgroup = WORKGROUP
  netbios name = TUNIX
  server string = Arch Linux
  security = share
  socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
  hide unreadable = yes
  hide dot files = yes
  log file = /var/log/samba/log.%m
  max log size = 5
  log level = 0
  encrypt passwords = yes
  guest account = nobody

[Muzik]
  comment = Muzik
  path = /pub/Muzik
  guest ok = yes
  force user = nobody
  read only = yes
  writable = no
  browsable = yes

I can see other computers on the network.. Other computers can see my computer and access on it.. But whenever they want to access to the directory Muzik, it says there's no such file or directory.. But the directory exists:

[01:54] (tunix@penguix ~)$ ls -l /pub/Muzik/
toplam 128
drwxr-xr-x  32 tunix users 65536 2006-05-08 01:42 Yabanci
drwxr-xr-x  30 tunix users 65536 2006-05-23 01:05 Yerli

I've looked in the log files and it says something like these:

...
[2006/05/11 03:03:56, 0] smbd/service.c:make_connection(846)
  10.0.0.212 (10.0.0.212) couldn't find service muzIk
[2006/05/11 03:20:42, 0] smbd/service.c:make_connection(846)
  10.0.0.212 (10.0.0.212) couldn't find service muzIk
[2006/05/11 03:20:44, 0] smbd/service.c:make_connection(846)
  10.0.0.212 (10.0.0.212) couldn't find service muzIk
[2006/05/11 03:20:45, 0] smbd/service.c:make_connection(846)
  10.0.0.212 (10.0.0.212) couldn't find service muzIk
[2006/05/11 13:22:10, 0] smbd/service.c:make_connection(846)
  10.0.0.212 (10.0.0.212) couldn't find service muzIk
[2006/05/11 13:22:12, 0] smbd/service.c:make_connection(846)
  10.0.0.212 (10.0.0.212) couldn't find service muzIk
[2006/05/11 13:22:12, 0] smbd/service.c:make_connection(846)
  10.0.0.212 (10.0.0.212) couldn't find service muzIk
...

Any body have an idea here what this problem is about ?

Thanks a lot..!


Quis custodiet ipsos custodiet?

Offline

#2 2006-05-22 23:12:37

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,615
Website

Re: Samba: No Such File or Directory ? Strange Problem..

what are the permissions on the dir itself?
ls -al /pub/Muzik/


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#3 2006-05-22 23:21:20

T-u-N-i-X
Member
From: İstanbul
Registered: 2006-03-14
Posts: 435
Website

Re: Samba: No Such File or Directory ? Strange Problem..

[02:20] (tunix@penguix ~)$ ls -al /pub/Muzik/
toplam 256
drwxr-xr-x   4 tunix users 98304 2006-04-26 01:26 .
drwxr-xr-x  10 tunix users 32768 1970-01-01 02:00 ..
drwxr-xr-x  32 tunix users 65536 2006-05-08 01:42 Yabanci
drwxr-xr-x  30 tunix users 65536 2006-05-23 01:05 Yerli

---

[02:20] (tunix@penguix ~)$ ls -al /pub/
toplam 420
drwxr-xr-x  10 tunix users 32768 1970-01-01 02:00 .
drwxr-xr-x  22 root  root   4096 2006-05-12 22:09 ..
drwxr-xr-x  13 tunix users 32768 2006-04-24 15:48 Dev-Cpp
drwxr-xr-x   7 tunix users 32768 2006-03-17 00:30 Dosyalar
drwxr-xr-x  12 tunix users 32768 2006-05-19 01:30 filmler
drwxr-xr-x   4 tunix users 98304 2006-04-26 01:26 Muzik
drwxr-xr-x  31 tunix users 32768 2006-03-17 01:02 Program Files
drwxr-xr-x  19 tunix users 32768 2006-05-19 04:07 Resimler
drwxr-xr-x   2 tunix users 32768 2006-03-17 00:59 Sozluk
drwxr-xr-x   2 tunix users 98304 2006-05-22 13:52 .Trash-tunix


Quis custodiet ipsos custodiet?

Offline

#4 2006-05-24 12:04:52

T-u-N-i-X
Member
From: İstanbul
Registered: 2006-03-14
Posts: 435
Website

Re: Samba: No Such File or Directory ? Strange Problem..

The problem remains the same... Please help me...? Somebody ?


Quis custodiet ipsos custodiet?

Offline

#5 2006-05-24 13:07:49

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,555
Website

Re: Samba: No Such File or Directory ? Strange Problem..

It seems to me that somewhere there is something either misstyped of missconfigured. Your directory is /pub/Muzik but the error points to a service muzIk (Muzik vs muzIk ... see my point?)

Offline

#6 2006-05-24 14:47:13

T-u-N-i-X
Member
From: İstanbul
Registered: 2006-03-14
Posts: 435
Website

Re: Samba: No Such File or Directory ? Strange Problem..

Actually the problem is with the nobody account I guess... This is my new smb.conf file:

[global]
        netbios name = TUNIX
        workgroup = WORKGROUP
        server string = Arch Linux
        hosts allow = 10.0.
        security = share
        encrypt passwords = no
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        hide unreadable = yes
        hide dot files = yes
        guest account = nobody

[Muzik]
        comment = muzik
        path = /pub/Muzik
        guest ok = yes
        read only = yes
        browseable = yes

[emule]
        path = /emule/
        guest ok = yes
        browseable = yes
        read only = yes

emule works fine but when somebody tries to enter Muzik directory there's the problem.. The difference between them is, emule is on an ext3 partition and Muzik on a fat32 partition...

I'm trying different things almost 3 hours and found nothing.. I've done lots of Google research and again found nothing useable.. Please help me, I'm really stuck here... sad


Quis custodiet ipsos custodiet?

Offline

#7 2006-05-29 08:41:36

T-u-N-i-X
Member
From: İstanbul
Registered: 2006-03-14
Posts: 435
Website

Re: Samba: No Such File or Directory ? Strange Problem..

The problem is still not solved.. Nobody here can help me though ?


Quis custodiet ipsos custodiet?

Offline

#8 2006-05-29 13:18:03

Ibex
Member
Registered: 2006-03-02
Posts: 127

Re: Samba: No Such File or Directory ? Strange Problem..

I agree with ralvez above; I guess that it's a problem related with the case sensitivity.

Your share is Musik, and the error is talking about muzIk. Maybe you could check the service that is using the share if it is connection to Muzik in case of muzIk.

Probably, you can also fix it by adding the following in your [global] section of smb.conf:

case sensitive = no

Remember restarting the samba service after editting your smb.conf.

Offline

#9 2006-05-29 21:07:58

T-u-N-i-X
Member
From: İstanbul
Registered: 2006-03-14
Posts: 435
Website

Re: Samba: No Such File or Directory ? Strange Problem..

I've tried case sensitive setting now, and it doesn't work... Müzik is the Turkish translation of Music in English.. So the directory's name is right.. I don't know why the log writes like that..

If I try to login with smbclient command it says this:

[00:06] (tunix@penguix ~)$ smbclient \\tunix\emule
Password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.22]
smb: >

[00:06] (tunix@penguix ~)$ smbclient \\tunix\Muzik
Password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.22]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

emule directory is on a ext3 partition (which is the root partition of Linux)
Muzik is a directory on a fat32 partition in which I'm right now listening to my music..


Quis custodiet ipsos custodiet?

Offline

#10 2006-06-07 15:13:57

T-u-N-i-X
Member
From: İstanbul
Registered: 2006-03-14
Posts: 435
Website

Re: Samba: No Such File or Directory ? Strange Problem..

The problem remains the same... Nobody helps and the problem continues to be occured for almost 1,5 month..! Nobody here knows why these happen ? Nobody here using Samba with FAT32 partitions ?


Quis custodiet ipsos custodiet?

Offline

#11 2006-06-07 17:33:39

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,615
Website

Re: Samba: No Such File or Directory ? Strange Problem..

change the name of the directory. not Muzic, or whatever..
change all references from Muzic to muzic, both in samba config, and in the filesystem.

Then try again.


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

Board footer

Powered by FluxBB