Greetings. I'm trying to set up my first ASPseek search engine. I believe that I've 
got the indexer set up correctly. It appears to run normally and returns this 
statistics report:
aspseek@www2:~$ sbin/index -S
Loading configuration from /usr/local/aspseek/etc/db.conf
Loading configuration from /usr/local/aspseek/etc/ucharset.conf
Loading configuration from /usr/local/aspseek/etc/stopwords.conf
Loading configuration from /usr/local/aspseek/etc/aspseek.conf

 ASPseek database statistics

    Status    Expired      Total
   -----------------------------
         0          3          3 Not indexed yet
       200          0       2863 OK
       301          0         14 Moved Permanently
       302          0          1 Moved Temporarily
       404          0        171 Not found
   -----------------------------
     Total          3       3052

However, using http://www2/cgi-bin/s.cgi never gives any results. It seems to run 
correctly, but the response is always "No Results".

This is the corresponding entry in the dlog.log file:
www2:/etc# cat /var/lib/aspseek/dlog.log
Starting search daemon from ASPseek v.1.2.10
No lastmod file - disabling lastmod-related functionality
Can't open file /var/lib/aspseek//ranksd: No such file or directory
Started accepting queries on port 12345
Error: MySQL server has gone away in <SELECT word_id FROM wordurl WHERE word = :1>

Searching the archives of the aseek-users list for "server has gone away" produced two 
threads, one which seemed related to this problem. It mentioned allow_max_packets in 
/etc/my.conf. I already have this set to 10M:
www2:/etc# egrep -v "^$|^#" /etc/mysql/my.cnf 
[client]
port            = 3306
socket          = /var/run/mysqld/mysqld.sock
[safe_mysqld]
err-log         = /var/log/mysql/mysql.err
[mysqld]
user            = mysql
pid-file        = /var/run/mysqld/mysqld.pid
socket          = /var/run/mysqld/mysqld.sock
port            = 3306
log             = /var/log/mysql.log
basedir         = /usr
datadir         = /var/lib/mysql
tmpdir          = /tmp
language        = /usr/share/mysql/english
skip-locking
set-variable    = key_buffer=16M
set-variable    = max_allowed_packet=10M
set-variable    = thread_stack=128K
skip-innodb
[mysqldump]
quick
set-variable    = max_allowed_packet=10M
[mysql]
[isamchk]
set-variable    = key_buffer=16M

The max_packets value seems to be in use:
www2:/etc/aspseek# mysqladmin -u root -p variables |grep packet
Enter password: 
| max_allowed_packet              | 10484736

Here's my config files:
www2:/etc/aspseek# egrep -v "^$|^#" /usr/local/aspseek/etc/searchd.conf
Include db.conf
Include ucharset.conf
Include stopwords.conf
www2:/etc/aspseek# egrep -v "^$|^#" /usr/local/aspseek/etc/aspseek.conf
Include db.conf
Include ucharset.conf
Include stopwords.conf
DeleteNoServer no
Server  http://www2.jhuccp.org/
DeltaBufferSize 64
Disallow /cgi-bin/ \.cgi /nph
Disallow \.tif$  \.au$   \.mov$  \.jpe$  \.cur$  \.qt$
Disallow \.b$    \.sh$   \.md5$   \.rpm$
Disallow \.arj$  \.tar$  \.zip$  \.tgz$  \.gz$
Disallow \.lha$  \.lzh$  \.tar\.Z$  \.rar$  \.zoo$
Disallow \.gif$  \.jpg$  \.jpeg$ \.bmp$  \.tiff$ \.xpm$ \.xbm$
Disallow \.vdo$  \.mpeg$ \.mpe$  \.mpg$  \.avi$  \.movie$
Disallow \.mid$  \.mp3$  \.rm$   \.ram$  \.wav$  \.aiff$ \.ra$
Disallow \.vrml$ \.wrl$  \.png$
Disallow \.exe$  \.cab$  \.dll$  \.bin$  \.class$
Disallow \.tex$  \.texi$ \.xls$  \.doc$  \.texinfo$
Disallow \.rtf$  \.pdf$  \.cdf$  \.ps$
Disallow \.ai$   \.eps$  \.ppt$  \.hqx$
Disallow \.cpt$  \.bms$  \.oda$  \.tcl$
Disallow \.o$ \.a$ \.la$ \.so$ \.so\.[0-9]$
Disallow \.pat$ \.pm$ \.m4$ \.am$
Disallow /mmc/.*\.php 
Disallow \?D=A$ \?D=A$ \?D=D$ \?M=A$ \?M=D$ \?N=A$ \?N=D$ \?S=A$ \?S=D$
Disallow [^:]//
www2:/etc/aspseek# egrep -v "^$|^#" /usr/local/aspseek/etc/db.conf
DBAddr mysql://aspseek12:my-secret-password@localhost/aspseek12/

I've got the directory /etc/aspseek aliased to /usr/local/aspseek/etc:
www2:/etc/aspseek# ls -l /etc/aspseek
lrwxrwxrwx    1 root     root           22 Jan  3 10:35 /etc/aspseek -> 
/usr/local/aspseek/etc

So, I'm stumped. Anyone with any suggestions of what I could try?

Thanks in advance for your help.

-Kevin Zembower

-----
E. Kevin Zembower
Unix Administrator
Johns Hopkins University/Center for Communications Programs
111 Market Place, Suite 310
Baltimore, MD  21202
410-659-6139

Reply via email to