Welcome to Geeklog, Anonymous Tuesday, December 24 2024 @ 08:52 pm EST
Geeklog Forums
DB Backup Error
Anonymous
Anonymous
I am unable to run the db backup function. I am getting the following error:
Warning: exec() [function.exec]: Unable to fork [c:/mysql/bin/mysqldump.exe -hlocalhost -umyuser -pmypassword mydb > C:/inetpub/geeklog/backups/geeklog_db_backup_2003_05_27.sql] in C:....admindatabase.php on line 76
I've tried checking permissions on the directories and they look ok. I've tried to run the exact same command from the command line and it runs ok.
My environment is NT2K, IIS, runtime version of php.
Does anyone have any ideas why this may be happening? Does it have to do with anything in php.ini with forking processes?
Any help would be appreciated.
Thanks
7
5
Quote
Anonymous
Anonymous
It's happening because you don't have permission set up correctly to run the exec command from a script. I don't run an IIS server so I can't tell you where to fix this. Perhaps someone else knows or you can look in the manual.
6
7
Quote
Anonymous
Anonymous
ok, I thought it might be something like that too, thats the reason why I mention php.ini I am not running in safe mode so I don't know where else to check.
Anyone got any ideas?
7
6
Quote
Anonymous
Anonymous
Ok, I'll try checking IIS settings next.
5
5
Quote
All times are EST. The time is now 08:52 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