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

blank page

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by cilla, Jan 17, 2011.

  1. cilla

    cilla Guest

    0
     
    Today unexpectedly all the sites (over 100 sites!!) on the server give blank pages both html pages and php pages, if I call an image .jpg from the web directory I can see it but I cannot see any web page.
    the server is plesk 9.2.1 on suse 11.1, we didn't change anything, all the configurations are the same since 1 year!
    I didn't find any error in log file. the mail server works, webmail of course don't works.
    Some corrupted files of apache?
     
  2. cilla

    cilla Guest

    0
     
    other info:
    the setting of web hosting was "apache module" and in this way the page are blank, now if I change the setting to "FastCGI application" I can see properly the web page.
    webmail still don't works (both horde and atmail).
     
  3. fogelf

    fogelf Regular Pleskian

    23
    37%
    Joined:
    Feb 10, 2010
    Messages:
    103
    Likes Received:
    0
    > we didn't change anything
    Are U sure? It custom php symptoms.
     
  4. cilla

    cilla Guest

    0
     
    Yes, I am sure. I changed the setting to fastcgi after the problem appeared. the change has solved partially because several web sites have scripts that dont't work if I set the domain to fastcgi but if I set to apache module the pages are blank. some suggestion?
     
  5. fogelf

    fogelf Regular Pleskian

    23
    37%
    Joined:
    Feb 10, 2010
    Messages:
    103
    Likes Received:
    0
    show webmail log - /var/log/psa-horde/psa-horde.log (with sick horde.)
     
  6. cilla

    cilla Guest

    0
     
    the log end on 13 january but the problem appeared on 17 january !?!
    anyway these are the last rows:

    Jan 11 10:46:44 HORDE [error] [imp] FAILED LOGIN 123.123.12.12 to localhost:143[imap/notls] as info@domain.xxx [on line 258 of "/usr/share/psa-horde/imp/lib/Auth/imp.php"]
    Jan 11 12:29:37 HORDE [error] [imp] FAILED LOGIN 123.123.12.12 to localhost:143[imap/notls] as info@domain.xxx [on line 258 of "/usr/share/psa-horde/imp/lib/Auth/imp.php"]
    Jan 11 14:24:51 HORDE [error] [imp] FAILED LOGIN 123.123.12.12 to localhost:143[imap/notls] as info@domain.xxx [on line 258 of "/usr/share/psa-horde/imp/lib/Auth/imp.php"]
    Jan 13 18:37:53 HORDE [error] [imp] FAILED LOGIN 123.123.12.12 to localhost:143[imap/notls] as info@domain.xxx [on line 258 of "/usr/share/psa-horde/imp/lib/Auth/imp.php"]

    (I have changed the IP and the email)
     
  7. fogelf

    fogelf Regular Pleskian

    23
    37%
    Joined:
    Feb 10, 2010
    Messages:
    103
    Likes Received:
    0
    No, can not diagnose problem - need logs with broken PHP.

    Can U switch on any domain PHP to mod_php, fetch any page from domain and show domain's and server apache error log?

    Domains log lives at: /var/www/vhosts/$DOMAIN_NAME/statistics/logs/error_log
    Server logs lives at: /var/log/{httpd,apache2}/error_log
     
  8. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Are you sure that IMAP server is started? Check it with

    telnet localhost 143
     
  9. cilla

    cilla Guest

    0
     
    yes, it is running
     
  10. cilla

    cilla Guest

    0
     
    I set a domain with joomla to apache module and when I call the page I cannot see and I give a popup ask me to download the php script index.php

    the domain error log:
    [Tue Jan 18 11:34:08 2011] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?

    the apache error log:

    [Tue Jan 18 11:34:08 2011] [warn] Init: SSL server IP/port conflict: atmail.webmail:443 (/etc/apache2/conf.d/zzz_atmail_vhost.conf:48) vs. horde.webmail:443 (/etc/apache2/conf.d/zzz_horde_vhost.conf:41)
    [Tue Jan 18 11:34:08 2011] [warn] Init: SSL server IP/port conflict: domain.xxx:443 (/srv/www/vhosts/domain.xxx/conf/httpd.include:12) vs. domain.xxx:443 (/srv/www/vhosts/domain.xxx/conf/httpd.include:12)
    [Tue Jan 18 11:34:08 2011] [warn] Init: SSL server IP/port conflict: domain.xxx:443 (/srv/www/vhosts/domain.xxx/conf/httpd.include:12) vs. domain.xxx:443 (/srv/www/vhosts/domain.xxx/conf/httpd.include:12)
    [Tue Jan 18 11:34:08 2011] [warn] Init: SSL server IP/port conflict: domain.xxx:443 (/srv/www/vhosts/domain.xxx/conf/httpd.include:12) vs. domain.xxx:443 (/srv/www/vhosts/domain.xxxconf/httpd.include:12)
    CONTINUE THE LIST OF ALL DOMAIN WITH SETTING TO APACHE MODULE
    [Tue Jan 18 11:34:08 2011] [warn] Init: SSL server IP/port conflict: default-123-1-123-123:443 (/etc/apache2/conf.d/zz010_psa_httpd.conf:114) vs. domain.xxx:443 (/srv/www/vhosts/domain.xxx/conf/httpd.include:12)
    [Tue Jan 18 11:34:08 2011] [warn] Init: SSL server IP/port conflict: default-123-1-123-124:443 (/etc/apache2/conf.d/zz010_psa_httpd.conf:95) vs. horde.webmail:443 (/etc/apache2/conf.d/zzz_horde_vhost.conf:41)
    [Tue Jan 18 11:34:08 2011] [warn] Init: SSL server IP/port conflict: domain.xxx:443 (/srv/www/vhosts/domain.xxx/conf/httpd.include:12) vs. horde.webmail:443 (/etc/apache2/conf.d/zzz_horde_vhost.conf:41)
    [Tue Jan 18 11:34:08 2011] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
    [Tue Jan 18 11:34:08 2011] [warn] No JkShmFile defined in httpd.conf. Using default /srv/www/logs/jk-runtime-status
    [Tue Jan 18 11:34:08 2011] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
    [Tue Jan 18 11:34:08 2011] [notice] mod_python: using mutex_directory /tmp
    [Tue Jan 18 11:34:08 2011] [notice] mod_bw : Memory Allocated 0 bytes (each conf takes 28 bytes)
    [Tue Jan 18 11:34:08 2011] [notice] mod_bw : Version 0.8 - Initialized [0 Confs]
    [Tue Jan 18 11:34:08 2011] [notice] Apache/2.2.10 (Linux/SUSE) mod_ssl/2.2.10 OpenSSL/0.9.8h PHP/5.2.9 with Suhosin-Patch mod_jk/1.2.26 mod_python/3.3.1 Python/2.6 mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal operations
    [Tue Jan 18 11:34:09 2011] [notice] mod_fcgid: call /srv/www/vhosts/domain.xxx/httpdocs/index.php with wrapper /usr/bin/php-cgi5
    [Tue Jan 18 11:34:09 2011] [notice] mod_fcgid: call /srv/www/vhosts/domain.xxx/httpdocs/forum/showthread.php with wrapper /usr/bin/php-cgi5
    [Tue Jan 18 11:34:11 2011] [notice] mod_fcgid: call /srv/www/vhosts/domain.xxx/httpdocs/osservatorio.php with wrapper /usr/bin/php-cgi5
    [Tue Jan 18 11:34:13 2011] [notice] mod_fcgid: call /srv/www/vhosts/domain.xxx/httpdocs/catalogo/product_info.php with wrapper /usr/bin/php-cgi5
    CONTINUE THE LIST OF ALL DOMAIN WITH SETTING TO FASTCGI

    the problem is the certificate? we have only the default certificate with plesk
     
  11. fogelf

    fogelf Regular Pleskian

    23
    37%
    Joined:
    Feb 10, 2010
    Messages:
    103
    Likes Received:
    0
    >I give a popup ask me to download the php script index.php

    It means that:
    1. php5_module is not loaded (seems like not actual, cause in server log there Apache/2.2.10 ... PHP/5.2.9)
    to be make sure on 100%, provide output of apache2ctl -t -D DUMP_MODULES

    2. apache is not restarted fully yet
    Wait a little and try to fetch page again. If get pop-up again, goto 3

    3. php5_module is not installed in domain apache config
    provide domain apache config /srv/www/vhosts/$DOMAIN_NAME/conf/httpd.include


    P.S. certificate - just minor warnings ...
     
  12. cilla

    cilla Guest

    0
     
    here:

    Loaded Modules:
    core_module (static)
    mpm_prefork_module (static)
    http_module (static)
    so_module (static)
    actions_module (shared)
    alias_module (shared)
    auth_basic_module (shared)
    authn_file_module (shared)
    authz_host_module (shared)
    authz_groupfile_module (shared)
    authz_default_module (shared)
    authz_user_module (shared)
    authn_dbm_module (shared)
    autoindex_module (shared)
    cgi_module (shared)
    dir_module (shared)
    env_module (shared)
    expires_module (shared)
    include_module (shared)
    log_config_module (shared)
    mime_module (shared)
    negotiation_module (shared)
    setenvif_module (shared)
    ssl_module (shared)
    userdir_module (shared)
    php5_module (shared)
    rewrite_module (shared)
    perl_module (shared)
    suexec_module (shared)
    fcgid_module (shared)
    jk_module (shared)
    python_module (shared)
    bw_module (shared)

    here:
    VirtualHost 123.1.123.123:80>
    ServerName domain.xxx:80
    ServerAlias www.domain.xxx
    UseCanonicalName Off
    SuexecUserGroup annuario psacln
    DocumentRoot /srv/www/vhosts/domain.xxx/httpdocs
    CustomLog /srv/www/vhosts/domain.xxx/statistics/logs/access_log plesklog
    ErrorLog /srv/www/vhosts/domain.xxx/statistics/logs/error_log
    <IfModule mod_userdir.c>
    UserDir /srv/www/vhosts/domain.xxxt/web_users
    </IfModule>
    ScriptAlias /cgi-bin/ /srv/www/vhosts/domain.xxx/cgi-bin/
    Alias /plesk-stat /srv/www/vhosts/domain.xxx/statistics/
    <Location /plesk-stat/>
    Options +Indexes
    </Location>
    <Location /plesk-stat/logs/>
    Require valid-user
    </Location>
    Alias /webstat /srv/www/vhosts/domain.xxx/statistics/webstat
    Alias /webstat-ssl /srv/www/vhosts/domain.xxx/statistics/webstat-ssl
    Alias /ftpstat /srv/www/vhosts/domain.xxx/statistics/ftpstat
    Alias /anon_ftpstat /srv/www/vhosts/domain.xxx/statistics/anon_ftpstat
    Alias /awstats-icon /usr/share/apache2/icons/awstats
    <IfModule mod_ssl.c>
    SSLEngine off
    </IfModule>
    <Directory /srv/www/vhosts/domain.xxx/httpdocs>
    <IfModule mod_perl.c>
    <Files ~ (\.pl$)>
    SetHandler perl-script
    PerlHandler ModPerl::Registry
    Options ExecCGI
    allow from all
    PerlSendHeader On
    </Files>
    </IfModule>
    <IfModule sapi_apache2.c>
    php_admin_flag engine on
    php_admin_flag safe_mode off
    php_admin_value open_basedir "/srv/www/vhosts/domain.xxx/httpdocs:/tmp"
    </IfModule>
    <IfModule mod_php5.c>
    php_admin_flag engine on
    php_admin_flag safe_mode off
    php_admin_value open_basedir "/srv/www/vhosts/domain.xxx/httpdocs:/tmp"
    </IfModule>
    <IfModule mod_fcgid.c>
    <Files ~ (\.fcgi)>
    SetHandler fcgid-script
    Options +FollowSymLinks +ExecCGI
    </Files>
    </IfModule>
    Options -Includes +ExecCGI
    </Directory>
    <Directory /srv/www/vhosts/domain.xxx/web_users>
    <IfModule sapi_apache2.c>
    php_admin_flag engine off
    </IfModule>
    <IfModule mod_php5.c>
    php_admin_flag engine off
    </IfModule>
    </Directory>
    </VirtualHost>

    I still get a popup
     
  13. fogelf

    fogelf Regular Pleskian

    23
    37%
    Joined:
    Feb 10, 2010
    Messages:
    103
    Likes Received:
    0
    I wonder ... think.

    Try to add 'AddHandler application/x-httpd-php .php' , 'AddType application/x-httpd-php .php' in /etc/apache2/httpd.conf and restart apache.

    Does system package apparmor is installed?
     
    Last edited: Jan 18, 2011
Loading...