I am trying to install Koha 3.0 in Debian 4.0 r0. Everything went well... perl dependencies configuration, cpan configuration, mysql configuration, koha and zebra. But, at last, when i tries to open my server with http://koha:8080/ then nothing comes. Plus, if i tries to restart my apache2 then, this error comes: *debian:~# /etc/init.d/apache2 restart Forcing reload of web server (apache2)...[Mon Mar 09 07:26:12 2009] [error] (EAI 2)Name or service not known: Could not resolve host name __WEBSERVER_IP__:__WEB SERVER_PORT__ -- ignoring! Warning: DocumentRoot [/etc/apache2/__OPAC_WWW_DIR__] does not exist [Mon Mar 09 07:26:13 2009] [error] (EAI 2)Name or service not known: Could not r esolve host name __WEBSERVER_IP__:__WEBSERVER_PORT_LIBRARIAN__ -- ignoring! Warning: DocumentRoot [/etc/apache2/__INTRANET_WWW_DIR__] does not exist Syntax error on line 45 of /etc/apache2/sites-enabled/koha: The port number "__WEBSERVER_HOST__:__WEBSERVER_PORT_LIBRARIAN__" is outside the appropriate range (i.e., 1..65535). failed! * Can you please help me? -- Best, Zico
On Mon, Mar 9, 2009 at 1:37 AM, Zico <mailzico@gmail.com> wrote:
I am trying to install Koha 3.0 in Debian 4.0 r0. Everything went well... perl dependencies configuration, cpan configuration, mysql configuration, koha and zebra. But, at last, when i tries to open my server with http://koha:8080/ then nothing comes. Plus, if i tries to restart my apache2 then, this error comes:
*debian:~# /etc/init.d/apache2 restart Forcing reload of web server (apache2)...[Mon Mar 09 07:26:12 2009] [error] (EAI 2)Name or service not known: Could not resolve host name __WEBSERVER_IP__:__WEB SERVER_PORT__ -- ignoring! Warning: DocumentRoot [/etc/apache2/__OPAC_WWW_DIR__] does not exist [Mon Mar 09 07:26:13 2009] [error] (EAI 2)Name or service not known: Could not r esolve host name __WEBSERVER_IP__:__WEBSERVER_PORT_LIBRARIAN__ -- ignoring!*
[ ... ] Ok. I have solved this error already. Now, the problem is, apache2 starts ok but, when i go for *127.0.0.1:8080 *or *localhost:8080* in web browser then, two types of error comes, "software error" & "500 internal system error" simultaneously. I went through the log file of apache and found that, *[Mon Mar 9 03:10:20 2009] mainpage.pl: BEGIN failed--compilation aborted at /usr/share/koha/intranet/cgi-bin/mainpage.pl line 23. *now, when i went to the line number 23 of mainpage.pl file, i got the syntax: *use C4::Output; * And, here, another thing just came into my mind that, when i was configuring cpan, may be i typed "no" for some parts. *What do you think, is it the problem? That "no" answer? Do i need to install each and every portion of cpan configuration? * Can you please help me? -- Best, Zico
Zico <mailzico@gmail.com> wrote:
On Mon, Mar 9, 2009 at 1:37 AM, Zico <mailzico@gmail.com> wrote:
[Mon Mar 09 07:26:13 2009] [error] (EAI 2)Name or service not known: Could not r esolve host name __WEBSERVER_IP__:__WEBSERVER_PORT_LIBRARIAN__ -- ignoring!* [ ... ]
Ok. I have solved this error already.
Was it that your webserver couldn't find its own IP or similar?
*[Mon Mar 9 03:10:20 2009] mainpage.pl: BEGIN failed--compilation aborted at /usr/share/koha/intranet/cgi-bin/mainpage.pl line 23.
*now, when i went to the line number 23 of mainpage.pl file, i got the syntax:
*use C4::Output; *
The useful line of the error log is probably just above the one emailed. I suspect that either apache doesn't have mod_setenv enabled or the PERL5LIB line in koha-httpd.conf isn't quite right.
And, here, another thing just came into my mind that, when i was configuring cpan, may be i typed "no" for some parts. *What do you think, is it the problem? That "no" answer? Do i need to install each and every portion of cpan configuration? *
I don't think it's a CPAN problem. Hope that helps, -- MJ Ray (slef) Webmaster for hire, statistician and online shop builder for a small worker cooperative http://www.ttllp.co.uk/ http://mjr.towers.org.uk/ (Notice http://mjr.towers.org.uk/email.html) tel:+44-844-4437-237
participants (2)
-
MJ Ray -
Zico