Problem with multiple websites

Discussion in 'Installation/Configuration' started by Niels Terp, Aug 1, 2019.

  1. Niels Terp

    Niels Terp New Member

    Hi there,
    For the time beeing I am running on Debian 8, because I need PHP 5.
    After I install ISPconfig (following https://www.howtoforge.com/tutorial...8-4-jessie-apache-bind-dovecot-ispconfig-3-1/) I set up the first domain ( I have 3 total), and everything works fine. No problems at all.
    Then I setup the second domain. When I have done this, the homepage works, I get the standard message, and SSL working fine. I then restore my latest backup of the website - but when the restore is ready and I go to the page, I get a HTTP ERROR 500.
    I thought that my backup might be damaged, so I tried to upload a fresh Joomla, and the result was the same, HTTP ERROR 500.

    When I look in the Apache2 error log, I find this:
    [ 2019-08-01 22:20:40.8643 20849/7ff66afff740 agents/Watchdog/Main.cpp:538 ]: Options: { 'analytics_log_user' => 'nobody', 'default_group' => 'nogroup', 'default_python' => 'python', 'default_ruby' => '/usr/bin/ruby', 'default_user' => 'nobody', 'log_level' => '0', 'max_pool_size' => '6', 'passenger_root' => '/usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini', 'passenger_version' => '4.0.53', 'pool_idle_time' => '300', 'temp_dir' => '/tmp', 'union_station_gateway_address' => 'gateway.unionstationapp.com', 'union_station_gateway_port' => '443', 'user_switching' => 'true', 'web_server_passenger_version' => '4.0.53', 'web_server_pid' => '20847', 'web_server_type' => 'apache', 'web_server_worker_gid' => '33', 'web_server_worker_uid' => '33' }
    [ 2019-08-01 22:20:40.8687 20852/7f04265bc740 agents/HelperAgent/Main.cpp:650 ]: PassengerHelperAgent online, listening at unix:/tmp/passenger.1.0.20847/generation-0/request
    [ 2019-08-01 22:20:40.8780 20860/7efc3cf2d780 agents/LoggingAgent/Main.cpp:321 ]: PassengerLoggingAgent online, listening at unix:/tmp/passenger.1.0.20847/generation-0/logging
    [ 2019-08-01 22:20:40.8782 20849/7ff66afff740 agents/Watchdog/Main.cpp:728 ]: All Phusion Passenger agents started!
    [Thu Aug 01 22:20:40.879906 2019] [ssl:warn] [pid 20847] AH01909: webhotel.nielsterp.dk:8080:0 server certificate does NOT include an ID which matches the server name
    [Thu Aug 01 22:20:40.880132 2019] [suexec:notice] [pid 20847] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Thu Aug 01 22:20:40.919599 2019] [:notice] [pid 20873] FastCGI: process manager initialized (pid 20873)
    [ 2019-08-01 22:20:40.9241 20875/7f4b13687740 agents/Watchdog/Main.cpp:538 ]: Options: { 'analytics_log_user' => 'nobody', 'default_group' => 'nogroup', 'default_python' => 'python', 'default_ruby' => '/usr/bin/ruby', 'default_user' => 'nobody', 'log_level' => '0', 'max_pool_size' => '6', 'passenger_root' => '/usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini', 'passenger_version' => '4.0.53', 'pool_idle_time' => '300', 'temp_dir' => '/tmp', 'union_station_gateway_address' => 'gateway.unionstationapp.com', 'union_station_gateway_port' => '443', 'user_switching' => 'true', 'web_server_passenger_version' => '4.0.53', 'web_server_pid' => '20869', 'web_server_type' => 'apache', 'web_server_worker_gid' => '33', 'web_server_worker_uid' => '33' }
    [ 2019-08-01 22:20:40.9286 20878/7fd8ad0fb740 agents/HelperAgent/Main.cpp:650 ]: PassengerHelperAgent online, listening at unix:/tmp/passenger.1.0.20869/generation-0/request
    [ 2019-08-01 22:20:40.9380 20886/7f5c01a41780 agents/LoggingAgent/Main.cpp:321 ]: PassengerLoggingAgent online, listening at unix:/tmp/passenger.1.0.20869/generation-0/logging
    [ 2019-08-01 22:20:40.9382 20875/7f4b13687740 agents/Watchdog/Main.cpp:728 ]: All Phusion Passenger agents started!
    [Thu Aug 01 22:20:40.969044 2019] [:error] [pid 20869] python_init: Python version mismatch, expected '2.7.5+', found '2.7.9'.
    [Thu Aug 01 22:20:40.969110 2019] [:error] [pid 20869] python_init: Python executable found '/usr/bin/python'.
    [Thu Aug 01 22:20:40.969115 2019] [:error] [pid 20869] python_init: Python path being used '/usr/lib/python2.7/:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload'.
    [Thu Aug 01 22:20:40.969132 2019] [:notice] [pid 20869] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
    [Thu Aug 01 22:20:40.969137 2019] [:notice] [pid 20869] mod_python: using mutex_directory /tmp
    [Thu Aug 01 22:20:40.978441 2019] [ssl:warn] [pid 20869] AH01909: webhotel.nielsterp.dk:8080:0 server certificate does NOT include an ID which matches the server name
    [Thu Aug 01 22:20:40.983830 2019] [mpm_prefork:notice] [pid 20869] AH00163: Apache/2.4.10 (Debian) mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_fcgid/2.3.9 Phusion_Passenger/4.0.53 mod_python/3.3.1 Python/2.7.9 OpenSSL/1.0.1t configured -- resuming normal operations
    [Thu Aug 01 22:20:40.983866 2019] [core:notice] [pid 20869] AH00094: Command line: '/usr/sbin/apache2'

    If I then move on and set up the third domain, that domain is also not working, and now even the first domain is not working any more !

    I really hope that you can help with this, I'm totally stuck !

    Cheers

    Niels
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Take a look at the error.log of the website instead of the global error.log.
     
  3. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Is there anything in that long log you posted that is relevant?
    Only thing I see is several
    Code:
    [Thu Aug 01 22:20:40.978441 2019] [ssl:warn] [pid 20869] AH01909: webhotel.nielsterp.dk:8080:0 server certificate does NOT include an ID which matches the server name
    This seems like your certificate is wrong.
    You should not post long logs that have nothing out of the ordinary happening.
     

Share This Page