* [Comm] Ни как не подниму postfix. Why?
@ 2003-11-06 11:18 Fateyev Grigory
2003-11-07 13:39 ` Fateyev Grigory
2003-11-07 14:02 ` Eugene Ostapets
0 siblings, 2 replies; 15+ messages in thread
From: Fateyev Grigory @ 2003-11-06 11:18 UTC (permalink / raw)
To: community
[-- Attachment #1: Type: text/plain, Size: 1090 bytes --]
Здравствуйте!
Пишу опять с этой проблемой, так её и не решил. Неужели придется
систему переустанавливать?
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 опять поднять?
В логах нет ни чего.
Последняя попытка обновить postfix вот он
# rpm -qa|grep postfix
postfix-control-1.1-alt1
postfix-2.0.16-alt4
ситуация не изменилась.
В attache вывод strace -f service postfix start
Спасибо.
[-- Attachment #2: strtace.txt --]
[-- Type: text/plain, Size: 8337 bytes --]
trace 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)
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] Ни как не подниму postfix. Why?
2003-11-06 11:18 [Comm] Ни как не подниму postfix. Why? Fateyev Grigory
@ 2003-11-07 13:39 ` Fateyev Grigory
2003-11-07 13:49 ` Andrey Brindeew
2003-11-07 14:02 ` Eugene Ostapets
1 sibling, 1 reply; 15+ messages in thread
From: Fateyev Grigory @ 2003-11-07 13:39 UTC (permalink / raw)
To: community
Здравствуйте, Fateyev Grigory!
06 Ноября 2003г. в 14:18 Вы написали:
> Здравствуйте!
>
> Пишу опять с этой проблемой, так её и не решил. Неужели придется
> систему переустанавливать?
>
> 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 опять поднять?
> В логах нет ни чего.
> Последняя попытка обновить postfix вот он
> # rpm -qa|grep postfix
> postfix-control-1.1-alt1
> postfix-2.0.16-alt4
> ситуация не изменилась.
> В attache вывод strace -f service postfix start
> Спасибо.
>
Люди ау-уууууу!
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] Ни как не подниму postfix. Why?
2003-11-07 13:39 ` Fateyev Grigory
@ 2003-11-07 13:49 ` Andrey Brindeew
2003-11-07 14:01 ` Fateyev Grigory
0 siblings, 1 reply; 15+ messages in thread
From: Andrey Brindeew @ 2003-11-07 13:49 UTC (permalink / raw)
To: community
[-- Attachment #1: Type: text/plain, Size: 296 bytes --]
On Fri, Nov 07, 2003 at 04:39:12PM +0300, Fateyev Grigory wrote:
> Люди ау-уууууу!
Советую посмотреть в /etc/rc.d/init.d/postfix - это обычный шелловый
скрипт.
"И незачем так кричать" (С) Кролик.
--
WBR, Andrey Brindeew.
"No one person can understand Perl culture completely"
(C) Larry Wall.
[-- Attachment #2: Type: application/pgp-signature, Size: 245 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] Ни как не подниму postfix. Why?
2003-11-07 13:49 ` Andrey Brindeew
@ 2003-11-07 14:01 ` Fateyev Grigory
0 siblings, 0 replies; 15+ messages in thread
From: Fateyev Grigory @ 2003-11-07 14:01 UTC (permalink / raw)
To: community
Здравствуйте, Andrey Brindeew!
07 Ноября 2003г. в 16:49 Вы написали:
> On Fri, Nov 07, 2003 at 04:39:12PM +0300, Fateyev Grigory wrote:
> > Люди ау-уууууу!
>
> Советую посмотреть в /etc/rc.d/init.d/postfix - это обычный шелловый
> скрипт.
>
> "И незачем так кричать" (С) Кролик.
>
Смотрел я его он стандартный из rpm пакета. Я его не менял. :)
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] Ни как не подниму postfix. Why?
2003-11-06 11:18 [Comm] Ни как не подниму postfix. Why? Fateyev Grigory
2003-11-07 13:39 ` Fateyev Grigory
@ 2003-11-07 14:02 ` Eugene Ostapets
2003-11-07 15:00 ` Fateyev Grigory
1 sibling, 1 reply; 15+ messages in thread
From: Eugene Ostapets @ 2003-11-07 14:02 UTC (permalink / raw)
To: community
Fateyev Grigory пишет:
> Здравствуйте!
>
> Пишу опять с этой проблемой, так её и не решил. Неужели придется
> систему переустанавливать?
>
> 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 опять поднять?
> В логах нет ни чего.
> Последняя попытка обновить postfix вот он
> # rpm -qa|grep postfix
> postfix-control-1.1-alt1
> postfix-2.0.16-alt4
> ситуация не изменилась.
> В attache вывод strace -f service postfix start
> Спасибо.
>
>
Для начала проверь rpm -qa | grep postfix | xargs rpm -V
Если мыслей не возникнет, то сделай rpm -e `rpm -qa | grep postfix` , и
удали (перенеси) содержимое /etc/postfix, и установи по новой postfix
через apt-get install postfix. Если не поможет, то кроме strace неплохо
было бы еще увидеть кусок /var/log/messages и /var/log/maillog начиная с
момента запуска сервиса.
Пробовал выполнять
service postfix check
service postfix adjust
?
--
С уважением,
Евгений Остапец
+380 44 459 28 79
http://www.unisoft.com.ua
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] Ни как не подниму postfix. Why?
2003-11-07 14:02 ` Eugene Ostapets
@ 2003-11-07 15:00 ` Fateyev Grigory
2003-11-07 15:53 ` Eugene Ostapets
` (2 more replies)
0 siblings, 3 replies; 15+ messages in thread
From: Fateyev Grigory @ 2003-11-07 15:00 UTC (permalink / raw)
To: community
Здравствуйте, Eugene Ostapets!
07 Ноября 2003г. в 16:02 Вы написали:
> Для начала проверь rpm -qa | grep postfix | xargs rpm -V
# rpm -qa | grep postfix | xargs rpm -V
S.5....T c /etc/postfix/aliases
S.5....T c /etc/postfix/master.cf
.M...... /usr/lib/postfix/postqueue
missing /var/spool/postfix/dev/log
missing /var/spool/postfix/var/nis/NIS_COLD_START
> Если мыслей не возникнет, то сделай rpm -e `rpm -qa | grep postfix` ,
> и удали (перенеси) содержимое /etc/postfix, и установи по новой
> postfix через apt-get install postfix. Если не поможет, то кроме
Удалил я postfix но только с ключем --nodeps и снова установил с тем же
ключем.
> strace неплохо было бы еще увидеть кусок /var/log/messages и
> /var/log/maillog начиная с момента запуска сервиса.
Nov 4 14:19:09 localhost postfix: Adjusting environment for postfix:
succeeded
Nov 4 14:19:09 localhost postfix: Reloading postfix configuration:
failed
Nov 4 14:19:38 localhost postfix: Shutting down postfix: failed
Nov 4 14:20:06 localhost postfix: Shutting down postfix: failed
Nov 5 23:35:17 localhost postfix: Shutting down postfix: failed
Nov 7 17:07:52 localhost postfix: Checking postfix configuration:
succeeded
Nov 7 17:08:04 localhost postfix: Adjusting environment for
postfix: succeeded Nov 7 17:15:14 localhost rpm: postfix-1:2.0.16-alt4
removed Nov 7 17:15:14 localhost rpm: postfix-control-0:1.1-alt1
removed Nov 7 17:19:32 localhost rpm: postfix-control-0:1.1-alt1
installed Nov 7 17:19:44 localhost rpm: postfix-1:2.0.16-alt4 installed
Nov 7 17:19:47 localhost rebuild_aliases: Creating
/etc/postfix/aliases: succeeded
Nov 7 17:22:33 localhost postfix: Shutting down postfix: failed
Nov 7 17:22:46 localhost postfix: Shutting down postfix: failed
> Пробовал выполнять
> service postfix check
> service postfix adjust
> ?
Да всё проверил, всё было ОК.
[root@localhost archives]# service postfix check
Checking postfix configuration: [ DONE ]
[root@localhost archives]# service postfix adjust Adjusting environment
for postfix: [ DONE ]
Спасибо.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] Ни как не подниму postfix. Why?
2003-11-07 15:00 ` Fateyev Grigory
@ 2003-11-07 15:53 ` Eugene Ostapets
2003-11-07 18:36 ` Fateyev Grigory
2003-11-08 16:32 ` [Comm] unable to startup postfix Dmitry V. Levin
2003-11-07 16:42 ` [Comm] Re: Ни как не подниму postfix. Why? Konstantin Lepikhov
2003-11-08 16:34 ` [Comm] unable to startup postfix Dmitry V. Levin
2 siblings, 2 replies; 15+ messages in thread
From: Eugene Ostapets @ 2003-11-07 15:53 UTC (permalink / raw)
To: community
Fateyev Grigory пишет:
> Здравствуйте, Eugene Ostapets!
> 07 Ноября 2003г. в 16:02 Вы написали:
>
>
>>Для начала проверь rpm -qa | grep postfix | xargs rpm -V
>
> # rpm -qa | grep postfix | xargs rpm -V
> S.5....T c /etc/postfix/aliases
> S.5....T c /etc/postfix/master.cf
> .M...... /usr/lib/postfix/postqueue
> missing /var/spool/postfix/dev/log
> missing /var/spool/postfix/var/nis/NIS_COLD_START
>
Последние две строки уже интересны... После переустановки повторял
команду? Удалить можешь с помощью apt-get remove postfix и посмотреть
что он за собой еще вынесет... А после удаления еще прибей полностью
/var/spool/postfix
>
> Спасибо.
> _______________________________________________
> Community mailing list
> Community@altlinux.ru
> http://www.altlinux.ru/mailman/listinfo/community
>
>
--
С уважением,
Евгений Остапец
+380 44 459 28 79
http://www.unisoft.com.ua
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] Ни как не подниму postfix. Why?
2003-11-07 15:53 ` Eugene Ostapets
@ 2003-11-07 18:36 ` Fateyev Grigory
2003-11-07 21:21 ` Eugene Ostapets
2003-11-08 16:32 ` [Comm] unable to startup postfix Dmitry V. Levin
1 sibling, 1 reply; 15+ messages in thread
From: Fateyev Grigory @ 2003-11-07 18:36 UTC (permalink / raw)
To: community
Здравствуйте, Eugene Ostapets!
07 Ноября 2003г. в 17:53 Вы написали:
> >>Для начала проверь rpm -qa | grep postfix | xargs rpm -V
> >
> > # rpm -qa | grep postfix | xargs rpm -V
> > S.5....T c /etc/postfix/aliases
> > S.5....T c /etc/postfix/master.cf
> > .M...... /usr/lib/postfix/postqueue
> > missing /var/spool/postfix/dev/log
> > missing /var/spool/postfix/var/nis/NIS_COLD_START
> >
>
> Последние две строки уже интересны... После переустановки повторял
> команду? Удалить можешь с помощью apt-get remove postfix и посмотреть
> что он за собой еще вынесет... А после удаления еще прибей полностью
> /var/spool/postfix
Удалил я этот postfix (что мне понравилось при удалении мне пришлось 15
мегов пакетов докачивать на моём dial-up :( ) и все его служебные диры,
а он опять:
# rpm -qa | grep postfix | xargs rpm -V
S.5....T c /etc/postfix/aliases
S.5....T c /etc/postfix/master.cf
.M...... /usr/lib/postfix/postqueue
missing /var/spool/postfix/dev/log
missing /var/spool/postfix/var/nis/NIS_COLD_START
и так же не запускается. Вот так.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] Ни как не подниму postfix. Why?
2003-11-07 18:36 ` Fateyev Grigory
@ 2003-11-07 21:21 ` Eugene Ostapets
0 siblings, 0 replies; 15+ messages in thread
From: Eugene Ostapets @ 2003-11-07 21:21 UTC (permalink / raw)
To: community
Fateyev Grigory пишет:
> Здравствуйте, Eugene Ostapets!
> 07 Ноября 2003г. в 17:53 Вы написали:
>
>
>
> Удалил я этот postfix (что мне понравилось при удалении мне пришлось 15
> мегов пакетов докачивать на моём dial-up :( ) и все его служебные диры,
> а он опять:
Хм... А что говорит apt-get -f install, Может из-за частичных установок
пакетов с помощью --nodeps --force Система превратилась в свалку
маловсязанных и противоречивых пакетов?
> # rpm -qa | grep postfix | xargs rpm -V
> S.5....T c /etc/postfix/aliases
> S.5....T c /etc/postfix/master.cf
> .M...... /usr/lib/postfix/postqueue
> missing /var/spool/postfix/dev/log
> missing /var/spool/postfix/var/nis/NIS_COLD_START
>
> и так же не запускается. Вот так.
Выполни команду
strace -f -o /tmp/postfixlog -ff /usr/sbin/postfix
И пришли мне личной почтой /tmp/postfixlog.*
--
С уважением,
Евгений Остапец
+380 44 459 28 79
http://www.unisoft.com.ua
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] unable to startup postfix
2003-11-07 15:53 ` Eugene Ostapets
2003-11-07 18:36 ` Fateyev Grigory
@ 2003-11-08 16:32 ` Dmitry V. Levin
1 sibling, 0 replies; 15+ messages in thread
From: Dmitry V. Levin @ 2003-11-08 16:32 UTC (permalink / raw)
To: ALT Linux general discussion list
[-- Attachment #1: Type: text/plain, Size: 565 bytes --]
On Fri, Nov 07, 2003 at 05:53:13PM +0200, Eugene Ostapets wrote:
> Fateyev Grigory пишет:
> >Здравствуйте, Eugene Ostapets!
> >07 Ноября 2003г. в 16:02 Вы написали:
> >
> >>Для начала проверь rpm -qa | grep postfix | xargs rpm -V
> >
> ># rpm -qa | grep postfix | xargs rpm -V
> >S.5....T c /etc/postfix/aliases
> >S.5....T c /etc/postfix/master.cf
> >.M...... /usr/lib/postfix/postqueue
> >missing /var/spool/postfix/dev/log
> >missing /var/spool/postfix/var/nis/NIS_COLD_START
> >
>
> Последние две строки уже интересны...
Нет, это нормально.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Comm] Re: Ни как не подниму postfix. Why?
2003-11-07 15:00 ` Fateyev Grigory
2003-11-07 15:53 ` Eugene Ostapets
@ 2003-11-07 16:42 ` Konstantin Lepikhov
2003-11-08 16:34 ` [Comm] unable to startup postfix Dmitry V. Levin
2 siblings, 0 replies; 15+ messages in thread
From: Konstantin Lepikhov @ 2003-11-07 16:42 UTC (permalink / raw)
To: community
Hi Fateyev!
Friday 07, at 06:00:54 PM you wrote:
> Здравствуйте, Eugene Ostapets!
> 07 Ноября 2003г. в 16:02 Вы написали:
>
> > Для начала проверь rpm -qa | grep postfix | xargs rpm -V
> # rpm -qa | grep postfix | xargs rpm -V
> S.5....T c /etc/postfix/aliases
> S.5....T c /etc/postfix/master.cf
> .M...... /usr/lib/postfix/postqueue
> missing /var/spool/postfix/dev/log
> missing /var/spool/postfix/var/nis/NIS_COLD_START
>
> > Если мыслей не возникнет, то сделай rpm -e `rpm -qa | grep postfix` ,
> > и удали (перенеси) содержимое /etc/postfix, и установи по новой
> > postfix через apt-get install postfix. Если не поможет, то кроме
> Удалил я postfix но только с ключем --nodeps и снова установил с тем же
> ключем.
>
> > strace неплохо было бы еще увидеть кусок /var/log/messages и
> > /var/log/maillog начиная с момента запуска сервиса.
> Nov 4 14:19:09 localhost postfix: Adjusting environment for postfix:
> succeeded
> Nov 4 14:19:09 localhost postfix: Reloading postfix configuration:
> failed
> Nov 4 14:19:38 localhost postfix: Shutting down postfix: failed
> Nov 4 14:20:06 localhost postfix: Shutting down postfix: failed
> Nov 5 23:35:17 localhost postfix: Shutting down postfix: failed
> Nov 7 17:07:52 localhost postfix: Checking postfix configuration:
> succeeded
> Nov 7 17:08:04 localhost postfix: Adjusting environment for
> postfix: succeeded Nov 7 17:15:14 localhost rpm: postfix-1:2.0.16-alt4
> removed Nov 7 17:15:14 localhost rpm: postfix-control-0:1.1-alt1
> removed Nov 7 17:19:32 localhost rpm: postfix-control-0:1.1-alt1
> installed Nov 7 17:19:44 localhost rpm: postfix-1:2.0.16-alt4 installed
> Nov 7 17:19:47 localhost rebuild_aliases: Creating
> /etc/postfix/aliases: succeeded
> Nov 7 17:22:33 localhost postfix: Shutting down postfix: failed
> Nov 7 17:22:46 localhost postfix: Shutting down postfix: failed
>
> > Пробовал выполнять
> > service postfix check
> > service postfix adjust
> > ?
> Да всё проверил, всё было ОК.
> [root@localhost archives]# service postfix check
> Checking postfix configuration: [ DONE ]
> [root@localhost archives]# service postfix adjust Adjusting environment
> for postfix: [ DONE ]
может, в памяти остался "старый" postfix, вот он и чудит. Проверь по ps ax
| grep master, и прибей все лишенее.
--
WBR, Konstantin chat with ==>ICQ: 109916175
Lepikhov, speak to ==>JID: lakostis@jabber.org
aka L.A. Kostis write to ==>mailto:lakostis@pisem.net.nospam
...The information is like the bank... (c) EC8OR
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] unable to startup postfix
2003-11-07 15:00 ` Fateyev Grigory
2003-11-07 15:53 ` Eugene Ostapets
2003-11-07 16:42 ` [Comm] Re: Ни как не подниму postfix. Why? Konstantin Lepikhov
@ 2003-11-08 16:34 ` Dmitry V. Levin
2003-11-08 16:51 ` Fateyev Grigory
2 siblings, 1 reply; 15+ messages in thread
From: Dmitry V. Levin @ 2003-11-08 16:34 UTC (permalink / raw)
To: ALT Linux general discussion list
[-- Attachment #1: Type: text/plain, Size: 1011 bytes --]
On Fri, Nov 07, 2003 at 06:00:54PM +0300, Fateyev Grigory wrote:
> Здравствуйте, Eugene Ostapets!
> 07 Ноября 2003г. в 16:02 Вы написали:
>
> > Для начала проверь rpm -qa | grep postfix | xargs rpm -V
> # rpm -qa | grep postfix | xargs rpm -V
> S.5....T c /etc/postfix/aliases
> S.5....T c /etc/postfix/master.cf
> .M...... /usr/lib/postfix/postqueue
> missing /var/spool/postfix/dev/log
> missing /var/spool/postfix/var/nis/NIS_COLD_START
Это всё нормально.
> > Если мыслей не возникнет, то сделай rpm -e `rpm -qa | grep postfix` ,
> > и удали (перенеси) содержимое /etc/postfix, и установи по новой
> > postfix через apt-get install postfix. Если не поможет, то кроме
> Удалил я postfix но только с ключем --nodeps и снова установил с тем же
> ключем.
>
> > strace неплохо было бы еще увидеть кусок /var/log/messages и
> > /var/log/maillog начиная с момента запуска сервиса.
> Nov 4 14:19:09 localhost postfix: Adjusting environment for postfix:
Не то. Нужен именно /var/log/maillog.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] unable to startup postfix
2003-11-08 16:34 ` [Comm] unable to startup postfix Dmitry V. Levin
@ 2003-11-08 16:51 ` Fateyev Grigory
2003-11-08 19:01 ` Dmitry V. Levin
0 siblings, 1 reply; 15+ messages in thread
From: Fateyev Grigory @ 2003-11-08 16:51 UTC (permalink / raw)
To: community
Здравствуйте, Dmitry V. Levin!
08 Ноября 2003г. в 19:34 Вы написали:
> > > strace неплохо было бы еще увидеть кусок /var/log/messages и
> > > /var/log/maillog начиная с момента запуска сервиса.
> > Nov 4 14:19:09 localhost postfix: Adjusting environment for
> > postfix:
>
> Не то. Нужен именно /var/log/maillog.
Nov 8 15:54:55 localhost postfix/postqueue[2365]: fatal: Cannot flush
mail queue - mail system is down Nov 8 18:58:55 localhost
postfix/postfix-script: fatal: usage: postfix start (or stop, reload,
abort, flush, or check)
Вот две типичные строки оттуда :)
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] unable to startup postfix
2003-11-08 16:51 ` Fateyev Grigory
@ 2003-11-08 19:01 ` Dmitry V. Levin
2003-11-09 13:03 ` Fateyev Grigory
0 siblings, 1 reply; 15+ messages in thread
From: Dmitry V. Levin @ 2003-11-08 19:01 UTC (permalink / raw)
To: ALT Linux general discussion list
[-- Attachment #1: Type: text/plain, Size: 900 bytes --]
On Sat, Nov 08, 2003 at 07:51:21PM +0300, Fateyev Grigory wrote:
> Здравствуйте, Dmitry V. Levin!
> 08 Ноября 2003г. в 19:34 Вы написали:
> > > > strace неплохо было бы еще увидеть кусок /var/log/messages и
> > > > /var/log/maillog начиная с момента запуска сервиса.
> > > Nov 4 14:19:09 localhost postfix: Adjusting environment for
> > > postfix:
> >
> > Не то. Нужен именно /var/log/maillog.
> Nov 8 15:54:55 localhost postfix/postqueue[2365]: fatal: Cannot flush
> mail queue - mail system is down Nov 8 18:58:55 localhost
> postfix/postfix-script: fatal: usage: postfix start (or stop, reload,
> abort, flush, or check)
> Вот две типичные строки оттуда :)
Такое ощущение, что вы не понимаете, что нужно для диагностики проблемы.
Попробуйте так:
1. Добавьте пустую строку в конец /var/log/maillog.
2. Запустите service postfix start.
3. Посмотрите в конец файла /var/log/maillog.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] unable to startup postfix
2003-11-08 19:01 ` Dmitry V. Levin
@ 2003-11-09 13:03 ` Fateyev Grigory
0 siblings, 0 replies; 15+ messages in thread
From: Fateyev Grigory @ 2003-11-09 13:03 UTC (permalink / raw)
To: community
Здравствуйте, Dmitry V. Levin!
08 Ноября 2003г. в 22:01 Вы написали:
> Такое ощущение, что вы не понимаете, что нужно для диагностики
> проблемы.
>
> Попробуйте так:
> 1. Добавьте пустую строку в конец /var/log/maillog.
> 2. Запустите service postfix start.
> 3. Посмотрите в конец файла /var/log/maillog.
Да нет, там просто ни чего не дописывается после выполнения
service posrfix start.
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2003-11-09 13:03 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-06 11:18 [Comm] Ни как не подниму postfix. Why? Fateyev Grigory
2003-11-07 13:39 ` Fateyev Grigory
2003-11-07 13:49 ` Andrey Brindeew
2003-11-07 14:01 ` Fateyev Grigory
2003-11-07 14:02 ` Eugene Ostapets
2003-11-07 15:00 ` Fateyev Grigory
2003-11-07 15:53 ` Eugene Ostapets
2003-11-07 18:36 ` Fateyev Grigory
2003-11-07 21:21 ` Eugene Ostapets
2003-11-08 16:32 ` [Comm] unable to startup postfix Dmitry V. Levin
2003-11-07 16:42 ` [Comm] Re: Ни как не подниму postfix. Why? Konstantin Lepikhov
2003-11-08 16:34 ` [Comm] unable to startup postfix Dmitry V. Levin
2003-11-08 16:51 ` Fateyev Grigory
2003-11-08 19:01 ` Dmitry V. Levin
2003-11-09 13:03 ` Fateyev Grigory
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git