This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cannot load libphp4.dll into server: dlopen: Win32 error 998


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@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@SYS-10102 /usr/lib/apache
# setfacl -m
"u::rwx,u:Administratoren:rwx,u:SYSTEM:rwx,g::r-x,o::---"
"libphp4.dll"

tos@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@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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]