From dev-return-9800-apmail-apr-dev-archive=apr.apache.org@apr.apache.org Thu May 15 23:39:24 2003 Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 8299 invoked by uid 500); 15 May 2003 23:39:24 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Delivered-To: moderator for dev@apr.apache.org Received: (qmail 41721 invoked from network); 15 May 2003 14:27:15 -0000 Message-ID: <3EC3A715.5050509@persistent.co.in> Date: Thu, 15 May 2003 20:11:25 +0530 From: Midhun Chandran User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020204 X-Accept-Language: en-us MIME-Version: 1.0 To: dev@apr.apache.org Subject: apr_lock_create fails on HP-UX 11 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I am facing the following problem on HP-UX 11.11 with apache version 2.0.35 (apr 0.9.0) #uname -a HP-UX chittor B.11.11 U 9000/800 812920600 unlimited-user license apr_lock_create is failing in mmap call on '/dev/zero' fd. The tusc output shows the following: getpid() .............................................................................................. = 17366 (17365) getpid() .............................................................................................. = 17366 (17365) open("/dev/zero", O_RDWR, 072530) ..................................................................... = 11 mmap(NULL, 88, PROT_READ|PROT_WRITE, MAP_SHARED, 11, NULL) ............................................ ERR#19 ENODEV gettimeofday(0x77ff1290, NULL) ........................................................................ = 0 getpid() .............................................................................................. = 17366 (17365) I found out that HP-UX does not allow mmap on /dev/zero. Is there any way I can get around this ? Thanks in advance, Midhun.