[Koha] apache error

Doug Dearden dearden at sarsf.org
Fri May 15 11:28:36 NZST 2009


Take a look at your apache config files.  You will find links to the
active ones in /etc/apache2/sites-enabled.  From the command line in
that directory do ls -l to see the file links.  Each of the config files
has a NameVirtualHost section with the format:

       A bunch more lines then

## Intranet
    A bunch more lines then

In the example above the config file is listening on two IP
address/Port combination - Address - Port 80 (which is the
regular HTTP port) and - Port 8080 (which is the default
Koha staff client port).

If I remember right you are running multiple databases, so you need to
have a unique VirtualHost directive for each database - the IP address
is unique and the ports are unique.  If you look at your config files,
you will probably find two of them that have the default 8080 port
defined for the staff client - the VirtualHost directive after ##
Intranet.  You need to make sure those are unique the same way that the
OPAC ones are unique.

Make sure you review the steps for making changes to Apache - you will
need to add your new port to the ports.conf file and do any other steps
to put the correct files in the sites-available directory and link to
them from the sites-enabled directory.



>>> john smith <smith_me at live.com> 5/14/2009 11:50 AM >>>

Hi to all
I need your help i had istalled koha on ubuntu and all ok but when run
the command :
# /etc/init.d/apache2 restart
not ok and result is :
[warn] VirtualHost localhost:8080 overlaps with VirtualHost
localhost:8080, the first has precedence, perhaps you need a
NameVirtualHost directive
    [ OK ]
I not know how fix this problem please if any body can help me

Invite your mail contacts to join your friends list with Windows Live
Spaces. It's easy!

More information about the Koha mailing list