* [Sysadmins] postfix не стартует в контейнере OpenVZ
@ 2006-08-30 10:00 Slava Dubrovskiy
2006-08-30 10:11 ` Slava Dubrovskiy
0 siblings, 1 reply; 8+ messages in thread
From: Slava Dubrovskiy @ 2006-08-30 10:00 UTC (permalink / raw)
To: Sysadmins
[-- Attachment #1: Type: text/plain, Size: 1380 bytes --]
Здравствуйте.
postfix установлен в контейнере OpenVZ. При старте VE он не стартует.
# vzctl exec 108 service postfix status
master is stopped
В логе нет даже попыток. Если руками то все работает.
# vzctl exec 108 service postfix start
Adjusting environment for postfix: [ DONE ]
Checking postfix configuration: [ DONE ]
Starting postfix: [ DONE ]
# vzctl exec 108 chkconfig --list | grep postfix
postfix 0:off 1:off 2:on 3:on 4:on 5:on 6:off
# vzctl exec 108 ls -l /etc/rc?.d/*post*
lrwxrwxrwx 1 root root 17 Aug 28 18:02 /etc/rc0.d/K30postfix ->
../init.d/postfix
lrwxrwxrwx 1 root root 17 Aug 28 18:02 /etc/rc1.d/K30postfix ->
../init.d/postfix
lrwxrwxrwx 1 root root 17 Aug 28 18:02 /etc/rc2.d/S80postfix ->
../init.d/postfix
lrwxrwxrwx 1 root root 17 Aug 28 18:02 /etc/rc3.d/S80postfix ->
../init.d/postfix
lrwxrwxrwx 1 root root 17 Aug 28 18:02 /etc/rc4.d/S80postfix ->
../init.d/postfix
lrwxrwxrwx 1 root root 17 Aug 28 18:02 /etc/rc5.d/S80postfix ->
../init.d/postfix
lrwxrwxrwx 1 root root 17 Aug 28 18:02 /etc/rc6.d/K30postfix ->
../init.d/postfix
Что еще можно посмотреть чтобы решить эту проблему?
--
С уважением,
Дубровский Вячеслав.
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3237 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Sysadmins] postfix не стартует в контейнере OpenVZ
2006-08-30 10:00 [Sysadmins] postfix не стартует в контейнере OpenVZ Slava Dubrovskiy
@ 2006-08-30 10:11 ` Slava Dubrovskiy
2006-08-30 10:32 ` Dmitry V. Levin
0 siblings, 1 reply; 8+ messages in thread
From: Slava Dubrovskiy @ 2006-08-30 10:11 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
[-- Attachment #1: Type: text/plain, Size: 750 bytes --]
Slava Dubrovskiy пишет:
> Здравствуйте.
> postfix установлен в контейнере OpenVZ. При старте VE он не стартует.
> # vzctl exec 108 service postfix status
> master is stopped
>
> В логе нет даже попыток.
Похоже про лог наврал. Вот что есть:
Aug 30 14:05:40 mail master[30332]: setrlimit: Unable to set file
descriptors limit to -1: Operation not permitted
Aug 30 14:05:40 mail master[30332]: retrying with 1024 (current max)
Aug 30 14:05:40 mail master[30332]: process started
При этом процесс не запущен. Это бага в postfix?
--
С уважением,
Дубровский Вячеслав.
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3237 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Sysadmins] postfix не стартует в контейнере OpenVZ
2006-08-30 10:11 ` Slava Dubrovskiy
@ 2006-08-30 10:32 ` Dmitry V. Levin
2006-08-30 12:55 ` Slava Dubrovskiy
0 siblings, 1 reply; 8+ messages in thread
From: Dmitry V. Levin @ 2006-08-30 10:32 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
[-- Attachment #1: Type: text/plain, Size: 896 bytes --]
Hi,
On Wed, Aug 30, 2006 at 01:11:33PM +0300, Slava Dubrovskiy wrote:
> Slava Dubrovskiy пишет:
> > Здравствуйте.
> > postfix установлен в контейнере OpenVZ. При старте VE он не стартует.
> > # vzctl exec 108 service postfix status
> > master is stopped
> >
> > В логе нет даже попыток.
> Похоже про лог наврал. Вот что есть:
> Aug 30 14:05:40 mail master[30332]: setrlimit: Unable to set file
> descriptors limit to -1: Operation not permitted
> Aug 30 14:05:40 mail master[30332]: retrying with 1024 (current max)
> Aug 30 14:05:40 mail master[30332]: process started
Это warning. Похоже что либо "vzctl start 108", либо
"vzctl exec 108 service postfix start" унаследовал лимиты из хост-системы.
> При этом процесс не запущен. Это бага в postfix?
Странно, я проблем с запуском postfix не наблюдал ни разу.
Проверьте /var/log/maillog более внимательно.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Sysadmins] postfix не стартует в контейнере OpenVZ
2006-08-30 10:32 ` Dmitry V. Levin
@ 2006-08-30 12:55 ` Slava Dubrovskiy
2006-08-30 13:25 ` Dmitry V. Levin
0 siblings, 1 reply; 8+ messages in thread
From: Slava Dubrovskiy @ 2006-08-30 12:55 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
[-- Attachment #1: Type: text/plain, Size: 2829 bytes --]
Dmitry V. Levin пишет:
> Странно, я проблем с запуском postfix не наблюдал ни разу.
> Проверьте /var/log/maillog более внимательно.
>
Вот полный лог messages:
Aug 30 16:47:59 mail syslogd: syslogd startup succeeded
Aug 30 16:47:59 mail kernel: klogd 1.4.1, log source = /proc/kmsg started.
Aug 30 16:48:00 mail kernel: Cannot find map file.
Aug 30 16:48:00 mail kernel: No module symbols loaded - kernel modules
not enabled.
Aug 30 16:48:00 mail kernel: cannot find any symbols, turning off symbol
lookups
Aug 30 16:48:00 mail klogd: klogd startup succeeded
Aug 30 16:48:00 mail crond[3948]: (CRON) STARTUP (V5.0)
Aug 30 16:48:00 mail crond: crond startup succeeded
Aug 30 16:48:00 mail sshd[3961]: Server listening on 0.0.0.0 port 22.
Aug 30 16:48:00 mail sshd: sshd startup succeeded
Aug 30 16:48:00 mail master[3974]: setrlimit: Unable to set file
descriptors limit to -1: Operation not permitted
Aug 30 16:48:00 mail master[3974]: retrying with 1024 (current max)
Aug 30 16:48:00 mail master[3974]: process started
Aug 30 16:48:00 mail ctl_cyrusdb[3976]: recovering cyrus databases
Aug 30 16:48:00 mail cyrus-imapd: cyrus-master startup succeeded
Aug 30 16:48:00 mail ctl_cyrusdb[3976]: skiplist: recovered
/var/lib/imap/mailboxes.db (0 records, 144 bytes) in 0 seconds
Aug 30 16:48:01 mail ctl_cyrusdb[3976]: skiplist: recovered
/var/lib/imap/annotations.db (0 records, 144 bytes) in 0 seconds
Aug 30 16:48:01 mail ctl_cyrusdb[3976]: done recovering cyrus databases
Aug 30 16:48:01 mail master[3974]: ready for work
Aug 30 16:48:01 mail ctl_cyrusdb[3984]: checkpointing cyrus databases
Aug 30 16:48:01 mail ctl_cyrusdb[3984]: done checkpointing cyrus databases
Aug 30 16:48:02 mail network: error: setting key
"net.ipv4.tcp_syncookies": Operation not permitted
Aug 30 16:48:02 mail network: Computing interface groups: .. 2
interfaces found
Aug 30 16:48:02 mail network: Starting group 0/virtual (2 interfaces)
Aug 30 16:48:02 mail network: ^IStarting lo: ....OK
Aug 30 16:48:02 mail network: ^IStarting venet0: .......OK
Aug 30 16:48:02 mail network: Processing /etc/net/vlantab: empty.
Aug 30 16:48:02 mail network: error: setting key
"net.ipv4.tcp_timestamps": Operation not permitted
Aug 30 16:48:02 mail rc: Starting network: succeeded
Aug 30 16:48:02 mail dd: 1+0 records in
Aug 30 16:48:02 mail dd: 1+0 records out
Aug 30 16:48:02 mail dd: 512 bytes (512 B) copied, 0.000232 seconds, 2.2
MB/s
Aug 30 16:48:02 mail random: Initializing random number generator: succeeded
Вот лог maillog:
Aug 30 16:51:43 mail freshclam[5977]: Daemon started.
Aug 30 16:51:43 mail freshclam[5977]: ClamAV update process started at
Wed Aug 30 16:51:43 2006
После рестарта:
# vzctl exec 108 service postfix status
master is stopped
--
С уважением,
Дубровский Вячеслав.
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3237 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Sysadmins] postfix не стартует в контейнере OpenVZ
2006-08-30 12:55 ` Slava Dubrovskiy
@ 2006-08-30 13:25 ` Dmitry V. Levin
2006-08-30 13:42 ` Slava Dubrovskiy
0 siblings, 1 reply; 8+ messages in thread
From: Dmitry V. Levin @ 2006-08-30 13:25 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
[-- Attachment #1: Type: text/plain, Size: 712 bytes --]
On Wed, Aug 30, 2006 at 03:55:03PM +0300, Slava Dubrovskiy wrote:
> Dmitry V. Levin пишет:
> > Странно, я проблем с запуском postfix не наблюдал ни разу.
> > Проверьте /var/log/maillog более внимательно.
> >
> Вот полный лог messages:
[...]
> Aug 30 16:48:00 mail master[3974]: setrlimit: Unable to set file
> descriptors limit to -1: Operation not permitted
> Aug 30 16:48:00 mail master[3974]: retrying with 1024 (current max)
> Aug 30 16:48:00 mail master[3974]: process started
> Aug 30 16:48:01 mail master[3974]: ready for work
[...]
> После рестарта:
> # vzctl exec 108 service postfix status
> master is stopped
А после ручного "vzctl exec 108 service postfix start"?
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Sysadmins] postfix не стартует в контейнере OpenVZ
2006-08-30 13:25 ` Dmitry V. Levin
@ 2006-08-30 13:42 ` Slava Dubrovskiy
2006-08-30 14:04 ` Dmitry V. Levin
0 siblings, 1 reply; 8+ messages in thread
From: Slava Dubrovskiy @ 2006-08-30 13:42 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
[-- Attachment #1: Type: text/plain, Size: 2016 bytes --]
Dmitry V. Levin пишет:
>> После рестарта:
>> # vzctl exec 108 service postfix status
>> master is stopped
>>
> А после ручного "vzctl exec 108 service postfix start"?
>
Нормально все.
Aug 30 17:38:16 mail postfix/postfix-script: starting the Postfix mail
system
Aug 30 17:38:16 mail postfix/master[19986]: daemon started -- version
2.2.11, configuration /etc/postfix
# vzctl exec 108 chkconfig --list
amavisd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
clamd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
consolesaver 0:off 1:off 2:on 3:on 4:on 5:on 6:off
crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off
cyrus-imapd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
fbsetfont 0:off 1:off 2:off 3:off 4:off 5:off 6:off
iptables 0:off 1:off 2:off 3:off 4:off 5:off 6:off
keytable 0:off 1:off 2:off 3:off 4:off 5:off 6:off
klogd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
netfs 0:off 1:off 2:off 3:off 4:off 5:off 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
nscd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
postfix 0:off 1:off 2:on 3:on 4:on 5:on 6:off
random 0:off 1:off 2:on 3:on 4:on 5:on 6:off
rawdevices 0:off 1:off 2:off 3:off 4:off 5:off 6:off
saslauthd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
sound 0:off 1:off 2:off 3:off 4:off 5:off 6:off
sqlgrey 0:off 1:off 2:off 3:off 4:off 5:off 6:off
sshd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
syslogd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
И с amavisd то-же самое :-( - тишина.
Единственное что сделал в системе - настроил использование LDAP
пользователей.
--
С уважением,
Дубровский Вячеслав.
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3237 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-08-30 14:44 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-30 10:00 [Sysadmins] postfix не стартует в контейнере OpenVZ Slava Dubrovskiy
2006-08-30 10:11 ` Slava Dubrovskiy
2006-08-30 10:32 ` Dmitry V. Levin
2006-08-30 12:55 ` Slava Dubrovskiy
2006-08-30 13:25 ` Dmitry V. Levin
2006-08-30 13:42 ` Slava Dubrovskiy
2006-08-30 14:04 ` Dmitry V. Levin
2006-08-30 14:44 ` Slava Dubrovskiy
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git