Hi Guys! I have just finished installing Koha using this installation guide on *Ubuntu 12.04 LTS*. , http://wiki.koha-community.org/wiki/Koha_on_ubuntu_-_packages but the OPAC site does not work. It only displays this. It works! This is the default web page for this server. The web server software is running but no content has been added, yet. Could anyone suggest how I could get this fixed! Thanks! Richard
Richard Maileseni schreef op do 10-10-2013 om 11:37 [+1300]:
I have just finished installing Koha using this installation guide on *Ubuntu 12.04 LTS*. ,
http://wiki.koha-community.org/wiki/Koha_on_ubuntu_-_packages
but the OPAC site does not work. It only displays this. It works!
There's a few things that could be wrong, but basically what is happening is that you're getting the default page (000-default) for your webserver rather than the virtualhost for Koha. The easy work-around is to remove the 000-default site, but that's not the best solution. Ideally, you'd check that the ServerName directive in the Koha configuration is actually matching the hostname that you are using to access the site. There might be some other Apache configuration things going on (IP addresses, ports, etc) but having the wrong ServerName is the most likely. -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5FA7 4B49 1E4D CAA4 4C38 8505 77F5 B724 F871 3BDF
On 10/10/2013, at 06:37 , Richard Maileseni wrote:
Hi Guys!
I have just finished installing Koha using this installation guide on *Ubuntu 12.04 LTS*. ,
http://wiki.koha-community.org/wiki/Koha_on_ubuntu_-_packages
but the OPAC site does not work. It only displays this. It works!
This is the default web page for this server.
The web server software is running but no content has been added, yet.
Could anyone suggest how I could get this fixed!
To me, it implies that you missed the step "Disable Default Site". Does the admin page work? (which is something I usually forget...) -ramon.
Ramon Andiñach schreef op do 10-10-2013 om 07:57 [+0800]:
To me, it implies that you missed the step "Disable Default Site".
That shouldn't really be a step, as it wallpapers over the issue without fixing the cause. If you ever decide to put something else on that server, or change how certain other things work, then it'll resurface in even more confusing ways. -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5FA7 4B49 1E4D CAA4 4C38 8505 77F5 B724 F871 3BDF
please try $ a2dissite default That's what I usually do whenever I install koha in a new machine and get the "It works!" message. Cheers! -- View this message in context: http://koha.1045719.n5.nabble.com/Koha-OPAC-site-tp5774017p5774029.html Sent from the Koha-general mailing list archive at Nabble.com.
Greetings, Though "$ sudo a2dissite 000-default" may work. The problem is that the default port 80 is matching the default site rather than OPAC or Staff Clients. This is more likely due to trying to access the name-based install with a different name or ip address. As others have suggested, doing that really only masks the problem. It doesn't solve the underlying issue, and if someone is trying to install Koha on a machine that servers other web pages, this is not a good idea. GPML, Mark Tompsett
True. Setting up apache better would be best. For what it's worth this instruction carries with it a note of warning, particularly about servers with additional sites. It was the step that he missed, and so perhaps a different not should be added into it's place on the instructions for ubuntu using packages. Also, to my understanding, ubuntu comes with the assumption of a single virtual host site setup. That Richard was getting that message *most likely* means that there isn't a second virtual host to be worried about. -ramon. On 10/10/2013, at 09:13 , Mark Tompsett wrote:
Greetings,
Though "$ sudo a2dissite 000-default" may work. The problem is that the default port 80 is matching the default site rather than OPAC or Staff Clients. This is more likely due to trying to access the name-based install with a different name or ip address. As others have suggested, doing that really only masks the problem. It doesn't solve the underlying issue, and if someone is trying to install Koha on a machine that servers other web pages, this is not a good idea.
GPML, Mark Tompsett _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
participants (5)
-
Mark Tompsett -
Ramon Andiñach -
Richard Maileseni -
Robin Sheat -
schnydszch