The following error is repeatedly written to the apache2 error.log file.
[ssl:warn] [pid 23347] AH01909: mail.example.com:443:0 server certificate does NOT include an ID which matches the server name
[mpm_prefork:notice] [pid 23347] AH00163: Apache/2.4.38 (Debian) OpenSSL/1.1.1g mod_fcgid/2.3.9 configured -- resuming normal operations
[core:notice] [pid 23347] AH00094: Command line: '/usr/sbin/apache2'
[mpm_prefork:notice] [pid 23347] AH00171: Graceful restart requested, doing restart
Is this an error?
What should I do if it is an error?
Related
im using vesta cp i remove the keys on the settings of the domain and the apache is not working how can i make it work again
Restarting web server apache2
...fail!
The apache2 configtest failed.
Output of config test was:
apache2: Syntax error on line 83 of /etc/apache2/apache2.conf: Syntax error on line 3 of /etc/apache2/conf.d/vesta.conf: Syntax error on line 1 of /home/admin/conf/web/sapache2.conf: without matching section
Action 'configtest' failed.
The Apache error log may have more information.
Error log
[Sun Dec 04 06:43:37.530259 2016] [:notice] [pid 1881]
mod_ruid2/0.9.8 enabled
[Sun Dec 04 06:43:37.535379 2016] [ssl:warn] [pid 1881] AH02292:
Init: Name-based SSL virtual hosts only work for clients with TLS
server name indication support (RFC 4366)
[Sun Dec 04 06:43:37.535844 2016] [mpm_prefork:notice] [pid 1881]
AH00163: Apache/2.4.7 (Ubuntu) mod_fcgid/2.3.9 PHP/5.5.9-1ubuntu4.17
OpenSSL/1.0.1f configured -- resuming normal operations
[Sun Dec 04 06:43:37.535858 2016] [core:notice] [pid 1881] AH00094:
Command line: '/usr/sbin/apache2'
[Mon Dec 05 18:42:53.735381 2016] [mpm_prefork:notice] [pid 1881]
AH00169: caught SIGTERM, shutting down
Run as root this command:
v-rebuild-user admin
I have three separate boxes running Apache 2.4, all with the same config and modules. On CentOS 7, Apache 2.4, PHP 5.6.
Two issues that could possibly be related. On one hand, I have not forced a restart, yet it would appear that apache restarted itself based on error_log being purged and having the below.
Second issue are the actual errors or warnings displayed. I can't figure out how to resolve them and if they could be the reason that Apache restarts itself in the first place, or be creating other issues elsewhere.
[Sun Jul 19 03:39:02.241577 2015] [auth_digest:notice] [pid 904] AH01757: generating secret for digest authentication ...
[Sun Jul 19 03:39:02.243161 2015] [lbmethod_heartbeat:notice] [pid 904] AH02282: No slotmem from mod_heartmonitor
[Sun Jul 19 03:39:02.246337 2015] [ssl:warn] [pid 904] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Sun Jul 19 03:39:02.292119 2015] [mpm_prefork:notice] [pid 904] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Sun Jul 19 03:39:02.292151 2015] [core:notice] [pid 904] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
Would appreciate any guidance?
I recently updated to Yosemite on my mac and I had been using virtual hosts on MAMP, and even after updating they were working fine, however I could not create a new virtual host. I messed around with a couple things, started and restarted apache and now all my virtual hosts resolve to a page that says "It Works!" and apache on MAMP won't start. I've already done the apache fix by changing the envarrs file to _envarrs. This is my apache error log file
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using
Harrys-MacBook-Pro.local. Set the 'ServerName' directive globally to suppress this message
[Mon Nov 10 21:10:53.256847 2014] [mpm_prefork:notice] [pid 26139] AH00163: Apache/2.4.9 (Unix) PHP/5.6.2 configured -- resuming normal operations
[Mon Nov 10 21:10:53.256901 2014] [core:notice] [pid 26139] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon Nov 10 21:12:14.386605 2014] [mpm_prefork:notice] [pid 26139] AH00169: caught SIGTERM, shutting down
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using Harrys-MacBook-Pro.local. Set the 'ServerName' directive globally to suppress this message
[Mon Nov 10 21:12:16.330823 2014] [mpm_prefork:notice] [pid 27444] AH00163: Apache/2.4.9 (Unix) PHP/5.6.2 configured -- resuming normal operations
[Mon Nov 10 21:12:16.330885 2014] [core:notice] [pid 27444] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon Nov 10 21:13:12.913471 2014] [mpm_prefork:notice] [pid 27444] AH00169: caught SIGTERM, shutting down
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using Harrys-MacBook-Pro.local. Set the 'ServerName' directive globally to suppress this message
[Mon Nov 10 21:16:44.629618 2014] [mpm_prefork:notice] [pid 54] AH00163: Apache/2.4.9 (Unix) PHP/5.6.2 configured -- resuming normal operations
[Mon Nov 10 21:16:44.629939 2014] [core:notice] [pid 54] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon Nov 10 21:27:57.710912 2014] [mpm_prefork:notice] [pid 54] AH00169: caught SIGTERM, shutting down
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using Harrys-MacBook-Pro.local. Set the 'ServerName' directive globally to suppress this message
[Mon Nov 10 21:28:04.948306 2014] [mpm_prefork:notice] [pid 3305] AH00163: Apache/2.4.9 (Unix) PHP/5.6.2 configured -- resuming normal operations
[Mon Nov 10 21:28:04.948362 2014] [core:notice] [pid 3305] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
This is the error I get when I try to start Apache.
The error logs are :
[ssl:warn] [pid 7132:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[ssl:warn] [pid 7132:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[mpm_winnt:notice] [pid 7132:tid 392] AH00455: Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.5.15 configured -- resuming normal operations
[mpm_winnt:notice] [pid 7132:tid 392] AH00456: Apache Lounge VC11 Server built: Jul 17 2014 11:50:08
[core:notice] [pid 7132:tid 392] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[mpm_winnt:notice] [pid 7132:tid 392] AH00418: Parent: Created child process 540
[ssl:warn] [pid 540:tid 408] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[ssl:warn] [pid 540:tid 408] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[mpm_winnt:notice] [pid 540:tid 408] AH00354: Child: Starting 150 worker threads.
I don't understand what the problem is. Can anyone help?
I have changed the Ports in the below lines in the httpd.conf file
Listen 80
ServerName localhost:80
Are there any other files where I need to change these values?
It worked when i run the XAMPP control panel with administrator rights.
You only have to change the port in the httpd.conf
try:
netstat -ano
and check if Port 80 is not used by another Program.
Close the Program which uses port 80 and try to start apache again.
The "a2ensite""a2dissite" are not working
Echo:
ERROR: Site XXXXXX does not exist!
I swear it exists in sites-available folder.
After I typed a2ensite and double clicked the Tab button, it shows the /root directory.
There must be something wrong with the a2en/dissite script.
How can I make it back to work?
=====================
Here are the last lines of the error log:
[Sun Aug 04 22:59:31.406192 2013] [mpm_event:notice] [pid 5378:tid 140459282536256] AH00489: Apache/2.4.6 (Ubuntu) configured -- resuming normal operations
[Sun Aug 04 22:59:31.406433 2013] [core:notice] [pid 5378:tid 140459282536256] AH00094: Command line: '/usr/sbin/apache2'
[Sun Aug 04 23:09:44.648984 2013] [mpm_event:notice] [pid 5378:tid 140459282536256] AH00491: caught SIGTERM, shutting down
[Sun Aug 04 23:09:46.001182 2013] [mpm_event:notice] [pid 5692:tid 139671144335168] AH00489: Apache/2.4.6 (Ubuntu) configured -- resuming normal operations
[Sun Aug 04 23:09:46.001490 2013] [core:notice] [pid 5692:tid 139671144335168] AH00094: Command line: '/usr/sbin/apache2'
Renaming site configuration files in /etc/apache2/sites-available/* into *.conf helped.
Example, when enabling site dummy.com, configuration file must be named dummy.com.conf.
Another solution is to change this line in /etc/apache2/apache2.conf from:
IncludeOptional sites-enabled/*.conf
to:
IncludeOptional sites-enabled/*