From gjoahnn at yahoo.de Thu Sep 17 00:15:49 2009 From: gjoahnn at yahoo.de (Joahnn Gile) Date: Wed, 16 Sep 2009 15:15:49 -0700 (PDT) Subject: [mpm-itk] apache2-mpm-itk in Debian unstable Message-ID: <124106.74988.qm@web28301.mail.ukl.yahoo.com> Hello, why has the apache2-mpm-itk package been removed from Debian unstable? From sgunderson at bigfoot.com Thu Sep 17 10:51:09 2009 From: sgunderson at bigfoot.com (Steinar H. Gunderson) Date: Thu, 17 Sep 2009 10:51:09 +0200 Subject: [mpm-itk] apache2-mpm-itk in Debian unstable In-Reply-To: <124106.74988.qm@web28301.mail.ukl.yahoo.com> References: <124106.74988.qm@web28301.mail.ukl.yahoo.com> Message-ID: <20090917085109.GA20655@uio.no> On Wed, Sep 16, 2009 at 03:15:49PM -0700, Joahnn Gile wrote: > why has the apache2-mpm-itk package been removed from Debian unstable? Hm, that's a mystery to me as well. I'll investigate. /* Steinar */ -- Homepage: http://www.sesse.net/ From sgunderson at bigfoot.com Thu Sep 17 11:39:08 2009 From: sgunderson at bigfoot.com (Steinar H. Gunderson) Date: Thu, 17 Sep 2009 11:39:08 +0200 Subject: [mpm-itk] apache2-mpm-itk in Debian unstable In-Reply-To: <20090917085109.GA20655@uio.no> References: <124106.74988.qm@web28301.mail.ukl.yahoo.com> <20090917085109.GA20655@uio.no> Message-ID: <20090917093908.GA22750@uio.no> On Thu, Sep 17, 2009 at 10:51:09AM +0200, Steinar H. Gunderson wrote: >> why has the apache2-mpm-itk package been removed from Debian unstable? > Hm, that's a mystery to me as well. I'll investigate. It seems it's not specific to mpm-itk: apache2-mpm-itk | 2.2.13-1 | testing | all apache2-mpm-itk | 2.2.13-2 | unstable | hurd-i386, i386, kfreebsd-amd64, kfreebsd-i386 apache2-mpm-prefork | 2.2.13-1 | testing | all apache2-mpm-prefork | 2.2.13-2 | unstable | hurd-i386, i386, kfreebsd-amd64, kfreebsd-i386 I don't know why the packages suddenly show up as "all", but I guess it's just that it's not built yet. BTW, apache2-mpm-itk moved into the main Apache packages in Debian a while ago; that's why there is no apache2-mpm-itk _source_ package. /* Steinar */ -- Homepage: http://www.sesse.net/ From megalin2 at gmail.com Mon Sep 21 09:32:02 2009 From: megalin2 at gmail.com (=?KOI8-R?B?7snLydTBIOvB0sTB28nO?=) Date: Mon, 21 Sep 2009 13:32:02 +0600 Subject: [mpm-itk] Compilation fails with error: No rule to make target `all'. Stop. In-Reply-To: <8c7ac5640909210027j50007694j53654332c82ac06f@mail.gmail.com> References: <8c7ac5640909210025t3e5c93f6te2b893ce719f3476@mail.gmail.com> <8c7ac5640909210027j50007694j53654332c82ac06f@mail.gmail.com> Message-ID: <8c7ac5640909210032q1e613a62xfe945abab7353645@mail.gmail.com> Hi! I try to build apache-2.2.11 with mpm-itk patch and compilation fails with error: Making all in server make[1]: Entering directory `/usr/local/directadmin/custombuild/httpd-2.2.11/server' Making all in mpm make[2]: Entering directory `/usr/local/directadmin/custombuild/httpd-2.2.11/server/mpm' Making all in experimental/itk make[3]: Entering directory `/usr/local/directadmin/custombuild/httpd-2.2.11/server/mpm/experimental/itk' make[3]: *** No rule to make target `all'. Stop. make[3]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.11/server/mpm/experimental/itk' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.11/server/mpm' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.11/server' make: *** [all-recursive] Error 1 How I can fix it? -- With best regards, differentlocal (www.differentlocal.ru | differentlocal at gmail.com), System administrator. From sgunderson at bigfoot.com Mon Sep 21 10:47:02 2009 From: sgunderson at bigfoot.com (Steinar H. Gunderson) Date: Mon, 21 Sep 2009 10:47:02 +0200 Subject: [mpm-itk] Compilation fails with error: No rule to make target `all'. Stop. In-Reply-To: <8c7ac5640909210032q1e613a62xfe945abab7353645@mail.gmail.com> References: <8c7ac5640909210025t3e5c93f6te2b893ce719f3476@mail.gmail.com> <8c7ac5640909210027j50007694j53654332c82ac06f@mail.gmail.com> <8c7ac5640909210032q1e613a62xfe945abab7353645@mail.gmail.com> Message-ID: <20090921084701.GA11407@uio.no> On Mon, Sep 21, 2009 at 01:32:02PM +0600, ?????? ???????? wrote: > I try to build apache-2.2.11 with mpm-itk patch and compilation fails > with error: You've probably forgot to rerun autoconf and friends. Why are you compiling yourself instead of using a package from your favorite distribution? /* Steinar */ -- Homepage: http://www.sesse.net/ From megalin2 at gmail.com Mon Sep 21 10:52:23 2009 From: megalin2 at gmail.com (=?KOI8-R?B?7snLydTBIOvB0sTB28nO?=) Date: Mon, 21 Sep 2009 14:52:23 +0600 Subject: [mpm-itk] Compilation fails with error: No rule to make target `all'. Stop. In-Reply-To: <20090921084701.GA11407@uio.no> References: <8c7ac5640909210025t3e5c93f6te2b893ce719f3476@mail.gmail.com> <8c7ac5640909210027j50007694j53654332c82ac06f@mail.gmail.com> <8c7ac5640909210032q1e613a62xfe945abab7353645@mail.gmail.com> <20090921084701.GA11407@uio.no> Message-ID: <8c7ac5640909210152m614eb376x4b5265ee2a440926@mail.gmail.com> For 2 reasons: 1) I am using CentOS. 2) DirectAdmin-s custombuild requires building from sources :( I really forgot run buildconf after patching. 2009/9/21, Steinar H. Gunderson : > On Mon, Sep 21, 2009 at 01:32:02PM +0600, ?????? ???????? wrote: >> I try to build apache-2.2.11 with mpm-itk patch and compilation fails >> with error: > > You've probably forgot to rerun autoconf and friends. > > Why are you compiling yourself instead of using a package from your favorite > distribution? > > /* Steinar */ > -- > Homepage: http://www.sesse.net/ > -- With best regards, differentlocal (www.differentlocal.ru | differentlocal at gmail.com), System administrator. From megalin2 at gmail.com Mon Sep 21 11:04:48 2009 From: megalin2 at gmail.com (=?KOI8-R?B?7snLydTBIOvB0sTB28nO?=) Date: Mon, 21 Sep 2009 15:04:48 +0600 Subject: [mpm-itk] Compilation fails with error: No rule to make target `all'. Stop. In-Reply-To: <8c7ac5640909210152m614eb376x4b5265ee2a440926@mail.gmail.com> References: <8c7ac5640909210025t3e5c93f6te2b893ce719f3476@mail.gmail.com> <8c7ac5640909210027j50007694j53654332c82ac06f@mail.gmail.com> <8c7ac5640909210032q1e613a62xfe945abab7353645@mail.gmail.com> <20090921084701.GA11407@uio.no> <8c7ac5640909210152m614eb376x4b5265ee2a440926@mail.gmail.com> Message-ID: <8c7ac5640909210204h2560e65ap983db1c4bbf0b4b8@mail.gmail.com> Yes, it works! Thanks. 2009/9/21, ?????? ???????? : > For 2 reasons: > > 1) I am using CentOS. > 2) DirectAdmin-s custombuild requires building from sources :( > > I really forgot run buildconf after patching. > > 2009/9/21, Steinar H. Gunderson : >> On Mon, Sep 21, 2009 at 01:32:02PM +0600, ?????? ???????? wrote: >>> I try to build apache-2.2.11 with mpm-itk patch and compilation fails >>> with error: >> >> You've probably forgot to rerun autoconf and friends. >> >> Why are you compiling yourself instead of using a package from your >> favorite >> distribution? >> >> /* Steinar */ >> -- >> Homepage: http://www.sesse.net/ >> > > > -- > With best regards, > differentlocal (www.differentlocal.ru | differentlocal at gmail.com), > System administrator. > -- With best regards, differentlocal (www.differentlocal.ru | differentlocal at gmail.com), System administrator. From azurit at pobox.sk Mon Sep 21 17:02:00 2009 From: azurit at pobox.sk (azurIt) Date: Mon, 21 Sep 2009 17:02:00 +0200 Subject: [mpm-itk] =?utf-8?q?Compilation_fails_with_error=3A_No_rule_to_ma?= =?utf-8?b?a2UgdGFyZ2V0IGBhbGzigJguIFN0b3Au?= Message-ID: >Why are you compiling yourself instead of using a package from your favorite >distribution? I would really like to run latest version but both Debian Etch and Lenny has old version with very serious bug which is causing Apache to hang completely after reloading. There's no newer MPM ITK packages for stable Debian.. > >/* Steinar */ >-- >Homepage: http://www.sesse.net/ > >_______________________________________________ >mpm-itk mailing list >mpm-itk at err.no >http://lists.err.no/mailman/listinfo/mpm-itk From jjgnu101 at googlemail.com Wed Sep 23 19:52:02 2009 From: jjgnu101 at googlemail.com (John Gnu) Date: Wed, 23 Sep 2009 18:52:02 +0100 Subject: [mpm-itk] =?windows-1252?q?Compilation_fails_with_error=3A_No_rul?= =?windows-1252?q?e_to_make_target_=60all=91=2E_Stop=2E?= In-Reply-To: References: Message-ID: <7dcc0dbf0909231052r29df1329k42d97ce0772a4d86@mail.gmail.com> On 9/21/09, azurIt wrote: > I would really like to run latest version but both Debian Etch and Lenny has > old version with very serious bug which is causing Apache to hang > completely after reloading. There's no newer MPM ITK packages for stable > Debian.. I'm using the Debian Lenny package on my VPS and haven't seen it hang on reload. Is there something unusual about your configuration? From azurit at pobox.sk Wed Sep 23 20:43:20 2009 From: azurit at pobox.sk (azurIt) Date: Wed, 23 Sep 2009 20:43:20 +0200 Subject: [mpm-itk] =?utf-8?q?Compilation_fails_with_error=3A_No_rule_to_ma?= =?utf-8?b?a2UgdGFyZ2V0IGBhbGzigJguIFN0b3A=?= Message-ID: It's happening randomly but we are reloading several times a day so there is a bigger chance. It's a known bug, see changelog for 2.2.11-01: http://mpm-itk.sesse.net/apache2.2-mpm-itk-2.2.11-02/CHANGES >-----P?vodn? spr?va----- >Od: John Gnu [mailto:jjgnu101 at googlemail.com] >Komu: mpm-itk at lists.err.no >Predmet: Re: [mpm-itk] Compilation fails with error: No rul e to make target `all?. Stop > > >On 9/21/09, azurIt wrote: > >> I would really like to run latest version but both Debian Etch and Lenny has >> old version with very serious bug which is causing Apache to hang >> completely after reloading. There's no newer MPM ITK packages for stable >> Debian.. > >I'm using the Debian Lenny package on my VPS and haven't seen it hang >on reload. Is there something unusual about your configuration? > >_______________________________________________ >mpm-itk mailing list >mpm-itk at err.no >http://lists.err.no/mailman/listinfo/mpm-itk From marijn at e-active.nl Thu Sep 24 10:09:19 2009 From: marijn at e-active.nl (Marijn Otte) Date: Thu, 24 Sep 2009 10:09:19 +0200 Subject: [mpm-itk] ITK 2.2.11-02 and ISA server References: <20090811084713.GB21816@uio.no> Message-ID: Hello Steinar, Thank you for your investigation on this. Unfortunately the alternatives are not an option for us: - making your .htaccess files globally readable --> we tried, but we have to give each user directory access to the directory with the .htaccess file. We use ITK because we don't want that. - putting different vhosts on different internal IPs --> we have a very limited IP range and don't use internal IPs. - or turning off keepalive --> we did for the few days, but the server load became significantly higher. We would greatly appreciate your effort to fix this problem. We use your ITK solution on our productionservers because I does exactly what we want it do, except for this problem. Please let us know if it?s not possible to fix this problem. We have a pretty big job to do, to migrate to a different solution when Debian Squeeze hits final. So we really hope you could help us! Kind regards, Marijn Otte -----Oorspronkelijk bericht----- Van: mpm-itk-bounces at err.no [mailto:mpm-itk-bounces at err.no] Namens Steinar H. Gunderson Verzonden: dinsdag 11 augustus 2009 10:47 Aan: mpm-itk at err.no Onderwerp: [mpm-itk] ITK 2.2.11-02 and ISA server > Hello Steinar, Hello, Sorry for not taking this earlier, and for breaking the thread -- I've had e-mail problems (and I've moved). > It took some time to get access to the network behind the ISA server, so I > could test some things myself. It seems the problem only occurs when two > sites on the same server, running with different user names, are opened > behind each other. I think the ISA server (which functions as a proxy > server) keeps the connection alive: when a new request to same IP address > is made it uses the same connection and the error occurs. The strange > thing is that the ITK version in Debian stable does not have this problem. I think I can finally see what's going on. It's a variation of the ?switching uids is impossible? problem, combined with the ?checking .htaccess should happen as the right uid?. Basically, what's happening is: - The proxy server sends a request to vhost A. mpm-itk switches to uid X. - The proxy server, on the same request, sends a request to vhost B. mpm-itk starts looking for .htaccess files so it can find out what uid it should use. - Unfortunately, the .htaccess file is not readable as user X, so the request fails. This ?double uid switch? problem can happen in other cases as well, but it's usually easier to catch, as the setuid() is what fails, and we can just close the connection, prompting the browser to ask again (it's the same thing as a keep-alive timeout). The reason you don't see this in Debian stable is that it didn't support AssignUserID directives in .htaccess, so it would always read them as the vhost uid. Now it reads them as root (which was a problem for some users with NFS squash), or obviously, as in your case, as the previous uid. I wonder if we can work around this in mpm-itk, in that failure to read .htaccess files will close the connection if uid != 0. I haven't looked at the code, though. The other alternatives include making your .htaccess files globally readable, putting different vhosts on different internal IPs, or turning off keepalive. Thanks for tracing this! /* Steinar */ -- Homepage: http://www.sesse.net/ _______________________________________________ mpm-itk mailing list mpm-itk at err.no http://lists.err.no/mailman/listinfo/mpm-itk From sgunderson at bigfoot.com Thu Sep 24 10:24:01 2009 From: sgunderson at bigfoot.com (Steinar H. Gunderson) Date: Thu, 24 Sep 2009 10:24:01 +0200 Subject: [mpm-itk] ITK 2.2.11-02 and ISA server In-Reply-To: References: <20090811084713.GB21816@uio.no> Message-ID: <20090924082401.GA31298@uio.no> On Thu, Sep 24, 2009 at 10:09:19AM +0200, Marijn Otte wrote: > - making your .htaccess files globally readable --> we tried, but we have > to give each user directory access to the directory with the .htaccess > file. We use ITK because we don't want that. Note that the permissions you need to the directory are very restrictive -- only +x. You won't need to grant permission to actually list the directory (+r). > We would greatly appreciate your effort to fix this problem. We use your > ITK solution on our productionservers because I does exactly what we want > it do, except for this problem. Please let us know if it?s not possible to > fix this problem. We have a pretty big job to do, to migrate to a different > solution when Debian Squeeze hits final. So we really hope you could help > us! I don't think I will be able to look at coding a workaround before Squeeze freezes, I'm afraid (it's been busy at work lately). You could always hack the code to using the old hook point, of course (losing support for per-directory configuration on the way), but then you would of course need to compile Apache yourself. /* Steinar */ -- Homepage: http://www.sesse.net/