Hi all - I'm installing koha 3.00.04 on a fresh debian lenny (5.0.3) machine and following the instructions in the file "INSTALL.debian-lenny". I get to section 4 and run the command $ sudo a2ensite koha and get the following error ERROR: Site koha does not exist! I've followed all the instructions (I think) but I can't figure out what I did wrong. Am I doing anything wrong? Thank You. *********************************** Chris Demas, Librarian Wayne G. Basler Library Northeast State Community College P.O. Box 246 Blountville, TN 37617 cddemas@NortheastState.edu <mailto:cddemas@NortheastState.edu> 423.354.2454
Hi Eric The sudo ln -s .. command was successful and the 'koha' file is in the /sites-available/. I was looking at the apache2 documentation and it says the a2ensite command creates symlinks in sites-enabled, but doesn't mention sites-available. I'm confused. *********************************** Chris Demas, Librarian Wayne G. Basler Library Northeast State Community College P.O. Box 246 Blountville, TN 37617 cddemas@NortheastState.edu 423.354.2454 From: Eric Bégin [mailto:Eric.Begin@inLibro.com] Sent: Tuesday, December 01, 2009 2:17 PM To: Demas, Christopher D Cc: koha@lists.katipo.co.nz Subject: Re: [Koha] a2ensite koha error Hi Chris, This error usually indicates that your previous command "sudo ln -s ..." failed. Make sure you did use the correct path. An easy way to check if you did it right, is to look for a 'koha' file in your <apachebasedir>/sites-available/ Hope that helps, -- Eric Bégin http://www.inLibro.com Demas, Christopher D wrote: Hi all - I'm installing koha 3.00.04 on a fresh debian lenny (5.0.3) machine and following the instructions in the file "INSTALL.debian-lenny". I get to section 4 and run the command $ sudo a2ensite koha and get the following error ERROR: Site koha does not exist! I've followed all the instructions (I think) but I can't figure out what I did wrong. Am I doing anything wrong? Thank You. *********************************** Chris Demas, Librarian Wayne G. Basler Library Northeast State Community College P.O. Box 246 Blountville, TN 37617 cddemas@NortheastState.edu 423.354.2454 ________________________________ _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
2009/12/2 Demas, Christopher D <cddemas@northeaststate.edu>:
Hi Eric
The sudo ln –s .. command was successful and the ‘koha’ file is in the /sites-available/. I was looking at the apache2 documentation and it says the a2ensite command creates symlinks in sites-enabled, but doesn’t mention sites-available.
I’m confused.
It creates a symlink from sites-available to sites-enabled. If you do cat /etc/apache/sites-available/koha ... does it print out the config file for you? If not, then the symlink you created in there is pointing to the wrong place. Hence the error when you run a2ensite Chris
-----Original Message----- From: Chris Cormack [mailto:chris@bigballofwax.co.nz] Sent: Tuesday, December 01, 2009 3:20 PM To: Demas, Christopher D Cc: Eric Bégin; koha@lists.katipo.co.nz Subject: Re: [Koha] a2ensite koha error
Hi Eric
The sudo ln -s .. command was successful and the 'koha' file is in
2009/12/2 Demas, Christopher D <cddemas@northeaststate.edu>: the
/sites-available/. I was looking at the apache2 documentation and it says the a2ensite command creates symlinks in sites-enabled, but doesn't mention sites-available.
I'm confused.
It creates a symlink from sites-available to sites-enabled.
If you do cat /etc/apache/sites-available/koha ... does it print out the config file for you? If not, then the symlink you created in there is pointing to the wrong place. Hence the error when you run a2ensite
Chris
Hi Chris - Thanks for responding. I ran cat /etc/apache2/sites-available/koha and got "No such file or directory. However when I go to /etc/apache2/sites-available/ I do see the koha symlink. How do I point this to the right place?
2009/12/2 Demas, Christopher D <cddemas@northeaststate.edu>:
-----Original Message----- From: Chris Cormack [mailto:chris@bigballofwax.co.nz] Sent: Tuesday, December 01, 2009 3:20 PM To: Demas, Christopher D Cc: Eric Bégin; koha@lists.katipo.co.nz Subject: Re: [Koha] a2ensite koha error
Hi Eric
The sudo ln -s .. command was successful and the 'koha' file is in
2009/12/2 Demas, Christopher D <cddemas@northeaststate.edu>: the
/sites-available/. I was looking at the apache2 documentation and it says the a2ensite command creates symlinks in sites-enabled, but doesn't mention sites-available.
I'm confused.
It creates a symlink from sites-available to sites-enabled.
If you do cat /etc/apache/sites-available/koha ... does it print out the config file for you? If not, then the symlink you created in there is pointing to the wrong place. Hence the error when you run a2ensite
Chris
Hi Chris -
Thanks for responding. I ran cat /etc/apache2/sites-available/koha and got "No such file or directory. However when I go to /etc/apache2/sites-available/ I do see the koha symlink.
How do I point this to the right place?
Where does the symlink point too? ls -l will tell you? Chris
2009/12/2 Demas, Christopher D <cddemas@northeaststate.edu>:
-----Original Message----- From: Chris Cormack [mailto:chris@bigballofwax.co.nz] Sent: Tuesday, December 01, 2009 3:20 PM To: Demas, Christopher D Cc: Eric Bégin; koha@lists.katipo.co.nz Subject: Re: [Koha] a2ensite koha error
Hi Eric
The sudo ln -s .. command was successful and the 'koha' file is in
2009/12/2 Demas, Christopher D <cddemas@northeaststate.edu>: the
/sites-available/. I was looking at the apache2 documentation and it says the a2ensite command creates symlinks in sites-enabled, but doesn't mention sites-available.
I'm confused.
It creates a symlink from sites-available to sites-enabled.
If you do cat /etc/apache/sites-available/koha ... does it print out the config file for you? If not, then the symlink you created in there is pointing to the wrong place. Hence the error when you run a2ensite
Chris
Hi Chris -
Thanks for responding. I ran cat /etc/apache2/sites-available/koha and got "No such file or directory. However when I go to /etc/apache2/sites-available/ I do see the koha symlink.
How do I point this to the right place?
Where does the symlink point too? ls -l will tell you?
Chris
It's pointing to /etc/koha-httpd.conf Wow! Thank you. It's wrong. I changed it to point to /etc/koha/koha-httpd.conf and ran the sudo a2ensite koha and it works now. Thank you very much for the help. I must have symlinked it to the wrong place at first. probably a mistype on my part. I really appreciate it. :-) Chris
participants (3)
-
Chris Cormack -
Demas, Christopher D -
Eric Bégin