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