According to Stefan Hofmeir: > I am running htdig 3.1.6 on an SuSE linux 8.2 server with a renamed > configuration file (www1.conf) and a renamed database > database_dir: /var/lib/htdig/db-www1 > > # rundig -c /srv/www/htdig/conf/www1.conf > > is working fine. But with > # rundig -a -c /srv/www/htdig/conf/www1.conf > I get following error: > > /usr/bin/rundig: line 40: cd: /var/lib/htdig/db: No such file or directory > > The *.work files will be created, but are not copied to the normal > files (e. g. db.docdb.work not copied to db.docdb) > > > How can I solve the problem? > > I do not want to edit /usr/bin/rundig because I want to run several > .conf files for several separate virtual domains on the same server.
About your only option would be not to use rundig, but instead use a custom script that allows you to use different database directories. The problem is rundig has a built-in setting of a DBDIR shell variable, set to the compile-time value of the database_dir attribute. If you change the latter in your config file, you need to change the shell variable correspondingly for rundig -a to work properly. See the Customization section of http://www.htdig.org/rundig.html, and the rundig shell script itself, for more information. -- 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 is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ 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

