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

Содержание

Журнал

Пятница (11/28/14)

/dev/pts/1
14:24:50
#vim /etc/asterisk/cdr.conf
/dev/pts/0
14:24:50
#vim /etc/asterisk/cdr.conf
/dev/pts/1
14:26:19
#mysql -u root
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
/dev/pts/0
14:26:19
#mysql -u root
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
/dev/pts/1
14:26:26
#mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 62
Server version: 5.5.40-0+wheezy1 (Debian)
Copyright (c) 2000, 2014, 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.
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 cdr;
Empty set (0.00 sec)
mysql> ^CCtrl-C -- exit!
Aborted
/dev/pts/0
14:26:26
#mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 62
Server version: 5.5.40-0+wheezy1 (Debian)
Copyright (c) 2000, 2014, 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.
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 cdr;
Empty set (0.00 sec)
mysql> ^CCtrl-C -- exit!
Aborted
/dev/pts/1
14:29:52
#ps -ax | grep aster
warning: bad ps syntax, perhaps a bogus '-'?
See http://gitorious.org/procps/procps/blobs/master/Documentation/FAQ
 9266 ?        S      0:00 astcanary /var/run/asterisk/alt.asterisk.canary.tweet.tweet.tweet 9265
 9324 pts/2    S+     0:00 grep aster
/dev/pts/0
14:29:52
#ps -ax | grep aster
warning: bad ps syntax, perhaps a bogus '-'?
See http://gitorious.org/procps/procps/blobs/master/Documentation/FAQ
 9266 ?        S      0:00 astcanary /var/run/asterisk/alt.asterisk.canary.tweet.tweet.tweet 9265
 9324 pts/2    S+     0:00 grep aster
/dev/pts/1
14:29:53
#ps -ax | grep aster
warning: bad ps syntax, perhaps a bogus '-'?
See http://gitorious.org/procps/procps/blobs/master/Documentation/FAQ
 9266 ?        S      0:00 astcanary /var/run/asterisk/alt.asterisk.canary.tweet.tweet.tweet 9265
 9333 pts/2    S+     0:00 grep aster
14:29:53
#ps -ax | grep aster
warning: bad ps syntax, perhaps a bogus '-'?
See http://gitorious.org/procps/procps/blobs/master/Documentation/FAQ
 9342 pts/2    S+     0:00 grep aster
/dev/pts/0
14:29:53
#ps -ax | grep aster
warning: bad ps syntax, perhaps a bogus '-'?
See http://gitorious.org/procps/procps/blobs/master/Documentation/FAQ
 9266 ?        S      0:00 astcanary /var/run/asterisk/alt.asterisk.canary.tweet.tweet.tweet 9265
 9333 pts/2    S+     0:00 grep aster
14:29:53
#ps -ax | grep aster
warning: bad ps syntax, perhaps a bogus '-'?
See http://gitorious.org/procps/procps/blobs/master/Documentation/FAQ
 9342 pts/2    S+     0:00 grep aster
/dev/pts/1
14:29:54
#ps -ax | grep aster
warning: bad ps syntax, perhaps a bogus '-'?
See http://gitorious.org/procps/procps/blobs/master/Documentation/FAQ
 9351 pts/2    S+     0:00 grep aster
/dev/pts/0
14:29:54
#ps -ax | grep aster
warning: bad ps syntax, perhaps a bogus '-'?
See http://gitorious.org/procps/procps/blobs/master/Documentation/FAQ
 9351 pts/2    S+     0:00 grep aster
/dev/pts/1
14:29:55
#ps -ax | grep aster
warning: bad ps syntax, perhaps a bogus '-'?
See http://gitorious.org/procps/procps/blobs/master/Documentation/FAQ
 9360 pts/2    S+     0:00 grep aster
/dev/pts/0
14:29:55
#ps -ax | grep aster
warning: bad ps syntax, perhaps a bogus '-'?
See http://gitorious.org/procps/procps/blobs/master/Documentation/FAQ
 9360 pts/2    S+     0:00 grep aster
/dev/pts/1
14:29:56
#ps -ax | grep aster
warning: bad ps syntax, perhaps a bogus '-'?
See http://gitorious.org/procps/procps/blobs/master/Documentation/FAQ
 9369 pts/2    S+     0:00 grep aster
/dev/pts/0
14:29:56
#ps -ax | grep aster
warning: bad ps syntax, perhaps a bogus '-'?
See http://gitorious.org/procps/procps/blobs/master/Documentation/FAQ
 9369 pts/2    S+     0:00 grep aster
/dev/pts/1
14:29:57
#ps -ax | grep aster
warning: bad ps syntax, perhaps a bogus '-'?
See http://gitorious.org/procps/procps/blobs/master/Documentation/FAQ
 9378 pts/2    S+     0:00 grep aster
/dev/pts/0
14:29:57
#ps -ax | grep aster
warning: bad ps syntax, perhaps a bogus '-'?
See http://gitorious.org/procps/procps/blobs/master/Documentation/FAQ
 9378 pts/2    S+     0:00 grep aster
/dev/pts/1
14:29:58
#ps -ax | grep aster
warning: bad ps syntax, perhaps a bogus '-'?
See http://gitorious.org/procps/procps/blobs/master/Documentation/FAQ
 9387 pts/2    S+     0:00 grep aster
/dev/pts/0
14:29:58
#ps -ax | grep aster
warning: bad ps syntax, perhaps a bogus '-'?
See http://gitorious.org/procps/procps/blobs/master/Documentation/FAQ
 9387 pts/2    S+     0:00 grep aster
/dev/pts/1
14:29:59
#more /var/lo
/dev/pts/0
14:29:59
#more /var/lo
/dev/pts/1
14:29:59
#more /var/log/asterisk/
/dev/pts/0
14:29:59
#more /var/log/asterisk/
/dev/pts/1
14:30:25
#ls -l /var/log/asterisk/
total 988
drwxr-xr-x 2 asterisk asterisk   4096 Nov 24 18:07 cdr-csv
drwxr-xr-x 2 asterisk asterisk   4096 Jan  4  2014 cdr-custom
-rw-rw---- 1 asterisk asterisk 993949 Nov 28 15:29 messages
-rw-rw---- 1 asterisk asterisk   1379 Nov 27 16:07 queue_log
/dev/pts/0
14:30:25