I am not able to find the mistake so i upgrade is again <br><br>now apache running it giving following errors<br><br>...........................................................................<br><pre>Can't locate Business/ISBN.pm in @INC (@INC contains: /usr/share/koha/lib /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/koha/lib/C4/Koha.pm line 27.<br>
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Koha.pm line 27.<br>Compilation failed in require at /usr/share/koha/lib/C4/Biblio.pm line 30.<br>BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Biblio.pm line 30.<br>
Compilation failed in require at /usr/share/koha/lib/C4/Reserves.pm line 26.<br>BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Reserves.pm line 26.<br>Compilation failed in require at /usr/share/koha/lib/C4/Circulation.pm line 25.<br>
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Circulation.pm line 25.<br>Compilation failed in require at /usr/share/koha/lib/C4/Overdues.pm line 25.<br>BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Overdues.pm line 25.<br>
Compilation failed in require at /usr/share/koha/lib/C4/Members.pm line 28.<br>BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Members.pm line 28.<br>Compilation failed in require at /usr/share/koha/lib/C4/Auth.pm line 30.<br>
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Auth.pm line 30.<br>Compilation failed in require at /usr/share/koha/opac/cgi-bin/opac/<a href="http://opac-main.pl">opac-main.pl</a> line 22.<br>BEGIN failed--compilation aborted at /usr/share/koha/opac/cgi-bin/opac/<a href="http://opac-main.pl">opac-main.pl</a> line 22.<br>
</pre><br><br><br><br><br><div class="gmail_quote">On Tue, Jan 4, 2011 at 6:49 PM, Randall Rowe <span dir="ltr"><<a href="mailto:r.rowe@lincolnlibraries.org">r.rowe@lincolnlibraries.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">-----Original Message-----<br>
From: "Yatheesh Y" <<a href="mailto:yatheeshb@gmail.com" target="_blank">yatheeshb@gmail.com</a>><br>
Sent 1/3/2011 10:54:54 PM<br>
To: "Randall Rowe" <<a href="mailto:r.rowe@lincolnlibraries.org" target="_blank">r.rowe@lincolnlibraries.org</a>><br>
Cc: <a href="mailto:Koha@lists.katipo.co.nz" target="_blank">Koha@lists.katipo.co.nz</a><br>
Subject: Re: [Koha] unable to run apache after upgrade from 3.0 to 3.2<br>
<br>
this is file apache error <br>
<br>
<br>
<br>
Based upon the NCSA server configuration files originally by Rob McCool.<br>
#<br>
# This is the main Apache server configuration file. It contains the<br>
# configuration directives that give the server its instructions.<br>
# See <a href="http://httpd.apache.org/docs/2.2/" target="_blank">http://httpd.apache.org/docs/2.2/</a> for detailed information about<br>
# the directives.<br></div><div class="im">
#<br>
# Do NOT simply read the instructions in here without understanding<br>
# what they do. They're here only as hints or reminders. If you are unsure<br>
# consult the online docs. You have been warned. <br>
#<br>
# The configuration directives are grouped into three basic sections:<br>
# 1. Directives that control the operation of the Apache server process as a<br>
# whole (the 'global environment').<br>
# 2. Directives that define the parameters of the 'main' or 'default' server,<br>
# which responds to requests that aren't handled by a virtual host.<br>
# These directives also provide default values for the settings<br>
# of all virtual hosts.<br>
# 3. Settings for virtual hosts, which allow Web requests to be sent to<br>
# different IP addresses or hostnames and have them handled by the<br>
# same Apache server process.<br>
<br>
<br>
<br>
</div><div class="gmail_quote"><div class="im">
On Mon, Jan 3, 2011 at 6:51 PM, Randall Rowe <span dir="ltr"><<a href="mailto:r.rowe@lincolnlibraries.org" target="_blank">r.rowe@lincolnlibraries.org</a>></span> wrote:<br>
</div><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote"><div class="im">
It means that the file /etc/apache2/sites-enabled/koha has an error.<br>
There is a closing </VirtualHost> without an opening <VirtualHost>.<br>
Check the file and see if you can figure out the problem or post it and we'll see what went wrong.<br>
<br>
<p>Randy Rowe<br>
Lincoln City Libraries I.T.</p>
<div>
<br>
-----Original Message-----<br>
From: "Yatheesh Y" <<a href="mailto:yatheeshb@gmail.com" target="_blank">yatheeshb@gmail.com</a>><br>
Sent 1/3/2011 5:19:10 AM<br>
To: <a href="mailto:Koha@lists.katipo.co.nz" target="_blank">Koha@lists.katipo.co.nz</a><br>
Subject: [Koha] unable to run apache after upgrade from 3.0 to 3.2<br>
<br>
after upgrading unable to run apache it gives following error<br>
<br>
what is this?<br>
<br>
<br>
Restarting web server apache2 apache2: Syntax error on line 265 of /etc/apache2/apache2.conf: Syntax error on line 95 of /etc/apache2/sites-enabled/koha: </VirtualHost> without matching <VirtualHost> section<br>
<br clear="all">
<br>
</div>
</div><div>
<div></div>
<div><div class="im">
-- <br>
<div style="text-align: left;">----------------------------<br>
</div>
<span style="font-family: times new roman,serif; font-size: 18px;">Y.Yatheesh babu<br>
Librarian<br>
Shri Shakti College of Hotel Management<br>
Venus Plaza Begumpet<br>
Hyderabad-500 016<br>
09966178388</span><br>
<br>
</div><pre>_______________________________________________
Koha mailing list <a href="http://koha-community.org" target="_blank">http://koha-community.org</a><div class="im">
<a href="mailto:Koha@lists.katipo.co.nz" target="_blank">Koha@lists.katipo.co.nz</a>
<a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a>
</div></pre>
</div>
</div>
</blockquote></div>
<br>
<br clear="all"><div class="im">
<br>
-- <br>
<div style="text-align: left;">----------------------------<br>
</div>
<span style="font-family: times new roman,serif; font-size: 18px;">Y.Yatheesh babu<br>
Librarian<br>
Shri Shakti College of Hotel Management<br>
Venus Plaza Begumpet<br>
Hyderabad-500 016<br>
09966178388</span><br>
<br>
<br>
<br></div>
That file is most likely /etc/apache2/apache2.conf. The error is being caused by a problem in /etc/apache2/sites-enabled/koha.<br>
Compare the following with what you have in /etc/apache2/sites-enabled/koha<br>
<br>
# Koha Apache Configuration Directives<br>
<br>
#NameVirtualHost *<br>
<br>
## OPAC<br>
<VirtualHost <a href="http://172.25.1.252:80" target="_blank">172.25.1.252:80</a>><br>
ServerAdmin webmaster@lcltest<br>
DocumentRoot /usr/share/koha/opac/htdocs<br>
ServerName lcltest<br>
# ServerAlias <a href="http://opac.mydomain.com" target="_blank">opac.mydomain.com</a><br>
ScriptAlias /cgi-bin/koha/ "/usr/share/koha/opac/cgi-bin/opac/"<br>
ScriptAlias /index.html "/usr/share/koha/opac/cgi-bin/opac/<a href="http://opac-main.pl" target="_blank">opac-main.pl</a>"<br>
ScriptAlias /<a href="http://opac-search.pl" target="_blank">opac-search.pl</a> "/usr/share/koha/opac/cgi-bin/opac/<a href="http://opac-search.pl" target="_blank">opac-search.pl</a><br>
"<br>
ScriptAlias /search "/usr/share/koha/opac/cgi-bin/opac/<a href="http://opac-search.pl" target="_blank">opac-search.pl</a>"<br>
ErrorLog /var/log/koha/koha-opac-error_log<br>
# TransferLog /var/log/koha/koha-opac-access_log<br>
SetEnv KOHA_CONF "/etc/koha/koha-conf.xml"<br>
SetEnv PERL5LIB "/usr/share/koha/lib"<br>
<br>
<IfModule mod_gzip.c><br>
mod_gzip_on yes<br>
mod_gzip_dechunk yes<br>
mod_gzip_keep_workfiles No<br>
mod_gzip_can_negotiate yes<br>
mod_gzip_update_static No<br>
mod_gzip_temp_dir /tmp<br>
mod_gzip_minimum_file_size 512<br>
mod_gzip_maximum_file_size 1000000<br>
mod_gzip_maximum_inmem_size 1000000<br>
mod_gzip_handle_methods GET POST<br>
mod_gzip_item_exclude reqheader "User-Agent: .*Mozilla/4\..*\["<br>
mod_gzip_item_exclude mime ^image/.*<br>
mod_gzip_item_exclude rspheader Content-Type:image/*<br>
mod_gzip_item_include file \.js$<br>
mod_gzip_item_include mime ^application/x-javascript$<br>
mod_gzip_item_include file \.php$<br>
mod_gzip_item_include mime ^text/html$<br>
mod_gzip_item_include file \.css$<br>
mod_gzip_item_include mime ^text/css$<br>
</IfModule><br>
<br>
<IfModule mod_deflate.c><br>
<br>
# Compress content with type html, text, and css, ...<br>
AddOutputFilterByType DEFLATE text/plain text/html text/xml text/css<br>
AddOutputFilterByType DEFLATE application/xml application/xhtml+xml applicat<br>
ion/rss+xml application/javascript application/x-javascript<br>
<br>
DeflateCompressionLevel 9<br>
<br>
# Properly handle old browsers that do not support compression<br>
BrowserMatch ^Mozilla/4 gzip-only-text/html<br>
BrowserMatch ^Mozilla/4\.0[678] no-gzip<br>
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html<br>
<br>
DeflateFilterNote Input instream<br>
DeflateFilterNote Output outstream<br>
DeflateFilterNote Ratio ratio<br>
<br>
LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate<br>
<IfModule mod_headers.c><br>
#properly handle requests coming from behind proxies<br>
Header append Vary User-Agent<br>
</IfModule><br>
</IfModule><br>
<br>
<br>
# Repeat this virtualhost stanza changing the following environment vars to<br>
# create multiple OPAC interfaces with custom css and/or search limits:<br>
# SetEnv OPAC_CSS_OVERRIDE mystyle.css<br>
# SetEnv OPAC_SEARCH_LIMIT branch:CODE<br>
# SetEnv OPAC_LIMIT_OVERRIDE 1<br>
<br>
Options +FollowSymLinks<br>
<br>
ErrorDocument 400 /cgi-bin/koha/errors/<a href="http://400.pl" target="_blank">400.pl</a><br>
ErrorDocument 401 /cgi-bin/koha/errors/<a href="http://401.pl" target="_blank">401.pl</a><br>
ErrorDocument 403 /cgi-bin/koha/errors/<a href="http://403.pl" target="_blank">403.pl</a><br>
ErrorDocument 404 /cgi-bin/koha/errors/<a href="http://404.pl" target="_blank">404.pl</a><br>
ErrorDocument 500 /cgi-bin/koha/errors/<a href="http://500.pl" target="_blank">500.pl</a><br>
<br>
# Rewrite Rules<br>
RewriteEngine On<br>
<br>
# Uncomment to turn on rewrite logging<br>
# RewriteLog /var/log/koha/koha-opac-rewrite.log<br>
# RewriteLogLevel 1<br>
RewriteCond %{QUERY_STRING} (.*?)(?:[A-Za-z0-9_-]+)=&(.*)<br>
RewriteRule (.+) $1?%1%2 [N,R,NE]<br>
<br>
RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/opac-detail\.pl?bib=$1 [PT]<br>
RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT]<br>
RewriteRule ^/issn/([^\/]*)/?$ /search?q=issn:$1 [PT]<br>
</VirtualHost><br>
<br>
## Intranet<br>
<VirtualHost <a href="http://172.25.1.252:8080" target="_blank">172.25.1.252:8080</a>><br>
ServerAdmin webmaster@lcltest<br>
DocumentRoot /usr/share/koha/intranet/htdocs<br>
ServerName lcltest:8080<br>
# ServerAlias <a href="http://intranet.mydomain.com" target="_blank">intranet.mydomain.com</a><br>
ScriptAlias /cgi-bin/koha/ "/usr/share/koha/intranet/cgi-bin/"<br>
ScriptAlias /index.html "/usr/share/koha/intranet/cgi-bin/<a href="http://mainpage.pl" target="_blank">mainpage.pl</a>"<br>
ScriptAlias /search "/usr/share/koha/intranet/cgi-bin/<a href="http://search.pl" target="_blank">search.pl</a>"<br>
ErrorLog /var/log/koha/koha-error_log<br>
# TransferLog /var/log/koha/koha-access_log<br>
SetEnv KOHA_CONF "/etc/koha/koha-conf.xml"<br>
SetEnv PERL5LIB "/usr/share/koha/lib"<br>
Options +FollowSymLinks<br>
<br>
ErrorDocument 400 /cgi-bin/koha/errors/<a href="http://400.pl" target="_blank">400.pl</a><br>
ErrorDocument 401 /cgi-bin/koha/errors/<a href="http://401.pl" target="_blank">401.pl</a><br>
ErrorDocument 403 /cgi-bin/koha/errors/<a href="http://403.pl" target="_blank">403.pl</a><br>
ErrorDocument 404 /cgi-bin/koha/errors/<a href="http://404.pl" target="_blank">404.pl</a><br>
ErrorDocument 500 /cgi-bin/koha/errors/<a href="http://500.pl" target="_blank">500.pl</a><br>
<br>
<IfModule mod_gzip.c><br>
mod_gzip_on yes<br>
mod_gzip_dechunk yes<br>
mod_gzip_keep_workfiles No<br>
mod_gzip_can_negotiate yes<br>
mod_gzip_update_static No<br>
mod_gzip_temp_dir /tmp<br>
mod_gzip_minimum_file_size 512<br>
mod_gzip_maximum_file_size 1000000<br>
mod_gzip_maximum_inmem_size 1000000<br>
mod_gzip_handle_methods GET POST<br>
mod_gzip_item_exclude reqheader "User-Agent: .*Mozilla/4\..*\["<br>
mod_gzip_item_exclude mime ^image/.*<br>
mod_gzip_item_exclude rspheader Content-Type:image/*<br>
mod_gzip_item_include file \.js$<br>
mod_gzip_item_include mime ^application/x-javascript$<br>
mod_gzip_item_include file \.php$<br>
mod_gzip_item_include mime ^text/html$<br>
mod_gzip_item_include file \.css$<br>
mod_gzip_item_include mime ^text/css$<br>
</IfModule><br>
<br>
<IfModule mod_deflate.c><br>
<br>
# Compress content with type html, text, and css, ...<br>
AddOutputFilterByType DEFLATE text/plain text/html text/xml text/css<br>
AddOutputFilterByType DEFLATE application/xml application/xhtml+xml applica<br>
tion/rss+xml application/javascript application/x-javascript<br>
<br>
DeflateCompressionLevel 9<br>
<br>
# Properly handle old browsers that do not support compression<br>
BrowserMatch ^Mozilla/4 gzip-only-text/html<br>
BrowserMatch ^Mozilla/4\.0[678] no-gzip<br>
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html<br>
<br>
DeflateFilterNote Input instream<br>
DeflateFilterNote Output outstream<br>
DeflateFilterNote Ratio ratio<br>
<br>
LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate<br>
<IfModule mod_headers.c><br>
#properly handle requests coming from behind proxies<br>
Header append Vary User-Agent<br>
</IfModule><br>
</IfModule><br>
<br>
RewriteEngine On<br>
# Uncomment to turn on rewrite logging<br>
# RewriteLog /var/log/koha/koha-intranet-rewrite.log<br>
# RewriteLogLevel 1<br>
<br>
RewriteCond %{QUERY_STRING} (.*?)(?:[A-Za-z0-9_-]+)=&(.*)<br>
RewriteRule (.+) $1?%1%2 [N,R,NE]<br>
RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/detail\.pl?bib=$1 [PT]<br>
RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT]<br>
RewriteRule ^/issn/([^\/]*)/?$ /search?q=issn:$1 [PT]<br>
</VirtualHost><br>
<br>
<br>
Randy<br></blockquote></div><br><br clear="all"><br>-- <br><div style="text-align: left;">----------------------------<br></div><font style="font-family: times new roman,serif;" size="4">Y.Yatheesh babu<br>Librarian<br> Shri Shakti College of Hotel Management<br>
Venus Plaza Begumpet<br>Hyderabad-500 016<br>09966178388</font><br><br>