Page 1 of 1
options file and URL list file
Posted: Fri Jan 30, 1998 3:15 am
by Thunderstone
I'm trying to point gw to a file containing a set of options (using the -m
switch), but no matter what directory I place the file in, even if I type
the full path/filename, gw can't find it, saying no such file or directory
exists.
Have I overlooked something?
Webinator seemed to install correctly and uses the default database
correctly on an Irix 6.4 O/S.
Thanks.
options file and URL list file
Posted: Fri Jan 30, 1998 12:07 pm
by Thunderstone
In a normal install, gw is made setuid to the web server userid you specify.
You need to make sure the option or list file you specify, and all directories
above it, are accessible by the web server userid you specified during install.
An "ls -l" of gw will look something like:
-rwsrwxr-x 1 www users 828708 Jan 15 15:57 gw
^ ^^^
| |
| This is the userid it will run as
|
This indicates setuid
options file and URL list file
Posted: Sat Jan 31, 1998 11:18 am
by Thunderstone
At 12:08 PM 1/30/98 -0500, you wrote:
Checked all files and directories and did have to chmod to -rwxr--r--.
All directories are drwxrwxrwx to me as user, but I can't see .master
directory in telnet session, so that's still unknown. (During install, when
asked for what web server runs as, I left blank as per option offered. Saw
no error messages.)
After chmod, wiped -d- and invoked new walk with
/PATH/gw -d- -m/PATH/OPTIONFILE "&URLFILE"
on command line without success.
What works is
/PATH/gw [options] "&/PATH/URLFILE"
Also, tried once to delete one URL from html and refs (per instructions),
removed URL from the "&URLFILE" and FTP'd. On invoking -rewalk, gw still
indexed that URL. As well, once included -rewalk="every 2 hours" and 2 1/2
hours later rewalk had not taken place.
Could those failures be related?
options file and URL list file
Posted: Sun Feb 01, 1998 2:12 pm
by Thunderstone
You've never given the actual error message you are getting.
If gw is not setuid and running as yourself, make sure you can
read the option file with:
cat /PATH/OPTIONFILE
Make sure you are not using the leading - on options in the option file.
Make sure there are no leading or trailing spaces in the option file.
-rewalk rewalks what was walked before without regard to subsequent deletions.
If you want to walk differently, you have to do it manually.