image
image

|


Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old June 23rd, 2005, 07:05 AM
Registered User
 
Join Date: Dec 2000
Location: Gaithersburg, Maryland
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
DominikHoffmann is on a distinguished road
mount_webdav not playing nice

This is sort of a blog of my struggle with mount_webdav. The purpose of making this work is to have a cron job that invokes rsync periodically and has it mirror a directory on my server to a remote WebDAV server (not a .Mac iDisk), to which I have write access.

Setup: I have a file called "Password" which contains user ID and password for the WebDAV server in the format specified in man mount_webdav. I used emacs to enter the null characters in the long integers specifying the string lengths of user ID and password. I then (credit goes to a post at Mac OS X Hints) issue the calls, as root,
Code:
mkdir /Volumes/ft1 
cat Password | mount_webdav -a0 http://ft1.mydomain.com/dir1/dir2 /Volumes/ft1
Now, when I try to
Code:
ls -la /Volumes/ft1
to see what mounted I get an error
Code:
ls: /Volumes/ft1: Input/output error
and
Code:
cd /Volumes/ft1
results in
Code:
could not get current directory: getcwd: cannot access parent directories: Input/output error
What I then have to do is issue the commands
Code:
mount -f -t webdav /Volumes/ft1 
rmdir /Volumes/ft1
to unmount the volume, which apparently was never really mounted. Using GUI WebDAV clients like Goliath or Transmit there is no problem with mounting the server, which is running on a Linux box, by the way. Thus I know that it's not the server's fault.

Interestingly, the system.log contains these lines from the time during which I attemted the WebDAV mount:
Code:
Jun 9 22:26:41 xserve webdavd[473]: /Volumes/ft1 mounted 
Jun 9 22:26:41 xserve webdavd[473]: main: accept(): Socket operation on non-socket
Interestingly these entries were in 24-h GMT format, while all other system.log entries were Eastern time.

I am stuck. I really don't know how to proceed, but I would very much want to get this to work. Any suggestions are appreciated.
Reply With Quote
  #2  
Old July 15th, 2005, 10:42 AM
Registered User
 
Join Date: Jul 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
awolfe_ii is on a distinguished road
What's your OSX version? I just upgraded to Tiger and it broke my access to a nice LAMP/webdav setup I had working under Panther.
Reply With Quote
  #3  
Old July 15th, 2005, 10:50 AM
Registered User
 
Join Date: Dec 2000
Location: Gaithersburg, Maryland
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
DominikHoffmann is on a distinguished road
My system is 10.3.9. However, mount_webdav is supposed to be different in Tiger.

Dominik Hoffmann
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 03:05 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.