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

Содержание

Журнал

Вторник (10/26/10)

/dev/pts/14
16:21:50
#host 192.168.103.2
Host 2.103.168.192.in-addr.arpa. not found: 3(NXDOMAIN)
16:21:53
#nc 192.168.103.1
no port[s] to connect to
16:22:12
#nc 192.168.103.1 110
+OK Qpopper (version 4.0.9) at linux3.unix.nt starting.  <10755.1288102934@linux3.unix.nt>
USER user
+OK Password required for user.
PASS password
^C
16:22:21
#nc 192.168.103.1 110
+OK Qpopper (version 4.0.9) at linux3.unix.nt starting.  <10764.1288102942@linux3.unix.nt>
USER roma
+OK Password required for roma.
PASS 1234
+OK roma has 0 visible messages (0 hidden) in 0 octets.
LIST .
-ERR Message 0 does not exist.
^C
/dev/pts/11
16:22:53
#host 192.168.103.2
Host 2.103.168.192.in-addr.arpa. not found: 3(NXDOMAIN)
/dev/pts/12
16:22:53
#host 192.168.103.2
Host 2.103.168.192.in-addr.arpa. not found: 3(NXDOMAIN)
/dev/pts/11
16:24:28
#host 192.168.103.2
Host 2.103.168.192.in-addr.arpa. not found: 3(NXDOMAIN)
/dev/pts/12
16:24:28
#host 192.168.103.2
Host 2.103.168.192.in-addr.arpa. not found: 3(NXDOMAIN)
/dev/pts/11
16:24:31
#host 192.168.103.2
Host 2.103.168.192.in-addr.arpa. not found: 3(NXDOMAIN)
/dev/pts/12
16:24:31
#host 192.168.103.2
Host 2.103.168.192.in-addr.arpa. not found: 3(NXDOMAIN)
/dev/pts/11
16:24:32
#host 192.168.103.2
Host 2.103.168.192.in-addr.arpa. not found: 3(NXDOMAIN)
/dev/pts/12
16:24:32
#host 192.168.103.2
Host 2.103.168.192.in-addr.arpa. not found: 3(NXDOMAIN)
/dev/pts/11
16:24:34
#cat /var/log/mail.
mail.err   mail.info  mail.log   mail.warn
/dev/pts/12
16:24:34
#cat /var/log/mail.
mail.err   mail.info  mail.log   mail.warn
/dev/pts/11
16:24:34
#cat /var/log/mail.err
Oct 26 17:08:11 linux3 sm-mta[9779]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
Oct 26 17:09:32 linux3 sm-mta[9901]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 81: unknown configuration line "dnlnl #"
Oct 26 17:10:52 linux3 sm-mta[10024]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
Oct 26 17:12:25 linux3 sm-mta[10147]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
/dev/pts/12
16:24:34
#cat /var/log/mail.err
Oct 26 17:08:11 linux3 sm-mta[9779]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
Oct 26 17:09:32 linux3 sm-mta[9901]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 81: unknown configuration line "dnlnl #"
Oct 26 17:10:52 linux3 sm-mta[10024]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
Oct 26 17:12:25 linux3 sm-mta[10147]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
/dev/pts/11
16:28:29
#cat /var/log/mail.
mail.err   mail.info  mail.log   mail.warn
/dev/pts/12
16:28:29
#cat /var/log/mail.
mail.err   mail.info  mail.log   mail.warn
/dev/pts/11
16:28:29
#cat /var/log/mail.warn
Oct 26 17:08:11 linux3 sm-mta[9779]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
Oct 26 17:09:32 linux3 sm-mta[9901]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 81: unknown configuration line "dnlnl #"
Oct 26 17:10:52 linux3 sm-mta[10024]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
Oct 26 17:12:25 linux3 sm-mta[10147]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
/dev/pts/12
16:28:29
#cat /var/log/mail.warn
Oct 26 17:08:11 linux3 sm-mta[9779]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
Oct 26 17:09:32 linux3 sm-mta[9901]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 81: unknown configuration line "dnlnl #"
Oct 26 17:10:52 linux3 sm-mta[10024]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
Oct 26 17:12:25 linux3 sm-mta[10147]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
/dev/pts/11
16:28:37
#cat /var/log/mail.log
Oct 26 16:27:20 linux3 sendmail[8111]: alias database /etc/mail/aliases rebuilt by root
Oct 26 16:27:20 linux3 sendmail[8111]: /etc/mail/aliases: 13 aliases, longest 10 bytes, 142 bytes total
Oct 26 16:27:20 linux3 sm-mta[8166]: starting daemon (8.14.3): SMTP+queueing@00:10:00
Oct 26 17:08:11 linux3 sm-mta[9779]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
Oct 26 17:09:32 linux3 sm-mta[9901]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 81: unknown configuration line "dnlnl #"
Oct 26 17:10:52 linux3 sm-mta[10024]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
Oct 26 17:12:25 linux3 sm-mta[10147]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
Oct 26 17:13:15 linux3 sm-mta[10290]: starting daemon (8.14.3): SMTP+queueing@00:10:00
Oct 26 17:16:30 linux3 in.qpopper[10467]: (v4.0.9) Unable to get canonical name of client 192.168.103.2: Name or service not known (-2) [pop_init.c:1250]
Oct 26 17:16:30 linux3 in.qpopper[10467]: (v4.0.9) Servicing request from "192.168.103.2" at 192.168.103.2 [pop_init.c:1408]
...
Oct 26 17:25:00 linux3 in.qpopper[10826]: (v4.0.9) POP login by user "roma" at (192.168.103.2) 192.168.103.2 [pop_log.c:244]
Oct 26 17:25:28 linux3 sm-mta[10828]: o9QEPSCY010828: rejecting commands from [192.168.103.2] [192.168.103.2] due to pre-greeting traffic after 0 seconds
Oct 26 17:25:34 linux3 in.qpopper[10829]: (v4.0.9) Unable to get canonical name of client 192.168.103.2: Name or service not known (-2) [pop_init.c:1250]
Oct 26 17:25:34 linux3 in.qpopper[10829]: (v4.0.9) Servicing request from "192.168.103.2" at 192.168.103.2 [pop_init.c:1408]
Oct 26 17:25:34 linux3 in.qpopper[10829]: (null) at 192.168.103.2 (192.168.103.2): -ERR Too few arguments for the user command. [pop_get_command.c:124]
Oct 26 17:26:21 linux3 in.qpopper[10829]: (null) at 192.168.103.2 (192.168.103.2): -ERR POP EOF or I/O Error [popper.c:828]
Oct 26 17:26:56 linux3 sm-mta[10840]: o9QEQtas010840: from=<roma@kv.unix.nt>, size=1059, class=0, nrcpts=1, msgid=<005c01cb7519$d82cadb0$0267a8c0@roma>, proto=SMTP, daemon=MTA-v4, relay=[192.168.103.2]
Oct 26 17:26:57 linux3 sm-mta[10842]: o9QEQtas010840: to=<admina@rv.unix.nt>, ctladdr=<roma@kv.unix.nt> (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=121059, relay=linux2.unix.nt. [192.168.102.1], dsn=2.0.0, stat=Sent (o9QEQvvK011251 Message accepted for delivery)
Oct 26 17:27:51 linux3 sm-mta[10843]: o9QERowQ010843: from=<roma@kv.unix.nt>, size=1060, class=0, nrcpts=1, msgid=<006701cb7519$f8f50330$0267a8c0@roma>, proto=SMTP, daemon=MTA-v4, relay=[192.168.103.2]
Oct 26 17:27:52 linux3 sm-mta[10845]: o9QERowQ010843: to=<altvnk@kzn.unix.nt>, ctladdr=<roma@kv.unix.nt> (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=121060, relay=linux6.unix.nt. [192.168.106.1], dsn=2.0.0, stat=Sent (o9QERqa2008303 Message accepted for delivery)
/dev/pts/12
16:28:37
#cat /var/log/mail.log
Oct 26 16:27:20 linux3 sendmail[8111]: alias database /etc/mail/aliases rebuilt by root
Oct 26 16:27:20 linux3 sendmail[8111]: /etc/mail/aliases: 13 aliases, longest 10 bytes, 142 bytes total
Oct 26 16:27:20 linux3 sm-mta[8166]: starting daemon (8.14.3): SMTP+queueing@00:10:00
Oct 26 17:08:11 linux3 sm-mta[9779]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
Oct 26 17:09:32 linux3 sm-mta[9901]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 81: unknown configuration line "dnlnl #"
Oct 26 17:10:52 linux3 sm-mta[10024]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
Oct 26 17:12:25 linux3 sm-mta[10147]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
Oct 26 17:13:15 linux3 sm-mta[10290]: starting daemon (8.14.3): SMTP+queueing@00:10:00
Oct 26 17:16:30 linux3 in.qpopper[10467]: (v4.0.9) Unable to get canonical name of client 192.168.103.2: Name or service not known (-2) [pop_init.c:1250]
Oct 26 17:16:30 linux3 in.qpopper[10467]: (v4.0.9) Servicing request from "192.168.103.2" at 192.168.103.2 [pop_init.c:1408]
...
Oct 26 17:25:00 linux3 in.qpopper[10826]: (v4.0.9) POP login by user "roma" at (192.168.103.2) 192.168.103.2 [pop_log.c:244]
Oct 26 17:25:28 linux3 sm-mta[10828]: o9QEPSCY010828: rejecting commands from [192.168.103.2] [192.168.103.2] due to pre-greeting traffic after 0 seconds
Oct 26 17:25:34 linux3 in.qpopper[10829]: (v4.0.9) Unable to get canonical name of client 192.168.103.2: Name or service not known (-2) [pop_init.c:1250]
Oct 26 17:25:34 linux3 in.qpopper[10829]: (v4.0.9) Servicing request from "192.168.103.2" at 192.168.103.2 [pop_init.c:1408]
Oct 26 17:25:34 linux3 in.qpopper[10829]: (null) at 192.168.103.2 (192.168.103.2): -ERR Too few arguments for the user command. [pop_get_command.c:124]
Oct 26 17:26:21 linux3 in.qpopper[10829]: (null) at 192.168.103.2 (192.168.103.2): -ERR POP EOF or I/O Error [popper.c:828]
Oct 26 17:26:56 linux3 sm-mta[10840]: o9QEQtas010840: from=<roma@kv.unix.nt>, size=1059, class=0, nrcpts=1, msgid=<005c01cb7519$d82cadb0$0267a8c0@roma>, proto=SMTP, daemon=MTA-v4, relay=[192.168.103.2]
Oct 26 17:26:57 linux3 sm-mta[10842]: o9QEQtas010840: to=<admina@rv.unix.nt>, ctladdr=<roma@kv.unix.nt> (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=121059, relay=linux2.unix.nt. [192.168.102.1], dsn=2.0.0, stat=Sent (o9QEQvvK011251 Message accepted for delivery)
Oct 26 17:27:51 linux3 sm-mta[10843]: o9QERowQ010843: from=<roma@kv.unix.nt>, size=1060, class=0, nrcpts=1, msgid=<006701cb7519$f8f50330$0267a8c0@roma>, proto=SMTP, daemon=MTA-v4, relay=[192.168.103.2]
Oct 26 17:27:52 linux3 sm-mta[10845]: o9QERowQ010843: to=<altvnk@kzn.unix.nt>, ctladdr=<roma@kv.unix.nt> (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=121060, relay=linux6.unix.nt. [192.168.106.1], dsn=2.0.0, stat=Sent (o9QERqa2008303 Message accepted for delivery)
/dev/pts/11
16:28:42
#cat /var/log/mail.info
Oct 26 16:27:20 linux3 sendmail[8111]: alias database /etc/mail/aliases rebuilt by root
Oct 26 16:27:20 linux3 sendmail[8111]: /etc/mail/aliases: 13 aliases, longest 10 bytes, 142 bytes total
Oct 26 16:27:20 linux3 sm-mta[8166]: starting daemon (8.14.3): SMTP+queueing@00:10:00
Oct 26 17:08:11 linux3 sm-mta[9779]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
Oct 26 17:09:32 linux3 sm-mta[9901]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 81: unknown configuration line "dnlnl #"
Oct 26 17:10:52 linux3 sm-mta[10024]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
Oct 26 17:12:25 linux3 sm-mta[10147]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
Oct 26 17:13:15 linux3 sm-mta[10290]: starting daemon (8.14.3): SMTP+queueing@00:10:00
Oct 26 17:16:30 linux3 in.qpopper[10467]: Unable to open bulletin directory '/var/spool/popbull': No such file or directory (2) [pop_bull.c:386]
Oct 26 17:16:30 linux3 in.qpopper[10467]: (v4.0.9) POP login by user "roma" at (192.168.103.2) 192.168.103.2 [pop_log.c:244]
...
Oct 26 17:25:00 linux3 in.qpopper[10826]: (v4.0.9) POP login by user "roma" at (192.168.103.2) 192.168.103.2 [pop_log.c:244]
Oct 26 17:25:28 linux3 sm-mta[10828]: o9QEPSCY010828: rejecting commands from [192.168.103.2] [192.168.103.2] due to pre-greeting traffic after 0 seconds
Oct 26 17:25:34 linux3 in.qpopper[10829]: (null) at 192.168.103.2 (192.168.103.2): -ERR Too few arguments for the user command. [pop_get_command.c:124]
Oct 26 17:26:21 linux3 in.qpopper[10829]: (null) at 192.168.103.2 (192.168.103.2): -ERR POP EOF or I/O Error [popper.c:828]
Oct 26 17:26:56 linux3 sm-mta[10840]: o9QEQtas010840: from=<roma@kv.unix.nt>, size=1059, class=0, nrcpts=1, msgid=<005c01cb7519$d82cadb0$0267a8c0@roma>, proto=SMTP, daemon=MTA-v4, relay=[192.168.103.2]
Oct 26 17:26:57 linux3 sm-mta[10842]: o9QEQtas010840: to=<admina@rv.unix.nt>, ctladdr=<roma@kv.unix.nt> (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=121059, relay=linux2.unix.nt. [192.168.102.1], dsn=2.0.0, stat=Sent (o9QEQvvK011251 Message accepted for delivery)
Oct 26 17:27:51 linux3 sm-mta[10843]: o9QERowQ010843: from=<roma@kv.unix.nt>, size=1060, class=0, nrcpts=1, msgid=<006701cb7519$f8f50330$0267a8c0@roma>, proto=SMTP, daemon=MTA-v4, relay=[192.168.103.2]
Oct 26 17:27:52 linux3 sm-mta[10845]: o9QERowQ010843: to=<altvnk@kzn.unix.nt>, ctladdr=<roma@kv.unix.nt> (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=121060, relay=linux6.unix.nt. [192.168.106.1], dsn=2.0.0, stat=Sent (o9QERqa2008303 Message accepted for delivery)
Oct 26 17:29:37 linux3 in.qpopper[10921]: Unable to open bulletin directory '/var/spool/popbull': No such file or directory (2) [pop_bull.c:386]
Oct 26 17:29:37 linux3 in.qpopper[10921]: (v4.0.9) POP login by user "roma" at (192.168.103.2) 192.168.103.2 [pop_log.c:244]
/dev/pts/12
16:28:42
#cat /var/log/mail.info
Oct 26 16:27:20 linux3 sendmail[8111]: alias database /etc/mail/aliases rebuilt by root
Oct 26 16:27:20 linux3 sendmail[8111]: /etc/mail/aliases: 13 aliases, longest 10 bytes, 142 bytes total
Oct 26 16:27:20 linux3 sm-mta[8166]: starting daemon (8.14.3): SMTP+queueing@00:10:00
Oct 26 17:08:11 linux3 sm-mta[9779]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
Oct 26 17:09:32 linux3 sm-mta[9901]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 81: unknown configuration line "dnlnl #"
Oct 26 17:10:52 linux3 sm-mta[10024]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
Oct 26 17:12:25 linux3 sm-mta[10147]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
Oct 26 17:13:15 linux3 sm-mta[10290]: starting daemon (8.14.3): SMTP+queueing@00:10:00
Oct 26 17:16:30 linux3 in.qpopper[10467]: Unable to open bulletin directory '/var/spool/popbull': No such file or directory (2) [pop_bull.c:386]
Oct 26 17:16:30 linux3 in.qpopper[10467]: (v4.0.9) POP login by user "roma" at (192.168.103.2) 192.168.103.2 [pop_log.c:244]
...
Oct 26 17:25:00 linux3 in.qpopper[10826]: (v4.0.9) POP login by user "roma" at (192.168.103.2) 192.168.103.2 [pop_log.c:244]
Oct 26 17:25:28 linux3 sm-mta[10828]: o9QEPSCY010828: rejecting commands from [192.168.103.2] [192.168.103.2] due to pre-greeting traffic after 0 seconds
Oct 26 17:25:34 linux3 in.qpopper[10829]: (null) at 192.168.103.2 (192.168.103.2): -ERR Too few arguments for the user command. [pop_get_command.c:124]
Oct 26 17:26:21 linux3 in.qpopper[10829]: (null) at 192.168.103.2 (192.168.103.2): -ERR POP EOF or I/O Error [popper.c:828]
Oct 26 17:26:56 linux3 sm-mta[10840]: o9QEQtas010840: from=<roma@kv.unix.nt>, size=1059, class=0, nrcpts=1, msgid=<005c01cb7519$d82cadb0$0267a8c0@roma>, proto=SMTP, daemon=MTA-v4, relay=[192.168.103.2]
Oct 26 17:26:57 linux3 sm-mta[10842]: o9QEQtas010840: to=<admina@rv.unix.nt>, ctladdr=<roma@kv.unix.nt> (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=121059, relay=linux2.unix.nt. [192.168.102.1], dsn=2.0.0, stat=Sent (o9QEQvvK011251 Message accepted for delivery)
Oct 26 17:27:51 linux3 sm-mta[10843]: o9QERowQ010843: from=<roma@kv.unix.nt>, size=1060, class=0, nrcpts=1, msgid=<006701cb7519$f8f50330$0267a8c0@roma>, proto=SMTP, daemon=MTA-v4, relay=[192.168.103.2]
Oct 26 17:27:52 linux3 sm-mta[10845]: o9QERowQ010843: to=<altvnk@kzn.unix.nt>, ctladdr=<roma@kv.unix.nt> (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=121060, relay=linux6.unix.nt. [192.168.106.1], dsn=2.0.0, stat=Sent (o9QERqa2008303 Message accepted for delivery)
Oct 26 17:29:37 linux3 in.qpopper[10921]: Unable to open bulletin directory '/var/spool/popbull': No such file or directory (2) [pop_bull.c:386]
Oct 26 17:29:37 linux3 in.qpopper[10921]: (v4.0.9) POP login by user "roma" at (192.168.103.2) 192.168.103.2 [pop_log.c:244]
/dev/pts/11
16:29:52
#vi /etc/inetd.conf
/dev/pts/12
16:29:52
#vi /etc/inetd.conf
--- /tmp/l3-saved-4780.17990.10946	2010-10-26 17:31:01.000000000 +0300
+++ /etc/inetd.conf	2010-10-26 17:31:17.000000000 +0300
@@ -27,7 +27,7 @@
 #<off># smtp	stream	tcp	nowait	root	/usr/sbin/sendmail sendmail -Am -bs
 #<off># submission	stream	tcp	nowait	root	/usr/sbin/sendmail sendmail -Am -bs
 #<off># smtps	stream	tcp	nowait	root	/usr/sbin/sendmail sendmail -Am -bs
-pop-3		stream	tcp	nowait	root	/usr/sbin/tcpd	/usr/sbin/in.qpopper -f /etc/qpopper.conf
+pop-3		stream	tcp	nowait	root	/usr/sbin/in.qpopper -f /etc/qpopper.conf
 
 #:INFO: Info services
 
/dev/pts/11
16:31:17
#/etc/init.d/openbsd-inetd restart
Restarting internet superserver: inetd.
/dev/pts/12
16:31:17
#/etc/init.d/openbsd-inetd restart
Restarting internet superserver: inetd.
/dev/pts/11
16:31:59
#~

/dev/pts/12
16:31:59
#~

/dev/pts/11
16:34:26
#cp /etc/bind/db.0 /etc/bind/db.103

/dev/pts/12
16:34:26
#cp /etc/bind/db.0 /etc/bind/db.103

16:34:51
#vi /etc/bind/db.103
--- /tmp/l3-saved-4780.8572.8415	2010-10-26 17:35:00.000000000 +0300
+++ /etc/bind/db.103	2010-10-26 17:37:06.000000000 +0300
@@ -1,12 +1,10 @@
-;
-; BIND reverse data file for broadcast zone
-;
 $TTL	604800
-@	IN	SOA	localhost. root.localhost. (
+@	IN	SOA	linux3.unix.nt root (
 			      1		; Serial
 			 604800		; Refresh
 			  86400		; Retry
 			2419200		; Expire
 			 604800 )	; Negative Cache TTL
 ;
-@	IN	NS	localhost.
+@	IN	NS	linux3.unix.nt
+2	PTR		roma.kv.unix.nt.
/dev/pts/11
16:34:51
#vi /etc/bind/db.103
16:37:23
#tail /var/log/daemon.log
Oct 26 17:37:23 linux3 named[11203]: command channel listening on ::1#953
Oct 26 17:37:23 linux3 named[11203]: zone 0.in-addr.arpa/IN: loaded serial 1
Oct 26 17:37:23 linux3 named[11203]: zone 127.in-addr.arpa/IN: loaded serial 1
Oct 26 17:37:23 linux3 named[11203]: zone 103.168.192.in-addr.arpa/IN: NS 'linux3.unix.nt.103.168.192.in-addr.arpa' has no address records (A or AAAA)
Oct 26 17:37:23 linux3 named[11203]: zone 103.168.192.in-addr.arpa/IN: loaded serial 1
Oct 26 17:37:23 linux3 named[11203]: zone 255.in-addr.arpa/IN: loaded serial 1
Oct 26 17:37:23 linux3 named[11203]: zone localhost/IN: loaded serial 2
Oct 26 17:37:23 linux3 named[11203]: zone kv.unix.nt/IN: loaded serial 2
Oct 26 17:37:23 linux3 named[11203]: zone kv.unix.nt/IN: sending notifies (serial 2)
Oct 26 17:37:23 linux3 named[11203]: running
/dev/pts/12
16:37:23
#tail /var/log/daemon.log
Oct 26 17:37:23 linux3 named[11203]: command channel listening on ::1#953
Oct 26 17:37:23 linux3 named[11203]: zone 0.in-addr.arpa/IN: loaded serial 1
Oct 26 17:37:23 linux3 named[11203]: zone 127.in-addr.arpa/IN: loaded serial 1
Oct 26 17:37:23 linux3 named[11203]: zone 103.168.192.in-addr.arpa/IN: NS 'linux3.unix.nt.103.168.192.in-addr.arpa' has no address records (A or AAAA)
Oct 26 17:37:23 linux3 named[11203]: zone 103.168.192.in-addr.arpa/IN: loaded serial 1
Oct 26 17:37:23 linux3 named[11203]: zone 255.in-addr.arpa/IN: loaded serial 1
Oct 26 17:37:23 linux3 named[11203]: zone localhost/IN: loaded serial 2
Oct 26 17:37:23 linux3 named[11203]: zone kv.unix.nt/IN: loaded serial 2
Oct 26 17:37:23 linux3 named[11203]: zone kv.unix.nt/IN: sending notifies (serial 2)
Oct 26 17:37:23 linux3 named[11203]: running
/dev/pts/11
16:38:37
#tail /var/log/daemon.log
Oct 26 17:38:37 linux3 named[11411]: command channel listening on ::1#953
Oct 26 17:38:37 linux3 named[11411]: zone 0.in-addr.arpa/IN: loaded serial 1
Oct 26 17:38:37 linux3 named[11411]: zone 127.in-addr.arpa/IN: loaded serial 1
Oct 26 17:38:37 linux3 named[11411]: zone 103.168.192.in-addr.arpa/IN: NS 'linux3.unix.nt.103.168.192.in-addr.arpa' has no address records (A or AAAA)
Oct 26 17:38:37 linux3 named[11411]: zone 103.168.192.in-addr.arpa/IN: loaded serial 1
Oct 26 17:38:37 linux3 named[11411]: zone 255.in-addr.arpa/IN: loaded serial 1
Oct 26 17:38:37 linux3 named[11411]: zone localhost/IN: loaded serial 2
Oct 26 17:38:37 linux3 named[11411]: zone kv.unix.nt/IN: loaded serial 2
Oct 26 17:38:37 linux3 named[11411]: zone kv.unix.nt/IN: sending notifies (serial 2)
Oct 26 17:38:37 linux3 named[11411]: running
/dev/pts/12
16:38:37
#tail /var/log/daemon.log
Oct 26 17:38:37 linux3 named[11411]: command channel listening on ::1#953
Oct 26 17:38:37 linux3 named[11411]: zone 0.in-addr.arpa/IN: loaded serial 1
Oct 26 17:38:37 linux3 named[11411]: zone 127.in-addr.arpa/IN: loaded serial 1
Oct 26 17:38:37 linux3 named[11411]: zone 103.168.192.in-addr.arpa/IN: NS 'linux3.unix.nt.103.168.192.in-addr.arpa' has no address records (A or AAAA)
Oct 26 17:38:37 linux3 named[11411]: zone 103.168.192.in-addr.arpa/IN: loaded serial 1
Oct 26 17:38:37 linux3 named[11411]: zone 255.in-addr.arpa/IN: loaded serial 1
Oct 26 17:38:37 linux3 named[11411]: zone localhost/IN: loaded serial 2
Oct 26 17:38:37 linux3 named[11411]: zone kv.unix.nt/IN: loaded serial 2
Oct 26 17:38:37 linux3 named[11411]: zone kv.unix.nt/IN: sending notifies (serial 2)
Oct 26 17:38:37 linux3 named[11411]: running
16:38:40
#ping roma
ping: unknown host roma
/dev/pts/11
16:38:40
#ping roma
ping: unknown host roma
16:38:50
#ping roma
ping: unknown host roma
/dev/pts/12
16:38:50
#ping roma
ping: unknown host roma
/dev/pts/11
16:38:54
#ping roma.kv.unix.nt
PING roma.kv.unix.nt (192.168.103.2) 56(84) bytes of data.
^C
--- roma.kv.unix.nt ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3013ms
/dev/pts/12
16:38:54
#ping roma.kv.unix.nt
PING roma.kv.unix.nt (192.168.103.2) 56(84) bytes of data.
^C
--- roma.kv.unix.nt ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3013ms
16:39:04
#host roma.kv.unix.nt
roma.kv.unix.nt has address 192.168.103.2
/dev/pts/11
16:39:04
#host roma.kv.unix.nt
roma.kv.unix.nt has address 192.168.103.2
16:39:11
#host192.168.103.2
bash: host192.168.103.2: команда не найдена
/dev/pts/12
16:39:11
#host192.168.103.2
bash: host192.168.103.2: команда не найдена
/dev/pts/11
16:39:22
#host 192.168.103.2
2.103.168.192.in-addr.arpa domain name pointer roma.kv.unix.nt.
/dev/pts/12
16:39:22
#host 192.168.103.2
2.103.168.192.in-addr.arpa domain name pointer roma.kv.unix.nt.
/dev/pts/11
16:39:26
#init 0

/dev/pts/12
16:39:26
#init 0

Среда (10/27/10)

/dev/pts/6
09:38:58
#vi /etc/asterisk/voicemail.conf
--- /tmp/l3-saved-4090.22731.24687	2010-10-27 10:39:14.000000000 +0300
+++ /etc/asterisk/voicemail.conf	2010-10-27 10:49:37.000000000 +0300
@@ -120,7 +120,7 @@
 ;
 ; You can override the default program to send e-mail if you wish, too
 ;
-;mailcmd=/usr/sbin/sendmail -t
+mailcmd=/usr/sbin/sendmail -t
 ; 
 ; Users may be located in different timezones, or may have different 
 ; message announcements for their introductory message when they enter 
@@ -230,6 +230,8 @@
 ;maxmsg=50
 
 1234 => 4242,Example Mailbox,root@localhost
+1801 => 1234,Roma,roma@kv.unix.nt
+
 ;4200 => 9855,Mark Spencer,markster@linux-support.net,mypager@digium.com,attach=no|serveremail=myaddy@digium.com|tz=central|maxmsg=10
 ;4300 => 3456,Ben Rigas,ben@american-computer.net
 ;4310 => -5432,Sales,sales@marko.net
@@ -247,4 +249,4 @@
 [other]
 ;The intro can be customized on a per-context basis
 ;directoryintro=dir-company2
-1234 => 5678,Company2 User,root@localhost
+;1234 => 5678,Company2 User,root@localhost
/dev/pts/3
09:38:58
#vi /etc/asterisk/voicemail.conf
прошло 10 минут
09:49:37
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf': Found
  == Parsing '/etc/asterisk/extconfig.conf': Found
Connected to Asterisk 1.4.21.2~dfsg-3+lenny1 currently running on linux3 (pid = 2547)
Verbosity was 0 and is now 3
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/6
09:49:37
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf': Found
  == Parsing '/etc/asterisk/extconfig.conf': Found
Connected to Asterisk 1.4.21.2~dfsg-3+lenny1 currently running on linux3 (pid = 2547)
Verbosity was 0 and is now 3
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/3
09:50:23
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
Context    Mbox  User                      Zone       NewMsg
default    general New User                                  0
default    1234  Example Mailbox                           0
default    1801  Roma                                      0
    -- Executing [1301@group2:1] Dial("SIP/1302-0954ce70", "SIP/1301|10") in new stack
    -- Called 1301!
    -- SIP/1301-09554500 is ringing
    -- Nobody picked up in 10000 ms
  == Auto fallthrough, channel 'SIP/1302-0954ce70' status is 'NOANSWER'
linux3*CLI>
/dev/pts/6
09:50:23
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
Context    Mbox  User                      Zone       NewMsg
default    general New User                                  0
default    1234  Example Mailbox                           0
default    1801  Roma                                      0
    -- Executing [1301@group2:1] Dial("SIP/1302-0954ce70", "SIP/1301|10") in new stack
    -- Called 1301!
    -- SIP/1301-09554500 is ringing
    -- Nobody picked up in 10000 ms
  == Auto fallthrough, channel 'SIP/1302-0954ce70' status is 'NOANSWER'
linux3*CLI>
/dev/pts/3
09:55:41
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
Verbosity was 0 and is now 3
    -- Executing [1301@group2:1] Dial("SIP/1302-091e8ca8", "SIP/1301|10") in new stack
    -- Called 1301
    -- SIP/1301-091f0c48 is ringing
    -- Nobody picked up in 10000 ms
    -- Executing [1301@group2:2] VoiceMail("SIP/1302-091e8ca8", "SIP/1301@default") in new stack
[Oct 27 10:56:08] WARNING[4337]: app_voicemail.c:2862 leave_voicemail: No entry in voicemail config file for 'SIP/1301'
    -- Executing [1301@group2:3] Hangup("SIP/1302-091e8ca8", "") in new stack
  == Spawn extension (group2, 1301, 3) exited non-zero on 'SIP/1302-091e8ca8'
linux3*CLI>
/dev/pts/6
09:55:41
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
Verbosity was 0 and is now 3
    -- Executing [1301@group2:1] Dial("SIP/1302-091e8ca8", "SIP/1301|10") in new stack
    -- Called 1301
    -- SIP/1301-091f0c48 is ringing
    -- Nobody picked up in 10000 ms
    -- Executing [1301@group2:2] VoiceMail("SIP/1302-091e8ca8", "SIP/1301@default") in new stack
[Oct 27 10:56:08] WARNING[4337]: app_voicemail.c:2862 leave_voicemail: No entry in voicemail config file for 'SIP/1301'
    -- Executing [1301@group2:3] Hangup("SIP/1302-091e8ca8", "") in new stack
  == Spawn extension (group2, 1301, 3) exited non-zero on 'SIP/1302-091e8ca8'
linux3*CLI>
/dev/pts/3
09:57:24
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
Connected to Asterisk 1.4.21.2~dfsg-3+lenny1 currently running on linux3 (pid = 4369)
Verbosity was 0 and is now 3
    -- Executing [1301@group2:1] Dial("SIP/1302-08c85478", "SIP/1301|10") in new stack
    -- Called 1301
    -- SIP/1301-08c8cb08 is ringing
    -- Nobody picked up in 10000 ms
    -- Executing [1301@group2:2] VoiceMail("SIP/1302-08c85478", "SIP/1301@default") in new stack
[Oct 27 10:57:47] WARNING[4407]: app_voicemail.c:2862 leave_voicemail: No entry in voicemail config file for 'SIP/1301'
    -- Executing [1301@group2:3] Hangup("SIP/1302-08c85478", "") in new stack
  == Spawn extension (group2, 1301, 3) exited non-zero on 'SIP/1302-08c85478'
/dev/pts/6
09:57:24
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
Connected to Asterisk 1.4.21.2~dfsg-3+lenny1 currently running on linux3 (pid = 4369)
Verbosity was 0 and is now 3
    -- Executing [1301@group2:1] Dial("SIP/1302-08c85478", "SIP/1301|10") in new stack
    -- Called 1301
    -- SIP/1301-08c8cb08 is ringing
    -- Nobody picked up in 10000 ms
    -- Executing [1301@group2:2] VoiceMail("SIP/1302-08c85478", "SIP/1301@default") in new stack
[Oct 27 10:57:47] WARNING[4407]: app_voicemail.c:2862 leave_voicemail: No entry in voicemail config file for 'SIP/1301'
    -- Executing [1301@group2:3] Hangup("SIP/1302-08c85478", "") in new stack
  == Spawn extension (group2, 1301, 3) exited non-zero on 'SIP/1302-08c85478'
/dev/pts/3
09:58:10
#vi /etc/asterisk/voicemail.conf
/dev/pts/6
09:58:10
#vi /etc/asterisk/voicemail.conf
/dev/pts/3
10:00:09
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
Verbosity was 0 and is now 3
    -- Executing [1301@group2:1] Dial("SIP/1302-08e9d400", "SIP/1301|10") in new stack
    -- Called 1301
    -- SIP/1301-08ea5470 is ringing
    -- Nobody picked up in 10000 ms
    -- Executing [1301@group2:2] VoiceMail("SIP/1302-08e9d400", "SIP/1301@default") in new stack
[Oct 27 11:00:50] WARNING[4525]: app_voicemail.c:2862 leave_voicemail: No entry in voicemail config file for 'SIP/1301'
    -- Executing [1301@group2:3] Hangup("SIP/1302-08e9d400", "") in new stack
  == Spawn extension (group2, 1301, 3) exited non-zero on 'SIP/1302-08e9d400'
linux3*CLI>
/dev/pts/6
10:00:09
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
Verbosity was 0 and is now 3
    -- Executing [1301@group2:1] Dial("SIP/1302-08e9d400", "SIP/1301|10") in new stack
    -- Called 1301
    -- SIP/1301-08ea5470 is ringing
    -- Nobody picked up in 10000 ms
    -- Executing [1301@group2:2] VoiceMail("SIP/1302-08e9d400", "SIP/1301@default") in new stack
[Oct 27 11:00:50] WARNING[4525]: app_voicemail.c:2862 leave_voicemail: No entry in voicemail config file for 'SIP/1301'
    -- Executing [1301@group2:3] Hangup("SIP/1302-08e9d400", "") in new stack
  == Spawn extension (group2, 1301, 3) exited non-zero on 'SIP/1302-08e9d400'
linux3*CLI>
/dev/pts/3
10:01:23
#service asterisk restart
Stopping Asterisk PBX: asterisk.
Starting Asterisk PBX: asterisk.
[1]+  Убито              asterisk -rvvv
/dev/pts/6
10:01:23
#service asterisk restart
Stopping Asterisk PBX: asterisk.
Starting Asterisk PBX: asterisk.
[1]+  Убито              asterisk -rvvv
10:08:54
#vi /etc/asterisk/extensions.conf
--- /tmp/l3-saved-4090.10075.29803	2010-10-27 11:08:56.000000000 +0300
+++ /etc/asterisk/extensions.conf	2010-10-27 11:10:39.000000000 +0300
@@ -42,18 +42,18 @@
 exten => _2[0-2]XX,1,Macro(dial-with-callerid2,SIP/bb/${EXTEN})
 
 [group1]
+include => service
 include => Local
 include => National
 include => International
-include => service
 
 [group2]
+include => service
 include => Local
 include => National
-include => service
 
 [group3]
+include => service
 include => Local
 include => National
 include => International
-include => service
/dev/pts/3
10:08:54
#vi /etc/asterisk/extensions.conf
прошло 19 минут
10:27:59
#vi /etc/asterisk/extensions.conf
/dev/pts/6
10:27:59
#vi /etc/asterisk/extensions.conf
--- /tmp/l3-saved-4090.26382.11355	2010-10-27 11:28:02.000000000 +0300
+++ /etc/asterisk/extensions.conf	2010-10-27 11:32:51.000000000 +0300
@@ -10,6 +10,7 @@
 
 [Local]
 exten => _13XX,1,Dial(SIP/${EXTEN},10)
+exten => _13XX,n,Playback(voicemail-greeting-${EXTEN})
 exten => _13XX,n,Voicemail(${EXTEN}@default)
 exten => _13XX,n,Hangup
 
@@ -20,6 +21,7 @@
 exten => 1399,n,Hangup
 
 exten => 1398,1,VoiceMailMain()
+exten => 1397,n,Record(voicemail-greeting-${CALLERID(number)}:gsm)
 
 [macro-dial-with-callerid]
 exten => s,1,Set(CALLERID(name)="${CALLERID(name)} (Kiev)")
10:34:10
#[ ]

/dev/pts/3
10:34:10
#[ ]

/dev/pts/9
10:36:05
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
[Oct 27 11:56:00] WARNING[5448]: file.c:912 ast_streamfile: Unable to open voicemail-greeting-1302 (format 0x4 (ulaw)): No such file or directory
[Oct 27 11:56:00] WARNING[5448]: app_playback.c:439 playback_exec: ast_streamfile failed on SIP/1301-089d3078 for voicemail-greeting-1302
    -- Executing [1302@group1:3] VoiceMail("SIP/1301-089d3078", "s1302@default") in new stack
[Oct 27 11:56:00] WARNING[5448]: app_voicemail.c:2862 leave_voicemail: No entry in voicemail config file for '1302'
    -- Executing [1302@group1:4] Hangup("SIP/1301-089d3078", "") in new stack
  == Spawn extension (group1, 1302, 4) exited non-zero on 'SIP/1301-089d3078'
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/10
10:36:05
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
[Oct 27 11:56:00] WARNING[5448]: file.c:912 ast_streamfile: Unable to open voicemail-greeting-1302 (format 0x4 (ulaw)): No such file or directory
[Oct 27 11:56:00] WARNING[5448]: app_playback.c:439 playback_exec: ast_streamfile failed on SIP/1301-089d3078 for voicemail-greeting-1302
    -- Executing [1302@group1:3] VoiceMail("SIP/1301-089d3078", "s1302@default") in new stack
[Oct 27 11:56:00] WARNING[5448]: app_voicemail.c:2862 leave_voicemail: No entry in voicemail config file for '1302'
    -- Executing [1302@group1:4] Hangup("SIP/1301-089d3078", "") in new stack
  == Spawn extension (group1, 1302, 4) exited non-zero on 'SIP/1301-089d3078'
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
прошло 16 минут
/dev/pts/3
10:53:00
#[ ]
[Nationa]]
exten => _11XX,1,Macro(dial-with-callerid,SIP/vn/${EXTEN})
exten => _12XX,1,Macro(dial-with-callerid,SIP/vn/${EXTEN})
exten => _14XX,1,Macro(dial-with-callerid,SIP/vn/${EXTEN})
[Local]dial-with-callerid2]
[Local]
exten => s,1,Set(CALLERID(name)="${CALLERID(name)} (Ukraine)")
exten => s,n,Dial(${ARG1})
[       ]
[       ]
...
include => National
include => International
[group2]
include => service
include => Local
include => National
[group3]
include => service
include => Local
include => National                                                                                                                                                                          29,1      Наверху
/dev/pts/6
10:53:00
#[ ]
exten => 1397,n,Record(voicemail-greeting-${CALLERID(number)}:gsm)
[macro-dial-with-callerid]
exten => s,1,Set(CALLERID(name)="${CALLERID(name)} (Kiev)")
exten => s,n,Dial(${ARG1})
[National]
exten => _11XX,1,Macro(dial-with-callerid,SIP/vn/${EXTEN})
exten => _12XX,1,Macro(dial-with-callerid,SIP/vn/${EXTEN})
exten => _14XX,1,Macro(dial-with-callerid,SIP/vn/${EXTEN})
[macro-dial-with-callerid2]
exten => s,1,Set(CALLERID(name)="${CALLERID(name)} (Ukraine)")
...
[Local] => Local
[Local]
include => National
[       ]
[       ]
[                        ]
[                        ]
[        ]
[        ]
                                                                                                                                                                                             29,1      Наверху
/dev/pts/3
10:53:48
#[ ]
[default]
exten => _13XX,1,Dial(SIP/${EXTEN})
exten => _13XXX,1,Dial(SIP/${EXTEN:0:4})
exten => _63XX,1,Wait(2)
exten => _63XX,n,Playback(/tmp/warning1)
exten => _63XX,1,Dial(SIP/13${EXTEN:2})
exten => 1398,1,Record(/tmp/warning1:gsm,,2)
[Local]
exten => _13XX,1,Dial(SIP/${EXTEN},10)
exten => _13XX,n,Playback(voicemail-greeting-${EXTEN})
...
[group1]
include => service
include => Local
[group2]
[group2]=> National
[group3]
[group3]
include => service
include => Local                                                                                                                                                                             60,1      Наверху
include => National
/dev/pts/6
10:53:48
#[ ]
exten => _11XX,1,Macro(dial-with-callerid,SIP/vn/${EXTEN})
exten => _12XX,1,Macro(dial-with-callerid,SIP/vn/${EXTEN})
exten => _14XX,1,Macro(dial-with-callerid,SIP/vn/${EXTEN})
[Local]dial-with-callerid2]
[Local]
exten => s,1,Set(CALLERID(name)="${CALLERID(name)} (Ukraine)")
exten => s,n,Dial(${ARG1})
[       ]
[       ]
[International]
...
[group1]=> service
include => Local
include => National
[group2]
[group2]
[group3]
[group3]=> service
[group3]
include => Local
include => National                                                                                                                                                                          60,1      Наверху
/dev/pts/3
10:56:48
#[ ]
; If you need to have an external program, i.e. /usr/bin/myapp
; called when a voicemail password is changed, uncomment this:
;externpass=/usr/bin/myapp
; For the directory, you can override the intro file if you want
;directoryintro=dir-intro
; The character set for voicemail messages can be specified here
;charset=ISO-8859-1
; The ADSI feature descriptor number to download to
;adsifdn=0000000F
; The ADSI security lock code
...
~
~
~
~
~
~
~
~
~
"/etc/asterisk/voicemail.conf" 253L, 11792C записано
/dev/pts/6
10:56:48
#[ ]
;
; Voicemail Configuration
;
"/etc/asterisk/voicemail.conf" 252L, 11758C
;
; If you need to have an external program, i.e. /usr/bin/myapp
; called when a voicemail is left, delivered, or your voicemailbox
; is checked, uncomment this.  It can also be set to 'smdi' to use
; smdi for external notification.  If it is 'smdi', smdiport should
; be set to a valid port as specified in smdi.conf.
...
~
~
~
~
~
~
~
~
~
"/etc/asterisk/voicemail.conf" 253L, 11792C записано
/dev/pts/3
10:57:17
#vi /etc/asterisk/voicemail.conf
/dev/pts/6
10:57:17
#vi /etc/asterisk/voicemail.conf
--- /tmp/l3-saved-4090.16312.28692	2010-10-27 11:59:03.000000000 +0300
+++ /etc/asterisk/voicemail.conf	2010-10-27 12:01:45.000000000 +0300
@@ -13,7 +13,8 @@
 ; Formats for writing Voicemail.  Note that when using IMAP storage for
 ; voicemail, only the first format specified will be used.
 ;format=g723sf|wav49|wav
-format=wav49|gsm|wav
+;format=wav49|gsm|wav
+format=wav
 ;
 ; WARNING:
 ; If you change the list of formats that you record voicemail in
/dev/pts/9
10:57:24
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
    -- Recording the message
    -- x=0, open writing:  /var/spool/asterisk/voicemail/default/1302/tmp/S7M70q format: wav49, 0x8c99798
    -- x=1, open writing:  /var/spool/asterisk/voicemail/default/1302/tmp/S7M70q format: gsm, 0x8c9a160
    -- x=2, open writing:  /var/spool/asterisk/voicemail/default/1302/tmp/S7M70q format: wav, 0x8c9a4d8
    -- User hung up
  == Spawn extension (group1, 1302, 3) exited non-zero on 'SIP/1301-08c89978'
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/10
10:57:24
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
    -- Recording the message
    -- x=0, open writing:  /var/spool/asterisk/voicemail/default/1302/tmp/S7M70q format: wav49, 0x8c99798
    -- x=1, open writing:  /var/spool/asterisk/voicemail/default/1302/tmp/S7M70q format: gsm, 0x8c9a160
    -- x=2, open writing:  /var/spool/asterisk/voicemail/default/1302/tmp/S7M70q format: wav, 0x8c9a4d8
    -- User hung up
  == Spawn extension (group1, 1302, 3) exited non-zero on 'SIP/1301-08c89978'
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/9
10:59:52
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
    -- <SIP/1301-09b2f9e8> Playing 'beep' (language 'en')
    -- Recording the message
    -- x=0, open writing:  /var/spool/asterisk/voicemail/default/1302/tmp/MsMbrs format: gsm, 0x9b1ec38
[Oct 27 12:00:14] NOTICE[5631]: rtp.c:788 process_rfc3389: Comfort noise support incomplete in Asterisk (RFC 3389). Please turn off on client if possible. Client IP: 192.168.103.200
    -- User hung up
  == Spawn extension (group1, 1302, 3) exited non-zero on 'SIP/1301-09b2f9e8'
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/10
10:59:52
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
    -- <SIP/1301-09b2f9e8> Playing 'beep' (language 'en')
    -- Recording the message
    -- x=0, open writing:  /var/spool/asterisk/voicemail/default/1302/tmp/MsMbrs format: gsm, 0x9b1ec38
[Oct 27 12:00:14] NOTICE[5631]: rtp.c:788 process_rfc3389: Comfort noise support incomplete in Asterisk (RFC 3389). Please turn off on client if possible. Client IP: 192.168.103.200
    -- User hung up
  == Spawn extension (group1, 1302, 3) exited non-zero on 'SIP/1301-09b2f9e8'
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/9
11:01:49
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
[Oct 27 12:07:15] WARNING[5695]: file.c:912 ast_streamfile: Unable to open voicemail-greeting-1398 (format 0x4 (ulaw)): No such file or directory
[Oct 27 12:07:15] WARNING[5695]: app_playback.c:439 playback_exec: ast_streamfile failed on SIP/1301-08eb42d0 for voicemail-greeting-1398
    -- Executing [1398@group1:3] VoiceMail("SIP/1301-08eb42d0", "s1398@default") in new stack
[Oct 27 12:07:15] WARNING[5695]: app_voicemail.c:2862 leave_voicemail: No entry in voicemail config file for '1398'
    -- Executing [1398@group1:4] Hangup("SIP/1301-08eb42d0", "") in new stack
  == Spawn extension (group1, 1398, 4) exited non-zero on 'SIP/1301-08eb42d0'
restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/10
11:01:49
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
[Oct 27 12:07:15] WARNING[5695]: file.c:912 ast_streamfile: Unable to open voicemail-greeting-1398 (format 0x4 (ulaw)): No such file or directory
[Oct 27 12:07:15] WARNING[5695]: app_playback.c:439 playback_exec: ast_streamfile failed on SIP/1301-08eb42d0 for voicemail-greeting-1398
    -- Executing [1398@group1:3] VoiceMail("SIP/1301-08eb42d0", "s1398@default") in new stack
[Oct 27 12:07:15] WARNING[5695]: app_voicemail.c:2862 leave_voicemail: No entry in voicemail config file for '1398'
    -- Executing [1398@group1:4] Hangup("SIP/1301-08eb42d0", "") in new stack
  == Spawn extension (group1, 1398, 4) exited non-zero on 'SIP/1301-08eb42d0'
restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/3
11:10:45
#[ ]
;
; Voicemail Configuration
;
;
; NOTE: Asterisk has to edit this file to change a user's password.  This does
; not currently work with the "#include <file>" directive for Asterisk
; configuration files, nor when using realtime static configuration.
; Do not use them with this configuration file.
;
[general]
...
; is checked, uncomment this.  It can also be set to 'smdi' to use
; smdi for external notification.  If it is 'smdi', smdiport should
; be set to a valid port as specified in smdi.conf.
;externnotify=/usr/bin/myapp
;smdiport=/dev/ttyS0
; If you need to have an external program, i.e. /usr/bin/myapp
; called when a voicemail password is changed, uncomment this:
;externpass=/usr/bin/myapp
; For the directory, you can override the intro file if you want
                                                                                                                                                                                             11,0-1    Наверху
/dev/pts/6
11:10:45
#[ ]
;
; Voicemail Configuration
;
;
; NOTE: Asterisk has to edit this file to change a user's password.  This does
; not currently work with the "#include <file>" directive for Asterisk
; configuration files, nor when using realtime static configuration.
"/etc/asterisk/voicemail.conf" 254L, 11804C
;
; Voicemail Configuration
...
; Silence threshold (what we consider silence: the lower, the more sensitive)
silencethreshold=128
; Max number of failed login attempts
maxlogins=3
;
; User context is where entries from users.conf are registered.  The
; default value is 'default'
;
;userscontext=default
;
/dev/pts/9
11:11:48
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
[Oct 27 12:22:02] WARNING[6184]: file.c:912 ast_streamfile: Unable to open digits/odno (format 0x4 (ulaw)): No such file or directory
  == Spawn extension (group1, 1398, 1) exited non-zero on 'SIP/1301-09dcb918'
[Oct 27 12:22:12] NOTICE[5780]: chan_sip.c:14441 handle_request_invite: Call from '1301' to extension '1' rejected because extension not found.
    -- Executing [1398@group1:1] VoiceMailMain("SIP/1301-09dd2648", "") in new stack
    -- <SIP/1301-09dd2648> Playing 'vm-login' (language 'ru')
[Oct 27 12:22:50] NOTICE[6195]: sched.c:220 ast_sched_add_variable: Scheduled event in 0 ms?
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/10
11:11:48
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
[Oct 27 12:22:02] WARNING[6184]: file.c:912 ast_streamfile: Unable to open digits/odno (format 0x4 (ulaw)): No such file or directory
  == Spawn extension (group1, 1398, 1) exited non-zero on 'SIP/1301-09dcb918'
[Oct 27 12:22:12] NOTICE[5780]: chan_sip.c:14441 handle_request_invite: Call from '1301' to extension '1' rejected because extension not found.
    -- Executing [1398@group1:1] VoiceMailMain("SIP/1301-09dd2648", "") in new stack
    -- <SIP/1301-09dd2648> Playing 'vm-login' (language 'ru')
[Oct 27 12:22:50] NOTICE[6195]: sched.c:220 ast_sched_add_variable: Scheduled event in 0 ms?
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/3
11:13:12
#[ ]
sip.conf         sip.conf.orig    sip_notify.conf
11:13:12
#vi /etc/asterisk/sip
/dev/pts/6
11:13:12
#[ ]
sip.conf         sip.conf.orig    sip_notify.conf
11:13:12
#vi /etc/asterisk/sip
/dev/pts/3
11:13:12
#cat /etc/asterisk/sip.conf.orig | grep lang
;language=en                    ; Default language setting for all users/peers
; language                    language
;language=de                    ; Use German prompts for this user
/dev/pts/6
11:13:12
#cat /etc/asterisk/sip.conf.orig | grep lang
;language=en                    ; Default language setting for all users/peers
; language                    language
;language=de                    ; Use German prompts for this user
/dev/pts/3
11:19:27
#ls /usr/share/asterisk/
firmware/    keys/        moh/         sounds/      static-http/

Файлы

  • /var/log/mail.
  • /var/log/mail.err
  • /var/log/mail.info
  • /var/log/mail.log
  • /var/log/mail.warn
  • /var/log/mail.
    >
    mail.err   mail.info  mail.log   mail.warn
    
    /var/log/mail.err
    >
    Oct 26 17:08:11 linux3 sm-mta[9779]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
    Oct 26 17:09:32 linux3 sm-mta[9901]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 81: unknown configuration line "dnlnl #"
    Oct 26 17:10:52 linux3 sm-mta[10024]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
    Oct 26 17:12:25 linux3 sm-mta[10147]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
    
    /var/log/mail.info
    >
    Oct 26 16:27:20 linux3 sendmail[8111]: alias database /etc/mail/aliases rebuilt by root
    Oct 26 16:27:20 linux3 sendmail[8111]: /etc/mail/aliases: 13 aliases, longest 10 bytes, 142 bytes total
    Oct 26 16:27:20 linux3 sm-mta[8166]: starting daemon (8.14.3): SMTP+queueing@00:10:00
    Oct 26 17:08:11 linux3 sm-mta[9779]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
    Oct 26 17:09:32 linux3 sm-mta[9901]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 81: unknown configuration line "dnlnl #"
    Oct 26 17:10:52 linux3 sm-mta[10024]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
    Oct 26 17:12:25 linux3 sm-mta[10147]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
    Oct 26 17:13:15 linux3 sm-mta[10290]: starting daemon (8.14.3): SMTP+queueing@00:10:00
    Oct 26 17:16:30 linux3 in.qpopper[10467]: Unable to open bulletin directory '/var/spool/popbull': No such file or directory (2) [pop_bull.c:386]
    Oct 26 17:16:30 linux3 in.qpopper[10467]: (v4.0.9) POP login by user "roma" at (192.168.103.2) 192.168.103.2 [pop_log.c:244]
    Oct 26 17:17:04 linux3 sm-mta[10469]: o9QEH3rr010469: ruleset=check_rcpt, arg1=<user@vn.unix.nt>, relay=[192.168.103.2], reject=550 5.7.1 <user@vn.unix.nt>... Relaying denied. IP name lookup failed [192.168.103.2]
    Oct 26 17:17:04 linux3 sm-mta[10469]: o9QEH3rr010469: from=<roma@kv.unix.nt>, size=0, class=0, nrcpts=0, proto=SMTP, daemon=MTA-v4, relay=[192.168.103.2]
    Oct 26 17:18:04 linux3 sm-mta[10576]: starting daemon (8.14.3): SMTP+queueing@00:10:00
    Oct 26 17:18:20 linux3 sm-mta[10601]: o9QEIJla010601: from=<user@vn.unix.nt>, size=1297, class=0, nrcpts=1, msgid=<F863650313E74C42811FCC12AE2FE16F@LocalHost>, proto=ESMTP, daemon=MTA-v4, relay=linux4.unix.nt [192.168.104.1]
    Oct 26 17:18:21 linux3 sm-mta[10602]: o9QEIJla010601: to=<roma@kv.unix.nt>, delay=00:00:01, xdelay=00:00:01, mailer=local, pri=31500, dsn=2.0.0, stat=Sent
    Oct 26 17:18:22 linux3 sm-mta[10600]: o9QEILmK010600: from=<roma@kv.unix.nt>, size=1057, class=0, nrcpts=1, msgid=<000b01cb7518$a5bddee0$0267a8c0@roma>, proto=SMTP, daemon=MTA-v4, relay=[192.168.103.2]
    Oct 26 17:18:23 linux3 sm-mta[10605]: o9QEILmK010600: to=<user@vn.unix.nt>, ctladdr=<roma@kv.unix.nt> (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=121057, relay=linux4.unix.nt. [192.168.104.1], dsn=2.0.0, stat=Sent (o9QEIK78008695 Message accepted for delivery)
    Oct 26 17:18:27 linux3 in.qpopper[10606]: Unable to open bulletin directory '/var/spool/popbull': No such file or directory (2) [pop_bull.c:386]
    Oct 26 17:18:27 linux3 in.qpopper[10606]: (v4.0.9) POP login by user "roma" at (192.168.103.2) 192.168.103.2 [pop_log.c:244]
    Oct 26 17:19:15 linux3 sm-mta[10608]: o9QEJESD010608: from=<roma@kv.unix.nt>, size=1061, class=0, nrcpts=1, msgid=<001801cb7518$c514a300$0267a8c0@roma>, proto=SMTP, daemon=MTA-v4, relay=[192.168.103.2]
    Oct 26 17:19:16 linux3 sm-mta[10610]: o9QEJESD010608: to=<user@vn.unix.nt>, ctladdr=<roma@kv.unix.nt> (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=121061, relay=linux4.unix.nt. [192.168.104.1], dsn=2.0.0, stat=Sent (o9QEJC2T008699 Message accepted for delivery)
    Oct 26 17:20:03 linux3 sm-mta[10611]: o9QEK27Q010611: from=<roma@kv.unix.nt>, size=2053, class=0, nrcpts=1, msgid=<002301cb7518$e1de2c90$0267a8c0@roma>, proto=SMTP, daemon=MTA-v4, relay=[192.168.103.2]
    Oct 26 17:20:04 linux3 sm-mta[10632]: o9QEK27Q010611: to=<user@vn.unix.nt>, ctladdr=<roma@kv.unix.nt> (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=122053, relay=linux4.unix.nt. [192.168.104.1], dsn=2.0.0, stat=Sent (o9QEK18X008703 Message accepted for delivery)
    Oct 26 17:20:27 linux3 sm-mta[10634]: o9QEKQus010634: from=<user@vn.unix.nt>, size=2227, class=0, nrcpts=1, msgid=<6937B60E171243B6BE69EF8416148930@LocalHost>, proto=ESMTP, daemon=MTA-v4, relay=linux4.unix.nt [192.168.104.1]
    Oct 26 17:20:27 linux3 sm-mta[10635]: o9QEKQus010634: to=<roma@kv.unix.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32428, dsn=2.0.0, stat=Sent
    Oct 26 17:20:28 linux3 sm-mta[10633]: o9QEKRxW010633: from=<roma@kv.unix.nt>, size=2053, class=0, nrcpts=1, msgid=<002c01cb7518$f0d580e0$0267a8c0@roma>, proto=SMTP, daemon=MTA-v4, relay=[192.168.103.2]
    Oct 26 17:20:29 linux3 sm-mta[10638]: o9QEKRxW010633: to=<user@vn.unix.nt>, ctladdr=<roma@kv.unix.nt> (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=122053, relay=linux4.unix.nt. [192.168.104.1], dsn=2.0.0, stat=Sent (o9QEKQDH008728 Message accepted for delivery)
    Oct 26 17:21:00 linux3 in.qpopper[10639]: Unable to open bulletin directory '/var/spool/popbull': No such file or directory (2) [pop_bull.c:386]
    Oct 26 17:21:00 linux3 in.qpopper[10639]: (v4.0.9) POP login by user "roma" at (192.168.103.2) 192.168.103.2 [pop_log.c:244]
    Oct 26 17:22:30 linux3 in.qpopper[10755]: user at linux3.unix.nt (192.168.103.1): -ERR [AUTH] Password supplied for "user" is incorrect. [pop_pass.c:1173]
    Oct 26 17:22:30 linux3 in.qpopper[10755]: I/O error flushing output to client user at linux3.unix.nt [192.168.103.1]: Broken pipe (32) [pop_send.c:693]
    Oct 26 17:22:57 linux3 in.qpopper[10764]: Unable to open bulletin directory '/var/spool/popbull': No such file or directory (2) [pop_bull.c:386]
    Oct 26 17:22:57 linux3 in.qpopper[10764]: (v4.0.9) POP login by user "roma" at (linux3.unix.nt) 192.168.103.1 [pop_log.c:244]
    Oct 26 17:23:01 linux3 in.qpopper[10764]: roma at linux3.unix.nt (192.168.103.1): -ERR Message 0 does not exist. [pop_list.c:98]
    Oct 26 17:23:20 linux3 in.qpopper[10764]: roma at linux3.unix.nt (192.168.103.1): -ERR POP EOF or I/O Error [popper.c:828]
    Oct 26 17:23:20 linux3 in.qpopper[10764]: I/O error flushing output to client roma at linux3.unix.nt [192.168.103.1]: Broken pipe (32) [pop_send.c:693]
    Oct 26 17:23:38 linux3 in.qpopper[10780]: roma at 192.168.103.2 (192.168.103.2): -ERR [AUTH] PAM authentication failed for user "roma": Authentication failure (7) [pop_pass.c:532]
    Oct 26 17:23:38 linux3 in.qpopper[10780]: [AUTH] Failed attempted login to roma from host (192.168.103.2) 192.168.103.2 [pop_pass.c:1265]
    Oct 26 17:23:48 linux3 in.qpopper[10781]: Unable to open bulletin directory '/var/spool/popbull': No such file or directory (2) [pop_bull.c:386]
    Oct 26 17:23:48 linux3 in.qpopper[10781]: (v4.0.9) POP login by user "roma" at (192.168.103.2) 192.168.103.2 [pop_log.c:244]
    Oct 26 17:25:00 linux3 in.qpopper[10826]: Unable to open bulletin directory '/var/spool/popbull': No such file or directory (2) [pop_bull.c:386]
    Oct 26 17:25:00 linux3 in.qpopper[10826]: (v4.0.9) POP login by user "roma" at (192.168.103.2) 192.168.103.2 [pop_log.c:244]
    Oct 26 17:25:28 linux3 sm-mta[10828]: o9QEPSCY010828: rejecting commands from [192.168.103.2] [192.168.103.2] due to pre-greeting traffic after 0 seconds
    Oct 26 17:25:34 linux3 in.qpopper[10829]: (null) at 192.168.103.2 (192.168.103.2): -ERR Too few arguments for the user command. [pop_get_command.c:124]
    Oct 26 17:26:21 linux3 in.qpopper[10829]: (null) at 192.168.103.2 (192.168.103.2): -ERR POP EOF or I/O Error [popper.c:828]
    Oct 26 17:26:56 linux3 sm-mta[10840]: o9QEQtas010840: from=<roma@kv.unix.nt>, size=1059, class=0, nrcpts=1, msgid=<005c01cb7519$d82cadb0$0267a8c0@roma>, proto=SMTP, daemon=MTA-v4, relay=[192.168.103.2]
    Oct 26 17:26:57 linux3 sm-mta[10842]: o9QEQtas010840: to=<admina@rv.unix.nt>, ctladdr=<roma@kv.unix.nt> (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=121059, relay=linux2.unix.nt. [192.168.102.1], dsn=2.0.0, stat=Sent (o9QEQvvK011251 Message accepted for delivery)
    Oct 26 17:27:51 linux3 sm-mta[10843]: o9QERowQ010843: from=<roma@kv.unix.nt>, size=1060, class=0, nrcpts=1, msgid=<006701cb7519$f8f50330$0267a8c0@roma>, proto=SMTP, daemon=MTA-v4, relay=[192.168.103.2]
    Oct 26 17:27:52 linux3 sm-mta[10845]: o9QERowQ010843: to=<altvnk@kzn.unix.nt>, ctladdr=<roma@kv.unix.nt> (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=121060, relay=linux6.unix.nt. [192.168.106.1], dsn=2.0.0, stat=Sent (o9QERqa2008303 Message accepted for delivery)
    Oct 26 17:29:37 linux3 in.qpopper[10921]: Unable to open bulletin directory '/var/spool/popbull': No such file or directory (2) [pop_bull.c:386]
    Oct 26 17:29:37 linux3 in.qpopper[10921]: (v4.0.9) POP login by user "roma" at (192.168.103.2) 192.168.103.2 [pop_log.c:244]
    
    /var/log/mail.log
    >
    Oct 26 16:27:20 linux3 sendmail[8111]: alias database /etc/mail/aliases rebuilt by root
    Oct 26 16:27:20 linux3 sendmail[8111]: /etc/mail/aliases: 13 aliases, longest 10 bytes, 142 bytes total
    Oct 26 16:27:20 linux3 sm-mta[8166]: starting daemon (8.14.3): SMTP+queueing@00:10:00
    Oct 26 17:08:11 linux3 sm-mta[9779]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
    Oct 26 17:09:32 linux3 sm-mta[9901]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 81: unknown configuration line "dnlnl #"
    Oct 26 17:10:52 linux3 sm-mta[10024]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
    Oct 26 17:12:25 linux3 sm-mta[10147]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
    Oct 26 17:13:15 linux3 sm-mta[10290]: starting daemon (8.14.3): SMTP+queueing@00:10:00
    Oct 26 17:16:30 linux3 in.qpopper[10467]: (v4.0.9) Unable to get canonical name of client 192.168.103.2: Name or service not known (-2) [pop_init.c:1250]
    Oct 26 17:16:30 linux3 in.qpopper[10467]: (v4.0.9) Servicing request from "192.168.103.2" at 192.168.103.2 [pop_init.c:1408]
    Oct 26 17:16:30 linux3 in.qpopper[10467]: Unable to open bulletin directory '/var/spool/popbull': No such file or directory (2) [pop_bull.c:386]
    Oct 26 17:16:30 linux3 in.qpopper[10467]: (v4.0.9) POP login by user "roma" at (192.168.103.2) 192.168.103.2 [pop_log.c:244]
    Oct 26 17:17:04 linux3 sm-mta[10469]: o9QEH3rr010469: ruleset=check_rcpt, arg1=<user@vn.unix.nt>, relay=[192.168.103.2], reject=550 5.7.1 <user@vn.unix.nt>... Relaying denied. IP name lookup failed [192.168.103.2]
    Oct 26 17:17:04 linux3 sm-mta[10469]: o9QEH3rr010469: from=<roma@kv.unix.nt>, size=0, class=0, nrcpts=0, proto=SMTP, daemon=MTA-v4, relay=[192.168.103.2]
    Oct 26 17:18:04 linux3 sm-mta[10576]: starting daemon (8.14.3): SMTP+queueing@00:10:00
    Oct 26 17:18:20 linux3 sm-mta[10601]: o9QEIJla010601: from=<user@vn.unix.nt>, size=1297, class=0, nrcpts=1, msgid=<F863650313E74C42811FCC12AE2FE16F@LocalHost>, proto=ESMTP, daemon=MTA-v4, relay=linux4.unix.nt [192.168.104.1]
    Oct 26 17:18:21 linux3 sm-mta[10602]: o9QEIJla010601: to=<roma@kv.unix.nt>, delay=00:00:01, xdelay=00:00:01, mailer=local, pri=31500, dsn=2.0.0, stat=Sent
    Oct 26 17:18:22 linux3 sm-mta[10600]: o9QEILmK010600: from=<roma@kv.unix.nt>, size=1057, class=0, nrcpts=1, msgid=<000b01cb7518$a5bddee0$0267a8c0@roma>, proto=SMTP, daemon=MTA-v4, relay=[192.168.103.2]
    Oct 26 17:18:23 linux3 sm-mta[10605]: o9QEILmK010600: to=<user@vn.unix.nt>, ctladdr=<roma@kv.unix.nt> (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=121057, relay=linux4.unix.nt. [192.168.104.1], dsn=2.0.0, stat=Sent (o9QEIK78008695 Message accepted for delivery)
    Oct 26 17:18:27 linux3 in.qpopper[10606]: (v4.0.9) Unable to get canonical name of client 192.168.103.2: Name or service not known (-2) [pop_init.c:1250]
    Oct 26 17:18:27 linux3 in.qpopper[10606]: (v4.0.9) Servicing request from "192.168.103.2" at 192.168.103.2 [pop_init.c:1408]
    Oct 26 17:18:27 linux3 in.qpopper[10606]: Unable to open bulletin directory '/var/spool/popbull': No such file or directory (2) [pop_bull.c:386]
    Oct 26 17:18:27 linux3 in.qpopper[10606]: (v4.0.9) POP login by user "roma" at (192.168.103.2) 192.168.103.2 [pop_log.c:244]
    Oct 26 17:19:15 linux3 sm-mta[10608]: o9QEJESD010608: from=<roma@kv.unix.nt>, size=1061, class=0, nrcpts=1, msgid=<001801cb7518$c514a300$0267a8c0@roma>, proto=SMTP, daemon=MTA-v4, relay=[192.168.103.2]
    Oct 26 17:19:16 linux3 sm-mta[10610]: o9QEJESD010608: to=<user@vn.unix.nt>, ctladdr=<roma@kv.unix.nt> (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=121061, relay=linux4.unix.nt. [192.168.104.1], dsn=2.0.0, stat=Sent (o9QEJC2T008699 Message accepted for delivery)
    Oct 26 17:20:03 linux3 sm-mta[10611]: o9QEK27Q010611: from=<roma@kv.unix.nt>, size=2053, class=0, nrcpts=1, msgid=<002301cb7518$e1de2c90$0267a8c0@roma>, proto=SMTP, daemon=MTA-v4, relay=[192.168.103.2]
    Oct 26 17:20:04 linux3 sm-mta[10632]: o9QEK27Q010611: to=<user@vn.unix.nt>, ctladdr=<roma@kv.unix.nt> (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=122053, relay=linux4.unix.nt. [192.168.104.1], dsn=2.0.0, stat=Sent (o9QEK18X008703 Message accepted for delivery)
    Oct 26 17:20:27 linux3 sm-mta[10634]: o9QEKQus010634: from=<user@vn.unix.nt>, size=2227, class=0, nrcpts=1, msgid=<6937B60E171243B6BE69EF8416148930@LocalHost>, proto=ESMTP, daemon=MTA-v4, relay=linux4.unix.nt [192.168.104.1]
    Oct 26 17:20:27 linux3 sm-mta[10635]: o9QEKQus010634: to=<roma@kv.unix.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32428, dsn=2.0.0, stat=Sent
    Oct 26 17:20:28 linux3 sm-mta[10633]: o9QEKRxW010633: from=<roma@kv.unix.nt>, size=2053, class=0, nrcpts=1, msgid=<002c01cb7518$f0d580e0$0267a8c0@roma>, proto=SMTP, daemon=MTA-v4, relay=[192.168.103.2]
    Oct 26 17:20:29 linux3 sm-mta[10638]: o9QEKRxW010633: to=<user@vn.unix.nt>, ctladdr=<roma@kv.unix.nt> (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=122053, relay=linux4.unix.nt. [192.168.104.1], dsn=2.0.0, stat=Sent (o9QEKQDH008728 Message accepted for delivery)
    Oct 26 17:21:00 linux3 in.qpopper[10639]: (v4.0.9) Unable to get canonical name of client 192.168.103.2: Name or service not known (-2) [pop_init.c:1250]
    Oct 26 17:21:00 linux3 in.qpopper[10639]: (v4.0.9) Servicing request from "192.168.103.2" at 192.168.103.2 [pop_init.c:1408]
    Oct 26 17:21:00 linux3 in.qpopper[10639]: Unable to open bulletin directory '/var/spool/popbull': No such file or directory (2) [pop_bull.c:386]
    Oct 26 17:21:00 linux3 in.qpopper[10639]: (v4.0.9) POP login by user "roma" at (192.168.103.2) 192.168.103.2 [pop_log.c:244]
    Oct 26 17:22:14 linux3 in.qpopper[10755]: (v4.0.9) Servicing request from "linux3.unix.nt" at 192.168.103.1 [pop_init.c:1408]
    Oct 26 17:22:22 linux3 in.qpopper[10764]: (v4.0.9) Servicing request from "linux3.unix.nt" at 192.168.103.1 [pop_init.c:1408]
    Oct 26 17:22:30 linux3 in.qpopper[10755]: user at linux3.unix.nt (192.168.103.1): -ERR [AUTH] Password supplied for "user" is incorrect. [pop_pass.c:1173]
    Oct 26 17:22:30 linux3 in.qpopper[10755]: I/O error flushing output to client user at linux3.unix.nt [192.168.103.1]: Broken pipe (32) [pop_send.c:693]
    Oct 26 17:22:57 linux3 in.qpopper[10764]: Unable to open bulletin directory '/var/spool/popbull': No such file or directory (2) [pop_bull.c:386]
    Oct 26 17:22:57 linux3 in.qpopper[10764]: (v4.0.9) POP login by user "roma" at (linux3.unix.nt) 192.168.103.1 [pop_log.c:244]
    Oct 26 17:23:01 linux3 in.qpopper[10764]: roma at linux3.unix.nt (192.168.103.1): -ERR Message 0 does not exist. [pop_list.c:98]
    Oct 26 17:23:20 linux3 in.qpopper[10764]: roma at linux3.unix.nt (192.168.103.1): -ERR POP EOF or I/O Error [popper.c:828]
    Oct 26 17:23:20 linux3 in.qpopper[10764]: I/O error flushing output to client roma at linux3.unix.nt [192.168.103.1]: Broken pipe (32) [pop_send.c:693]
    Oct 26 17:23:26 linux3 in.qpopper[10780]: (v4.0.9) Unable to get canonical name of client 192.168.103.2: Name or service not known (-2) [pop_init.c:1250]
    Oct 26 17:23:26 linux3 in.qpopper[10780]: (v4.0.9) Servicing request from "192.168.103.2" at 192.168.103.2 [pop_init.c:1408]
    Oct 26 17:23:38 linux3 in.qpopper[10780]: roma at 192.168.103.2 (192.168.103.2): -ERR [AUTH] PAM authentication failed for user "roma": Authentication failure (7) [pop_pass.c:532]
    Oct 26 17:23:38 linux3 in.qpopper[10780]: [AUTH] Failed attempted login to roma from host (192.168.103.2) 192.168.103.2 [pop_pass.c:1265]
    Oct 26 17:23:48 linux3 in.qpopper[10781]: (v4.0.9) Unable to get canonical name of client 192.168.103.2: Name or service not known (-2) [pop_init.c:1250]
    Oct 26 17:23:48 linux3 in.qpopper[10781]: (v4.0.9) Servicing request from "192.168.103.2" at 192.168.103.2 [pop_init.c:1408]
    Oct 26 17:23:48 linux3 in.qpopper[10781]: Unable to open bulletin directory '/var/spool/popbull': No such file or directory (2) [pop_bull.c:386]
    Oct 26 17:23:48 linux3 in.qpopper[10781]: (v4.0.9) POP login by user "roma" at (192.168.103.2) 192.168.103.2 [pop_log.c:244]
    Oct 26 17:25:00 linux3 in.qpopper[10826]: (v4.0.9) Unable to get canonical name of client 192.168.103.2: Name or service not known (-2) [pop_init.c:1250]
    Oct 26 17:25:00 linux3 in.qpopper[10826]: (v4.0.9) Servicing request from "192.168.103.2" at 192.168.103.2 [pop_init.c:1408]
    Oct 26 17:25:00 linux3 in.qpopper[10826]: Unable to open bulletin directory '/var/spool/popbull': No such file or directory (2) [pop_bull.c:386]
    Oct 26 17:25:00 linux3 in.qpopper[10826]: (v4.0.9) POP login by user "roma" at (192.168.103.2) 192.168.103.2 [pop_log.c:244]
    Oct 26 17:25:28 linux3 sm-mta[10828]: o9QEPSCY010828: rejecting commands from [192.168.103.2] [192.168.103.2] due to pre-greeting traffic after 0 seconds
    Oct 26 17:25:34 linux3 in.qpopper[10829]: (v4.0.9) Unable to get canonical name of client 192.168.103.2: Name or service not known (-2) [pop_init.c:1250]
    Oct 26 17:25:34 linux3 in.qpopper[10829]: (v4.0.9) Servicing request from "192.168.103.2" at 192.168.103.2 [pop_init.c:1408]
    Oct 26 17:25:34 linux3 in.qpopper[10829]: (null) at 192.168.103.2 (192.168.103.2): -ERR Too few arguments for the user command. [pop_get_command.c:124]
    Oct 26 17:26:21 linux3 in.qpopper[10829]: (null) at 192.168.103.2 (192.168.103.2): -ERR POP EOF or I/O Error [popper.c:828]
    Oct 26 17:26:56 linux3 sm-mta[10840]: o9QEQtas010840: from=<roma@kv.unix.nt>, size=1059, class=0, nrcpts=1, msgid=<005c01cb7519$d82cadb0$0267a8c0@roma>, proto=SMTP, daemon=MTA-v4, relay=[192.168.103.2]
    Oct 26 17:26:57 linux3 sm-mta[10842]: o9QEQtas010840: to=<admina@rv.unix.nt>, ctladdr=<roma@kv.unix.nt> (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=121059, relay=linux2.unix.nt. [192.168.102.1], dsn=2.0.0, stat=Sent (o9QEQvvK011251 Message accepted for delivery)
    Oct 26 17:27:51 linux3 sm-mta[10843]: o9QERowQ010843: from=<roma@kv.unix.nt>, size=1060, class=0, nrcpts=1, msgid=<006701cb7519$f8f50330$0267a8c0@roma>, proto=SMTP, daemon=MTA-v4, relay=[192.168.103.2]
    Oct 26 17:27:52 linux3 sm-mta[10845]: o9QERowQ010843: to=<altvnk@kzn.unix.nt>, ctladdr=<roma@kv.unix.nt> (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=121060, relay=linux6.unix.nt. [192.168.106.1], dsn=2.0.0, stat=Sent (o9QERqa2008303 Message accepted for delivery)
    
    /var/log/mail.warn
    >
    Oct 26 17:08:11 linux3 sm-mta[9779]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
    Oct 26 17:09:32 linux3 sm-mta[9901]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 81: unknown configuration line "dnlnl #"
    Oct 26 17:10:52 linux3 sm-mta[10024]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
    Oct 26 17:12:25 linux3 sm-mta[10147]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 80: unknown configuration line "dnlnl #"
    

    Статистика

    Время первой команды журнала16:21:50 2010-10-26
    Время последней команды журнала11:19:27 2010-10-27
    Количество командных строк в журнале101
    Процент команд с ненулевым кодом завершения, %19.80
    Процент синтаксически неверно набранных команд, % 1.98
    Суммарное время работы с терминалом *, час 1.97
    Количество командных строк в единицу времени, команда/мин 0.86
    Частота использования команд
    asterisk20|===================| 19.42%
    vi16|===============| 15.53%
    cat14|=============| 13.59%
    host13|============| 12.62%
    [12|===========| 11.65%
    ping6|=====| 5.83%
    tail4|===| 3.88%
    nc3|==| 2.91%
    /etc/init.d/openbsd-inetd2|=| 1.94%
    service2|=| 1.94%
    cp2|=| 1.94%
    host192.168.103.22|=| 1.94%
    ~2|=| 1.94%
    grep2|=| 1.94%
    init2|=| 1.94%
    ls1|| 0.97%
    ____
    *) Интервалы неактивности длительностью 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$