Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 07:41 pm EST

Geeklog Forums

Problem with DB backup run within GL


Status: offline

spazthecat

Forum User
Newbie
Registered: 07/14/06
Posts: 14
Hi,

When I try to run a DB backup from the admin functions in GL I get the following error:

"Incorrect path or mysqldump utility not executable.
Check $_DB_mysqldump_path definition in config.php.
Variable currently defined as: /usr/bin/mysqldump"

The path for mysqldump is correct and it's permissions are set to 755. So, I can execute it outside of GL.

I'm running GL 1.4.0sr5-1

I also get the following PHP error at the top of the page in addition to the GL error above.

"Warning: is_executable() [function.is-executable]: open_basedir restriction in effect. File(/usr/bin/mysqldump) is not within the allowed path(s): (/home/spazbla3:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/spazbla3/public_html/admin/database.php on line 161"

I started with my hosting provider, they claim it is an issue GL.

Any info for correcting this would be appreciated.

Andy
 Quote

Status: offline

jmucchiello

Forum User
Full Member
Registered: 08/29/05
Posts: 985
That looks far more like an issue with your hosting provider than an issue with GL. open_basedir is a PHP thing. Make a file that basically looks like this:
Text Formatted Code
<?PHP
echo is_executable('/usr/bin/mysqldump');
?>
and I bet you get the same error. If you get the same error, open a new ticket with your host using this code.
 Quote

Status: offline

spazthecat

Forum User
Newbie
Registered: 07/14/06
Posts: 14
Thanks for the help. It was a PHP issue. mysqldump was not in the allowable path for PHP.

Andy
 Quote

All times are EST. The time is now 07:41 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