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 mod_session_crypt crashing server Page 1, 2  Next
Author
mckanth



Joined: 26 Apr 2012
Posts: 4
Location: USA, Madison

PostPosted: Mon 30 Apr '12 17:13    Post subject: Apache 2.4 mod_session_crypt crashing server Reply with quote

I am trying to encrypt my session using the following directive

Session On
SessionCookieName session path=/
SessionCryptoPassPhrase sec

We are using form based authentication.

use of SessionCryptoPassPhrase crashes the server. If I dont use that directive it does not encrypt and works fine. Please help if anybody had this issue and found a solution.

I see this error in application event log

Faulting application httpd.exe, version 2.4.2.0, faulting module libaprutil-1.dll, version 1.4.1.0, fault address 0x00002f14.

Thanks
Chandra
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3094
Location: Hilversum, NL, EU

PostPosted: Mon 30 Apr '12 19:11    Post subject: Reply with quote

Running Windows ?
Where did you downloaded your Apache ?
Anything in the apache error log ?

When I put this in my conf, it does not crash:
Code:
LoadModule session_module modules/mod_session.so
LoadModule session_cookie_module modules/mod_session_cookie.so
LoadModule session_crypto_module modules/mod_session_crypto.so

Session On
SessionCookieName session path=/;domain=apachelounge;httponly;secure;
SessionCryptoPassphrase secret
Running Apache 2.4.2 Win32

Steffen
Back to top
mckanth



Joined: 26 Apr 2012
Posts: 4
Location: USA, Madison

PostPosted: Mon 30 Apr '12 19:32    Post subject: Reply with quote

I am running on windows32. It does not crash when starting the server but when I access my application when apache tries to write into cookie it crashes. i dont see anything in apache log. only in application event log it shows faulty module aprutil 1.4.1

I downloaded apache from this site.

I am using this session directives with form authentication and ldap as provider.

any help would be appreciated.

Thanks
Chandra
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3094
Location: Hilversum, NL, EU

PostPosted: Tue 01 May '12 11:37    Post subject: Reply with quote

Cannot reproduce it.

Better to report as bug at httpd.apache.org or you try the Apache HTTP Server Users List before using the bug database.

Steffen
Back to top
mckanth



Joined: 26 Apr 2012
Posts: 4
Location: USA, Madison

PostPosted: Tue 01 May '12 23:48    Post subject: Reply with quote

Ok I will look at apache mailing list.

It looks like it crashes only when we use SessionCryptoPassphrase along with SessonCookieName.

Thanks
Chandra
Back to top
NielsUll



Joined: 14 Jan 2013
Posts: 5
Location: Copenhagen, Denmark

PostPosted: Thu 04 Jul '13 16:02    Post subject: Solved by using binaries from apachehaus ?? Reply with quote

Hi!

By switching to the Win64 binaries from apachehaus, the problem went away? This may solve the issue for other people as well.

I am a bit worried though, since problems which go away for no reason, come back for no reason.
Back to top
BMiot



Joined: 22 Jun 2015
Posts: 13
Location: France

PostPosted: Mon 22 Jun '15 19:39    Post subject: Reply with quote

Hi,

I know this is an old post...
Did someone succed with this ?

I have exactly the same problem...
Any help highly appreciated...

Code:
Version=1
EventType=BEX64
EventTime=130794313891111779
ReportType=2
Consent=1
ReportIdentifier=87c6ab83-18af-11e5-953a-005056ae2881
IntegratorReportIdentifier=87c6ab82-18af-11e5-953a-005056ae2881
Response.type=4
Sig[0].Name=Nom de l’application
Sig[0].Value=httpd.exe
Sig[1].Name=Version de l’application
Sig[1].Value=2.4.12.0
Sig[2].Name=Horodatage de l’application
Sig[2].Value=550bce1a
Sig[3].Name=Nom du module par défaut
Sig[3].Value=StackHash_1dc2
Sig[4].Name=Version du module par défaut
Sig[4].Value=0.0.0.0
Sig[5].Name=Horodateur du module par défaut
Sig[5].Value=00000000
Sig[6].Name=Décalage de l’exception
Sig[6].Value=0000000000000000
Sig[7].Name=Code de l’exception
Sig[7].Value=c0000005
Sig[8].Name=Données d’exception
Sig[8].Value=0000000000000008
DynamicSig[1].Name=Version du système
DynamicSig[1].Value=6.1.7601.2.1.0.1296.17
DynamicSig[2].Name=Identificateur de paramètres régionaux
DynamicSig[2].Value=1036
DynamicSig[22].Name=Information supplémentaire n° 1
DynamicSig[22].Value=1dc2
DynamicSig[23].Name=Information supplémentaire n° 2
DynamicSig[23].Value=1dc22fb1de37d348f27e54dbb5278e7d
DynamicSig[24].Name=Information supplémentaire n° 3
DynamicSig[24].Value=eae3
DynamicSig[25].Name=Information supplémentaire n° 4
DynamicSig[25].Value=eae36a4b5ffb27c9d33117f4125a75c2
UI[2]=C:\Apache24\bin\httpd.exe
UI[5]=Rechercher une solution en ligne (recommandé)
UI[6]=Rechercher une solution plus tard (recommandé)
UI[7]=Fermer
UI[8]=Apache HTTP Server a cessé de fonctionner et a été arrêté
UI[9]=Un problème est à l’origine du dysfonctionnement de cette application. Windows vous préviendra si une solution est disponible.
UI[10]=&Fermer
LoadedModule[0]=C:\Apache24\bin\httpd.exe
LoadedModule[1]=C:\Windows\SYSTEM32\ntdll.dll
LoadedModule[2]=C:\Windows\system32\kernel32.dll
LoadedModule[3]=C:\Windows\system32\KERNELBASE.dll
LoadedModule[4]=C:\Apache24\bin\libapr-1.dll
LoadedModule[5]=C:\Windows\system32\ADVAPI32.dll
LoadedModule[6]=C:\Windows\system32\msvcrt.dll
LoadedModule[7]=C:\Windows\SYSTEM32\sechost.dll
LoadedModule[8]=C:\Windows\system32\RPCRT4.dll
LoadedModule[9]=C:\Windows\system32\WS2_32.dll
LoadedModule[10]=C:\Windows\system32\NSI.dll
LoadedModule[11]=C:\Windows\system32\MSWSOCK.dll
LoadedModule[12]=C:\Windows\system32\user32.dll
LoadedModule[13]=C:\Windows\system32\GDI32.dll
LoadedModule[14]=C:\Windows\system32\LPK.dll
LoadedModule[15]=C:\Windows\system32\USP10.dll
LoadedModule[16]=C:\Windows\system32\SHELL32.dll
LoadedModule[17]=C:\Windows\system32\SHLWAPI.dll
LoadedModule[18]=C:\Windows\system32\MSVCR110.dll
LoadedModule[19]=C:\Apache24\bin\libaprutil-1.dll
LoadedModule[20]=C:\Apache24\bin\libapriconv-1.dll
LoadedModule[21]=C:\Apache24\bin\libhttpd.dll
LoadedModule[22]=C:\Apache24\bin\pcre.dll
LoadedModule[23]=C:\Windows\system32\IMM32.DLL
LoadedModule[24]=C:\Windows\system32\MSCTF.dll
LoadedModule[25]=C:\Windows\system32\CRYPTSP.dll
LoadedModule[26]=C:\Windows\system32\rsaenh.dll
LoadedModule[27]=C:\Windows\system32\CRYPTBASE.dll
LoadedModule[28]=C:\Windows\System32\wship6.dll
LoadedModule[29]=C:\Windows\System32\wshtcpip.dll
LoadedModule[30]=C:\Apache24\modules\mod_actions.so
LoadedModule[31]=C:\Apache24\modules\mod_alias.so
LoadedModule[32]=C:\Apache24\modules\mod_allowmethods.so
LoadedModule[33]=C:\Apache24\modules\mod_asis.so
LoadedModule[34]=C:\Apache24\modules\mod_auth_basic.so
LoadedModule[35]=C:\Apache24\modules\mod_auth_form.so
LoadedModule[36]=C:\Apache24\modules\mod_authn_core.so
LoadedModule[37]=C:\Apache24\modules\mod_authn_dbd.so
LoadedModule[38]=C:\Apache24\modules\mod_authn_file.so
LoadedModule[39]=C:\Apache24\modules\mod_authz_core.so
LoadedModule[40]=C:\Apache24\modules\mod_authz_dbd.so
LoadedModule[41]=C:\Apache24\modules\mod_authz_groupfile.so
LoadedModule[42]=C:\Apache24\modules\mod_authz_host.so
LoadedModule[43]=C:\Apache24\modules\mod_authz_user.so
LoadedModule[44]=C:\Apache24\modules\mod_autoindex.so
LoadedModule[45]=C:\Apache24\modules\mod_cgi.so
LoadedModule[46]=C:\Apache24\modules\mod_dbd.so
LoadedModule[47]=C:\Apache24\modules\mod_dir.so
LoadedModule[48]=C:\Apache24\modules\mod_env.so
LoadedModule[49]=C:\Apache24\modules\mod_include.so
LoadedModule[50]=C:\Apache24\modules\mod_info.so
LoadedModule[51]=C:\Apache24\modules\mod_isapi.so
LoadedModule[52]=C:\Apache24\modules\mod_log_config.so
LoadedModule[53]=C:\Apache24\modules\mod_mime.so
LoadedModule[54]=C:\Apache24\modules\mod_negotiation.so
LoadedModule[55]=C:\Apache24\modules\mod_proxy.so
LoadedModule[56]=C:\Apache24\modules\mod_proxy_http.so
LoadedModule[57]=C:\Apache24\modules\mod_request.so
LoadedModule[58]=C:\Apache24\modules\mod_session.so
LoadedModule[59]=C:\Apache24\modules\mod_session_cookie.so
LoadedModule[60]=C:\Apache24\modules\mod_session_crypto.so
LoadedModule[61]=C:\Apache24\modules\mod_setenvif.so
LoadedModule[62]=C:\Apache24\modules\mod_socache_shmcb.so
LoadedModule[63]=C:\Apache24\modules\mod_ssl.so
LoadedModule[64]=C:\Apache24\bin\LIBEAY32.dll
LoadedModule[65]=C:\Apache24\bin\SSLEAY32.dll
LoadedModule[66]=C:\Apache24\modules\mod_status.so
LoadedModule[67]=C:\Apache24\bin\apr_crypto_openssl-1.dll
FriendlyEventName=Fonctionnement arrêté
ConsentKey=BEX64
AppName=Apache HTTP Server
AppPath=C:\Apache24\bin\httpd.exe
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3094
Location: Hilversum, NL, EU

PostPosted: Mon 22 Jun '15 20:04    Post subject: Reply with quote

I see:

LoadedModule[67]=C:\Apache24\bin\apr_crypto_openssl-1.dll

That is not included in the build from here.

Did you set the SessionCryptoDriver to OpenSSL ?

See http://httpd.apache.org/docs/trunk/mod/mod_session_crypto.html#sessioncryptodriver
Back to top
BMiot



Joined: 22 Jun 2015
Posts: 13
Location: France

PostPosted: Tue 23 Jun '15 9:03    Post subject: Reply with quote

Oups Steffen!
I made a mistake and didnt provide the goog log...
This one was from a test I did with apacheHaus... Sorry!

Here is a good one...
Code:
Version=1
EventType=APPCRASH
EventTime=130794656845090698
ReportType=2
Consent=1
ReportIdentifier=616ab64a-18ff-11e5-953a-005056ae2881
IntegratorReportIdentifier=616ab649-18ff-11e5-953a-005056ae2881
Response.type=4
Sig[0].Name=Nom de l’application
Sig[0].Value=httpd.exe
Sig[1].Name=Version de l’application
Sig[1].Value=2.4.12.0
Sig[2].Name=Horodatage de l’application
Sig[2].Value=5565a671
Sig[3].Name=Nom du module par défaut
Sig[3].Value=libaprutil-1.dll
Sig[4].Name=Version du module par défaut
Sig[4].Value=1.5.4.0
Sig[5].Name=Horodateur du module par défaut
Sig[5].Value=5565a891
Sig[6].Name=Code de l’exception
Sig[6].Value=c0000005
Sig[7].Name=Décalage de l’exception
Sig[7].Value=0000000000003810
DynamicSig[1].Name=Version du système
DynamicSig[1].Value=6.1.7601.2.1.0.1296.17
DynamicSig[2].Name=Identificateur de paramètres régionaux
DynamicSig[2].Value=1036
DynamicSig[22].Name=Information supplémentaire n° 1
DynamicSig[22].Value=b15f
DynamicSig[23].Name=Information supplémentaire n° 2
DynamicSig[23].Value=b15f3aede7f7cfd9e1f6553cd9811aba
DynamicSig[24].Name=Information supplémentaire n° 3
DynamicSig[24].Value=fa3c
DynamicSig[25].Name=Information supplémentaire n° 4
DynamicSig[25].Value=fa3ca3f780285f20cb223bcd3fb04348
UI[2]=C:\Apache24\bin\httpd.exe
UI[5]=Rechercher une solution en ligne (recommandé)
UI[6]=Rechercher une solution plus tard (recommandé)
UI[7]=Fermer
UI[8]=Apache HTTP Server a cessé de fonctionner et a été arrêté
UI[9]=Un problème est à l’origine du dysfonctionnement de cette application. Windows vous préviendra si une solution est disponible.
UI[10]=&Fermer
LoadedModule[0]=C:\Apache24\bin\httpd.exe
LoadedModule[1]=C:\Windows\SYSTEM32\ntdll.dll
LoadedModule[2]=C:\Windows\system32\kernel32.dll
LoadedModule[3]=C:\Windows\system32\KERNELBASE.dll
LoadedModule[4]=C:\Apache24\bin\libhttpd.dll
LoadedModule[5]=C:\Apache24\bin\pcre.dll
LoadedModule[6]=C:\Windows\system32\VCRUNTIME140.dll
LoadedModule[7]=C:\Windows\system32\api-ms-win-crt-runtime-l1-1-0.dll
LoadedModule[8]=C:\Windows\system32\ucrtbase.DLL
LoadedModule[9]=C:\Windows\system32\api-ms-win-core-timezone-l1-1-0.dll
LoadedModule[10]=C:\Windows\system32\api-ms-win-core-file-l2-1-0.dll
LoadedModule[11]=C:\Windows\system32\api-ms-win-core-localization-l1-2-0.dll
LoadedModule[12]=C:\Windows\system32\api-ms-win-core-synch-l1-2-0.dll
LoadedModule[13]=C:\Windows\system32\api-ms-win-core-processthreads-l1-1-1.dll
LoadedModule[14]=C:\Windows\system32\api-ms-win-core-file-l1-2-0.dll
LoadedModule[15]=C:\Windows\system32\api-ms-win-crt-heap-l1-1-0.dll
LoadedModule[16]=C:\Windows\system32\api-ms-win-crt-string-l1-1-0.dll
LoadedModule[17]=C:\Windows\system32\api-ms-win-crt-convert-l1-1-0.dll
LoadedModule[18]=C:\Windows\system32\api-ms-win-crt-stdio-l1-1-0.dll
LoadedModule[19]=C:\Windows\system32\ADVAPI32.dll
LoadedModule[20]=C:\Windows\system32\msvcrt.dll
LoadedModule[21]=C:\Windows\SYSTEM32\sechost.dll
LoadedModule[22]=C:\Windows\system32\RPCRT4.dll
LoadedModule[23]=C:\Windows\system32\WS2_32.dll
LoadedModule[24]=C:\Windows\system32\NSI.dll
LoadedModule[25]=C:\Apache24\bin\libaprutil-1.dll
LoadedModule[26]=C:\Apache24\bin\libapriconv-1.dll
LoadedModule[27]=C:\Apache24\bin\libapr-1.dll
LoadedModule[28]=C:\Windows\system32\MSWSOCK.dll
LoadedModule[29]=C:\Windows\system32\user32.dll
LoadedModule[30]=C:\Windows\system32\GDI32.dll
LoadedModule[31]=C:\Windows\system32\LPK.dll
LoadedModule[32]=C:\Windows\system32\USP10.dll
LoadedModule[33]=C:\Windows\system32\SHELL32.dll
LoadedModule[34]=C:\Windows\system32\SHLWAPI.dll
LoadedModule[35]=C:\Windows\system32\api-ms-win-crt-utility-l1-1-0.dll
LoadedModule[36]=C:\Windows\system32\api-ms-win-crt-environment-l1-1-0.dll
LoadedModule[37]=C:\Windows\system32\api-ms-win-crt-conio-l1-1-0.dll
LoadedModule[38]=C:\Windows\system32\api-ms-win-crt-math-l1-1-0.dll
LoadedModule[39]=C:\Windows\system32\api-ms-win-crt-time-l1-1-0.dll
LoadedModule[40]=C:\Windows\system32\api-ms-win-crt-locale-l1-1-0.dll
LoadedModule[41]=C:\Windows\system32\IMM32.DLL
LoadedModule[42]=C:\Windows\system32\MSCTF.dll
LoadedModule[43]=C:\Windows\system32\CRYPTSP.dll
LoadedModule[44]=C:\Windows\system32\rsaenh.dll
LoadedModule[45]=C:\Windows\system32\CRYPTBASE.dll
LoadedModule[46]=C:\Windows\System32\wship6.dll
LoadedModule[47]=C:\Windows\System32\wshtcpip.dll
LoadedModule[48]=C:\Apache24\bin\apr_dbd_odbc-1.dll
LoadedModule[49]=C:\Windows\system32\ODBC32.dll
LoadedModule[50]=C:\Windows\system32\odbcint.dll
LoadedModule[51]=C:\Apache24\modules\mod_actions.so
LoadedModule[52]=C:\Apache24\modules\mod_alias.so
LoadedModule[53]=C:\Apache24\modules\mod_allowmethods.so
LoadedModule[54]=C:\Apache24\modules\mod_asis.so
LoadedModule[55]=C:\Apache24\modules\mod_auth_basic.so
LoadedModule[56]=C:\Apache24\modules\mod_auth_form.so
LoadedModule[57]=C:\Apache24\modules\mod_authn_core.so
LoadedModule[58]=C:\Apache24\modules\mod_authn_dbd.so
LoadedModule[59]=C:\Apache24\modules\mod_authn_file.so
LoadedModule[60]=C:\Apache24\modules\mod_authz_core.so
LoadedModule[61]=C:\Apache24\modules\mod_authz_dbd.so
LoadedModule[62]=C:\Apache24\modules\mod_authz_groupfile.so
LoadedModule[63]=C:\Apache24\modules\mod_authz_host.so
LoadedModule[64]=C:\Apache24\modules\mod_authz_user.so
LoadedModule[65]=C:\Apache24\modules\mod_autoindex.so
LoadedModule[66]=C:\Apache24\modules\mod_cgi.so
LoadedModule[67]=C:\Apache24\modules\mod_dbd.so
LoadedModule[68]=C:\Apache24\modules\mod_dir.so
LoadedModule[69]=C:\Apache24\modules\mod_env.so
LoadedModule[70]=C:\Apache24\modules\mod_include.so
LoadedModule[71]=C:\Apache24\modules\mod_info.so
LoadedModule[72]=C:\Apache24\modules\mod_isapi.so
LoadedModule[73]=C:\Apache24\modules\mod_log_config.so
LoadedModule[74]=C:\Apache24\modules\mod_mime.so
LoadedModule[75]=C:\Apache24\modules\mod_negotiation.so
LoadedModule[76]=C:\Apache24\modules\mod_proxy.so
LoadedModule[77]=C:\Apache24\modules\mod_proxy_http.so
LoadedModule[78]=C:\Apache24\modules\mod_request.so
LoadedModule[79]=C:\Apache24\modules\mod_session.so
LoadedModule[80]=C:\Apache24\modules\mod_session_cookie.so
LoadedModule[81]=C:\Apache24\modules\mod_session_crypto.so
LoadedModule[82]=C:\Apache24\modules\mod_setenvif.so
LoadedModule[83]=C:\Apache24\modules\mod_socache_shmcb.so
LoadedModule[84]=C:\Apache24\modules\mod_ssl.so
LoadedModule[85]=C:\Apache24\bin\LIBEAY32.dll
LoadedModule[86]=C:\Windows\system32\api-ms-win-crt-filesystem-l1-1-0.dll
LoadedModule[87]=C:\Apache24\bin\SSLEAY32.dll
LoadedModule[88]=C:\Apache24\modules\mod_status.so
LoadedModule[89]=C:\Windows\system32\bcrypt.dll
LoadedModule[90]=C:\Windows\system32\bcryptprimitives.dll
LoadedModule[91]=C:\Program Files\MySQL\Connector ODBC 5.3\myodbc5w.dll
LoadedModule[92]=C:\Windows\system32\Secur32.dll
LoadedModule[93]=C:\Windows\system32\SSPICLI.DLL
LoadedModule[94]=C:\Windows\system32\MSVCR100.dll
LoadedModule[95]=C:\Windows\system32\odbccp32.dll
LoadedModule[96]=C:\Windows\system32\VERSION.dll
LoadedModule[97]=C:\Windows\system32\NLAapi.dll
LoadedModule[98]=C:\Windows\system32\napinsp.dll
LoadedModule[99]=C:\Windows\system32\DNSAPI.dll
LoadedModule[100]=C:\Windows\System32\winrnr.dll
LoadedModule[101]=C:\Windows\system32\rasadhlp.dll
LoadedModule[102]=C:\Windows\system32\IPHLPAPI.DLL
LoadedModule[103]=C:\Windows\system32\WINNSI.DLL
LoadedModule[104]=C:\Windows\System32\fwpuclnt.dll
FriendlyEventName=Fonctionnement arrêté
ConsentKey=APPCRASH
AppName=Apache HTTP Server
AppPath=C:\Apache24\bin\httpd.exe

Code:
Nom de l’application défaillante httpd.exe, version : 2.4.12.0, horodatage : 0x5565a671
Nom du module défaillant : libaprutil-1.dll, version : 1.5.4.0, horodatage : 0x5565a891
Code d’exception : 0xc0000005
Décalage d’erreur : 0x0000000000003810
ID du processus défaillant : 0x10a4
Heure de début de l’application défaillante : 0x01d0ad82dcd6daa5
Chemin d’accès de l’application défaillante : C:\Apache24\bin\httpd.exe
Chemin d’accès du module défaillant: C:\Apache24\bin\libaprutil-1.dll
ID de rapport : 366885bc-1976-11e5-953a-005056ae2881

I didn't set the SessionCryptoDriver to OpenSSL... Should I ?
I don't use OpenSSL for now...

Txs for looking at my problem Steffen.
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3094
Location: Hilversum, NL, EU

PostPosted: Tue 23 Jun '15 9:44    Post subject: Reply with quote

When you use the Apachehaus build, does it also crash ?

Does it crash at starting Apache ?

Anything in the Apache error.log ?

Looks like you try the 2.4.12 VC14 version, Win32 or 64 ?
Back to top
BMiot



Joined: 22 Jun 2015
Posts: 13
Location: France

PostPosted: Tue 23 Jun '15 10:04    Post subject: Reply with quote

Hi Steffen,

With apacheHaus build, i'm not able to use form authentication with mySQL nor odbc...
That's why I came to your version... Wink

No crash starting apache...

I use 2.4.12 VC14 Win64 on a windows Web Server 2008 R2

In the apache error.log :

Code:
STOP
[Tue Jun 23 09:55:11.896763 2015] [mpm_winnt:notice] [pid 2788:tid 304] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Tue Jun 23 09:55:13.924767 2015] [mpm_winnt:notice] [pid 4828:tid 172] AH00364: Child: All worker threads have exited.
[Tue Jun 23 09:55:13.955967 2015] [mpm_winnt:notice] [pid 2788:tid 304] AH00430: Parent: Child process 4828 exited successfully.

START
[Tue Jun 23 09:55:28.011592 2015] [ssl:warn] [pid 4240:tid 304] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Jun 23 09:55:28.011592 2015] [mpm_winnt:notice] [pid 4240:tid 304] AH00455: Apache/2.4.12 (Win64) OpenSSL/1.0.2a configured -- resuming normal operations
[Tue Jun 23 09:55:28.011592 2015] [mpm_winnt:notice] [pid 4240:tid 304] AH00456: Apache Lounge VC14 Server built: May 27 2015 13:21:02
[Tue Jun 23 09:55:28.011592 2015] [core:notice] [pid 4240:tid 304] AH00094: Command line: 'C:\\Apache24\\bin\\httpd.exe -d C:/Apache24'
[Tue Jun 23 09:55:28.011592 2015] [mpm_winnt:notice] [pid 4240:tid 304] AH00418: Parent: Created child process 4048
[Tue Jun 23 09:55:28.619993 2015] [ssl:warn] [pid 4048:tid 172] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Jun 23 09:55:28.651193 2015] [mpm_winnt:notice] [pid 4048:tid 172] AH00354: Child: Starting 64 worker threads.

TRY TO LOGIN (and then store encrypted cookie)
[Tue Jun 23 09:55:58.088445 2015] [authz_core:error] [pid 4048:tid 976] [client 84.5.24.199:10678] AH01630: client denied by server configuration: C:/Apache24/htdocs/favicon.ico, referer: http://servername.fr/icCube/doc/ic3report
[Tue Jun 23 09:56:04.515656 2015] [mpm_winnt:notice] [pid 4240:tid 304] AH00428: Parent: child process 4048 exited with status 255 -- Restarting.
[Tue Jun 23 09:56:04.718456 2015] [ssl:warn] [pid 4240:tid 304] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Jun 23 09:56:04.718456 2015] [mpm_winnt:notice] [pid 4240:tid 304] AH00455: Apache/2.4.12 (Win64) OpenSSL/1.0.2a configured -- resuming normal operations
[Tue Jun 23 09:56:04.718456 2015] [mpm_winnt:notice] [pid 4240:tid 304] AH00456: Apache Lounge VC14 Server built: May 27 2015 13:21:02
[Tue Jun 23 09:56:04.718456 2015] [core:notice] [pid 4240:tid 304] AH00094: Command line: 'C:\\Apache24\\bin\\httpd.exe -d C:/Apache24'
[Tue Jun 23 09:56:04.718456 2015] [mpm_winnt:notice] [pid 4240:tid 304] AH00418: Parent: Created child process 3128
[Tue Jun 23 09:56:05.311257 2015] [ssl:warn] [pid 3128:tid 172] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Jun 23 09:56:05.342457 2015] [mpm_winnt:notice] [pid 3128:tid 172] AH00354: Child: Starting 64 worker threads.
[Tue Jun 23 09:56:05.451657 2015] [mpm_winnt:notice] [pid 4240:tid 304] AH00428: Parent: child process 3128 exited with status 255 -- Restarting.
[Tue Jun 23 09:56:05.654458 2015] [ssl:warn] [pid 4240:tid 304] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Jun 23 09:56:05.654458 2015] [mpm_winnt:notice] [pid 4240:tid 304] AH00455: Apache/2.4.12 (Win64) OpenSSL/1.0.2a configured -- resuming normal operations
[Tue Jun 23 09:56:05.654458 2015] [mpm_winnt:notice] [pid 4240:tid 304] AH00456: Apache Lounge VC14 Server built: May 27 2015 13:21:02
[Tue Jun 23 09:56:05.654458 2015] [core:notice] [pid 4240:tid 304] AH00094: Command line: 'C:\\Apache24\\bin\\httpd.exe -d C:/Apache24'
[Tue Jun 23 09:56:05.654458 2015] [mpm_winnt:notice] [pid 4240:tid 304] AH00418: Parent: Created child process 3276
[Tue Jun 23 09:56:06.247259 2015] [ssl:warn] [pid 3276:tid 172] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Jun 23 09:56:06.278459 2015] [mpm_winnt:notice] [pid 3276:tid 172] AH00354: Child: Starting 64 worker threads.


BR
Back to top
glsmith
Moderator


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

PostPosted: Tue 23 Jun '15 10:26    Post subject: Reply with quote

BMiot wrote:

I didn't set the SessionCryptoDriver to OpenSSL... Should I ?

There is no need to, it loads it if it exists. I do not set SessionCryptoDriver but it loads the openssl driver anyway.

[Tue Jun 23 00:43:37.046875 2015] [session_crypto:info] [pid 2556:tid 1484] AH01849: The crypto library 'openssl' was loaded successfully

try starting with
httpd -e

see if you get anything.
Back to top
BMiot



Joined: 22 Jun 2015
Posts: 13
Location: France

PostPosted: Tue 23 Jun '15 10:47    Post subject: Reply with quote

as you can see below, httpd -e doesn't give anything...
what level type is it waiting for ?
I tried :
httpd -e
httpd -e 1
httpd -e 2

I uninstalled and reinstalled the service... Nogo...

Code:
C:\Apache24\bin>httpd.exe -v
Server version: Apache/2.4.12 (Win64)
Apache Lounge VC14 Server built:   May 27 2015 13:21:02

C:\Apache24\bin>httpd.exe -k uninstall
Removing the 'Apache2.4' service
The 'Apache2.4' service has been removed successfully.

C:\Apache24\bin>httpd.exe -k install
Installing the 'Apache2.4' service
The 'Apache2.4' service is successfully installed.
Testing httpd.conf....
Errors reported here must be corrected before the service can be started.

Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Tue 23 Jun '15 10:57    Post subject: Reply with quote

it is

Code:
httpd -e debug
Back to top
BMiot



Joined: 22 Jun 2015
Posts: 13
Location: France

PostPosted: Tue 23 Jun '15 11:14    Post subject: Reply with quote

Thxs,
Looks strange to me... Seems it starts 2 times with 2 PIDS...
Here is what I get in error.log:

Admin note:
log removed, see forum rules and at the top of the post page:
Paste only (small) relevant parts or use a pastbin, for example http://apaste.info/ (recommended) or http://pastebin.com/
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Tue 23 Jun '15 11:53    Post subject: Reply with quote

Can you please repost the error log at pastebin since it was removed?
Back to top
BMiot



Joined: 22 Jun 2015
Posts: 13
Location: France

PostPosted: Tue 23 Jun '15 12:03    Post subject: Reply with quote

Sorry Guy'z, Apologies!

Here is the paste : http://apaste.info/0KT
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Tue 23 Jun '15 12:19    Post subject: Reply with quote

Does the server still crash!? The log shows nothing about that.

The two time starting with 2 PIDs is correct. Winnt MPM does have a parent child model. The first start apache checks the config. If the config was ok from the syntax apache starts a second time with listening on the ports.

Unless you have 4 processes at the same time in your process viewer / taskmanager apache is running correct.
Back to top
BMiot



Joined: 22 Jun 2015
Posts: 13
Location: France

PostPosted: Tue 23 Jun '15 12:30    Post subject: Reply with quote

Yes, the server still crashes...

Only 2 httpd in taskmanager, so Ok for this.

Nothing in the apache Log...

Only in Windows event viewer when validating my authentication form...
Code:
Nom de l’application défaillante httpd.exe, version : 2.4.12.0, horodatage : 0x5565a671
Nom du module défaillant : libaprutil-1.dll, version : 1.5.4.0, horodatage : 0x5565a891
Code d’exception : 0xc0000005
Décalage d’erreur : 0x0000000000003810
ID du processus défaillant : 0x10a4
Heure de début de l’application défaillante : 0x01d0ad82dcd6daa5
Chemin d’accès de l’application défaillante : C:\Apache24\bin\httpd.exe
Chemin d’accès du module défaillant: C:\Apache24\bin\libaprutil-1.dll
ID de rapport : 366885bc-1976-11e5-953a-005056ae2881
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Tue 23 Jun '15 13:53    Post subject: Reply with quote

c0000005 is access violation. It can be that the account you run apache from does not have the permission to access memory. I had that problem in different combinations. You may try to run apache as Adminstrator to see if that is the issue.
Back to top


Reply to topic   Topic: Apache 2.4 mod_session_crypt crashing server View previous topic :: View next topic
Post new topic   Forum Index -> Apache Page 1, 2  Next