Re: [Koha] Koha 3 Install OpenSuse 10.3 Prob]
Andrew: Thanks for response. I've checked /sbin and /usr/sbin, the latter contains a2enflag and a2enmod, but not a2ensite. In fact, I've done a /usr level search for a2ensite, but we don't have it. Apache itself seems to be running fine, at least the "http://localhost" brings up the default page. I'll check for apache packages to see which one provides the a2ensite command. Greg ----------------------- -------- Original Message -------- Subject: Re: [Koha] Koha 3 Install OpenSuse 10.3 Prob Date: Tue, 20 May 2008 11:53:09 -0500 From: Andrew Moore <andrew.moore@liblime.com> To: koha <koha@lists.katipo.co.nz> References: <4832FD69.1070802@rollinghills.lib.mo.us> On Tue, May 20, 2008 at 11:33 AM, gsl <gsl@rollinghills.lib.mo.us> wrote:
"sudo a2ensite koha && /etc/init.d/apache2 reload"
which generates the error "command not found" for us. (Just for clarification, it is the "a2ensite" command which fails).
a2ensite indeed isn't installed on out server unless it's in some non-path location, it doesn't show up in the Yast software installer, and I don't see an install package on the net anywhere for the "a2ensite" command--is this part of some apache package, or is there a separate download source location?
Hi Greg. a2ensite is part of the apache2 package. It's usually installed in /usr/sbin/a2ensite. It's possible that /usr/sbin isn't in your path. You might check to see if that file exists, and if so, refer to it as /usr/sbin/a2ensite. If it doesn't exist, I suspect that apache2 isn't installed right. You may eventually have a better experience if you add /usr/sbin to your path. Hope it helps! -Andy _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
On Tue, May 20, 2008 at 12:05 PM, gsl <gsl@rollinghills.lib.mo.us> wrote:
Thanks for response. I've checked /sbin and /usr/sbin, the latter contains a2enflag and a2enmod, but not a2ensite. In fact, I've done a /usr level search for a2ensite, but we don't have it. Apache itself seems to be running fine, at least the "http://localhost" brings up the default page. I'll check for apache packages to see which one provides the a2ensite command.
Hi Greg - Perhaps it's not installed on suse, and just on debian and ubuntu. Anyway, all it does is manage the symlinks in the 'sites-available' and 'sites-enabled' directories inside the apache conf directory, /etc/apache2. That's how debian does it. I'm starting to think that opensuse uses an /etc/apache2/vhosts.d directory, but I can't recall offhand. Anyway, the point is to make sure that the file that defines the koha virtual host is found by apache. Don't concentrate on the "a2ensite" script too much, as it's probably a debianism. There has been some recent discussion of installation on opensuse on this list. Perhaps some updates to that wiki page or an INSTALL file will be coming along soon to help you out more. -Andy
Hi,
Perhaps it's not installed on suse, and just on debian and ubuntu. It's not installed on my suse, no. (suse enterprise versions 9 and 10) and indeed: I have always created my own koha.conf files under /etc/apache2/vhosts.d
(just to confirm that your memory serves you well, Andrew) mj
OK, so now I've copied the "koha-httpd.conf" file and put it under /etc/apache2/vhosts.d. When trying to restart apache I get the following error message: ---------------- Syntax error on line 17 of /etc/apache2/vhosts.d/koha-httpd.conf: Invalid command 'SetEnv', perhaps misspelled or defined by a module not included in the server configuration The command line was: /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf ---------------- Line 17 is: SetEnv KOHA_CONF "/etc/koha/koha-conf.xml" I tried changing SetEnv to setenv with no luck, and the koha-conf.xml file looks OK. If I comment out line 17, the apache restart generates an error on line 18, which is another "SetEnv". Any ideas? Greg Lawson Network Administrator Rolling Hills Consolidated Library 1912 N. Belt Highway St. Joseph, MO 64506 ---------------------- mourik jan c heupink wrote:
Hi,
Perhaps it's not installed on suse, and just on debian and ubuntu.
It's not installed on my suse, no. (suse enterprise versions 9 and 10) and indeed: I have always created my own koha.conf files under /etc/apache2/vhosts.d
(just to confirm that your memory serves you well, Andrew)
mj _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Hi, On Tue, May 20, 2008 at 1:48 PM, gsl <gsl@rollinghills.lib.mo.us> wrote:
I tried changing SetEnv to setenv with no luck, and the koha-conf.xml file looks OK. If I comment out line 17, the apache restart generates an error on line 18, which is another "SetEnv".
You'll need to install and activate the mod_env Apache module. Regards, Galen -- Galen Charlton Koha Application Developer LibLime galen.charlton@liblime.com p: 1-888-564-2457 x709
In the main (not the Koha) Apache configuration file, there should be a line that looks like this: LoadModule env_module modules/mod_env.so If it is commented out (preceded by a # sign), uncomment it; otherwise, add that line near the other LoadModule lines.
Or use yast: yast, network services, HTTP server, server modules mj
participants (5)
-
Andrew Moore -
Galen Charlton -
gsl -
Jesse -
mourik jan c heupink