|Apr 9, 2010, 05:36 PM||#1|
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://backup:email@example.com/backup $mount_path", $mount_output);
I have a full script posted at the following link if anyone feels it would help
|Thread Tools||Search this Thread|
|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.