Журнал лабораторных работ

Содержание

Журнал

Четверг (11/02/06)

/dev/pts/0
00:08:01
#netstat -lnp | grep clamd
unix  2      [ ACC ]     STREAM     LISTENING     5507     2654/clamd          /var/run/clamav/clamd.ctl
00:08:18
#netstat -lnp | grep mimed
unix  2      [ ACC ]     STREAM     LISTENING     5718     2750/mimedefang     /var/spool/MIMEDefang/mimedefang.sock
unix  2      [ ACC ]     STREAM     LISTENING     5597     2735/mimedefang-mul /var/spool/MIMEDefang/mimedefang-multiplexor.sock
00:08:35
#mail user -s test
iortu^[.
.
Cc:
Can't send mail: sendmail process failed with error code 67
/dev/pts/3
00:09:46
#tail -f /var/log/mail.log
Nov  1 22:07:52 clint mimedefang-multiplexor[2735]: Starting slave 0 (pid 2867) (1 running): Bringing slaves up to minSlaves (2)
Nov  1 22:07:52 clint mimedefang[2750]: Multiplexor alive - entering main loop
Nov  1 22:07:54 clint sm-mta[2887]: kA1M7shw002887: from=<>, size=17030, class=0, nrcpts=1, msgid=<200610301824.k9UIK1YJ003537@clint.chubba.net>, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
Nov  1 22:07:55 clint mimedefang-multiplexor[2735]: Starting slave 1 (pid 2913) (2 running): Bringing slaves up to minSlaves (2)
Nov  1 22:09:04 clint sendmail[3014]: kA1M94W2003014: from=root, size=32, class=0, nrcpts=1, msgid=<200611012209.kA1M94W2003014@clint.chubba.net>, relay=root@localhost
Nov  1 22:09:04 clint sm-mta[3017]: kA1M94dK003017: <user@clint.chubba.net>... User unknown
Nov  1 22:09:04 clint sendmail[3014]: kA1M94W2003014: to=user, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30032, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
Nov  1 22:09:04 clint sm-mta[3017]: kA1M94dK003017: from=<root@clint.chubba.net>, size=32, class=0, nrcpts=0, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
Nov  1 22:09:04 clint sendmail[3014]: kA1M94W2003014: kA1M94W3003014: DSN: User unknown
Nov  1 22:09:04 clint sm-mta[3017]: kA1M94dM003017: from=<>, size=1896, class=0, nrcpts=1, msgid=<200611012209.kA1M94W3003014@clint.chubba.net>, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
Nov  1 22:10:03 clint sm-mta[3198]: kA1MA2Tb003198: from=<kaplan@ondagrupera.com>, size=1112, class=0, nrcpts=1, msgid=<1162298741.2071001152@mx13.mail.ru>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Nov  1 22:10:03 clint mimedefang-multiplexor[2735]: Starting slave 2 (pid 3200) (3 running): About to perform scan
00:10:16
#/etc/init.d/mimedefang stop
Shutting down mimedefang:                                   [  OK  ]
Shutting down mimedefang-multiplexor:                       [  OK  ]
00:10:23
#tail -f /var/log/mail.log
Nov  1 22:10:24 clint sm-mta[2887]: kA1M7si0002887: to=<sergey.cherepenin@tex.kiev.ua>, delay=00:00:00, pri=45224, stat=Please try again later
Nov  1 22:10:24 clint sm-msp-queue[2876]: k9UEJLfg002976: to=sergey.cherepenin@tex.kiev.ua, ctladdr=root (0/0), delay=2+07:51:03, xdelay=00:00:00, mailer=relay, pri=7965064, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Nov  1 22:10:24 clint sm-mta[3198]: kA1MA2Tf003198: from=<sergey.cherepenin+caf_=clintx=ukr.net@gmail.com>, size=2045, class=0, nrcpts=1, msgid=<20061031202902.GA3941@serzh.linux.nt>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Nov  1 22:10:24 clint mimedefang[3199]: MXCommand: connect: No such file or directory: Is multiplexor running?
Nov  1 22:10:24 clint sm-mta[3198]: kA1MA2Tf003198: Milter: data, reject=451 4.3.2 Please try again later
Nov  1 22:10:24 clint sm-mta[3198]: kA1MA2Tf003198: to=<clint@localhost>, delay=00:00:00, pri=32045, stat=Please try again later
Nov  1 22:10:24 clint sm-mta[3198]: kA1MA2Th003198: from=<sergey.cherepenin+caf_=clintx=ukr.net@gmail.com>, size=2316, class=0, nrcpts=1, msgid=<20061101080214.GY28753@chub.in>, bodytype=8BITMIME, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Nov  1 22:10:24 clint mimedefang[3199]: MXCommand: connect: No such file or directory: Is multiplexor running?
Nov  1 22:10:24 clint sm-mta[3198]: kA1MA2Th003198: Milter: data, reject=451 4.3.2 Please try again later
Nov  1 22:10:24 clint sm-mta[3198]: kA1MA2Th003198: to=<clint@localhost>, delay=00:00:00, pri=32316, stat=Please try again later
Nov  1 22:10:27 clint mimedefang[2750]: MIMEDefang-2.57: mi_stop=1
/dev/pts/0
00:10:23
#kill -9 mailx
bash: kill: mailx: arguments must be process or job IDs
/dev/pts/3
00:10:31
#vi /etc/mail/sendmail.mc
88,89c88,90
< MAIL_FILTER(`mimedefang', `S=local:/var/spool/MIMEDefang/mimedefang.sock,F=T, T=C:15m;S:4m;R:4m;E:10m')dnl
< define(`confINPUT_MAIL_FILTERS', `mimedefang')dnl
---
> INPUT_MAIL_FILTER(`mimedefang', `S=unix:/var/spool/MIMEDefang/mimedefang.sock, F=T, T=S:1m;R:1m;E:5m')
> dnl MAIL_FILTER(`mimedefang', `S=local:/var/spool/MIMEDefang/mimedefang.sock,F=T, T=C:15m;S:4m;R:4m;E:10m')dnl
> dnl define(`confINPUT_MAIL_FILTERS', `mimedefang')dnl
00:12:51
#cd /etc/mail/

00:12:56
#make
Updating databases ...
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Creating /etc/mail/databases...
Updating auth ...
sasl2-bin not installed, not configuring sendmail support.
To enable sendmail SASL2 support at a later date, invoke "/usr/share/sendmail/update_auth"
Creating /etc/mail/relay-domains
# Optional file...
Updating Makefile ...
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Creating /etc/mail/Makefile...
Updating sendmail.cf ...
The following file(s) have changed:
  /etc/mail/sendmail.cf
** ** You should issue `/etc/init.d/sendmail reload` ** **
00:12:58
#/etc/init.d/sendmail restart
Restarting Transport Agent: sendmailWARNING: Xmimedefang: local socket name /var/spool/MIMEDefang/mimedefang.sock missing
.
00:13:14
#netstat -lnp | grep :25
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN     3448/sendmail: MTA:
00:13:24
#tail -25 /var/log/mail.log
Nov  1 22:10:24 clint sm-mta[3198]: kA1MA2Td003198: from=<sergey.cherepenin+caf_=clintx=ukr.net@gmail.com>, size=2046, class=0, nrcpts=1, msgid=<20061031221839.GA3950@serzh.linux.nt>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Nov  1 22:10:24 clint mimedefang[3199]: MXCommand: connect: No such file or directory: Is multiplexor running?
Nov  1 22:10:24 clint sm-mta[3198]: kA1MA2Td003198: Milter: data, reject=451 4.3.2 Please try again later
Nov  1 22:10:24 clint sm-mta[3198]: kA1MA2Td003198: to=<clint@localhost>, delay=00:00:00, pri=32046, stat=Please try again later
Nov  1 22:10:24 clint sm-mta[2887]: kA1M7si0002887: from=<root@clint.chubba.net>, size=15224, class=0, nrcpts=1, msgid=<20061030141921.GA2970@clint.chubba.net>, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
Nov  1 22:10:24 clint mimedefang[2901]: MXCommand: connect: No such file or directory: Is multiplexor running?
Nov  1 22:10:24 clint sm-mta[2887]: kA1M7si0002887: Milter: data, reject=451 4.3.2 Please try again later
Nov  1 22:10:24 clint sm-mta[2887]: kA1M7si0002887: to=<sergey.cherepenin@tex.kiev.ua>, delay=00:00:00, pri=45224, stat=Please try again later
Nov  1 22:10:24 clint sm-msp-queue[2876]: k9UEJLfg002976: to=sergey.cherepenin@tex.kiev.ua, ctladdr=root (0/0), delay=2+07:51:03, xdelay=00:00:00, mailer=relay, pri=7965064, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Nov  1 22:10:24 clint sm-mta[3198]: kA1MA2Tf003198: from=<sergey.cherepenin+caf_=clintx=ukr.net@gmail.com>, size=2045, class=0, nrcpts=1, msgid=<20061031202902.GA3941@serzh.linux.nt>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
...
Nov  1 22:10:24 clint sm-mta[3198]: kA1MA2Th003198: Milter: data, reject=451 4.3.2 Please try again later
Nov  1 22:10:24 clint sm-mta[3198]: kA1MA2Th003198: to=<clint@localhost>, delay=00:00:00, pri=32316, stat=Please try again later
Nov  1 22:10:27 clint mimedefang[2750]: MIMEDefang-2.57: mi_stop=1
Nov  1 22:13:12 clint sm-mta[3448]: starting daemon (8.13.8): SMTP+queueing@00:10:00
Nov  1 22:13:14 clint sm-mta[3458]: kA1MDEA5003458: Milter (mimedefang): local socket name /var/spool/MIMEDefang/mimedefang.sock unsafe
Nov  1 22:13:14 clint sm-mta[3458]: kA1MDEA5003458: Milter (mimedefang): to error state
Nov  1 22:13:14 clint sm-mta[3458]: kA1MDEA5003458: Milter: initialization failed, temp failing commands
Nov  1 22:13:14 clint sm-msp-queue[3457]: kA1M94W3003014: to=root, delay=00:04:10, xdelay=00:00:00, mailer=relay, pri=121056, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Nov  1 22:13:14 clint sm-msp-queue[3457]: k9UIK1YJ003537: to=root, delay=2+03:49:13, xdelay=00:00:00, mailer=relay, pri=6976270, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Nov  1 22:13:14 clint sm-msp-queue[3457]: k9UEJLfg002976: to=sergey.cherepenin@tex.kiev.ua, ctladdr=root (0/0), delay=2+07:53:53, xdelay=00:00:00, mailer=relay, pri=8055064, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
00:13:36
#date
Срд Ноя  1 22:13:46 UTC 2006
00:13:46
#vi /etc/clamav/clamd.conf
00:14:25
#mv /etc/clamav/clamd.conf /etc/clamav/clamd.conf.orig

00:14:31
#vi /etc/clamav/clamd.conf
00:14:38
#/etc/init.d/clamav-
clamav-daemon     clamav-freshclam
00:14:38
#/etc/init.d/clamav-daemon restart
Stopping ClamAV daemon: clamd.
Starting ClamAV daemon: clamdLibClamAV debug: Setting /tmp as global temporary directory
LibClamAV debug: Loading databases from /var/lib/clamav
LibClamAV debug: Loading /var/lib/clamav/main.cvd
LibClamAV debug: in cli_cvdload()
LibClamAV debug: MD5(.tar.gz) = c6c0e5c39b28fdbc7f2e23ce1c5166fc
LibClamAV debug: Decoded signature: c6c0e5c39b28fdbc7f2e23ce1c5166fc
LibClamAV debug: Digital signature is correct.
LibClamAV debug: in cli_untgz()
LibClamAV debug: Unpacking /tmp/clamav-30c8a9bd33eab5ea/COPYING
...
LibClamAV debug: Unpacking /tmp/clamav-5b92cc6a4af59938/daily.zmd
LibClamAV debug: Unpacking /tmp/clamav-5b92cc6a4af59938/daily.fp
LibClamAV debug: Unpacking /tmp/clamav-5b92cc6a4af59938/daily.info
LibClamAV debug: Loading databases from /tmp/clamav-5b92cc6a4af59938
LibClamAV debug: Loading /tmp/clamav-5b92cc6a4af59938/daily.db
LibClamAV debug: Loading /tmp/clamav-5b92cc6a4af59938/daily.hdb
LibClamAV debug: Loading /tmp/clamav-5b92cc6a4af59938/daily.ndb
LibClamAV debug: Loading /tmp/clamav-5b92cc6a4af59938/daily.zmd
LibClamAV debug: Loading /tmp/clamav-5b92cc6a4af59938/daily.fp
.
00:14:52
#netstat -lnp | grep clam
unix  2      [ ACC ]     STREAM     LISTENING     7489     3559/clamd          /var/spool/MIMEDefang/clamd.sock
00:15:06
#grep sendmail.mc mime
grep: mime: No such file or directory
00:15:34
#grep mime
INPUT_MAIL_FILTER(`mimedefang', `S=unix:/var/spool/MIMEDefang/mimedefang.sock, F=T, T=S:1m;R:1m;E:5m')
dnl MAIL_FILTER(`mimedefang', `S=local:/var/spool/MIMEDefang/mimedefang.sock,F=T, T=C:15m;S:4m;R:4m;E:10m')dnl
dnl define(`confINPUT_MAIL_FILTERS', `mimedefang')dnl
00:15:41
#/etc/init.d/mimedefang start
Starting mimedefang-multiplexor:                            [  OK  ]
Starting mimedefang:                                        [  OK  ]
00:15:52
#netstat -lnp | grep mime
unix  2      [ ACC ]     STREAM     LISTENING     7627     3622/mimedefang-mul /var/spool/MIMEDefang/mimedefang-multiplexor.sock
unix  2      [ ACC ]     STREAM     LISTENING     7668     3637/mimedefang     /var/spool/MIMEDefang/mimedefang.sock
00:16:01
#vi /etc/clamav/clamd.conf
1a2
> LocalSocket /var/spool/MIMEDefang/mimedefang-multiplexor.sock
00:17:35
#/etc/init.d/mimedefang stop
Shutting down mimedefang:                                   [  OK  ]
Shutting down mimedefang-multiplexor:                       [  OK  ]
00:17:41
#netstat -lnp | grep mime
unix  2      [ ACC ]     STREAM     LISTENING     7668     3637/mimedefang     /var/spool/MIMEDefang/mimedefang.sock
00:17:43
#/etc/init.d/sendmail stop
Stopping Mail Transport Agent: sendmail.
00:17:55
#netstat -lnp | grep mime

00:17:57
#/etc/init.d/clamav-daemon restart
Stopping ClamAV daemon: clamd.
Starting ClamAV daemon: clamdLibClamAV debug: Setting /tmp as global temporary directory
LibClamAV debug: Loading databases from /var/lib/clamav
LibClamAV debug: Loading /var/lib/clamav/main.cvd
LibClamAV debug: in cli_cvdload()
LibClamAV debug: MD5(.tar.gz) = c6c0e5c39b28fdbc7f2e23ce1c5166fc
LibClamAV debug: Decoded signature: c6c0e5c39b28fdbc7f2e23ce1c5166fc
LibClamAV debug: Digital signature is correct.
LibClamAV debug: in cli_untgz()
LibClamAV debug: Unpacking /tmp/clamav-932d5909c4c2e7b3/COPYING
...
LibClamAV debug: Unpacking /tmp/clamav-296615885c32307b/daily.zmd
LibClamAV debug: Unpacking /tmp/clamav-296615885c32307b/daily.fp
LibClamAV debug: Unpacking /tmp/clamav-296615885c32307b/daily.info
LibClamAV debug: Loading databases from /tmp/clamav-296615885c32307b
LibClamAV debug: Loading /tmp/clamav-296615885c32307b/daily.db
LibClamAV debug: Loading /tmp/clamav-296615885c32307b/daily.hdb
LibClamAV debug: Loading /tmp/clamav-296615885c32307b/daily.ndb
LibClamAV debug: Loading /tmp/clamav-296615885c32307b/daily.zmd
LibClamAV debug: Loading /tmp/clamav-296615885c32307b/daily.fp
.
00:18:09
#netstat -lnp | grep clam
unix  2      [ ACC ]     STREAM     LISTENING     7489     3559/clamd          /var/spool/MIMEDefang/clamd.sock
unix  2      [ ACC ]     STREAM     LISTENING     7985     3773/clamd          /var/spool/MIMEDefang/mimedefang-multiplexor.sock
00:18:11
#/etc/init.d/clamav-daemon restart

00:18:24
#vi /etc/clamav/clamd.conf
10d9
< LocalSocket /var/spool/MIMEDefang/clamd.sock
00:18:36
#/etc/init.d/clamav-daemon restart
Stopping ClamAV daemon: clamd.
Starting ClamAV daemon: clamdLibClamAV debug: Setting /tmp as global temporary directory
LibClamAV debug: Loading databases from /var/lib/clamav
LibClamAV debug: Loading /var/lib/clamav/main.cvd
LibClamAV debug: in cli_cvdload()
LibClamAV debug: MD5(.tar.gz) = c6c0e5c39b28fdbc7f2e23ce1c5166fc
LibClamAV debug: Decoded signature: c6c0e5c39b28fdbc7f2e23ce1c5166fc
LibClamAV debug: Digital signature is correct.
LibClamAV debug: in cli_untgz()
LibClamAV debug: Unpacking /tmp/clamav-495a1b403e533ce2/COPYING
...
LibClamAV debug: Unpacking /tmp/clamav-199385e9c7c0dd8c/daily.zmd
LibClamAV debug: Unpacking /tmp/clamav-199385e9c7c0dd8c/daily.fp
LibClamAV debug: Unpacking /tmp/clamav-199385e9c7c0dd8c/daily.info
LibClamAV debug: Loading databases from /tmp/clamav-199385e9c7c0dd8c
LibClamAV debug: Loading /tmp/clamav-199385e9c7c0dd8c/daily.db
LibClamAV debug: Loading /tmp/clamav-199385e9c7c0dd8c/daily.hdb
LibClamAV debug: Loading /tmp/clamav-199385e9c7c0dd8c/daily.ndb
LibClamAV debug: Loading /tmp/clamav-199385e9c7c0dd8c/daily.zmd
LibClamAV debug: Loading /tmp/clamav-199385e9c7c0dd8c/daily.fp
.
00:18:41
#netstat -lnp | grep clam
unix  2      [ ACC ]     STREAM     LISTENING     7489     3559/clamd          /var/spool/MIMEDefang/clamd.sock
unix  2      [ ACC ]     STREAM     LISTENING     7985     3773/clamd          /var/spool/MIMEDefang/mimedefang-multiplexor.sock
00:18:43
#vi /etc/clamav/clamd.conf
00:19:06
#kill -9 7489 7985
bash: kill: (7489) - No such process
bash: kill: (7985) - No such process
00:19:19
#netstat -lnp | grep clam
unix  2      [ ACC ]     STREAM     LISTENING     7489     3559/clamd          /var/spool/MIMEDefang/clamd.sock
unix  2      [ ACC ]     STREAM     LISTENING     7985     3773/clamd          /var/spool/MIMEDefang/mimedefang-multiplexor.sock
00:19:22
#rm /var/spool/
rm: невозможно удалить `/var/spool/': Is a directory
00:19:44
#rm /var/spool/MIMEDefang/clamd.sock

00:19:52
#rm /var/spool/MIMEDefang/mimedefang-multiplexor.sock

00:19:58
#netstat -lnp | grep clam
unix  2      [ ACC ]     STREAM     LISTENING     7489     3559/clamd          /var/spool/MIMEDefang/clamd.sock
unix  2      [ ACC ]     STREAM     LISTENING     7985     3773/clamd          /var/spool/MIMEDefang/mimedefang-multiplexor.sock
00:20:02
#/etc/init.d/networking restart
Reconfiguring network interfaces...addr=192.168.16.200,          name=clint.chubba.net
Updating databases ...
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Creating /etc/mail/databases...
Updating Makefile ...
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Creating /etc/mail/Makefile...
Updating sendmail.cf ...
Updating auth ...
sasl2-bin not installed, not configuring sendmail support.
To enable sendmail SASL2 support at a later date, invoke "/usr/share/sendmail/update_auth"
Creating /etc/mail/relay-domains
# Optional file...
The following file(s) have changed:
  /etc/mail/sendmail.cf
** ** You should issue `/etc/init.d/sendmail reload` ** **
Mail Transport Agent: sendmail is not running
ifup: interface lo already configured
done.
00:20:14
#netstat -lnp | grep clam
unix  2      [ ACC ]     STREAM     LISTENING     7489     3559/clamd          /var/spool/MIMEDefang/clamd.sock
unix  2      [ ACC ]     STREAM     LISTENING     7985     3773/clamd          /var/spool/MIMEDefang/mimedefang-multiplexor.sock
00:20:16
#/etc/init.d/mimedefang stop
Shutting down mimedefang:                                   [FAILED]
Shutting down mimedefang-multiplexor:                       [FAILED]
00:20:22
#netstat -lnp | grep clam
unix  2      [ ACC ]     STREAM     LISTENING     7489     3559/clamd          /var/spool/MIMEDefang/clamd.sock
unix  2      [ ACC ]     STREAM     LISTENING     7985     3773/clamd          /var/spool/MIMEDefang/mimedefang-multiplexor.sock
00:20:26
#/etc/init.d/clamav-daemon start
Starting ClamAV daemon: clamdLibClamAV debug: Setting /tmp as global temporary directory
LibClamAV debug: Loading databases from /var/lib/clamav
LibClamAV debug: Loading /var/lib/clamav/main.cvd
LibClamAV debug: in cli_cvdload()
LibClamAV debug: MD5(.tar.gz) = c6c0e5c39b28fdbc7f2e23ce1c5166fc
LibClamAV debug: Decoded signature: c6c0e5c39b28fdbc7f2e23ce1c5166fc
LibClamAV debug: Digital signature is correct.
LibClamAV debug: in cli_untgz()
LibClamAV debug: Unpacking /tmp/clamav-a28799e7c8b8a273/COPYING
LibClamAV debug: Unpacking /tmp/clamav-a28799e7c8b8a273/main.db
...
LibClamAV debug: Unpacking /tmp/clamav-09661573b5f1e89c/daily.zmd
LibClamAV debug: Unpacking /tmp/clamav-09661573b5f1e89c/daily.fp
LibClamAV debug: Unpacking /tmp/clamav-09661573b5f1e89c/daily.info
LibClamAV debug: Loading databases from /tmp/clamav-09661573b5f1e89c
LibClamAV debug: Loading /tmp/clamav-09661573b5f1e89c/daily.db
LibClamAV debug: Loading /tmp/clamav-09661573b5f1e89c/daily.hdb
LibClamAV debug: Loading /tmp/clamav-09661573b5f1e89c/daily.ndb
LibClamAV debug: Loading /tmp/clamav-09661573b5f1e89c/daily.zmd
LibClamAV debug: Loading /tmp/clamav-09661573b5f1e89c/daily.fp
.
00:20:41
#netstat -lnp | grep clam
unix  2      [ ACC ]     STREAM     LISTENING     7489     3559/clamd          /var/spool/MIMEDefang/clamd.sock
unix  2      [ ACC ]     STREAM     LISTENING     8996     4180/clamd          /var/spool/MIMEDefang/mimedefang-multiplexor.sock
unix  2      [ ACC ]     STREAM     LISTENING     7985     3773/clamd          /var/spool/MIMEDefang/mimedefang-multiplexor.sock
00:20:43
#lsof /var/spool/MIMEDefang/mimedefang-multiplexor.sock
bash: lsof: command not found
00:21:03
#fuser /var/spool/MIMEDefang/mimedefang-multiplexor.sock
/var/spool/MIMEDefang/mimedefang-multiplexor.sock:  3773  3843
00:21:16
#kill -9 3773 3843

00:21:29
#netstat -lnp | grep clam
unix  2      [ ACC ]     STREAM     LISTENING     7489     3559/clamd          /var/spool/MIMEDefang/clamd.sock
unix  2      [ ACC ]     STREAM     LISTENING     8996     4180/clamd          /var/spool/MIMEDefang/mimedefang-multiplexor.sock
00:21:32
#fuser /var/spool/MIMEDefang/clamd.sock
Cannot stat /var/spool/MIMEDefang/clamd.sock: No such file or directory
Cannot stat /var/spool/MIMEDefang/clamd.sock: No such file or directory
00:21:42
#kill -9 7489 3559
bash: kill: (7489) - No such process
00:21:59
#netstat -lnp | grep clam
unix  2      [ ACC ]     STREAM     LISTENING     8996     4180/clamd          /var/spool/MIMEDefang/mimedefang-multiplexor.sock
00:22:01
#kill -9 4180

00:22:10
#netstat -lnp | grep clam

00:22:11
#/etc/init.d/clamav-daemon start
Starting ClamAV daemon: clamdLibClamAV debug: Setting /tmp as global temporary directory
LibClamAV debug: Loading databases from /var/lib/clamav
LibClamAV debug: Loading /var/lib/clamav/main.cvd
LibClamAV debug: in cli_cvdload()
LibClamAV debug: MD5(.tar.gz) = c6c0e5c39b28fdbc7f2e23ce1c5166fc
LibClamAV debug: Decoded signature: c6c0e5c39b28fdbc7f2e23ce1c5166fc
LibClamAV debug: Digital signature is correct.
LibClamAV debug: in cli_untgz()
LibClamAV debug: Unpacking /tmp/clamav-b5a3af625a5c2c6a/COPYING
LibClamAV debug: Unpacking /tmp/clamav-b5a3af625a5c2c6a/main.db
...
LibClamAV debug: Unpacking /tmp/clamav-640302b1a43dbd7c/daily.zmd
LibClamAV debug: Unpacking /tmp/clamav-640302b1a43dbd7c/daily.fp
LibClamAV debug: Unpacking /tmp/clamav-640302b1a43dbd7c/daily.info
LibClamAV debug: Loading databases from /tmp/clamav-640302b1a43dbd7c
LibClamAV debug: Loading /tmp/clamav-640302b1a43dbd7c/daily.db
LibClamAV debug: Loading /tmp/clamav-640302b1a43dbd7c/daily.hdb
LibClamAV debug: Loading /tmp/clamav-640302b1a43dbd7c/daily.ndb
LibClamAV debug: Loading /tmp/clamav-640302b1a43dbd7c/daily.zmd
LibClamAV debug: Loading /tmp/clamav-640302b1a43dbd7c/daily.fp
.
00:22:23
#netstat -lnp | grep clam
unix  2      [ ACC ]     STREAM     LISTENING     9378     4263/clamd          /var/spool/MIMEDefang/mimedefang-multiplexor.sock
00:22:25
#/etc/init.d/mimedefang start
Starting mimedefang-multiplexor:                            [  OK  ]
Starting mimedefang:                                        [  OK  ]
00:22:33
#netstat -lnp | grep clam
unix  2      [ ACC ]     STREAM     LISTENING     9378     4263/clamd          /var/spool/MIMEDefang/mimedefang-multiplexor.sock
00:22:35
#netstat -lnp | grep mimedefang
unix  2      [ ACC ]     STREAM     LISTENING     9455     4308/mimedefang-mul /var/spool/MIMEDefang/mimedefang-multiplexor.sock
unix  2      [ ACC ]     STREAM     LISTENING     9496     4323/mimedefang     /var/spool/MIMEDefang/mimedefang.sock
unix  2      [ ACC ]     STREAM     LISTENING     9378     4263/clamd          /var/spool/MIMEDefang/mimedefang-multiplexor.sock
00:22:41
#tail /var/log/mail.log
Nov  1 22:17:44 clint mimedefang[3637]: MIMEDefang-2.57: mi_stop=1
Nov  1 22:20:01 clint sm-msp-queue[3935]: kA1M94W3003014: to=root, delay=00:10:57, xdelay=00:00:00, mailer=relay, pri=211056, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Nov  1 22:20:01 clint sm-msp-queue[3935]: k9UIK1YJ003537: to=root, delay=2+03:56:00, xdelay=00:00:00, mailer=relay, pri=7066270, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Nov  1 22:20:01 clint sm-msp-queue[3935]: k9UEJLfg002976: to=sergey.cherepenin@tex.kiev.ua, ctladdr=root (0/0), delay=2+08:00:40, xdelay=00:00:00, mailer=relay, pri=8145064, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Nov  1 22:22:33 clint mimedefang-multiplexor[4308]: started; minSlaves=2, maxSlaves=10, maxRequests=500, maxIdleTime=300, busyTimeout=600, clientTimeout=10
Nov  1 22:22:33 clint mimedefang[4323]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Nov  1 22:22:33 clint mimedefang-multiplexor[4308]: Initialized embedded Perl interpreter
Nov  1 22:22:33 clint mimedefang-multiplexor[4308]: Starting slave 0 (pid 4329) (1 running): Bringing slaves up to minSlaves (2)
Nov  1 22:22:33 clint mimedefang[4323]: Multiplexor alive - entering main loop
Nov  1 22:22:36 clint mimedefang-multiplexor[4308]: Starting slave 1 (pid 4339) (2 running): Bringing slaves up to minSlaves (2)
00:23:05
#/etc/init.d/send
sendmail  sendsigs
00:23:05
#/etc/init.d/sendmail start
Starting Mail Transport Agent: sendmail.
00:23:24
#tail /var/log/mail.log
Nov  1 22:20:01 clint sm-msp-queue[3935]: k9UIK1YJ003537: to=root, delay=2+03:56:00, xdelay=00:00:00, mailer=relay, pri=7066270, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Nov  1 22:20:01 clint sm-msp-queue[3935]: k9UEJLfg002976: to=sergey.cherepenin@tex.kiev.ua, ctladdr=root (0/0), delay=2+08:00:40, xdelay=00:00:00, mailer=relay, pri=8145064, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Nov  1 22:22:33 clint mimedefang-multiplexor[4308]: started; minSlaves=2, maxSlaves=10, maxRequests=500, maxIdleTime=300, busyTimeout=600, clientTimeout=10
Nov  1 22:22:33 clint mimedefang[4323]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Nov  1 22:22:33 clint mimedefang-multiplexor[4308]: Initialized embedded Perl interpreter
Nov  1 22:22:33 clint mimedefang-multiplexor[4308]: Starting slave 0 (pid 4329) (1 running): Bringing slaves up to minSlaves (2)
Nov  1 22:22:33 clint mimedefang[4323]: Multiplexor alive - entering main loop
Nov  1 22:22:36 clint mimedefang-multiplexor[4308]: Starting slave 1 (pid 4339) (2 running): Bringing slaves up to minSlaves (2)
Nov  1 22:23:22 clint sm-mta[4448]: starting daemon (8.13.8): SMTP+queueing@00:10:00
Nov  1 22:23:24 clint sm-mta[4458]: kA1MNOU3004458: from=<>, size=1896, class=0, nrcpts=1, msgid=<200611012209.kA1M94W3003014@clint.chubba.net>, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
00:23:26
#tail /var/log/mail.log
Nov  1 22:20:01 clint sm-msp-queue[3935]: k9UIK1YJ003537: to=root, delay=2+03:56:00, xdelay=00:00:00, mailer=relay, pri=7066270, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Nov  1 22:20:01 clint sm-msp-queue[3935]: k9UEJLfg002976: to=sergey.cherepenin@tex.kiev.ua, ctladdr=root (0/0), delay=2+08:00:40, xdelay=00:00:00, mailer=relay, pri=8145064, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Nov  1 22:22:33 clint mimedefang-multiplexor[4308]: started; minSlaves=2, maxSlaves=10, maxRequests=500, maxIdleTime=300, busyTimeout=600, clientTimeout=10
Nov  1 22:22:33 clint mimedefang[4323]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Nov  1 22:22:33 clint mimedefang-multiplexor[4308]: Initialized embedded Perl interpreter
Nov  1 22:22:33 clint mimedefang-multiplexor[4308]: Starting slave 0 (pid 4329) (1 running): Bringing slaves up to minSlaves (2)
Nov  1 22:22:33 clint mimedefang[4323]: Multiplexor alive - entering main loop
Nov  1 22:22:36 clint mimedefang-multiplexor[4308]: Starting slave 1 (pid 4339) (2 running): Bringing slaves up to minSlaves (2)
Nov  1 22:23:22 clint sm-mta[4448]: starting daemon (8.13.8): SMTP+queueing@00:10:00
Nov  1 22:23:24 clint sm-mta[4458]: kA1MNOU3004458: from=<>, size=1896, class=0, nrcpts=1, msgid=<200611012209.kA1M94W3003014@clint.chubba.net>, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
00:23:29
#tail /var/log/mail.log
Nov  1 22:20:01 clint sm-msp-queue[3935]: k9UIK1YJ003537: to=root, delay=2+03:56:00, xdelay=00:00:00, mailer=relay, pri=7066270, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Nov  1 22:20:01 clint sm-msp-queue[3935]: k9UEJLfg002976: to=sergey.cherepenin@tex.kiev.ua, ctladdr=root (0/0), delay=2+08:00:40, xdelay=00:00:00, mailer=relay, pri=8145064, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Nov  1 22:22:33 clint mimedefang-multiplexor[4308]: started; minSlaves=2, maxSlaves=10, maxRequests=500, maxIdleTime=300, busyTimeout=600, clientTimeout=10
Nov  1 22:22:33 clint mimedefang[4323]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Nov  1 22:22:33 clint mimedefang-multiplexor[4308]: Initialized embedded Perl interpreter
Nov  1 22:22:33 clint mimedefang-multiplexor[4308]: Starting slave 0 (pid 4329) (1 running): Bringing slaves up to minSlaves (2)
Nov  1 22:22:33 clint mimedefang[4323]: Multiplexor alive - entering main loop
Nov  1 22:22:36 clint mimedefang-multiplexor[4308]: Starting slave 1 (pid 4339) (2 running): Bringing slaves up to minSlaves (2)
Nov  1 22:23:22 clint sm-mta[4448]: starting daemon (8.13.8): SMTP+queueing@00:10:00
Nov  1 22:23:24 clint sm-mta[4458]: kA1MNOU3004458: from=<>, size=1896, class=0, nrcpts=1, msgid=<200611012209.kA1M94W3003014@clint.chubba.net>, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
00:23:32
#tail /var/log/mail.log
Nov  1 22:20:01 clint sm-msp-queue[3935]: k9UIK1YJ003537: to=root, delay=2+03:56:00, xdelay=00:00:00, mailer=relay, pri=7066270, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Nov  1 22:20:01 clint sm-msp-queue[3935]: k9UEJLfg002976: to=sergey.cherepenin@tex.kiev.ua, ctladdr=root (0/0), delay=2+08:00:40, xdelay=00:00:00, mailer=relay, pri=8145064, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Nov  1 22:22:33 clint mimedefang-multiplexor[4308]: started; minSlaves=2, maxSlaves=10, maxRequests=500, maxIdleTime=300, busyTimeout=600, clientTimeout=10
Nov  1 22:22:33 clint mimedefang[4323]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Nov  1 22:22:33 clint mimedefang-multiplexor[4308]: Initialized embedded Perl interpreter
Nov  1 22:22:33 clint mimedefang-multiplexor[4308]: Starting slave 0 (pid 4329) (1 running): Bringing slaves up to minSlaves (2)
Nov  1 22:22:33 clint mimedefang[4323]: Multiplexor alive - entering main loop
Nov  1 22:22:36 clint mimedefang-multiplexor[4308]: Starting slave 1 (pid 4339) (2 running): Bringing slaves up to minSlaves (2)
Nov  1 22:23:22 clint sm-mta[4448]: starting daemon (8.13.8): SMTP+queueing@00:10:00
Nov  1 22:23:24 clint sm-mta[4458]: kA1MNOU3004458: from=<>, size=1896, class=0, nrcpts=1, msgid=<200611012209.kA1M94W3003014@clint.chubba.net>, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
00:23:33
#mail user -s test
102 dnl # Masquerading options
-- ВСТАВКА --                                          101,5         88%
103 FEATURE(`always_add_domain')dnl
-- ВСТАВКА --                                          102,5         89%
104 MASQUERADE_AS(`ukr.net')dnl
-- ВСТАВКА --                                          103,5         90%
105 FEATURE(`allmasquerade')dnl
106 FEATURE(`masquerade_envelope')dnl                         104,5         91%
107
-- Ðdml FEATURE(`always_add_domain')dnl                       106,5         93%
    dnl dateUERADE_AS(`ukr.net')dnl
108 dnl FEATURE(`allmasquerade')dnl
.- Ðdnl FEATURE(`masquerade_envelope')dnl                     107,1         94%
109 MAILER_DEFINITIONS
Cc:
110 MAILER(`local')dnl                                        108,1         95%
Can't send mail: sendmail process failed with error code 67
-- ВСТАВКА --                                          103,5         97%
/dev/pts/0
00:24:07
#cd /etc/mail/

00:24:15
#vim sendmail.mc
68c68
< define(`SMATR_HOST',`mail.voliacable.com')dnl
---
> dnl define(`SMATR_HOST',`mail.voliacable.com')dnl
103,106c103,106
< FEATURE(`always_add_domain')dnl
< MASQUERADE_AS(`ukr.net')dnl
< FEATURE(`allmasquerade')dnl
< FEATURE(`masquerade_envelope')dnl
---
> dnl FEATURE(`always_add_domain')dnl
> dnl MASQUERADE_AS(`ukr.net')dnl
> dnl FEATURE(`allmasquerade')dnl
> dnl FEATURE(`masquerade_envelope')dnl
/dev/pts/3
00:24:51
#/etc/init.d/sendmail re
Restarting Transport Agent: sendmail.
/dev/pts/0
00:25:10
#make
Updating databases ...
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Creating /etc/mail/databases...
Updating auth ...
sasl2-bin not installed, not configuring sendmail support.
To enable sendmail SASL2 support at a later date, invoke "/usr/share/sendmail/update_auth"
Creating /etc/mail/relay-domains
# Optional file...
Updating Makefile ...
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Creating /etc/mail/Makefile...
Updating sendmail.cf ...
The following file(s) have changed:
  /etc/mail/sendmail.cf
** ** You should issue `/etc/init.d/sendmail reload` ** **
00:25:13
#su - user
Неизвестный id: user
/dev/pts/3
00:25:26
#tail /var/log/mail.log
Nov  1 22:24:24 clint sm-msp-queue[4457]: k9UEJLfg002976: to=sergey.cherepenin@tex.kiev.ua, ctladdr=root (0/0), delay=2+08:05:03, xdelay=00:00:00, mailer=relay, pri=8235064, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Nov  1 22:24:24 clint sm-mta[4458]: kA1MNOU6004458: from=<root@clint.chubba.net>, size=15246, class=0, nrcpts=0, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
Nov  1 22:24:51 clint sm-mta[4498]: kA1MNpct004498: Milter (mimedefang): timeout before data read
Nov  1 22:24:51 clint sm-mta[4498]: kA1MNpct004498: Milter (mimedefang): to error state
Nov  1 22:24:51 clint sm-mta[4498]: kA1MNpct004498: Milter: data, reject=451 4.3.2 Please try again later
Nov  1 22:24:51 clint sm-mta[4498]: kA1MNpct004498: to=<root@clint.chubba.net>, delay=00:01:00, pri=31893, stat=Please try again later
Nov  1 22:24:51 clint sendmail[4495]: kA1MNpha004495: to=root, delay=00:01:00, xdelay=00:01:00, mailer=relay, pri=31053, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Nov  1 22:25:24 clint sm-mta[4698]: starting daemon (8.13.8): SMTP+queueing@00:10:00
Nov  1 22:25:26 clint sm-mta[4707]: kA1MPQrU004707: from=<>, size=1893, class=0, nrcpts=1, msgid=<200611012223.kA1MNpha004495@clint.chubba.net>, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
Nov  1 22:25:26 clint mimedefang-multiplexor[4308]: Starting slave 2 (pid 4719) (3 running): About to perform scan
00:25:34
#tail /var/log/mail.log
Nov  1 22:24:24 clint sm-msp-queue[4457]: k9UEJLfg002976: to=sergey.cherepenin@tex.kiev.ua, ctladdr=root (0/0), delay=2+08:05:03, xdelay=00:00:00, mailer=relay, pri=8235064, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Nov  1 22:24:24 clint sm-mta[4458]: kA1MNOU6004458: from=<root@clint.chubba.net>, size=15246, class=0, nrcpts=0, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
Nov  1 22:24:51 clint sm-mta[4498]: kA1MNpct004498: Milter (mimedefang): timeout before data read
Nov  1 22:24:51 clint sm-mta[4498]: kA1MNpct004498: Milter (mimedefang): to error state
Nov  1 22:24:51 clint sm-mta[4498]: kA1MNpct004498: Milter: data, reject=451 4.3.2 Please try again later
Nov  1 22:24:51 clint sm-mta[4498]: kA1MNpct004498: to=<root@clint.chubba.net>, delay=00:01:00, pri=31893, stat=Please try again later
Nov  1 22:24:51 clint sendmail[4495]: kA1MNpha004495: to=root, delay=00:01:00, xdelay=00:01:00, mailer=relay, pri=31053, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Nov  1 22:25:24 clint sm-mta[4698]: starting daemon (8.13.8): SMTP+queueing@00:10:00
Nov  1 22:25:26 clint sm-mta[4707]: kA1MPQrU004707: from=<>, size=1893, class=0, nrcpts=1, msgid=<200611012223.kA1MNpha004495@clint.chubba.net>, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
Nov  1 22:25:26 clint mimedefang-multiplexor[4308]: Starting slave 2 (pid 4719) (3 running): About to perform scan
00:25:42
#tail /var/log/mail.log -f
Nov  1 22:26:26 clint sm-mta[4707]: kA1MPQrW004707: from=<>, size=1908, class=0, nrcpts=0, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
Nov  1 22:26:26 clint sm-mta[4707]: kA1MPQrX004707: Milter: from=<>, reject=451 4.3.2 Please try again later
Nov  1 22:26:26 clint sm-msp-queue[4706]: k9UIK1YJ003537: to=root, delay=2+04:02:25, xdelay=00:00:00, mailer=relay, pri=7246270, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Nov  1 22:26:26 clint sm-mta[4707]: kA1MPQrX004707: from=<>, size=17042, class=0, nrcpts=0, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
Nov  1 22:26:26 clint sm-mta[4707]: kA1MPQrY004707: Milter: from=<root@clint.chubba.net>, reject=451 4.3.2 Please try again later
Nov  1 22:26:26 clint sm-msp-queue[4706]: k9UEJLfg002976: to=sergey.cherepenin@tex.kiev.ua, ctladdr=root (0/0), delay=2+08:07:05, xdelay=00:00:00, mailer=relay, pri=8325064, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Nov  1 22:26:26 clint sm-mta[4707]: kA1MPQrY004707: from=<root@clint.chubba.net>, size=15246, class=0, nrcpts=0, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
Nov  1 22:27:51 clint sendmail[4836]: kA1MRp37004836: from=clint, size=644, class=0, nrcpts=1, msgid=<20061101222751.GA4828@clint.chubba.net>, relay=clint@localhost
Nov  1 22:27:52 clint sm-mta[4839]: kA1MRp27004839: from=<clint@clint.chubba.net>, size=796, class=0, nrcpts=1, msgid=<20061101222751.GA4828@clint.chubba.net>, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
Nov  1 22:27:52 clint mimedefang-multiplexor[4308]: Starting slave 3 (pid 4841) (4 running): About to perform scan
/dev/pts/0
00:25:50
#su - clint
l3-agent is already running: pid=3028; pidfile=/home/clint/.lilalo/l3-agent.pid
прошло >9 часов
/dev/pts/3
09:56:58
#netstat -lnp | grep mime
unix  2      [ ACC ]     STREAM     LISTENING     9455     4308/mimedefang-mul /var/spool/MIMEDefang/mimedefang-multiplexor.sock
unix  2      [ ACC ]     STREAM     LISTENING     9496     4323/mimedefang     /var/spool/MIMEDefang/mimedefang.sock
unix  2      [ ACC ]     STREAM     LISTENING     9378     4263/clamd          /var/spool/MIMEDefang/mimedefang-multiplexor.sock
09:57:15
#netstat -lnp | grep mime
unix  2      [ ACC ]     STREAM     LISTENING     9455     4308/mimedefang-mul /var/spool/MIMEDefang/mimedefang-multiplexor.sock
unix  2      [ ACC ]     STREAM     LISTENING     9496     4323/mimedefang     /var/spool/MIMEDefang/mimedefang.sock
unix  2      [ ACC ]     STREAM     LISTENING     9378     4263/clamd          /var/spool/MIMEDefang/mimedefang-multiplexor.sock
09:57:20
#grep mime /etc/mail/sendmail.mc
INPUT_MAIL_FILTER(`mimedefang', `S=unix:/var/spool/MIMEDefang/mimedefang.sock, F=T, T=S:1m;R:1m;E:5m')
dnl MAIL_FILTER(`mimedefang', `S=local:/var/spool/MIMEDefang/mimedefang.sock,F=T, T=C:15m;S:4m;R:4m;E:10m')dnl
dnl define(`confINPUT_MAIL_FILTERS', `mimedefang')dnl
09:57:42
#netstat -lnp | grep :25
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN     4698/sendmail: MTA:
09:58:13
#tail /var/log/mail.log
Nov  2 07:41:11 clint sm-msp-queue[5931]: k9UIK1YJ003537: to=root, delay=2+13:17:10, xdelay=00:00:00, mailer=relay, pri=9766270, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Nov  2 07:41:11 clint sm-mta[5932]: kA27eBZv005932: from=<>, size=17042, class=0, nrcpts=0, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
Nov  2 07:41:11 clint sm-mta[5932]: kA27eBZw005932: Milter: from=<root@clint.chubba.net>, reject=451 4.3.2 Please try again later
Nov  2 07:41:11 clint sm-msp-queue[5931]: k9UEJLfg002976: to=sergey.cherepenin@tex.kiev.ua, ctladdr=root (0/0), delay=2+17:21:50, xdelay=00:00:00, mailer=relay, pri=10845064, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Nov  2 07:41:11 clint sm-mta[5932]: kA27eBZw005932: from=<root@clint.chubba.net>, size=15246, class=0, nrcpts=0, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
Nov  2 07:50:11 clint mimedefang-multiplexor[4308]: Killing busy slave 3 (pid 5872): Busy timeout
Nov  2 07:50:11 clint mimedefang[5933]: Error from multiplexor: ERR Filter timed out - check filter rules or system load
Nov  2 07:50:11 clint mimedefang-multiplexor[4308]: Reap: slave 3 (pid 5872) exited due to SIGTERM/SIGKILL as expected.
Nov  2 07:50:11 clint mimedefang-multiplexor[4308]: Slave 3 resource usage: req=1, scans=1, user=0.030, sys=0.000, nswap=0, majflt=0, minflt=956, maxrss=0, bi=0, bo=0
Nov  2 07:50:14 clint mimedefang-multiplexor[4308]: Starting slave 3 (pid 5940) (2 running): Bringing slaves up to minSlaves (2)
09:58:22
#/etc/init.d/mimedefang restart
Shutting down mimedefang:                                   [  OK  ]
Shutting down mimedefang-multiplexor:                       [  OK  ]
Waiting for daemons to exit.....
Starting mimedefang-multiplexor:                            [  OK  ]
Starting mimedefang:                                        [  OK  ]
09:58:50
#/etc/init.d/mimedefang restart
Shutting down mimedefang:                                   [  OK  ]
Shutting down mimedefang-multiplexor:                       [  OK  ]
Waiting for daemons to exit.....
Starting mimedefang-multiplexor:                            [  OK  ]
Starting mimedefang:                                        [  OK  ]
09:58:56
#tail /var/log/mail.log
Nov  2 07:58:50 clint mimedefang[6225]: Multiplexor alive - entering main loop
Nov  2 07:58:52 clint mimedefang-multiplexor[6210]: Received SIGTERM: Stopping slaves and terminating
Nov  2 07:58:52 clint mimedefang-multiplexor[6210]: Reap: slave 0 (pid 6231) exited normally with status 0
Nov  2 07:58:52 clint mimedefang-multiplexor[6210]: Slave 0 resource usage: req=0, scans=0, user=0.000, sys=0.010, nswap=0, majflt=0, minflt=248, maxrss=0, bi=0, bo=0
Nov  2 07:58:55 clint mimedefang[6225]: MIMEDefang-2.57: mi_stop=1
Nov  2 07:58:56 clint mimedefang-multiplexor[6279]: started; minSlaves=2, maxSlaves=10, maxRequests=500, maxIdleTime=300, busyTimeout=600, clientTimeout=10
Nov  2 07:58:56 clint mimedefang[6294]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Nov  2 07:58:57 clint mimedefang-multiplexor[6279]: Initialized embedded Perl interpreter
Nov  2 07:58:57 clint mimedefang-multiplexor[6279]: Starting slave 0 (pid 6300) (1 running): Bringing slaves up to minSlaves (2)
Nov  2 07:58:57 clint mimedefang[6294]: Multiplexor alive - entering main loop
09:58:58
#/etc/init.d/sendmail restart
Restarting Transport Agent: sendmail.
09:59:14
#netstat -lnp | grep :25
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN     6414/sendmail: MTA:
09:59:20
#tail /var/log/mail.log
Nov  2 07:58:52 clint mimedefang-multiplexor[6210]: Slave 0 resource usage: req=0, scans=0, user=0.000, sys=0.010, nswap=0, majflt=0, minflt=248, maxrss=0, bi=0, bo=0
Nov  2 07:58:55 clint mimedefang[6225]: MIMEDefang-2.57: mi_stop=1
Nov  2 07:58:56 clint mimedefang-multiplexor[6279]: started; minSlaves=2, maxSlaves=10, maxRequests=500, maxIdleTime=300, busyTimeout=600, clientTimeout=10
Nov  2 07:58:56 clint mimedefang[6294]: MIMEDefang alive. slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=0 doHeloCheck=0 doSenderCheck=0 doRecipientCheck=0
Nov  2 07:58:57 clint mimedefang-multiplexor[6279]: Initialized embedded Perl interpreter
Nov  2 07:58:57 clint mimedefang-multiplexor[6279]: Starting slave 0 (pid 6300) (1 running): Bringing slaves up to minSlaves (2)
Nov  2 07:58:57 clint mimedefang[6294]: Multiplexor alive - entering main loop
Nov  2 07:59:00 clint mimedefang-multiplexor[6279]: Starting slave 1 (pid 6309) (2 running): Bringing slaves up to minSlaves (2)
Nov  2 07:59:12 clint sm-mta[6414]: starting daemon (8.13.8): SMTP+queueing@00:10:00
Nov  2 07:59:14 clint sm-mta[6423]: kA27xEBb006423: from=<>, size=2550, class=0, nrcpts=1, msgid=<200611020241.kA22eBH2005285@clint.chubba.net>, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
09:59:22
#mail user -s test
Nov  2 08:00:14 clint sm-mta[6423]: kA27xEBd006423: from=<>, size=1905, class=0, nrcpts=0, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
Nov  2 08:00:14 clint sm-mta[6423]: kA27xEBe006423: Milter: from=<>, reject=451 4.3.2 Please try again later
Nov  2 08:00:14 clint sm-msp-queue[6422]: kA1M94W3003014: to=root, delay=09:51:10, xdelay=00:00:00, mailer=relay, pri=3001056, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Nov  2 08:00:14 clint sm-mta[6423]: kA27xEBe006423: from=<>, size=1908, class=0, nrcpts=0, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
Nov  2 08:00:14 clint sm-mta[6423]: kA27xEBf006423: Milter: from=<>, reject=451 4.3.2 Please try again later
Nov  2 08:00:14 clint sm-msp-queue[6422]: k9UIK1YJ003537: to=root, delay=2+13:36:13, xdelay=00:00:00, mailer=relay, pri=9856270, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Nov  2 08:00:14 clint sm-mta[6423]: kA27xEBf006423: from=<>, size=17042, class=0, nrcpts=0, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
Nov  2 08:00:14 clint sm-mta[6423]: kA27xEBg006423: Milter: from=<root@clint.chubba.net>, reject=451 4.3.2 Please try again later
Nov  2 08:00:14 clint sm-msp-queue[6422]: k9UEJLfg002976: to=sergey.cherepenin@tex.kiev.ua, ctladdr=root (0/0), delay=2+17:40:53, xdelay=00:00:00, mailer=relay, pri=10935064, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Nov  2 08:00:14 clint sm-mta[6423]: kA27xEBg006423: from=<root@clint.chubba.net>, size=15246, class=0, nrcpts=0, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
Nov  2 08:00:42 clint sm-mta[6452]: kA27xgd5006452: Milter (mimedefang): timeout before data read
Nov  2 08:00:42 clint sm-mta[6452]: kA27xgd5006452: Milter (mimedefang): to error state
Nov  2 08:00:42 clint sm-mta[6452]: kA27xgd5006452: Milter: data, reject=451 4.3.2 Please try again later
Nov  2 08:00:42 clint sm-mta[6452]: kA27xgd5006452: to=<root@clint.chubba.net>, delay=00:01:00, pri=31894, stat=Please try again later
Nov  2 08:00:42 clint sendmail[6449]: kA27xgJk006449: to=root, delay=00:01:00, xdelay=00:01:00, mailer=relay, pri=31054, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
idfkn
.
Cc:
Can't send mail: sendmail process failed with error code 67
10:00:42
#vi /etc/mail/sendmail.mc
69c69
< dnl define(`confDOMAIN_NAME',`$w.$m')dnl
---
> define(`confDOMAIN_NAME',`$w.$m')dnl
10:01:34
#cd /etc/mail/

10:01:38
#make
Updating databases ...
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Creating /etc/mail/databases...
Updating auth ...
sasl2-bin not installed, not configuring sendmail support.
To enable sendmail SASL2 support at a later date, invoke "/usr/share/sendmail/update_auth"
Creating /etc/mail/relay-domains
# Optional file...
Updating Makefile ...
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Creating /etc/mail/Makefile...
Updating sendmail.cf ...
The following file(s) have changed:
  /etc/mail/sendmail.cf
** ** You should issue `/etc/init.d/sendmail reload` ** **
10:01:41
#/etc/init.d/sendmail restart
Nov  2 08:00:14 clint sm-mta[6423]: kA27xEBd006423: from=<>, size=1905, class=0, nrcpts=0, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
Nov  2 08:00:14 clint sm-mta[6423]: kA27xEBe006423: Milter: from=<>, reject=451 4.3.2 Please try again later
Nov  2 08:00:14 clint sm-msp-queue[6422]: kA1M94W3003014: to=root, delay=09:51:10, xdelay=00:00:00, mailer=relay, pri=3001056, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Nov  2 08:00:14 clint sm-mta[6423]: kA27xEBe006423: from=<>, size=1908, class=0, nrcpts=0, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
Nov  2 08:00:14 clint sm-mta[6423]: kA27xEBf006423: Milter: from=<>, reject=451 4.3.2 Please try again later
Nov  2 08:00:14 clint sm-msp-queue[6422]: k9UIK1YJ003537: to=root, delay=2+13:36:13, xdelay=00:00:00, mailer=relay, pri=9856270, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Nov  2 08:00:14 clint sm-mta[6423]: kA27xEBf006423: from=<>, size=17042, class=0, nrcpts=0, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
Nov  2 08:00:14 clint sm-mta[6423]: kA27xEBg006423: Milter: from=<root@clint.chubba.net>, reject=451 4.3.2 Please try again later
Nov  2 08:00:14 clint sm-msp-queue[6422]: k9UEJLfg002976: to=sergey.cherepenin@tex.kiev.ua, ctladdr=root (0/0), delay=2+17:40:53, xdelay=00:00:00, mailer=relay, pri=10935064, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Nov  2 08:00:14 clint sm-mta[6423]: kA27xEBg006423: from=<root@clint.chubba.net>, size=15246, class=0, nrcpts=0, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
...
Nov  2 08:01:01 clint sm-msp-queue[6474]: kA1M94W3003014: to=root, delay=09:51:57, xdelay=00:00:00, mailer=relay, pri=3091056, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Nov  2 08:01:01 clint sm-mta[6475]: kA2801TW006475: from=<>, size=1908, class=0, nrcpts=0, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
Nov  2 08:01:01 clint sm-mta[6475]: kA2801TX006475: Milter: from=<>, reject=451 4.3.2 Please try again later
Nov  2 08:01:01 clint sm-msp-queue[6474]: k9UIK1YJ003537: to=root, delay=2+13:37:00, xdelay=00:00:00, mailer=relay, pri=9946270, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Nov  2 08:01:01 clint sm-mta[6475]: kA2801TX006475: from=<>, size=17042, class=0, nrcpts=0, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
Nov  2 08:01:01 clint sm-mta[6475]: kA2801TY006475: Milter: from=<root@clint.chubba.net>, reject=451 4.3.2 Please try again later
Nov  2 08:01:01 clint sm-msp-queue[6474]: k9UEJLfg002976: to=sergey.cherepenin@tex.kiev.ua, ctladdr=root (0/0), delay=2+17:41:40, xdelay=00:00:00, mailer=relay, pri=11025064, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Nov  2 08:01:01 clint sm-mta[6475]: kA2801TY006475: from=<root@clint.chubba.net>, size=15246, class=0, nrcpts=0, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
Nov  2 08:01:53 clint sm-mta[6847]: starting daemon (8.13.8): SMTP+queueing@00:10:00
Restarting Transport Agent: sendmail.
10:01:55
#/etc/init.d/clamav-daemon restart
Nov  2 08:00:14 clint sm-mta[6423]: kA27xEBd006423: from=<>, size=1905, class=0, nrcpts=0, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
Nov  2 08:00:14 clint sm-mta[6423]: kA27xEBe006423: Milter: from=<>, reject=451 4.3.2 Please try again later
Nov  2 08:00:14 clint sm-msp-queue[6422]: kA1M94W3003014: to=root, delay=09:51:10, xdelay=00:00:00, mailer=relay, pri=3001056, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Nov  2 08:00:14 clint sm-mta[6423]: kA27xEBe006423: from=<>, size=1908, class=0, nrcpts=0, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
Nov  2 08:00:14 clint sm-mta[6423]: kA27xEBf006423: Milter: from=<>, reject=451 4.3.2 Please try again later
Nov  2 08:00:14 clint sm-msp-queue[6422]: k9UIK1YJ003537: to=root, delay=2+13:36:13, xdelay=00:00:00, mailer=relay, pri=9856270, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Nov  2 08:00:14 clint sm-mta[6423]: kA27xEBf006423: from=<>, size=17042, class=0, nrcpts=0, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
Nov  2 08:00:14 clint sm-mta[6423]: kA27xEBg006423: Milter: from=<root@clint.chubba.net>, reject=451 4.3.2 Please try again later
Nov  2 08:00:14 clint sm-msp-queue[6422]: k9UEJLfg002976: to=sergey.cherepenin@tex.kiev.ua, ctladdr=root (0/0), delay=2+17:40:53, xdelay=00:00:00, mailer=relay, pri=10935064, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
Nov  2 08:00:14 clint sm-mta[6423]: kA27xEBg006423: from=<root@clint.chubba.net>, size=15246, class=0, nrcpts=0, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1]
...
LibClamAV debug: Unpacking /tmp/clamav-9d04d4a3d136f022/daily.zmd
LibClamAV debug: Unpacking /tmp/clamav-9d04d4a3d136f022/daily.fp
LibClamAV debug: Unpacking /tmp/clamav-9d04d4a3d136f022/daily.info
LibClamAV debug: Loading databases from /tmp/clamav-9d04d4a3d136f022
LibClamAV debug: Loading /tmp/clamav-9d04d4a3d136f022/daily.db
LibClamAV debug: Loading /tmp/clamav-9d04d4a3d136f022/daily.hdb
LibClamAV debug: Loading /tmp/clamav-9d04d4a3d136f022/daily.ndb
LibClamAV debug: Loading /tmp/clamav-9d04d4a3d136f022/daily.zmd
LibClamAV debug: Loading /tmp/clamav-9d04d4a3d136f022/daily.fp
.
10:02:13
#/etc/init.d/sendmail restart
Wed Nov  1 22:22:23 2006 -> HTML support enabled.
Wed Nov  1 22:22:23 2006 -> Self checking every 1800 seconds.
Thu Nov  2 08:02:11 2006 -> +++ Started at Thu Nov  2 08:02:11 2006
Thu Nov  2 08:02:11 2006 -> clamd daemon 0.88.5 (OS: linux-gnu, ARCH: i386, CPU: i486)
Thu Nov  2 08:02:11 2006 -> Log file size limited to 1048576 bytes.
Thu Nov  2 08:02:11 2006 -> Verbose logging activated.
Thu Nov  2 08:02:11 2006 -> Running as user defang (UID 106, GID 107)
Thu Nov  2 08:02:11 2006 -> Reading databases from /var/lib/clamav
Thu Nov  2 08:02:13 2006 -> Protecting against 75255 viruses.
Thu Nov  2 08:02:13 2006 -> ERROR: Socket file /var/spool/MIMEDefang/mimedefang-multiplexor.sock is in use by another process.
/dev/pts/7
10:02:16
#tail /var/log/clamav/
clamav.log     clamd.log      freshclam.log
10:02:16
#tail /var/log/clamav/
clamav.log     clamd.log      freshclam.log
10:02:16
#tail /var/log/clamav/clamd.log
Wed Nov  1 22:22:23 2006 -> HTML support enabled.
Wed Nov  1 22:22:23 2006 -> Self checking every 1800 seconds.
Thu Nov  2 08:02:11 2006 -> +++ Started at Thu Nov  2 08:02:11 2006
Thu Nov  2 08:02:11 2006 -> clamd daemon 0.88.5 (OS: linux-gnu, ARCH: i386, CPU: i486)
Thu Nov  2 08:02:11 2006 -> Log file size limited to 1048576 bytes.
Thu Nov  2 08:02:11 2006 -> Verbose logging activated.
Thu Nov  2 08:02:11 2006 -> Running as user defang (UID 106, GID 107)
Thu Nov  2 08:02:11 2006 -> Reading databases from /var/lib/clamav
Thu Nov  2 08:02:13 2006 -> Protecting against 75255 viruses.
Thu Nov  2 08:02:13 2006 -> ERROR: Socket file /var/spool/MIMEDefang/mimedefang-multiplexor.sock is in use by another process.

Статистика

Время первой команды журнала00:08:01 2006-11- 2
Время последней команды журнала10:02:16 2006-11- 2
Количество командных строк в журнале100
Процент команд с ненулевым кодом завершения, %13.00
Процент синтаксически неверно набранных команд, % 1.00
Суммарное время работы с терминалом *, час 0.39
Количество командных строк в единицу времени, команда/мин 4.33
Частота использования команд
grep27|=====================| 21.77%
netstat24|===================| 19.35%
tail17|=============| 13.71%
/etc/init.d/sendmail7|=====| 5.65%
/etc/init.d/mimedefang7|=====| 5.65%
/etc/init.d/clamav-daemon7|=====| 5.65%
vi7|=====| 5.65%
kill5|====| 4.03%
rm3|==| 2.42%
make3|==| 2.42%
cd3|==| 2.42%
mail3|==| 2.42%
fuser2|=| 1.61%
su2|=| 1.61%
/etc/init.d/clamav-1|| 0.81%
/etc/init.d/send1|| 0.81%
vim1|| 0.81%
lsof1|| 0.81%
mv1|| 0.81%
date1|| 0.81%
/etc/init.d/networking1|| 0.81%
____
*) Интервалы неактивности длительностью 30 минут и более не учитываются

Справка

Для того чтобы использовать LiLaLo, не нужно знать ничего особенного: всё происходит само собой. Однако, чтобы ведение и последующее использование журналов было как можно более эффективным, желательно иметь в виду следующее:
  1. В журнал автоматически попадают все команды, данные в любом терминале системы.

  2. Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.

  3. Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
    $ l s-l
    bash: l: command not found
    

  4. Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
    $ test 5 -lt 4
    Обратите внимание на то, что код завершения команды может быть отличен от нуля не только в тех случаях, когда команда была выполнена с ошибкой. Многие команды используют код завершения, например, для того чтобы показать результаты проверки

  5. Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
    $ find / -name abc
    find: /home/devi-orig/.gnome2: Keine Berechtigung
    find: /home/devi-orig/.gnome2_private: Keine Berechtigung
    find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung
    find: /home/devi-orig/.metacity: Keine Berechtigung
    find: /home/devi-orig/.inkscape: Keine Berechtigung
    ^C
    

  6. Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
    # id
    uid=0(root) gid=0(root) Gruppen=0(root)
    

  7. Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
    $ vi ~/.bashrc
    2a3,5
    >    if [ -f /usr/local/etc/bash_completion ]; then
    >         . /usr/local/etc/bash_completion
    >        fi
    

  8. Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
    $ patch ~/.bashrc
    В данном случае изменения применяются к файлу ~/.bashrc

  9. Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.

    Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.

  10. Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.

  11. Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора

  12. Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.

  13. Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.

  14. Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:

    $ whoami
    
    user
    
    $ #^ Интересно, кто я?
    
    в журнале это будет выглядеть так:
    $ whoami
    
    user
    
    Интересно, кто я?

  15. Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:

    $ whoami
    
    user
    
    $ cat > /dev/null #^ Интересно, кто я?
    
    Программа whoami выводит имя пользователя, под которым 
    мы зарегистрировались в системе.
    -
    Она не может ответить на вопрос о нашем назначении 
    в этом мире.
    
    В журнале это будет выглядеть так:
    $ whoami
    user
    
    Интересно, кто я?
    Программа whoami выводит имя пользователя, под которым
    мы зарегистрировались в системе.

    Она не может ответить на вопрос о нашем назначении
    в этом мире.
    Для разделения нескольких абзацев между собой используйте символ "-", один в строке.

  16. Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=

  17. Содержимое файла может быть показано в журнале. Для этого его нужно вывести с помощью программы cat. Если вывод команды отметить симоволами #!, содержимое файла будет показано в журнале в специально отведённой для этого секции.
  18. Для того чтобы вставить скриншот интересующего вас окна в журнал, нужно воспользоваться командой l3shot. После того как команда вызвана, нужно с помощью мыши выбрать окно, которое должно быть в журнале.
  19. Команды в журнале расположены в хронологическом порядке. Если две команды давались одна за другой, но на разных терминалах, в журнале они будут рядом, даже если они не имеют друг к другу никакого отношения.
    1
        2
    3   
        4
    
    Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.

О программе

LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008

$Id$