Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21
  1. #11
    Join Date
    Feb 2006
    Posts
    39
    Plugin Contributions
    0

    Default Re: Help: Backup mysql problem

    thank you for the time and info.

    I have a ticket into them with this info , I think I have a basic idea of what might be happening. they insist I should use the path

    /usr/bib/mysqldump

    I'll see what they say,

    thanks

    Mach

    If you learn by making mistakes, then I'm learning a hell of a lot.

    Http://octagonwebworks.com

  2. #12
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Help: Backup mysql problem

    lol ... they're right ... you "should" use that path.
    It would seem that the command-line environment they're offering you doesn't allow that.

    However, try this for kicks...

    1. open the backup_mysql screen
    2. click on Backup
    3. edit the URL and add this to the end of it:
    Code:
    &debug=ON
    ...and press Enter
    4. now click the backup button on the sidebox

    Post the debug info from the top of the screen here.... without your passwords of course.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #13
    Join Date
    Feb 2006
    Posts
    39
    Plugin Contributions
    0

    Default Re: Help: Backup mysql problem

    Checking Path: /usr/bin/



    COMMAND FILES SELECTED:
    mysqlexe="/usr/bin/mysql"

    mysqldumpexe="/usr/bin/mysqldump"


    COMMAND: "/usr/bin/mysqldump" "--host=localhost" "--user=xuserx" "--password=xpwdx" --opt --complete-insert "--result-file=/home/xxx/public_html/adminxxxxx/backups/db_xdbx-20060904201447.sql" xdbx 2>&1
    Result code: 127
    valueA:
    valueB:
    ERROR: Could not locate the MYSQLDUMP backup utility. BACKUP FAILED.

    Mach

    If you learn by making mistakes, then I'm learning a hell of a lot.

    Http://octagonwebworks.com

  4. #14
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Help: Backup mysql problem

    Okay ... the tool is attempting to run the binary from the prescribed location, but the PHP security settings for chroot are preventing it from happening as required.

    It's all up to your host now ...
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #15
    Join Date
    Feb 2006
    Posts
    39
    Plugin Contributions
    0

    Default Re: Help: Backup mysql problem

    Quote Originally Posted by DrByte
    Okay ... the tool is attempting to run the binary from the prescribed location, but the PHP security settings for chroot are preventing it from happening as required.

    It's all up to your host now ...

    Thank you very much! Now I know what to show them and tell them.

    Mach

    If you learn by making mistakes, then I'm learning a hell of a lot.

    Http://octagonwebworks.com

  6. #16
    Join Date
    Feb 2006
    Posts
    39
    Plugin Contributions
    0

    Default Re: Help: Backup mysql problem

    maybe they are working on it, because now I get this:



    PHP-Disabled-functions: ini_alter,system,passthru,shell_exec,leak,listen,chgrp,apache_setenv,define_sysl og_variables,openlog,syslog,ftp_exec

    Mach

    If you learn by making mistakes, then I'm learning a hell of a lot.

    Http://octagonwebworks.com

  7. #17
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Help: Backup mysql problem

    If that message is being displayed by the backup_mysql, note that sometimes it's a misnomer ... there's a tiny error in the logic that displays the message, in that it doesn't always detect only what it's supposed to.

    You're only concerned if "exec" is disabled. "shell_exec" is not used by this script, so is not a problem. Thus, if "exec" itself is not listed, you should be able to run it (assuming the host has fixed everything else properly too)
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #18
    Join Date
    Feb 2006
    Posts
    39
    Plugin Contributions
    0

    Default Re: Help: Backup mysql problem

    well, they haven't fixed anything yet. they say they need a way to execute the scripts to produce the error on their end. I am relunctant to give them an admin user name and password, but maybe I should. It's not that I don't trust them.....but my customers details are in there.

    Mach

    If you learn by making mistakes, then I'm learning a hell of a lot.

    Http://octagonwebworks.com

  9. #19
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Help: Backup mysql problem

    you could set up a demo site for them, with the backup addon installed ...
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  10. #20
    Join Date
    Feb 2006
    Posts
    39
    Plugin Contributions
    0

    Default Re: Help: Backup mysql problem

    Dr. Byte,

    I can't thank you enough! Because of you I sounded like I almost knew what i was talking about and they didn't just blame it on a third party script and looked into it and fixed it.

    Thank you. They haven't told me what the problem was though, I asked, and I bet they installed the exec_dir patch on php to chroot requests to binaries and didn't have the permissions set right, like you said.
    Thats what i told them i thought the problem was anyway.

    Thanks a bunch!

    Mach

    If you learn by making mistakes, then I'm learning a hell of a lot.

    Http://octagonwebworks.com

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Backup MySQL mod v1.4 - problem
    By Earnest-Enterprises in forum All Other Contributions/Addons
    Replies: 11
    Last Post: 22 Nov 2010, 01:45 AM
  2. Database Backup Manager - MySQL: problem
    By pixelwrangler in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 24 Nov 2009, 10:25 PM
  3. Backup MySQL Plug-in - install problem
    By pixelwrangler in forum All Other Contributions/Addons
    Replies: 19
    Last Post: 4 May 2009, 07:07 PM
  4. Backup MySQL mod - Windows 2003 problem
    By metafizx in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 2 Jul 2007, 07:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg