Yet Another Apache Question... When (re)starting apache, after inserting the line for the koha-httpd.conf file, I get the following: -su-2.05b# apachectl start Syntax error on line 2 of /etc/koha.conf: Invalid command 'database=Koha', perhaps mis-spelled or defined by a module not included in the server configuration /usr/local/sbin/apachectl start: httpd could not be started Koha is in the database, and the module is_installed... -su-2.05b# less /etc/koha.conf database=Koha hostname=localhost user=kohaadmin pass=********* intranetdir=/usr/local/koha/intranet opacdir=/usr/local/koha/opac kohalogdir=/usr/local/koha/log kohaversion=2.2.0 httpduser=www intrahtdocs=/usr/local/koha/intranet/htdocs/intranet-tmpl opachtdocs=/usr/local/koha/opac/htdocs/opac-tmpl TIA --Karl __________________________________ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com
Is Koha a valid database in your system ? What is your database manager (MySQL, PostgreSQL, ...) ? What user do you have declared in the *database manager* ? Is his password well written ? HTH -- Henri-Damien LAURENT Karl Agee a écrit :
Yet Another Apache Question...
When (re)starting apache, after inserting the line for the koha-httpd.conf file, I get the following:
-su-2.05b# apachectl start Syntax error on line 2 of /etc/koha.conf: Invalid command 'database=Koha', perhaps mis-spelled or defined by a module not included in the server configuration /usr/local/sbin/apachectl start: httpd could not be started
Koha is in the database, and the module is_installed...
-su-2.05b# less /etc/koha.conf
database=Koha hostname=localhost user=kohaadmin pass=********* intranetdir=/usr/local/koha/intranet opacdir=/usr/local/koha/opac kohalogdir=/usr/local/koha/log kohaversion=2.2.0 httpduser=www intrahtdocs=/usr/local/koha/intranet/htdocs/intranet-tmpl opachtdocs=/usr/local/koha/opac/htdocs/opac-tmpl
TIA
--Karl
__________________________________ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Mysql 4.0.22. Yes, Koha is a valid database. It was created by the perl install script. database "manager" is root. I have removed the pw and put a pw in, I get the same results either way. --k --- Henri-Damien LAURENT <laurenthdl@alinto.com> wrote:
Is Koha a valid database in your system ? What is your database manager (MySQL, PostgreSQL, ...) ? What user do you have declared in the *database manager* ? Is his password well written ?
HTH -- Henri-Damien LAURENT Karl Agee a �crit :
Yet Another Apache Question...
When (re)starting apache, after inserting the line for the koha-httpd.conf file, I get the following:
-su-2.05b# apachectl start Syntax error on line 2 of /etc/koha.conf: Invalid command 'database=Koha', perhaps mis-spelled or defined by a module not included in the server configuration /usr/local/sbin/apachectl start: httpd could not be started
Koha is in the database, and the module is_installed...
-su-2.05b# less /etc/koha.conf
database=Koha hostname=localhost user=kohaadmin pass=********* intranetdir=/usr/local/koha/intranet opacdir=/usr/local/koha/opac kohalogdir=/usr/local/koha/log kohaversion=2.2.0 httpduser=www
intrahtdocs=/usr/local/koha/intranet/htdocs/intranet-tmpl
opachtdocs=/usr/local/koha/opac/htdocs/opac-tmpl
TIA
--Karl
__________________________________ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
__________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail
Henri-Damien LAURENT a écrit :
Is Koha a valid database in your system ? What is your database manager (MySQL, PostgreSQL, ...) ? What user do you have declared in the *database manager* ? Is his password well written ? Good suggestion, but not the origin of the problem ;-) Karl, you made a mistake in httpd.conf You have added Include /etc/koha.conf where you should have Include /etc/koha-httpd.conf
-- Paul POULAIN Consultant indépendant en logiciels libres responsable francophone de koha (SIGB libre http://www.koha-fr.org)
YES!!!!!!!!!!!!!!!!!!!!!!!!! 8-D I am in!!!!!!!!!! 8-) SWEET!!!!!!!!!!!!!!!! 8-D Thanks.......... --Karl --- Paul POULAIN <paul.poulain@free.fr> wrote:
Henri-Damien LAURENT a �crit :
Is Koha a valid database in your system ? What is your database manager (MySQL, PostgreSQL, ...) ? What user do you have declared in the *database manager* ? Is his password well written ? Good suggestion, but not the origin of the problem ;-) Karl, you made a mistake in httpd.conf You have added Include /etc/koha.conf where you should have Include /etc/koha-httpd.conf
-- Paul POULAIN Consultant ind�pendant en logiciels libres responsable francophone de koha (SIGB libre http://www.koha-fr.org) _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
__________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com
Karl wrote:
When (re)starting apache, after inserting the line for the koha-httpd.conf file, I get the following:
-su-2.05b# apachectl start Syntax error on line 2 of /etc/koha.conf:
Are you sure you did "Include koha-httpd.conf" and not "Include koha.conf" by mistake? Apologies if not, but I can't think why else apachectl would look at koha.conf itself instead of a CGI perl doing it. -- MJR/slef http://www.ttllp.co.uk/koha/
participants (4)
-
Henri-Damien LAURENT -
Karl Agee -
MJ Ray -
Paul POULAIN