RE: problem running 2.0.28 as Win2k service (was 2.0.18)
Any other thoughts on this one? It's going to become important very soon that I be able to run my own build as a service. Thanks. - Dave -Original Message- From: Dave Seidel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 3:29 PM To: William A. Rowe, Jr.; [EMAIL PROTECTED] Subject: RE: problem running 2.0.28 as Win2k service (was 2.0.18) OK, I installed the August 2001 Platform SDK from the November MSDN issue (if there's a later one, they haven't sent it, and the website is down). Made sure to install the Visual Studio integration, etc. Wiped out httpd-2_0_28, unzipped a fresh copy, rebuilt. Same problem. Then I reinstalled VS6SP5, rebuilt from scratch again. Same problem. -Original Message- From: William A. Rowe, Jr. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 12:38 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: problem running 2.0.28 as Win2k service (was 2.0.18) From: "Dave Seidel" <[EMAIL PROTECTED]> Sent: Wednesday, December 12, 2001 9:10 AM > FYI, I did my local build using VC 6.0, using the InstallBin target in the > IDE, using all the project files as they came from the zip archive. Dave, if you grab a recent PlatformSDK from Microsoft's site, and install it into your DevStudio, does it work? That will help us break apart those two issues, since distributions are always built with a more-recent PlatformSDK, and VC6.0 SP5.
RE: problem running 2.0.28 as Win2k service (was 2.0.18)
OK, I installed the August 2001 Platform SDK from the November MSDN issue (if there's a later one, they haven't sent it, and the website is down). Made sure to install the Visual Studio integration, etc. Wiped out httpd-2_0_28, unzipped a fresh copy, rebuilt. Same problem. Then I reinstalled VS6SP5, rebuilt from scratch again. Same problem. -Original Message- From: William A. Rowe, Jr. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 12:38 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: problem running 2.0.28 as Win2k service (was 2.0.18) From: "Dave Seidel" <[EMAIL PROTECTED]> Sent: Wednesday, December 12, 2001 9:10 AM > FYI, I did my local build using VC 6.0, using the InstallBin target in the > IDE, using all the project files as they came from the zip archive. Dave, if you grab a recent PlatformSDK from Microsoft's site, and install it into your DevStudio, does it work? That will help us break apart those two issues, since distributions are always built with a more-recent PlatformSDK, and VC6.0 SP5.
Re: problem running 2.0.28 as Win2k service (was 2.0.18)
From: "Dave Seidel" <[EMAIL PROTECTED]> Sent: Wednesday, December 12, 2001 9:10 AM > FYI, I did my local build using VC 6.0, using the InstallBin target in the > IDE, using all the project files as they came from the zip archive. Dave, if you grab a recent PlatformSDK from Microsoft's site, and install it into your DevStudio, does it work? That will help us break apart those two issues, since distributions are always built with a more-recent PlatformSDK, and VC6.0 SP5.
RE: problem running 2.0.28 as Win2k service (was 2.0.18)
No SSL in either. -Original Message- From: Dwayne Miller [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 10:45 AM To: [EMAIL PROTECTED] Subject: Re: problem running 2.0.28 as Win2k service (was 2.0.18) Did you build with SSL support? Does the MSI file contain SSL support? I've also experienced your problem and would like to track it down.
Re: problem running 2.0.28 as Win2k service (was 2.0.18)
Did you build with SSL support? Does the MSI file contain SSL support? I've also experienced your problem and would like to track it down. Dave Seidel wrote: >More info: > >I just installed the official 2.0.28 msi installer, and (of course) put it >into a different directory from the one into which I installed the 2.0.28 >binary I built myself. The httpd.conf configuration is identical except for >Listen (7171 vs. 7070), the server name, and the directory locations. The >service is configured (by default) to logon as the LocalSystem account, and >the install directory has the usual "full control for everyone" permissions >as inherited from the root directory, all of which is exactly the way I had >the locally-built version configured, at least initially. > >Although the installer did *not* install the service, I did so using -k >install, then I fired up ApacheMonitor and started up the service from >there. > >IT WORKS. > >So now my question is: what is the difference between the binaries I built >and the binaries ASF built, and why? What exactly is causing the >service-based configuration to fail in my build, but not in the ASF build? >Since at least one other person has the same problem, there must be >something there. I can't reply on the ASF-supplied binary, because I'm >developing something that will require a custom-built binary. > >FYI, I did my local build using VC 6.0, using the InstallBin target in the >IDE, using all the project files as they came from the zip archive. > >-Original Message- >From: Dave Seidel [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, December 11, 2001 3:53 PM >To: [EMAIL PROTECTED] >Subject: RE: problem running 2.0.28 as Win2k service (was 2.0.18) > > >This is precisely the same as what I'm seeing, the only difference being >that I built from the 2.0.28 archive. > >-Original Message- >From: Dwayne Miller [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, December 11, 2001 3:46 PM >To: [EMAIL PROTECTED] >Subject: Re: problem running 2.0.28 as Win2k service (was 2.0.18) > > >I just compiled the latest CVS tree under Win32. Runs fine when started >as a normal user from command line. However, I see the following error >when trying to start the service as an administrator. I have installed >the service prior to this with no apparent errors (it appears in the >services manager). > >D:\Apache2>bin\apache -k start -n Apache2 >Starting the Apache2 service >[Tue Dec 11 15:32:33 2001] [crit] (23497)Overlapped I/O operation is in >progress > : Apache2: Failed to start the service process. > >There are no errors in the log files >Using net start Apache2 simply reports that service could not start > > > > > >
RE: problem running 2.0.28 as Win2k service (was 2.0.18)
More info: I just installed the official 2.0.28 msi installer, and (of course) put it into a different directory from the one into which I installed the 2.0.28 binary I built myself. The httpd.conf configuration is identical except for Listen (7171 vs. 7070), the server name, and the directory locations. The service is configured (by default) to logon as the LocalSystem account, and the install directory has the usual "full control for everyone" permissions as inherited from the root directory, all of which is exactly the way I had the locally-built version configured, at least initially. Although the installer did *not* install the service, I did so using -k install, then I fired up ApacheMonitor and started up the service from there. IT WORKS. So now my question is: what is the difference between the binaries I built and the binaries ASF built, and why? What exactly is causing the service-based configuration to fail in my build, but not in the ASF build? Since at least one other person has the same problem, there must be something there. I can't reply on the ASF-supplied binary, because I'm developing something that will require a custom-built binary. FYI, I did my local build using VC 6.0, using the InstallBin target in the IDE, using all the project files as they came from the zip archive. -Original Message- From: Dave Seidel [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 11, 2001 3:53 PM To: [EMAIL PROTECTED] Subject: RE: problem running 2.0.28 as Win2k service (was 2.0.18) This is precisely the same as what I'm seeing, the only difference being that I built from the 2.0.28 archive. -Original Message- From: Dwayne Miller [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 11, 2001 3:46 PM To: [EMAIL PROTECTED] Subject: Re: problem running 2.0.28 as Win2k service (was 2.0.18) I just compiled the latest CVS tree under Win32. Runs fine when started as a normal user from command line. However, I see the following error when trying to start the service as an administrator. I have installed the service prior to this with no apparent errors (it appears in the services manager). D:\Apache2>bin\apache -k start -n Apache2 Starting the Apache2 service [Tue Dec 11 15:32:33 2001] [crit] (23497)Overlapped I/O operation is in progress : Apache2: Failed to start the service process. There are no errors in the log files Using net start Apache2 simply reports that service could not start
RE: problem running 2.0.28 as Win2k service (was 2.0.18)
This is precisely the same as what I'm seeing, the only difference being that I built from the 2.0.28 archive. -Original Message- From: Dwayne Miller [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 11, 2001 3:46 PM To: [EMAIL PROTECTED] Subject: Re: problem running 2.0.28 as Win2k service (was 2.0.18) I just compiled the latest CVS tree under Win32. Runs fine when started as a normal user from command line. However, I see the following error when trying to start the service as an administrator. I have installed the service prior to this with no apparent errors (it appears in the services manager). D:\Apache2>bin\apache -k start -n Apache2 Starting the Apache2 service [Tue Dec 11 15:32:33 2001] [crit] (23497)Overlapped I/O operation is in progress : Apache2: Failed to start the service process. There are no errors in the log files Using net start Apache2 simply reports that service could not start
Re: problem running 2.0.28 as Win2k service (was 2.0.18)
I just compiled the latest CVS tree under Win32. Runs fine when started as a normal user from command line. However, I see the following error when trying to start the service as an administrator. I have installed the service prior to this with no apparent errors (it appears in the services manager). D:\Apache2>bin\apache -k start -n Apache2 Starting the Apache2 service [Tue Dec 11 15:32:33 2001] [crit] (23497)Overlapped I/O operation is in progress . : Apache2: Failed to start the service process. There are no errors in the log files Using net start Apache2 simply reports that service could not start William A. Rowe, Jr. wrote: >Dave, win32 canonicalization requires list/read access to each directory >above Apache directories, to the root. It doesn't have to have access to >their contents, but it needs to be able to list files, so it can determine >that "c:\rootdir" is spelled "rootdir" and not "RootDir", so we don't >escape from filename normalization, and bypass restrictions. > >To get file attributes of directories, the 'Backup Operator' flag may have >to be toggled, or they may not have permission to open a filehandle to >the directory. > >Bill > > > >From: "Dave Seidel" <[EMAIL PROTECTED]> >To: "Bill Stoddard" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> >Sent: Tuesday, December 11, 2001 1:15 PM >Subject: RE: problem running 2.0.28 as Win2k service (was 2.0.18) > > >>Good suggestion, since I hadn't been looking at permissions at all, but >>there seems to be some other problem. I just created a new user account in >>the Users group, gave it "full control" permissions in the Apache2 >>directory, and the problem is still there. Even if I make the user a member >>of the Administrators group, it still doesn't work. >> > >
RE: problem running 2.0.28 as Win2k service (was 2.0.18)
Well, since this is a developer machine, everyone (actually, "Everyone" group) has full permissions from the root of this drive down. And I would have thought that adding my user to the Admin group would also give it privileges. In any case, I went full out and added the user to both the Admin *and* Backup Operator groups, gave it full, inheritable permissions from the root on down, triple-checked that the Apache2 service is set to log on as this specific user...and the problem still occurs. -Original Message- From: William A. Rowe, Jr. [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 11, 2001 2:27 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: problem running 2.0.28 as Win2k service (was 2.0.18) Dave, win32 canonicalization requires list/read access to each directory above Apache directories, to the root. It doesn't have to have access to their contents, but it needs to be able to list files, so it can determine that "c:\rootdir" is spelled "rootdir" and not "RootDir", so we don't escape from filename normalization, and bypass restrictions. To get file attributes of directories, the 'Backup Operator' flag may have to be toggled, or they may not have permission to open a filehandle to the directory. Bill
RE: problem running 2.0.28 as Win2k service (was 2.0.18)
Sorry, makes no difference. Although I hadn't previously used the -n arg, using it didn't change the behavior. -Original Message- From: William A. Rowe, Jr. [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 11, 2001 2:01 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: problem running 2.0.28 as Win2k service (was 2.0.18) bin\apache -k install -n Apache2 THEN; apache -k start -n apache2 -OR- net start Apache2 The Apache2 (default) may have tripped you up. Keeps it distinct from 1.3 generation apache services, but you can use the -n Apache arg instead, if you like. Bill - Original Message - From: "Dave Seidel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, December 11, 2001 10:58 AM Subject: RE: problem running 2.0.28 as Win2k service (was 2.0.18) > Whoops, that was a typo. I am indeed using the 2.0.28 beta release. Sorry > for the confusion. > > -Original Message- > From: Cliff Woolley [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 11, 2001 11:40 AM > To: Apache-Dev; [EMAIL PROTECTED] > Subject: Re: problem running 2.0.18 as Win2k service > > > On Tue, 11 Dec 2001, Dave Seidel wrote: > > > I just built a 2.0.18 binary from scratch from the zip archive, using VC6 > on > > Win2K. Works fine from the console, but it does not work as a service. > > Any ideas? Is this a tested configuration in this beta (I don't see much > > about it in the status reports)? What else can I try to provide more > data? > > Please try again with 2.0.28, the most recent beta. 2.0.18, besides being > very old at this point, was released as an alpha release, not beta. > > Thanks! > --Cliff > > -- >Cliff Woolley >[EMAIL PROTECTED] >Charlottesville, VA > > > > > > >
RE: problem running 2.0.28 as Win2k service (was 2.0.18)
Good suggestion, since I hadn't been looking at permissions at all, but there seems to be some other problem. I just created a new user account in the Users group, gave it "full control" permissions in the Apache2 directory, and the problem is still there. Even if I make the user a member of the Administrators group, it still doesn't work. -Original Message- From: Bill Stoddard [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 11, 2001 12:56 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: problem running 2.0.28 as Win2k service (was 2.0.18) This sounds like a permissions problem. Make sure that the user id you are running Apache under has permission to read/write to all the appropriate directories. Bill > Nope, 0 bytes in the error log. > > -Original Message- > From: Bill Stoddard [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 11, 2001 12:01 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: problem running 2.0.28 as Win2k service (was 2.0.18) > > > Any messages in the error log? > > Bill > > > Whoops, that was a typo. I am indeed using the 2.0.28 beta release. > Sorry > > for the confusion. > > > > -Original Message- > > From: Cliff Woolley [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, December 11, 2001 11:40 AM > > To: Apache-Dev; [EMAIL PROTECTED] > > Subject: Re: problem running 2.0.18 as Win2k service > > > > > > On Tue, 11 Dec 2001, Dave Seidel wrote: > > > > > I just built a 2.0.18 binary from scratch from the zip archive, using > VC6 > > on > > > Win2K. Works fine from the console, but it does not work as a service. > > > Any ideas? Is this a tested configuration in this beta (I don't see > much > > > about it in the status reports)? What else can I try to provide more > > data? > > > > Please try again with 2.0.28, the most recent beta. 2.0.18, besides being > > very old at this point, was released as an alpha release, not beta. > > > > Thanks! > > --Cliff > > > > -- > >Cliff Woolley > >[EMAIL PROTECTED] > >Charlottesville, VA > > > > > > > > > > > > > > > > >
Re: problem running 2.0.28 as Win2k service (was 2.0.18)
bin\apache -k install -n Apache2 THEN; apache -k start -n apache2 -OR- net start Apache2 The Apache2 (default) may have tripped you up. Keeps it distinct from 1.3 generation apache services, but you can use the -n Apache arg instead, if you like. Bill - Original Message - From: "Dave Seidel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, December 11, 2001 10:58 AM Subject: RE: problem running 2.0.28 as Win2k service (was 2.0.18) > Whoops, that was a typo. I am indeed using the 2.0.28 beta release. Sorry > for the confusion. > > -Original Message- > From: Cliff Woolley [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 11, 2001 11:40 AM > To: Apache-Dev; [EMAIL PROTECTED] > Subject: Re: problem running 2.0.18 as Win2k service > > > On Tue, 11 Dec 2001, Dave Seidel wrote: > > > I just built a 2.0.18 binary from scratch from the zip archive, using VC6 > on > > Win2K. Works fine from the console, but it does not work as a service. > > Any ideas? Is this a tested configuration in this beta (I don't see much > > about it in the status reports)? What else can I try to provide more > data? > > Please try again with 2.0.28, the most recent beta. 2.0.18, besides being > very old at this point, was released as an alpha release, not beta. > > Thanks! > --Cliff > > -- >Cliff Woolley >[EMAIL PROTECTED] >Charlottesville, VA > > > > > > >
Re: problem running 2.0.28 as Win2k service (was 2.0.18)
This sounds like a permissions problem. Make sure that the user id you are running Apache under has permission to read/write to all the appropriate directories. Bill > Nope, 0 bytes in the error log. > > -Original Message- > From: Bill Stoddard [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 11, 2001 12:01 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: problem running 2.0.28 as Win2k service (was 2.0.18) > > > Any messages in the error log? > > Bill > > > Whoops, that was a typo. I am indeed using the 2.0.28 beta release. > Sorry > > for the confusion. > > > > -Original Message- > > From: Cliff Woolley [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, December 11, 2001 11:40 AM > > To: Apache-Dev; [EMAIL PROTECTED] > > Subject: Re: problem running 2.0.18 as Win2k service > > > > > > On Tue, 11 Dec 2001, Dave Seidel wrote: > > > > > I just built a 2.0.18 binary from scratch from the zip archive, using > VC6 > > on > > > Win2K. Works fine from the console, but it does not work as a service. > > > Any ideas? Is this a tested configuration in this beta (I don't see > much > > > about it in the status reports)? What else can I try to provide more > > data? > > > > Please try again with 2.0.28, the most recent beta. 2.0.18, besides being > > very old at this point, was released as an alpha release, not beta. > > > > Thanks! > > --Cliff > > > > -- > >Cliff Woolley > >[EMAIL PROTECTED] > >Charlottesville, VA > > > > > > > > > > > > > > > > >
RE: problem running 2.0.28 as Win2k service (was 2.0.18)
Nope, 0 bytes in the error log. -Original Message- From: Bill Stoddard [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 11, 2001 12:01 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: problem running 2.0.28 as Win2k service (was 2.0.18) Any messages in the error log? Bill > Whoops, that was a typo. I am indeed using the 2.0.28 beta release. Sorry > for the confusion. > > -Original Message- > From: Cliff Woolley [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 11, 2001 11:40 AM > To: Apache-Dev; [EMAIL PROTECTED] > Subject: Re: problem running 2.0.18 as Win2k service > > > On Tue, 11 Dec 2001, Dave Seidel wrote: > > > I just built a 2.0.18 binary from scratch from the zip archive, using VC6 > on > > Win2K. Works fine from the console, but it does not work as a service. > > Any ideas? Is this a tested configuration in this beta (I don't see much > > about it in the status reports)? What else can I try to provide more > data? > > Please try again with 2.0.28, the most recent beta. 2.0.18, besides being > very old at this point, was released as an alpha release, not beta. > > Thanks! > --Cliff > > -- >Cliff Woolley >[EMAIL PROTECTED] >Charlottesville, VA > > > > > >
Re: problem running 2.0.28 as Win2k service (was 2.0.18)
Any messages in the error log? Bill > Whoops, that was a typo. I am indeed using the 2.0.28 beta release. Sorry > for the confusion. > > -Original Message- > From: Cliff Woolley [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 11, 2001 11:40 AM > To: Apache-Dev; [EMAIL PROTECTED] > Subject: Re: problem running 2.0.18 as Win2k service > > > On Tue, 11 Dec 2001, Dave Seidel wrote: > > > I just built a 2.0.18 binary from scratch from the zip archive, using VC6 > on > > Win2K. Works fine from the console, but it does not work as a service. > > Any ideas? Is this a tested configuration in this beta (I don't see much > > about it in the status reports)? What else can I try to provide more > data? > > Please try again with 2.0.28, the most recent beta. 2.0.18, besides being > very old at this point, was released as an alpha release, not beta. > > Thanks! > --Cliff > > -- >Cliff Woolley >[EMAIL PROTECTED] >Charlottesville, VA > > > > > >
RE: problem running 2.0.28 as Win2k service (was 2.0.18)
Whoops, that was a typo. I am indeed using the 2.0.28 beta release. Sorry for the confusion. -Original Message- From: Cliff Woolley [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 11, 2001 11:40 AM To: Apache-Dev; [EMAIL PROTECTED] Subject: Re: problem running 2.0.18 as Win2k service On Tue, 11 Dec 2001, Dave Seidel wrote: > I just built a 2.0.18 binary from scratch from the zip archive, using VC6 on > Win2K. Works fine from the console, but it does not work as a service. > Any ideas? Is this a tested configuration in this beta (I don't see much > about it in the status reports)? What else can I try to provide more data? Please try again with 2.0.28, the most recent beta. 2.0.18, besides being very old at this point, was released as an alpha release, not beta. Thanks! --Cliff -- Cliff Woolley [EMAIL PROTECTED] Charlottesville, VA