ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Eugene Prokopiev <prokopiev@stc.donpac.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Подземный стук: не пишутся сообщения в /var/log/mail/all
Date: Tue, 19 Jun 2007 15:27:42 +0400
Message-ID: <4677BDAE.3000201@stc.donpac.ru> (raw)
In-Reply-To: <20070618144110.GB15137@grep.po.cs.msu.su>

Fr. Br. George пишет:
> On Mon, Jun 18, 2007 at 08:46:17AM +0400, Eugene Prokopiev wrote:
> 
>>После рестарта syslogd все пропавшие сообщения пришли. Где они были?
> 
> Наверное, буферизовались. А сам syslogd не падал? 

По крайней мере в /var/log/syslog/messages данных об этом нет

> Есть ещё вариант, что
> он на каком-то блокирующем чтении висел, посмотрите ему lsof -pC, ps ax
> и прочее.

# ps ax | grep syslogd
  4345 ?        Ss     0:00 /sbin/syslogd -u syslogd -j /var/resolv
  1113 pts/1    S+     0:00 grep syslogd

# lsof -p 4345
COMMAND  PID    USER   FD   TYPE             DEVICE    SIZE   NODE NAME
syslogd 4345 syslogd  cwd    DIR                9,0    4096  64192 
/var/resolv
syslogd 4345 syslogd  rtd    DIR                9,0    4096  64192 
/var/resolv
syslogd 4345 syslogd  txt    REG                9,0   35736 160505 
/sbin/syslogd
syslogd 4345 syslogd  mem    REG                0,0              0 
[heap] (stat: No such file or directory)
syslogd 4345 syslogd  mem    REG                9,0  121718 144329 
/lib64/ld-2.5.so
syslogd 4345 syslogd  mem    REG                9,0 1265064 144335 
/lib64/libc-2.5.so
syslogd 4345 syslogd  mem    REG                9,0   43400 144347 
/lib64/libnss_files-2.5.so
syslogd 4345 syslogd  mem    REG                9,0   51592 144413 
/var/resolv/lib64/libnss_nisplus.so.2
syslogd 4345 syslogd  mem    REG                9,0   80728 144345 
/var/resolv/lib64/libnsl.so.1
syslogd 4345 syslogd  mem    REG                9,0   39344 144411 
/var/resolv/lib64/libnss_nis.so.2
syslogd 4345 syslogd    0u   CHR                1,3           3736 /null
syslogd 4345 syslogd    1u   CHR                1,3           3736 /null
syslogd 4345 syslogd    2u   CHR                1,3           3736 /null
syslogd 4345 syslogd    3u  unix 0xffff81007f90b700           8479 /dev/log
syslogd 4345 syslogd    4w   REG                9,0   37713  64687 
/var/log/kernel/info
syslogd 4345 syslogd    5w   REG                9,0    6808  64416 
/var/log/kernel/warnings
syslogd 4345 syslogd    6w   REG                9,0       0  64576 
/var/log/kernel/errors
syslogd 4345 syslogd    7w   REG                9,0    5671  64485 
/var/log/user/info
syslogd 4345 syslogd    8w   REG                9,0       0  64300 
/var/log/user/warnings
syslogd 4345 syslogd    9w   REG                9,0       0  64301 
/var/log/user/errors
syslogd 4345 syslogd   10w   REG                9,0    5590  64328 
/var/log/mail/info
syslogd 4345 syslogd   11w   REG                9,0     102  64415 
/var/log/mail/warnings
syslogd 4345 syslogd   12w   REG                9,0       0  64597 
/var/log/mail/errors
syslogd 4345 syslogd   13w   REG                9,0    6441  64443 
/var/log/mail/all
syslogd 4345 syslogd   14w   REG                9,0   20615  64613 
/var/log/daemons/info
syslogd 4345 syslogd   15w   REG                9,0     183  64325 
/var/log/daemons/warnings
syslogd 4345 syslogd   16w   REG                9,0     194  64418 
/var/log/daemons/errors
syslogd 4345 syslogd   17w   REG                9,0   25667  64302 
/var/log/auth/messages
syslogd 4345 syslogd   18w   REG                9,0   47708  64489 
/var/log/auth/secure
syslogd 4345 syslogd   19w   REG                9,0   73375  64419 
/var/log/auth/all
syslogd 4345 syslogd   20w   REG                9,0       0  64308 
/var/log/lpr/info
syslogd 4345 syslogd   21w   REG                9,0       0  64309 
/var/log/lpr/warnings
syslogd 4345 syslogd   22w   REG                9,0       0  64310 
/var/log/lpr/errors
syslogd 4345 syslogd   23w   REG                9,0       0  64311 
/var/log/news/info
syslogd 4345 syslogd   24w   REG                9,0       0  64312 
/var/log/news/warnings
syslogd 4345 syslogd   25w   REG                9,0       0  64313 
/var/log/news/errors
syslogd 4345 syslogd   26w   REG                9,0       0  64314 
/var/log/uucp/info
syslogd 4345 syslogd   27w   REG                9,0       0  64315 
/var/log/uucp/warnings
syslogd 4345 syslogd   28w   REG                9,0       0  64316 
/var/log/uucp/errors
syslogd 4345 syslogd   29w   REG                9,0    3788  64298 
/var/log/cron/info
syslogd 4345 syslogd   30w   REG                9,0       0  64318 
/var/log/cron/warnings
syslogd 4345 syslogd   31w   REG                9,0       0  64319 
/var/log/cron/errors
syslogd 4345 syslogd   32w   REG                9,0       0  64320 
/var/log/ftp/info
syslogd 4345 syslogd   33w   REG                9,0       0  64321 
/var/log/ftp/warnings
syslogd 4345 syslogd   34w   REG                9,0       0  64322 
/var/log/ftp/errors
syslogd 4345 syslogd   35w   REG                9,0   92976  64704 
/var/log/syslog/messages
syslogd 4345 syslogd   36w   REG                9,0      75  64702 
/var/log/syslog/alert
syslogd 4345 syslogd   37w   REG                9,0       0  64329 
/var/log/syslog/spooler
syslogd 4345 syslogd   38w   REG                9,0       0  64330 
/var/log/syslog/boot
syslogd 4345 syslogd   39w   CHR               4,12           3931 /tty12
syslogd 4345 syslogd   40u  unix 0xffff81007fa376c0           8492 
/var/spool/postfix/dev/log
syslogd 4345 syslogd   41u  unix 0xffff81007fa37980           8494 
/var/lib/klogd/dev/log
syslogd 4345 syslogd   42u  unix 0xffff81007fa37c40           8496 
/var/lib/pgsql-root/dev/log

Что тут криминального?

И именно сейчас в лог большая часть сообщений, касающихся почты, не 
попадает :(

-- 
С уважением, Прокопьев Евгений



      reply	other threads:[~2007-06-19 11:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-15 14:17 Eugene Prokopiev
2007-06-17 18:22 ` Fr. Br. George
2007-06-18  4:03   ` Eugene Prokopiev
2007-06-18  4:46     ` Eugene Prokopiev
2007-06-18 14:41       ` Fr. Br. George
2007-06-19 11:27         ` Eugene Prokopiev [this message]

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=4677BDAE.3000201@stc.donpac.ru \
    --to=prokopiev@stc.donpac.ru \
    --cc=sysadmins@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 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