[Comm] не поднимается postfix
Fateyev Grigory
=?iso-8859-1?q?help_=CE=C1_anastasia=2Eru?=
Вс Окт 26 20:48:37 MSK 2003
Здравствуйте!
Помогите понять проблему.
Postfix совсем не реагирует на команды от хозяина (root), как будто
его вобще нет. Вот вывод без вырезания строк:
[root на localhost root]# service postfix restart
[root на localhost root]# service postfix stop
[root на localhost root]# service postfix start
[root на localhost root]# chkconfig --list|grep postfix
postfix 0:off 1:off 2:on 3:on 4:on 5:on 6:off
[root на localhost root]# whereis postfix
postfix: /usr/sbin/postfix /etc/postfix /usr/lib/postfix
/usr/share/man/man1/postfix.1.gz
[root на localhost root]# rpm -qa|grep
postfix postfix-smtpd-1.1.13-alt0.2
postfix-1.1.13-alt0.2
Да забыл, я собирал ядро 2.4.20-alt10-up и после этого всё и
началось, откатился на старое всё тоже самое.
Как мне postfix опять поднять?
В логах нет ни чего.
На atmsk посоветовали через strace выцепить ошибку, вот его вывод:
#strace service postfix restart
execve("/sbin/service", ["service", "postfix", "restart"], [/* 30 vars
*/]) = 0 uname({sys="Linux", node="localhost.localdomain", ...}) = 0
brk(0) = 0x80a7df0
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
directory) open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=68424, ...}) = 0
mmap2(NULL, 68424, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40012000
close(3) = 0
open("/lib/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\30\0\000"...,
1024) = 1024 fstat64(3, {st_mode=S_IFREG|0755, st_size=8244, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40023000 mmap2(NULL, 11176, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3,
0) = 0x40024000 mprotect(0x40026000, 2984, PROT_NONE) = 0
mmap2(0x40026000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x1) = 0x40026000 close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\205"...,
1024) = 1024 fstat64(3, {st_mode=S_IFREG|0755, st_size=1147144, ...}) =
0 mmap2(NULL, 1160224, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40027000 mprotect(0x40139000, 37920, PROT_NONE) = 0
mmap2(0x40139000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x112) = 0x40139000 mmap2(0x4013f000, 13344, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4013f000 close(3)
= 0 munmap(0x40012000, 68424) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
close(3) = 0
brk(0) = 0x80a7df0
brk(0x80a8000) = 0x80a8000
brk(0x80a9000) = 0x80a9000
getuid32() = 0
getgid32() = 0
geteuid32() = 0
getegid32() = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
time(NULL) = 1066670280
brk(0x80aa000) = 0x80aa000
brk(0x80ab000) = 0x80ab000
open("/etc/mtab", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=487, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40012000 read(3, "/dev/hdb1 / reiserfs rw,notail 0"..., 4096) =
487 close(3) = 0
munmap(0x40012000, 4096) = 0
open("/proc/meminfo", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40012000 read(3, " total: used: free:"..., 4096) =
522 close(3) = 0
munmap(0x40012000, 4096) = 0
brk(0x80ac000) = 0x80ac000
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGWINCH, {0x806f800, [], SA_RESTORER, 0x400506f8},
{SIG_DFL}, 8) = 0 uname({sys="Linux", node="localhost.localdomain",
...}) = 0 stat64("/root", {st_mode=S_IFDIR|0700, st_size=1256, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0700, st_size=1256, ...}) = 0
brk(0x80ad000) = 0x80ad000
getpid() = 4818
getppid() = 4817
getpgrp() = 4817
rt_sigaction(SIGCHLD, {0x806e940, [], SA_RESTORER, 0x400506f8},
{SIG_DFL}, 8) = 0 ioctl(2, TCGETS or SNDCTL_TMR_TIMEBASE, {B38400 opost
isig icanon echo ...}) = 0 ioctl(2, TIOCGWINSZ, {ws_row=33, ws_col=80,
ws_xpixel=0, ws_ypixel=0}) = 0 brk(0x80ae000) =
0x80ae000 rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
open("/sbin/service", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, TCGETS or SNDCTL_TMR_TIMEBASE, 0xbffff7c0) = -1 ENOTTY
(Inappropriate ioctl for device)_llseek(3, 0, [0], SEEK_CUR)
= 0 read(3, "#!/bin/sh\n\nexport PATH=/sbin:/us"..., 80) = 80
_llseek(3, 0, [0], SEEK_SET) = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
dup2(3, 255) = 255
close(3) = 0
fcntl64(255, F_SETFD, FD_CLOEXEC) = 0
fcntl64(255, F_GETFL) = 0x8000 (flags
O_RDONLY|O_LARGEFILE) fstat64(255, {st_mode=S_IFREG|0755, st_size=1408,
...}) = 0_llseek(255, 0, [0], SEEK_CUR) = 0
brk(0x80af000) = 0x80af000
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
read(255, "#!/bin/sh\n\nexport PATH=/sbin:/us"..., 1408) = 1408
brk(0x80b0000) = 0x80b0000
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
brk(0x80b1000) = 0x80b1000
brk(0x80b2000) = 0x80b2000
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
brk(0x80b3000) = 0x80b3000
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
stat64("/etc/init.d/postfix", {st_mode=S_IFREG|0755, st_size=2214, ...})
= 0 rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
brk(0x80b4000) = 0x80b4000
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [RTMIN], 8) = 0
fork() = 4819
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0
rt_sigaction(SIGINT, {0x806d9c0, [], SA_RESTORER, 0x400506f8},
{SIG_DFL}, 8) = 0 wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 1], 0,
NULL) = 4819 rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, 0xbffff3ec, WNOHANG, NULL) = -1 ECHILD (No child processes)
sigreturn() = ? (mask now [RTMIN])
rt_sigaction(SIGINT, {SIG_DFL}, {0x806d9c0, [], SA_RESTORER,
0x400506f8}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
read(255, "", 1408) = 0
_exit(1)
Подробная информация о списке рассылки community