1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Big problem while migrate domains - statistics shows error 500

Discussion in 'Plesk for Linux - 8.x and Older' started by frank-maik, Mar 21, 2008.

  1. frank-maik

    frank-maik Guest

    i have a big problem

    i have migrated several domains form plesk 7.5 to plesk 8.3 (other server)

    from this time on absolutely no statistics (awstats or webalizer) are shown -> error 500

    i just discovered that the server resetted for all domains the rights for several folders of each domain (httpdocs,httpsdocs,statistics etc.) - all "read"-rights were eliminated for this folders. as i setted it now to enabled again the site is ok but no ststistics -> error 500

    waht could this be ? is there a possibility to solve this ?
  2. Satoriya

    Satoriya Guest

    Please, make sure that these domains are resolved to one of IP addresses belong to Plesk server.

    1) If you recently upgraded apache make sure that you did not replace the psa provided suexec with the one that came with httpd-suexec.

    if you did, its easy to fix

    # chattr -i /usr/sbin/suexec
    # cp --reply=y /usr/local/psa/suexec/psa-suexec /usr/sbin/suexec
    # chown root:apache /usr/sbin/suexec
    # chmod 4510 /usr/sbin/suexec

    2) Also, make sute that AWstats directory staructure that is set in Plesk configuration file is correct:
    #grep -i awstats /etc/psa/psa.conf
    AWSTATS_ETC_D /etc/awstats
    AWSTATS_TOOLS_D /usr/share/awstats
    AWSTATS_DOC_D /var/www/html/awstats
    AWSTATS_BIN_D /usr/share/awstats/wwwroot/cgi-bin

    # find / -name 'awstats'

    If some of paths in /etc/psa/psa.conf is incorrect, setup right paths and run statistics calculation for one of the domain manually:

    # /usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=domain.com > /tmp/stat_log 2>&

    After finishing, you can check /tmp/stat_log to see if there are any error messages during statistics calculation.