Re: [aseek-users] Startup or init.d script for Debian aspseek?

From: Matt Sullivan (no email)
Date: Fri Mar 28 2003 - 17:17:22 EST


On Fri, 28 Mar 2003 at 11:47:48 -0500, KEVIN ZEMBOWER wrote:

> Did I do something wrong? Am I missing something?

As a general note: you should make sure your keep your system up
to date by periodically running 'apt-get update' & 'apt-get upgrade'.

However I suspect you need to purge your old broken package install
first ... I'd say it is screwing up the upgrade ... make sure you
backup at least /etc/aspseek and /var/lib/aspseek first if you want
to recover your old config and data.

..... before you start make sure you have 'script' installed:

  apt-get install script

Now start a script session by running 'script', then continue below.
Once you have finished type 'exit'. Script will create a file named
'typescript' in the current directory which is a complete journal
of your shell activities while running script. If you still have
problems with installation please send me a copy of your typescript
so that I can diagnose your problem with a little more ease.

now .....

To purge run:

  dpkg --purge aspseek-common aspseek-libmysqldb aspseek \
    spseek-cgi-common aspseek-cgi libapache-mod-aspseek \
    libaspseek-dev libaspseek0

Once you've done the above you can reinstall as follows:

  apt-get install aspseek

This will install the core packages:

  aspseek-common # common files /etc/aspseek/[tables,langmap]
  aspseek-libmysqldb # mysql support
  aspseek # index & searchd, /etc/aspseek/*.conf,
                           /etc/init.d/aspseek etc.

You then need to decide how you want to run s.cgi, either apache
module or cgi (or both) may be installed using:

  apt-get install aspseek-cgi
  apt-get install libapache-mod-aspseek

This will install:

  spseek-cgi-common # common files /etc/aspseek/s.htm &
                           /var/www/aspseek/img
  libaspseek0 # aspseek client library
  aspseek-cgi # s.cgi
  libapache-mod-aspseek # /usr/lib/apache/1.3/mod_aspseek.so

The only package that is not installed in the above process is
libaspseek-dev which contains the static link library and header
files needed for developing a cgi client etc. It's unlikely
that you'll need this unless you plan on modifying sc.c or
mod_aspseek.c.

Matt.










Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD