default apache site no library site
Hi I seemingly followed the setup guide to the best of my ability, but navigating to the server ip address only brings me to the default apache website not the library site. I have tried using differing urls library library-intra etc I would appear that apache does not have this virtual site set up correctly I am wondering what I can do to resolve it I installed koha on an existing apache web server, Ubunti 12.04 lts Thanks
Hello Ian, On Thu, Sep 18, 2014 at 12:48 PM, Ian D <duxbuz@hotmail.com> wrote:
Hi
I seemingly followed the setup guide to the best of my ability, but navigating to the server ip address only brings me to the default apache website not the library site.
I'm assuming you did a .deb package install. Did you follow the steps as given at http://wiki.koha-community.org/wiki/Koha_on_ubuntu_-_packages ? what the contents of your /etc/koha/koha-sites.conf? can you paste a pastebin link with the details? what are the setting in your /etc/hosts files? what does `sudo apache2ctl -S` return? did you reload / restart the apache server? -indra -- Indranil Das Gupta Phone : +91-98300-20971 Blog : http://indradg.randomink.org/blog IRC : indradg on irc://irc.freenode.net Twitter : indradg -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=- Please exchange editable Office documents only in ODF Format. No other format is acceptable. Support Open Standards. For a free editor supporting ODF, please visit LibreOffice - http://www.documentfoundation.org
Thanks Indranil
I'm assuming you did a .deb package install. Did you follow the steps as given at http://wiki.koha-community.org/wiki/Koha_on_ubuntu_-_packages ?
I followed the guide so I did apt-get sudo apt-get install koha-common
what the contents of your /etc/koha/koha-sites.conf? can you paste a pastebin link with the details?
I think I managed to paste it http://paste.koha-community.org/215?submit=Format+it!#format
what are the setting in your /etc/hosts files?
127.0.0.1 localhost 127.0.0.1 linuxbox.mydomain linuxbox 127.0.0.1 library.mydomain library 127.0.0.1 library-intra.mydomain # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters
what does `sudo apache2ctl -S` return?
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName VirtualHost configuration: wildcard NameVirtualHosts and _default_ servers: *:80 is a NameVirtualHost default server 127.0.0.1 (/etc/apache2/sites-enabled/000-default:1) port 80 namevhost 127.0.0.1 (/etc/apache2/sites-enabled/000-default:1) port 80 namevhost library.mydomain (/etc/apache2/sites-enabled/library:4) port 80 namevhost library-intra.mydomain (/etc/apache2/sites-enabled/library:21) port 80 namevhost library.mydomain (/etc/apache2/sites-enabled/library.conf:4) port 80 namevhost library-intra.mydomain (/etc/apache2/sites-enabled/library.conf:21) Syntax OK
did you reload / restart the apache server?
Yes
Greetings, +1 to Indranil for diagnostic questions. So, you are telling me that: DOMAIN=".mydomain" INTRAPORT="80" INTRAPREFIX="" INTRASUFFIX="-intra" OPACPORT="80" OPACPREFIX="" OPACSUFFIX="" and your instance name is library (i.e. sudo koha-create --create-db library) And that you can't: sudo apt-get install lynx ... lynx http://library-intra.mydomain/ on that server? GPML, Mark Tompsett
I kid you not this is what happened this morning........ I read these posts, and just before I followed Indranil's instructions to remove the default site I cycled through bash history and found my command for : http://library-intra.mydomain/ which was actually http://library-intra.mydomain:80 (I ran this yesterday that's why it was in .bash_history) anyway I hit enter key and I was greeted with the Koha 3.0 installer page! Weird but true!! I must have killed the browser before it finished loading or something! So I might be sorted. Thanks for your help.
From: mtompset@hotmail.com To: duxbuz@hotmail.com CC: koha@lists.katipo.co.nz Subject: Re: [Koha] default apache site no library site Date: Thu, 18 Sep 2014 10:46:34 -0400
Greetings,
+1 to Indranil for diagnostic questions.
So, you are telling me that: DOMAIN=".mydomain" INTRAPORT="80" INTRAPREFIX="" INTRASUFFIX="-intra" OPACPORT="80" OPACPREFIX="" OPACSUFFIX=""
and your instance name is library (i.e. sudo koha-create --create-db library)
And that you can't: sudo apt-get install lynx ... lynx http://library-intra.mydomain/ on that server?
GPML, Mark Tompsett
Hi, On Thu, Sep 18, 2014 at 2:26 PM, Ian D <duxbuz@hotmail.com> wrote:
I followed the guide so I did apt-get sudo apt-get install koha-common <snipped>
try the following commands: `sudo a2dissite default` followed by `sudo service apache2 restart` Does Apache restart successfully ? If it does, then try hitting http://library-intra.mydomain in your browser. what happens now? -indra -- Indranil Das Gupta Phone : +91-98300-20971 Blog : http://indradg.randomink.org/blog IRC : indradg on irc://irc.freenode.net Twitter : indradg -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=- Please exchange editable Office documents only in ODF Format. No other format is acceptable. Support Open Standards. t For a free editor supporting ODF, please visit LibreOffice - http://www.documentfoundation.org
participants (3)
-
Ian D -
Indranil Das Gupta -
Mark Tompsett