Hello folks, I'm new to this forum, so I hope that you will find some time to help me. Lately, I have issues with Apache, from time to time its stops by itself so I must start it manually. This is a state when it happens: This is /var/log/apache2/error.log: I disabled SSL Stapling in /sites-enabled/000-ispconfig.vhost and /sites-available/ispconfig.vhost (SSLUseStaling Off) , but I get same error. Please can you give some advice. Did anybody had the same problem? Greets, Mixa
Hi, Th0m tnx for the reply . In syslog.1 around that time, I can only see few CRON jobs, but maybe I missed something. Just one note, on line 3344 there is a notification "NameVirtualHost has no effect.... /etc/apache2/sites-enabled/000-ispconfig.vhost:7" which I found and comment in the file so it doesn't appear anymore. These are the lines from syslog.1 in that time: Greets Mixa
Hi Th0m, I don't believe it's memory since the VM is allocated 20 GB of RAM. Also, the server hosts 14 sites of which only two could have higher traffic than usual. Greets, Mixa
Have you done other modifications? I assume the system is ISPConfig? Follow these instructions: https://www.howtoforge.com/community/threads/please-read-before-posting.58408/
Hi Taleman, yes, the system is ISPConfig on Debian 8 Jessie. The only changes I made were: commented line 7 NameVirtualHost*:8080 and line 90 SSLUseStapling Off in files /etc/apache2/sites-enabled/000-ispconfig.vhost and /etc/apache2/sites-available/ispconfig.vhost. Code: 1 ###################################################### 2 # This virtual host contains the configuration 3 # for the ISPConfig controlpanel 4 ###################################################### 5 6 Listen 8080 7 #NameVirtualHost *:8080 8 9 <VirtualHost _default_:8080> 10 ServerAdmin webmaster@localhost 11 12 Alias /mail /var/www/ispconfig/mail 13 14 <Directory /var/www/ispconfig/> 15 <FilesMatch "\.ph(p3?|tml)$"> 16 SetHandler None 17 </FilesMatch> 18 </Directory> 19 <Directory /usr/local/ispconfig/interface/web/> 20 <FilesMatch "\.ph(p3?|tml)$"> 21 SetHandler None 22 </FilesMatch> 23 </Directory> Code: 90 SSLUseStapling Off 91 SSLStaplingResponderTimeout 5 92 SSLStaplingReturnResponderErrors Off 93 </VirtualHost> The reason for these changes is due to the following logs: Code: hosting apache2[6698]: Starting web server: apache2AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/000-ispconfig.vhost:7 Code: [ssl:error] [pid 6714] AH02567: Unable to configure certificate hosting.raf.edu.rs:8081:0 for stapling Greets Mixa
I don't know if it's related to your problem, but Debian 8 isn't supported in current ispconfig versions.
Hi Jesse, well, my current version of ISPConfig is 3.2.4. But problems started before the update, I think in version 3.1.14. These are the new moments: Code: [Sat May 15 17:52:01.710576 2021] [mpm_prefork:notice] [pid 110985] AH00169: caught SIGTERM, shutting down [Sat May 15 17:52:02.781783 2021] [ssl:warn] [pid 2836] AH01906: hosting.raf.edu.rs:8080:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Sat May 15 17:52:02.782147 2021] [ssl:warn] [pid 2836] AH01906: hosting.raf.edu.rs:8081:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Sat May 15 17:52:02.782208 2021] [ssl:error] [pid 2836] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: [email protected],CN=hosting.raf.edu.rs,OU=RAF,O=RAF,L=Belgrade,ST=Serbia,C=RS / issuer: [email protected],CN=hosting.raf.edu.rs,OU=RAF,O=RAF,L=Belgrade,ST=Serbia,C=RS / serial: D2C93446F4AA98E2 / notbefore: Mar 28 10:28:45 2017 GMT / notafter: Mar 26 10:28:45 2027 GMT] [Sat May 15 17:52:02.782228 2021] [ssl:error] [pid 2836] AH02567: Unable to configure certificate hosting.raf.edu.rs:8081:0 for stapling [Sat May 15 17:52:02.782331 2021] [suexec:notice] [pid 2836] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec) [Sat May 15 17:52:02.811761 2021] [auth_digest:notice] [pid 2838] AH01757: generating secret for digest authentication ... [Sat May 15 17:52:02.843952 2021] [:error] [pid 2838] python_init: Python version mismatch, expected '2.7.5+', found '2.7.9'. [Sat May 15 17:52:02.844058 2021] [:error] [pid 2838] python_init: Python executable found '/usr/bin/python'. [Sat May 15 17:52:02.844087 2021] [:error] [pid 2838] 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'. [Sat May 15 17:52:02.844127 2021] [:notice] [pid 2838] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads. [Sat May 15 17:52:02.844150 2021] [:notice] [pid 2838] mod_python: using mutex_directory /tmp [Sat May 15 17:52:02.855622 2021] [ssl:warn] [pid 2838] AH01906: hosting.raf.edu.rs:8080:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Sat May 15 17:52:02.855989 2021] [ssl:warn] [pid 2838] AH01906: hosting.raf.edu.rs:8081:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Sat May 15 17:52:02.856073 2021] [ssl:error] [pid 2838] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: [email protected],CN=hosting.raf.edu.rs,OU=RAF,O=RAF,L=Belgrade,ST=Serbia,C=RS / issuer: [email protected],CN=hosting.raf.edu.rs,OU=RAF,O=RAF,L=Belgrade,ST=Serbia,C=RS / serial: D2C93446F4AA98E2 / notbefore: Mar 28 10:28:45 2017 GMT / notafter: Mar 26 10:28:45 2027 GMT] [Sat May 15 17:52:02.856099 2021] [ssl:error] [pid 2838] AH02567: Unable to configure certificate hosting.raf.edu.rs:8081:0 for stapling [Sat May 15 17:52:02.860378 2021] [mpm_prefork:notice] [pid 2838] AH00163: Apache/2.4.10 (Debian) mod_fcgid/2.3.9 mod_python/3.3.1 Python/2.7.9 OpenSSL/1.0.1t configured -- resuming normal operations [Sat May 15 17:52:02.860419 2021] [core:notice] [pid 2838] AH00094: Command line: '/usr/sbin/apache2' Greets, Mixa