On Wed, 2010-10-27 at 06:13 -0700, Gnanam wrote:
> But, this time, I'm trying to install in CentOS and after installation, if I
> say 'service spamassassin start', this is not starting and gives
> "spamassassin: unrecognized service", which means service file is not
> located in /etc/init.d.  So, here I don't mean that it exists before and is
> removed after installation.
> 
A couple of things to check:

- if you grep /etc/rc.d/init.d for 'spamd' you'll soon see if
  'spamassassin' is there or if Centos uses a different name for it.

- I have a feeling that service may not run a script that isn't
  initialised in the appropriate runlevels, so it might be worth
  either running chkconfig --list or looking in the various
  runlevel directories to see if the appropriate aliases are there.

HTH


Martin


Reply via email to