/l3/users/Sergey-Ma/nt-voip-2014-apr/debian8/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 |
|
#ls /var/spool/asterisk/monitor/32*
/var/spool/asterisk/monitor/3201-1101-1398340065.wav /var/spool/asterisk/monitor/3201-1201-1398339902.wav /var/spool/asterisk/monitor/3201-1201-1398340556.wav /var/spool/asterisk/monitor/3201-2201-1398339868.wav /var/spool/asterisk/monitor/3201-3101-1398335354.wav /var/spool/asterisk/monitor/3201-3101-2014-04-25-09:50:23.wav /var/spool/asterisk/monitor/3201-3201-1398335230.wav /var/spool/asterisk/monitor/3201-3201-1398335237.wav /var/spool/asterisk/monitor/3201-3201-1398335277.wav /var/spool/asterisk/monitor/3201-3201-1398337395.wav ... /var/spool/asterisk/monitor/3201-3202-1398337641.wav /var/spool/asterisk/monitor/3201-3301-1398340066.wav /var/spool/asterisk/monitor/3201-3301-1398340090.wav /var/spool/asterisk/monitor/3202-3201-1398326808.wav /var/spool/asterisk/monitor/3202-3201-1398333491.wav /var/spool/asterisk/monitor/3202-3201-1398335253.wav /var/spool/asterisk/monitor/3202-3201-1398335307.wav /var/spool/asterisk/monitor/3202-3201-1398337620.wav /var/spool/asterisk/monitor/3203-3201-2014-04-25-09:49:23.wav /var/spool/asterisk/monitor/3255-3201-1398333530.wav |
#ls /var/spool/asterisk/monitor/32*
/var/spool/asterisk/monitor/3201-1101-1398340065.wav /var/spool/asterisk/monitor/3201-1201-1398339902.wav /var/spool/asterisk/monitor/3201-1201-1398340556.wav /var/spool/asterisk/monitor/3201-2201-1398339868.wav /var/spool/asterisk/monitor/3201-3101-1398335354.wav /var/spool/asterisk/monitor/3201-3101-2014-04-25-09:50:23.wav /var/spool/asterisk/monitor/3201-3201-1398335230.wav /var/spool/asterisk/monitor/3201-3201-1398335237.wav /var/spool/asterisk/monitor/3201-3201-1398335277.wav /var/spool/asterisk/monitor/3201-3201-1398337395.wav ... /var/spool/asterisk/monitor/3201-3202-1398337641.wav /var/spool/asterisk/monitor/3201-3301-1398340066.wav /var/spool/asterisk/monitor/3201-3301-1398340090.wav /var/spool/asterisk/monitor/3202-3201-1398326808.wav /var/spool/asterisk/monitor/3202-3201-1398333491.wav /var/spool/asterisk/monitor/3202-3201-1398335253.wav /var/spool/asterisk/monitor/3202-3201-1398335307.wav /var/spool/asterisk/monitor/3202-3201-1398337620.wav /var/spool/asterisk/monitor/3203-3201-2014-04-25-09:49:23.wav /var/spool/asterisk/monitor/3255-3201-1398333530.wav |
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-7112.29147.4479 2014-04-25 10:04:08.174491130 +0300 +++ /etc/asterisk/extensions.conf 2014-04-25 10:04:51.470490675 +0300 @@ -7,7 +7,7 @@ ; ${STRFTIME(${EPOCH},Europe/Kiev,"%Y-%m-%d-%H:%M:%S")} exten=>s,1,Answer -exten=>s,n,Set(CALLFILENAME=${MACRO_EXTEN}-${CALLERID(num)- ${STRFTIME(${EPOCH},Europe/Kiev,"%Y-%m-%d-%H:%M:%S")}) +exten=>s,n,Set(CALLFILENAME=${MACRO_EXTEN}-${CALLERID(num)}- ${STRFTIME(${EPOCH},Europe/Kiev,"%Y-%m-%d-%H:%M:%S")}) exten=>s,n,Monitor(wav,${CALLFILENAME},m) exten=>s,n,Dial(${ARG1}) |
#/usr/local/bin/restart-samba :q
l3script: /usr/local/bin/restart-samba: /bash/sh: bad interpreter: No such file or directory |
#/usr/local/bin/restart-samba :q
l3script: /usr/local/bin/restart-samba: /bash/sh: bad interpreter: No such file or directory |
#vim /etc/sudoers
--- /tmp/l3-saved-7112.6783.10851 2014-04-25 10:12:48.926485599 +0300 +++ /etc/sudoers 2014-04-25 10:14:14.990484681 +0300 @@ -19,6 +19,10 @@ # User privilege specification root ALL=(ALL:ALL) ALL +asterisk ALL=(ALL:ALL) /usr/local/bin/restart-samba + + + # Allow members of group sudo to execute any command %sudo ALL=(ALL:ALL) ALL |
#cat /var/log/
alternatives.log dmesg.1.gz mail.err speech-dispatcher/ apt/ dpkg.log mail.info syslog aptitude exim4/ mail.log syslog.1 asterisk/ faillog mail.warn syslog.2.gz auth.log fontconfig.log messages syslog.3.gz btmp fsck/ news/ unattended-upgrades/ ConsoleKit/ gdm3/ pm-powersave.log user.log daemon.log installer/ popularity-contest wtmp debug kern.log popularity-contest.0 Xorg.0.log dmesg lastlog popularity-contest.1.gz Xorg.0.log.old dmesg.0 lpr.log samba/ |
#cat /var/log/
alternatives.log dmesg.1.gz mail.err speech-dispatcher/ apt/ dpkg.log mail.info syslog aptitude exim4/ mail.log syslog.1 asterisk/ faillog mail.warn syslog.2.gz auth.log fontconfig.log messages syslog.3.gz btmp fsck/ news/ unattended-upgrades/ ConsoleKit/ gdm3/ pm-powersave.log user.log daemon.log installer/ popularity-contest wtmp debug kern.log popularity-contest.0 Xorg.0.log dmesg lastlog popularity-contest.1.gz Xorg.0.log.old dmesg.0 lpr.log samba/ |
#cat /var/log/s
samba/ syslog syslog.2.gz speech-dispatcher/ syslog.1 syslog.3.gz |
#cat /var/log/samba/
cores/ log.192.168.12.108 log.debian8 log.smbd log.____________ log.192.168.12.254 log.luakyid1063 log.teach log.192.168.12.107 log.192.168.12.8 log.nmbd |
#cat /var/log/s
samba/ syslog syslog.2.gz speech-dispatcher/ syslog.1 syslog.3.gz |
#cat /var/log/samba/
cores/ log.192.168.12.108 log.debian8 log.smbd log.____________ log.192.168.12.254 log.luakyid1063 log.teach log.192.168.12.107 log.192.168.12.8 log.nmbd |
#cat /var/log/samba/log.smbd
[2014/04/24 11:54:46, 0] smbd/server.c:1053(main) smbd version 3.6.6 started. Copyright Andrew Tridgell and the Samba Team 1992-2011 [2014/04/24 11:54:48.581779, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 11:54:48.581873, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 11:55:48.584387, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 11:55:48.584493, 0] printing/print_cups.c:487(cups_async_callback) ... smbd version 3.6.6 started. Copyright Andrew Tridgell and the Samba Team 1992-2011 [2014/04/25 10:21:48.611853, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 10:21:48.612010, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 10:22:48.673697, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 10:22:48.673839, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL |
#cat /var/log/samba/log.smbd
[2014/04/24 11:54:46, 0] smbd/server.c:1053(main) smbd version 3.6.6 started. Copyright Andrew Tridgell and the Samba Team 1992-2011 [2014/04/24 11:54:48.581779, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 11:54:48.581873, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 11:55:48.584387, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 11:55:48.584493, 0] printing/print_cups.c:487(cups_async_callback) ... smbd version 3.6.6 started. Copyright Andrew Tridgell and the Samba Team 1992-2011 [2014/04/25 10:21:48.611853, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 10:21:48.612010, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 10:22:48.673697, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 10:22:48.673839, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL |
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-7112.28367.8096 2014-04-25 10:32:28.006473057 +0300 +++ /etc/asterisk/extensions.conf 2014-04-25 10:32:44.686472875 +0300 @@ -96,7 +96,7 @@ exten=>8103,1,AGI(/usr/local/bin/asterisk-festival.pl,Я рад вас слышать. Добрый день) -exten =>8104,1,System(/usr/local/bin/restart-samba) +exten =>8104,1,System(sudo usr/local/bin/restart-samba) ;exten=> 8100,1,VoiceMailMain() |
#/etc/init.d/samba status
nmbd is not running ... failed! smbd is not running ... failed! |
#/etc/init.d/samba status
nmbd is not running ... failed! smbd is not running ... failed! |
#/etc/init.d/samba status
nmbd is not running ... failed! smbd is not running ... failed! |
#/etc/init.d/samba status
nmbd is not running ... failed! smbd is not running ... failed! |
#/etc/init.d/samba status
nmbd is not running ... failed! smbd is not running ... failed! |
#/etc/init.d/samba status
nmbd is not running ... failed! smbd is not running ... failed! |
#/etc/init.d/samba status
nmbd is not running ... failed! smbd is not running ... failed! |
#/etc/init.d/samba status
nmbd is not running ... failed! smbd is not running ... failed! |
#/etc/init.d/samba status
nmbd is not running ... failed! smbd is not running ... failed! |
#/etc/init.d/samba status
nmbd is not running ... failed! smbd is not running ... failed! |
#/etc/init.d/samba status
nmbd is not running ... failed! smbd is not running ... failed! |
#/etc/init.d/samba status
nmbd is not running ... failed! smbd is not running ... failed! |
#Please consider adding local content in /etc/sudoers.d/ instead of
total 60 drwxrwsr-x 2 root staff 4096 Apr 25 10:40 . drwxrwsr-x 10 root staff 4096 Apr 22 12:10 .. -rwxr-xr-x 1 root staff 702 Apr 24 16:11 asterisk-festival.pl -rwxr-xr-x 1 root staff 152 Apr 24 17:29 jabber-send -rwxr-xr-x 1 root staff 33439 Apr 22 14:12 l3-agent -rwxr-xr-x 1 root staff 100 Apr 22 14:12 l3-config lrwxrwxrwx 1 root staff 9 Apr 22 13:58 l3script -> /bin/bash -rwxr-xr-x 1 asterisk asterisk 132 Apr 25 10:21 restart-samba |
#Please consider adding local content in /etc/sudoers.d/ instead of
total 60 drwxrwsr-x 2 root staff 4096 Apr 25 10:40 . drwxrwsr-x 10 root staff 4096 Apr 22 12:10 .. -rwxr-xr-x 1 root staff 702 Apr 24 16:11 asterisk-festival.pl -rwxr-xr-x 1 root staff 152 Apr 24 17:29 jabber-send -rwxr-xr-x 1 root staff 33439 Apr 22 14:12 l3-agent -rwxr-xr-x 1 root staff 100 Apr 22 14:12 l3-config lrwxrwxrwx 1 root staff 9 Apr 22 13:58 l3script -> /bin/bash -rwxr-xr-x 1 asterisk asterisk 132 Apr 25 10:21 restart-samba |
#/etc/init.d/samba status
nmbd is not running ... failed! smbd is not running ... failed! |
#/etc/init.d/samba status
nmbd is not running ... failed! smbd is not running ... failed! |
#/etc/init.d/samba status
nmbd is running. smbd is running. |
#; 8024=> Will be send soon
[havana] type=friend secret=1234 host=dynamic username=santiago ; my username- local from which I call context=gr_relay |
#; 8024=> Will be send soon
[general] "/etc/asterisk/sip.conf" 46L, 511C [havana] type=friend secret=1234 host=dynamic username=santiago ; my username- local from which I call context=gr_relay |
#~
exten=>8100,n,NoOp(COUNTRY=${COUNTRY}) ;GotoIf ( $[ condition? label-true : label-false ] ) exten=>8100,n,GotoIf($[${COUNTRY}=1]?ru) exten=>8100,n,GotoIf($[${COUNTRY}=3]?ru) exten=> 8100,n(ru),Set(CHANNEL(language)=ru) exten=>8100,n,Goto(vm) exten=>8100,n(de),Set(CHANNEL(language)=de) exten=>8100,n,Goto(vm) exten=>8100,n(es),Set(CHANNEL(language)=es) exten=>8100,n,Goto(vm) exten=>8100,n,GotoIf($[${COUNTRY}=2]?de) 86,0-1 35% |
#~
exten=>8100,n,NoOp(COUNTRY=${COUNTRY}) ;GotoIf ( $[ condition? label-true : label-false ] ) exten=>8100,n,GotoIf($[${COUNTRY}=1]?ru) exten=>8100,n,GotoIf($[${COUNTRY}=3]?ru) exten=> 8100,n(ru),Set(CHANNEL(language)=ru) exten=>8100,n,Goto(vm) exten=>8100,n(de),Set(CHANNEL(language)=de) exten=>8100,n,Goto(vm) exten=>8100,n(es),Set(CHANNEL(language)=es) exten=>8100,n,Goto(vm) exten=>8100,n,GotoIf($[${COUNTRY}=2]?de) 86,0-1 35% |
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-7112.5654.23483 2014-04-25 11:48:20.354424643 +0300 +++ /etc/asterisk/extensions.conf 2014-04-25 11:51:54.342422364 +0300 @@ -106,7 +106,7 @@ exten=>8105,n,Read(ORDER_ID,/var/tmp/asterisk/message20) exten=>8105,n,Playback(/var/tmp/asterisk/message21) exten=>8105,n,SayDigits(${ORDER_ID}) -exten=>8105,n,Playback(/var/tmp/asterisk/message24) +exten=>8105,n,Playback(/var/tmp/asterisk/message2${DB(order/${ORDER_ID})}) |
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-7112.31932.24785 2014-04-25 11:54:20.466420819 +0300 +++ /etc/asterisk/extensions.conf 2014-04-25 12:03:18.906415085 +0300 @@ -100,14 +100,19 @@ ; 8021 => order with # ; 8022 => Delievered ; 8023 => Has been send -; 8024=> Will be send soon +; 8024 => Will be send soon +; 8025 => Not found + exten=>8105,1,Answer exten=>8105,n,Read(ORDER_ID,/var/tmp/asterisk/message20) exten=>8105,n,Playback(/var/tmp/asterisk/message21) exten=>8105,n,SayDigits(${ORDER_ID}) +exten=>8105,n,GotoIf($[$DB(order/${ORDER_ID})}=""]?not_found) exten=>8105,n,Playback(/var/tmp/asterisk/message2${DB(order/${ORDER_ID})}) - +exten=>8105,n,Hangup +exten=>8105,n(not_found),Playback(/vasr/tmp/asterisk/message25) +exten=>8105,n,Hangup |
#asterisk -rvvvvvvv
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian8 (pid = 2622) ... [Apr 25 12:05:44] WARNING[19076]: app_playback.c:475 playback_exec: ast_streamfile failed on SIP/3201-000000c2 for /var/tmp/asterisk/message2 -- Executing [8105@gr1:7] Hangup("SIP/3201-000000c2", "") in new stack == Spawn extension (gr1, 8105, 7) exited non-zero on 'SIP/3201-000000c2' -- Executing [h@gr1:1] Playback("SIP/3201-000000c2", "/var/tmp/asterisk/message") in new stack [Apr 25 12:05:44] WARNING[19076]: file.c:766 ast_readaudio_callback: Failed to write frame -- <SIP/3201-000000c2> Playing '/var/tmp/asterisk/message.gsm' (language 'ru') [Apr 25 12:05:44] WARNING[19076]: app_playback.c:475 playback_exec: ast_streamfile failed on SIP/3201-000000c2 for /var/tmp/asterisk/message -- Remote UNIX connection disconnected debian8*CLI> quit Executing last minute cleanups |
#asterisk -rvvvvvvv
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian8 (pid = 2622) ... [Apr 25 12:05:44] WARNING[19076]: app_playback.c:475 playback_exec: ast_streamfile failed on SIP/3201-000000c2 for /var/tmp/asterisk/message2 -- Executing [8105@gr1:7] Hangup("SIP/3201-000000c2", "") in new stack == Spawn extension (gr1, 8105, 7) exited non-zero on 'SIP/3201-000000c2' -- Executing [h@gr1:1] Playback("SIP/3201-000000c2", "/var/tmp/asterisk/message") in new stack [Apr 25 12:05:44] WARNING[19076]: file.c:766 ast_readaudio_callback: Failed to write frame -- <SIP/3201-000000c2> Playing '/var/tmp/asterisk/message.gsm' (language 'ru') [Apr 25 12:05:44] WARNING[19076]: app_playback.c:475 playback_exec: ast_streamfile failed on SIP/3201-000000c2 for /var/tmp/asterisk/message -- Remote UNIX connection disconnected debian8*CLI> quit Executing last minute cleanups |
#{DIALSTATUS},1)
; 8023 => Has been send ; 8024 => Will be send soon ; 8025 => Not found exten=>8105,1,Answer exten=>8105,n,Read(ORDER_ID,/var/tmp/asterisk/message20) exten=>8105,n,Playback(/var/tmp/asterisk/message21) exten=>8105,n,SayDigits(${ORDER_ID}) exten=>8105,n,GotoIf($[$DB(order/${ORDER_ID})}=""]?not_found) exten=>8105,n,Playback(/var/tmp/asterisk/message2${DB(order/${ORDER_ID})}) ; 8023 => Has been send ... exten=>8105,n,Read(ORDER_ID,/var/tmp/asterisk/message20) exten=>8105,n,Playback(/var/tmp/asterisk/message21) exten=>8105,n,SayDigits(${ORDER_ID}) ;exten=> 8100,1,VoiceMailMain() exten=>8105,n,GotoIf($[$DB(order/${ORDER_ID})}=""]?not_found) exten=>8105,n,Playback(/var/tmp/asterisk/message2${DB(order/${ORDER_ID})}) ;${VARIABLE:start:lenght} exten=>8105,n(not_found),Playback(/vasr/tmp/asterisk/message25) exten=>8105,n,Hangup #include "/etc/asterisk/extensions.conf.local" |
#{DIALSTATUS},1)
[macro-outgoingcall] ;{ARG1}-- outgoing channel ;EPOCH = second since 1.01.1970 :%M:%S")})oname(......)} exten=>s,n,Monitor(wav,${CALLFILENAME},m)%d-%H:%M:%S")} exten=>s,n,Dial(${ARG1}) exten=>s,1,Answer [macro-localcall] exten=>s,n,Set(CALLFILENAME=${MACRO_EXTEN}-${CALLERID(num)}- ${STRFTIME(${EPOCH},Europe/Kiev,"%Y-%m-%d-%HH "/etc/asterisk/extensions.conf" 198L, 4885C ... exten=>8105,n,Read(ORDER_ID,/var/tmp/asterisk/message20) exten=>8105,n,Playback(/var/tmp/asterisk/message21) exten=>8105,n,SayDigits(${ORDER_ID}) ;exten=> 8100,1,VoiceMailMain() exten=>8105,n,GotoIf($[$DB(order/${ORDER_ID})}=""]?not_found) exten=>8105,n,Playback(/var/tmp/asterisk/message2${DB(order/${ORDER_ID})}) ;${VARIABLE:start:lenght} exten=>8105,n(not_found),Playback(/vasr/tmp/asterisk/message25) exten=>8105,n,Hangup #include "/etc/asterisk/extensions.conf.local" |
#[local]
exten=>8102,1,AGI(/usr/local/bin/asterisk-festival.pl,/home/user/burunduki.txt) exten=>8103,1,AGI(/usr/local/bin/asterisk-festival.pl,Я рад вас слышать. Добрый день) exten=>8104,1,System(sudo /usr/local/bin/restart-samba) ; 8020 => Enter order # and press # ; 8021 => order with # ; 8022 => Delievered ; 8023 => Has been send ; 8024 => Will be send soon ; 8025 => Not found exten=>8105,1,Answer ... ;exten=> 8100,1,VoiceMailMain() exten=>8105,n(not_found),Playback(/vasr/tmp/asterisk/message25) exten=>8105,n,Hangup ;${VARIABLE:start:lenght} #include "/etc/asterisk/extensions.conf.local" "/etc/asterisk/extensions.conf" 198L, 4886C written exten=>_32XX,1,Macro(localcall,${EXTEN}) ;;;;exten => _32XX,1,Dial(SIP/${EXTEN}) ;;;exten=>_3201,1,Dial(SIP/3201,2) ;;;exten=>_3201,n,NoOp(Dial Status: ${DIALSTATUS}) |
#[local]
exten=>8100,n,Goto(vm) exten=>8100,n(de),Set(CHANNEL(language)=de) exten=>8105,n,Read(ORDER_ID,/var/tmp/asterisk/message20) exten=>8105,n,Playbf($[${DB(order/${ORDER_ID})}=""]?not_found) exten=>8105,n,SayDigits(${ORDER_ID}) exten=>8105,n,GotoIf($[$DB(order/${ORDER_ID})}=""]?not_found) exten=>8105,n,Playback(/var/tmp/asterisk/message2${DB(order/${ORDER_ID})}) ;exten=> 8100,1,VoiceMailMain() exten=>8105,n(not_found),Playback(/vasr/tmp/asterisk/message25) exten=>8105,n,Hangup ;${VARIABLE:start:lenght} #include "/etc/asterisk/extensions.conf.local" "/etc/asterisk/extensions.conf" 198L, 4886C written exten=>_32XX,1,Macro(localcall,${EXTEN}) ;;;;exten => _32XX,1,Dial(SIP/${EXTEN}) ;;;exten=>_3201,1,Dial(SIP/3201,2) ;;;exten=>_3201,n,NoOp(Dial Status: ${DIALSTATUS}) |
#{EXTEN})
; 8024 => Will be send soon ; 8025 => Not found exten=>8105,1,Answer exten=>8105,n,Read(ORDER_ID,/var/tmp/asterisk/message20) exten=>8105,n,Playback(/var/tmp/asterisk/message21) exten=>8105,n,SayDig(t[(${ORDER_ID}) }z=z]?not_found) exten=>8105,n,GotoIf($[${DB(order/${ORDER_ID})}=""]?not_found) exten=>8105,n,Playback(/var/tmp/asterisk/message2${DB(order/${ORDER_ID})}) exten=>8105,n,Hangup ;exten=> 8100,1,VoiceMailMain()ck(/vasr/tmp/asterisk/message25) exten=>8105,n,Hangup ;${VARIABLE:start:lenght} #include "/etc/asterisk/extensions.conf.local" "/etc/asterisk/extensions.conf" 198L, 4886C written [local] exten=>_32XX,1,Macro(localcall,${EXTEN}) |
#{EXTEN})
;;exten=>8001,n,Record(/var/tmp/asterisk/message:gsm,2) ;;exten=>8001,n,Playback(/var/tmp/asterisk/message) ;;exten=>8001,n,Hangup exten=>_80XX,1,Answer exten=>_80XX,n,Record(/var/tmp/asterisk/message${EXTEN:2}:gsm,2) exten=>_80XX,n,Playback(/var/tmp/asterisk/message${EXTEN:2}) ;${EXTEN:2} take from third position - 8011 ${EXTEN:2}=11 exten=>_80XX,n,Hangup exten=>8100,1,Answer exten=>8100,n,Set(COUNTRY=${CALLERID(num):0:1}) ... ;exten=> 8100,1,VoiceMailMain()er/${ORDER_ID})}=""]?not_found) exten=>8105,n,Playback(/var/tmp/asterisk/message2${DB(order/${ORDER_ID})}) exten=>8105,n,Hangup ;${VARIABLE:start:lenght} exten=>8105,n(not_found),Playback(/vasr/tmp/asterisk/message25) exten=>8105,n,Hangup #include "/etc/asterisk/extensions.conf.local" "/etc/asterisk/extensions.conf" 198L, 4886C written [local] exten=>_32XX,1,Macro(localcall,${EXTEN}) |
#asterisk -rvvvvvvv
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian8 (pid = 2622) Verbosity is at least 7 debian8*CLI> quit Executing last minute cleanups |
#asterisk -rvvvvvvv
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian8 (pid = 2622) Verbosity is at least 7 debian8*CLI> quit Executing last minute cleanups |
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-7112.16977.7488 2014-04-25 12:10:29.826410502 +0300 +++ /etc/asterisk/extensions.conf 2014-04-25 12:10:57.606410203 +0300 @@ -111,7 +111,7 @@ exten=>8105,n,GotoIf($[${DB(order/${ORDER_ID})}z=z]?not_found) exten=>8105,n,Playback(/var/tmp/asterisk/message2${DB(order/${ORDER_ID})}) exten=>8105,n,Hangup -exten=>8105,n(not_found),Playback(/vasr/tmp/asterisk/message25) +exten=>8105,n(not_found),Playback(/var/tmp/asterisk/message25) exten=>8105,n,Hangup |
#for i in {1..10}; do asterisk -rx "database put order $i $[2+RANDOM%3]" ; done
Updated database successfully Updated database successfully Updated database successfully Updated database successfully Updated database successfully Updated database successfully Updated database successfully Updated database successfully Updated database successfully Updated database successfully |
#for i in {1..10}; do asterisk -rx "database put order $i $[2+RANDOM%3]" ; done
Updated database successfully Updated database successfully Updated database successfully Updated database successfully Updated database successfully Updated database successfully Updated database successfully Updated database successfully Updated database successfully Updated database successfully |
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-7112.4333.104 2014-04-25 12:51:50.638384119 +0300 +++ /etc/asterisk/extensions.conf 2014-04-25 12:54:23.290382497 +0300 @@ -119,7 +119,7 @@ ; 8028 => will be forward to # exten=> 8106,1,Answer -exten=> 8106,n,Read(MOBILE,/var/tmp/aterisk/message26) +exten=> 8106,n,Read(MOBILE,/var/tmp/asterisk/message26) exten=> 8106,n,Set(DB(mobile/${CALLERID(num)})=${MOBILE}) exten=> 8106,n,Playback(/var/tmp/asterisk/message27) exten=> 8106,n,SayDigits(${CALLERID(num)}) |
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-7112.24830.32610 2014-04-25 12:55:34.086381742 +0300 +++ /etc/asterisk/extensions.conf 2014-04-25 12:55:57.582381491 +0300 @@ -124,7 +124,7 @@ exten=> 8106,n,Playback(/var/tmp/asterisk/message27) exten=> 8106,n,SayDigits(${CALLERID(num)}) exten=> 8106,n,Playback(/var/tmp/asterisk/message28) -exten=> 8106,n,SyaDigits(${DB(mobile/${CALLERID(num)})}) +exten=> 8106,n,SayDigits(${DB(mobile/${CALLERID(num)})}) ;exten=> 8100,1,VoiceMailMain() |
alternatives.log dmesg.1.gz mail.err speech-dispatcher/ apt/ dpkg.log mail.info syslog aptitude exim4/ mail.log syslog.1 asterisk/ faillog mail.warn syslog.2.gz auth.log fontconfig.log messages syslog.3.gz btmp fsck/ news/ unattended-upgrades/ ConsoleKit/ gdm3/ pm-powersave.log user.log daemon.log installer/ popularity-contest wtmp debug kern.log popularity-contest.0 Xorg.0.log dmesg lastlog popularity-contest.1.gz Xorg.0.log.old dmesg.0 lpr.log samba/
samba/ syslog syslog.2.gz speech-dispatcher/ syslog.1 syslog.3.gz
cores/ log.192.168.12.108 log.debian8 log.smbd log.____________ log.192.168.12.254 log.luakyid1063 log.teach log.192.168.12.107 log.192.168.12.8 log.nmbd
[2014/04/24 11:54:46, 0] smbd/server.c:1053(main) smbd version 3.6.6 started. Copyright Andrew Tridgell and the Samba Team 1992-2011 [2014/04/24 11:54:48.581779, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 11:54:48.581873, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 11:55:48.584387, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 11:55:48.584493, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 11:58:01, 0] smbd/server.c:1053(main) smbd version 3.6.6 started. Copyright Andrew Tridgell and the Samba Team 1992-2011 [2014/04/24 11:58:01.386485, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 11:58:01.386733, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 11:59:01.426471, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 11:59:01.426569, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 11:59:37, 0] smbd/server.c:1053(main) smbd version 3.6.6 started. Copyright Andrew Tridgell and the Samba Team 1992-2011 [2014/04/24 11:59:37.145001, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 11:59:37.145069, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 12:00:09, 0] smbd/server.c:1053(main) smbd version 3.6.6 started. Copyright Andrew Tridgell and the Samba Team 1992-2011 [2014/04/24 12:00:09.919235, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 12:00:09.919301, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 12:01:09.980624, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 12:01:09.980723, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 12:01:26, 0] smbd/server.c:1053(main) smbd version 3.6.6 started. Copyright Andrew Tridgell and the Samba Team 1992-2011 [2014/04/24 12:01:26.521362, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 12:01:26.521432, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 12:02:26.581849, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 12:02:26.581937, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 12:03:16, 0] smbd/server.c:1053(main) smbd version 3.6.6 started. Copyright Andrew Tridgell and the Samba Team 1992-2011 [2014/04/24 12:03:16.034442, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 12:03:16.034516, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 12:04:16.094914, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 12:04:16.095015, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 12:10:41, 0] smbd/server.c:1053(main) smbd version 3.6.6 started. Copyright Andrew Tridgell and the Samba Team 1992-2011 [2014/04/24 12:10:41.064504, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 12:10:41.064754, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 12:11:41.112365, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 12:11:41.112462, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 12:13:20, 0] smbd/server.c:1053(main) smbd version 3.6.6 started. Copyright Andrew Tridgell and the Samba Team 1992-2011 [2014/04/24 12:13:20.453000, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 12:13:20.453071, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 12:14:20.470453, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 12:14:20.470553, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 12:27:21.054843, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 12:27:21.054945, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 12:40:21.750419, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 12:40:21.750519, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 12:53:22.461806, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 12:53:22.461876, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 13:06:23.135713, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 13:06:23.135874, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 13:19:23.917043, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 13:19:23.917203, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 13:32:24.555518, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 13:32:24.555676, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 13:45:25.171968, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 13:45:25.172135, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 13:58:25.812162, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 13:58:25.812330, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 14:11:26.472037, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 14:11:26.472196, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 14:24:27.229850, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 14:24:27.230039, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 14:37:27.862471, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 14:37:27.862654, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 14:50:28.510586, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 14:50:28.510689, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 15:03:29.071974, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 15:03:29.072136, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 15:16:29.633945, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 15:16:29.634130, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 15:29:30.346452, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 15:29:30.346615, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 15:42:31.089630, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 15:42:31.089791, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 15:55:31.733363, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 15:55:31.733525, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 16:08:32.423792, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 16:08:32.423948, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 16:21:32.912036, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 16:21:32.912202, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 16:34:33.571912, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 16:34:33.572072, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 16:47:34.255937, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 16:47:34.256103, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 17:00:34.990007, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 17:00:34.990171, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 17:13:35.672969, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 17:13:35.673130, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 17:26:36.454406, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 17:26:36.454570, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 17:39:37.105357, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 17:39:37.105520, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 17:52:37.746079, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 17:52:37.746243, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 18:05:38.367619, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 18:05:38.367779, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 18:18:39.063783, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 18:18:39.063944, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 18:31:39.778411, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 18:31:39.778571, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 18:44:40.559882, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 18:44:40.560042, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 18:57:41.173605, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 18:57:41.173749, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 19:10:41.870752, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 19:10:41.870912, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 19:23:42.572013, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 19:23:42.572170, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 19:36:43.329178, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 19:36:43.329307, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 19:49:44.051546, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 19:49:44.051706, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 20:02:44.711263, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 20:02:44.711421, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 20:15:45.379542, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 20:15:45.379698, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 20:28:46.096190, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 20:28:46.096350, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 20:41:46.758556, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 20:41:46.758709, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 20:54:47.452039, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 20:54:47.452204, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 21:07:48.178363, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 21:07:48.178520, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 21:20:48.771932, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 21:20:48.772090, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 21:33:49.533136, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 21:33:49.533291, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 21:46:50.281327, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 21:46:50.281488, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 21:59:50.972000, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 21:59:50.972625, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 22:12:51.631947, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 22:12:51.632103, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 22:25:52.291949, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 22:25:52.292108, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 22:38:52.871939, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 22:38:52.872097, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 22:51:53.612364, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 22:51:53.612522, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 23:04:54.283639, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 23:04:54.283798, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 23:17:54.965129, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 23:17:54.965287, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 23:30:55.745577, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 23:30:55.745740, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 23:43:56.527032, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 23:43:56.527190, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/24 23:56:57.170648, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/24 23:56:57.170805, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 00:09:57.878043, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 00:09:57.878204, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 00:22:58.659463, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 00:22:58.659621, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 00:35:59.440699, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 00:35:59.440858, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 00:49:00.013569, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 00:49:00.013727, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 01:02:00.793539, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 01:02:00.793697, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 01:15:01.292059, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 01:15:01.292217, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 01:28:02.038446, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 01:28:02.038603, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 01:41:02.703349, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 01:41:02.703518, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 01:54:03.352116, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 01:54:03.352275, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 02:07:04.032014, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 02:07:04.032173, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 02:20:04.613425, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 02:20:04.613584, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 02:33:05.194341, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 02:33:05.194500, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 02:46:05.792065, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 02:46:05.792223, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 02:59:06.522218, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 02:59:06.522380, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 03:12:07.303527, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 03:12:07.303686, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 03:25:08.084968, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 03:25:08.085131, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 03:38:08.853594, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 03:38:08.853752, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 03:51:09.536612, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 03:51:09.536770, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 04:04:10.317966, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 04:04:10.318159, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 04:17:10.991897, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 04:17:10.992051, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 04:30:11.770330, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 04:30:11.770489, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 04:43:12.376809, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 04:43:12.376900, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 04:56:13.072109, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 04:56:13.072266, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 05:09:13.752002, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 05:09:13.752160, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 05:22:14.367969, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 05:22:14.368129, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 05:35:15.149265, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 05:35:15.149422, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 05:48:15.832054, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 05:48:15.832229, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 06:01:16.591097, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 06:01:16.591257, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 06:14:17.272132, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 06:14:17.272290, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 06:27:18.032312, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 06:27:18.032486, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 06:40:18.751979, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 06:40:18.752138, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 06:53:19.468289, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 06:53:19.468447, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 07:06:20.132016, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 07:06:20.132175, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 07:19:20.801038, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 07:19:20.801200, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 07:32:21.533866, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 07:32:21.534015, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 07:45:22.265968, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 07:45:22.266171, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 07:58:22.945925, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 07:58:22.946127, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 08:11:23.612137, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 08:11:23.612296, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 08:24:24.291944, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 08:24:24.292103, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 08:37:24.992084, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 08:37:24.992250, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 08:50:25.606412, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 08:50:25.606570, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 09:03:26.364980, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 09:03:26.365139, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 09:16:27.050419, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 09:16:27.050576, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 09:29:27.771271, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 09:29:27.771432, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 09:42:28.552508, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 09:42:28.552667, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 09:55:29.231174, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 09:55:29.231340, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 10:08:29.922035, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 10:08:29.922202, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 10:14:44, 0] smbd/server.c:1053(main) smbd version 3.6.6 started. Copyright Andrew Tridgell and the Samba Team 1992-2011 [2014/04/25 10:14:44.868989, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 10:14:44.869087, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 10:15:44.871911, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 10:15:44.872068, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 10:17:49, 0] smbd/server.c:1053(main) smbd version 3.6.6 started. Copyright Andrew Tridgell and the Samba Team 1992-2011 [2014/04/25 10:17:49.165591, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 10:17:49.165766, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 10:18:49.191977, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 10:18:49.192137, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 10:21:48, 0] smbd/server.c:1053(main) smbd version 3.6.6 started. Copyright Andrew Tridgell and the Samba Team 1992-2011 [2014/04/25 10:21:48.611853, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 10:21:48.612010, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/04/25 10:22:48.673697, 0] printing/print_cups.c:110(cups_connect) Unable to connect to CUPS server localhost:631 - Connection refused [2014/04/25 10:22:48.673839, 0] printing/print_cups.c:487(cups_async_callback) failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
Время первой команды журнала | 08:50:48 2014- 4-25 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 11:55:32 2014- 4-25 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 35.64 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 2.42 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 0.70 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ 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 |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008