Ya, it exists and works.  Note the semi-colon though on:

/home/sites/site21/local/htdig/htdig.sh:
/home/sites/site21/local/htdig/bin/htse
: No such file or directory

I think that means taht the htdig.sh is saying that
/home/sites/.../htsearch/htsearch does not exist.

The directory /home/sites/site21/local/htdig/bin is chmodded 777 (so are all
subsequent directories under it) and the file htsearch is chmodded 755
(htsearch is located in the bin directory).  But the directory DOES exist,
and so does the htdig.sh.  I've checked it and double checked it again.

I wonder though what it means by ": not a legal variable name".

- Mike

-----Original Message-----
From: Dan Langille [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 9:31 AM
To: Michael NNightEye Aeberhard
Cc: [EMAIL PROTECTED]
Subject: RE: [htdig] htsearch works Intermittenly - also can't run
advanced queries - PHP


On 16 Jul 2001, at 9:20, Michael "NightEye" Aeberhard wrote:

> I got access to the error logs and this is what I get after running your
> PHP wrapper:
>
> : not a legal variable name
> : No such file or directorydig/htdig.sh:
/home/sites/site21/local/htdig/bin

Sounds like either a directory doesn't exist or a file doesn't exist or the
permissions on the file don't match the program which is trying to acess
it.

> Note that I did have to fix 2 things in your htdig.sh script.  One was the
> HTBINDIR variable, which in the script was
> HTBINDIR=/home/sites/site21/local/htdig/bin/htsearch - but, when
> $HTBINDIR/htsearch was run it resolves to
> /home/sites/site21/local/htdig/bin/htsearch/htsearch <-- doesn't exist.

Not fix, configure.  The README with the php wrapper includes:

"3 - edit htdig.sh and set HTBINDIR appropriately"

> After I edited that I got the error above, before that I got the error:
>
> /home/sites/site21/local/htdig/htdig.sh:
> /home/sites/site21/local/htdig/bin/htse
> : No such file or directory
>
> (I couldn't view that whole line, my command-line window cut it off.)
>
> Any ideas?

Does /home/sites/site21/local/htdig/htdig.sh exist?
What are the permissions on that file?

--
Dan Langille
pgpkey - finger [EMAIL PROTECTED] | http://unixathome.org/finger.php


_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to