This one time, at band camp, Olaf Zaplinski said:
> Hm, I had purged everything, so I installed clamav-milter and clamav-dbg 
> new. After installation, clamav-milter was running. I stopped it:

OK, good.

> # /etc/init.d/clamav-milter stop
> Stopping Sendmail milter plugin for ClamAV: clamav-milter Waiting .  .  .  
> . .  .  .  .  .  .  .  .  .  .  .  . /etc/init.d/clamav-milter: line 99: 
> kill: --21873: arguments must be process or job IDs
>  failed!

OK, I've found and fixed that.

> ... and started it. Then it was running fine.

OK, good.

> I then changed the user of clamav-* to postfix (milter, daemon, freshclam 
> and all directories). Now it does not start. Unless I set the -D option 
> again... :-/

So you have set the User directive in both clamd.conf and
freshclam.conf, and you have run 
chown -R postfix /var/run/clamav /var/log/clamav /var/lib/clamav
?

I just want to be clear - the original report said it does not run after
a fresh install, which is clearly not where we are now, so I want to
make sure I get a good sense of what's happening.

Are there are any log messages, either in syslog or clamav.log?  If not,
set LogSyslog and LogVerbose in clamd.conf, and then start the milter
again - that should give you something at least.

> How do I use clamav-dbg? /usr/share/doc/clamav-dbg is essentially empty.

You run a program (in this case /usr/sbin/clamav-milter) under gdb, and
the -dbg packages gets a sensible backtrace out of it.  If you aren't
comfortable with gdb, don't waste any time on it yet - I have a feeling
the solution will be obvious relatively soon.
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        [EMAIL PROTECTED] |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature

Reply via email to