View previous topic :: View next topic |
Author |
Message |
pava_rulez Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Murray.gif)
Joined: 02 Mar 2005 Posts: 339 Location: Bologna -> Italy -> Europe
|
Posted: Mon Sep 05, 2005 12:29 pm Post subject: Orari ritardati nei log di postfix [RISOLTO] |
|
|
Ciao ragazzi,
all'improvviso senza addurre motivazioni plausibili il server Gentoo al lavoro ha cominciato ad avere 1 strano comportamento per quanto riguarda l'orario. Vi riporto i log di mail.log
Code: | Sep 5 14:17:21 Orione postfix/smtpd[10100]: connect from host89-52.pool21758.interbusiness.it[xxx.xxx.xxx.xxx]
Sep 5 14:17:21 Orione postfix/smtpd[10100]: 1E59F11F4B9: client=host89-52.pool21758.interbusiness.it[xxx.xxx.xxx.xxx]
Sep 5 14:17:21 Orione postfix/cleanup[10156]: 1E59F11F4B9: message-id=<000a01c5b213$bdd039b0$49830505@boh>
Sep 5 12:17:21 Orione postfix/qmgr[10009]: 1E59F11F4B9: from=<nome@dominio>, size=290286, nrcpt=1 (queue active)
Sep 5 14:17:21 Orione postfix/smtpd[10100]: disconnect from host89-52.pool21758.interbusiness.it[xxx.xxx.xxx.xxx]
Sep 5 12:17:21 Orione postfix/smtpd[10149]: connect from Orione[127.0.0.1]
Sep 5 12:17:21 Orione postfix/smtpd[10149]: EA69311F53C: client=Orione[127.0.0.1]
Sep 5 12:17:21 Orione postfix/cleanup[10144]: EA69311F53C: message-id=<000a01c5b213$bdd039b0$49830505@boh>
Sep 5 12:17:22 Orione postfix/smtpd[10149]: disconnect from Orione[127.0.0.1]
Sep 5 12:17:22 Orione postfix/qmgr[10009]: EA69311F53C: from=<nome@dominio>, size=290724, nrcpt=1 (queue active)
Sep 5 12:17:22 Orione postfix/smtp[10146]: 1E59F11F4B9: to=<altronome@altrodominio>, relay=127.0.0.1[127.0.0.1], delay=1, status=sent (250 2.6.0 Ok, id=10093-03, from MTA([127.0.0.1]:10025): 250 Ok: queued as EA69311F53C)
Sep 5 12:17:22 Orione postfix/qmgr[10009]: 1E59F11F4B9: removed
Sep 5 14:17:22 Orione postfix/smtp[10150]: EA69311F53C: to=<altronome@altrodominio>, relay=192.168.0.100[192.168.0.100], delay=1, status=sent (250 2.6.0 <000a01c5b213$bdd039b0$49830505@boh> Queued mail for delivery) |
Come vedete alcuni dei log di postfix riportano l'ora giusta (14:17) e altri invece due ore in meno. Altri file di log come amavis.log, syslog etc invece riportano l'ora esatta. Riporto anche il mio /etc/conf.d/clock
Code: | CLOCK="local"
# If you wish to pass any other arguments to hwclock during bootup,
# you may do so here.
CLOCK_OPTS=""
# If you want to sync the system clock to the hardware clock during
# shutdown, then say "yes" here.
CLOCK_SYSTOHC="yes"
### ALPHA SPECIFIC OPTIONS ###
# If your alpha uses the SRM console, set this to "yes".
SRM="no"
# If your alpha uses the ARC console, set this to "yes".
ARC="no" |
e quest'altro output
Code: | Orione ~ # ls -la /etc/localtime
lrwxrwxrwx 1 root root 31 Aug 27 14:53 /etc/localtime -> /usr/share/zoneinfo/Europe/Rome
|
Se avete idee, sarebbero molto gradite...
Last edited by pava_rulez on Mon Sep 05, 2005 12:57 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
.:chrome:. Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1738078993454a825c7608f.jpg)
Joined: 19 Feb 2005 Posts: 4588 Location: Brescia, Italy
|
Posted: Mon Sep 05, 2005 12:43 pm Post subject: Re: Orari ritardati nei log di postfix |
|
|
usi delle chroot, nella configurazione di postfix? dipende da cosa gli dici di fare in master.cf
se è così è possibile (anzi, sicuramente...) che il processo non possa accedere a /etc/localtime, e quindi avresti uno skew di due ore (ed in effetti è quello che hai) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pava_rulez Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Murray.gif)
Joined: 02 Mar 2005 Posts: 339 Location: Bologna -> Italy -> Europe
|
Posted: Mon Sep 05, 2005 12:56 pm Post subject: Re: Orari ritardati nei log di postfix |
|
|
k.gothmog wrote: | usi delle chroot, nella configurazione di postfix? dipende da cosa gli dici di fare in master.cf
se è così è possibile (anzi, sicuramente...) che il processo non possa accedere a /etc/localtime, e quindi avresti uno skew di due ore (ed in effetti è quello che hai) |
Si, infatti postfix è chrottato, cmq nel frattempo ho trovato 1 post utile nel forum di postfix e ho risolto copiando etc/localtime in quello chrottato di postfix e riavviando il servizio. Grazie cmq... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|