delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/15/10:24:52

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
Message-ID: <20040115152447.36366.qmail@web60704.mail.yahoo.com>
Date: Thu, 15 Jan 2004 07:24:47 -0800 (PST)
From: tosch <_tosch_ AT yahoo DOT com>
Subject: Re: Cannot load libphp4.dll into server: dlopen: Win32 error 998
To: cygwin AT cygwin DOT com, Ralf Habacker <ralf DOT habacker AT freenet DOT de>
In-Reply-To: <200401151416.29711.ralf.habacker@freenet.de>
MIME-Version: 1.0
X-IsSubscribed: yes

Hallo Ralf,

thanks for your advice. I did as you suggested. Here
the permissions for libphp4.dll in comparison to
mod_mime.dll which was loaded successfully.

tos AT SYS-10102 /usr/lib/apache
# getfacl mod_mime.dll 
# file: mod_mime.dll
# owner: tos
# group: Benutzer
user::rwx
group::r-x
group:SYSTEM:rwx
group:Administratoren:rwx
mask:rwx
other:---

tos AT SYS-10102 /usr/lib/apache
# setfacl -m
"u::rwx,u:Administratoren:rwx,u:SYSTEM:rwx,g::r-x,o::---"
"libphp4.dll"

tos AT SYS-10102 /usr/lib/apache
# getfacl libphp4.dll 
# file: libphp4.dll
# owner: tos
# group: Benutzer
user::rwx
group::r-x
group:SYSTEM:rwx
group:Administratoren:rwx
mask:rwx
other:---

tos AT SYS-10102 /usr/lib/apache
# ls -al mod_mime.dll libphp4.dll 
-rwxr-x---+   1 tos      Benutzer  1859072 14. Jan
17:01 libphp4.dll
-rwxr-x---+   1 tos      Benutzer    12800 27. Apr
2002  mod_mime.dll

And here what DepWalker says:

LoadLibraryA("C:\cygwin\lib\apache\mod_setenvif.dll")
called from "c:\cygwin\bin\CYGWIN1.DLL" at address
0x6100722F.
Loaded "c:\cygwin\lib\apache\MOD_SETENVIF.DLL" at
address 0x01510000.  Successfully hooked module.
DllMain(0x01510000, DLL_PROCESS_ATTACH, 0x00000000) in
"c:\cygwin\lib\apache\MOD_SETENVIF.DLL" called.
DllMain(0x01510000, DLL_PROCESS_ATTACH, 0x00000000) in
"c:\cygwin\lib\apache\MOD_SETENVIF.DLL" returned 1
(0x1).
LoadLibraryA("C:\cygwin\lib\apache\mod_setenvif.dll")
returned 0x01510000.
GetProcAddress(0x01510000
[c:\cygwin\lib\apache\MOD_SETENVIF.DLL],
"setenvif_module") called from
"c:\cygwin\bin\CYGWIN1.DLL" at address 0x6100732B and
returned 0x01512000.
LoadLibraryA("C:\cygwin\lib\apache\libphp4.dll")
called from "c:\cygwin\bin\CYGWIN1.DLL" at address
0x6100722F.
Unloaded "Unknown" at address 0x01530000.
LoadLibraryA("C:\cygwin\lib\apache\libphp4.dll")
returned NULL. Error: Unzulssiger Zugriff auf einen
Speicherbereich (998).


How shall i interpret the "inadmissible access on
memoryarea (998)". It seems that not the
filepermissions are meant.

Perhaps after all a rebase is neccesary ?

regards, Thomas


__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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