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!"
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 [EMAIL PROTECTED] ----- Forwarded by Tom Godfrey/Waltham/Massachusetts/SYMANTEC on 09/15/01 10:47 AM ----- Tom Godfrey To: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] ----- Forwarded by Tom Godfrey/Waltham/Massachusetts/SYMANTEC on 09/13/01 03:23 PM ----- Apache Autoresponder To: "Tom Godfrey" <[EMAIL PROTECTED]> <donotreply@Apa cc: che.Org> 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 <URL:http://www.apache.org/foundation/preFAQ.html>. 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 <[EMAIL PROTECTED]>. -- 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 [EMAIL PROTECTED] ----- 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 [EMAIL PROTECTED] 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---------------------------------------------------