delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/10/00:01:03

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Newsgroups: gmane.os.cygwin
Subject: Rebasing Apache not working
Date: Fri, 09 Aug 2002 21:00:32 -0700
Lines: 71
Message-ID: <3D548FE0.4070207@DeFaria.com>
NNTP-Posting-Host: dsl-64-195-250-225.telocity.com
Mime-Version: 1.0
X-Trace: main.gmane.org 1028951999 30643 64.195.250.225 (10 Aug 2002 03:59:59 GMT)
X-Complaints-To: usenet AT main DOT gmane DOT org
NNTP-Posting-Date: Sat, 10 Aug 2002 03:59:59 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0rc2) Gecko/20020512 Netscape/7.0b1
X-Accept-Language: en,ru

This is weird. After reading about using rebase to "fix"  certain dlls 
so that Apache under Cygwin would run I was able to perform those 
rebases and get Apache to work on my work computer. However I have been 
unable to do this on my home computer.

I set up a little script to do the rebasing:

#!/bin/bash
# Rebase Apache libraries
libs="\
  /lib/apache/*.dll\
  /bin/cygbz21.0.dll\
  /bin/cygcrypto.dll\
  /bin/cygexslt-0.dll\
  /bin/cygform5.dll\
  /bin/cygform6.dll\
  /bin/cyggdbm.dll\
  /bin/cyghistory4.dll\
  /bin/cyghistory5.dll\
  /bin/cygintl-1.dll\
  /bin/cygintl.dll\
  /bin/cygitcl30.dll\
  /bin/cygitk30.dll\
  /bin/cygjpeg6b.dll\
  /bin/cygltdl-3.dll\
  /bin/cygmenu5.dll\
  /bin/cygmenu6.dll\
  /bin/cygncurses++5.dll\
  /bin/cygncurses++6.dll\
  /bin/cygncurses5.dll\
  /bin/cygncurses6.dll\
  /bin/cygpanel5.dll\
  /bin/cygpanel6.dll\
  /bin/cygpcre.dll\
  /bin/cygpcreposix.dll\
  /bin/cygreadline4.dll\
  /bin/cygreadline5.dll\
  /bin/cygregex.dll\
  /bin/cygssl.dll\
  /bin/cygtclreg80.dll\
  /bin/cygtiff3.dll\
  /bin/cygtk80.dll\
  /bin/cygxml2-2.dll\
  /bin/cygxslt-1.dll\
  /bin/cygxsltbreakpoint-1.dll\
  /bin/cygz.dll\
"

rebase=/usr/lib/apache/new/rebase
rebase_opts="-d -b 0x68000000 -o 0x10000"

for dll in $libs; do
  echo "Rebasing lib $dll"
  $rebase $rebase_opts $dll
done

It runs OK, rebasing all of those dlls. However when I apachectl start 
Apache I get the following listed in Apaches error log:

C:\Cygwin\usr\sbin\httpd.exe: *** unable to remap 
C:\Cygwin\lib\apache\mod_negotiation.dll to same address as parent -- 
0x6E0000
     19 [main] httpd 3464 sync_with_child: child 3288(0x6AC) died before 
initialization with status code 0x1
  46314 [main] httpd 3464 sync_with_child: *** child state child loading 
dlls
fork: Resource temporarily unavailable
httpd: unable to fork new process

Any ideas? How does one know what values to choose for -b and -o?




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019