Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > OS X > Mac OS X Server, Xserve, and Networking

Thread Tools Search this Thread Display Modes
Old Apr 9, 2010, 05:36 PM   #1
macrumors newbie
Join Date: Apr 2010
mount_afp, crontab, and php problem


I have been having one hell of a time figuring out this one bug. I have been trying to write a script that backups my mysql databases. It worked for the longest time, but now I can an error like this, and I can't seem to figure out why I am getting it.

2010-04-09 17:28:33.812 mount_afp[7458:613] CFPreferences: user home directory at /Library/WebServerBackup/99 is unavailable. User domains will be volatile.
mount_afp: AFPMountURL returned error 1, errno is 1

I am using the crontab to run the script, and that is when it fails. If I run it manually, it works just fine.

The app essentially mounts the drive, copies mysql data to the drive, and then unmounts it.

Can anyone shed some light on what is happening. I am using a php call to mount_afp:

exec("sudo mount_afp -f afp:// $mount_path", $mount_output);

I have a full script posted at the following link if anyone feels it would help
paulstanely45 is offline   0 Reply With Quote

MacRumors Forums > Apple Systems and Services > OS X > Mac OS X Server, Xserve, and Networking

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Erase and Install Problem, Desperate for help! imrealldum iMac 5 Mar 13, 2011 02:02 PM
SScrypto and PHP fernandovalente Mac Programming 0 Jan 4, 2011 10:01 AM
PHP and MySQL problem nick9191 Web Design and Development 3 Nov 29, 2010 07:22 PM
php, mysql, images and BLOB problems Quboid Mac Programming 5 Jul 29, 2008 10:57 AM

All times are GMT -5. The time now is 11:39 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013,, LLC