[Comm] spamassasin troubles
Artem Pastukhov
=?iso-8859-1?q?past_=CE=C1_yam=2Eru?=
Ср Ноя 10 13:53:38 MSK 2004
Теперь такая бяка:
# service spamd restart
Service spamd is not running.
[PASSED]
Starting spamd service: trying to connect to syslog/unix...
no error connecting to syslog/unix
logging enabled:
facility: mail
socket: unix
output: syslog
Could not create INET socket: Address already in use IO::Socket::INET: Address
already in use
Вероятно потому что в момент попытки записи /var/run/spamd.pid он уже работает
от пользователя spamd.
В сообщении от Среда 10 Ноябрь 2004 12:46 Vladimir V Kamarzin написал(a):
> >>>> On 10 Ноя 2004 at 14:15 Artem Pastukhov wrote:
>
> AP> cat /etc/sysconfig/spamd
> AP> #
> AP> # Options to spamd
> AP> # -d added in initscript, no need to specify it here
> AP> #
> AP> SPAMDOPTIONS="-x --virtual-config-dir=/var/spool/spamassassin --debug
> "
>
> Если указать ещё --username=root, в базу писать должен начать.
>
> -u username, --username=username
> Run as the named user. If this option is not set, the default
> be- haviour is to setuid() to the user running "spamc", if "spamd" is
> running as root.
>
> Note: "--username=root" disables the setuid() functionality and
> leaves spamd running as root.
>
> Note: If this option is set to a non-root user, and spamd is to
> run on a privileged port (any < 1024, default 783 or via -p), the par- ent
> will not be able to be sent a SIGHUP to reload the configura- tion.
--
С уважением
Артем Пастухов, past (at) yam.ru
YAM International
Подробная информация о списке рассылки community