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: 3rd time lucky? Apache startup woes



> -----Original Message-----
> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf
> Of Gary Stainburn
> Sent: Monday, November 18, 2002 5:04 PM
> To: Ralf Habacker; cygwin
> Subject: Re: 3rd time lucky? Apache startup woes
>
>
> On Monday 18 November 2002 1:49 pm, Ralf Habacker wrote:
> > Hi Jason,
> >
> > > Yes, unfortunately I am running WinME, so I downloaded the attachment to
> > > the above message.  Unfortunately, the make fails as shown below.
> >
> > Ups, sorry, there are symbolic link in the package, with files are not
> > distributed.
> >
> > > Can anyone help me here, or point me to a binary distribution I can
> > > download?
> >
> > You can find a binary release of the recent version (0.4) on the
> > http://kde-cygwin/sourceforge.net
> > download area.
> > See
> > http://sourceforge.net/project/showfiles.php?group_id=27249&release_id=1229
> >60
> >
> >
> > Please report any problems with release.
> >
> > Regards
> >
> > Ralf
>
> Hi Ralf,
>
> As you can see from the extract below, your rebase has worked (rebase.sh is
> the script Jason gave earlier in this thread), but I still can't start
> apache.
>
> Anyone got any ideas?  Just to remind everyone, I'm running all the latest
> version packages on WinME running on an Advent 7352 laptop.
>
> $ ./rebase.sh
> ReBaseImage(C:\cygwin\home\gary\usr\X11R6\bin\libdps.dll,67ff0000)
> failed with
> last error = 6

#define ERROR_INVALID_HANDLE 6L
The rebase could not open the dll. Is this dll still used by any process ?
Please make sure, this dll isn't used by any process.

> gary@LADVENT ~
> $ /usr/sbin/apachectl start
> Syntax error on line 236 of /etc/apache/httpd.conf:
> Cannot load /usr/lib/apache/libphp4.dll into server: dlopen: Win32 error 31
#define ERROR_GEN_FAILURE 31L
>

Do you have tried ssp. ssp shows you which dll is load onto which address
(Unfortunally I don't know if ssp works under winMe)

$ ssp -v -d -dll 0x401000 0x440000 `cygpath -aw /usr/sbin/httpd.exe `
verbose messages enabled
stepping disabled; enable via OutputDebugString ("ssp on")
profiling dll usage
prun: [00401000,00440000] Running `c:\programme\cygwin\usr\sbin\httpd.exe'
00:00.000 create process at 00401000
00:00.017 load dll 77f80000: (unknown)
00:00.027 load dll 61000000: c:\programme\cygwin\bin\cygwin1.dll
00:00.033 load dll 77e70000: c:\WINNT\system32\KERNEL32.dll
00:00.042 load dll 6c5c0000: c:\programme\cygwin\bin\cyghttpd.dll
00:00.047 00:00.050 load dll 77da0000: c:\WINNT\system32\advapi32.dll
00:00.055 load dll 77d30000: c:\WINNT\system32\RPCRT4.DLL
00:00.064 create thread 00000764 at 77e73775 c:\WINNT\system32\KERNEL32.dll
00:00.070 exit thread 00000764, code=0
00:00.076 ODS: d0/0 "cYgFFFFFFFF 610C9A50"
00:00.085 create thread 000004cc at 77e73775 c:\WINNT\system32\KERNEL32.dll
00:00.090 ODS: d0/0 "cYgstd 22fe58 d 3"
00:00.097 load dll 77e00000: c:\WINNT\system32\user32.dll
00:00.104 load dll 77f40000: c:\WINNT\system32\GDI32.DLL
00:00.111 load dll 75df0000: c:\WINNT\System32\IMM32.DLL
00:00.126 load dll 43000000: c:\programme\cygwin\lib\apache\mod_vhost_alias.dll
00:00.132 load dll 41680000: c:\programme\cygwin\lib\apache\mod_env.dll
00:00.140 load dll 41f80000: c:\programme\cygwin\lib\apache\mod_log_config.dll

Another possibility is to load apache with gdb and start it. Then you can try
(gdb) info dll
/usr/bin/cygwin1.dll                 61001000
/c/WINNT/system32/KERNEL32.DLL       77e71000
/usr/bin/cyghttpd.dll                6c5c1000
/c/WINNT/system32/ADVAPI32.DLL       77da1000
/c/WINNT/system32/rpcrt4.dll         77d31000
/c/WINNT/system32/USER32.DLL         77e01000
/c/WINNT/system32/GDI32.DLL          77f41000
/c/WINNT/System32/IMM32.DLL          75df1000
/usr/lib/apache/mod_vhost_alias.dll  43001000
/usr/lib/apache/mod_env.dll          41681000
/usr/lib/apache/mod_log_config.dll   41f81000
/usr/lib/apache/mod_mime_magic.dll   42281000
/usr/lib/apache/mod_mime.dll         42101000
/usr/lib/apache/mod_negotiation.dll  42401000
/usr/lib/apache/mod_status.dll       42a01000
/usr/lib/apache/mod_info.dll         41e01000
/usr/lib/apache/mod_include.dll      41c81000
....
so see the loaded dll's. Perhaps this helps.

Ralf


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


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