Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 53832 invoked by uid 500); 15 Sep 2001 16:29:49 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 53818 invoked from network); 15 Sep 2001 16:29:48 -0000 Message-ID: <3BA381C3.BE818B9E@Golux.Com> Date: Sat, 15 Sep 2001 12:28:51 -0400 From: Rodent of Unusual Size Organization: The Apache Software Foundation X-Mailer: Mozilla 4.76 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 To: Apache Developers Subject: [Fwd: Changes to Apache for Solaris2.8] Content-Type: multipart/mixed; boundary="------------DED134F7BE664EBA7524C04D" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. --------------DED134F7BE664EBA7524C04D Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Now they are demanding the change.. Not acked. Anyone want to take this up with them? -- #ken P-)} Ken Coar, Sanagendamgagwedweinini http://Golux.Com/coar/ Author, developer, opinionist http://Apache-Server.Com/ "All right everyone! Step away from the glowing hamburger!" --------------DED134F7BE664EBA7524C04D Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline Return-Path: Received: from icarus.apache.org (icarus.apache.org [64.125.133.21]) by Mail.MeepZor.Com (8.8.7/8.8.7) with SMTP id KAA08395 for ; Sat, 15 Sep 2001 10:47:19 -0400 Received: (qmail 57111 invoked by uid 1085); 15 Sep 2001 14:41:58 -0000 Delivered-To: coar@locus.apache.org Received: (qmail 57104 invoked from network); 15 Sep 2001 14:41:58 -0000 Received: from daedalus.apache.org (HELO apache.org) (64.125.133.20) by icarus.apache.org with SMTP; 15 Sep 2001 14:41:58 -0000 Received: (qmail 16010 invoked by uid 500); 15 Sep 2001 14:47:09 -0000 Delivered-To: apmail-coar@Apache.Org Received: (qmail 16007 invoked by uid 500); 15 Sep 2001 14:47:09 -0000 Delivered-To: apmail-human-response@Apache.Org Received: (qmail 16004 invoked from network); 15 Sep 2001 14:47:09 -0000 Received: from navgwout.symantec.com (198.6.49.12) by daedalus.apache.org with SMTP; 15 Sep 2001 14:47:09 -0000 Received: from navgwout.symantec.com (navgwout [198.6.49.12]) by navgwout.symantec.com (8.9.3+Sun/8.9.3) with SMTP id HAA18977 for ; Sat, 15 Sep 2001 07:47:04 -0700 (PDT) Received: from mailer.symantec.com ([198.6.49.176]) by navgwout.symantec.com (NAVGW 2.5.1.12) with SMTP id M2001091507470419246 for ; Sat, 15 Sep 2001 07:47:04 -0700 Received: from uscu-smtp02.symantec.com (uscu-smtp02.symantec.com [155.64.74.114]) by mailer.symantec.com (8.9.3+Sun/8.9.3) with ESMTP id HAA09330 for ; Sat, 15 Sep 2001 07:47:04 -0700 (PDT) Subject: Re: Changes to Apache for Solaris2.8 To: human-response@Apache.Org X-Mailer: Lotus Notes Release 5.0.7 March 21, 2001 Message-ID: From: "Tom Godfrey" Date: Sat, 15 Sep 2001 10:42:44 -0400 X-MIMETrack: Serialize by Router on USCU-SMTP02/SYMSMTP(Release 5.0.6a |January 17, 2001) at 09/15/2001 07:40:38 AM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: icarus.apache.org 1.6.2 0/1000/N X-Mozilla-Status2: 00000000 Hello, It's very import that we get the changes asked for below approved as soon as possible. We are begging our beta cycle next week and need to provide this functionality to users as part of the product. Could some please call me or email ASAP. Regards, Tom ________________________ Tom Godfrey Development Manager Symantec Enterprise Firewall and VPN Symantec Corporation 266 Second Ave Waltham, MA 02451 781-530-2378 tgodfrey@symantec.com ----- Forwarded by Tom Godfrey/Waltham/Massachusetts/SYMANTEC on 09/15/01 10:47 AM ----- Tom Godfrey To: human-response@Apache.Org 09/13/01 cc: 03:17 PM Subject: Re: Changes to Apache for Solaris2.8 Hello, I would like to talk with someone about the question below. Thanks, Tom ________________________ Tom Godfrey Development Manager Symantec Enterprise Firewall and VPN Symantec Corporation 266 Second Ave Waltham, MA 02451 781-530-2378 tgodfrey@symantec.com ----- Forwarded by Tom Godfrey/Waltham/Massachusetts/SYMANTEC on 09/13/01 03:23 PM ----- Apache Autoresponder To: "Tom Godfrey" Subject: Re: Changes to Apache for Solaris2.8 Sent by: human-response@ Apache.Org 09/13/01 03:12 PM Thank you for your mail. This reply has been automatically generated; your message has NOT been read by a human being. We apologise for this impersonal response, but the volume of mail we receive and the volunteer nature of our organisation forces us to do things this way. Please see . Direct your questions to the mailing lists or newsgroups mentioned on that page. If your issue isn't addressed by the above page or any of the resources it lists, and you need to contact a human being about an issue with any of the Apache software, please see below. NOTE: If your message concerns a technical question or issue, we ask that you PLEASE check the page of resources referenced above -- including directing your questions about a specific package to that package's mailing lists. If your issue is addressed by one of the resources listed on the preFAQ page, and you send it to the address below anyway, it will probably be ignored -- or you may receive a very terse and irritated reply. Again, the voluntary nature of our organisation precludes us from repeating information which we have already made available; we just don't have time for it. Now, if you absolutely MUST contact a real person, please send a message to . -- Ken Coar, Director Apache Software Foundation ----- Message from Unknown on Unknown ----- Hello, We currently use Apache within our Symantec Enterprise Firewall and VPN product set. We use a series of HTML pages for user authentication. Since moving to Solaris 2.8 we have had some problems. Our Engineers have found the problem below. We would like you to consider the changes below to allow us to continue using Apache with our products. We would like to request an answer ASAP. If you need any additional information, please contact us. Regards, Tom Godfrey ________________________ Tom Godfrey Development Manager Symantec Enterprise Firewall and VPN Symantec Corporation 266 Second Ave Waltham, MA 02451 781-530-2378 tgodfrey@symantec.com ----- Forwarded by Tom Godfrey/Waltham/Massachusetts/SYMANTEC on 09/13/01 03:05 PM ----- Ravi Bovindala To: Tom Godfrey/Waltham/Massachusetts/SYMANTEC@SYMANTEC cc: 09/13/01 Subject: Changes to Apache for Solaris2.8 12:01 PM Hi Tom, We are currently using Apache Server Version 1.3.9 on our Solaris builds. It used to work fine for builds on Solaris 2.6 . Once we moved onto Solaris 2.8, the Apache goes down at runtime saying "Could not mmap memory". On looking into the Apache code, I found that this is reported from apache_1.3.9/src/main/http_main.c file. In the setup_shared_mem function (when USE_MMAP_SCOREBOARD is defined), we find that it has been compiling code under "#if defined(MAP_ANON) " BSD style section rather than the regular 'Sun style' section which previously used to get compiled. This is because MAP_ANON is defined in Solaris 2.8 (in sys/mman.h) and not defined in Solaris 2.6 . So, the modification we intend to make is to change the line(1786) in apache_1.3.9/src/main/http_main.c ...... #if defined(MAP_ANON) /* old code */ into........ #if defined(MAP_ANON) && !defined(SOLARIS2) /* new code */ This would compile & execute the code we want to. Since this is going to be derived from the original apache code, we would need written permission from Apache to do so. Their mail-id is apache@apache.org We can test and use the latest Apache versions from the next releases, but for this release we need to change this. Ravi Part of the apache_1.3.9/src/main/http_main.c file code we intend to change: ---------------------------------------------------------------------------------------------------------------------- #elif defined(USE_MMAP_SCOREBOARD) static void setup_shared_mem(pool *p) { caddr_t m; #if defined(MAP_ANON) /* BSD style */ #ifdef CONVEXOS11 { unsigned len = SCOREBOARD_SIZE; m = mmap((caddr_t) 0xC0000000, &len, PROT_READ | PROT_WRITE, MAP_ANON | MAP_SHARED, NOFD, 0); } #elif defined(MAP_TMPFILE) { char mfile[] = "/tmp/apache_shmem_XXXX"; int fd = mkstemp(mfile); if (fd == -1) { perror("open"); fprintf(stderr, "%s: Could not open %s\n", ap_server_argv0, mfile); exit(APEXIT_INIT); } m = mmap((caddr_t) 0, SCOREBOARD_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); if (m == (caddr_t) - 1) { perror("mmap"); fprintf(stderr, "%s: Could not mmap %s\n", ap_server_argv0, mfile); exit(APEXIT_INIT); } close(fd); unlink(mfile); } #else m = mmap((caddr_t) 0, SCOREBOARD_SIZE, PROT_READ | PROT_WRITE, MAP_ANON | MAP_SHARED, -1, 0); #endif if (m == (caddr_t) - 1) { perror("mmap"); fprintf(stderr, "%s: Could not mmap memory\n", ap_server_argv0); exit(APEXIT_INIT); } #else /* Sun style */ int fd; fd = open("/dev/zero", O_RDWR); if (fd == -1) { perror("open"); fprintf(stderr, "%s: Could not open /dev/zero\n", ap_server_argv0); exit(APEXIT_INIT); } m = mmap((caddr_t) 0, SCOREBOARD_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); if (m == (caddr_t) - 1) { perror("mmap"); fprintf(stderr, "%s: Could not mmap /dev/zero\n", ap_server_argv0); exit(APEXIT_INIT); } close(fd); #endif ap_scoreboard_image = (scoreboard *) m; ap_scoreboard_image->global.running_generation = 0; } ---------------code ends--------------------------------------------------- --------------DED134F7BE664EBA7524C04D--