Apache not restart after change php mode

Discussion in 'Installation/Configuration' started by wiss, Nov 1, 2010.

  1. wiss

    wiss New Member

    I created a new site and default settings in php mode is Fastcgi.

    After i create it apache2 stop and not restart,I had start manually.

    And if I change PHP mode in site Tab apache2 not restart.

    Its a bug?

    Pd: Sorry for my english.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats no bug. Check the apache error.log. Most likely you missed to load a apache module during installation that is required for the php mode that you selected.
     
  3. wiss

    wiss New Member

    this is the error.log

    Code:
    [Mon Nov 01 18:07:49 2010] [error] [client 95.20.222.145] PHP Notice:  Undefined variable: wb in /usr/local/ispconfig/interface/lib/app.inc.php on line 187, referer: http://ns1.pcrednet.net:2082/
    [Mon Nov 01 18:07:49 2010] [error] [client 95.20.222.145] PHP Notice:  Undefined index: global in /usr/local/ispconfig/interface/lib/classes/getconf.inc.php on line 50, referer: http://ns1.pcrednet.net:2082/
    [Mon Nov 01 18:07:54 2010] [error] [client 95.20.222.145] PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 451, referer: http://ns1.pcrednet.net:2082/
    [Mon Nov 01 18:07:54 2010] [error] [client 95.20.222.145] PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 451, referer: http://ns1.pcrednet.net:2082/
    [Mon Nov 01 18:07:54 2010] [error] [client 95.20.222.145] PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 452, referer: http://ns1.pcrednet.net:2082/
    [Mon Nov 01 18:07:54 2010] [error] [client 95.20.222.145] PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 452, referer: http://ns1.pcrednet.net:2082/
    [Mon Nov 01 18:07:54 2010] [error] [client 95.20.222.145] PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 453, referer: http://ns1.pcrednet.net:2082/
    [Mon Nov 01 18:07:54 2010] [error] [client 95.20.222.145] PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 453, referer: http://ns1.pcrednet.net:2082/
    [Mon Nov 01 18:07:54 2010] [error] [client 95.20.222.145] PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 454, referer: http://ns1.pcrednet.net:2082/
    [Mon Nov 01 18:07:54 2010] [error] [client 95.20.222.145] PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 454, referer: http://ns1.pcrednet.net:2082/
    [Mon Nov 01 18:07:54 2010] [error] [client 95.20.222.145] PHP Notice:  Undefined index: domain in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 501, referer: http://ns1.pcrednet.net:2082/
    [Mon Nov 01 18:07:54 2010] [error] [client 95.20.222.145] PHP Notice:  Undefined index: on_after_update in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://ns1.pcrednet.net:2082/
    [Mon Nov 01 18:07:54 2010] [error] [client 95.20.222.145] PHP Notice:  Undefined index: sites:on_after_update in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://ns1.pcrednet.net:2082/
    [Mon Nov 01 18:07:54 2010] [error] [client 95.20.222.145] PHP Notice:  Undefined index: sites:web_domain:on_after_update in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://ns1.pcrednet.net:2082/
    [Mon Nov 01 18:07:54 2010] [error] [client 95.20.222.145] PHP Notice:  Undefined index: return_to_url in /usr/local/ispconfig/interface/lib/classes/tform_actions.inc.php on line 142, referer: http://ns1.pcrednet.net:2082/
    [Mon Nov 01 18:08:01 2010] [notice] caught SIGTERM, shutting down
    [Mon Nov 01 18:08:02 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Mon Nov 01 18:08:02 2010] [notice] Digest: generating secret for digest authentication ...
    [Mon Nov 01 18:08:02 2010] [notice] Digest: done
    PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/imap.ini on line 1 in Unknown on line 0
    [Mon Nov 01 18:08:03 2010] [notice] Apache/2.2.14 (Ubuntu) DAV/2 mod_fcgid/2.3.4 PHP/5.3.2-1ubuntu4.5 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-01-10) mod_ssl/2.2.14 OpenSSL/0.9.8k configured -- resuming normal operations
    [Mon Nov 01 18:08:03 2010] [notice] caught SIGTERM, shutting down
    [Mon Nov 01 18:09:14 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Mon Nov 01 18:09:14 2010] [notice] Digest: generating secret for digest authentication ...
    [Mon Nov 01 18:09:14 2010] [notice] Digest: done
    PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/imap.ini on line 1 in Unknown on line 0
    [Mon Nov 01 18:09:14 2010] [notice] Apache/2.2.14 (Ubuntu) DAV/2 mod_fcgid/2.3.4 PHP/5.3.2-1ubuntu4.5 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-01-10) mod_ssl/2.2.14 OpenSSL/0.9.8k configured -- resuming normal operations
    [Mon Nov 01 18:15:34 2010] [error] [client 95.20.222.145] PHP Notice:  Undefined variable: wb in /usr/local/ispconfig/interface/lib/app.inc.php on line 187, referer: http://ns1.pcrednet.net:2082/
    [Mon Nov 01 18:15:36 2010] [error] [client 95.20.222.145] PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 451, referer: http://ns1.pcrednet.net:2082/
    [Mon Nov 01 18:15:36 2010] [error] [client 95.20.222.145] PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 451, referer: http://ns1.pcrednet.net:2082/
    [Mon Nov 01 18:15:36 2010] [error] [client 95.20.222.145] PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 452, referer: http://ns1.pcrednet.net:2082/
    [Mon Nov 01 18:15:36 2010] [error] [client 95.20.222.145] PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 452, referer: http://ns1.pcrednet.net:2082/
    [Mon Nov 01 18:15:36 2010] [error] [client 95.20.222.145] PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 453, referer: http://ns1.pcrednet.net:2082/
    [Mon Nov 01 18:15:36 2010] [error] [client 95.20.222.145] PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 453, referer: http://ns1.pcrednet.net:2082/
    [Mon Nov 01 18:15:36 2010] [error] [client 95.20.222.145] PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 454, referer: http://ns1.pcrednet.net:2082/
    [Mon Nov 01 18:15:36 2010] [error] [client 95.20.222.145] PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 454, referer: http://ns1.pcrednet.net:2082/
    [Mon Nov 01 18:15:36 2010] [error] [client 95.20.222.145] PHP Notice:  Undefined index: on_after_update in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://ns1.pcrednet.net:2082/
    [Mon Nov 01 18:15:36 2010] [error] [client 95.20.222.145] PHP Notice:  Undefined index: sites:on_after_update in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://ns1.pcrednet.net:2082/
    [Mon Nov 01 18:15:36 2010] [error] [client 95.20.222.145] PHP Notice:  Undefined index: sites:web_domain:on_after_update in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://ns1.pcrednet.net:2082/
    [Mon Nov 01 18:15:36 2010] [error] [client 95.20.222.145] PHP Notice:  Undefined variable: wb in /usr/local/ispconfig/interface/lib/app.inc.php on line 187, referer: http://ns1.pcrednet.net:2082/
    [Mon Nov 01 18:15:36 2010] [error] [client 95.20.222.145] PHP Notice:  Undefined index: global in /usr/local/ispconfig/interface/lib/classes/getconf.inc.php on line 50, referer: http://ns1.pcrednet.net:2082/
    [Mon Nov 01 19:51:46 2010] [error] [client 95.20.222.145] File does not exist: /usr/local/ispconfig/interface/web/frontend, referer: http://cblasan.com:2082/frontend/rvmaroon/backup/index.html
    I follow tutorial the perfect server ubuntu 10.04.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    These are just PHP Notice messages for developers which do not harm. Please check if there are any errors in the error.log of the website that you created or changed.
     
  5. wiss

    wiss New Member

    in this error.log have sutting down alert:

    Code:
    [Mon Nov 01 18:07:54 2010] [error] [client 95.20.222.145] PHP Notice:  Undefined index: return_to_url in /usr/local/ispconfig/interface/lib/classes/tform_actions.inc.php on line 142, referer: http://ns1.pcrednet.net:2082/
    [Mon Nov 01 18:08:01 2010] [notice] caught SIGTERM, shutting down
    [Mon Nov 01 18:08:02 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Mon Nov 01 18:08:02 2010] [notice] Digest: generating secret for digest authentication ...
    [Mon Nov 01 18:08:02 2010] [notice] Digest: done
    PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/imap.ini on line 1 in Unknown on line 0
    [Mon Nov 01 18:08:03 2010] [notice] Apache/2.2.14 (Ubuntu) DAV/2 mod_fcgid/2.3.4 PHP/5.3.2-1ubuntu4.5 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-01-10) mod_ssl/2.2.14 OpenSSL/0.9.8k configured -- resuming normal operations
    [Mon Nov 01 18:08:03 2010] [notice] caught SIGTERM, shutting down
    The errors is mod_fcgid?????

    Thank you in advance.
     
  6. wiss

    wiss New Member

    Now if i change php mode in ISPCONFIG monitor appear this warning:

    Code:
    Apache did not restart after the configuration change for website cblasan.com Reverting the configuration. Saved not working config as /etc/apache2/sites-available/cblasan.com.vhost.err
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    This is the global error log and not the error.log of the website. Please check the error.log of the website for errors.
     
  8. wiss

    wiss New Member

    Where is the error.log of vhost?

    this is /var/log/apache2/error.log after create a new website:


    Code:
    [Tue Nov 02 14:39:13 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined variable: wb in /usr/local/ispconfig/interface/lib/app.inc.php on line 187, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:39:13 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined offset: 3 in /usr/local/ispconfig/interface/web/dashboard/dashboard.php on line 99, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:39:13 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined offset: 3 in /usr/local/ispconfig/interface/web/dashboard/dashboard.php on line 99, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:39:13 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined offset: 3 in /usr/local/ispconfig/interface/web/dashboard/dashboard.php on line 106, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:39:13 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined offset: 3 in /usr/local/ispconfig/interface/web/dashboard/dashboard.php on line 106, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:39:14 2010] [error] [client 82.158.76.244] PHP Notice: A feed could not be found at http://www.pcrednet.com. A feed with an invalid mime type may fall victim to this error, or SimplePie was unable to auto-discover it.. Use force_feed() if you are certain this URL is a real feed. in /usr/local/ispconfig/interface/lib/classes/simplepie.inc.php on line 1684, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:39:37 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined variable: wb in /usr/local/ispconfig/interface/lib/app.inc.php on line 187, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:39:58 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 361, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:39:58 2010] [error] [client 82.158.76.244] PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 361, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:39:58 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 362, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:39:58 2010] [error] [client 82.158.76.244] PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 362, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:39:58 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 363, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:39:58 2010] [error] [client 82.158.76.244] PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 363, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:39:58 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 364, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:39:58 2010] [error] [client 82.158.76.244] PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 364, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:39:58 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined index: on_after_insert in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:39:58 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined index: sites:on_after_insert in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:39:58 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined variable: wb in /usr/local/ispconfig/interface/lib/app.inc.php on line 187, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:39:58 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined index: global in /usr/local/ispconfig/interface/lib/classes/getconf.inc.php on line 50, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:39:59 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 451, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:39:59 2010] [error] [client 82.158.76.244] PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 451, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:39:59 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 452, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:39:59 2010] [error] [client 82.158.76.244] PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 452, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:39:59 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 453, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:39:59 2010] [error] [client 82.158.76.244] PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 453, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:39:59 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 454, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:39:59 2010] [error] [client 82.158.76.244] PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 454, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:39:59 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined index: domain in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 501, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:39:59 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined index: on_after_update in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:39:59 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined index: sites:on_after_update in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:39:59 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined index: sites:web_domain:on_after_update in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:39:59 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined variable: wb in /usr/local/ispconfig/interface/lib/app.inc.php on line 187, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:39:59 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined index: global in /usr/local/ispconfig/interface/lib/classes/getconf.inc.php on line 50, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:40:00 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 451, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:40:00 2010] [error] [client 82.158.76.244] PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 451, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:40:00 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 452, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:40:00 2010] [error] [client 82.158.76.244] PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 452, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:40:00 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 453, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:40:00 2010] [error] [client 82.158.76.244] PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 453, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:40:00 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 454, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:40:00 2010] [error] [client 82.158.76.244] PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 454, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:40:00 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined index: domain in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 501, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:40:00 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined index: on_after_update in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:40:00 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined index: sites:on_after_update in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:40:00 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined index: sites:web_domain:on_after_update in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:40:00 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined variable: wb in /usr/local/ispconfig/interface/lib/app.inc.php on line 187, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:40:00 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined index: global in /usr/local/ispconfig/interface/lib/classes/getconf.inc.php on line 50, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:40:02 2010] [notice] caught SIGTERM, shutting down
    [Tue Nov 02 14:40:03 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Tue Nov 02 14:40:03 2010] [notice] Digest: generating secret for digest authentication ...
    [Tue Nov 02 14:40:03 2010] [notice] Digest: done
    PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/imagick.ini on line 1 in Unknown on line 0
    PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/imap.ini on line 1 in Unknown on line 0
    PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/mcrypt.ini on line 1 in Unknown on line 0
    [Tue Nov 02 14:40:03 2010] [notice] Apache/2.2.14 (Ubuntu) DAV/2 mod_fcgid/2.3.4 PHP/5.3.2-1ubuntu4.5 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-01-10) mod_ssl/2.2.14 OpenSSL/0.9.8k configured -- resuming normal operations
    [Tue Nov 02 14:40:04 2010] [notice] caught SIGTERM, shutting down
    [Tue Nov 02 14:41:01 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Tue Nov 02 14:41:01 2010] [notice] Digest: generating secret for digest authentication ...
    [Tue Nov 02 14:41:01 2010] [notice] Digest: done
    PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/imagick.ini on line 1 in Unknown on line 0
    PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/imap.ini on line 1 in Unknown on line 0
    PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/mcrypt.ini on line 1 in Unknown on line 0
    [Tue Nov 02 14:41:02 2010] [notice] Apache/2.2.14 (Ubuntu) DAV/2 mod_fcgid/2.3.4 PHP/5.3.2-1ubuntu4.5 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-01-10) mod_ssl/2.2.14 OpenSSL/0.9.8k configured -- resuming normal operations
    [Tue Nov 02 14:41:15 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 451, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:15 2010] [error] [client 82.158.76.244] PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 451, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:15 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 452, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:15 2010] [error] [client 82.158.76.244] PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 452, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:15 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 453, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:15 2010] [error] [client 82.158.76.244] PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 453, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:15 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 454, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:15 2010] [error] [client 82.158.76.244] PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 454, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:15 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined index: domain in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 501, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:15 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined index: on_after_update in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:15 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined index: sites:on_after_update in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:15 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined index: sites:web_domain:on_after_update in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:15 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined variable: wb in /usr/local/ispconfig/interface/lib/app.inc.php on line 187, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:15 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined index: global in /usr/local/ispconfig/interface/lib/classes/getconf.inc.php on line 50, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:19 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 451, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:19 2010] [error] [client 82.158.76.244] PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 451, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:19 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 452, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:19 2010] [error] [client 82.158.76.244] PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 452, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:19 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 453, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:19 2010] [error] [client 82.158.76.244] PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 453, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:19 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 454, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:19 2010] [error] [client 82.158.76.244] PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 454, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:19 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined index: domain in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 501, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:19 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined index: on_after_update in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:19 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined index: sites:on_after_update in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:19 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined index: sites:web_domain:on_after_update in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:19 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined variable: wb in /usr/local/ispconfig/interface/lib/app.inc.php on line 187, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:19 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined index: global in /usr/local/ispconfig/interface/lib/classes/getconf.inc.php on line 50, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:22 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 451, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:22 2010] [error] [client 82.158.76.244] PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 451, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:22 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 452, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:22 2010] [error] [client 82.158.76.244] PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 452, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:22 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 453, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:22 2010] [error] [client 82.158.76.244] PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 453, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:22 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined variable: page_form in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 454, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:22 2010] [error] [client 82.158.76.244] PHP Notice:  Trying to get property of non-object in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 454, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:22 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined index: domain in /usr/local/ispconfig/interface/web/sites/web_domain_edit.php on line 501, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:22 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined index: on_after_update in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:22 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined index: sites:on_after_update in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:22 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined index: sites:web_domain:on_after_update in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://ns1.pcrednet.net:2082/index.php
    [Tue Nov 02 14:41:22 2010] [error] [client 82.158.76.244] PHP Notice:  Undefined index: return_to_url in /usr/local/ispconfig/interface/lib/classes/tform_actions.inc.php on line 142, referer: http://ns1.pcrednet.net:2082/index.php
    I not found another error.log.

    Thx.
     
  9. wiss

    wiss New Member

    I reinstall server from 0 follow tutorial pefect server ubuntu 10.4 and the errors are the same...

    I use OPENVZ VM, this is the problem???
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    In the log folder of the website and the website is under /var/www/yourdomain.tld/
     
  11. wiss

    wiss New Member

    this is error.log of vhost:

    Code:
    [Tue Nov 02 15:05:21 2010] [error] [client 82.158.76.244] PHP Warning:  Unknown: open_basedir restriction in effect. File(/usr/share/squirrelmail/index.php) is not within the allowed path(s): (/var/www/clients/client1/web1/web:/var/www/clients/client1/web1/tmp:/var/www/cblasan.com/web:/srv/www/cblasan.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in Unknown on line 0
    [Tue Nov 02 15:05:21 2010] [error] [client 82.158.76.244] PHP Warning:  Unknown: failed to open stream: Operation not permitted in Unknown on line 0
    [Tue Nov 02 15:05:21 2010] [error] [client 82.158.76.244] PHP Fatal error:  Unknown: Failed opening required '/usr/share/squirrelmail/index.php' (include_path='.') in Unknown on line 0
    [Tue Nov 02 15:05:24 2010] [error] [client 82.158.76.244] PHP Warning:  Unknown: open_basedir restriction in effect. File(/usr/share/squirrelmail/index.php) is not within the allowed path(s): (/var/www/clients/client1/web1/web:/var/www/clients/client1/web1/tmp:/var/www/cblasan.com/web:/srv/www/cblasan.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in Unknown on line 0
    [Tue Nov 02 15:05:24 2010] [error] [client 82.158.76.244] PHP Warning:  Unknown: failed to open stream: Operation not permitted in Unknown on line 0
    [Tue Nov 02 15:05:24 2010] [error] [client 82.158.76.244] PHP Fatal error:  Unknown: Failed opening required '/usr/share/squirrelmail/index.php' (include_path='.') in Unknown on line 0
    [Tue Nov 02 15:06:01 2010] [error] [client 82.158.76.244] PHP Warning:  Unknown: open_basedir restriction in effect. File(/usr/share/squirrelmail/index.php) is not within the allowed path(s): (/var/www/clients/client1/web1/web:/var/www/clients/client1/web1/tmp:/var/www/cblasan.com/web:/srv/www/cblasan.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in Unknown on line 0
    [Tue Nov 02 15:06:01 2010] [error] [client 82.158.76.244] PHP Warning:  Unknown: failed to open stream: Operation not permitted in Unknown on line 0
    [Tue Nov 02 15:06:01 2010] [error] [client 82.158.76.244] PHP Fatal error:  Unknown: Failed opening required '/usr/share/squirrelmail/index.php' (include_path='.') in Unknown on line 0
    [Tue Nov 02 15:17:47 2010] [error] [client 82.158.76.244] File does not exist: /var/www/cblasan.com/web/favicon.ico
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    Looks as if you try to open squirrelmail trough a website which can not work as squirrelmail uses files outside of the website directory.
     
  13. wiss

    wiss New Member

  14. till

    till Super Moderator Staff Member ISPConfig Developer

    No. It will only cause that squirrelmail will not work.

    Eheny ou switch from which php method to which php method apache stops?
     
  15. wiss

    wiss New Member

    When I change PHP-MODE to Fast-cgi in /var/log/apache2/error.log appear this:

    Code:
    [Wed Nov 03 13:33:03 2010] [notice] Digest: done
    PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/imagick.ini on line 1 in Unknown on line 0
    PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/imap.ini on line 1 in Unknown on line 0
    PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/mcrypt.ini on line 1 in Unknown on line 0
    [Wed Nov 03 13:33:03 2010] [notice] Apache/2.2.14 (Ubuntu) DAV/2 mod_fcgid/2.3.4 PHP/5.3.2-1ubuntu4.5 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-01-10) mod_ssl/2.2.14 OpenSSL/0.9.8k configured -- resuming normal operations
    [Wed Nov 03 13:33:03 2010] [notice] caught SIGTERM, shutting down
    [Wed Nov 03 13:33:04 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Wed Nov 03 13:33:04 2010] [notice] Digest: generating secret for digest authentication ...
    [Wed Nov 03 13:33:04 2010] [notice] Digest: done
    PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/imagick.ini on line 1 in Unknown on line 0
    PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/imap.ini on line 1 in Unknown on line 0
    PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/mcrypt.ini on line 1 in Unknown on line 0
    [Wed Nov 03 13:33:05 2010] [notice] Apache/2.2.14 (Ubuntu) DAV/2 mod_fcgid/2.3.4 PHP/5.3.2-1ubuntu4.5 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-01-10) mod_ssl/2.2.14 OpenSSL/0.9.8k configured -- resuming normal operations
    [Wed Nov 03 13:33:05 2010] [notice] mod_fcgid: call /var/www/cblasan.com/web/index.php with wrapper /var/www/php-fcgi-scripts/web1/.php-fcgi-starter
    [Wed Nov 03 13:33:05 2010] [notice] caught SIGTERM, shutting down
    [Wed Nov 03 13:33:05 2010] [notice] mod_fcgid: process /var/www/cblasan.com/web/index.php(25006) exit(shutting down), get stop signal 15
    Get stop signal 15 >><>>> ?¿?¿?¿
     
  16. wiss

    wiss New Member

    SOLVED!!!!

    Follow the instructions of:
    http://www.howtoforge.com/how-to-set-up-apache2-with-mod_fcgid-and-php5-on-ubuntu-10.04

    After pacht this; my /var/log/error.log after changed php mod_cgi is:

    Code:
    [Wed Nov 03 14:38:02 2010] [notice] caught SIGTERM, shutting down
    [Wed Nov 03 14:38:03 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Wed Nov 03 14:38:03 2010] [notice] Digest: generating secret for digest authentication ...
    [Wed Nov 03 14:38:03 2010] [notice] Digest: done
    PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/imagick.ini on line 1 in Unknown on line 0
    PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/imap.ini on line 1 in Unknown on line 0
    PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/mcrypt.ini on line 1 in Unknown on line 0
    [Wed Nov 03 14:38:03 2010] [notice] Apache/2.2.14 (Ubuntu) DAV/2 mod_fcgid/2.3.4 PHP/5.3.2-1ubuntu4.5 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-01-10) mod_ssl/2.2.14 OpenSSL/0.9.8k configured -- resuming normal operations
    Not shutdown!!!

    Thanks everthing.
     

Share This Page