[OPEN-ILS-DEV] apache2 could not start - failed
Bill Erickson
billserickson at gmail.com
Tue Feb 13 09:26:47 EST 2007
Grace,
I don't see anything noticeably wrong with your configs, but I have some
other suggestions to pass along.
Debian does some work up front to (hopefully) make Apache easier to manage.
For example, instead of manually loading the Apache modules inside your
httpd.conf file, you can create symlinks from /etc/apache2/mods-enabled/ to
the appropriate files residing in /etc/apache2/mods-available/. Below is
what I do from within the mods-enabled directory:
ln -s ../mods-available/cache.load
ln -s ../mods-available/deflate.load
ln -s ../mods-available/disk_cache.load
ln -s ../mods-available/expires.load
ln -s ../mods-available/include.load
ln -s ../mods-available/proxy.load
ln -s ../mods-available/proxy_http.load
ln -s ../mods-available/rewrite.load
ln -s ../mods-available/ssl.load
ln -s ../mods-available/ssl.conf
Debian does something similar for virtual hosts as well. I put
evergreen_vhost.conf and evergreen_vhost_ssl.conf in
/etc/apache2/sites-available/ and create symlinks from the sites-enabled
directory. There should be a "default" site already linked in.
After you do all of that, httpd.conf should only contain the custom modules
installed by the Evergreen install process:
oadModule osrf_json_gateway_module
/usr/lib/apache2/modules/osrf_json_gateway.so
LoadModule xmlent_module /usr/lib/apache2/modules/mod_xmlent.so
Like I said, the config files you sent seem fine, but I wonder if Debian is
accidentally loading configs more than once with all of it's built-in
magic. You may also want to remove the link from sites-enabled to
sites-available/default, since it's not strictly necessary.
-bill
On 2/11/07, Grace Liu < gyliu86 at hotmail.com> wrote:
>
>
> Hi,
>
> I am trying to let apache2 run to config "Bootstrapping the system". But
> it is failed. Now I am using domain name: 127.0.0.1, alias: localhost. As
> I want to let openils server and client on one machine first, then move to a
> real domain and separate client machines.
>
> I also attached 3 conf files: httpd.conf, evergreen_vhost.conf and
> evergreen_vhost_ssl.conf. Can anyone help?
>
> Thanks
> Grace
>
> Detail message:
> ==================================
> localhost:~# /etc/init.d/apache2 restart
> Forcing reload of web server (apache2)...[Sun Feb 11 14:57:25 2007] [warn]
> module perl_module is already loaded, skipping
> apache2: Could not reliably determine the server's fully qualified domain
> name, using 127.0.0.1 for ServerName
> [Sun Feb 11 14:57:25 2007] [error] VirtualHost *:443 -- mixing * ports and
> non-* ports with a NameVirtualHost address is not supported, proceeding with
> undefined results
> [Sun Feb 11 14:57:25 2007] [error] VirtualHost *:80 -- mixing * ports and
> non-* ports with a NameVirtualHost address is not supported, proceeding with
> undefined results
> [Sun Feb 11 14:57:25 2007] [warn] NameVirtualHost *:443 has no
> VirtualHosts
> [Sun Feb 11 14:57:25 2007] [warn] NameVirtualHost *:80 has no VirtualHosts
> httpd (no pid file) not running
> [Sun Feb 11 14:57:35 2007] [warn] module perl_module is already loaded,
> skipping
> apache2: Could not reliably determine the server's fully qualified domain
> name, using 127.0.0.1 for ServerName
> [Sun Feb 11 14:57:35 2007] [error] VirtualHost *:443 -- mixing * ports and
> non-* ports with a NameVirtualHost address is not supported, proceeding with
> undefined results
> [Sun Feb 11 14:57:35 2007] [error] VirtualHost *:80 -- mixing * ports and
> non-* ports with a NameVirtualHost address is not supported, proceeding with
> undefined results
> [Sun Feb 11 14:57:35 2007] [warn] NameVirtualHost *:443 has no
> VirtualHosts
> [Sun Feb 11 14:57:35 2007] [warn] NameVirtualHost *:80 has no VirtualHosts
> failed!
>
> _________________________________________________________________
> Live Search: New search found
> http://get.live.com/search/overview
>
--
Bill Erickson
PINES Systems Developer
Georgia Public Library Service
billserickson at gmail.com
http://open-ils.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.georgialibraries.org/pipermail/open-ils-dev/attachments/20070213/94020849/attachment.html
More information about the Open-ils-dev
mailing list