[Koha] Configuring Apache Installing Koha on Ubuntu Server

Cindy Murdock cmurdock at ccfls.org
Sat Dec 15 08:48:17 NZDT 2007


Do you have these ports listed & uncommented in /etc/apache2/ports.conf?

Listen 81
Listen 82

Cheers,

Cindy Murdock
Network Administrator
Meadville Public Library    | CCFLS
http://meadvillelibrary.org | http://ccfls.org



Darla Grediagin wrote:
> Good morning all,
>
> I am at the end of my rope.  I am having trouble setting my Apache2 to 
> have virtual hosts.  Here is the coding from the 
> sites.enable.koha-httpd.config file, and then the message from 
> restarting Apache2.   Any input you have would really be appreciated.  
> Koha is running here on a local server that I have next to me.  This 
> installation will not need patron Internet access as it is just for 
> library use to test things before I pass them onto the tech guy that 
> runs my library's public version on Koha.
>
>
> sites.enable.koha-httpd.config
> # Ports to listen to for Koha
> # uncomment these if they aren't already in main httpd.conf
>
> #Listen 81
> #Listen 82
>
> # NameVirtualHost is used by one of the optional configurations 
> detailed below
> # Please make sure this line is correct before uncommenting.
> # See http://httpd.apache.org/docs/vhosts/ for some guides.
>
> NameVirtualHost 10.3.12.235:82
>
> # KOHA's OPAC Configuration
> <VirtualHost 10.3.12.235:82/>
> ServerAdmin dgrediagin at bssd.org
> DocumentRoot /usr/local/koha/opac/htdocs
> ServerName librarylinux.bssd.org
> ScriptAlias /cgi-bin/koha/ /usr/local/koha/opac/cgi-bin/
> Redirect permanent index.html 
> http://10.3.12.235:82/cgi-bin/koha/opac-main.pl
> ErrorLog /usr/local/koha/log/opac-error_log
> TransferLog /usr/local/koha/log/opac-access_log
> SetEnv PERL5LIB "/usr/local/koha/intranet/modules"
> SetEnv KOHA_CONF "/etc/koha.conf"
> </VirtualHost>
>
> NameVirtualHost 10.3.12.235:81
>
> # KOHA's INTRANET Configuration
>
> <VirtualHost 10.3.12.235:81/>
> ServerAdmin dgrediagin at bssd.org
> DocumentRoot /usr/local/koha/intranet/htdocs
> ServerName librarylinux.bssd.org
> ScriptAlias /cgi-bin/koha/ "/usr/local/koha/intranet/cgi-bin/"
> Redirect permanent index.html 
> http://10.3.12.235:81/cgi-bin/koha/mainpage.pl
> ErrorLog /usr/local/koha/log/koha-error_log
> TransferLog /usr/local/koha/log/koha-access_log
> SetEnv PERL5LIB "/usr/local/koha/intranet/modules"
> SetEnv KOHA_CONF "/etc/koha.conf"
>
> </VirtualHost>
>
> This is the message that I get when I try to restart Apache.
>
> [Fri Dec 14 08:34:54 2007] [error] (EAI 2)Name or service not known: 
> Cannot resolve host name 10.3.12.235:82/ --- ignoring!
> [Fri Dec 14 08:34:54 2007] [error] (EAI 2)Name or service not known: 
> Cannot resolve host name 10.3.12.235:81/ --- ignoring!
> [Fri Dec 14 08:34:54 2007] [error] (EAI 2)Name or service not known: 
> Cannot resolve host name 10.3.12.235:82/ --- ignoring!
> [Fri Dec 14 08:34:54 2007] [error] (EAI 2)Name or service not known: 
> Cannot resolve host name 10.3.12.235:81/ --- ignoring!
> [Fri Dec 14 08:34:54 2007] [warn] NameVirtualHost 10.3.12.235:82 has 
> no VirtualHosts
> [Fri Dec 14 08:34:54 2007] [warn] NameVirtualHost 10.3.12.235:81 has 
> no VirtualHosts
> [Fri Dec 14 08:34:54 2007] [warn] NameVirtualHost 10.3.12.235:82 has 
> no VirtualHosts
> [Fri Dec 14 08:34:54 2007] [warn] NameVirtualHost 10.3.12.235:81 has 
> no VirtualHosts
> httpd not running, trying to start
> (13)Permission denied: make_sock: could not bind to address [::]:82
> no listening sockets available, shutting down
> Unable to open logs
>
> Darla Grediagin
> District Librarian
> Bering Strait School District
> Unalakleet, Alaska
> Web Address : http://bssdonline.org/course/view.php?id=51
> Blog: http://aklibrarian1.edublogs.org/
> OPAC:  http://opac.bssd.org:8181/cgi-bin/koha/opac-search.pl
>
>
>>
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha


 




More information about the Koha mailing list