Sam Ewing <[EMAIL PROTECTED]> wrote: > Hi Pier, > > Did just that. Apachectl configtest gives a 'Syntax > OK'; however when I start apache, 'apachectl start' > fails with the following error: > > " > (13)Permission denied: make_sock: could not bind to > address 0.0.0.0:80 > no listening sockets available, shutting down > "
Shut down Apache, don't restart it, and make sure all processes are out. There are some issues when shutting down ATM, some of the children need to be killed -9 by the parent process. > From your config directives, I assumes that you are > Apache 1.3 ('libexec' instead of 'modules'). I tried > to move to Apache 1.3; but I get the following > errors: > " > Syntax error on line 206 of > /home/sam/http/conf/httpd.conf: > Cannot load /home/sam/http/libexec/mod_webapp.so into > server: /home/sam/http/libexec/mod_webapp.so: > undefined symbol: apr_atomic_set > ./apachectl start: httpd could not be started > " That's because the latest APR has introduced a "flaw" (doesnąt support atomics if --disable-threads - and that's how we compile APR). > Help!! Apache 2.0 works no problem... The permission denied you're getting comes from somewhere else... Pier > --- Pier Fumagalli <[EMAIL PROTECTED]> wrote: >> Sam Ewing <[EMAIL PROTECTED]> wrote: >> >>> I am on Apache 2.0.39 and Tomcat 4.1.3, and the >> latest >>> webapp connector code, fresh from CVS. >>> >>> I am facing a "Invalid virtual host name" error >> from >>> Apache with this configuration: >>> >>> LoadModule webapp_module libexec/mod_webapp.so >>> WebAppConnection conn warp localhost:8008 >>> WebAppDeploy examples conn /examples >>> >>> This seems to be identical to bug#8331. Any fixes? >>> >>> >> > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8331 >> >> I runs on my own system here... Did you remember to >> put the "ServerName" >> directive in your virtual host? This is how my >> httpd.conf (relevant part of >> virtualhosts looks like): >> >> [...] >> LoadModule webapp_module libexec/mod_webapp.so >> [...] >> ServerName blossom.betaversion.org:80 >> [...] >> WebAppConnection local warp 127.0.0.1:8008 >> [...] >> NameVirtualHost * >> >> <VirtualHost *> >> ServerName blossom.betaversion.org:80 >> # DocumentRoot [inherited from main] >> # ServerAdmin [inherited from main] >> >> WebAppInfo /webapp-status >> [...] >> </VirtualHost> >> >> <VirtualHost *> >> ServerName www1.blossom:80 >> DocumentRoot >> /Library/Services/Apache2/Sites/www1 >> # ServerAdmin [inherited from main] >> >> WebAppDeploy svnview local /svnview >> [...] >> </VirtualHost> >> >> Anyhow, this is being fixed... TC should have no >> clue of what is a virtual >> host, it just needs to know that a request is mapped >> to a particular >> context, no need to care about anything else... >> >> Pier >> >> -- >> [Perl] combines all the worst aspects of C and Lisp: >> a billion of different >> sublanguages in one monolithic executable. It >> combines the power of C with >> the readability of PostScript. [Jamie Zawinski - DNA >> Lounge - San Francisco] >> >> >> -- >> To unsubscribe, e-mail: >> <mailto:[EMAIL PROTECTED]> >> For additional commands, e-mail: >> <mailto:[EMAIL PROTECTED]> >> > > > __________________________________________________ > Do You Yahoo!? > Sign up for SBC Yahoo! Dial - First Month Free > http://sbc.yahoo.com > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > -- [Perl] combines all the worst aspects of C and Lisp: a billion of different sublanguages in one monolithic executable. It combines the power of C with the readability of PostScript. [Jamie Zawinski - DNA Lounge - San Francisco] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>