[Exim-users] Exim version 4.84 segfault

Golub Mikhail eximlist на gmn.org.ua
Чт Ноя 13 10:25:25 UTC 2014


Сам протупил :(

При копировании файлов необходимые права на exim не выставляются.

Если сделать make reinstall - все хорошо.

Спасибо за помощь.


-----Original Message-----
From: Exim-users [mailto:exim-users-bounces на mailground.net] On Behalf Of
Golub Mikhail
Sent: Thursday, November 13, 2014 11:46 AM
To: 'Exim MTA на русском'
Subject: Re: [Exim-users] Exim version 4.84 segfault

Отвечу на глупый вопрос :)
Да.

Более того, Exim работает от этого пользователя успешно уже довольно
продолжительное время.

И подобной проблемы не возникало до применения патча, указанного Леной ниже.
Или исправления, указанного Victor Ustugov в этой ветке обсуждения.

Или патча, найденного на форуме.
http://bugs.exim.org/show_bug.cgi?id=1513



Провел эксперимент.
На тестовой машинке FreeBSD 10.0

cd /usr/ports/mail/exim
make extract

Скачал два файла:
https://raw.githubusercontent.com/Exim/exim/93cad488cb2c9a31aea345c8910a9f9c
5815071c/src/src/mime.h
https://raw.githubusercontent.com/Exim/exim/93cad488cb2c9a31aea345c8910a9f9c
5815071c/src/src/mime.c

Заменил одноименные в /usr/ports/mail/exim/work/exim-4.84/src

Выполнил make.
Скопировал файлы из /usr/ports/mail/exim/work/stage/usr/local/sbin в
/usr/local/sbin

Запустил Exim.
Выполнил "service exim reload"

Запись в mainlog:
2014-11-13 11:39:03 exim 4.84 daemon started: pid=23980, -q5m, listening for
SMTP on [127.0.0.1]:25 [10.7.0.12]:25
2014-11-13 11:39:14 pid 23980: SIGHUP received: re-exec daemon
2014-11-13 11:39:14 socket bind() to port 25 for address 127.0.0.1 failed:
Permission denied: waiting 30s before trying again (9 more tries)
2014-11-13 11:39:44 socket bind() to port 25 for address 127.0.0.1 failed:
Permission denied: waiting 30s before trying again (8 more tries)
2014-11-13 11:40:14 socket bind() to port 25 for address 127.0.0.1 failed:
Permission denied: waiting 30s before trying again (7 more tries)
2014-11-13 11:40:44 socket bind() to port 25 for address 127.0.0.1 failed:
Permission denied: waiting 30s before trying again (6 more tries)
2014-11-13 11:41:14 socket bind() to port 25 for address 127.0.0.1 failed:
Permission denied: waiting 30s before trying again (5 more tries)
2014-11-13 11:41:44 socket bind() to port 25 for address 127.0.0.1 failed:
Permission denied: waiting 30s before trying again (4 more tries)
2014-11-13 11:42:14 socket bind() to port 25 for address 127.0.0.1 failed:
Permission denied: waiting 30s before trying again (3 more tries)
2014-11-13 11:42:44 socket bind() to port 25 for address 127.0.0.1 failed:
Permission denied: waiting 30s before trying again (2 more tries)
2014-11-13 11:43:14 socket bind() to port 25 for address 127.0.0.1 failed:
Permission denied: waiting 30s before trying again (1 more try)
2014-11-13 11:43:44 socket bind() to port 25 for address 127.0.0.1 failed:
Permission denied: daemon abandoned

В messages ничего.



-----Original Message-----
From: Exim-users [mailto:exim-users-bounces на mailground.net] On Behalf Of
Lystopad Aleksandr
Sent: Thursday, November 13, 2014 11:29 AM
To: Exim MTA на русском
Subject: Re: [Exim-users] Exim version 4.84 segfault

 Hello, Golub Mikhail!

On Thu, Nov 13, 2014 at 11:17:00AM +0200
eximlist на gmn.org.ua wrote about "Re: [Exim-users] Exim version 4.84
segfault":
> FreeBSD 9.3
> 
> Команда:
> service exim reload

Глупый вопрос, но все-же:
А пользователю, от которого вы это выполняете -- разрешено открывать
соединения на 25 порту?

> В mainlog появляется запись:
> 2014-11-13 09:14:50 pid 1053: SIGHUP received: re-exec daemon
> 2014-11-13 09:14:50 socket bind() to port 25 for address (any IPv4)
failed:
> Permission denied: waiting 30s before trying again (9 more tries)
> 
> # exim -bV
> Exim version 4.84 #1 (FreeBSD 9.3) built 12-Nov-2014 08:40:36
> Copyright (c) University of Cambridge, 1995 - 2014
> (c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007 -
> 2014
> Probably Berkeley DB version 1.8x (native mode)
> Support for: iconv() use_setclassresources Perl Expand_dlfunc OpenSSL
> Content_Scanning DKIM Old_Demime PRDR Experimental_SPF Experimental_SRS
> Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm
dbmjz
> dbmnz dnsdb dsearch ldap ldapdn ldapm mysql

-- 
 Lystopad Aleksandr 

_______________________________________________
Exim-users mailing list
Exim-users на mailground.net
http://mailground.net/mailman/listinfo/exim-users



_______________________________________________
Exim-users mailing list
Exim-users на mailground.net
http://mailground.net/mailman/listinfo/exim-users





Подробная информация о списке рассылки Exim-users