Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 03:05 pm EST

Geeklog Forums

Help Backup issue


Tom

Anonymous
Here is the error message I get when I attempt to backup my database through geeklog:

Warning: exec(): Unable to fork [c:/mysql/bin/mysqldump -hlocalhost -uroot -Q MyDatabase > C:/Inetpub/MyWebSite/backups/geeklog_db_backup_2003_12_20.sql] in C:InetpubMyWebSitepublic_htmladmindatabase.php on line 82


I ran the code it generated in a command prompt (i sent the database dump command to the error log) and everything worked fine:

mysqldump -hlocalhost -uroot -Q MyDatabase > C:/Inetpub/MyWebSite/backups/geeklog_db_backup_2003_12_20.sql

What does "Unable to fork" mean??

Tom
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
It means that PHP wasn't able to start mysqldump. When calling mysqldump from Geeklog, mysqldump will be running in the web server's user context. It's possible that that is not allowed (depending on the server setup).

Try asking your hosting service for help.

bye, Dirk
 Quote

Tom

Anonymous
The website and database are on my own Windows XP setup. I did give read,list,execute permissions on the bin directory of mysql for the IIS anonymous user. Can anyone with PHP and IIS experience shed any more light on this

Thanks

Tom
 Quote

All times are EST. The time is now 03:05 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content