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

Содержание

Журнал

Пятница (04/12/13)

/dev/pts/9
13:00:14
#apt-get install sendxmpp
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  mysql-common libmysqlclient16
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libauthen-sasl-perl libdigest-sha1-perl libio-socket-ssl-perl
  libnet-libidn-perl libnet-ssleay-perl libnet-xmpp-perl libxml-stream-perl
Suggested packages:
...
Unpacking sendxmpp (from .../sendxmpp_1.20-1_all.deb) ...
Processing triggers for man-db ...
Setting up libauthen-sasl-perl (2.1500-1) ...
Setting up libdigest-sha1-perl (2.13-1) ...
Setting up libnet-ssleay-perl (1.36-1) ...
Setting up libio-socket-ssl-perl (1.33-1+squeeze1) ...
Setting up libnet-libidn-perl (0.12.ds-1+b1) ...
Setting up libxml-stream-perl (1.23-1) ...
Setting up libnet-xmpp-perl (1.02-1) ...
Setting up sendxmpp (1.20-1) ...
прошло 30 минут
/dev/pts/8
13:31:00
#ejabberctl register asterisk linux1.unix.nt password
bash: ejabberctl: command not found
/dev/pts/9
13:31:00
#ejabberctl register asterisk linux1.unix.nt password
bash: ejabberctl: command not found
/dev/pts/8
13:32:07
#ejabberdctl register asterisk linux1.unix.nt password
User asterisk@linux1.unix.nt successfully registered
/dev/pts/9
13:32:07
#ejabberdctl register asterisk linux1.unix.nt password
User asterisk@linux1.unix.nt successfully registered
13:34:20
#jabberdctl register asterisk linux1.unix.nt password

/dev/pts/8
13:34:20
#jabberdctl register asterisk linux1.unix.nt password

13:34:34
#vim /usr/local/bin/asterisk-jabber-send
/dev/pts/9
13:34:34
#vim /usr/local/bin/asterisk-jabber-send
--- /dev/null	2013-04-12 08:58:29.900959990 +0300
+++ /usr/local/bin/asterisk-jabber-send	2013-04-12 14:36:57.000000000 +0300
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+JID="$1"
+shift
+echo $* | sendxmpp -f /var/lib/asterisk/.sendxmpprc "$JID"
+
/dev/pts/1
13:35:39
#mc
/dev/pts/5
13:35:39
#mc
/dev/pts/8
13:36:57
#chmod +x /usr/local/bin/asterisk-jabber-send

/dev/pts/9
13:36:57
#chmod +x /usr/local/bin/asterisk-jabber-send

13:37:39
#7

/dev/pts/8
13:37:39
#7

13:37:39
#jabberdctl register asterisk linux1.unix.nt password
 xten => 2,n,Goto(submenu,s,1)
;нажали 9 - идём в подменю
exten => 9,1,Goto(submenu,s,1)
;нажали 0 - в главное меню
exten => 0,1,Goto(menu,s,start)
@                                                             46,1          17%
[order]
;приглашение ввести номер заказа
/dev/pts/9
13:37:39
#jabberdctl register asterisk linux1.unix.nt password
exten => 1,n,Goto(submenu,s,1)
; читае о бурундуках и назад в меню
)xten => 2,1,AGI(/usr/local/bin/asterisk-festival.pl,/var/tmp/text/burunduki.txtt
 xten => 2,n,Goto(submenu,s,1)
;нажали 9 - идём в подменю
exten => 9,1,Goto(submenu,s,1)
@                                                             46,1          17%
;нажали 0 - в главное меню
exten => 0,1,Goto(menu,s,start)
[order]
;приглашение ввести номер заказа
/dev/pts/8
13:42:12
#apt-get install asterisk-mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  asterisk-mysql
0 upgraded, 1 newly installed, 0 to remove and 13 not upgraded.
Need to get 47.4 kB of archives.
After this operation, 176 kB of additional disk space will be used.
Get:1 http://192.168.15.253/debian/ squeeze/main asterisk-mysql i386 1.6.2.1-1 [47.4 kB]
Fetched 47.4 kB in 0s (2,147 kB/s)
Selecting previously deselected package asterisk-mysql.
(Reading database ... 131840 files and directories currently installed.)
Unpacking asterisk-mysql (from .../asterisk-mysql_1.6.2.1-1_i386.deb) ...
Setting up asterisk-mysql (1.6.2.1-1) ...
/dev/pts/9
13:42:12
#apt-get install asterisk-mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  asterisk-mysql
0 upgraded, 1 newly installed, 0 to remove and 13 not upgraded.
Need to get 47.4 kB of archives.
After this operation, 176 kB of additional disk space will be used.
Get:1 http://192.168.15.253/debian/ squeeze/main asterisk-mysql i386 1.6.2.1-1 [47.4 kB]
Fetched 47.4 kB in 0s (2,147 kB/s)
Selecting previously deselected package asterisk-mysql.
(Reading database ... 131840 files and directories currently installed.)
Unpacking asterisk-mysql (from .../asterisk-mysql_1.6.2.1-1_i386.deb) ...
Setting up asterisk-mysql (1.6.2.1-1) ...
прошло 13 минут
/dev/pts/14
13:55:29
#ls -l /usr/local/bin/asterisk-
asterisk-festival.pl  asterisk-jabber-send
13:55:29
#ls -l /usr/local/bin/asterisk-jabber-send
-rwxr-xr-x 1 asterisk asterisk 86 Apr 12 14:36 /usr/local/bin/asterisk-jabber-send
13:55:40
#cat /usr/local/bin/asterisk-jabber-send
#!/bin/sh
JID="$1"
shift
echo $* | sendxmpp -f /var/lib/asterisk/.sendxmpprc "$JID"
13:55:53
#chown root:root /var/lib/asterisk/.sendxmpprc

13:56:01
#chmod 600 /var/lib/asterisk/.sendxmpprc

/dev/pts/8
14:04:41
#apt-get install mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mysql
/dev/pts/9
14:04:41
#apt-get install mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mysql
/dev/pts/8
14:08:12
#apt-get install mysql-server
Unpacking mysql-server-5.1 (from .../mysql-server-5.1_5.1.66-0+squeeze1_i386.deb) ...
Selecting previously deselected package libhtml-template-perl.
Unpacking libhtml-template-perl (from .../libhtml-template-perl_2.9-2_all.deb) ...
Selecting previously deselected package mysql-server.
Unpacking mysql-server (from .../mysql-server_5.1.66-0+squeeze1_all.deb) ...
Processing triggers for man-db ...
Setting up libnet-daemon-perl (0.43-1) ...
Setting up libplrpc-perl (0.2020-2) ...
Setting up libdbi-perl (1.612-1) ...
Setting up libdbd-mysql-perl (4.016-1) ...
...
130412 15:11:45 [Note] Plugin 'FEDERATED' is disabled.
130412 15:11:45  InnoDB: Initializing buffer pool, size = 8.0M
130412 15:11:45  InnoDB: Completed initialization of buffer pool
130412 15:11:45  InnoDB: Started; log sequence number 0 44233
130412 15:11:45  InnoDB: Starting shutdown...
130412 15:11:51  InnoDB: Shutdown completed; log sequence number 0 44233
Starting MySQL database server: mysqld.
Checking for corrupt, not cleanly closed and upgrade needing tables..
Setting up libhtml-template-perl (2.9-2) ...
Setting up mysql-server (5.1.66-0+squeeze1) ...
/dev/pts/9
14:08:12
#apt-get install mysql-server
(Reading database ... 131852 files and directories currently installed.)
Unpacking libnet-daemon-perl (from .../libnet-daemon-perl_0.43-1_all.deb) ...
Selecting previously deselected package libplrpc-perl.
Unpacking libplrpc-perl (from .../libplrpc-perl_0.2020-2_all.deb) ...
Selecting previously deselected package libdbi-perl.
Unpacking libdbi-perl (from .../libdbi-perl_1.612-1_i386.deb) ...
Selecting previously deselected package libdbd-mysql-perl.
Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_4.016-1_i386.deb) ...
Selecting previously deselected package mysql-client-5.1.
Unpacking mysql-client-5.1 (from .../mysql-client-5.1_5.1.66-0+squeeze1_i386.deb) ...
...
130412 15:11:45 [Note] Plugin 'FEDERATED' is disabled.
130412 15:11:45  InnoDB: Initializing buffer pool, size = 8.0M
130412 15:11:45  InnoDB: Completed initialization of buffer pool
130412 15:11:45  InnoDB: Started; log sequence number 0 44233
130412 15:11:45  InnoDB: Starting shutdown...
130412 15:11:51  InnoDB: Shutdown completed; log sequence number 0 44233
Starting MySQL database server: mysqld.
Checking for corrupt, not cleanly closed and upgrade needing tables..
Setting up libhtml-template-perl (2.9-2) ...
Setting up mysql-server (5.1.66-0+squeeze1) ...
14:12:09
#mysql -p <mysql -p < /tmp/cdr_mysql.txt
bash: mysql: No such file or directory
/dev/pts/8
14:12:09
#mysql -p <mysql -p < /tmp/cdr_mysql.txt
bash: mysql: No such file or directory
14:13:24
#mysql -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 41
Server version: 5.1.66-0+squeeze1 (Debian)
Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
       #GRANT SELECT,UPDATE,INSERT,DELETE,DROP on asterisk.* to 'asterisk'@'localhost'
...
mysql> use asterisk;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> select * from asterisk;
ERROR 1146 (42S02): Table 'asterisk.asterisk' doesn't exist
mysql> select * from cdr;
Empty set (0.00 sec)
mysql> quit;
Bye
/dev/pts/9
14:13:24
#mysql -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 41
Server version: 5.1.66-0+squeeze1 (Debian)
Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
       #GRANT SELECT,UPDATE,INSERT,DELETE,DROP on asterisk.* to 'asterisk'@'localhost'
...
mysql> use asterisk;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> select * from asterisk;
ERROR 1146 (42S02): Table 'asterisk.asterisk' doesn't exist
mysql> select * from cdr;
Empty set (0.00 sec)
mysql> quit;
Bye
прошло 42 минуты
/dev/pts/2
14:55:58
#/etc/init.d/asterisk reload
Reloading Asterisk PBX configuration files.
/dev/pts/3
14:55:58
#/etc/init.d/asterisk reload
Reloading Asterisk PBX configuration files.
/dev/pts/2
15:01:24
#/etc/init.d/asterisk reload
Reloading Asterisk PBX configuration files.
/dev/pts/3
15:01:24
#/etc/init.d/asterisk reload
Reloading Asterisk PBX configuration files.
/dev/pts/2
15:08:30
#/etc/init.d/asterisk reload
Reloading Asterisk PBX configuration files.
/dev/pts/3
15:08:30
#/etc/init.d/asterisk reload
Reloading Asterisk PBX configuration files.
/dev/pts/8
15:10:25
#7

/dev/pts/9
15:10:25
#7

/dev/pts/8
15:10:25
#jabberdctl register asterisk linux1.unix.nt password

/dev/pts/9
15:10:25
#jabberdctl register asterisk linux1.unix.nt password

/dev/pts/8
15:10:25
#/usr/local/bin/asterisk-festival.pl burunduki.txt
                                  /root/asterisk-11.3.0.tar.gz /root
root@192.168.70.1's password:
asterisk-11.3.0.tar.gz                        100%   29MB  14.6MB/s   00:02
/dev/pts/9
15:10:25
#/usr/local/bin/asterisk-festival.pl burunduki.txt
                                  /root/asterisk-11.3.0.tar.gz /root
root@192.168.70.1's password:
asterisk-11.3.0.tar.gz                        100%   29MB  14.6MB/s   00:02
/dev/pts/5
15:12:40
#pwd
/root
/dev/pts/1
15:12:40
#pwd
/root
15:12:52
#cd asterisk-
asterisk-11.3.0/                             asterisk-core-sounds-ru-alaw-current.tar.gz
asterisk-11.3.0.tar.gz
/dev/pts/5
15:12:52
#cd asterisk-
asterisk-11.3.0/                             asterisk-core-sounds-ru-alaw-current.tar.gz
asterisk-11.3.0.tar.gz
/dev/pts/1
15:12:52
#cd asterisk-11.3.0

/dev/pts/5
15:12:52
#cd asterisk-11.3.0

/dev/pts/1
15:13:09
#apt-get install srtp
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package srtp
/dev/pts/5
15:13:09
#apt-get install srtp
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package srtp
/dev/pts/1
15:13:46
#apt-get install libsrtp0-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  libsrtp0-dev
0 upgraded, 1 newly installed, 0 to remove and 13 not upgraded.
Need to get 84.2 kB of archives.
After this operation, 385 kB of additional disk space will be used.
Get:1 http://192.168.15.253/debian/ squeeze/main libsrtp0-dev i386 1.4.4~dfsg-6 [84.2 kB]
Fetched 84.2 kB in 0s (3,280 kB/s)
Selecting previously deselected package libsrtp0-dev.
(Reading database ... 132303 files and directories currently installed.)
Unpacking libsrtp0-dev (from .../libsrtp0-dev_1.4.4~dfsg-6_i386.deb) ...
Setting up libsrtp0-dev (1.4.4~dfsg-6) ...
/dev/pts/5
15:13:46
#apt-get install libsrtp0-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  libsrtp0-dev
0 upgraded, 1 newly installed, 0 to remove and 13 not upgraded.
Need to get 84.2 kB of archives.
After this operation, 385 kB of additional disk space will be used.
Get:1 http://192.168.15.253/debian/ squeeze/main libsrtp0-dev i386 1.4.4~dfsg-6 [84.2 kB]
Fetched 84.2 kB in 0s (3,280 kB/s)
Selecting previously deselected package libsrtp0-dev.
(Reading database ... 132303 files and directories currently installed.)
Unpacking libsrtp0-dev (from .../libsrtp0-dev_1.4.4~dfsg-6_i386.deb) ...
Setting up libsrtp0-dev (1.4.4~dfsg-6) ...
/dev/pts/1
15:14:09
##./configure

/dev/pts/5
15:14:09
##./configure

/dev/pts/1
15:14:33
#apt-get install libssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  zlib1g-dev
The following NEW packages will be installed:
  libssl-dev zlib1g-dev
0 upgraded, 2 newly installed, 0 to remove and 13 not upgraded.
Need to get 2,349 kB of archives.
After this operation, 6,443 kB of additional disk space will be used.
...
Get:2 http://192.168.15.253/debian/ squeeze/main libssl-dev i386 0.9.8o-4squeeze14 [2,163 kB]
Fetched 2,349 kB in 3s (731 kB/s)
Selecting previously deselected package zlib1g-dev.
(Reading database ... 132348 files and directories currently installed.)
Unpacking zlib1g-dev (from .../zlib1g-dev_1%3a1.2.3.4.dfsg-3_i386.deb) ...
Selecting previously deselected package libssl-dev.
Unpacking libssl-dev (from .../libssl-dev_0.9.8o-4squeeze14_i386.deb) ...
Processing triggers for man-db ...
Setting up zlib1g-dev (1:1.2.3.4.dfsg-3) ...
Setting up libssl-dev (0.9.8o-4squeeze14) ...
/dev/pts/5
15:14:33
#apt-get install libssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  zlib1g-dev
The following NEW packages will be installed:
  libssl-dev zlib1g-dev
0 upgraded, 2 newly installed, 0 to remove and 13 not upgraded.
Need to get 2,349 kB of archives.
After this operation, 6,443 kB of additional disk space will be used.
...
Get:2 http://192.168.15.253/debian/ squeeze/main libssl-dev i386 0.9.8o-4squeeze14 [2,163 kB]
Fetched 2,349 kB in 3s (731 kB/s)
Selecting previously deselected package zlib1g-dev.
(Reading database ... 132348 files and directories currently installed.)
Unpacking zlib1g-dev (from .../zlib1g-dev_1%3a1.2.3.4.dfsg-3_i386.deb) ...
Selecting previously deselected package libssl-dev.
Unpacking libssl-dev (from .../libssl-dev_0.9.8o-4squeeze14_i386.deb) ...
Processing triggers for man-db ...
Setting up zlib1g-dev (1:1.2.3.4.dfsg-3) ...
Setting up libssl-dev (0.9.8o-4squeeze14) ...
/dev/pts/1
15:15:04
#apt-get install libncurses5-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  libncurses5-dev
0 upgraded, 1 newly installed, 0 to remove and 13 not upgraded.
Need to get 1,597 kB of archives.
After this operation, 6,685 kB of additional disk space will be used.
Get:1 http://192.168.15.253/debian/ squeeze/main libncurses5-dev i386 5.7+20100313-5 [1,597 kB]
Fetched 1,597 kB in 0s (10.4 MB/s)
Selecting previously deselected package libncurses5-dev.
(Reading database ... 133610 files and directories currently installed.)
Unpacking libncurses5-dev (from .../libncurses5-dev_5.7+20100313-5_i386.deb) ...
Processing triggers for man-db ...
Setting up libncurses5-dev (5.7+20100313-5) ...
/dev/pts/5
15:15:04
#apt-get install libncurses5-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  libncurses5-dev
0 upgraded, 1 newly installed, 0 to remove and 13 not upgraded.
Need to get 1,597 kB of archives.
After this operation, 6,685 kB of additional disk space will be used.
Get:1 http://192.168.15.253/debian/ squeeze/main libncurses5-dev i386 5.7+20100313-5 [1,597 kB]
Fetched 1,597 kB in 0s (10.4 MB/s)
Selecting previously deselected package libncurses5-dev.
(Reading database ... 133610 files and directories currently installed.)
Unpacking libncurses5-dev (from .../libncurses5-dev_5.7+20100313-5_i386.deb) ...
Processing triggers for man-db ...
Setting up libncurses5-dev (5.7+20100313-5) ...
/dev/pts/1
15:16:08
#apt-get install libsqlite3-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  sqlite3-doc
The following NEW packages will be installed:
  libsqlite3-dev
0 upgraded, 1 newly installed, 0 to remove and 13 not upgraded.
Need to get 474 kB of archives.
After this operation, 1,069 kB of additional disk space will be used.
Get:1 http://192.168.15.253/debian/ squeeze/main libsqlite3-dev i386 3.7.3-1 [474 kB]
Fetched 474 kB in 0s (8,037 kB/s)
Selecting previously deselected package libsqlite3-dev.
(Reading database ... 134663 files and directories currently installed.)
Unpacking libsqlite3-dev (from .../libsqlite3-dev_3.7.3-1_i386.deb) ...
Setting up libsqlite3-dev (3.7.3-1) ...
/dev/pts/5
15:16:08
#apt-get install libsqlite3-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  sqlite3-doc
The following NEW packages will be installed:
  libsqlite3-dev
0 upgraded, 1 newly installed, 0 to remove and 13 not upgraded.
Need to get 474 kB of archives.
After this operation, 1,069 kB of additional disk space will be used.
Get:1 http://192.168.15.253/debian/ squeeze/main libsqlite3-dev i386 3.7.3-1 [474 kB]
Fetched 474 kB in 0s (8,037 kB/s)
Selecting previously deselected package libsqlite3-dev.
(Reading database ... 134663 files and directories currently installed.)
Unpacking libsqlite3-dev (from .../libsqlite3-dev_3.7.3-1_i386.deb) ...
Setting up libsqlite3-dev (3.7.3-1) ...
/dev/pts/1
15:17:20
#./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
...
checking for initscr in -lcurses... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking for initscr in -lncurses... yes
checking for curses.h... (cached) yes
checking for xml2-config... no
configure: *** XML documentation will not be available because the 'libxml2' development package is missing.
configure: *** Please run the 'configure' script with the '--disable-xmldoc' parameter option
configure: *** or install the 'libxml2' development package.
/dev/pts/5
15:17:20
#./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
...
checking for initscr in -lcurses... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking for initscr in -lncurses... yes
checking for curses.h... (cached) yes
checking for xml2-config... no
configure: *** XML documentation will not be available because the 'libxml2' development package is missing.
configure: *** Please run the 'configure' script with the '--disable-xmldoc' parameter option
configure: *** or install the 'libxml2' development package.
/dev/pts/1
15:17:29
#./configure --desable-xmldoc
configure: error: unrecognized option: `--desable-xmldoc'
Try `./configure --help' for more information
/dev/pts/5
15:17:29
#./configure --desable-xmldoc
configure: error: unrecognized option: `--desable-xmldoc'
Try `./configure --help' for more information
/dev/pts/1
15:17:48
#./configure --disable-xmldoc
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
...
 $$$$$                        $$$
  $$$$7.                       $$  (TM)
   $$$$$$$.           .7$$$$$$  $$
     $$$$$$$$$$$$7$$$$$$$$$.$$$$$$
       $$$$$$$$$$$$$$$$.
configure: Package configured for:
configure: OS type  : linux-gnu
configure: Host CPU : i686
configure: build-cpu:vendor:os: i686 : pc : linux-gnu :
configure: host-cpu:vendor:os: i686 : pc : linux-gnu :
/dev/pts/5
15:17:48
#./configure --disable-xmldoc
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
...
 $$$$$                        $$$
  $$$$7.                       $$  (TM)
   $$$$$$$.           .7$$$$$$  $$
     $$$$$$$$$$$$7$$$$$$$$$.$$$$$$
       $$$$$$$$$$$$$$$$.
configure: Package configured for:
configure: OS type  : linux-gnu
configure: Host CPU : i686
configure: build-cpu:vendor:os: i686 : pc : linux-gnu :
configure: host-cpu:vendor:os: i686 : pc : linux-gnu :
/dev/pts/1
15:18:14
#make
make[1]: Entering directory `/root/asterisk-11.3.0'
CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" menuselect
make[2]: Entering directory `/root/asterisk-11.3.0/menuselect'
gcc  -g -D_GNU_SOURCE -Wall   -c -o menuselect.o menuselect.c
gcc  -g -D_GNU_SOURCE -Wall   -c -o strcompat.o strcompat.c
gcc  -g -D_GNU_SOURCE -Wall   -c -o menuselect_stub.o menuselect_stub.c
make[3]: Entering directory `/root/asterisk-11.3.0/menuselect/mxml'
gcc -Os -g -Wall   -c mxml-attr.c
gcc -Os -g -Wall   -c mxml-entity.c
gcc -Os -g -Wall   -c mxml-file.c
...
   [LD] res_mutestream.o -> res_mutestream.so
   [CC] res_phoneprov.c -> res_phoneprov.o
   [LD] res_phoneprov.o -> res_phoneprov.so
   [CC] res_realtime.c -> res_realtime.o
   [LD] res_realtime.o -> res_realtime.so
   [CC] res_rtp_asterisk.c -> res_rtp_asterisk.o
^Cmake[2]: *** Deleting file `res_rtp_asterisk.o'
make[2]: *** [res_rtp_asterisk.o] Interrupt
make[1]: *** [res] Interrupt
make: *** [_cleantest_all] Interrupt
/dev/pts/5
15:18:14
#make
make[1]: Entering directory `/root/asterisk-11.3.0'
CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" menuselect
make[2]: Entering directory `/root/asterisk-11.3.0/menuselect'
gcc  -g -D_GNU_SOURCE -Wall   -c -o menuselect.o menuselect.c
gcc  -g -D_GNU_SOURCE -Wall   -c -o strcompat.o strcompat.c
gcc  -g -D_GNU_SOURCE -Wall   -c -o menuselect_stub.o menuselect_stub.c
make[3]: Entering directory `/root/asterisk-11.3.0/menuselect/mxml'
gcc -Os -g -Wall   -c mxml-attr.c
gcc -Os -g -Wall   -c mxml-entity.c
gcc -Os -g -Wall   -c mxml-file.c
...
   [LD] res_mutestream.o -> res_mutestream.so
   [CC] res_phoneprov.c -> res_phoneprov.o
   [LD] res_phoneprov.o -> res_phoneprov.so
   [CC] res_realtime.c -> res_realtime.o
   [LD] res_realtime.o -> res_realtime.so
   [CC] res_rtp_asterisk.c -> res_rtp_asterisk.o
^Cmake[2]: *** Deleting file `res_rtp_asterisk.o'
make[2]: *** [res_rtp_asterisk.o] Interrupt
make[1]: *** [res] Interrupt
make: *** [_cleantest_all] Interrupt
/dev/pts/1
15:19:58
#make clean
rm -f defaults.h
rm -f include/asterisk/build.h
rm -f main/version.c
rm -f doc/core-en_US.xml
rm -f doc/full-en_US.xml
make[1]: Entering directory `/root/asterisk-11.3.0/menuselect'
rm -f menuselect cmenuselect gmenuselect nmenuselect menuselect.o strcompat.o menuselect_stub.o menuselect_curses.o
make[2]: Entering directory `/root/asterisk-11.3.0/menuselect/mxml'
/bin/rm -f mxmldoc.o testmxml.o mxml-attr.o mxml-entity.o mxml-file.o mxml-index.o mxml-node.o mxml-search.o mxml-set.o mxml-private.o mxml-string.o libmxml.a mxmldoc testmxml mxml.xml
/bin/rm -f mxmldoc-static libmxml.a
/bin/rm -f *.bck *.bak
/bin/rm -f config.cache config.log config.status config.h
/bin/rm -f -r autom4te*.cache
make[2]: Leaving directory `/root/asterisk-11.3.0/menuselect/mxml'
make[1]: Leaving directory `/root/asterisk-11.3.0/menuselect'
cp -f .cleancount .lastclean
/dev/pts/5
15:19:58
#make clean
rm -f defaults.h
rm -f include/asterisk/build.h
rm -f main/version.c
rm -f doc/core-en_US.xml
rm -f doc/full-en_US.xml
make[1]: Entering directory `/root/asterisk-11.3.0/menuselect'
rm -f menuselect cmenuselect gmenuselect nmenuselect menuselect.o strcompat.o menuselect_stub.o menuselect_curses.o
make[2]: Entering directory `/root/asterisk-11.3.0/menuselect/mxml'
/bin/rm -f mxmldoc.o testmxml.o mxml-attr.o mxml-entity.o mxml-file.o mxml-index.o mxml-node.o mxml-search.o mxml-set.o mxml-private.o mxml-string.o libmxml.a mxmldoc testmxml mxml.xml
/bin/rm -f mxmldoc-static libmxml.a
/bin/rm -f *.bck *.bak
/bin/rm -f config.cache config.log config.status config.h
/bin/rm -f -r autom4te*.cache
make[2]: Leaving directory `/root/asterisk-11.3.0/menuselect/mxml'
make[1]: Leaving directory `/root/asterisk-11.3.0/menuselect'
cp -f .cleancount .lastclean
/dev/pts/1
15:20:07
#make menuconfig
CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" cmenuselect
make[1]: Entering directory `/root/asterisk-11.3.0/menuselect'
gcc  -g -D_GNU_SOURCE -Wall   -c -o menuselect.o menuselect.c
gcc  -g -D_GNU_SOURCE -Wall   -c -o strcompat.o strcompat.c
gcc  -g -D_GNU_SOURCE -Wall    -c -o menuselect_curses.o menuselect_curses.c
make[2]: Entering directory `/root/asterisk-11.3.0/menuselect/mxml'
if test -f config.status; then \
                ./config.status --recheck; \
                ./config.status; \
        else \
...
make[1]: Nothing to be done for `gmenuselect'.
make[1]: Leaving directory `/root/asterisk-11.3.0/menuselect'
make[1]: Entering directory `/root/asterisk-11.3.0'
CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" menuselect
make[2]: Entering directory `/root/asterisk-11.3.0/menuselect'
gcc  -g -D_GNU_SOURCE -Wall   -c -o menuselect_stub.o menuselect_stub.c
gcc  -o menuselect menuselect.o strcompat.o menuselect_stub.o mxml/libmxml.a
make[2]: Leaving directory `/root/asterisk-11.3.0/menuselect'
menuselect changes NOT saved!
make[1]: Leaving directory `/root/asterisk-11.3.0'
/dev/pts/5
15:20:07
#make menuconfig
CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" cmenuselect
make[1]: Entering directory `/root/asterisk-11.3.0/menuselect'
gcc  -g -D_GNU_SOURCE -Wall   -c -o menuselect.o menuselect.c
gcc  -g -D_GNU_SOURCE -Wall   -c -o strcompat.o strcompat.c
gcc  -g -D_GNU_SOURCE -Wall    -c -o menuselect_curses.o menuselect_curses.c
make[2]: Entering directory `/root/asterisk-11.3.0/menuselect/mxml'
if test -f config.status; then \
                ./config.status --recheck; \
                ./config.status; \
        else \
...
make[1]: Entering directory `/root/asterisk-11.3.0/menuselect'
make[1]: Nothing to be done for `gmenuselect'.
make[1]: Leaving directory `/root/asterisk-11.3.0/menuselect'
make[1]: Entering directory `/root/asterisk-11.3.0'
CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" menuselect
make[2]: Entering directory `/root/asterisk-11.3.0/menuselect'
make[2]: Leaving directory `/root/asterisk-11.3.0/menuselect'
Terminal must be at least 80 x 27.
menuselect changes NOT saved!
make[1]: Leaving directory `/root/asterisk-11.3.0'
/dev/pts/1
15:20:20
#make clean
rm -f defaults.h
rm -f include/asterisk/build.h
rm -f main/version.c
rm -f doc/core-en_US.xml
rm -f doc/full-en_US.xml
make[1]: Entering directory `/root/asterisk-11.3.0/menuselect'
rm -f menuselect cmenuselect gmenuselect nmenuselect menuselect.o strcompat.o menuselect_stub.o menuselect_curses.o
make[2]: Entering directory `/root/asterisk-11.3.0/menuselect/mxml'
/bin/rm -f mxmldoc.o testmxml.o mxml-attr.o mxml-entity.o mxml-file.o mxml-index.o mxml-node.o mxml-search.o mxml-set.o mxml-private.o mxml-string.o libmxml.a mxmldoc testmxml mxml.xml
/bin/rm -f mxmldoc-static libmxml.a
/bin/rm -f *.bck *.bak
/bin/rm -f config.cache config.log config.status config.h
/bin/rm -f -r autom4te*.cache
make[2]: Leaving directory `/root/asterisk-11.3.0/menuselect/mxml'
make[1]: Leaving directory `/root/asterisk-11.3.0/menuselect'
cp -f .cleancount .lastclean
/dev/pts/5
15:20:20
#make clean
rm -f defaults.h
rm -f include/asterisk/build.h
rm -f main/version.c
rm -f doc/core-en_US.xml
rm -f doc/full-en_US.xml
make[1]: Entering directory `/root/asterisk-11.3.0/menuselect'
rm -f menuselect cmenuselect gmenuselect nmenuselect menuselect.o strcompat.o menuselect_stub.o menuselect_curses.o
make[2]: Entering directory `/root/asterisk-11.3.0/menuselect/mxml'
/bin/rm -f mxmldoc.o testmxml.o mxml-attr.o mxml-entity.o mxml-file.o mxml-index.o mxml-node.o mxml-search.o mxml-set.o mxml-private.o mxml-string.o libmxml.a mxmldoc testmxml mxml.xml
/bin/rm -f mxmldoc-static libmxml.a
/bin/rm -f *.bck *.bak
/bin/rm -f config.cache config.log config.status config.h
/bin/rm -f -r autom4te*.cache
make[2]: Leaving directory `/root/asterisk-11.3.0/menuselect/mxml'
make[1]: Leaving directory `/root/asterisk-11.3.0/menuselect'
cp -f .cleancount .lastclean
/dev/pts/1
15:21:01
#./configure --disable-xmldoc
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
...
 $$$$$                        $$$
  $$$$7.                       $$  (TM)
   $$$$$$$.           .7$$$$$$  $$
     $$$$$$$$$$$$7$$$$$$$$$.$$$$$$
       $$$$$$$$$$$$$$$$.
configure: Package configured for:
configure: OS type  : linux-gnu
configure: Host CPU : i686
configure: build-cpu:vendor:os: i686 : pc : linux-gnu :
configure: host-cpu:vendor:os: i686 : pc : linux-gnu :
/dev/pts/5
15:21:01
#./configure --disable-xmldoc
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
...
 $$$$$                        $$$
  $$$$7.                       $$  (TM)
   $$$$$$$.           .7$$$$$$  $$
     $$$$$$$$$$$$7$$$$$$$$$.$$$$$$
       $$$$$$$$$$$$$$$$.
configure: Package configured for:
configure: OS type  : linux-gnu
configure: Host CPU : i686
configure: build-cpu:vendor:os: i686 : pc : linux-gnu :
configure: host-cpu:vendor:os: i686 : pc : linux-gnu :
/dev/pts/1
15:21:29
#make menuconfig
CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts
make[1]: Entering directory `/root/asterisk-11.3.0/menuselect'
make[1]: `makeopts' is up to date.
make[1]: Leaving directory `/root/asterisk-11.3.0/menuselect'
CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" cmenuselect
make[1]: Entering directory `/root/asterisk-11.3.0/menuselect'
gcc  -g -D_GNU_SOURCE -Wall   -c -o menuselect.o menuselect.c
gcc  -g -D_GNU_SOURCE -Wall   -c -o strcompat.o strcompat.c
gcc  -g -D_GNU_SOURCE -Wall    -c -o menuselect_curses.o menuselect_curses.c
make[2]: Entering directory `/root/asterisk-11.3.0/menuselect/mxml'
...
make[2]: Leaving directory `/root/asterisk-11.3.0/menuselect'
Generating input for menuselect ...
CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" menuselect
make[2]: Entering directory `/root/asterisk-11.3.0/menuselect'
gcc  -g -D_GNU_SOURCE -Wall   -c -o menuselect_stub.o menuselect_stub.c
gcc  -o menuselect menuselect.o strcompat.o menuselect_stub.o mxml/libmxml.a
make[2]: Leaving directory `/root/asterisk-11.3.0/menuselect'
Terminal must be at least 80 x 27.
menuselect changes NOT saved!
make[1]: Leaving directory `/root/asterisk-11.3.0'
/dev/pts/5
15:21:29
#make menuconfig
CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts
make[1]: Entering directory `/root/asterisk-11.3.0/menuselect'
make[1]: `makeopts' is up to date.
make[1]: Leaving directory `/root/asterisk-11.3.0/menuselect'
CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" cmenuselect
make[1]: Entering directory `/root/asterisk-11.3.0/menuselect'
gcc  -g -D_GNU_SOURCE -Wall   -c -o menuselect.o menuselect.c
gcc  -g -D_GNU_SOURCE -Wall   -c -o strcompat.o strcompat.c
gcc  -g -D_GNU_SOURCE -Wall    -c -o menuselect_curses.o menuselect_curses.c
make[2]: Entering directory `/root/asterisk-11.3.0/menuselect/mxml'
...
make[2]: Entering directory `/root/asterisk-11.3.0/menuselect'
make[2]: `makeopts' is up to date.
make[2]: Leaving directory `/root/asterisk-11.3.0/menuselect'
Generating input for menuselect ...
CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" menuselect
make[2]: Entering directory `/root/asterisk-11.3.0/menuselect'
gcc  -g -D_GNU_SOURCE -Wall   -c -o menuselect_stub.o menuselect_stub.c
gcc  -o menuselect menuselect.o strcompat.o menuselect_stub.o mxml/libmxml.a
make[2]: Leaving directory `/root/asterisk-11.3.0/menuselect'
Terminal must be at least 80 x 27.
/dev/pts/1
15:21:47
#make menuconfig
                                    **************************************************
                                                    Press 'h' for help.
                                                       --- core ---
                                                   [*] app_authenticate
                                                   [*] app_cdr
                                                   [*] app_celgenuserevent
                                                   [*] app_channelredirect
                                                   [*] app_chanspy
                                                   [*] app_confbridge
                                                   [*] app_controlplayback
...
                                                   [*] app_parkandannounce
                                                   [*] app_playback
                                                   [*] app_playtones
                                                   [*] app_privacy
                                                       ... More ...
                                             Extension Macros
                                             Depends on: chan_local(M)(M)
                                             Call Parking and Announce Application
                                             Depends on: app_confbridge(M)
                                                             ore, Replaced by: app_stack (GoSub)
/dev/pts/5
15:21:47
#make menuconfig
                                    **************************************************
                                                    Press 'h' for help.
                                                       --- core ---
                                                   [*] app_authenticate
                                                   [*] app_cdr
                                                   [*] app_celgenuserevent
                                                   [*] app_channelredirect
                                                   [*] app_chanspy
                                                   [*] app_confbridge
                                                   [*] app_controlplayback
...
                                                   [*] app_page
                                                   [*] app_parkandannounce
                                                   [*] app_playback
                                                   [*] app_playtones
                                                   [*] app_privacy
                                                       ... More ...
                                             Call Parking and Announce Application
                                             Depends on: app_confbridge(M)
                                             Support Level: core
                                                             ore, Replaced by: app_stack (GoSub)
/dev/pts/1
15:29:29
#make -j32
make[1]: Entering directory `/root/asterisk-11.3.0'
CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts
make[2]: Entering directory `/root/asterisk-11.3.0/menuselect'
make[2]: `makeopts' is up to date.
make[2]: Leaving directory `/root/asterisk-11.3.0/menuselect'
Building Documentation For: Generating embedded module rules ...
channels pbx apps codecs formats cdr cel bridges funcs tests main res    [CC] pbx_ael.c -> pbx_ael.o
   [CC] chan_agent.c -> chan_agent.o
   [CC] cdr_csv.c -> cdr_csv.o
   [CC] astcanary.c -> astcanary.o
...
creating makelist
creating config.h
   [LD] abstract_jb.o acl.o adsi.o alaw.o aoc.o app.o ast_expr2.o ast_expr2f.o asterisk.o astfd.o astmm.o astobj2.o audiohook.o autochan.o autoservice.o bridging.o callerid.o ccss.o cdr.o cel.o channel.o channel_internal_api.o chanvars.o cli.o config.o config_options.o data.o datastore.o db.o devicestate.o dial.o dns.o dnsmgr.o dsp.o enum.o event.o features.o file.o fixedjitterbuf.o format.o forma
make[1]: Leaving directory `/root/asterisk-11.3.0'
 +--------- Asterisk Build Complete ---------+
 + Asterisk has successfully been built, and +
 + can be installed by running:              +
 +                                           +
 +                make install               +
 +-------------------------------------------+
/dev/pts/5
15:29:29
#make -j32
make[1]: Entering directory `/root/asterisk-11.3.0'
CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts
make[2]: Entering directory `/root/asterisk-11.3.0/menuselect'
make[2]: `makeopts' is up to date.
make[2]: Leaving directory `/root/asterisk-11.3.0/menuselect'
Building Documentation For: Generating embedded module rules ...
channels pbx apps codecs formats cdr cel bridges funcs tests main res    [CC] pbx_ael.c -> pbx_ael.o
   [CC] chan_agent.c -> chan_agent.o
   [CC] cdr_csv.c -> cdr_csv.o
   [CC] astcanary.c -> astcanary.o
...
creating makelist
creating config.h
   [LD] abstract_jb.o acl.o adsi.o alaw.o aoc.o app.o ast_expr2.o ast_expr2f.o asterisk.o astfd.o astmm.o astobj2.o audiohook.o autochan.o autoservice.o bridging.o callerid.o ccss.o cdr.o cel.o channel.o channel_internal_api.o chanvars.o cli.o config.o config_options.o data.o datastore.o db.o devicestate.o dial.o dns.o dnsmgr.o dsp.o enum.o event.o features.o file.o fixedjitterbuf.o format.o forma
make[1]: Leaving directory `/root/asterisk-11.3.0'
 +--------- Asterisk Build Complete ---------+
 + Asterisk has successfully been built, and +
 + can be installed by running:              +
 +                                           +
 +                make install               +
 +-------------------------------------------+
/dev/pts/1
15:30:42
#make install
make[1]: Entering directory `/root/asterisk-11.3.0'
CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts
make[2]: Entering directory `/root/asterisk-11.3.0/menuselect'
make[2]: `makeopts' is up to date.
make[2]: Leaving directory `/root/asterisk-11.3.0/menuselect'
make[1]: Leaving directory `/root/asterisk-11.3.0'
Installing modules from channels...
Installing modules from pbx...
Installing modules from apps...
Installing modules from codecs...
...
    res_config_mysql.so
    res_config_odbc.so
    res_config_pgsql.so
    res_config_sqlite.so
    res_curl.so
    res_http_post.so
    res_jabber.so
    res_odbc.so
    res_snmp.so
 WARNING WARNING WARNING
/dev/pts/5
15:30:42
#make install
make[1]: Entering directory `/root/asterisk-11.3.0'
CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts
make[2]: Entering directory `/root/asterisk-11.3.0/menuselect'
make[2]: `makeopts' is up to date.
make[2]: Leaving directory `/root/asterisk-11.3.0/menuselect'
make[1]: Leaving directory `/root/asterisk-11.3.0'
Installing modules from channels...
Installing modules from pbx...
Installing modules from apps...
Installing modules from codecs...
...
    res_config_mysql.so
    res_config_odbc.so
    res_config_pgsql.so
    res_config_sqlite.so
    res_curl.so
    res_http_post.so
    res_jabber.so
    res_odbc.so
    res_snmp.so
 WARNING WARNING WARNING
/dev/pts/1
15:33:03
#mc
/dev/pts/5
15:33:03
#mc
/dev/pts/2
15:33:17
#asterisk -rvvv
Asterisk 11.3.0, 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze10 currently running on linux1 (pid = 4614)
linux1*CLI> quit
Asterisk cleanly ending (0).
Executing last minute cleanups
/dev/pts/3
15:33:17
#asterisk -rvvv
Asterisk 11.3.0, 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze10 currently running on linux1 (pid = 4614)
linux1*CLI> quit
Asterisk cleanly ending (0).
Executing last minute cleanups
/dev/pts/2
15:33:26
#/etc/init.d/asterisk reload
Reloading Asterisk PBX configuration files.
/dev/pts/3
15:33:26
#/etc/init.d/asterisk reload
Reloading Asterisk PBX configuration files.
/dev/pts/2
15:33:43
#asterisk -rvvv
Asterisk 11.3.0, 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze10 currently running on linux1 (pid = 4614)
linux1*CLI> quit
Asterisk cleanly ending (0).
Executing last minute cleanups
/dev/pts/3
15:33:43
#asterisk -rvvv
Asterisk 11.3.0, 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze10 currently running on linux1 (pid = 4614)
linux1*CLI> quit
Asterisk cleanly ending (0).
Executing last minute cleanups
/dev/pts/1
15:35:17
#mc
/dev/pts/5
15:35:17
#mc
/dev/pts/8
15:42:27
#asterisk -rvvv
Asterisk 11.3.0, 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.
=========================================================================
Connected to Asterisk 11.3.0 currently running on linux1 (pid = 15536)
[Apr 12 16:43:30] NOTICE[15536]: db.c:246 db_open: Database conversion succeeded!
  == Manager registered action DBGet
...
    -- <SIP/1102-00000006> Playing 'beep.gsm' (language 'en')
    -- Recording the message
    -- x=0, open writing:  /var/spool/asterisk/voicemail/local/1101/tmp/Twru73 format: wav49, 0x9bcd344
    -- x=1, open writing:  /var/spool/asterisk/voicemail/local/1101/tmp/Twru73 format: gsm, 0x9bcd694
    -- x=2, open writing:  /var/spool/asterisk/voicemail/local/1101/tmp/Twru73 format: wav, 0x9bcb4f4
    -- User hung up
  == Spawn extension (local, 1101, 4) exited non-zero on 'SIP/1102-00000006'
linux1*CLI> quit
Asterisk cleanly ending (0).
Executing last minute cleanups
/dev/pts/9
15:42:27
#asterisk -rvvv
Asterisk 11.3.0, 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.
=========================================================================
Connected to Asterisk 11.3.0 currently running on linux1 (pid = 15536)
[Apr 12 16:43:30] NOTICE[15536]: db.c:246 db_open: Database conversion succeeded!
  == Manager registered action DBGet
...
    -- <SIP/1102-00000006> Playing 'beep.gsm' (language 'en')
    -- Recording the message
    -- x=0, open writing:  /var/spool/asterisk/voicemail/local/1101/tmp/Twru73 format: wav49, 0x9bcd344
    -- x=1, open writing:  /var/spool/asterisk/voicemail/local/1101/tmp/Twru73 format: gsm, 0x9bcd694
    -- x=2, open writing:  /var/spool/asterisk/voicemail/local/1101/tmp/Twru73 format: wav, 0x9bcb4f4
    -- User hung up
  == Spawn extension (local, 1101, 4) exited non-zero on 'SIP/1102-00000006'
linux1*CLI> quit
Asterisk cleanly ending (0).
Executing last minute cleanups

Файлы

  • /usr/local/bin/asterisk-jabber-send
  • /usr/local/bin/asterisk-jabber-send
    >
    #!/bin/sh
    JID="$1"
    shift
    echo $* | sendxmpp -f /var/lib/asterisk/.sendxmpprc "$JID"
    

    Статистика

    Время первой команды журнала13:00:14 2013- 4-12
    Время последней команды журнала15:42:27 2013- 4-12
    Количество командных строк в журнале98
    Процент команд с ненулевым кодом завершения, %10.20
    Процент синтаксически неверно набранных команд, % 2.04
    Суммарное время работы с терминалом *, час 1.48
    Количество командных строк в единицу времени, команда/мин 1.10
    Частота использования команд
    apt-get17|=================| 17.00%
    make16|================| 16.00%
    configure10|==========| 10.00%
    /etc/init.d/asterisk8|========| 8.00%
    asterisk6|======| 6.00%
    jabberdctl6|======| 6.00%
    mc6|======| 6.00%
    mysql4|====| 4.00%
    cd4|====| 4.00%
    74|====| 4.00%
    chmod3|===| 3.00%
    pwd2|==| 2.00%
    vim2|==| 2.00%
    cdr_mysql.txt2|==| 2.00%
    ejabberctl2|==| 2.00%
    ls2|==| 2.00%
    asterisk-festival.pl2|==| 2.00%
    ejabberdctl2|==| 2.00%
    chown1|=| 1.00%
    cat1|=| 1.00%
    ____
    *) Интервалы неактивности длительностью 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$