Apache auto-shutdown when creating a virtualhost

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Apache auto-shutdown when creating a virtualhost

Postby lopandpe » 18. April 2015 10:34

Hi there.

I've configured a virtualhost on httpd-vhost.conf to work a multisite:

Code: Select all
<VirtualHost *:80>
    ServerAdmin webmaster@multisite-FIRSTDOMAIN.local
    ServerName localhost

      DirectoryIndex index.php index.html
    DocumentRoot "C:/xampp/htdocs/blablabla"

    <Directory>
       Options -Indexes +FollowSymLinks +MultiViews
       AllowOverride All
       Order allow,deny
       Allow from all
       Require all granted
       Satisfy Any
    </Directory>

    LogLevel warn
    ErrorLog "logs/blablabla"
    CustomLog "logs/blablabla-access.log" combined

    ServerAlias FIRSTDOMAIN.com.local
    ServerAlias www.FIRSTDOMAIN.com.local
    ServerAlias SECONDDOMAIN.FIRSTDOMAIN.com.local
    ServerAlias www.SECONDDOMAIN.FIRSTDOMAIN.com.local

</VirtualHost>


On mi host file I've set:


Code: Select all
   127.0.0.1 FIRSTDOMAIN.com.local
   127.0.0.1 www.FIRSTDOMAIN.com.local
   127.0.0.1 SECONDDOMAIN.FIRSTDOMAIN.com.local
   127.0.0.1 www.SECONDDOMAIN.FIRSTDOMAIN.com.local


It is a drupal multisite development.

When I try to start Apache, It switches off suddenly.

11:34:55 [Apache] Attempting to start Apache app...
11:34:56 [Apache] Status change detected: running
11:34:56 [Apache] Status change detected: stopped
11:34:56 [Apache] Error: Apache shutdown unexpectedly.
11:34:56 [Apache] This may be due to a blocked port, missing dependencies,
11:34:56 [Apache] improper privileges, a crash, or a shutdown by another method.
11:34:56 [Apache] Press the Logs button to view error logs and check
11:34:56 [Apache] the Windows Event Viewer for more clues
11:34:56 [Apache] If you need more help, copy and post this
11:34:56 [Apache] entire log window on the forums


I get this log:

[Fri Apr 17 01:19:45.070247 2015] [mpm_winnt:crit] [pid 4880:tid 388] AH02538: Child: Parent process exited abruptly. Child process is ending
[Fri Apr 17 01:19:45.070247 2015] [mpm_winnt:warn] [pid 4880:tid 64] (OS 995)La operación de E/S se anuló por una salida de subproceso o por una solicitud de aplicación. : AH00341: winnt_accept: Asynchronous AcceptEx failed.
[Fri Apr 17 01:19:45.070247 2015] [mpm_winnt:warn] [pid 4880:tid 2508] (OS 995)La operación de E/S se anuló por una salida de subproceso o por una solicitud de aplicación. : AH00341: winnt_accept: Asynchronous AcceptEx failed.
[Fri Apr 17 16:07:58.636675 2015] [ssl:warn] [pid 6600:tid 388] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 17 16:07:58.657451 2015] [core:warn] [pid 6600:tid 388] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Apr 17 16:07:58.719951 2015] [ssl:warn] [pid 6600:tid 388] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 17 16:07:58.839177 2015] [mpm_winnt:notice] [pid 6600:tid 388] AH00455: Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3 configured -- resuming normal operations
[Fri Apr 17 16:07:58.839177 2015] [mpm_winnt:notice] [pid 6600:tid 388] AH00456: Apache Lounge VC11 Server built: Jul 17 2014 11:50:08
[Fri Apr 17 16:07:58.839177 2015] [core:notice] [pid 6600:tid 388] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Fri Apr 17 16:07:58.839177 2015] [mpm_winnt:notice] [pid 6600:tid 388] AH00418: Parent: Created child process 3016
[Fri Apr 17 16:07:59.202931 2015] [ssl:warn] [pid 3016:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 17 16:07:59.282684 2015] [ssl:warn] [pid 3016:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 17 16:07:59.307483 2015] [mpm_winnt:notice] [pid 3016:tid 384] AH00354: Child: Starting 150 worker threads.
[Fri Apr 17 19:24:16.449445 2015] [autoindex:error] [pid 3016:tid 1684] [client ::1:61475] AH01276: Cannot serve directory C:/xampp/htdocs/FOLDER/sites/FIRSTDOMAIN.com/: No matching DirectoryIndex (index.php,index.html,index.htm) found, and server-generated directory index forbidden by Options directive
[Sat Apr 18 00:41:36.112016 2015] [mpm_winnt:crit] [pid 3016:tid 384] AH02538: Child: Parent process exited abruptly. Child process is ending
[Sat Apr 18 00:41:36.112016 2015] [mpm_winnt:warn] [pid 3016:tid 488] (OS 995)La operación de E/S se anuló por una salida de subproceso o por una solicitud de aplicación. : AH00341: winnt_accept: Asynchronous AcceptEx failed.
[Sat Apr 18 00:41:36.112016 2015] [mpm_winnt:warn] [pid 3016:tid 492] (OS 995)La operación de E/S se anuló por una salida de subproceso o por una solicitud de aplicación. : AH00341: winnt_accept: Asynchronous AcceptEx failed.
[Sat Apr 18 10:15:41.594689 2015] [ssl:warn] [pid 928:tid 428] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Apr 18 10:15:41.610314 2015] [core:warn] [pid 928:tid 428] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat Apr 18 10:15:41.672814 2015] [ssl:warn] [pid 928:tid 428] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Apr 18 10:15:41.798711 2015] [mpm_winnt:notice] [pid 928:tid 428] AH00455: Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3 configured -- resuming normal operations
[Sat Apr 18 10:15:41.798711 2015] [mpm_winnt:notice] [pid 928:tid 428] AH00456: Apache Lounge VC11 Server built: Jul 17 2014 11:50:08
[Sat Apr 18 10:15:41.798711 2015] [core:notice] [pid 928:tid 428] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sat Apr 18 10:15:41.799714 2015] [mpm_winnt:notice] [pid 928:tid 428] AH00418: Parent: Created child process 2136
[Sat Apr 18 10:15:42.169249 2015] [ssl:warn] [pid 2136:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Apr 18 10:15:42.247373 2015] [ssl:warn] [pid 2136:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Apr 18 10:15:42.278624 2015] [mpm_winnt:notice] [pid 2136:tid 384] AH00354: Child: Starting 150 worker threads.


Could you help me?

I'm sorry, but I can't show the real domains name because of a confidentiality agreement.
lopandpe
 
Posts: 9
Joined: 18. April 2015 10:23
Operating System: Windows 8

Re: Apache auto-shutdown when creating a virtualhost

Postby Nobbie » 18. April 2015 11:55

This is the main error message:

>AH01276: Cannot serve directory C:/xampp/htdocs/FOLDER/sites/FIRSTDOMAIN.com/: No matching DirectoryIndex (index.php,index.html,index.htm) found, and server-generated directory index forbidden by Options directive

There is neither an index.html nor an index.php and no "Option Indexes" for that folder, therefore the directory is not accessible. Either put a valid index.html / index.php in that folder, or apply "Options Indexes".
Nobbie
 
Posts: 8768
Joined: 09. March 2008 13:04

Re: Apache auto-shutdown when creating a virtualhost

Postby gsmith » 18. April 2015 21:05

Can't be, that's not a fatal error. Also look at the timestamp between that error and the very next line, the mpm_winnt:crit error. They are ~4.5 hours apart and note Apache seems to have recovered by the later AcceptEX errors. That critical was probably php5ts.dll crashing, nothing new there.

No, I'm betting on this:
Code: Select all
<Directory>

<Directory> requires the directory-path (e.g. <Directory "/some/path/to/somewhere">).

If I add something similar to my config I get in my command prompt:
AH00526: Syntax error on line 182 of C:/Apache24/conf/httpd.conf:
<Directory> directive requires additional arguments

This is fatal! It stops before opening the error log (which is why it's not there).

Change that to:
<Directory "C:/xampp/htdocs/blablabla">

I see other potential (but not fatal) problems, the use of both Order/Allow/Satify & Require, always known to cause 403 problems when mixing these in 2.4. Just use the single Require all granted.

Code: Select all
<Directory "C:/xampp/htdocs/blablabla">
    Options -Indexes +FollowSymLinks +MultiViews
    AllowOverride All
    Require all granted
</Directory>


The AcceptEx warning is easy to fix as well. add to httpd.conf

Code: Select all
AcceptFilter http none
AcceptFilter https none


I usually put this around the commented out EnableSenfile line.
gsmith
 
Posts: 194
Joined: 29. November 2013 18:04
Location: San Diego
XAMPP version: 0.0.0
Operating System: Win XP to 2012R2/VS 6,9,11,14

Re: Apache auto-shutdown when creating a virtualhost

Postby Nobbie » 19. April 2015 11:53

gsmith wrote:Can't be, that's not a fatal error.


I was surprised as well, but Apache calls it "error" (not warn, not notice):

[Fri Apr 17 19:24:16.449445 2015] [autoindex:error] [pid 3016:tid 1684] [client ::1:61475] AH01276: Cannot serve directory C:/xampp/htdocs/FOLDER/sites/FIRSTDOMAIN.com/: No matching DirectoryIndex (index.php,index.html,index.htm) found, and server-generated directory index forbidden by Options directive


I cannot see any other "error" in that error dump?! It seems to be incomplete, of course the plain "<Directory>" is an error (there should be a message like "missing argument").
Nobbie
 
Posts: 8768
Joined: 09. March 2008 13:04

Re: Apache auto-shutdown when creating a virtualhost

Postby lopandpe » 19. April 2015 16:08

Hi!

As gsmith sais, that could not be the issue, because I created the virtual host yesterday (Saturday), not Friday.

I have changed the Directory as you said, and Apache starts correctly.

¡Thanks!

Now I'm having problems with my App and my hosts, but it is another story.


The error log was complete...
lopandpe
 
Posts: 9
Joined: 18. April 2015 10:23
Operating System: Windows 8

Re: Apache auto-shutdown when creating a virtualhost

Postby gsmith » 20. April 2015 01:05

Nobbie wrote:I was surprised as well, but Apache calls it "error" (not warn, not notice):
[Fri Apr 17 19:24:16.449445 2015] [autoindex:error] [pid 3016:tid 1684] [client ::1:61475] AH01276: Cannot serve directory C:/xampp/htdocs/FOLDER/sites/FIRSTDOMAIN.com/: No matching DirectoryIndex (index.php,index.html,index.htm) found, and server-generated directory index forbidden by Options directive

That it does because it was considered an error I guess by the developer who wrote that in (seems overly harsh but whatever). It is a per-request event however and is never checked during start up. Should it fail during a request it just returns HTTP_FORBIDDEN (403). You will never see this error on start up, not until someone requests the directory in question.

Nobbie wrote:I cannot see any other "error" in that error dump?! It seems to be incomplete, of course the plain "<Directory>" is an error (there should be a message like "missing argument").

There was, but as you know often start up errors do not make the error log because the log has not been opened yet to write to. They can often be found in the Event Viewer if Apache's running as a service because that intercepts all STDERR output. At times still you just have to start the server from the command prompt, which would have shown that error (AH00526) if it was not in the Event Viewer. httpd -t from the command prompt would have shown it also.

Nobbie, I know you know 99.9+% of this, I'm just leaving it here for others that do not.
gsmith
 
Posts: 194
Joined: 29. November 2013 18:04
Location: San Diego
XAMPP version: 0.0.0
Operating System: Win XP to 2012R2/VS 6,9,11,14

Re: Apache auto-shutdown when creating a virtualhost

Postby lopandpe » 20. April 2015 19:03

I apologise for my ignorance, but I am not able to open my new virtualhost.

All I want is to write FIRSTDOMAIN.com and open the localhost folder, buth Chrome just search in google. :oops:

Surely it has a very obvious solution...

My host file:
Code: Select all
   
   (...)
   127.0.0.1 FIRSTDOMAIN.com.local
   127.0.0.1 www.FIRSTDOMAIN.com.local
   127.0.0.1 SECONDDOMAIN.FIRSTDOMAIN.com.local
   127.0.0.1 www.SECONDDOMAIN.FIRSTDOMAIN.com.local


Finally, My httpd-vhosts file looks like:
Code: Select all
<VirtualHost *:80>
    ServerAdmin webmaster@FIRSTDOMAIN.com.local
    ServerName multisite-FIRSTDOMAIN.com.local

    DirectoryIndex index.php index.html
    DocumentRoot "C:/xampp/htdocs/blablabla"

    <Directory "C:/xampp/htdocs/blablabla">
       Options -Indexes +FollowSymLinks +MultiViews
       AllowOverride All
       Require all granted
    </Directory>

    LogLevel warn
    ErrorLog "logs/blablabla"
    CustomLog "logs/blablabla-access.log" combined

    ServerAlias FIRSTDOMAIN.com.local
    ServerAlias www.FIRSTDOMAIN.com.local
    ServerAlias SECONDDOMAIN.FIRSTDOMAIN.com.local
    ServerAlias www.SECONDDOMAIN.FIRSTDOMAIN.com.local

</VirtualHost>


:shock:

Billions of thanks!

P.D: Now, I only can access the app, writing localhost... And that's not what I wanted!
Last edited by lopandpe on 20. April 2015 19:28, edited 1 time in total.
lopandpe
 
Posts: 9
Joined: 18. April 2015 10:23
Operating System: Windows 8

Re: Apache auto-shutdown when creating a virtualhost

Postby Nobbie » 20. April 2015 19:12

gsmith wrote:I'm just leaving it here for others that do not.


Of course, I appreciate that and to be honest: i simply overlooked that plain "<Directory>" token, if have been fixed on the error log only. I was glad to see an "error" what definately was a lot more information than in many other requests. But you are right in every aspect.
Nobbie
 
Posts: 8768
Joined: 09. March 2008 13:04

Re: Apache auto-shutdown when creating a virtualhost

Postby Nobbie » 20. April 2015 19:14

lopandpe wrote:P.D: Now, I only can access the app, writing localhost... And that's not what I wanted!


Can we have an updated error log?

P.S.:

lopandpe wrote: ServerAdmin webmaster@parquewarner.com.local


Aha, as we say in Germany "Die Katze ist aus dem Sack" (try Google Translator), therefore there is no need anymore for "anonymizing" your configuration data. I really dont like to use "non real data", because in many many cases, the "hidden data" also hides the reason for the problem. So please, provide real data, not abstracted names. You want us to help you and we need real data.
Nobbie
 
Posts: 8768
Joined: 09. March 2008 13:04

Re: Apache auto-shutdown when creating a virtualhost

Postby Altrea » 20. April 2015 19:33

lopandpe wrote:
Code: Select all
ServerName multisite-FIRSTDOMAIN.com.local

I don't know why you put this "multisite" there...

lopandpe wrote:All I want is to write FIRSTDOMAIN.com and open the localhost folder, buth Chrome just search in google. :oops:

technically there is no localhost folder. localhost is just a predefined domain name for your very local machine and has primary nothing to do with any webserver or other software.

Lets assume you want to have two domain names requestable: localhost (routes to folder C:\xampp\htdocs\) and FIRSTDOMAIN.com.local (which routes to C:\xampp\htdocs\blablabla)

than the configuration should be something like this:

C:\Windows\system32\drivers\etc\hosts
Code: Select all
127.0.0.1        localhost
127.0.0.1        FIRSTDOMAIN.com.local


C:\xampp\apache\conf\extra\httpd-vhosts.conf
Code: Select all
<VirtualHost *:80>
    DocumentRoot "C:/xampp/htdocs"
    ServerName localhost
</VirtualHost>

<VirtualHost *:80>
    DocumentRoot "C:/xampp/htdocs/blablabla"
    ServerName FIRSTDOMAIN.com.local
</VirtualHost>


You don't need a <Directory> Block unless your Directory is outside of the predefined htdocs folder.
But it is not recommend to inherit vhosts, so it would be recommend to have FIRSTDOMAIN.com.local outside of the localhost vhost, like so:

Code: Select all
<VirtualHost *:80>
    DocumentRoot "C:/xampp/htdocs"
    ServerName localhost
</VirtualHost>

<VirtualHost *:80>
    DocumentRoot "C:/xampp/vhosts/FIRSTDOMAIN.com.local/htdocs"
    ServerName FIRSTDOMAIN.com.local

    <Directory "C:/xampp/vhosts/FIRSTDOMAIN.com.local/htdocs">
        Options Indexes FollowSymLinks Includes ExecCGI
        AllowOverride All
        Require all granted
    </Directory>
</VirtualHost>
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8290
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Apache auto-shutdown when creating a virtualhost

Postby lopandpe » 20. April 2015 19:37

:shock: :shock: :shock: :shock:

I'm not sure about the importance of usin the real domain name or another.

My new error.log (notice that I have been trying a lot of things):

[Fri Apr 17 01:19:45.070247 2015] [mpm_winnt:crit] [pid 4880:tid 388] AH02538: Child: Parent process exited abruptly. Child process is ending
[Fri Apr 17 01:19:45.070247 2015] [mpm_winnt:warn] [pid 4880:tid 64] (OS 995)La operación de E/S se anuló por una salida de subproceso o por una solicitud de aplicación. : AH00341: winnt_accept: Asynchronous AcceptEx failed.
[Fri Apr 17 01:19:45.070247 2015] [mpm_winnt:warn] [pid 4880:tid 2508] (OS 995)La operación de E/S se anuló por una salida de subproceso o por una solicitud de aplicación. : AH00341: winnt_accept: Asynchronous AcceptEx failed.
[Fri Apr 17 16:07:58.636675 2015] [ssl:warn] [pid 6600:tid 388] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 17 16:07:58.657451 2015] [core:warn] [pid 6600:tid 388] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Apr 17 16:07:58.719951 2015] [ssl:warn] [pid 6600:tid 388] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 17 16:07:58.839177 2015] [mpm_winnt:notice] [pid 6600:tid 388] AH00455: Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3 configured -- resuming normal operations
[Fri Apr 17 16:07:58.839177 2015] [mpm_winnt:notice] [pid 6600:tid 388] AH00456: Apache Lounge VC11 Server built: Jul 17 2014 11:50:08
[Fri Apr 17 16:07:58.839177 2015] [core:notice] [pid 6600:tid 388] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Fri Apr 17 16:07:58.839177 2015] [mpm_winnt:notice] [pid 6600:tid 388] AH00418: Parent: Created child process 3016
[Fri Apr 17 16:07:59.202931 2015] [ssl:warn] [pid 3016:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 17 16:07:59.282684 2015] [ssl:warn] [pid 3016:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 17 16:07:59.307483 2015] [mpm_winnt:notice] [pid 3016:tid 384] AH00354: Child: Starting 150 worker threads.
[Fri Apr 17 19:24:16.449445 2015] [autoindex:error] [pid 3016:tid 1684] [client ::1:61475] AH01276: Cannot serve directory C:/xampp/htdocs/warner/sites/parquewarner.com/: No matching DirectoryIndex (index.php,index.html,index.htm) found, and server-generated directory index forbidden by Options directive
[Sat Apr 18 00:41:36.112016 2015] [mpm_winnt:crit] [pid 3016:tid 384] AH02538: Child: Parent process exited abruptly. Child process is ending
[Sat Apr 18 00:41:36.112016 2015] [mpm_winnt:warn] [pid 3016:tid 488] (OS 995)La operación de E/S se anuló por una salida de subproceso o por una solicitud de aplicación. : AH00341: winnt_accept: Asynchronous AcceptEx failed.
[Sat Apr 18 00:41:36.112016 2015] [mpm_winnt:warn] [pid 3016:tid 492] (OS 995)La operación de E/S se anuló por una salida de subproceso o por una solicitud de aplicación. : AH00341: winnt_accept: Asynchronous AcceptEx failed.
[Sat Apr 18 10:15:41.594689 2015] [ssl:warn] [pid 928:tid 428] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Apr 18 10:15:41.610314 2015] [core:warn] [pid 928:tid 428] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat Apr 18 10:15:41.672814 2015] [ssl:warn] [pid 928:tid 428] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Apr 18 10:15:41.798711 2015] [mpm_winnt:notice] [pid 928:tid 428] AH00455: Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3 configured -- resuming normal operations
[Sat Apr 18 10:15:41.798711 2015] [mpm_winnt:notice] [pid 928:tid 428] AH00456: Apache Lounge VC11 Server built: Jul 17 2014 11:50:08
[Sat Apr 18 10:15:41.798711 2015] [core:notice] [pid 928:tid 428] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sat Apr 18 10:15:41.799714 2015] [mpm_winnt:notice] [pid 928:tid 428] AH00418: Parent: Created child process 2136
[Sat Apr 18 10:15:42.169249 2015] [ssl:warn] [pid 2136:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Apr 18 10:15:42.247373 2015] [ssl:warn] [pid 2136:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Apr 18 10:15:42.278624 2015] [mpm_winnt:notice] [pid 2136:tid 384] AH00354: Child: Starting 150 worker threads.
[Sun Apr 19 09:31:00.917789 2015] [ssl:warn] [pid 5000:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Apr 19 09:31:00.938552 2015] [core:warn] [pid 5000:tid 384] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Apr 19 09:31:00.998658 2015] [ssl:warn] [pid 5000:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Apr 19 09:31:01.019678 2015] [mpm_winnt:notice] [pid 5000:tid 384] AH00455: Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3 configured -- resuming normal operations
[Sun Apr 19 09:31:01.019678 2015] [mpm_winnt:notice] [pid 5000:tid 384] AH00456: Apache Lounge VC11 Server built: Jul 17 2014 11:50:08
[Sun Apr 19 09:31:01.019678 2015] [core:notice] [pid 5000:tid 384] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sun Apr 19 09:31:01.022681 2015] [mpm_winnt:notice] [pid 5000:tid 384] AH00418: Parent: Created child process 3048
[Sun Apr 19 09:31:01.366663 2015] [ssl:warn] [pid 3048:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Apr 19 09:31:01.452494 2015] [ssl:warn] [pid 3048:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Apr 19 09:31:01.475472 2015] [mpm_winnt:notice] [pid 3048:tid 392] AH00354: Child: Starting 150 worker threads.
[Sun Apr 19 14:32:49.077681 2015] [ssl:warn] [pid 4044:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Apr 19 14:32:49.101754 2015] [core:warn] [pid 4044:tid 384] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Apr 19 14:32:49.165803 2015] [ssl:warn] [pid 4044:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Apr 19 14:32:49.188825 2015] [mpm_winnt:notice] [pid 4044:tid 384] AH00455: Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3 configured -- resuming normal operations
[Sun Apr 19 14:32:49.188825 2015] [mpm_winnt:notice] [pid 4044:tid 384] AH00456: Apache Lounge VC11 Server built: Jul 17 2014 11:50:08
[Sun Apr 19 14:32:49.188825 2015] [core:notice] [pid 4044:tid 384] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sun Apr 19 14:32:49.191829 2015] [mpm_winnt:notice] [pid 4044:tid 384] AH00418: Parent: Created child process 3192
[Sun Apr 19 14:32:49.552338 2015] [ssl:warn] [pid 3192:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Apr 19 14:32:49.631398 2015] [ssl:warn] [pid 3192:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Apr 19 14:32:49.654457 2015] [mpm_winnt:notice] [pid 3192:tid 392] AH00354: Child: Starting 150 worker threads.
[Sun Apr 19 14:33:43.703140 2015] [ssl:warn] [pid 2420:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Apr 19 14:33:43.726714 2015] [core:warn] [pid 2420:tid 384] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Apr 19 14:33:43.789770 2015] [ssl:warn] [pid 2420:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Apr 19 14:33:43.811805 2015] [mpm_winnt:notice] [pid 2420:tid 384] AH00455: Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3 configured -- resuming normal operations
[Sun Apr 19 14:33:43.811805 2015] [mpm_winnt:notice] [pid 2420:tid 384] AH00456: Apache Lounge VC11 Server built: Jul 17 2014 11:50:08
[Sun Apr 19 14:33:43.811805 2015] [core:notice] [pid 2420:tid 384] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sun Apr 19 14:33:43.814794 2015] [mpm_winnt:notice] [pid 2420:tid 384] AH00418: Parent: Created child process 1800
[Sun Apr 19 14:33:44.159092 2015] [ssl:warn] [pid 1800:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Apr 19 14:33:44.240438 2015] [ssl:warn] [pid 1800:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Apr 19 14:33:44.263684 2015] [mpm_winnt:notice] [pid 1800:tid 392] AH00354: Child: Starting 150 worker threads.
[Sun Apr 19 16:53:45.496807 2015] [ssl:warn] [pid 4264:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Apr 19 16:53:45.519090 2015] [core:warn] [pid 4264:tid 384] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Apr 19 16:53:45.579166 2015] [ssl:warn] [pid 4264:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Apr 19 16:53:45.600181 2015] [mpm_winnt:notice] [pid 4264:tid 384] AH00455: Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3 configured -- resuming normal operations
[Sun Apr 19 16:53:45.600181 2015] [mpm_winnt:notice] [pid 4264:tid 384] AH00456: Apache Lounge VC11 Server built: Jul 17 2014 11:50:08
[Sun Apr 19 16:53:45.600181 2015] [core:notice] [pid 4264:tid 384] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sun Apr 19 16:53:45.603188 2015] [mpm_winnt:notice] [pid 4264:tid 384] AH00418: Parent: Created child process 5016
[Sun Apr 19 16:53:45.942262 2015] [ssl:warn] [pid 5016:tid 396] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Apr 19 16:53:46.023328 2015] [ssl:warn] [pid 5016:tid 396] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Apr 19 16:53:46.048008 2015] [mpm_winnt:notice] [pid 5016:tid 396] AH00354: Child: Starting 150 worker threads.
[Sun Apr 19 17:02:36.037847 2015] [ssl:warn] [pid 2360:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Apr 19 17:02:36.059568 2015] [core:warn] [pid 2360:tid 384] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Apr 19 17:02:36.121638 2015] [ssl:warn] [pid 2360:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Apr 19 17:02:36.143659 2015] [mpm_winnt:notice] [pid 2360:tid 384] AH00455: Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3 configured -- resuming normal operations
[Sun Apr 19 17:02:36.143659 2015] [mpm_winnt:notice] [pid 2360:tid 384] AH00456: Apache Lounge VC11 Server built: Jul 17 2014 11:50:08
[Sun Apr 19 17:02:36.143659 2015] [core:notice] [pid 2360:tid 384] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sun Apr 19 17:02:36.146653 2015] [mpm_winnt:notice] [pid 2360:tid 384] AH00418: Parent: Created child process 6612
[Sun Apr 19 17:02:36.508029 2015] [ssl:warn] [pid 6612:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Apr 19 17:02:36.589106 2015] [ssl:warn] [pid 6612:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Apr 19 17:02:36.613124 2015] [mpm_winnt:notice] [pid 6612:tid 392] AH00354: Child: Starting 150 worker threads.
[Sun Apr 19 17:08:23.420993 2015] [ssl:warn] [pid 6316:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Apr 19 17:08:23.444268 2015] [core:warn] [pid 6316:tid 384] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Apr 19 17:08:23.504334 2015] [ssl:warn] [pid 6316:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Apr 19 17:08:23.526339 2015] [mpm_winnt:notice] [pid 6316:tid 384] AH00455: Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3 configured -- resuming normal operations
[Sun Apr 19 17:08:23.526339 2015] [mpm_winnt:notice] [pid 6316:tid 384] AH00456: Apache Lounge VC11 Server built: Jul 17 2014 11:50:08
[Sun Apr 19 17:08:23.526339 2015] [core:notice] [pid 6316:tid 384] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sun Apr 19 17:08:23.529345 2015] [mpm_winnt:notice] [pid 6316:tid 384] AH00418: Parent: Created child process 5508
[Sun Apr 19 17:08:23.876760 2015] [ssl:warn] [pid 5508:tid 396] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Apr 19 17:08:23.959173 2015] [ssl:warn] [pid 5508:tid 396] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Apr 19 17:08:23.984195 2015] [mpm_winnt:notice] [pid 5508:tid 396] AH00354: Child: Starting 150 worker threads.
[Sun Apr 19 23:02:27.956331 2015] [mpm_winnt:crit] [pid 5508:tid 396] AH02538: Child: Parent process exited abruptly. Child process is ending
[Mon Apr 20 19:37:39.028156 2015] [ssl:warn] [pid 5720:tid 400] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Apr 20 19:37:39.043781 2015] [core:warn] [pid 5720:tid 400] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Apr 20 19:37:39.106290 2015] [ssl:warn] [pid 5720:tid 400] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Apr 20 19:37:39.231295 2015] [mpm_winnt:notice] [pid 5720:tid 400] AH00455: Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3 configured -- resuming normal operations
[Mon Apr 20 19:37:39.231295 2015] [mpm_winnt:notice] [pid 5720:tid 400] AH00456: Apache Lounge VC11 Server built: Jul 17 2014 11:50:08
[Mon Apr 20 19:37:39.231295 2015] [core:notice] [pid 5720:tid 400] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon Apr 20 19:37:39.231295 2015] [mpm_winnt:notice] [pid 5720:tid 400] AH00418: Parent: Created child process 7932
[Mon Apr 20 19:37:39.606289 2015] [ssl:warn] [pid 7932:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Apr 20 19:37:39.684414 2015] [ssl:warn] [pid 7932:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Apr 20 19:37:39.715655 2015] [mpm_winnt:notice] [pid 7932:tid 392] AH00354: Child: Starting 150 worker threads.
[Mon Apr 20 19:41:42.775867 2015] [ssl:warn] [pid 7012:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Apr 20 19:41:42.791489 2015] [core:warn] [pid 7012:tid 384] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Apr 20 19:41:42.859048 2015] [ssl:warn] [pid 7012:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Apr 20 19:41:42.874674 2015] [mpm_winnt:notice] [pid 7012:tid 384] AH00455: Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3 configured -- resuming normal operations
[Mon Apr 20 19:41:42.874674 2015] [mpm_winnt:notice] [pid 7012:tid 384] AH00456: Apache Lounge VC11 Server built: Jul 17 2014 11:50:08
[Mon Apr 20 19:41:42.874674 2015] [core:notice] [pid 7012:tid 384] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon Apr 20 19:41:42.874674 2015] [mpm_winnt:notice] [pid 7012:tid 384] AH00418: Parent: Created child process 1164
[Mon Apr 20 19:41:43.205580 2015] [ssl:warn] [pid 1164:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Apr 20 19:41:43.283705 2015] [ssl:warn] [pid 1164:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Apr 20 19:41:43.314962 2015] [mpm_winnt:notice] [pid 1164:tid 392] AH00354: Child: Starting 150 worker threads.
[Mon Apr 20 19:44:12.987839 2015] [ssl:warn] [pid 700:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Apr 20 19:44:13.019087 2015] [core:warn] [pid 700:tid 384] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Apr 20 19:44:13.081582 2015] [ssl:warn] [pid 700:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Apr 20 19:44:13.097202 2015] [mpm_winnt:notice] [pid 700:tid 384] AH00455: Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3 configured -- resuming normal operations
[Mon Apr 20 19:44:13.097202 2015] [mpm_winnt:notice] [pid 700:tid 384] AH00456: Apache Lounge VC11 Server built: Jul 17 2014 11:50:08
[Mon Apr 20 19:44:13.097202 2015] [core:notice] [pid 700:tid 384] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon Apr 20 19:44:13.097202 2015] [mpm_winnt:notice] [pid 700:tid 384] AH00418: Parent: Created child process 3556
[Mon Apr 20 19:44:13.457221 2015] [ssl:warn] [pid 3556:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Apr 20 19:44:13.535349 2015] [ssl:warn] [pid 3556:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Apr 20 19:44:13.566588 2015] [mpm_winnt:notice] [pid 3556:tid 392] AH00354: Child: Starting 150 worker threads.
[Mon Apr 20 20:07:47.448849 2015] [ssl:warn] [pid 5324:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Apr 20 20:07:47.471655 2015] [core:warn] [pid 5324:tid 384] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Apr 20 20:07:47.531903 2015] [ssl:warn] [pid 5324:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Apr 20 20:07:47.554929 2015] [mpm_winnt:notice] [pid 5324:tid 384] AH00455: Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3 configured -- resuming normal operations
[Mon Apr 20 20:07:47.554929 2015] [mpm_winnt:notice] [pid 5324:tid 384] AH00456: Apache Lounge VC11 Server built: Jul 17 2014 11:50:08
[Mon Apr 20 20:07:47.554929 2015] [core:notice] [pid 5324:tid 384] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon Apr 20 20:07:47.557936 2015] [mpm_winnt:notice] [pid 5324:tid 384] AH00418: Parent: Created child process 3192
[Mon Apr 20 20:07:47.917328 2015] [ssl:warn] [pid 3192:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Apr 20 20:07:47.999427 2015] [ssl:warn] [pid 3192:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Apr 20 20:07:48.023225 2015] [mpm_winnt:notice] [pid 3192:tid 392] AH00354: Child: Starting 150 worker threads.
[Mon Apr 20 20:26:22.149816 2015] [ssl:warn] [pid 4776:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Apr 20 20:26:22.171839 2015] [core:warn] [pid 4776:tid 384] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Apr 20 20:26:22.232995 2015] [ssl:warn] [pid 4776:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Apr 20 20:26:22.254019 2015] [mpm_winnt:notice] [pid 4776:tid 384] AH00455: Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3 configured -- resuming normal operations
[Mon Apr 20 20:26:22.254019 2015] [mpm_winnt:notice] [pid 4776:tid 384] AH00456: Apache Lounge VC11 Server built: Jul 17 2014 11:50:08
[Mon Apr 20 20:26:22.254019 2015] [core:notice] [pid 4776:tid 384] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon Apr 20 20:26:22.257017 2015] [mpm_winnt:notice] [pid 4776:tid 384] AH00418: Parent: Created child process 3816
[Mon Apr 20 20:26:22.610620 2015] [ssl:warn] [pid 3816:tid 396] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Apr 20 20:26:22.696701 2015] [ssl:warn] [pid 3816:tid 396] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Apr 20 20:26:22.723604 2015] [mpm_winnt:notice] [pid 3816:tid 396] AH00354: Child: Starting 150 worker threads.


The real httpd-vhosts.conf:
Code: Select all
<VirtualHost *:80>
    ServerAdmin webmaster@parquewarner.com.local
    ServerName multisite-parquewarner.com.local

   DirectoryIndex index.php index.html
    DocumentRoot "C:/xampp/htdocs/warner"

    <Directory "C:/xampp/htdocs/warner">
       Options -Indexes +FollowSymLinks +MultiViews
       AllowOverride All
       Require all granted
    </Directory>

    LogLevel warn
    ErrorLog "logs/warner"
    CustomLog "logs/warner-access.log" combined

    ServerAlias parquewarner.com.local
    ServerAlias www.parquewarner.com.local
    ServerAlias parquewarnerbeach.parquewarner.com.local
    ServerAlias www.parquewarnerbeach.parquewarner.com.local

</VirtualHost>
lopandpe
 
Posts: 9
Joined: 18. April 2015 10:23
Operating System: Windows 8

Re: Apache auto-shutdown when creating a virtualhost

Postby Altrea » 20. April 2015 19:42

lopandpe wrote:I'm not sure about the importance of usin the real domain name or another.

Very easy: by hiding real information people often hiding the real problem too which makes it impossible for us to identify and solve the issue.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8290
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Apache auto-shutdown when creating a virtualhost

Postby gsmith » 20. April 2015 19:49

Can we assume the real Windows hosts file looks something like;

Code: Select all
127.0.0.1 multisite-parquewarner.com.local
127.0.0.1 parquewarner.com.local
127.0.0.1 www.parquewarner.com.local
127.0.0.1 parquewarnerbeach.parquewarner.com.local
127.0.0.1 www.parquewarnerbeach.parquewarner.com.local


????
gsmith
 
Posts: 194
Joined: 29. November 2013 18:04
Location: San Diego
XAMPP version: 0.0.0
Operating System: Win XP to 2012R2/VS 6,9,11,14

Re: Apache auto-shutdown when creating a virtualhost

Postby Nobbie » 20. April 2015 19:51

lopandpe wrote:The real httpd-vhosts.conf


Aha, we are getting nearer now. If you like to use VIrtualhosts, you have to define a VirtualHost for each Domain/Host Name, especially for "localhost" (for example). If Apache finds any VirtualHost declaration, all other configurations for ServerName etc. are ignored! You must define a VirtualHost for all Domains, you like to use.

Therefore i recommend, edit the httpd-vhosts.conf to your needs, extend it to more VirtualHosts (at least "localhost") and finally give it a try. If it still fails - show us the error log again. Keep a very important thing in mind: if your browser requests for a domain (VirtualHost) Name, which is unknown to Apache (probably for a faulty declaration), Apache always takes the configuration of the FIRST VirtualHost in your definitions in order to respond to the request. This may help you to understand, how Apache solves unknown Hosts.
Last edited by Nobbie on 20. April 2015 20:44, edited 1 time in total.
Nobbie
 
Posts: 8768
Joined: 09. March 2008 13:04

Re: Apache auto-shutdown when creating a virtualhost

Postby lopandpe » 20. April 2015 20:06

Yes, the real host file:
Code: Select all
# localhost name resolution is handled within DNS itself.
#   127.0.0.1       localhost
#   ::1             localhost

   127.0.0.1 parquewarner.com.local
   127.0.0.1 www.parquewarner.com.local
   127.0.0.1 parquewarnerbeach.parquewarner.com.local
   127.0.0.1 www.parquewarnerbeach.parquewarner.com.local


I'll try to create another virtualhost for localhost.
lopandpe
 
Posts: 9
Joined: 18. April 2015 10:23
Operating System: Windows 8

Next

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 64 guests