Noah wrote: > more below > > Alexander K. Hansen wrote: >> Noah wrote: >>> look below >>> >>> Alexander Hansen wrote: >>>> Noah wrote: >>>>> Hi there Finksters, >>>>> >>>>> After a "Dist-Upgrade packages" I have the follow issue stopping >>>>> the completion of the upgrade. >>>>> >>>>> Any clues how I can do that? >>>>> >>>>> Reading Package Lists... >>>>> Building Dependency Tree... >>>>> 0 packages upgraded, 0 newly installed, 0 to remove and 0 not >>>>> upgraded. >>>>> 1 packages not fully installed or removed. >>>>> Need to get 0B of archives. After unpacking 0B will be used. >>>>> Setting up apache2-mpm-worker (2.0.59-11) ... >>>>> Syntax error on line 50 of /sw/etc/apache2/httpd.conf: >>>>> ServerRoot must be a valid directory >>>>> /sw/bin/dpkg: error processing apache2-mpm-worker (--configure): >>>>> subprocess post-installation script returned error exit status 1 >>>>> Errors were encountered while processing: >>>>> apache2-mpm-worker >>>>> E: Sub-process /sw/bin/dpkg returned an error code (1) >>>>> >>>>> >>>>> Cheers, >>>>> >>>>> Noah >>>>> >>>>> >>>>> >>>> Did you try what Martin suggested to you previously? (If so, no >>>> answer showed up on the lists) >>>> >>>> http://article.gmane.org/gmane.os.macosx.fink.beginners/20011 >>> >>> >>> >>> okay thanks for pointing that to me. I didnt see that response. >>> >>> here is the output - looks like there is a missing part of the >>> apache configuration. >>> >>> Macintosh-2:~ $ sudo /sw/sbin/apache2ctl restart >>> apache2: could not open document config file /sw/etc/apache2/apache2.d >>> >>> >> Hmmm....I don't have /sw/etc/apache2/apache2.d at all on my system >> (and my apache2 from Fink works). I had some issues with installing >> it, though, as the upgrade path from the prior version seemed not to >> be particularly clean (and was apparently not cleaned up when this >> got moved to stable). >> >> See what's calling for /sw/etc/apache2/apache2.d by running "grep -r >> apache2.d /sw/etc/apache2/*" . > > > Hi, > > is there anyway to completely reinstall the apache2 installation. I am > finding a ton of errors and what not. > > here are the latest. > > # /sw/sbin/apache2ctl restart > [Fri Aug 10 08:23:45 2007] [warn] The Alias directive in > /sw/etc/apache2/apache2.conf at line 129 will probably never match > because it overlaps an earlier Alias. > httpd not running, trying to start > (48)Address already in use: make_sock: could not bind to address [::]:80 > no listening sockets available, shutting down > Unable to open logs > > from the configuration file: > Macintosh-2:/Users/noahgarrettwallach root# grep "ServerRoot" > /sw/etc/apache2/httpd.conf > # with "/", the value of ServerRoot is prepended -- so "logs/foo.log" > # with ServerRoot set to "/sw/var/apache2" will be interpreted by the > # ServerRoot: The top of the directory tree under which the server's > ServerRoot "/sw/var/apache2" > # This should be changed to the ServerRoot/manual/. The alias provides > Macintosh-2:/Users/noahgarrettwallach root# > > > Macintosh-2:/Users/noahgarrettwallach root# ls -dl /sw/var/apache2/ > drwxr-xr-x 3 root admin 102 Aug 10 06:49 /sw/var/apache2/ > Macintosh-2:/Users/noahgarrettwallach root# ls -l /sw/var/apache2/ > total 0 > drwxr-xr-x 2 root admin 68 Aug 10 06:49 logs > > Make a backup of /sw/etc/apache2, then "fink purge" any installed package with "apache2" in its name. After that try removing /sw/etc/apache2. At that point you ought to be able to run "fink install apache2-mpm-worker" (or whichever flavor you want). It'll be up to you as to how to reintegrate any of your customizations back into the server. One thing to note is that httpd.conf is deprecated.
-- Alexander K. Hansen Fink User Liaison/Documenter akh AT finkproject DOT org ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Fink-beginners mailing list Fink-beginners@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-beginners