We have an issue with apache graceful restart and we are on 2.2.3 version with 1.1 weblogic proxy plugin on linux 5 environment. We gracefully restart apache at 4 am daily and after couple weeks we see the apache server hung(its not serving any requests). We think the below forum solves our issue but not sure where to find prefork.c file to edit what they say in that forum. Any thoughts?? https://issues.apache.org/bugzilla/show_bug.cgi?id=42829
Here is the debug log from apache server. Initially it says SSL is configured for the request and then it says SSL is not configured. We only see this issue when we do graceful restart of apache server. 2013-12-05T08:51:12.5159-05:00 <2401913862514722> ================New Request: [GET /store/catalog/product/productdetail.jsp?productPage=true&productId=prod1582604_4&navAction=jump HTTP/1.1] ================= 2013-12-05T08:51:12.5159-05:00 <2401913862514722> INFO: SSL is configured 2013-12-05T08:51:12.5160-05:00 <2401913862514722> Using Uri /store/catalog/product/productdetail.jsp?productPage=true&productId=prod1582604_4&navAction=jump 2013-12-05T08:51:12.5160-05:00 <2401913862514722> After trimming path: '/store/catalog/product/productdetail.jsp?productPage=true&productId=prod1582604_4&navAction=jump' 2013-12-05T08:51:12.5160-05:00 <2401913862514722> The final request string is '/store/catalog/product/productdetail.jsp?productPage=true&productId=prod1582604_4&navAction=jump' 2013-12-05T08:51:12.5161-05:00 <2401913862514722> Found '?' in URI 2013-12-05T08:51:12.5161-05:00 <2401913862514722> Uri length is 40 2013-12-05T08:51:12.5161-05:00 <2401913862514722> Uri send to isNotExcluded /store/catalog/product/productdetail.jsp 2013-12-05T08:51:12.5161-05:00 <2401913862514722> ...checking...url=/store/catalog/product/productdetail.jsp, pattern=/MEDIA_*/* 2013-12-05T08:51:12.5161-05:00 <2401913862514722> ...checking...url=/store/catalog/product/productdetail.jsp, pattern=/static/* 2013-12-05T08:51:12.5161-05:00 <2401913862514722> ...checking...url=/store/catalog/product/productdetail.jsp, pattern=/ProductImages/* 2013-12-05T08:51:12.5161-05:00 <2401913862514722> ...checking...url=/store/catalog/product/productdetail.jsp, pattern=/CategoryImages/* 2013-12-05T08:51:12.5161-05:00 <2401913862514722> ...checking...url=/store/catalog/product/productdetail.jsp, pattern=/Utilities_Web/* 2013-12-05T08:51:12.5161-05:00 <2401913862514722> ...checking...url=/store/catalog/product/productdetail.jsp, pattern=Images/* 2013-12-05T08:51:12.5162-05:00 <2401913862514722> parseServerList: Socket Address hostnames 'ucommerceda01.cuc.com:9602,ucommerceda02.cuc.com:9602' 2013-12-05T08:51:12.5162-05:00 <2401913862514722> Host extracted from serverlist is [ucommerceda01.cuc.com] 2013-12-05T08:51:12.5241-05:00 <2401913862514722> parseServerList: trying IP addr xx.xx.xx.xx 2013-12-05T08:51:12.5261-05:00 <2401913862514722> parseServerList: socket and connect succeeded 2013-12-05T08:51:12.5261-05:00 <2401913862514722> parseServerList: IP from socket Address [xx.xx.xx.xx] 2013-12-05T08:51:12.5261-05:00 <2401913862514722> Host extracted from serverlist is [ucommerceda02.cuc.com] 2013-12-05T08:51:12.5308-05:00 <2401913862514722> parseServerList: trying IP addr xx.xx.xx.xx 2013-12-05T08:51:12.5506-05:00 <2401913862514722> parseServerList: socket and connect succeeded 2013-12-05T08:51:12.5506-05:00 <2401913862514722> parseServerList: IP from socket Address [xx.xx.xx.xx] 2013-12-05T08:51:12.5506-05:00 <2401913862514722> Initializing lastIndex=0 for a list of length=2 2013-12-05T08:51:12.5506-05:00 <2401913862514722> getListNode: created a new server node: id='ucommerceda01.cuc.com:9602,ucommerceda02.cuc.com:9602' server_name='xx.com', port='443' 2013-12-05T08:51:12.5507-05:00 <2401913862514722> getPreferred: availcookie=[store-cookie=2fvbSghNpQ3JQBTnlTVZHnnWhmt826TQH8gSL7266htP7pGKcNCh!14418948; __utmc=151637103; __utma=151637103.147061303.1386235239.1386235239.1386235239.1; __utmz=151637103.1386235239.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); edv_city_ck=Madison; edv_state_ck=AL; edv_rad_ck=10.0; edv_zip_ck=35758] 2013-12-05T08:51:12.5507-05:00 <2401913862514722> Found cookie from cookie header: store-cookie=2fvbSghNpQ3JQBTnlTVZHnnWhmt826TQH8gSL7266htP7pGKcNCh!14418948 2013-12-05T08:51:12.5507-05:00 <2401913862514722> Parsing cookie store-cookie=2fvbSghNpQ3JQBTnlTVZHnnWhmt826TQH8gSL7266htP7pGKcNCh!14418948 2013-12-05T08:51:12.5507-05:00 <2401913862514722> getpreferredServersFromCookie: [14418948] 2013-12-05T08:51:12.5507-05:00 <2401913862514722> primaryJVMID: [14418948], secondaryJVMID: [] 2013-12-05T08:51:12.5507-05:00 <2401913862514722> No of JVMIDs found in cookie: 1 2013-12-05T08:51:12.5508-05:00 <2401913862514722> Number of nodes in the list: 2 2013-12-05T08:51:12.5508-05:00 <2401913862514722> SrvrInfo 0 with JVMID: NULL 2013-12-05T08:51:12.5508-05:00 <2401913862514722> SrvrInfo 1 with JVMID: NULL 2013-12-05T08:51:12.5509-05:00 <2401913862514722> getPreferredFromCookie: Start Position is 0, listLen is 2 2013-12-05T08:51:12.5509-05:00 <2401913862514722> getPreferredFromCookie: Either JVMIDs not set or they are stale. Will try to get JVMIDs from WLS 2013-12-05T08:51:12.5509-05:00 <2401913862514722> initJVMID: Iterating SrvrList from position 0 2013-12-05T08:51:12.5509-05:00 <2401913862514722> ======internal request /bea_wls_internal/WLDummyInitJVMIDs====== initJVMID: Trying Host[10.244.49.43] Port[9602] SecurePort[9602] useSSL [1] ioTimeout [30] socketTimeout [60] 2013-12-05T08:51:12.5528-05:00 <2401913862514722> URL::Connect: Connected successfully 2013-12-05T08:51:12.5528-05:00 <2401913862514722> SSL is not configured for this connection 2013-12-05T08:51:12.5528-05:00 <2401913862514722> Local Port of the socket is 41851 2013-12-05T08:51:12.5529-05:00 <2401913862514722> Remote Host xx.xx.xx.xx Remote Port 41851 2013-12-05T08:51:12.5530-05:00 <2401913862514722> URL::sendHeaders(): meth='HEAD' file='/bea_wls_internal/WLDummyInitJVMIDs' protocol='HTTP/1.0' 2013-12-05T08:51:12.5530-05:00 <2401913862514722> Header to WLS: [Connection]=[Close] 2013-12-05T08:51:12.5530-05:00 <2401913862514722> Header to WLS: [X-WebLogic-Force-JVMID]=[unset] 2013-12-05T08:51:12.5530-05:00 <2401913862514722> Header to WLS: [X-WebLogic-KeepAliveSecs]=[100] 2013-12-05T08:51:12.5530-05:00 <2401913862514722> Reader::fill(): first=0 last=0 toRead=4096 2013-12-05T08:51:12.5591-05:00 <2401913862514722> Reader::fill(): sysRecv returned 7 2013-12-05T08:51:12.5591-05:00 <2401913862514722> Reader::fill(): first=0 last=7 toRead=4089
Please try to add below lines under /etc/httpd/conf.d/ssl.conf : <VirtualHost irm.company.com> # Setup SSL for irm.company.com ServerName irm.company.com SSLEngine On SSLCertificateFile /oracle/secure/irm.company.com.crt SSLCertificateKeyFile /oracle/secure/irm.company.com.key SSLCertificateChainFile /oracle/secure/gd_bundle.crt </VirtualHost> Then restart apache.
#Make sure that you specify the port for both http and https ie. NameVirtualHost:80 NameVirtualHost:443 #and <VirtualHost *:80> <VirtualHost *:443> #mixing * and *:443 does not work it has to be *:80 and *:443
yes we already have the http/https declared aswell. Our config looks good as we are using the same config in production and we dont see any issues. We think the issue is with the graceful restart we do daily at 4am. So the link provided above has a similar issue discussed but im trying to find out how to apply that patch mentioned in the above forum.