errors trying to mount on MacOS X #1

Open
pymonger opened this Issue Apr 26, 2012 · 6 comments

6 participants

@pymonger

Hi,

I installed the latest version of the module and have the following configuration:

        location / {

                dav_methods PUT DELETE MKCOL COPY MOVE;
                dav_ext_methods PROPFIND OPTIONS;

                root /data/public/;
        }

When I try to mount it on my mac, it does so successfully but I'm not able to write anything. Here are the errors:

2012/04/26 10:18:05 [alert] 24161#0: *4 dav_ext stat failed on '/data/public/._.' (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "PROPFIND /._. HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:05 [error] 24161#0: *5 open() "/data/public/._." failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /._. HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:05 [alert] 24161#0: *4 dav_ext stat failed on '/data/public/mach_kernel' (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "PROPFIND /mach_kernel HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:05 [alert] 24161#0: *4 dav_ext stat failed on '/data/public/._.' (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "PROPFIND /._. HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:05 [error] 24161#0: *5 open() "/data/public/._." failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /._. HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:05 [alert] 24161#0: *4 dav_ext stat failed on '/data/public/System' (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "PROPFIND /System HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:05 [alert] 24161#0: *4 dav_ext stat failed on '/data/public/autoexec.bat' (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "PROPFIND /autoexec.bat HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:05 [alert] 24161#0: *4 dav_ext stat failed on '/data/public/Windows' (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "PROPFIND /Windows HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:05 [alert] 24161#0: *4 dav_ext stat failed on '/data/public/Backups.backupdb' (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "PROPFIND /Backups.backupdb HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:05 [alert] 24161#0: *4 dav_ext stat failed on '/data/public/._.' (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "PROPFIND /._. HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:06 [error] 24161#0: *5 open() "/data/public/._." failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /._. HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:06 [alert] 24161#0: *4 dav_ext stat failed on '/data/public/.Spotlight-V100' (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "PROPFIND /.Spotlight-V100 HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:06 [alert] 24161#0: *5 dav_ext stat failed on '/data/public/Backups.backupdb' (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "PROPFIND /Backups.backupdb HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:06 [alert] 24161#0: *4 dav_ext stat failed on '/data/public/._.' (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "PROPFIND /._. HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:06 [alert] 24161#0: *4 dav_ext stat failed on '/data/public/.metadata_never_index' (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "PROPFIND /.metadata_never_index HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:06 [error] 24161#0: *4 open() "/data/public/._." failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /._. HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:06 [alert] 24161#0: *4 dav_ext stat failed on '/data/public/._.' (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "PROPFIND /._. HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:06 [error] 24161#0: *4 open() "/data/public/._." failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /._. HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:06 [alert] 24161#0: *4 dav_ext stat failed on '/data/public/._.' (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "PROPFIND /._. HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:06 [error] 24161#0: *4 open() "/data/public/._." failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /._. HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:06 [alert] 24161#0: *5 dav_ext stat failed on '/data/public/._Backups.backupdb' (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "PROPFIND /._Backups.backupdb HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:06 [error] 24161#0: *4 open() "/data/public/._Backups.backupdb" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /._Backups.backupdb HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:06 [alert] 24161#0: *5 dav_ext stat failed on '/data/public/._.' (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "PROPFIND /._. HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:06 [error] 24161#0: *5 open() "/data/public/._." failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /._. HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:06 [alert] 24161#0: *4 dav_ext stat failed on '/data/public/._Backups.backupdb' (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "PROPFIND /._Backups.backupdb HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:06 [error] 24161#0: *4 open() "/data/public/._Backups.backupdb" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /._Backups.backupdb HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:06 [alert] 24161#0: *5 dav_ext stat failed on '/data/public/._.' (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "PROPFIND /._. HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:06 [error] 24161#0: *4 open() "/data/public/._." failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /._. HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:06 [alert] 24161#0: *4 dav_ext stat failed on '/data/public/.DS_Store' (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "PROPFIND /.DS_Store HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:07 [alert] 24161#0: *4 dav_ext stat failed on '/data/public/._.DS_Store' (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "PROPFIND /._.DS_Store HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:07 [error] 24161#0: *4 open() "/data/public/._.DS_Store" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /._.DS_Store HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:07 [alert] 24161#0: *4 dav_ext stat failed on '/data/public/._.DS_Store' (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "PROPFIND /._.DS_Store HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:07 [error] 24161#0: *4 open() "/data/public/._.DS_Store" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /._.DS_Store HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:07 [error] 24161#0: *4 open() "/data/public/.DS_Store" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /.DS_Store HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:07 [alert] 24161#0: *4 dav_ext stat failed on '/data/public/._Backups.backupdb' (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "PROPFIND /._Backups.backupdb HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:07 [error] 24161#0: *5 open() "/data/public/._Backups.backupdb" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /._Backups.backupdb HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:07 [alert] 24161#0: *4 dav_ext stat failed on '/data/public/._.' (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "PROPFIND /._. HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:07 [alert] 24161#0: *4 dav_ext stat failed on '/data/public/._Backups.backupdb' (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "PROPFIND /._Backups.backupdb HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:07 [error] 24161#0: *4 open() "/data/public/._." failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /._. HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:07 [error] 24161#0: *5 open() "/data/public/._Backups.backupdb" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /._Backups.backupdb HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:07 [alert] 24161#0: *4 dav_ext stat failed on '/data/public/._.' (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "PROPFIND /._. HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:07 [error] 24161#0: *4 open() "/data/public/._." failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /._. HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:07 [alert] 24161#0: *4 dav_ext stat failed on '/data/public/._.' (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "PROPFIND /._. HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:07 [error] 24161#0: *4 open() "/data/public/._." failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /._. HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:12 [alert] 24161#0: *4 dav_ext stat failed on '/data/public/._.' (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "PROPFIND /._. HTTP/1.1", host: "localhost:5001"
2012/04/26 10:18:12 [error] 24161#0: *4 open() "/data/public/._." failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /._. HTTP/1.1", host: "localhost:5001"

Is there something wrong in my configuration?

Thanks,

Gerald

@arut
Owner

Hi,

Do the accessed files really exist in your root?
I mean "/data/public/._.", "/data/public/._Backups.backupdb" etc
Are file permissions good?

If that't all ok then try setting root to a different (initially empty) folder and try accessing it. The add something really simple (one file with a simple name and all-permissive access mode) and try again.

Roman

@deadElk

it's an Mac OS X issue. OS trying to access service files

http://en.wikipedia.org/wiki/.DS_Store
and other mac-os-x-specific service files

@ace-of-magic

простите за некропост. такая же ситуация. при тех же ошибках не удается с макоси подключиться на запись.
на чтение все работает.

@arut
Owner

Макось требует class-2 - поддержку блокировок. Ее нет. У меня есть наработки в бранче lock. По причине отсутствия у меня макоси в свое время я отложил эту задачу. Вернусь к ней когда будет возможность.

@jordanbs

Also on OS X. I can mount the root directory using the finder (command k -> http://davserver:port), and list the files in the root directory, but I can't navigate to any child directories.

@sloonz

http://forums.iis.net/t/1148163.aspx/1

MacOS X client seems to require LOCK and UNLOCK support for writing on a WebDAV mount (probably a bit more, since it requires a class 2 DAV server, as defined in http://tools.ietf.org/html/rfc2518#page-75)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment