Skip to main content.
home | support | download

Back to List Archive

[swish-e] Installation of swish-e 2.4.7 (windows)

From: Anthony Baratta <anthony(at)not-real.baratta.com>
Date: Fri May 01 2009 - 20:35:02 GMT
Howdy...

I have an aging installation of swish-e (v2.4.3) on a Windows 2.3K 
server (and Active State Perl v5.8.7) that has been running flawlessly 
for almost 4 years. It's now locking up IIS on searches (not yet sure of 
the search input) and locking up on re-building indexes nightly.

It's apparently "random" and doesn't happen when I manually execute my 
ASP pages, batch and vbs files that run via Scheduled Tasks.

So I thought I'd upgrade to the latest version of swish-e (v2.4.7). I 
backed up my previous installation and installed the new version over 
the old installation. (First mistake?) Edited the startup and config 
files for the new /bin/ location of the exe, and got a Failed to find 
program 'perl.exe' error.

I then reinstalled v2.4.7 in it's own clean directory, moved over my 
startup scripts and config file, same error.

Here's the error in full:

# Command line start of swish-e indexing #
C:\Program 
Files\SWISH-E.v2\indexes>"C:\Progra~1\SWISH-E.v2\bin\swish-e.exe" -S
prog -v 3 -c "C:\Progra~1\SWISH-E.v2\indexes\Port\port.config" -f 
"C:\Progra~1\SWISH-E.v2\indexes\Port\index.swish-e"

# Error Message #
Parsing config file 'C:\Progra~1\SWISH-E.v2\indexes\Port\port.config'

Warning: Configuration setting for TmpDir 
'C:/Progra~1/SWISH-E.v2/indexes/Tmp' will be overridden by environment 
setting 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\1'
Indexing Data Source: "External-Program"
Indexing "perl.exe"
err: Failed to find program 'perl.exe' in PATH: 
C:\Perl\bin\;C:\WINDOWS\system32
;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL 
Server\80\To
ols\BINN;C:\Program Files\Executive 
Software\Diskeeper\:C:\Progra~1\SWISH-E.v2\l
ib\swish-e
.
# End Error Message#

# port.config file #
IndexDir perl.exe
TmpDir "C:\\Progra~1\\SWISH-E.v2\\indexes\\Tmp\\"
SwishProgParameters "C:\\Progra~1\\SWISH-E.v2\\lib\\swish-e\\spider.pl" 
default "http://www.portofoakland.com"
ReplaceRules remove http://www.portofoakland.com

IndexOnly .asp .htm .html .shtml .pdf
IndexContents HTML* .asp .htm .html .shtml .pdf

DefaultContents HTML*
StoreDescription HTML* <body> 320

#ParserWarnLevel 0
#IndexReport 9
# end port.config file#

As you can see perl is in my path by default. If I run the fixperl.pl it 
says it finds the executable. I've tried changing my config file so that 
IndexDir says:

c:\perl\bin\perl.exe
c:\\perl\\bin\\perl.exe
c:/perl/bin/perl.exe

Not sure where to go from here. Any help would be appreciated.



--
Anthony Baratta

When prosperity comes, do not use all of it.
 Confucius

_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Fri May 1 16:35:14 2009