[Koha-devel] Koha-devel Digest, Vol 39, Issue 9

Krishnan M kmlist at yahoo.in
Sat Feb 7 16:57:18 CET 2009


i had posted this sometime back in response to another thread...i guess this should be in permanent documentation...

1) Ensure your server's hostname is set correctly. Try the command 'hostname' and if it seems incorrect, or reset your hostname as follows:
Put your hostname in a file like: /etc/hostname
Run the command
/bin/hostname -F /etc/hostname

Verify again using the command hostname

2) Ensure your /etc/hosts file has the correct entries.
In general, it must contain at the minimum: 
one line with the IP address assigned to your network interface (usually eth0) and hostname that you just assigned
one line with the loopback address (127.0.0.1) and the special name 'localhost'

If you want to find the IP address that is currently assigned to your network interface, try
/sbin/ifconfig

The IP addresses and names must be separated by at least a space (usually a tab)
You can add other hostnames to the hosts file, but for now, keep it simple.

Once you save your hosts file, try a simple ping for the hostnames within this file to see if your server "resolves" them to the assigned IP addresses

3) Lastly, in your virtual hosts entries replace any IP addresses that Koha may have used when generating these files during installation with your hostname. Be consistent across entries and files.

4) Re-start Apache and check if it reports any errors during startup. 
Remember that the command '/usr/sbin/apachectl -t' reports any errors with Apache configuration, so you may want to do that before re-starting Apache.

In the same vein, '/usr/sbin/apachectl -S' lists your virtual host entries and these should have the ones for Koha INTRANET and OPAC. Generally, try these commands before re-starting Apache, so you can fix errors first.

If all is fine, you should be able to open up a browser (or telnet session) on your server itself first and check whether you can reach Koha, using just the hostname and port in the URL

5) If this works, move to another computer on the network. Before you do so, you may have to open up firewall ports on your server to let traffic through on the ports for Koha

6) If you use a DNS server on the network, enter the hostname and the IP address for your Koha server and ensure that the DNS has picked up the new records.

7) If not, you will need to enter the hostname and IP address into the hosts file of the PC that you are trying to access Koha from (yes, even Windows machines have one, typically at C:\WINDOWS\system32\drivers\etc). The test of entries made to hosts file is always to try and see if the machine can "resolve" the hostname to the IP address you assigned.

8) Once this is done, fire up the browser on the computer and access the Koha server over the network using the hostname.

i know this should be somewhere in documentation, i am planning to submit a HOW-TO for Fedora install soon that does contain this information. The HOW-TO will have information about firewall changes such as iptables configuration as well.

regards,
krishnan

--- On Sat, 7/2/09, koha-devel-request at lists.koha.org <koha-devel-request at lists.koha.org> wrote:
From: koha-devel-request at lists.koha.org <koha-devel-request at lists.koha.org>
Subject: Koha-devel Digest, Vol 39, Issue 9
To: koha-devel at lists.koha.org
Date: Saturday, 7 February, 2009, 11:00 AM

Send Koha-devel mailing list submissions to
	koha-devel at lists.koha.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.koha.org/mailman/listinfo/koha-devel
or, via email, send a message with subject or body 'help' to
	koha-devel-request at lists.koha.org

You can reach the person managing the list at
	koha-devel-owner at lists.koha.org

When
 replying, please edit your Subject line so it is more specific
than "Re: Contents of Koha-devel digest..."


Today's Topics:

   1. Re: Trouble using Koha (Partha Mukhopadhyay)
   2. Results of library automation survey ... (Krishnan M)


----------------------------------------------------------------------

Message: 1
Date: Fri, 6 Feb 2009 21:17:27 +0800
From: "Partha Mukhopadhyay" <psm_vu at india.com>
Subject: Re: [Koha-devel] Trouble using Koha
To: "Nahuel ANGELINETTI" <nahuel.angelinetti at biblibre.com>
Cc: koha-devel at lists.koha.org
Message-ID: <20090206131727.42392CBBD2 at ws5-11.us4.outblaze.com>
Content-Type: text/plain; charset="utf-8"

Try http://<ip address of your machine>:8080

partha

> ----- Original Message -----
> From: "Nahuel ANGELINETTI"
<nahuel.angelinetti at biblibre.com>
> To: koha-devel at lists.koha.org
> Subject:
 Re: [Koha-devel] Trouble using Koha
> Date: Thu, 5 Feb 2009 12:18:47 +0100
> 
> Hi,
> 
> Le Tue, 27 Jan 2009 12:07:05 +0430,
> Reza Payandehnik <rpayandehnik at auaf.edu.af> a ?crit :
> 
> > Dear Koha Developers
> >
> > This is Reza Payandehnik, the IT officer in American University of
> > Afghanistan. I am really facing a problem with KOHA 3.00 installation
> > over the network. Recently, I installed koha on Linux Debian 2.14,
> > Apache 2.2, MySQL 5.0 and Perl 2.0. I used a KOHA installation manual
> > to install all requirements and dependencies and then I installed
> > KOHA. Everything is ok and Koha is working properly on the linux
> > machine.
> >
> > There is no problem on working with KOHA on local linux machine. The
> > problem is that KOHA is not accessible through the network. I mean
>
 > windows machines can not get access to it, when someone browses to
the
> > http://koha:8080/cgi-bin/koha/mainpage.pl , Apache says that the URL
> > can not be found on the server. Apache is working properly, becuase I
> > installed other applications which they are accessible via the
> > network easily, only KOHA can not work on the network.
> 
> I mean, you have a mistake in your apache virtual host configuration,
> you should check it.
> 
> bests,
> 
> --
> Nahuel ANGELINETTI
> 
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha.org
> http://lists.koha.org/mailman/listinfo/koha-devel

>



Parthasarathi Mukhopadhyay
Department of Library and Information Science
University of Burdwan, Burdwan, West Bengal, India


--
 
_______________________________________________
Search for products and services at: 
http://search.mail.com


------------------------------

Message: 2
Date: Sat, 7 Feb 2009 12:35:25 +0530 (IST)
From: Krishnan M <kmlist at yahoo.in>
Subject: [Koha-devel] Results of library automation survey ...
To: koha-devel <koha-devel at lists.koha.org>, koha-user
	<Koha at lists.katipo.co.nz>
Message-ID: <374460.11699.qm at web95106.mail.in2.yahoo.com>
Content-Type: text/plain; charset="utf-8"

Sorry if this has already been posted to the list, don't remember seeing
it....interesting reading...

Marshall Breeding has published the results of a library automation survey for
2008. See
http://www.librarytechnology.org/perceptions2008.pl

As a participant, i was notified, and perhaps others were too.

regards,
krishnan



      From Chandigarh to Chennai - find
 friends all over India. Go to
http://in.promos.yahoo.com/groups/citygroups/
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.koha.org/pipermail/koha-devel/attachments/20090207/50c28575/attachment.html


------------------------------

_______________________________________________
Koha-devel mailing list
Koha-devel at lists.koha.org
http://lists.koha.org/mailman/listinfo/koha-devel


End of Koha-devel Digest, Vol 39, Issue 9
*****************************************



      Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-devel/attachments/20090207/3fcac8ff/attachment-0002.htm>


More information about the Koha-devel mailing list