Skip to main content.
home | support | download

Back to List Archive

Re: Error Message: Index file error: Could not open

From: Kaplan, Andrew H. <AHKAPLAN(at)not-real.PARTNERS.ORG>
Date: Fri Jun 04 2004 - 19:03:18 GMT
Hi there --

I reset the debugging level to include all options, and I shown the results
listed in the error_log file from the subsequent query. Sorry about the
length of information...

[Fri Jun  4 15:03:19 2004] [notice] caught SIGTERM, shutting down
[Fri Jun  4 15:03:20 2004] [warn] module mod_php4.c is already added,
skipping
[Fri Jun  4 15:03:20 2004] [notice] Apache/1.3.31 (Unix) PHP/4.3.7
configured -- resuming normal operations
[Fri Jun  4 15:03:20 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)
Debug level set to: 95 [basic, command, headers, output, summary, dump]
Config file '.swishcgi.conf': No such file or directory at
/usr/local/apache/cgi-bin/swish.cgi line 657.
swish.cgi: no results

------------- Index Headers ------------
No headers
--------------------------

------------- Results structure passed to template ------------
$VAR1 = bless( {
                 'swish_command' => {},
                 'DateRanges_time_high' => undef,
                 'prog' => '/usr/local/bin/swish-e',
                 'DateRanges_time_low' => undef,
                 'hits' => 0,
                 'q' => bless( {
                                 '.parameters' => [
                                                    'query'
                                                  ],
                                 '.charset' => 'ISO-8859-1',
                                 'query' => [
                                              ''
                                            ],
                                 '.fieldnames' => {}
                               }, 'CGI' ),
                 'config' => {
                               'max_chars' => 500,
                               'secondary_sort' => [
                                                     'swishlastmodified',
                                                     'desc'
                                                   ],
                               'max_query_length' => 100,
                               'num_pages_to_show' => 12,
                               'meta_groups' => {
                                                  'all' => [
                                                             'swishdefault',
                                                             'swishtitle',
                                                             'swishdocpath'
                                                           ]
                                                },
                               'swish_index' => '/www/index.swish-e',
                               'config_file' => '.swishcgi.conf',
                               'debug_options' => 'basic, command, headers,
output, summary, dump',
                               'date_ranges' => {
                                                  'line_break' => 0,
                                                  'property_name' =>
'swishlastmodified',
                                                  'date_range' => 1,
                                                  'time_periods' => [
                                                                      'All',
 
'Today',
 
'Yesterday',
                                                                      'This
Week',
                                                                      'Last
Week',
                                                                      'Last
90 Days',
                                                                      'This
Month',
                                                                      'Last
Month'
                                                                    ],
                                                  'default' => 'All'
                                                },
                               'on_intranet' => 0,
                               'timeout' => 10,
                               'debug' => 95,
                               'metanames' => [
                                                'swishdefault',
                                                'swishtitle',
                                                'swishdocpath'
                                              ],
                               'highlight' => {
                                                'highlight_on' => '<font
style="background:#FFFF99">',
                                                'max_words' => 100,
                                                'show_words' => 10,
                                                'highlight_off' =>
'</font>',
                                                'occurrences' => 6,
                                                'meta_to_prop_map' => {
 
'swishdocpath' => [
 
'swishdocpath'
 
],
 
'swishtitle' => [
 
'swishtitle'
 
],
 
'swishdefault' => [
 
'swishtitle',
 
'swishdescription'
 
]
                                                                      },
                                                'package' =>
'SWISH::PhraseHighlight'
                                              },
                               'sorts' => [
                                            'swishrank',
                                            'swishlastmodified',
                                            'swishtitle',
                                            'swishdocpath'
                                          ],
                               'display_props' => [
                                                    'swishlastmodified',
                                                    'swishdocsize',
                                                    'swishdocpath'
                                                  ],
                               'ps_prog' => '/bin/ps -Unobody -ocommand',
                               'swish_binary' => '/usr/local/bin/swish-e',
                               'Xselect_indexes' => {
                                                      'columns' => 3,
                                                      'method' =>
'checkbox_group',
                                                      'description' =>
'Select Site: ',
                                                      'labels' => [
                                                                    'Main
Index',
                                                                    'Other
Index',
                                                                    'two',
                                                                    'three',
                                                                    'four'
                                                                  ],
                                                      'default_index' => ''
                                                    },
                               'description_prop' => 'swishdescription',
                               'limit_procs' => 0,
                               'page_size' => 15,
                               'no_first_page_navigation' => 0,
                               'xtemplate' => {
                                                'options' => {
 
'loop_context_vars' => 1,
                                                               'filename' =>
'swish.tmpl',
                                                               'path' =>
'/usr/local/share/swish-e',
 
'die_on_bad_params' => 0,
                                                               'cache' => 1
                                                             },
                                                'package' =>
'SWISH::TemplateHTMLTemplate'
                                              },
                               'title_property' => 'swishtitle',
                               'Xselect_by_meta' => {
                                                      'columns' => 3,
                                                      'values' => [
                                                                    'misc',
                                                                    'mod',
 
'vhosts',
                                                                    'other'
                                                                  ],
                                                      'method' =>
'checkbox_group',
                                                      'description' =>
'Limit search to these areas: ',
                                                      'labels' => {
                                                                    'vhosts'
=> 'Virutal hosts',
                                                                    'misc'
=> 'General Apache docs',
                                                                    'mod' =>
'Apache Modules'
                                                                  },
                                                      'metaname' => 'site'
                                                    },
                               'title' => 'Radiation Oncology Clinical
KnowledgeBase',
                               'link_property' => 'swishdocpath',
                               'no_last_page_navigation' => 0,
                               'name_labels' => {
                                                  'swishdocpath' =>
'Document Path',
                                                  'swishlastmodified' =>
'Last Modified Date',
                                                  'swishrank' => 'Rank',
                                                  'subject' => 'Message
Subject',
                                                  'name' => 'Poster\'s
Name',
                                                  'all' => 'All',
                                                  'email' => 'Poster\'s
Email',
                                                  'swishtitle' => 'Title',
                                                  'swishdocsize' =>
'Document Size',
                                                  'swishdefault' => 'Title &
Body',
                                                  'sent' => 'Message Date'
                                                }
                             },
                 'query_simple' => '',
                 'MOD_PERL' => undef
               }, 'SwishQuery' );
--------------------------
Debug level set to: 95 [basic, command, headers, output, summary, dump]
Config file '.swishcgi.conf': No such file or directory at
/usr/local/apache/cgi-bin/swish.cgi line 657.
---- Swish parameters ----
$VAR1 = {
          '-H' => 9,
          '-w' => 'swishdefault=(Head)',
          '-s' => [
                    'swishrank',
                    'desc',
                    'swishlastmodified',
                    'desc'
                  ],
          '-m' => 15,
          '-x' =>
'<swishreccount>\\t<swishtitle>\\t<swishdescription>\\t<swishlastmodified>\\
t<swishdocsize>\\t<swishdocpath>\\t<swishdocpath>\\t<swishrank>\\n',
          '-f' => '/www/index.swish-e',
          '-b' => 1
        };

-----------------------------------------------
# SWISH format: 2.4.2
# Search words: swishdefault=(Head)
#
# Index File: /www/index.swish-e
# Name: 
# Saved as: index.swish-e
# Total Words: 292
# Total Files: 14
# Indexed on: 2004-06-04 13:48:45 UTC
# Description: 
# Pointer: 
# Maintained by: 
# MinWordLimit: 1
# MaxWordLimit: 40
# WordCharacters:
0123456789abcdefghijklmnopqrstuvwxyz

# BeginCharacters:
0123456789abcdefghijklmnopqrstuvwxyz

# EndCharacters:
0123456789abcdefghijklmnopqrstuvwxyz

# IgnoreFirstChar: 
# IgnoreLastChar: 
# StopWords:
# BuzzWords:
# Stemming Applied: 0
# Soundex Applied: 0
# Fuzzy Mode: None
# IgnoreTotalWordCountWhenRanking: 1
# Search words: swishdefault=(Head)
# Parsed Words: swishdefault = ( head ) 
# Removed stopwords: 
#
err: no results
swish.cgi: no results

------------- Index Headers ------------
$VAR1 = {
          'ignoretotalwordcountwhenranking' => '1',
          'endcharacters' =>
'0123456789abcdefghijklmnopqrstuvwxyz
',
          'wordcharacters' =>
'0123456789abcdefghijklmnopqrstuvwxyz
',
          'stemming applied' => '0',
          'indexed on' => '2004-06-04 13:48:45 UTC',
          'minwordlimit' => '1',
          'saved as' => 'index.swish-e',
          'soundex applied' => '0',
          'search words' => 'swishdefault=(Head)',
          'total words' => '292',
          'begincharacters' =>
'0123456789abcdefghijklmnopqrstuvwxyz
',
          'maxwordlimit' => '40',
          'fuzzy mode' => 'None',
          'swish format' => '2.4.2',
          'index file' => '/www/index.swish-e',
          'parsed words' => 'swishdefault = ( head ) ',
          'total files' => '14'
        };
--------------------------

------------- Results structure passed to template ------------
$VAR1 = bless( {
                 'swish_command' => {
                                      '-H' => 9,
                                      '-w' => 'swishdefault=(Head)',
                                      '-s' => [
                                                'swishrank',
                                                'desc',
                                                'swishlastmodified',
                                                'desc'
                                              ],
                                      '-m' => 15,
                                      '-x' =>
'<swishreccount>\\t<swishtitle>\\t<swishdescription>\\t<swishlastmodified>\\
t<swishdocsize>\\t<swishdocpath>\\t<swishdocpath>\\t<swishrank>\\n',
                                      '-f' => '/www/index.swish-e',
                                      '-b' => 1
                                    },
                 'DateRanges_time_high' => undef,
                 'prog' => '/usr/local/bin/swish-e',
                 'DateRanges_time_low' => undef,
                 'hits' => 0,
                 '_headers' => {
                                 'ignoretotalwordcountwhenranking' => '1',
                                 'endcharacters' =>
'0123456789abcdefghijklmnopqrstuvwxyz
',
                                 'wordcharacters' =>
'0123456789abcdefghijklmnopqrstuvwxyz
',
                                 'stemming applied' => '0',
                                 'indexed on' => '2004-06-04 13:48:45 UTC',
                                 'minwordlimit' => '1',
                                 'saved as' => 'index.swish-e',
                                 'soundex applied' => '0',
                                 'search words' => 'swishdefault=(Head)',
                                 'total words' => '292',
                                 'begincharacters' =>
'0123456789abcdefghijklmnopqrstuvwxyz
',
                                 'maxwordlimit' => '40',
                                 'fuzzy mode' => 'None',
                                 'swish format' => '2.4.2',
                                 'index file' => '/www/index.swish-e',
                                 'parsed words' => 'swishdefault = ( head )
',
                                 'total files' => '14'
                               },
                 'q' => bless( {
                                 '.parameters' => [
                                                    'query',
                                                    'submit',
                                                    'metaname',
                                                    'sort',
                                                    'dr_o',
                                                    'dr_s_mon',
                                                    'dr_s_day',
                                                    'dr_s_year',
                                                    'dr_e_mon',
                                                    'dr_e_day',
                                                    'dr_e_year'
                                                  ],
                                 'dr_s_year' => [
                                                  '2004'
                                                ],
                                 'query' => [
                                              'Head'
                                            ],
                                 'submit' => [
                                               'Search!'
                                             ],
                                 'dr_s_day' => [
                                                 '4'
                                               ],
                                 'sort' => [
                                             'swishrank'
                                           ],
                                 'dr_o' => [
                                             '12'
                                           ],
                                 '.charset' => 'ISO-8859-1',
                                 'dr_e_year' => [
                                                  '2004'
                                                ],
                                 '.fieldnames' => {},
                                 'dr_e_day' => [
                                                 '4'
                                               ],
                                 'metaname' => [
                                                 'swishdefault'
                                               ],
                                 'dr_s_mon' => [
                                                 '6'
                                               ],
                                 'dr_e_mon' => [
                                                 '6'
                                               ]
                               }, 'CGI' ),
                 'config' => {
                               'max_chars' => 500,
                               'secondary_sort' => [
                                                     'swishlastmodified',
                                                     'desc'
                                                   ],
                               'max_query_length' => 100,
                               'num_pages_to_show' => 12,
                               'meta_groups' => {
                                                  'all' => [
                                                             'swishdefault',
                                                             'swishtitle',
                                                             'swishdocpath'
                                                           ]
                                                },
                               'swish_index' => '/www/index.swish-e',
                               'config_file' => '.swishcgi.conf',
                               'debug_options' => 'basic, command, headers,
output, summary, dump',
                               'date_ranges' => {
                                                  'line_break' => 0,
                                                  'property_name' =>
'swishlastmodified',
                                                  'date_range' => 1,
                                                  'time_periods' => [
                                                                      'All',
 
'Today',
 
'Yesterday',
                                                                      'This
Week',
                                                                      'Last
Week',
                                                                      'Last
90 Days',
                                                                      'This
Month',
                                                                      'Last
Month'
                                                                    ],
                                                  'default' => 'All'
                                                },
                               'on_intranet' => 0,
                               'timeout' => 10,
                               'debug' => 95,
                               'metanames' => [
                                                'swishdefault',
                                                'swishtitle',
                                                'swishdocpath'
                                              ],
                               'highlight' => {
                                                'highlight_on' => '<font
style="background:#FFFF99">',
                                                'max_words' => 100,
                                                'show_words' => 10,
                                                'highlight_off' =>
'</font>',
                                                'occurrences' => 6,
                                                'meta_to_prop_map' => {
 
'swishdocpath' => [
 
'swishdocpath'
 
],
 
'swishtitle' => [
 
'swishtitle'
 
],
 
'swishdefault' => [
 
'swishtitle',
 
'swishdescription'
 
]
                                                                      },
                                                'package' =>
'SWISH::PhraseHighlight'
                                              },
                               'sorts' => [
                                            'swishrank',
                                            'swishlastmodified',
                                            'swishtitle',
                                            'swishdocpath'
                                          ],
                               'display_props' => [
                                                    'swishlastmodified',
                                                    'swishdocsize',
                                                    'swishdocpath'
                                                  ],
                               'ps_prog' => '/bin/ps -Unobody -ocommand',
                               'swish_binary' => '/usr/local/bin/swish-e',
                               'Xselect_indexes' => {
                                                      'columns' => 3,
                                                      'method' =>
'checkbox_group',
                                                      'description' =>
'Select Site: ',
                                                      'labels' => [
                                                                    'Main
Index',
                                                                    'Other
Index',
                                                                    'two',
                                                                    'three',
                                                                    'four'
                                                                  ],
                                                      'default_index' => ''
                                                    },
                               'description_prop' => 'swishdescription',
                               'limit_procs' => 0,
                               'page_size' => 15,
                               'no_first_page_navigation' => 0,
                               'xtemplate' => {
                                                'options' => {
 
'loop_context_vars' => 1,
                                                               'filename' =>
'swish.tmpl',
                                                               'path' =>
'/usr/local/share/swish-e',
 
'die_on_bad_params' => 0,
                                                               'cache' => 1
                                                             },
                                                'package' =>
'SWISH::TemplateHTMLTemplate'
                                              },
                               'title_property' => 'swishtitle',
                               'Xselect_by_meta' => {
                                                      'columns' => 3,
                                                      'values' => [
                                                                    'misc',
                                                                    'mod',
 
'vhosts',
                                                                    'other'
                                                                  ],
                                                      'method' =>
'checkbox_group',
                                                      'description' =>
'Limit search to these areas: ',
                                                      'labels' => {
                                                                    'vhosts'
=> 'Virutal hosts',
                                                                    'misc'
=> 'General Apache docs',
                                                                    'mod' =>
'Apache Modules'
                                                                  },
                                                      'metaname' => 'site'
                                                    },
                               'title' => 'Radiation Oncology Clinical
KnowledgeBase',
                               'link_property' => 'swishdocpath',
                               'no_last_page_navigation' => 0,
                               'name_labels' => {
                                                  'swishdocpath' =>
'Document Path',
                                                  'swishlastmodified' =>
'Last Modified Date',
                                                  'swishrank' => 'Rank',
                                                  'subject' => 'Message
Subject',
                                                  'name' => 'Poster\'s
Name',
                                                  'all' => 'All',
                                                  'email' => 'Poster\'s
Email',
                                                  'swishtitle' => 'Title',
                                                  'swishdocsize' =>
'Document Size',
                                                  'swishdefault' => 'Title &
Body',
                                                  'sent' => 'Message Date'
                                                }
                             },
                 'query_simple' => 'Head',
                 'metaname' => 'swishdefault',
                 '_errstr' => 'no results',
                 'MOD_PERL' => undef
               }, 'SwishQuery' );
--------------------------

-----Original Message-----
From: swish-e@sunsite.berkeley.edu
[mailto:swish-e@sunsite.berkeley.edu]On Behalf Of Bill Moseley
Sent: Friday, June 04, 2004 2:51 PM
To: Multiple recipients of list
Subject: [SWISH-E] Re: Error Message: Index file error: Could not open
the index fil e 'i


Sorry, I'm multi-tasking...

          Unknown debug option 'help'.  Must be one of:
                  basic: Basic debugging
                command: Show command used to run swish
                headers: Show headers returned from swish
                 output: Show output from swish
                summary: Show summary of results
                   dump: Show all data available to templates

For example in your config you do this if you want a lot of output.

  debug_options => 'basic, command, headers, output, summary, dump',

-- 
Bill Moseley
moseley@hank.org
Received on Fri Jun 4 12:03:19 2004