logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache 2.4.3 Error log
Author
popo0990



Joined: 08 Oct 2012
Posts: 2

PostPosted: Mon 08 Oct '12 23:12    Post subject: Apache 2.4.3 Error log Reply with quote

Hi everyone,

I just made a clean install of Apache 2.4.3 and when I start the service I get this error


Quote:
[Mon Oct 08 23:02:19.376375 2012] [mpm_winnt:notice] [pid 8220:tid 396] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c configured -- resuming normal operations
[Mon Oct 08 23:02:19.376375 2012] [mpm_winnt:notice] [pid 8220:tid 396] AH00456: Server built: Aug 18 2012 12:41:37
[Mon Oct 08 23:02:19.376375 2012] [core:notice] [pid 8220:tid 396] AH00094: Command line: 'C:\Apache24\bin\httpd.exe -d C:/Apache24'
[Mon Oct 08 23:02:19.378375 2012] [mpm_winnt:notice] [pid 8220:tid 396] AH00418: Parent: Created child process 8864
[Mon Oct 08 23:02:20.808457 2012] [ssl:warn] [pid 8864:tid 272] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Oct 08 23:02:20.860460 2012] [mpm_winnt:notice] [pid 8864:tid 272] AH00354: Child: Starting 150 worker threads.
[Mon Oct 08 23:02:22.130533 2012] [mpm_winnt:notice] [pid 8220:tid 396] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Mon Oct 08 23:02:24.131647 2012] [mpm_winnt:notice] [pid 8864:tid 272] AH00364: Child: All worker threads have exited.
[Mon Oct 08 23:02:24.150648 2012] [mpm_winnt:notice] [pid 8220:tid 396] AH00430: Parent: Child process exited successfully.


So I thought that maybe I had and error in the httpd.conf file.
I decided to strip down the file to essentials, and after reading a lot in several forums I created this basic config.

Code:
AcceptFilter http none
EnableSendfile Off
EnableMMAP off

Listen 80

ServerRoot "C:\Apache24"

ErrorLog "logs/error.log"
LogLevel warn


ServerName localhost


Apache is working Ok, but I'm still getting this notices.

So, the big question is:
Is this normal?
Is it a bug?

Can you help me?

PC Specs
Windows 7 x64
.NET 3.5 SP1
.NET 4.0
Redist 2010
Windows updated up to date

Thanks!!!
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Tue 09 Oct '12 5:37    Post subject: Reply with quote

[*:notice] are for the most part normal, [*:warn] are warnings that usually will not stop Apache from working. [*:error] is an error and will stop Apache from starting and [*:crit] is critical and hopefully you never see them or [*:emerg] for dire emergency.

Looking at your log output you should set a SSLSessionCache (like it is hinting in the warning.)

This works fine for most users:

Load module mod_socache_shmcb and add to your configuration

SSLSessionCache shmcb:logs/ssl_cache_data(512000)

This will remove the warning, the notices will stay and cannot be turned off (unfortunately). I personally think they should all be in LogLevel debug

Edit: typo in the module name


Last edited by glsmith on Tue 09 Oct '12 7:44; edited 1 time in total
Back to top
popo0990



Joined: 08 Oct 2012
Posts: 2

PostPosted: Tue 09 Oct '12 6:21    Post subject: Reply with quote

Thank you very much.

I was worried about the notices and them being in an *error.log*.

If they could only be in an info.log or something similar... my day would have been easier. I thought I was doing something wrong.

Thanks!!!
Back to top


Reply to topic   Topic: Apache 2.4.3 Error log View previous topic :: View next topic
Post new topic   Forum Index -> Apache