From: Euegene <john@sakh.com>
To: sisyphus@lists.altlinux.org
Subject: [sisyphus] postfix 2.9.5 & mysql
Date: Thu, 03 Jan 2013 19:34:40 +1100
Message-ID: <2886951.5NCIagjRij@john.sakh.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1041 bytes --]
Добрый день
Возникла проблема которую я не могу разрешить и прошу помощи.
Дано:
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
[-- Attachment #2: maillog.txt --]
[-- Type: text/plain, Size: 2305 bytes --]
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
[-- Attachment #3: strace.txt --]
[-- Type: text/plain, Size: 3376 bytes --]
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)
next reply other threads:[~2013-01-03 8:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-03 8:34 Euegene [this message]
2013-01-03 11:45 ` Sergey Vlasov
2013-01-03 12:55 ` Euegene
2013-01-03 13:01 ` Dmitry V. Levin
2013-01-05 14:25 ` Michael Shigorin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2886951.5NCIagjRij@john.sakh.com \
--to=john@sakh.com \
--cc=sisyphus@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git