According to Leslie Ward:
> I was just thrown in to my company's website management and told "fix 
> the search page."  ht://Dig had been set up about a year ago, and I 
> assume that it was working at one point.
> 
> I reran rundig with no problems, but htsearch from the webpage returns 
> an "Internal server error."  I checked the logs and found the "modprobe: 
> Can't locate module binfmt-464c" error.  Running htsearch from the 
> command line gives "htsearch: Exec format error. Binary file not 
> executable."  I assume from the combination of these two errors that 
> somehow I have a corrupt htsearch binary. 
> 
> I am running ht://Dig 3.1.6 on a system running RedHat Linux 7.3. 
> 
> Is there a way to download only htsearch without everything else, or am 
> I on the wrong track completely?  Any help would be greatly appreciated.

It might be possible, but it may or may not work well depending on
your setup.  You could try downloading

   http://www.htdig.org/files/binaries/htdig-web-3.1.6-0.rh72.i386.rpm

and extracting htsearch from it using rpm2cpio and cpio, and it may do
the job for you if you're OK with the compiled-in values for CONFIG_DIR
and the default locations of other directories such as common_dir.
This binary uses /etc/htdig as the CONFIG_DIR, and common_dir's default
is /var/www/html/htdig if I recall correctly (but this can easily be
overridden in your config files).

If your ht://Dig package was built and installed with different defaults,
though, you may be better off trying to rebuild it than to retrofit some
other binaries to what you have.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/
Dept. Physiology, U. of Manitoba  Winnipeg, MB  R3E 3J7  (Canada)


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
ht://Dig general mailing list: <[EMAIL PROTECTED]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to