[OPEN-ILS-GENERAL] Regarding apache2 virtualhost

Dan Scott denials at gmail.com
Wed Jun 10 21:47:15 EDT 2009


2009/6/9 Dibyendra Hyoju <dibyendra at gmail.com>:
> Hello everyone:
>
> I am facing some problems regarding virtual hosts. I have completed all the
> steps of Evergreen 1.4 installation on Debian-lenny. Now, after running the
> "settings_tester.pl", there are no errors reported. Also, the testing the
> Evergreen connections through srfsh was successful. Staff-client also
> executed successfully using xulrunner. The only problem that I am facing
> right now is while starting apache web server. After enabling the eg.conf
> using a2ensite eg.conf, I am getting errors while starting apache2.
>
> dibyendra:/home/opensrf/Evergreen-ILS-1.4.0.4# a2dissite default
> dibyendra:/home/opensrf/Evergreen-ILS-1.4.0.4# a2ensite eg.conf
> dibyendra:/home/opensrf/Evergreen-ILS-1.4.0.4# /etc/init.d/apache2 restart
> Restarting web server: apache2apache2: Could not reliably determine the
> server's fully qualified domain name, using 127.0.1.1 for ServerName
> [Tue Jun 09 13:34:23 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
> apache2: Could not reliably determine the server's fully qualified domain
> name, using 127.0.1.1 for ServerName
> [Tue Jun 09 13:34:23 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
> (98)Address already in use: make_sock: could not bind to address [::]:443
>
> The line "Listen 443" is declared in ports.conf and eg.conf as well.
> Deleting this line in any of the file will only remove the last line of the
> above errors, but the Evergreen installation tutorial suggest that debian
> user must not delete this line.

Hmm, perhaps the instructions were correct for Debian Etch but wrong
for Debian Lenny? In any case, you definitely need to remove "Listen
443" from one of those locations.

The first four messages ("Could not reliably determine..." and "[warn]
NameVirtualHost...") are just information / warnings that you can
ignore.

> Anyway, the apache2 server is not starting
> because of the above errors although the virtualhost for both port 80 and
> 443 are defined on eg.conf.
>
> I hope some of you have already faced this kind of error. I would be
> thankful if anyone could help me resolve this problem. This will help me to
> move ahead to test the Evergreen 1.4 by importing our library records.
>
> Thanks in advance!

So -- remove "Listen 443" from one of the files and you should be able
to start Apache and move on. It sounds like you're in pretty good
shape! Sorry for the delay in responding!

-- 
Dan Scott
Laurentian University


More information about the Open-ils-general mailing list