BackupPC "500 server error" and "command not in docroot "

Discussion in 'Installation/Configuration' started by haluk yildirim, Apr 4, 2012.

  1. haluk yildirim

    haluk yildirim New Member

    Hi,

    I have several ISPConfig 3 on Fedora 14 installations at my customer base. All works very nicely. Recently I have started to install BackupPC which I have used with fedora installations without any problem. But now, after clean ISPConfig 3 Install I get "500 Internal Server Error" with "command not in docroot (/usr/share/BackupPC/sbin/BackupPC_Admin)" error in suexec.log

    suexec -V
    -D AP_DOC_ROOT="/var/www"
    -D AP_GID_MIN=100
    -D AP_HTTPD_USER="apache"
    -D AP_LOG_EXEC="/var/log/httpd/suexec.log"
    -D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin"
    -D AP_UID_MIN=500
    -D AP_USERDIR_SUFFIX="public_html"

    suexec.log....

    [2012-04-04 16:57:05]: uid: (5004/web1) gid: (5005/client1) cmd: BackupPC_Admin
    [2012-04-04 16:57:05]: command not in docroot (/usr/share/BackupPC/sbin/BackupPC_Admin)


    Not much luck from google. what am I doing wrong?
     
    Last edited: Apr 4, 2012
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You receive the error because the site that you use to access backuppc uses suexec and the backuppc installation is outside of the apache docroot. Your other servers must have used mod_php or a similar setup without security checks if you did not had that problem before. Try to switch the php mode to mod_php in the website of the domain that you use to access backupPC.
     
  3. haluk yildirim

    haluk yildirim New Member

    (SOLVED)

    Hi Till,

    Thank you for your quick reply.

    I have disabled the suexec and enabled the MOD-PHP in ispconfig sites tab. and fixed the problem.

    Again.. Thank you very much.

    Haluk
     

Share This Page