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

Latest Plesk 8 update breaks things

Discussion in 'Plesk for Linux - 8.x and Older' started by Pagemakers, May 16, 2006.

  1. Pagemakers

    Pagemakers Silver Pleskian

    31
    80%
    Joined:
    Dec 19, 2007
    Messages:
    664
    Likes Received:
    7
    Just done the latest Plesk 8 update that became available this morning. Now horde has stopped working as well as all of my 4PSA applications.
     
  2. jusu313

    jusu313 Guest

    0
     
    You are correct. I just upgraded one server running Plesk 8 and webmail no longer works.
     
  3. kturby

    kturby Guest

    0
     
    Same here. Anyone know how to get it (webmail) up again?
     
  4. jusu313

    jusu313 Guest

    0
     
    Run this guys:
    /usr/local/psa/admin/bin/websrvmng -a
     
  5. kturby

    kturby Guest

    0
     
    Thank you, thank you! I did that and restarted httpd.

    It's back up.
     
  6. Pagemakers

    Pagemakers Silver Pleskian

    31
    80%
    Joined:
    Dec 19, 2007
    Messages:
    664
    Likes Received:
    7
    Thanks, this works, but what does the command actually do? What did the Plesk update do to break things?
     
  7. Pagemakers

    Pagemakers Silver Pleskian

    31
    80%
    Joined:
    Dec 19, 2007
    Messages:
    664
    Likes Received:
    7
    Plesk told me "It seems that old config files for apache are the reason. Since Plesk 8.0 a file /etc/httpd/conf/httpd.include was moved to /etc/httpd/conf.d/zz010_psa_httpd.conf"
     
  8. Angels

    Angels Guest

    0
     
    Have the same issues as descriped. My 4PSA Tools are still broken (i guess the apache alias are not definied anymore)

    ... any idea how i can solve that issue?
     
  9. Pagemakers

    Pagemakers Silver Pleskian

    31
    80%
    Joined:
    Dec 19, 2007
    Messages:
    664
    Likes Received:
    7
    Got mine sorted. You need to go the 4PSA website and re-download and install the apps again.
     
  10. Angels

    Angels Guest

    0
     
    Thats something i don't want to do. Reinstalling is not a solution in my humble oppinion. I reinstalled the past days plesk8 over and over again because something got ****ed by something (f.e. removing spamassassin)

    ... i am tired of this procedure.

    Wrote the 4psa support, maybe they have an other solution :)
     
  11. Pagemakers

    Pagemakers Silver Pleskian

    31
    80%
    Joined:
    Dec 19, 2007
    Messages:
    664
    Likes Received:
    7
  12. Angels

    Angels Guest

    0
     
  13. verybad

    verybad Guest

    0
     
    my plesk is broken after last update, each domain shows a apache default page for fedora core 4. Can anyone help?
     
  14. chillax

    chillax Guest

    0
     
    Having the same issue:

    After update all my domains show a default server noindex page (aka Red Hat Enterprise Test Page).

    Any solutions are appreciated.
     
  15. chillax

    chillax Guest

    0
     
    I am thinking the following file:

    /etc/httpd/conf.d/zz010_psa_httpd.conf

    Didn't get rebuilt completely as it only contains:

    ServerName myservername.com

    If someone could be so kind as to post what is in there file if it is more than just the servername that would be fantastic.
     
  16. session9

    session9 Guest

    0
     
    You are correct, /etc/httpd/conf.d/zz010_psa_httpd.conf
    should contain more. I was having same problem, i checked the file and it contained the one line mentioned above.

    What i did to resolve this issue, was to create a test domain with standard forwarding, which in turn rebuilt the above mentioned file.

    My file is now quite big, and cant really be posted, but i will post the format it should take
     
  17. session9

    session9 Guest

    0
     
    <b>This is the format that your file should look</b>

    NameVirtualHost 00.00.00.1:80
    NameVirtualHost 00.00.00.2:80
    NameVirtualHost 00.00.00.1:443
    NameVirtualHost 00.00.00.2:443
    ServerName AccountNo.domain-name.info
    ServerAdmin info@domain.co.uk

    DocumentRoot /var/www/vhosts/default/htdocs

    <IfModule mod_logio.c>
    LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" plesklog
    </IfModule>
    <IfModule !mod_logio.c>
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" plesklog
    </IfModule>
    <Directory "/var/www/vhosts">
    AllowOverride All
    Options SymLinksIfOwnerMatch
    Order allow,deny
    Allow from all
    <IfModule sapi_apache2.c>
    php_admin_flag engine off
    </IfModule>
    <IfModule mod_php5.c>
    php_admin_flag engine off
    </IfModule>
    </Directory>

    <Directory "/usr/lib/mailman">
    AllowOverride All
    Options SymLinksIfOwnerMatch
    Order allow,deny
    Allow from all
    <IfModule sapi_apache2.c>
    php_admin_flag engine off
    </IfModule>
    <IfModule mod_php5.c>
    php_admin_flag engine off
    </IfModule>
    </Directory>

    <IfModule mod_userdir.c>
    UserDir disabled
    </IfModule>
    Include /var/www/vhosts/domain.co.uk/conf/httpd.include

    <VirtualHost \
    00.00.00.1:80 \
    00.00.00.2:80 \
    >
    ServerName default
    UseCanonicalName Off
    DocumentRoot /var/www/vhosts/default/htdocs
    ScriptAlias /cgi-bin/ "/var/www/vhosts/default/cgi-bin/"
    <IfModule mod_ssl.c>
    SSLEngine off
    </IfModule>
    <Directory "/var/www/vhosts/default/cgi-bin/">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    </Directory>
    <Directory /var/www/vhosts/default/htdocs>
    <IfModule sapi_apache2.c>
    php_admin_flag engine on
    php_admin_flag safe_mode on
    php_admin_value open_basedir "/var/www/vhosts/default/htdocs:/tmp"
    </IfModule>
    <IfModule mod_php5.c>
    php_admin_flag engine on
    php_admin_flag safe_mode on
    php_admin_value open_basedir "/var/www/vhosts/default/htdocs:/tmp"
    </IfModule>
    </Directory>
    </VirtualHost>


    <IfModule mod_ssl.c>

    <VirtualHost 00.00.00.1:443 >
    ServerName default-00-00-00-2
    UseCanonicalName Off
    DocumentRoot /var/www/vhosts/default/httpsdocs
    ScriptAlias /cgi-bin/ "/var/www/vhosts/default/cgi-bin/"
    SSLEngine on
    SSLVerifyClient none
    SSLCertificateFile /usr/local/psa/var/certificates/cert-HSJ8Xg
    <Directory "/var/www/vhosts/default/cgi-bin/">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    </Directory>
    <Directory /var/www/vhosts/default/httpsdocs>
    SSLRequireSSL
    </Directory>
    </VirtualHost>

    <VirtualHost 00.00.00.2:443 >
    ServerName default-00-00-00-2
    UseCanonicalName Off
    DocumentRoot /var/www/vhosts/default/httpsdocs
    ScriptAlias /cgi-bin/ "/var/www/vhosts/default/cgi-bin/"
    SSLEngine on
    SSLVerifyClient none
    SSLCertificateFile /usr/local/psa/var/certificates/cert-HSJ8Xg
    <Directory "/var/www/vhosts/default/cgi-bin/">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    </Directory>
    <Directory /var/www/vhosts/default/httpsdocs>
    SSLRequireSSL
    </Directory>
    </VirtualHost>

    </IfModule>

    <VirtualHost \
    00.00.00.1:80 \
    00.00.00.2:80 \
    >
    DocumentRoot /usr/share/psa-horde/
    Alias /horde/ /usr/share/psa-horde/
    Alias /imp/ /usr/share/psa-horde/imp/
    ServerName webmail
    ServerAlias webmail.*
    UseCanonicalName Off
    <Directory /usr/share/psa-horde>
    <IfModule sapi_apache2.c>
    php_admin_flag engine on
    php_admin_flag magic_quotes_gpc off
    php_admin_flag safe_mode off
    php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/log/psa-horde:/usr/share/doc"
    php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/pear:."
    </IfModule>
    <IfModule mod_php5.c>
    php_admin_flag engine on
    php_admin_flag magic_quotes_gpc off
    php_admin_flag safe_mode off
    php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/log/psa-horde:/usr/share/doc"
    php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/pear:."
    </IfModule>
    Order allow,deny
    Allow from all
    </Directory>
    </VirtualHost>


    <IfModule mod_ssl.c>

    <VirtualHost \
    00.00.00.1:443 \
    00.00.00.2:443 \
    >
    DocumentRoot /usr/share/psa-horde/
    Alias /horde/ /usr/share/psa-horde/
    Alias /imp/ /usr/share/psa-horde/imp/
    ServerName webmail
    ServerAlias webmail.*
    UseCanonicalName Off
    SSLEngine on
    SSLVerifyClient none
    SSLCertificateFile /etc/httpd/conf/httpd.pem
    <Directory /usr/share/psa-horde>
    <IfModule sapi_apache2.c>
    php_admin_flag engine on
    php_admin_flag magic_quotes_gpc off
    php_admin_flag safe_mode off
    php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/log/psa-horde:/usr/share/doc"
    php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/pear:."
    </IfModule>
    <IfModule mod_php5.c>
    php_admin_flag engine on
    php_admin_flag magic_quotes_gpc off
    php_admin_flag safe_mode off
    php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/log/psa-horde:/usr/share/doc"
    php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/pear:."
    </IfModule>
    SSLRequireSSL
    Order allow,deny
    Allow from all
    </Directory>
    </VirtualHost>


    </IfModule>

    <VirtualHost \
    00.00.00.1:80 \
    00.00.00.2:80 \
    >
    DocumentRoot /var/www/vhosts/default/htdocs
    ServerName lists
    ServerAlias lists.*
    UseCanonicalName Off
    ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/
    Alias /icons/ /var/www/icons/
    Alias /pipermail/ /var/lib/mailman/archives/public/
    <Directory /usr/lib/mailman/archives/>
    Options FollowSymLinks
    </Directory>
    </VirtualHost>


    <IfModule mod_ssl.c>

    <VirtualHost \
    00.00.00.1:443 \
    00.00.00.2:443 \
    >
    DocumentRoot /var/www/vhosts/default/httpsdocs
    ServerName lists
    ServerAlias lists.*
    UseCanonicalName Off
    ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/
    Alias /icons/ /var/www/icons/
    Alias /pipermail/ /var/lib/mailman/archives/public/
    <Directory /usr/lib/mailman/archives/>
    Options FollowSymLinks
    </Directory>
    </VirtualHost>


    </IfModule>

    Include /var/www/vhosts/domainname.com/conf/httpd.include

    Include /var/www/vhosts/domainname.info/conf/httpd.include

    Include /var/www/vhosts/anothername.com/conf/httpd.include



    <VirtualHost 82.165.36.122:80>
    ServerName a-domain-name.com
    ServerAlias www.a-domain-name.com
    ServerAdmin "sales@a-domain-name.com"
    RedirectPermanent / "http://www.a-domain-name.co.uk/"
    </VirtualHost>
     
  18. chillax

    chillax Guest

    0
     
    Thanks, I did get it fixed last night by rebuilding all virtual hosts using:

    /usr/local/psa/admin/bin/websrvmng -a

    For some reason, when I was trying to do:

    /usr/local/psa/admin/bin/websrvmng -ar

    It was not getting the job done.
     
  19. phatPhrog

    phatPhrog Guest

    0
     
    Our sites went to the default page, but after an apache restart all was back to normal.

    Although overkill we stopped and restarted psa as well and have found no problems throughout.

    Webmail works fine as well too.

    We're on a 1and1 server, too, which as all 1n1 clients knows, upgrades can be a bit tedious.
     
  20. JLChafardet

    JLChafardet Regular Pleskian

    26
    57%
    Joined:
    Feb 20, 2004
    Messages:
    379
    Likes Received:
    0
    Location:
    Caracas - Venezuela
    I applied this latest patch yesterday, after 5 mins of applied, I noticed webmail gone, just by guessing, I ran

    /usr/local/psa/admin/bin/websrvmng -a

    and then restarted apache.

    problem solved. apparently the latest patch doesnt run it, or changes something.

    further the webmail problem I havent had any other issue, and if I had, was solved by the reconfiguration script.

    regards,
     
Loading...