Search the Turbo Seek Knowledge Base:

 
Turbo Seek :: TruboSeek Knowledge Base :: HTML Generation & Building Indexes
 
Question: When I run admin3.cgi and admin4.cgi to build indexes from SSH I received the following error: admin4.cgi: Can't locate tadmin.pm in @INC, etc...

Answer: In order to build indexes from SSH you need to be in the 'admin' directory where the scripts resides. In other words, you need to cd (change directory) to the 'admin' directory and then execute the scripts like follows: perl admin3.cgi or perl admin4.cgi

Below is an example of the correct way to execute admin3.cgi or admin4.cgi: Note that fictional paths are used.

[someprompt>] cd /home/yourdomain.com/www/cgi-bin/tseek/admin
[someprompt>] perl admin3.cgi

The example below won't work:
[someprompt>] perl /home/yourdomain.com/www/cgi-bin/tseek/admin/admin3.cgi

The same goes when using cron to generate indexes. You need to cd (change directory) to the working directory (scripts admin directory) and then execute the files.

Also See:
Using cron to build an index on a scheduled basis.
Running an HTML generated directory.

User Comments:

There are currently no comments available.


Add a Comment - Only post comments regarding this KB entry (If you need to get in contact with us then click here.)
Name:
Email: (Optional)
Comment:



Type in the letters that apear in the image box