[sisyphus] postfix 2.9.5 & mysql

Euegene john на sakh.com
Чт Янв 3 12:34:40 MSK 2013


Добрый день

Возникла проблема которую я не могу разрешить и прошу помощи.

Дано:
uname -a
Linux mail 3.7.1-un-def-alt2.1 #1 SMP PREEMPT Sat Dec 29 10:07:40 UTC 2012 
x86_64 GNU/Linux

netstat -lntu | grep 3306
tcp        0      0 127.0.0.1:3306              0.0.0.0:*                   
LISTEN

rpm -qa | grep postfix
postfix-pcre-2.9.5-alt1
postfix-control-1.6.1-alt1
postfix-2.9.5-alt1
postfix-tls-2.9.5-alt1
postfix-dovecot-2.9.5-alt1
postfix-mysql-2.9.5-alt1


plugin_directory = /usr/lib64/postfix

в прищепке что выводится в лог файл и strace

помогите разобраться с падением postfix/trivial-rewrite

p.s. если нужна более подробная информация, предоставлю
p.p.s на i586 машине такая конфигурация работает отлично

-- 

С уважением, Серов Евгений
E-mail: john на sakh.com
UIN: 17777140
JID: Rep на sakhalin.name
----------- следующая часть -----------
Jan  3 19:17:03 mail postfix/trivial-rewrite[6032]: cfg_get_str: /etc/postfix/mysql/mysql-transport.cf: user = postfix
Jan  3 19:17:03 mail postfix/trivial-rewrite[6032]: cfg_get_str: /etc/postfix/mysql/mysql-transport.cf: password = hI8gfFD7
Jan  3 19:17:03 mail postfix/trivial-rewrite[6032]: cfg_get_str: /etc/postfix/mysql/mysql-transport.cf: dbname = mail_users
Jan  3 19:17:03 mail postfix/trivial-rewrite[6032]: cfg_get_str: /etc/postfix/mysql/mysql-transport.cf: result_format = %s
Jan  3 19:17:03 mail postfix/trivial-rewrite[6032]: cfg_get_int: /etc/postfix/mysql/mysql-transport.cf: expansion_limit = 0
Jan  3 19:17:03 mail postfix/trivial-rewrite[6032]: cfg_get_str: /etc/postfix/mysql/mysql-transport.cf: query = SELECT destination FROM postfix_transport WHERE domain='%s'
Jan  3 19:17:03 mail postfix/trivial-rewrite[6032]: cfg_get_str: /etc/postfix/mysql/mysql-transport.cf: domain = 
Jan  3 19:17:03 mail postfix/trivial-rewrite[6032]: cfg_get_str: /etc/postfix/mysql/mysql-transport.cf: hosts = 127.0.0.1
Jan  3 19:17:03 mail postfix/trivial-rewrite[6032]: dict_open: mysql:/etc/postfix/mysql/mysql-transport.cf
Jan  3 19:17:03 mail postfix/trivial-rewrite[6032]: match_string: transport_maps ~? debug_peer_list
Jan  3 19:17:03 mail postfix/trivial-rewrite[6032]: match_string: transport_maps ~? fast_flush_domains
Jan  3 19:17:03 mail postfix/trivial-rewrite[6032]: match_string: transport_maps ~? mynetworks
Jan  3 19:17:03 mail postfix/trivial-rewrite[6032]: match_string: transport_maps ~? permit_mx_backup_networks
Jan  3 19:17:03 mail postfix/trivial-rewrite[6032]: match_string: transport_maps ~? qmqpd_authorized_clients
Jan  3 19:17:03 mail postfix/trivial-rewrite[6032]: match_string: transport_maps ~? relay_domains
Jan  3 19:17:03 mail postfix/trivial-rewrite[6032]: match_string: transport_maps ~? smtpd_access_maps
Jan  3 19:17:03 mail postfix/trivial-rewrite[6032]: match_list_match: transport_maps: no match
Jan  3 19:17:03 mail postfix/trivial-rewrite[6032]: dict_mysql_get_active: attempting to connect to host 127.0.0.1
Jan  3 19:17:03 mail postfix/master[5991]: warning: process /usr/libexec/postfix/trivial-rewrite pid 6032 killed by signal 6
Jan  3 19:17:03 mail postfix/master[5991]: warning: /usr/libexec/postfix/trivial-rewrite: bad command startup -- throttling
----------- следующая часть -----------
read(11, 0x7fff28b1b55f, 1)             = -1 EAGAIN (Resource temporarily unavailable)
alarm(333)                              = 333
epoll_wait(13, {}, 100, 59000)          = 0
geteuid()                               = 0
setresgid(-1, 42, -1)                   = 0
setgroups(1, [42])                      = 0
setresuid(-1, 42, -1)                   = 0
open("public/qmgr", O_WRONLY|O_NONBLOCK) = 111
fstat(111, {st_mode=S_IFIFO|0622, st_size=0, ...}) = 0
lstat("public/qmgr", {st_mode=S_IFIFO|0622, st_size=0, ...}) = 0
fcntl(111, F_GETFL)                     = 0x8801 (flags O_WRONLY|O_NONBLOCK|O_LARGEFILE)
fcntl(111, F_SETFL, O_WRONLY|O_NONBLOCK|O_LARGEFILE) = 0
poll([{fd=111, events=POLLOUT}], 1, 1000) = 1 ([{fd=111, revents=POLLOUT}])
write(111, "W", 1)                      = 1
close(111)                              = 0
getgid()                                = 0
getuid()                                = 0
geteuid()                               = 42
setresuid(-1, 0, -1)                    = 0
setgid(0)                               = 0
setgroups(1, [0])                       = 0
setuid(0)                               = 0
alarm(333)                              = 274
epoll_wait(13, {}, 100, 1000)           = 0
geteuid()                               = 0
setresgid(-1, 42, -1)                   = 0
setgroups(1, [42])                      = 0
setresuid(-1, 42, -1)                   = 0
open("public/pickup", O_WRONLY|O_NONBLOCK) = 111
fstat(111, {st_mode=S_IFIFO|0622, st_size=0, ...}) = 0
lstat("public/pickup", {st_mode=S_IFIFO|0622, st_size=0, ...}) = 0
fcntl(111, F_GETFL)                     = 0x8801 (flags O_WRONLY|O_NONBLOCK|O_LARGEFILE)
fcntl(111, F_SETFL, O_WRONLY|O_NONBLOCK|O_LARGEFILE) = 0
poll([{fd=111, events=POLLOUT}], 1, 1000) = 1 ([{fd=111, revents=POLLOUT}])
write(111, "W", 1)                      = 1
close(111)                              = 0
getgid()                                = 0
getuid()                                = 0
geteuid()                               = 42
setresuid(-1, 0, -1)                    = 0
setgid(0)                               = 0
setgroups(1, [0])                       = 0
setuid(0)                               = 0
epoll_ctl(13, EPOLL_CTL_ADD, 25, {...}) = 0
alarm(333)                              = 332
epoll_wait(13, {?} 0x7fff28b1b570, 100, 60000) = 1
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f5f7857f9d0) = 6032
epoll_ctl(13, EPOLL_CTL_DEL, 25, {...}) = 0
alarm(333)                              = 333
epoll_wait(13, 7fff28b1b570, 100, 60000) = -1 EINTR (Interrupted system call)
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=6032, si_status=SIGABRT, si_utime=0, si_stime=0} ---
write(106, "\0", 1)                     = 1
rt_sigreturn()                          = -1 EINTR (Interrupted system call)
wait4(-1, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGABRT}], WNOHANG, NULL) = 6032
sendto(3, "<20>Jan  3 19:17:03 postfix/mast"..., 123, MSG_NOSIGNAL, NULL, 0) = 123
sendto(3, "<20>Jan  3 19:17:03 postfix/mast"..., 122, MSG_NOSIGNAL, NULL, 0) = 122
wait4(-1, 0x7fff28b1ba3c, WNOHANG, NULL) = 0
alarm(333)                              = 333
epoll_wait(13, {?} 0x7fff28b1b570, 100, 60000) = 1
read(11, "\0", 1)                       = 1
read(11, 0x7fff28b1b55f, 1)             = -1 EAGAIN (Resource temporarily unavailable)
alarm(333)


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