input/output error

Help
Matt - Zee
2006-03-24
2013-04-16
  • Matt - Zee
    Matt - Zee
    2006-03-24

    I have apache-2.0.5 installed in a Windows machine, and try to access an webdav folder. It works with just a browser and with KDE's dav:// protocol (except that files with non ASCII characters are not showing correctly). With mount.davfs, it mounts with no error, but when i try to ls the folder, I have:

    # ls
    WebDAV Enabled??
    ls: .: Input/output error

     
    • Werner Baumann
      Werner Baumann
      2006-03-25

      Hello,

      "WebDAV Enabled??":
      davfs2 has send a PROPFIND request to the server and the server answered with "405 Method Not Allowed".
      I see two propable reasons:
      - the server does not know the WebDAV extensions at all
      - the server does not allow WebDAV access for this user

      Please look at th log files of the server (access.log and error.log) to get more information, why the server refuses to serve this request. You might also revisit your server configuration, especially configuration of the WebDAV module. But there may also be <files>-sections that prevent access.

      You can acces the server with a browser, as browsers only use the standard HTTP requests, and not the WebDAV extensions to the protocoll. I don't know how KDE, Konqueror, Nautilus and the like exactly work. But they surely use a combination of standard HTTP and WebDAV extensions. So they might get e.g. a directory listing even from a non WebDAV server. But davfs2 only works with servers that accept and serve the basic WebDAV extensions to HTTP.

      Greetings
      Werner

       
    • Matt - Zee
      Matt - Zee
      2006-05-02

      I have found no new entries to error.log and the relevent lines in access.log is:

      71.136.35.197 - - [01/May/2006:21:48:18 -0700] "OPTIONS /davfiles/ HTTP/1.1" 401 514
      71.136.35.197 - davuser [01/May/2006:21:48:18 -0700] "OPTIONS /davfiles/ HTTP/1.1" 200 -
      71.136.35.197 - davuser [01/May/2006:21:48:18 -0700] "PROPFIND /davfiles/ HTTP/1.1" 207 668
      71.136.35.197 - davuser [01/May/2006:21:48:18 -0700] "PROPFIND /davfiles/ HTTP/1.1" 207 668
      71.136.35.197 - - [01/May/2006:21:48:21 -0700] "PROPFIND /davfiles HTTP/1.1" 405 344

       
    • Matt - Zee
      Matt - Zee
      2006-05-02

      btw, I also found that this has nothing to do really with filename being non-ascii. Same problem occurs for ascii-only filename directory.