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


Discussion in 'Plesk for Linux - 8.x and Older' started by mmcbee, Sep 5, 2005.

  1. mmcbee

    mmcbee Guest

    Anyone know how one can rename a file appened in such a way

    I want to try to use one of the suexec files for none of my PERL scripts work after Reload update and the logs all say failed to open log file /var/log/httpd/suexec_log
    access denied or Premature end of script headers: script name suexec: Error: MIGRATION_STORAGE_D not defined

    I have run out of suexec to try unless I can try one of ones that end with a date time stamp

    Any help would be arreciated in renaming the file(s)


  2. jamesyeeoc

    jamesyeeoc Guest

    Try putting quotes around the filename containing the time/date:

    cp 'suexec.saved_by_psa.05.31;01:08' suexec
  3. mmcbee

    mmcbee Guest

    that allowed me to copy the file. Did not fix the problem but I learned something

    Thank you James

  4. jamesyeeoc

    jamesyeeoc Guest

    Had you at some time in the past used the Migration Manager and had problems?

    "Error: MIGRATION_STORAGE_D not defined" - This variable (in /etc/psa/psa.conf) I believe is defined as "MIGRATION_STORAGE_D /usr/local/psa/PMM/archives" if you have run the MM.

    I'm not a Perl coder, so I have no other suggestions on where else to look :(
  5. mmcbee

    mmcbee Guest

    No that really was not the problem. In fact your suggestins help het some of my scripts to work

    I did a full yum update last week and most of my scripts worked

    psa 7.5.3 FC 3, but after checking all my domains some of the scripts work and some do not

    For instance I have installed awstats on some domains and they work. But I have scripts on the same domains the do not and the produce error
    failed to open log file /var/log/httpd/suexec_log
    fopen: Permission denied
    Premature end of script headers: somescript.pl

    All permissiosn are correct, user and groups are correct, sid on suexec is correct.

    What has got me stumped is why does awstats.pl work and other scripts do not?

    One domain uses RewriteEngine, its trying to download with the error "Internet Explorer Cannot Download"

    I am at a loss