/l3/users/eb/2009/linux15/user :1 :2 :3 :4 :5 :6 |
|
#echo test|sendxmpp kvashnik@jabber.ru
/root/.sendxmpprc must not be accessible by others |
#apt-get install syslog-ng
ЧÑение ÑпиÑков пакеÑов... ÐоÑово ÐоÑÑÑоение деÑева завиÑимоÑÑей ЧÑение инÑоÑмаÑии о ÑоÑÑоÑнии... ÐоÑово ÐÑдÑÑ ÑÑÑÐ°Ð½Ð¾Ð²Ð»ÐµÐ½Ñ ÑледÑÑÑие дополниÑелÑнÑе пакеÑÑ: libevtlog0 ÐакеÑÑ, коÑоÑÑе бÑдÑÑ Ð£ÐÐÐsyslog ÐÐÐЫРпакеÑÑ, коÑоÑÑе бÑдÑÑ ÑÑÑановленÑ: libevtlog0 syslog-ng обновлено 0, ÑÑÑановлено 2 новÑÑ Ð¿Ð°ÐºÐµÑов, Ð´Ð»Ñ ÑÐ´Ð°Ð»ÐµÐ½Ð¸Ñ Ð¾ÑмеÑено 1 пакеÑов, и 6 пакеÑов не обновлено. ÐÐµÐ¾Ð±Ñ Ð¾Ð´Ð¸Ð¼Ð¾ ÑкаÑаÑÑ 138kРаÑÑ Ð¸Ð²Ð¾Ð². ... ÐбÑабаÑÑваÑÑÑÑ ÑÑиггеÑÑ Ð´Ð»Ñ man-db ... ÐÑÐ±Ð¾Ñ Ñанее не вÑбÑанного пакеÑа libevtlog0. (ЧÑение Ð±Ð°Ð·Ñ Ð´Ð°Ð½Ð½ÑÑ ... на даннÑй Ð¼Ð¾Ð¼ÐµÐ½Ñ ÑÑÑановлено 46285 Ñайлов и каÑалогов.) РаÑпаковÑваеÑÑÑ Ð¿Ð°ÐºÐµÑ libevtlog0 (из Ñайла .../libevtlog0_0.2.8~1-2_i386.deb)... ÐÑÐ±Ð¾Ñ Ñанее не вÑбÑанного пакеÑа syslog-ng. РаÑпаковÑваеÑÑÑ Ð¿Ð°ÐºÐµÑ syslog-ng (из Ñайла .../syslog-ng_2.0.9-4.1_i386.deb)... ÐбÑабаÑÑваÑÑÑÑ ÑÑиггеÑÑ Ð´Ð»Ñ man-db ... ÐаÑÑÑаиваеÑÑÑ Ð¿Ð°ÐºÐµÑ libevtlog0 (0.2.8~1-2) ... ÐаÑÑÑаиваеÑÑÑ Ð¿Ð°ÐºÐµÑ syslog-ng (2.0.9-4.1) ... Starting system logging: syslog-ng. |
#ls -la /root/.sendxmpprc
-rw-r--r-- 1 root root 34 Май 27 14:52 /root/.sendxmpprc |
#chmod 600 /root/.sendxmpprc
|
#vi /etc/resolv.conf
|
#echo test|sendxmpp kvashnik@jabber.ru
|
#echo test | sendxmpp kvashnik@jabber.ru
|
#echo test | sendxmpp kukareku@jabber.kiev.ua
|
#echo test | sendxmpp kvashnik@jabber.ru
|
#echo test | sendxmpp kvashnik@jabber.ru
|
#echo test | sendxmpp svdakatest@jabber.ru
|
#echo test | sendxmpp xmana@jabber.kiev.ua
|
#echo test | sendxmpp xmana@jabber.kiev.ua
|
#vi /usr/local/bin/syslog2jabber
|
#vi /usr/local/bin/syslog2jabber
|
#ls -l /usr/local/bin/
итого 44 -rwxr-xr-x 1 root staff 61 Май 25 12:13 fixcon -rwxr-xr-x 1 root staff 32757 Май 25 09:19 l3-agent -rwxr-xr-x 1 root staff 100 Май 25 09:19 l3-config lrwxrwxrwx 1 root staff 9 Май 25 09:19 l3script -> /bin/bash -rw-r--r-- 1 root staff 76 Май 27 15:16 syslog2jabber |
#chmod +x /usr/local/bin/syslog2jabber
|
#tail /var/log/mail.log
May 27 12:45:36 linux16 sendmaill: prikol May 27 12:45:40 linux16 sendmaill: prikol May 27 12:45:41 linux16 sendmaill: prikol May 27 12:45:41 linux16 sendmaill: prikol May 27 12:45:41 linux16 sendmaill: prikol May 27 12:45:42 linux16 sendmaill: prikol May 27 12:45:42 linux16 sendmaill: prikol May 27 12:45:13 linux15 sendmail: teststststst May 27 12:45:15 linux15 sendmail: teststststst May 27 15:22:22 linux15 sendmail: teststststst |
#cat /etc/sys
sysctl.conf sysctl.d/ syslog-ng/ |
#cat /etc/syslog-ng/syslog-ng.conf
1 .dmrc .gtk-bookmarks Public/ a/ Documents/ .gvfs/ .purple/ .bash_history Download/ .ICEauthority .screenrc .bash_logout .fontconfig/ .l3rc .ssh/ .bash_profile .gajim/ .lilalo/ Templates/ .bashrc .gconf/ .local/ Videos/ .cache/ .gconfd/ .mozilla/ .vimrc .config/ .gksu.lock Music/ .Xauthority .dbus/ .gnome2/ Pictures/ .xsession-errors Desktop/ .gstreamer-0.10/ .profile |
#cat /etc/syslog-ng/syslog-ng.conf
1 .dmrc .gtk-bookmarks Public/ a/ Documents/ .gvfs/ .purple/ .bash_history Download/ .ICEauthority .screenrc .bash_logout .fontconfig/ .l3rc .ssh/ .bash_profile .gajim/ .lilalo/ Templates/ .bashrc .gconf/ .local/ Videos/ .cache/ .gconfd/ .mozilla/ .vimrc .config/ .gksu.lock Music/ .Xauthority .dbus/ .gnome2/ Pictures/ .xsession-errors Desktop/ .gstreamer-0.10/ .profile |
#ssh 127.0.0.1
The authenticity of host '127.0.0.1 (127.0.0.1)' can't be established. RSA key fingerprint is 34:6c:c2:da:38:7c:d7:17:e9:cd:17:8d:e7:cf:f1:a6. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '127.0.0.1' (RSA) to the list of known hosts. root@127.0.0.1's password: Permission denied, please try again. root@127.0.0.1's password: Permission denied, please try again. root@127.0.0.1's password: Permission denied (publickey,password). |
#cat /var/log/auth.log
May 25 11:11:32 linux15 login[10182]: pam_unix(login:session): session closed for user user May 25 11:11:40 linux15 login[12579]: pam_unix(login:session): session opened for user root by LOGIN(uid=0) May 25 11:11:40 linux15 login[13055]: ROOT LOGIN on '/dev/tty1' May 25 11:11:54 linux15 login[12579]: pam_unix(login:session): session closed for user root May 25 11:12:02 linux15 login[13390]: pam_unix(login:session): session opened for user user by LOGIN(uid=0) May 25 11:17:01 linux15 CRON[14225]: pam_unix(cron:session): session opened for user root by (uid=0) May 25 11:17:01 linux15 CRON[14225]: pam_unix(cron:session): session closed for user root May 25 11:22:44 linux15 su[14581]: Successful su for root by user May 25 11:22:44 linux15 su[14581]: + /dev/pts/3 user:root May 25 11:22:44 linux15 su[14581]: pam_unix(su:session): session opened for user root by (uid=1000) ... May 25 18:08:14 linux15 sshd[2750]: Accepted publickey for root from 192.168.15.253 port 60646 ssh2 May 25 18:08:14 linux15 sshd[2750]: pam_unix(sshd:session): session opened for user root by (uid=0) May 25 18:08:14 linux15 sshd[2750]: pam_unix(sshd:session): session closed for user root May 25 18:09:20 linux15 sshd[3040]: Accepted password for user from 192.168.15.16 port 54268 ssh2 May 25 18:09:20 linux15 sshd[3040]: pam_unix(sshd:session): session opened for user user by (uid=0) May 25 18:11:07 linux15 su[2378]: pam_unix(su:session): session closed for user root May 25 18:11:10 linux15 gdm[23646]: pam_unix(gdm:session): session closed for user user May 25 18:11:12 linux15 sshd[3040]: syslogin_perform_logout: logout() returned an error May 25 18:11:12 linux15 sshd[3040]: pam_unix(sshd:session): session closed for user user May 25 18:11:21 linux15 gdm[23646]: pam_nologin(gdm:auth): cannot determine username |
#ssh 127.0.0.1
root@127.0.0.1's password: Permission denied, please try again. root@127.0.0.1's password: Permission denied, please try again. root@127.0.0.1's password: Permission denied (publickey,password). |
#vi /etc/syslog-ng/syslog-ng.conf
|
#/etc/init.d/syslog-ng restart
Stopping system logging: syslog-ng. Starting system logging: syslog-ng. |
#apt-get install monit
Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово НОВЫЕ пакеты, которые будут установлены: monit обновлено 0, установлено 1 новых пакетов, для удаления отмечено 0 пакетов, и 6 пакетов не обновлено. Необходимо скачать 267kБ архивов. После данной операции, объём занятого дискового пространства возрастёт на 713kB. Получено:1 http://10.0.35.1 sid/main monit 1:4.10.1-4 [267kB] Получено 267kБ за 0s (10,3MБ/c) Выбор ранее не выбранного пакета monit. (Чтение базы данных ... на данный момент установлено 46313 файлов и каталогов.) Распаковывается пакет monit (из файла .../monit_1%3a4.10.1-4_i386.deb)... Обрабатываются триггеры для man-db ... Настраивается пакет monit (1:4.10.1-4) ... Starting daemon monitor: monit won't be started/stopped unless it it's configured please configure monit and then edit /etc/default/monit and set the "startup" variable to 1 in order to allow monit to start |
#ls /var/run/
console dbus lpd.pid screen utmp ConsoleKit exim4 monit.pid sshd console-kit-daemon.pid gdm.pid motd sshd.pid crond.pid gdm_socket network sudo crond.reboot hald PolicyKit syslog-ng.pid |
#vi /etc/default/monit
|
#vi /etc/default/monit
|
#~ +q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
Stopping daemon monitor: monit. Starting daemon monitor: monit. |
#ps aux |grep monit
root 20906 0.0 0.0 12912 1212 ? Sl 16:36 0:00 /usr/sbin/monit -d 180 -c /etc/monit/monitrc -s /var/lib/monit/monit.state |
#ps aux |grep ssh
root 2447 0.0 0.0 5548 1068 ? Ss 09:30 0:00 /usr/sbin/sshd user 2821 0.0 0.0 4888 620 ? Ss 09:31 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session x-session-manager user 10091 0.0 0.0 5420 2312 pts/4 S+ 10:27 0:00 ssh root@10.0.35.100 root 20931 0.0 0.0 3216 780 pts/6 S+ 16:38 0:00 grep ssh |
#kill 10091
|
$!ss
ssh root@10.0.35.100 root@10.0.35.100's password: Linux linux0 2.6.18-6-xen-686 #1 SMP Sun Feb 10 22:43:13 UTC 2008 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Wed May 27 16:51:30 2009 from linux11.unix.nt |
#ps aux |grep ssh
root 2447 0.0 0.0 5548 1068 ? Ss 09:30 0:00 /usr/sbin/sshd user 2821 0.0 0.0 4888 620 ? Ss 09:31 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session x-session-manager root 20954 0.0 0.0 316 92 pts/6 R+ 16:38 0:00 grep ssh |
#kill 2447
|
#ps aux |grep ssh
user 2821 0.0 0.0 4888 620 ? Ss 09:31 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session x-session-manager root 20970 0.0 0.0 3212 760 pts/6 R+ 16:39 0:00 grep ssh |
#ps aux |grep ssh
user 2821 0.0 0.0 4888 620 ? Ss 09:31 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session x-session-manager root 20979 0.0 0.0 3212 756 pts/6 R+ 16:39 0:00 grep ssh |
#ps aux |grep ssh
user 2821 0.0 0.0 4888 620 ? Ss 09:31 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session x-session-manager root 20994 0.0 0.0 5548 1036 ? Ss 16:39 0:00 /usr/sbin/sshd root 20996 0.0 0.0 3216 776 pts/6 S+ 16:40 0:00 grep ssh |
#~ +q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
user 2821 0.0 0.0 4888 620 ? Ss 09:31 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session x-session-manager root 20994 0.0 0.0 5548 1036 ? Ss 16:39 0:00 /usr/sbin/sshd user 21004 0.0 0.0 5260 2272 pts/4 S+ 16:40 0:00 ssh root@10.0.35.100 root 21096 0.0 0.0 3212 756 pts/6 R+ 16:52 0:00 grep ssh |
#ls -l /var/run/
итого 80 drwxr-xr-x 2 root root 4096 Май 27 16:17 console drwxr-xr-x 2 root root 4096 Май 27 16:17 ConsoleKit -rw-r--r-- 1 root root 5 Май 27 09:30 console-kit-daemon.pid -rw-r--r-- 1 root root 5 Май 27 09:30 crond.pid ---------- 1 root root 0 Май 27 09:30 crond.reboot drwxr-xr-x 2 messagebus messagebus 4096 Май 27 09:30 dbus drwxr-x--- 2 Debian-exim Debian-exim 4096 Май 27 11:32 exim4 -rw-r--r-- 1 root root 5 Май 27 09:30 gdm.pid srw-rw-rw- 1 root root 0 Май 27 09:30 gdm_socket ... -rw-r--r-- 1 root root 6 Май 27 16:36 monit.pid -rw-r--r-- 1 root root 354 Май 27 09:30 motd drwxr-xr-x 2 root root 4096 Май 27 09:30 network drwxrwx--- 2 root polkituser 4096 Фев 18 18:29 PolicyKit drwxr-xr-x 4 root utmp 4096 Май 25 17:22 screen drwxr-xr-x 2 root root 4096 Май 4 23:39 sshd -rw-r--r-- 1 root root 6 Май 27 16:39 sshd.pid drwx------ 2 root user 4096 Янв 1 1985 sudo -rw------- 1 root root 5 Май 27 15:41 syslog-ng.pid -rw-rw-r-- 1 root utmp 5376 Май 27 10:27 utmp |
#ls -l /var/run/ |grep ssh
drwxr-xr-x 2 root root 4096 Май 4 23:39 sshd -rw-r--r-- 1 root root 6 Май 27 16:39 sshd.pid |
#ls -l /var/run/ |grep ssh
drwxr-xr-x 2 root root 4096 Май 4 23:39 sshd |
#ps aux |grep ssh
user 2821 0.0 0.0 4888 620 ? Ss 09:31 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session x-session-manager user 21004 0.0 0.0 5260 2272 pts/4 S+ 16:40 0:00 ssh root@10.0.35.100 root 21112 0.0 0.0 3212 768 pts/6 R+ 16:52 0:00 grep ssh |
#ps aux |grep ssh
user 2821 0.0 0.0 4888 620 ? Ss 09:31 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session x-session-manager user 21004 0.0 0.0 5260 2272 pts/4 S+ 16:40 0:00 ssh root@10.0.35.100 root 21193 0.0 0.0 3212 760 pts/6 R+ 16:53 0:00 grep ssh |
#ls -l /var/run/ |grep ssh
drwxr-xr-x 2 root root 4096 Май 4 23:39 sshd |
#ls -l /var/run/ |grep ssh
drwxr-xr-x 2 root root 4096 Май 4 23:39 sshd |
#ls -l /var/run/ |grep ssh
drwxr-xr-x 2 root root 4096 Май 4 23:39 sshd |
#ls -l /var/run/ |grep ssh
drwxr-xr-x 2 root root 4096 Май 4 23:39 sshd |
#ls -l /var/run/ |grep ssh
drwxr-xr-x 2 root root 4096 Май 4 23:39 sshd |
#ls -l /var/run/ |grep ssh
drwxr-xr-x 2 root root 4096 Май 4 23:39 sshd |
#ls -l /var/run/ |grep ssh
drwxr-xr-x 2 root root 4096 Май 4 23:39 sshd |
#ps aux |grep ssh
user 2821 0.0 0.0 4888 620 ? Ss 09:31 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session x-session-manager user 21004 0.0 0.0 5260 2272 pts/4 S+ 16:40 0:00 ssh root@10.0.35.100 root 21202 0.0 0.0 3216 780 pts/6 S+ 16:53 0:00 grep ssh |
#ps aux |grep ssh
user 2821 0.0 0.0 4888 620 ? Ss 09:31 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session x-session-manager user 21004 0.0 0.0 5260 2272 pts/4 S+ 16:40 0:00 ssh root@10.0.35.100 |
#ps aux |grep ssh
user 2821 0.0 0.0 4888 620 ? Ss 09:31 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session x-session-manager user 21004 0.0 0.0 5260 2272 pts/4 S+ 16:40 0:00 ssh root@10.0.35.100 |
#ps aux |grep ssh
user 2821 0.0 0.0 4888 620 ? Ss 09:31 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session x-session-manager user 21004 0.0 0.0 5260 2272 pts/4 S+ 16:40 0:00 ssh root@10.0.35.100 root 21229 0.0 0.0 3212 760 pts/6 R+ 16:54 0:00 grep ssh |
#ps aux |grep ssh
user 2821 0.0 0.0 4888 620 ? Ss 09:31 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session x-session-manager user 21004 0.0 0.0 5260 2272 pts/4 S+ 16:40 0:00 ssh root@10.0.35.100 root 21238 0.0 0.0 3212 756 pts/6 R+ 16:54 0:00 grep ssh |
#ps aux |grep ssh
user 2821 0.0 0.0 4888 620 ? Ss 09:31 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session x-session-manager user 21004 0.0 0.0 5260 2272 pts/4 S+ 16:40 0:00 ssh root@10.0.35.100 root 21273 0.0 0.0 3216 776 pts/6 S+ 16:54 0:00 grep ssh |
#!sc
Изменен ## # # check process apache with pidfile /usr/local/apache/logs/httpd.pid # start program = "/etc/init.d/httpd start" # stop program = "/etc/init.d/httpd stop" # if cpu > 60% for 2 cycles then alert # if cpu > 80% for 5 cycles then restart # if totalmem > 200.0 MB for 5 cycles then restart check process apache with pidfile /usr/local/apache/logs/httpd.pid # if children > 250 then restart start progcron with pidfile /var/run/crond.pid # if loadavg(5min) greater thacron start" stop program = "/etc/init.d/cron stop" # if failed host www.tildeslash.com port 80 protocol http [ Прочитано 217 строк ] ^G Помощь ^O Записать ^R ЧитФайл ^Y ПредCтр ^K Вырезать ^C ТекПозиц ^X Выход ^J Выровнять ^W Поиск ^V СледCтр ^U ОтмВырезк ^T Словарь ---------------------------------------------------------------------------------------- |
#ls -l /var/run/ |grep ssh
drwxr-xr-x 2 root root 4096 Май 4 23:39 sshd -rw-r--r-- 1 root root 6 Май 27 16:54 sshd.pid |
#ps aux |grep monit
root 20906 0.0 0.0 21108 1244 ? Sl 16:36 0:00 /usr/sbin/monit -d 180 -c /etc/monit/monitrc -s /var/lib/monit/monit.state root 21290 0.0 0.0 3212 772 pts/6 S+ 16:55 0:00 grep monit |
#ps aux |grep monit
root 20906 0.0 0.0 21108 1244 ? Sl 16:36 0:00 /usr/sbin/monit -d 180 -c /etc/monit/monitrc -s /var/lib/monit/monit.state root 21299 0.0 0.0 3212 768 pts/6 R+ 16:57 0:00 grep monit |
#ps aux |grep ssh
user 2821 0.0 0.0 4888 620 ? Ss 09:31 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session x-session-manager user 21004 0.0 0.0 5260 2272 pts/4 S+ 16:40 0:00 ssh root@10.0.35.100 root 21288 0.0 0.0 5548 1032 ? Ss 16:54 0:00 /usr/sbin/sshd root 21308 0.0 0.0 3212 760 pts/6 R+ 16:57 0:00 grep ssh |
#/etc/init.d/monit stop
Stopping daemon monitor: monit. |
#ps aux |grep ssh
user 2821 0.0 0.0 4888 620 ? Ss 09:31 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session x-session-manager user 21004 0.0 0.0 5260 2272 pts/4 S+ 16:40 0:00 ssh root@10.0.35.100 root 21288 0.0 0.0 5548 1032 ? Ss 16:54 0:00 /usr/sbin/sshd |
#pkill sshd
|
#/etc/init.d/monit start
Starting daemon monitor: monit. |
#cat /var/log/d
daemon.log dmesg dmesg.1.gz dmesg.3.gz dpkg.log debug dmesg.0 dmesg.2.gz dmesg.4.gz |
#cat /var/log/daemon.log
May 25 00:21:41 book dbus-daemon: Reloaded configuration May 25 00:21:42 book dbus-daemon: Reloaded configuration May 25 00:21:43 book dbus-daemon: Reloaded configuration May 25 00:21:43 book dbus-daemon: Reloaded configuration May 25 00:24:05 book console-kit-daemon[8969]: WARNING: Couldn't read /proc/8968/environ: Failed to open file '/proc/8968/environ': No such file or directory May 25 01:05:09 book init: Switching to runlevel: 6 May 24 22:06:18 book ntpdate[2155]: step time server 62.149.0.30 offset -10768.270167 sec May 24 22:07:23 book console-kit-daemon[2387]: WARNING: Couldn't read /proc/2386/environ: Failed to open file '/proc/2386/environ': No such file or directory May 24 22:26:07 book init: Switching to runlevel: 6 May 25 01:26:47 linux15 ntpdate[2207]: step time server 193.34.155.3 offset 0.023419 sec ... May 27 17:03:38 linux15 monit[21543]: 'cron' start: /etc/init.d/ssh May 27 17:03:38 linux15 monit[21543]: 'cron' failed to start May 27 17:04:08 linux15 monit[21543]: 'cron' failed to start May 27 17:04:08 linux15 monit[21543]: 'cron' process is not running May 27 17:04:08 linux15 monit[21543]: 'cron' trying to restart May 27 17:04:08 linux15 monit[21543]: 'cron' start: /etc/init.d/ssh May 27 17:04:38 linux15 monit[21543]: 'cron' process is not running May 27 17:04:38 linux15 monit[21543]: 'cron' trying to restart May 27 17:04:38 linux15 monit[21543]: 'cron' start: /etc/init.d/ssh May 27 17:04:38 linux15 monit[21543]: 'cron' failed to start |
#cat /etc/init.d/mo
module-init-tools mountall.sh mountnfs-bootclean.sh monit mountdevsubfs.sh mountnfs.sh mountall-bootclean.sh mountkernfs.sh mountoverflowtmp |
#cat /etc/init.d/monit
#!/bin/sh ### BEGIN INIT INFO # Provides: monit # Required-Start: $remote_fs # Required-Stop: $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: service and resource monitoring daemon ### END INIT INFO # /etc/init.d/monit start and stop monit daemon monitor process. ... syntax) monit_check_syntax ;; *) N=/etc/init.d/$NAME echo "Usage: $N {start|stop|restart|force-reload|syntax}" >&2 exit 1 ;; esac exit 0 |
#cat /etc/init.d/monit |grep 180
CHECK_INTERVALS=180 # We default to 180s (3min) check intervals |
#va /etc/init.d/monit
bash: va: команда не найдена |
#vi /etc/init.d/monit
|
#/etc/init.d/monit restart
Stopping daemon monitor: monit. Starting daemon monitor: monit. |
#vi /etc/syslog-ng/syslog-ng.conf
|
#cat /var/log/daemon.log
May 25 00:21:41 book dbus-daemon: Reloaded configuration May 25 00:21:42 book dbus-daemon: Reloaded configuration May 25 00:21:43 book dbus-daemon: Reloaded configuration May 25 00:21:43 book dbus-daemon: Reloaded configuration May 25 00:24:05 book console-kit-daemon[8969]: WARNING: Couldn't read /proc/8968/environ: Failed to open file '/proc/8968/environ': No such file or directory May 25 01:05:09 book init: Switching to runlevel: 6 May 24 22:06:18 book ntpdate[2155]: step time server 62.149.0.30 offset -10768.270167 sec May 24 22:07:23 book console-kit-daemon[2387]: WARNING: Couldn't read /proc/2386/environ: Failed to open file '/proc/2386/environ': No such file or directory May 24 22:26:07 book init: Switching to runlevel: 6 May 25 01:26:47 linux15 ntpdate[2207]: step time server 193.34.155.3 offset 0.023419 sec ... May 27 17:04:38 linux15 monit[21543]: 'cron' start: /etc/init.d/ssh May 27 17:04:38 linux15 monit[21543]: 'cron' failed to start May 27 17:05:08 linux15 monit[21543]: 'cron' process is not running May 27 17:05:08 linux15 monit[21543]: 'cron' trying to restart May 27 17:05:08 linux15 monit[21543]: 'cron' start: /etc/init.d/ssh May 27 17:05:08 linux15 monit[21543]: 'cron' failed to start May 27 17:05:38 linux15 monit[21543]: 'cron' process is not running May 27 17:05:38 linux15 monit[21543]: 'cron' trying to restart May 27 17:05:38 linux15 monit[21543]: 'cron' start: /etc/init.d/ssh May 27 17:05:38 linux15 monit[21543]: 'cron' failed to start |
#pkill sshd
|
#cat /var/log/daemon.log
May 25 00:21:41 book dbus-daemon: Reloaded configuration May 25 00:21:42 book dbus-daemon: Reloaded configuration May 25 00:21:43 book dbus-daemon: Reloaded configuration May 25 00:21:43 book dbus-daemon: Reloaded configuration May 25 00:24:05 book console-kit-daemon[8969]: WARNING: Couldn't read /proc/8968/environ: Failed to open file '/proc/8968/environ': No such file or directory May 25 01:05:09 book init: Switching to runlevel: 6 May 24 22:06:18 book ntpdate[2155]: step time server 62.149.0.30 offset -10768.270167 sec May 24 22:07:23 book console-kit-daemon[2387]: WARNING: Couldn't read /proc/2386/environ: Failed to open file '/proc/2386/environ': No such file or directory May 24 22:26:07 book init: Switching to runlevel: 6 May 25 01:26:47 linux15 ntpdate[2207]: step time server 193.34.155.3 offset 0.023419 sec ... May 27 17:05:38 linux15 monit[21543]: 'cron' start: /etc/init.d/ssh May 27 17:05:38 linux15 monit[21543]: 'cron' failed to start May 27 17:06:08 linux15 monit[21543]: 'cron' failed to start May 27 17:06:08 linux15 monit[21543]: 'cron' process is not running May 27 17:06:08 linux15 monit[21543]: 'cron' trying to restart May 27 17:06:08 linux15 monit[21543]: 'cron' start: /etc/init.d/ssh May 27 17:06:38 linux15 monit[21543]: 'cron' process is not running May 27 17:06:38 linux15 monit[21543]: 'cron' trying to restart May 27 17:06:38 linux15 monit[21543]: 'cron' start: /etc/init.d/ssh May 27 17:06:38 linux15 monit[21543]: 'cron' failed to start |
#ls -la /var/log
итого 9168 drwxr-xr-x 8 root root 4096 Май 27 11:32 . drwxr-xr-x 13 root root 4096 Май 24 13:15 .. drwxr-xr-x 2 root root 4096 Май 24 13:19 apt -rw-r--r-- 1 root root 1538 Май 25 11:12 aptitude -rw-r----- 1 root adm 496078 Май 27 17:07 auth.log -rw-r----- 1 root adm 31 Май 24 13:16 boot -rw-r--r-- 1 root root 33565 Май 24 13:16 bootstrap.log -rw-rw-r-- 1 root utmp 384 Май 25 02:07 btmp drwxr-xr-x 2 root root 4096 Май 25 03:21 ConsoleKit ... -rw-r----- 1 root adm 349271 Май 27 15:22 mail.log -rw-r----- 1 root adm 0 Май 24 23:26 mail.warn -rw-r----- 1 root adm 1911928 Май 27 16:02 messages drwxr-xr-x 2 root root 4096 Май 24 23:26 news -rw-r--r-- 1 root root 0 Май 25 03:36 pycentral.log -rw-r----- 1 root adm 4348883 Май 27 17:07 syslog -rw-r----- 1 root adm 769 Май 27 12:41 user.log -rw-rw-r-- 1 root utmp 92544 Май 27 09:31 wtmp -rw-r--r-- 1 root root 24654 Май 27 09:30 Xorg.0.log -rw-r--r-- 1 root root 32489 Май 26 17:58 Xorg.0.log.old |
#cat /var/log/syslog
May 24 20:26:00 book kernel: [ 1.086799] PNP: No PS/2 controller found. Probing ports directly. May 24 20:26:00 book kernel: [ 1.089057] serio: i8042 KBD port at 0x60,0x64 irq 1 May 24 20:26:00 book kernel: [ 1.089102] serio: i8042 AUX port at 0x60,0x64 irq 12 May 24 20:26:00 book kernel: [ 1.089298] mice: PS/2 mouse device common for all mice May 24 20:26:00 book kernel: [ 1.089400] rtc_cmos 00:03: RTC can wake from S4 May 24 20:26:00 book kernel: [ 1.089488] rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0 May 24 20:26:00 book kernel: [ 1.089553] rtc0: alarms up to one month, y3k, 114 bytes nvram, hpet irqs May 24 20:26:00 book kernel: [ 1.089624] cpuidle: using governor ladder May 24 20:26:00 book kernel: [ 1.089665] cpuidle: using governor menu May 24 20:26:00 book kernel: [ 1.089707] No iBFT detected. ... May 24 20:26:00 book kernel: [ 3.427044] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 May 24 20:26:00 book kernel: [ 3.427104] usb usb5: Product: UHCI Host Controller May 24 20:26:00 book kernel: [ 3.427146] usb usb5: Manufacturer: Linux 2.6.29-2-686 uhci_hcd May 24 20:26:00 book kernel: [ 3.427190] usb usb5: SerialNumber: 0000:00:1a.2 May 24 20:26:00 book kernel: [ 3.427268] usb usb5: configuration #1 chosen from 1 choice May 24 20:26:00 book kernel: [ 3.427329] hub 5-0:1.0: USB hub found May 24 20:26:00 book kernel: [ 3.427372] hub 5-0:1.0: 2 ports detected May 24 20:26:00 book kernel: [ 3.427587] uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23 May 24 20:26:00 book kernel: [ 3.427638] uhci_hcd 0000:00:1d.0: setting latency timer to 64 May 24 20:26:00 book kernel: [ 3.427640] uhci_hcd 0000:00:1d.0: UHCI Host Controller |
#tail /var/log/syslog
May 27 17:08:08 linux15 monit[21543]: 'cron' trying to restart May 27 17:08:08 linux15 monit[21543]: 'cron' start: /etc/init.d/ssh May 27 17:08:38 linux15 monit[21543]: 'cron' process is not running May 27 17:08:38 linux15 monit[21543]: 'cron' trying to restart May 27 17:08:38 linux15 monit[21543]: 'cron' start: /etc/init.d/ssh May 27 17:08:38 linux15 monit[21543]: 'cron' failed to start May 27 17:09:08 linux15 monit[21543]: 'cron' process is not running May 27 17:09:08 linux15 monit[21543]: 'cron' trying to restart May 27 17:09:08 linux15 monit[21543]: 'cron' start: /etc/init.d/ssh May 27 17:09:08 linux15 monit[21543]: 'cron' failed to start |
#tail /var/log/syslog
May 27 17:13:38 linux15 monit[21543]: 'cron' process is not running May 27 17:13:38 linux15 monit[21543]: 'cron' trying to restart May 27 17:13:38 linux15 monit[21543]: 'cron' start: /etc/init.d/ssh May 27 17:14:08 linux15 monit[21543]: 'cron' failed to start May 27 17:14:08 linux15 monit[21543]: 'cron' process is not running May 27 17:14:08 linux15 monit[21543]: 'cron' trying to restart May 27 17:14:08 linux15 monit[21543]: 'cron' start: /etc/init.d/ssh May 27 17:14:24 linux15 monit[21543]: monit daemon with pid [21543] killed May 27 17:14:24 linux15 monit[21543]: Monit stopped May 27 17:14:24 linux15 monit[21543]: 'cron' failed to start |
#/etc/init.d/syslog-ng restart
Stopping system logging: syslog-ng. Starting system logging: syslog-ng. |
#/etc/init.d/monit stop
Stopping daemon monitor: monit. |
#pkill sshd
|
#man ?
|
#tail /var/log/syslog
May 27 17:13:38 linux15 monit[21543]: 'cron' process is not running May 27 17:13:38 linux15 monit[21543]: 'cron' trying to restart May 27 17:13:38 linux15 monit[21543]: 'cron' start: /etc/init.d/ssh May 27 17:14:08 linux15 monit[21543]: 'cron' failed to start May 27 17:14:08 linux15 monit[21543]: 'cron' process is not running May 27 17:14:08 linux15 monit[21543]: 'cron' trying to restart May 27 17:14:08 linux15 monit[21543]: 'cron' start: /etc/init.d/ssh May 27 17:14:24 linux15 monit[21543]: monit daemon with pid [21543] killed May 27 17:14:24 linux15 monit[21543]: Monit stopped May 27 17:14:24 linux15 monit[21543]: 'cron' failed to start |
#tail /var/log/syslog
May 27 17:13:38 linux15 monit[21543]: 'cron' process is not running May 27 17:13:38 linux15 monit[21543]: 'cron' trying to restart May 27 17:13:38 linux15 monit[21543]: 'cron' start: /etc/init.d/ssh May 27 17:14:08 linux15 monit[21543]: 'cron' failed to start May 27 17:14:08 linux15 monit[21543]: 'cron' process is not running May 27 17:14:08 linux15 monit[21543]: 'cron' trying to restart May 27 17:14:08 linux15 monit[21543]: 'cron' start: /etc/init.d/ssh May 27 17:14:24 linux15 monit[21543]: monit daemon with pid [21543] killed May 27 17:14:24 linux15 monit[21543]: Monit stopped May 27 17:14:24 linux15 monit[21543]: 'cron' failed to start |
#tail /var/log/syslog
May 27 17:13:38 linux15 monit[21543]: 'cron' process is not running May 27 17:13:38 linux15 monit[21543]: 'cron' trying to restart May 27 17:13:38 linux15 monit[21543]: 'cron' start: /etc/init.d/ssh May 27 17:14:08 linux15 monit[21543]: 'cron' failed to start May 27 17:14:08 linux15 monit[21543]: 'cron' process is not running May 27 17:14:08 linux15 monit[21543]: 'cron' trying to restart May 27 17:14:08 linux15 monit[21543]: 'cron' start: /etc/init.d/ssh May 27 17:14:24 linux15 monit[21543]: monit daemon with pid [21543] killed May 27 17:14:24 linux15 monit[21543]: Monit stopped May 27 17:14:24 linux15 monit[21543]: 'cron' failed to start |
#tail /var/log/daemon.log
May 27 17:13:38 linux15 monit[21543]: 'cron' process is not running May 27 17:13:38 linux15 monit[21543]: 'cron' trying to restart May 27 17:13:38 linux15 monit[21543]: 'cron' start: /etc/init.d/ssh May 27 17:14:08 linux15 monit[21543]: 'cron' failed to start May 27 17:14:08 linux15 monit[21543]: 'cron' process is not running May 27 17:14:08 linux15 monit[21543]: 'cron' trying to restart May 27 17:14:08 linux15 monit[21543]: 'cron' start: /etc/init.d/ssh May 27 17:14:24 linux15 monit[21543]: monit daemon with pid [21543] killed May 27 17:14:24 linux15 monit[21543]: Monit stopped May 27 17:14:24 linux15 monit[21543]: 'cron' failed to start |
module-init-tools mountall.sh mountnfs-bootclean.sh monit mountdevsubfs.sh mountnfs.sh mountall-bootclean.sh mountkernfs.sh mountoverflowtmp
#!/bin/sh ### BEGIN INIT INFO # Provides: monit # Required-Start: $remote_fs # Required-Stop: $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: service and resource monitoring daemon ### END INIT INFO # /etc/init.d/monit start and stop monit daemon monitor process. # Fredrik Steen, stone@debian.org # Stefan Alfredsson, alfs@debian.org PATH=/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/sbin/monit CONFIG="/etc/monit/monitrc" DELAY="/etc/monit/monit_delay" CHECK_INTERVALS=180 # We default to 180s (3min) check intervals NAME=monit DESC="daemon monitor" set -e # Check if DAEMON binary exist test -f $DAEMON || exit 0 if [ -f "/etc/default/monit" ]; then . /etc/default/monit fi ARGS="-d $CHECK_INTERVALS -c $CONFIG -s /var/lib/monit/monit.state" monit_not_configured () { printf "%b\n" "monit won't be started/stopped\n\tunless it it's configured" if [ "$1" != "stop" ] then printf "%b\n" "\tplease configure monit and then edit /etc/default/monit" printf "%b\n" "\tand set the \"startup\" variable to 1 in order to allow " printf "%b\n" "\tmonit to start" fi exit 0 } monit_check_config () { # Check for emtpy config, probably default configfile. if [ "`grep -s -v \"^#\" $CONFIG`" = "" ]; then echo "empty config, please edit $CONFIG." exit 0 fi } monit_check_perms () { # Check the permission on configfile. # The permission must not have more than -rwx------ (0700) permissions. # Skip checking, fix perms instead. /bin/chmod go-rwx $CONFIG } monit_delayed_monitoring () { if [ -x $DELAY ]; then $DELAY & elif [ -f $DELAY ]; then echo echo "[WARNING] A delayed start file exists ($DELAY) but it is not executable." fi } monit_check_syntax () { $DAEMON -t; # if [ $? ] ; then # echo "syntax good" # else # echo "syntax bad" # fi } monit_checks () { # Check if startup variable is set to 1, if not we exit. if [ "$startup" != "1" ]; then monit_not_configured $1 fi # Check for emtpy configfile monit_check_config # Check permissions of configfile monit_check_perms } case "$1" in start) echo -n "Starting $DESC: " monit_checks $1 echo -n "$NAME" start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \ --exec $DAEMON > /dev/null 2>&1 -- $ARGS monit_delayed_monitoring echo "." ;; stop) echo -n "Stopping $DESC: " #monit_checks $1 echo -n "$NAME" start-stop-daemon --retry 5 --oknodo --stop --quiet --pidfile /var/run/$NAME.pid \ --exec $DAEMON > /dev/null 2>&1 echo "." ;; restart|force-reload) $0 stop $0 start ;; syntax) monit_check_syntax ;; *) N=/etc/init.d/$NAME echo "Usage: $N {start|stop|restart|force-reload|syntax}" >&2 exit 1 ;; esac exit 0
sysctl.conf sysctl.d/ syslog-ng/
1 .dmrc .gtk-bookmarks Public/ a/ Documents/ .gvfs/ .purple/ .bash_history Download/ .ICEauthority .screenrc .bash_logout .fontconfig/ .l3rc .ssh/ .bash_profile .gajim/ .lilalo/ Templates/ .bashrc .gconf/ .local/ Videos/ .cache/ .gconfd/ .mozilla/ .vimrc .config/ .gksu.lock Music/ .Xauthority .dbus/ .gnome2/ Pictures/ .xsession-errors Desktop/ .gstreamer-0.10/ .profile
kvashnik@jabber.ru:5222 popovich
May 25 11:11:32 linux15 login[10182]: pam_unix(login:session): session closed for user user May 25 11:11:40 linux15 login[12579]: pam_unix(login:session): session opened for user root by LOGIN(uid=0) May 25 11:11:40 linux15 login[13055]: ROOT LOGIN on '/dev/tty1' May 25 11:11:54 linux15 login[12579]: pam_unix(login:session): session closed for user root May 25 11:12:02 linux15 login[13390]: pam_unix(login:session): session opened for user user by LOGIN(uid=0) May 25 11:17:01 linux15 CRON[14225]: pam_unix(cron:session): session opened for user root by (uid=0) May 25 11:17:01 linux15 CRON[14225]: pam_unix(cron:session): session closed for user root May 25 11:22:44 linux15 su[14581]: Successful su for root by user May 25 11:22:44 linux15 su[14581]: + /dev/pts/3 user:root May 25 11:22:44 linux15 su[14581]: pam_unix(su:session): session opened for user root by (uid=1000) May 25 11:53:22 linux15 su[15646]: Successful su for root by user May 25 11:53:22 linux15 su[15646]: + /dev/pts/7 user:root May 25 11:53:22 linux15 su[15646]: pam_unix(su:session): session opened for user root by (uid=1000) May 25 11:58:55 linux15 su[3941]: pam_unix(su:session): session closed for user root May 25 11:58:55 linux15 su[14581]: pam_unix(su:session): session closed for user root May 25 11:58:55 linux15 su[15646]: pam_unix(su:session): session closed for user root May 25 11:58:55 linux15 gdm[2617]: pam_unix(gdm:session): session closed for user user May 25 11:59:07 linux15 gdm[2617]: pam_unix(gdm:session): session opened for user user by (uid=0) May 25 11:59:07 linux15 gdm[2617]: pam_ck_connector(gdm:session): nox11 mode, ignoring PAM_TTY :0 May 25 12:00:40 linux15 gdm[2617]: pam_unix(gdm:session): session closed for user user May 25 12:00:53 linux15 gdm[2617]: pam_unix(gdm:session): session opened for user user by (uid=0) May 25 12:00:53 linux15 gdm[2617]: pam_ck_connector(gdm:session): nox11 mode, ignoring PAM_TTY :0 May 25 12:03:39 linux15 sudo: cannot execute /usr/sbin/sendmail: No such file or directory May 25 12:03:49 linux15 sudo: user : user NOT in sudoers ; TTY=pts/2 ; PWD=/home/user ; USER=root ; COMMAND=/usr/bin/apt-get install console-cyrillic May 25 12:03:49 linux15 sudo: cannot execute /usr/sbin/sendmail: No such file or directory May 25 12:03:59 linux15 su[18528]: Successful su for root by user May 25 12:03:59 linux15 su[18528]: + /dev/pts/2 user:root May 25 12:03:59 linux15 su[18528]: pam_unix(su:session): session opened for user root by user(uid=1000) May 25 12:07:34 linux15 login[2653]: pam_unix(login:session): session closed for user root May 25 12:07:45 linux15 login[19400]: pam_unix(login:session): session opened for user root by LOGIN(uid=0) May 25 12:07:45 linux15 login[19568]: ROOT LOGIN on '/dev/tty2' May 25 12:13:13 linux15 sshd[20232]: Accepted publickey for root from 192.168.15.253 port 44206 ssh2 May 25 12:13:13 linux15 sshd[20232]: pam_unix(sshd:session): session opened for user root by (uid=0) May 25 12:13:13 linux15 sshd[20232]: pam_unix(sshd:session): session closed for user root May 25 12:13:26 linux15 sshd[20523]: Accepted publickey for root from 192.168.15.253 port 44222 ssh2 May 25 12:13:26 linux15 sshd[20523]: pam_unix(sshd:session): session opened for user root by (uid=0) May 25 12:13:26 linux15 sshd[20523]: pam_unix(sshd:session): session closed for user root May 25 12:17:01 linux15 CRON[20813]: pam_unix(cron:session): session opened for user root by (uid=0) May 25 12:17:01 linux15 CRON[20813]: pam_unix(cron:session): session closed for user root May 25 12:18:32 linux15 su[18528]: pam_unix(su:session): session closed for user root May 25 12:18:32 linux15 gdm[2617]: pam_unix(gdm:session): session closed for user user May 25 12:18:44 linux15 gdm[2617]: pam_unix(gdm:session): session opened for user user by (uid=0) May 25 12:18:44 linux15 gdm[2617]: pam_ck_connector(gdm:session): nox11 mode, ignoring PAM_TTY :0 May 25 12:21:49 linux15 gdm[2617]: pam_unix(gdm:session): session closed for user user May 25 12:22:49 linux15 login[19400]: pam_unix(login:session): session closed for user root May 25 12:22:52 linux15 login[22970]: pam_unix(login:session): session opened for user root by LOGIN(uid=0) May 25 12:22:52 linux15 login[23069]: ROOT LOGIN on '/dev/tty2' May 25 12:23:57 linux15 gdm[23646]: pam_unix(gdm:session): session opened for user user by (uid=0) May 25 12:23:57 linux15 gdm[23646]: pam_ck_connector(gdm:session): nox11 mode, ignoring PAM_TTY :0 May 25 12:28:10 linux15 login[22970]: pam_unix(login:session): session closed for user root May 25 12:28:16 linux15 login[24633]: pam_unix(login:session): session opened for user root by LOGIN(uid=0) May 25 12:28:16 linux15 login[24767]: ROOT LOGIN on '/dev/tty2' May 25 12:33:16 linux15 su[25314]: Successful su for root by user May 25 12:33:16 linux15 su[25314]: + /dev/pts/1 user:root May 25 12:33:16 linux15 su[25314]: pam_unix(su:session): session opened for user root by user(uid=1000) May 25 12:40:41 linux15 sshd[25592]: Accepted publickey for root from 192.168.15.253 port 39348 ssh2 May 25 12:40:41 linux15 sshd[25592]: pam_unix(sshd:session): session opened for user root by (uid=0) May 25 12:40:41 linux15 sshd[25592]: pam_unix(sshd:session): session closed for user root May 25 12:42:03 linux15 sshd[25892]: Accepted publickey for root from 192.168.15.253 port 39368 ssh2 May 25 12:42:03 linux15 sshd[25892]: pam_unix(sshd:session): session opened for user root by (uid=0) May 25 12:42:03 linux15 sshd[25892]: pam_unix(sshd:session): session closed for user root May 25 13:17:01 linux15 CRON[26285]: pam_unix(cron:session): session opened for user root by (uid=0) May 25 13:17:01 linux15 CRON[26285]: pam_unix(cron:session): session closed for user root May 25 14:17:01 linux15 CRON[26605]: pam_unix(cron:session): session opened for user root by (uid=0) May 25 14:17:01 linux15 CRON[26605]: pam_unix(cron:session): session closed for user root May 25 14:32:49 linux15 sudo: cannot execute /usr/sbin/sendmail: Нет такого файла или каталога May 25 14:32:53 linux15 sudo: pam_unix(sudo:auth): authentication failure; logname=user uid=0 euid=0 tty=/dev/pts/2 ruser= rhost= user=user May 25 14:32:57 linux15 sudo: pam_unix(sudo:auth): conversation failed May 25 14:32:57 linux15 sudo: pam_unix(sudo:auth): auth could not identify password for [user] May 25 14:32:57 linux15 sudo: user : 1 incorrect password attempt ; TTY=pts/2 ; PWD=/home/user ; USER=root ; COMMAND=/usr/bin/apt-get install console-cyrillic ^get^met May 25 14:45:16 linux15 sshd[27103]: Accepted publickey for root from 192.168.15.253 port 58443 ssh2 May 25 14:45:16 linux15 sshd[27103]: pam_unix(sshd:session): session opened for user root by (uid=0) May 25 14:45:17 linux15 sshd[27103]: pam_unix(sshd:session): session closed for user root May 25 15:17:01 linux15 CRON[27577]: pam_unix(cron:session): session opened for user root by (uid=0) May 25 15:17:01 linux15 CRON[27577]: pam_unix(cron:session): session closed for user root May 25 16:17:01 linux15 CRON[27741]: pam_unix(cron:session): session opened for user root by (uid=0) May 25 16:17:01 linux15 CRON[27741]: pam_unix(cron:session): session closed for user root May 25 16:48:33 linux15 sshd[28306]: Accepted publickey for root from 192.168.15.253 port 39066 ssh2 May 25 16:48:33 linux15 sshd[28306]: pam_unix(sshd:session): session opened for user root by (uid=0) May 25 16:48:34 linux15 sshd[28306]: pam_unix(sshd:session): session closed for user root May 25 16:48:41 linux15 sshd[28614]: Accepted publickey for root from 192.168.15.253 port 39082 ssh2 May 25 16:48:41 linux15 sshd[28614]: pam_unix(sshd:session): session opened for user root by (uid=0) May 25 16:48:41 linux15 sshd[28614]: pam_unix(sshd:session): session closed for user root May 25 16:49:03 linux15 sshd[28913]: Accepted publickey for root from 192.168.15.253 port 39098 ssh2 May 25 16:49:03 linux15 sshd[28913]: pam_unix(sshd:session): session opened for user root by (uid=0) May 25 16:49:03 linux15 sshd[28913]: pam_unix(sshd:session): session closed for user root May 25 16:49:27 linux15 sshd[29203]: Accepted publickey for root from 192.168.15.253 port 39114 ssh2 May 25 16:49:27 linux15 sshd[29203]: pam_unix(sshd:session): session opened for user root by (uid=0) May 25 16:49:27 linux15 sshd[29203]: pam_unix(sshd:session): session closed for user root May 25 16:50:06 linux15 sshd[29493]: Accepted publickey for root from 192.168.15.253 port 59470 ssh2 May 25 16:50:06 linux15 sshd[29493]: pam_unix(sshd:session): session opened for user root by (uid=0) May 25 16:50:06 linux15 sshd[29493]: pam_unix(sshd:session): session closed for user root May 25 16:51:05 linux15 sshd[29860]: Accepted publickey for root from 192.168.15.253 port 59486 ssh2 May 25 16:51:05 linux15 sshd[29860]: pam_unix(sshd:session): session opened for user root by (uid=0) May 25 16:51:05 linux15 sshd[29860]: pam_unix(sshd:session): session closed for user root May 25 16:53:08 linux15 sshd[30162]: Accepted publickey for root from 192.168.15.253 port 59502 ssh2 May 25 16:53:08 linux15 sshd[30162]: pam_unix(sshd:session): session opened for user root by (uid=0) May 25 16:53:08 linux15 sshd[30162]: pam_unix(sshd:session): session closed for user root May 25 16:54:15 linux15 sshd[30453]: Accepted publickey for root from 192.168.15.253 port 59518 ssh2 May 25 16:54:15 linux15 sshd[30453]: pam_unix(sshd:session): session opened for user root by (uid=0) May 25 16:54:15 linux15 sshd[30453]: pam_unix(sshd:session): session closed for user root May 25 16:54:53 linux15 sshd[30744]: Accepted publickey for root from 192.168.15.253 port 55056 ssh2 May 25 16:54:53 linux15 sshd[30744]: pam_unix(sshd:session): session opened for user root by (uid=0) May 25 16:54:53 linux15 sshd[30744]: pam_unix(sshd:session): session closed for user root May 25 16:57:37 linux15 sshd[31038]: Accepted publickey for root from 192.168.15.253 port 55076 ssh2 May 25 16:57:37 linux15 sshd[31038]: pam_unix(sshd:session): session opened for user root by (uid=0) May 25 16:57:37 linux15 sshd[31038]: pam_unix(sshd:session): session closed for user root May 25 16:58:06 linux15 sshd[31329]: Accepted publickey for root from 192.168.15.253 port 55092 ssh2 May 25 16:58:06 linux15 sshd[31329]: pam_unix(sshd:session): session opened for user root by (uid=0) May 25 16:58:06 linux15 sshd[31329]: pam_unix(sshd:session): session closed for user root May 25 17:00:35 linux15 sshd[31666]: Accepted publickey for root from 192.168.15.253 port 39378 ssh2 May 25 17:00:35 linux15 sshd[31666]: pam_unix(sshd:session): session opened for user root by (uid=0) May 25 17:00:35 linux15 sshd[31666]: pam_unix(sshd:session): session closed for user root May 25 17:03:38 linux15 sshd[31996]: Accepted publickey for root from 192.168.15.253 port 39394 ssh2 May 25 17:03:38 linux15 sshd[31996]: pam_unix(sshd:session): session opened for user root by (uid=0) May 25 17:03:38 linux15 sshd[31996]: pam_unix(sshd:session): session closed for user root May 25 17:17:01 linux15 CRON[32303]: pam_unix(cron:session): session opened for user root by (uid=0) May 25 17:17:01 linux15 CRON[32303]: pam_unix(cron:session): session closed for user root May 25 17:25:37 linux15 sshd[32717]: Accepted publickey for root from 192.168.15.253 port 34577 ssh2 May 25 17:25:37 linux15 sshd[32717]: pam_unix(sshd:session): session opened for user root by (uid=0) May 25 17:25:37 linux15 sshd[32717]: pam_unix(sshd:session): session closed for user root May 25 17:25:44 linux15 sshd[542]: Accepted publickey for root from 192.168.15.253 port 34593 ssh2 May 25 17:25:44 linux15 sshd[542]: pam_unix(sshd:session): session opened for user root by (uid=0) May 25 17:25:44 linux15 sshd[542]: pam_unix(sshd:session): session closed for user root May 25 17:30:36 linux15 sshd[1091]: Accepted password for root from 192.168.15.16 port 49853 ssh2 May 25 17:30:36 linux15 sshd[1091]: pam_unix(sshd:session): session opened for user root by (uid=0) May 25 17:34:55 linux15 sshd[1091]: pam_unix(sshd:session): session closed for user root May 25 17:36:03 linux15 su[1572]: pam_unix(su:auth): authentication failure; logname=user uid=1000 euid=0 tty=/dev/pts/2 ruser=user rhost= user=root May 25 17:36:05 linux15 su[1572]: pam_authenticate: Authentication failure May 25 17:36:05 linux15 su[1572]: FAILED su for root by user May 25 17:36:05 linux15 su[1572]: - /dev/pts/2 user:root May 25 17:36:11 linux15 su[1574]: Successful su for root by user May 25 17:36:11 linux15 su[1574]: + /dev/pts/2 user:root May 25 17:36:11 linux15 su[1574]: pam_unix(su:session): session opened for user root by user(uid=1000) May 25 17:55:25 linux15 su[25314]: pam_unix(su:session): session closed for user root May 25 17:55:34 linux15 su[1574]: pam_unix(su:session): session closed for user root May 25 18:07:31 linux15 su[2378]: Successful su for root by user May 25 18:07:31 linux15 su[2378]: + /dev/pts/1 user:root May 25 18:07:31 linux15 su[2378]: pam_unix(su:session): session opened for user root by user(uid=1000) May 25 18:08:14 linux15 sshd[2750]: Accepted publickey for root from 192.168.15.253 port 60646 ssh2 May 25 18:08:14 linux15 sshd[2750]: pam_unix(sshd:session): session opened for user root by (uid=0) May 25 18:08:14 linux15 sshd[2750]: pam_unix(sshd:session): session closed for user root May 25 18:09:20 linux15 sshd[3040]: Accepted password for user from 192.168.15.16 port 54268 ssh2 May 25 18:09:20 linux15 sshd[3040]: pam_unix(sshd:session): session opened for user user by (uid=0) May 25 18:11:07 linux15 su[2378]: pam_unix(su:session): session closed for user root May 25 18:11:10 linux15 gdm[23646]: pam_unix(gdm:session): session closed for user user May 25 18:11:12 linux15 sshd[3040]: syslogin_perform_logout: logout() returned an error May 25 18:11:12 linux15 sshd[3040]: pam_unix(sshd:session): session closed for user user May 25 18:11:21 linux15 gdm[23646]: pam_nologin(gdm:auth): cannot determine username
daemon.log dmesg dmesg.1.gz dmesg.3.gz dpkg.log debug dmesg.0 dmesg.2.gz dmesg.4.gz
May 25 00:21:41 book dbus-daemon: Reloaded configuration May 25 00:21:42 book dbus-daemon: Reloaded configuration May 25 00:21:43 book dbus-daemon: Reloaded configuration May 25 00:21:43 book dbus-daemon: Reloaded configuration May 25 00:24:05 book console-kit-daemon[8969]: WARNING: Couldn't read /proc/8968/environ: Failed to open file '/proc/8968/environ': No such file or directory May 25 01:05:09 book init: Switching to runlevel: 6 May 24 22:06:18 book ntpdate[2155]: step time server 62.149.0.30 offset -10768.270167 sec May 24 22:07:23 book console-kit-daemon[2387]: WARNING: Couldn't read /proc/2386/environ: Failed to open file '/proc/2386/environ': No such file or directory May 24 22:26:07 book init: Switching to runlevel: 6 May 25 01:26:47 linux15 ntpdate[2207]: step time server 193.34.155.3 offset 0.023419 sec May 25 01:29:36 linux15 console-kit-daemon[2439]: WARNING: Couldn't read /proc/2438/environ: Failed to open file '/proc/2438/environ': No such file or directory May 25 01:37:37 linux15 init: Switching to runlevel: 0 May 25 08:23:29 linux15 ntpdate[2233]: step time server 193.34.155.2 offset -0.032688 sec May 25 08:28:15 linux15 console-kit-daemon[2467]: WARNING: Couldn't read /proc/2466/environ: Failed to open file '/proc/2466/environ': No such file or directory May 25 10:17:12 linux15 console-kit-daemon[2467]: WARNING: Unable to activate console: No such device or address May 25 10:34:47 linux15 console-kit-daemon[2467]: GLib-GObject-WARNING: instance of invalid non-instantiatable type `(null)' May 25 10:34:47 linux15 console-kit-daemon[2467]: GLib-GObject-CRITICAL: g_signal_emit_valist: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed May 25 11:11:54 linux15 console-kit-daemon[2467]: WARNING: Unable to activate console: No such device or address May 25 11:58:55 linux15 console-kit-daemon[2467]: WARNING: Unable to activate console: No such device or address May 25 12:00:40 linux15 console-kit-daemon[2467]: WARNING: Unable to activate console: No such device or address May 25 12:07:34 linux15 console-kit-daemon[2467]: WARNING: Unable to activate console: No such device or address May 25 12:18:32 linux15 console-kit-daemon[2467]: WARNING: Unable to activate console: No such device or address May 25 12:21:49 linux15 console-kit-daemon[2467]: WARNING: Unable to activate console: No such device or address May 25 12:22:49 linux15 console-kit-daemon[2467]: WARNING: Unable to activate console: No such device or address May 25 12:23:45 linux15 gdmgreeter[23853]: Gtk-CRITICAL: gtk_list_store_get_path: assertion `iter->stamp == GTK_LIST_STORE (tree_model)->stamp' failed May 25 12:23:45 linux15 gdmgreeter[23853]: Gtk-CRITICAL: gtk_tree_view_scroll_to_cell: assertion `path != NULL || column != NULL' failed May 25 12:28:10 linux15 console-kit-daemon[2467]: WARNING: Unable to activate console: No such device or address May 25 18:11:10 linux15 console-kit-daemon[2467]: WARNING: Unable to activate console: No such device or address May 25 18:11:22 linux15 init: Switching to runlevel: 0 May 25 18:11:22 linux15 console-kit-daemon[2467]: WARNING: Unable to activate console: No such device or address May 26 09:29:43 linux15 ntpdate[2234]: step time server 193.193.193.113 offset -2.407675 sec May 26 09:30:00 linux15 console-kit-daemon[2529]: WARNING: Couldn't read /proc/2528/environ: Failed to open file '/proc/2528/environ': No such file or directory May 26 17:58:38 linux15 init: Switching to runlevel: 0 May 26 17:58:40 linux15 console-kit-daemon[2529]: WARNING: Unable to activate console: No such device or address May 26 17:58:40 linux15 console-kit-daemon[2529]: GLib-GObject-WARNING: instance of invalid non-instantiatable type `(null)' May 26 17:58:40 linux15 console-kit-daemon[2529]: GLib-GObject-CRITICAL: g_signal_emit_valist: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed May 26 17:58:40 linux15 console-kit-daemon[2529]: GLib-GObject-CRITICAL: g_object_unref: assertion `G_IS_OBJECT (object)' failed May 27 09:30:49 linux15 ntpdate[2179]: step time server 193.34.155.4 offset -3.327751 sec May 27 09:31:00 linux15 console-kit-daemon[2469]: WARNING: Couldn't read /proc/2468/environ: Failed to open file '/proc/2468/environ': No such file or directory May 27 16:36:58 linux15 monit[20904]: Starting monit daemon May 27 16:36:58 linux15 monit[20906]: Monit started May 27 16:36:58 linux15 monit[20906]: 'cron' process is not running May 27 16:36:58 linux15 monit[20906]: 'cron' trying to restart May 27 16:36:58 linux15 monit[20906]: 'cron' start: /etc/init.d/ssh May 27 16:39:58 linux15 monit[20906]: Monit has not changed May 27 16:39:58 linux15 monit[20906]: 'cron' process is not running May 27 16:39:58 linux15 monit[20906]: 'cron' trying to restart May 27 16:39:58 linux15 monit[20906]: 'cron' start: /etc/init.d/ssh May 27 16:39:58 linux15 monit[20906]: 'cron' failed to start May 27 16:42:58 linux15 monit[20906]: 'cron' process is not running May 27 16:42:58 linux15 monit[20906]: 'cron' trying to restart May 27 16:42:58 linux15 monit[20906]: 'cron' start: /etc/init.d/ssh May 27 16:42:58 linux15 monit[20906]: 'cron' failed to start May 27 16:45:58 linux15 monit[20906]: 'cron' process is not running May 27 16:45:58 linux15 monit[20906]: 'cron' trying to restart May 27 16:45:58 linux15 monit[20906]: 'cron' start: /etc/init.d/ssh May 27 16:45:58 linux15 monit[20906]: 'cron' failed to start May 27 16:48:58 linux15 monit[20906]: 'cron' process is not running May 27 16:48:58 linux15 monit[20906]: 'cron' trying to restart May 27 16:48:58 linux15 monit[20906]: 'cron' start: /etc/init.d/ssh May 27 16:48:58 linux15 monit[20906]: 'cron' failed to start May 27 16:51:58 linux15 monit[20906]: 'cron' process is not running May 27 16:51:58 linux15 monit[20906]: 'cron' trying to restart May 27 16:51:58 linux15 monit[20906]: 'cron' start: /etc/init.d/ssh May 27 16:51:58 linux15 monit[20906]: 'cron' failed to start May 27 16:54:58 linux15 monit[20906]: 'cron' process is not running May 27 16:54:58 linux15 monit[20906]: 'cron' trying to restart May 27 16:54:58 linux15 monit[20906]: 'cron' start: /etc/init.d/ssh May 27 16:54:58 linux15 monit[20906]: 'cron' failed to start May 27 16:57:58 linux15 monit[20906]: 'cron' process is not running May 27 16:57:58 linux15 monit[20906]: 'cron' trying to restart May 27 16:57:58 linux15 monit[20906]: 'cron' start: /etc/init.d/ssh May 27 16:57:58 linux15 monit[20906]: 'cron' failed to start May 27 16:58:25 linux15 monit[20906]: monit daemon with pid [20906] killed May 27 16:58:25 linux15 monit[20906]: Monit stopped May 27 16:58:25 linux15 monit[20906]: 'cron' failed to start May 27 16:59:27 linux15 monit[21370]: Starting monit daemon May 27 16:59:27 linux15 monit[21372]: Monit started May 27 16:59:27 linux15 monit[21372]: 'cron' process is not running May 27 16:59:27 linux15 monit[21372]: 'cron' trying to restart May 27 16:59:27 linux15 monit[21372]: 'cron' start: /etc/init.d/ssh May 27 17:02:27 linux15 monit[21372]: Monit has not changed May 27 17:02:27 linux15 monit[21372]: 'cron' process is not running May 27 17:02:27 linux15 monit[21372]: 'cron' trying to restart May 27 17:02:27 linux15 monit[21372]: 'cron' start: /etc/init.d/ssh May 27 17:02:27 linux15 monit[21372]: 'cron' failed to start May 27 17:02:37 linux15 monit[21372]: monit daemon with pid [21372] killed May 27 17:02:37 linux15 monit[21372]: Monit stopped May 27 17:02:37 linux15 monit[21372]: 'cron' failed to start May 27 17:02:38 linux15 monit[21541]: Starting monit daemon May 27 17:02:38 linux15 monit[21543]: Monit started May 27 17:02:38 linux15 monit[21543]: 'cron' process is not running May 27 17:02:38 linux15 monit[21543]: 'cron' trying to restart May 27 17:02:38 linux15 monit[21543]: 'cron' start: /etc/init.d/ssh May 27 17:03:08 linux15 monit[21543]: 'cron' failed to start May 27 17:03:08 linux15 monit[21543]: Monit has not changed May 27 17:03:08 linux15 monit[21543]: 'cron' process is not running May 27 17:03:08 linux15 monit[21543]: 'cron' trying to restart May 27 17:03:08 linux15 monit[21543]: 'cron' start: /etc/init.d/ssh May 27 17:03:38 linux15 monit[21543]: 'cron' process is not running May 27 17:03:38 linux15 monit[21543]: 'cron' trying to restart May 27 17:03:38 linux15 monit[21543]: 'cron' start: /etc/init.d/ssh May 27 17:03:38 linux15 monit[21543]: 'cron' failed to start May 27 17:04:08 linux15 monit[21543]: 'cron' failed to start May 27 17:04:08 linux15 monit[21543]: 'cron' process is not running May 27 17:04:08 linux15 monit[21543]: 'cron' trying to restart May 27 17:04:08 linux15 monit[21543]: 'cron' start: /etc/init.d/ssh May 27 17:04:38 linux15 monit[21543]: 'cron' process is not running May 27 17:04:38 linux15 monit[21543]: 'cron' trying to restart May 27 17:04:38 linux15 monit[21543]: 'cron' start: /etc/init.d/ssh May 27 17:04:38 linux15 monit[21543]: 'cron' failed to start May 27 17:05:08 linux15 monit[21543]: 'cron' process is not running May 27 17:05:08 linux15 monit[21543]: 'cron' trying to restart May 27 17:05:08 linux15 monit[21543]: 'cron' start: /etc/init.d/ssh May 27 17:05:08 linux15 monit[21543]: 'cron' failed to start May 27 17:05:38 linux15 monit[21543]: 'cron' process is not running May 27 17:05:38 linux15 monit[21543]: 'cron' trying to restart May 27 17:05:38 linux15 monit[21543]: 'cron' start: /etc/init.d/ssh May 27 17:05:38 linux15 monit[21543]: 'cron' failed to start May 27 17:06:08 linux15 monit[21543]: 'cron' failed to start May 27 17:06:08 linux15 monit[21543]: 'cron' process is not running May 27 17:06:08 linux15 monit[21543]: 'cron' trying to restart May 27 17:06:08 linux15 monit[21543]: 'cron' start: /etc/init.d/ssh May 27 17:06:38 linux15 monit[21543]: 'cron' process is not running May 27 17:06:38 linux15 monit[21543]: 'cron' trying to restart May 27 17:06:38 linux15 monit[21543]: 'cron' start: /etc/init.d/ssh May 27 17:06:38 linux15 monit[21543]: 'cron' failed to start
May 24 20:26:00 book kernel: [ 1.086799] PNP: No PS/2 controller found. Probing ports directly. May 24 20:26:00 book kernel: [ 1.089057] serio: i8042 KBD port at 0x60,0x64 irq 1 May 24 20:26:00 book kernel: [ 1.089102] serio: i8042 AUX port at 0x60,0x64 irq 12 May 24 20:26:00 book kernel: [ 1.089298] mice: PS/2 mouse device common for all mice May 24 20:26:00 book kernel: [ 1.089400] rtc_cmos 00:03: RTC can wake from S4 May 24 20:26:00 book kernel: [ 1.089488] rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0 May 24 20:26:00 book kernel: [ 1.089553] rtc0: alarms up to one month, y3k, 114 bytes nvram, hpet irqs May 24 20:26:00 book kernel: [ 1.089624] cpuidle: using governor ladder May 24 20:26:00 book kernel: [ 1.089665] cpuidle: using governor menu May 24 20:26:00 book kernel: [ 1.089707] No iBFT detected. May 24 20:26:00 book kernel: [ 1.090012] TCP cubic registered May 24 20:26:00 book kernel: [ 1.090052] NET: Registered protocol family 17 May 24 20:26:00 book kernel: [ 1.090099] Using IPI No-Shortcut mode May 24 20:26:00 book kernel: [ 1.090228] registered taskstats version 1 May 24 20:26:00 book kernel: [ 1.090390] rtc_cmos 00:03: setting system clock to 2009-05-24 20:25:53 UTC (1243196753) May 24 20:26:00 book kernel: [ 1.090582] Freeing unused kernel memory: 324k freed May 24 20:26:00 book kernel: [ 1.158675] ACPI: SSDT DDD90100, 01D2 (r1 AMI CPU1PM 1 INTL 20060113) May 24 20:26:00 book kernel: [ 1.159054] processor ACPI_CPU:00: registered as cooling_device0 May 24 20:26:00 book kernel: [ 1.159297] ACPI: SSDT DDD902E0, 0143 (r1 AMI CPU2PM 1 INTL 20060113) May 24 20:26:00 book kernel: [ 1.159646] processor ACPI_CPU:01: registered as cooling_device1 May 24 20:26:00 book kernel: [ 1.192219] Linux agpgart interface v0.103 May 24 20:26:00 book kernel: [ 1.199946] usbcore: registered new interface driver usbfs May 24 20:26:00 book kernel: [ 1.200013] usbcore: registered new interface driver hub May 24 20:26:00 book kernel: [ 1.200087] usbcore: registered new device driver usb May 24 20:26:00 book kernel: [ 1.203059] agpgart-intel 0000:00:00.0: Intel G45/G43 Chipset May 24 20:26:00 book kernel: [ 1.203926] agpgart-intel 0000:00:00.0: detected 32764K stolen memory May 24 20:26:00 book kernel: [ 1.206507] agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xe0000000 May 24 20:26:00 book kernel: [ 1.209997] firewire_ohci 0000:03:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19 May 24 20:26:00 book kernel: [ 1.210075] firewire_ohci 0000:03:00.0: setting latency timer to 64 May 24 20:26:00 book kernel: [ 1.218535] SCSI subsystem initialized May 24 20:26:00 book kernel: [ 1.230930] libata version 3.00 loaded. May 24 20:26:00 book kernel: [ 1.232280] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver May 24 20:26:00 book kernel: [ 1.232358] ehci_hcd 0000:00:1a.7: PCI INT C -> GSI 18 (level, low) -> IRQ 18 May 24 20:26:00 book kernel: [ 1.232437] ehci_hcd 0000:00:1a.7: setting latency timer to 64 May 24 20:26:00 book kernel: [ 1.232440] ehci_hcd 0000:00:1a.7: EHCI Host Controller May 24 20:26:00 book kernel: [ 1.232524] ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 1 May 24 20:26:00 book kernel: [ 1.236483] ehci_hcd 0000:00:1a.7: debug port 1 May 24 20:26:00 book kernel: [ 1.236549] ehci_hcd 0000:00:1a.7: cache line size of 32 is not supported May 24 20:26:00 book kernel: [ 1.236562] ehci_hcd 0000:00:1a.7: irq 18, io mem 0xfe3fbc00 May 24 20:26:00 book kernel: [ 1.244335] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded May 24 20:26:00 book kernel: [ 1.244400] r8169 0000:01:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 May 24 20:26:00 book kernel: [ 1.244460] r8169 0000:01:00.0: setting latency timer to 64 May 24 20:26:00 book kernel: [ 1.244528] r8169 0000:01:00.0: irq 28 for MSI/MSI-X May 24 20:26:00 book kernel: [ 1.244781] eth0: RTL8168c/8111c at 0xf80d4000, 00:22:15:c8:4e:d2, XID 3c4000c0 IRQ 28 May 24 20:26:00 book kernel: [ 1.249840] uhci_hcd: USB Universal Host Controller Interface driver May 24 20:26:00 book kernel: [ 1.252520] ehci_hcd 0000:00:1a.7: USB 2.0 started, EHCI 1.00 May 24 20:26:00 book kernel: [ 1.252580] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 May 24 20:26:00 book kernel: [ 1.252627] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 May 24 20:26:00 book kernel: [ 1.252688] usb usb1: Product: EHCI Host Controller May 24 20:26:00 book kernel: [ 1.252731] usb usb1: Manufacturer: Linux 2.6.29-2-686 ehci_hcd May 24 20:26:00 book kernel: [ 1.252778] usb usb1: SerialNumber: 0000:00:1a.7 May 24 20:26:00 book kernel: [ 1.252880] usb usb1: configuration #1 chosen from 1 choice May 24 20:26:00 book kernel: [ 1.252954] hub 1-0:1.0: USB hub found May 24 20:26:00 book kernel: [ 1.253000] hub 1-0:1.0: 6 ports detected May 24 20:26:00 book kernel: [ 1.253151] uhci_hcd 0000:00:1a.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 May 24 20:26:00 book kernel: [ 1.253207] uhci_hcd 0000:00:1a.0: setting latency timer to 64 May 24 20:26:00 book kernel: [ 1.253210] uhci_hcd 0000:00:1a.0: UHCI Host Controller May 24 20:26:00 book kernel: [ 1.253273] uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 2 May 24 20:26:00 book kernel: [ 1.253362] uhci_hcd 0000:00:1a.0: irq 16, io base 0x0000c480 May 24 20:26:00 book kernel: [ 1.253429] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001 May 24 20:26:00 book kernel: [ 1.253476] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 May 24 20:26:00 book kernel: [ 1.253536] usb usb2: Product: UHCI Host Controller May 24 20:26:00 book kernel: [ 1.253579] usb usb2: Manufacturer: Linux 2.6.29-2-686 uhci_hcd May 24 20:26:00 book kernel: [ 1.253623] usb usb2: SerialNumber: 0000:00:1a.0 May 24 20:26:00 book kernel: [ 1.253696] usb usb2: configuration #1 chosen from 1 choice May 24 20:26:00 book kernel: [ 1.253758] hub 2-0:1.0: USB hub found May 24 20:26:00 book kernel: [ 1.253801] hub 2-0:1.0: 2 ports detected May 24 20:26:00 book kernel: [ 1.253912] ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 23 (level, low) -> IRQ 23 May 24 20:26:00 book kernel: [ 1.253979] ehci_hcd 0000:00:1d.7: setting latency timer to 64 May 24 20:26:00 book kernel: [ 1.253982] ehci_hcd 0000:00:1d.7: EHCI Host Controller May 24 20:26:00 book kernel: [ 1.254047] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 3 May 24 20:26:00 book kernel: [ 1.258674] ehci_hcd 0000:00:1d.7: debug port 1 May 24 20:26:00 book kernel: [ 1.258721] ehci_hcd 0000:00:1d.7: cache line size of 32 is not supported May 24 20:26:00 book kernel: [ 1.258734] ehci_hcd 0000:00:1d.7: irq 23, io mem 0xfe3fb800 May 24 20:26:00 book kernel: [ 1.272632] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00 May 24 20:26:00 book kernel: [ 1.272708] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002 May 24 20:26:00 book kernel: [ 1.272758] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 May 24 20:26:00 book kernel: [ 1.272823] usb usb3: Product: EHCI Host Controller May 24 20:26:00 book kernel: [ 1.272868] usb usb3: Manufacturer: Linux 2.6.29-2-686 ehci_hcd May 24 20:26:00 book kernel: [ 1.272916] usb usb3: SerialNumber: 0000:00:1d.7 May 24 20:26:00 book kernel: [ 1.273013] usb usb3: configuration #1 chosen from 1 choice May 24 20:26:00 book kernel: [ 1.273077] hub 3-0:1.0: USB hub found May 24 20:26:00 book kernel: [ 1.273122] hub 3-0:1.0: 6 ports detected May 24 20:26:00 book kernel: [ 1.274128] ata_piix 0000:00:1f.2: version 2.12 May 24 20:26:00 book kernel: [ 1.274143] ata_piix 0000:00:1f.2: PCI INT B -> GSI 19 (level, low) -> IRQ 19 May 24 20:26:00 book kernel: [ 1.274195] ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ] May 24 20:26:00 book kernel: [ 1.274365] ata_piix 0000:00:1f.2: setting latency timer to 64 May 24 20:26:00 book kernel: [ 1.274426] scsi0 : ata_piix May 24 20:26:00 book kernel: [ 1.275259] pata_marvell 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 May 24 20:26:00 book kernel: [ 1.275346] pata_marvell 0000:02:00.0: setting latency timer to 64 May 24 20:26:00 book kernel: [ 1.275395] scsi1 : ata_piix May 24 20:26:00 book kernel: [ 1.276544] ata1: SATA max UDMA/133 cmd 0xac00 ctl 0xa880 bmdma 0xa400 irq 19 May 24 20:26:00 book kernel: [ 1.276594] ata2: SATA max UDMA/133 cmd 0xa800 ctl 0xa480 bmdma 0xa408 irq 19 May 24 20:26:00 book kernel: [ 1.276674] scsi2 : pata_marvell May 24 20:26:00 book kernel: [ 1.276762] scsi3 : pata_marvell May 24 20:26:00 book kernel: [ 1.276827] ata3: PATA max UDMA/100 cmd 0xec00 ctl 0xe880 bmdma 0xe400 irq 16 May 24 20:26:00 book kernel: [ 1.276876] ata4: PATA max UDMA/133 cmd 0xe800 ctl 0xe480 bmdma 0xe408 irq 16 May 24 20:26:00 book kernel: [ 1.288846] firewire_ohci: Added fw-ohci device 0000:03:00.0, OHCI version 1.10 May 24 20:26:00 book kernel: [ 1.788569] firewire_core: created device fw0: GUID 0011d800018636c3, S400 May 24 20:26:00 book kernel: [ 1.926570] ata1.00: SATA link down (SStatus 0 SControl 300) May 24 20:26:00 book kernel: [ 1.926620] ata1.01: SATA link down (SStatus 0 SControl 300) May 24 20:26:00 book kernel: [ 2.720057] ata2.00: SATA link up 3.0 Gbps (SStatus 123 SControl 300) May 24 20:26:00 book kernel: [ 2.720119] ata2.01: SATA link up 3.0 Gbps (SStatus 123 SControl 300) May 24 20:26:00 book kernel: [ 2.736187] ata2.00: ATA-7: Hitachi HDS721680PLA380, P21OABDA, max UDMA/100 May 24 20:26:00 book kernel: [ 2.736234] ata2.00: 156301488 sectors, multi 16: LBA48 NCQ (depth 0/32) May 24 20:26:00 book kernel: [ 2.736305] ata2.01: ATA-7: Hitachi HDS721680PLA380, P21OABDA, max UDMA/100 May 24 20:26:00 book kernel: [ 2.736352] ata2.01: 156301488 sectors, multi 16: LBA48 NCQ (depth 0/32) May 24 20:26:00 book kernel: [ 2.752199] ata2.00: configured for UDMA/100 May 24 20:26:00 book kernel: [ 2.768203] ata2.01: configured for UDMA/100 May 24 20:26:00 book kernel: [ 2.768311] scsi 1:0:0:0: Direct-Access ATA Hitachi HDS72168 P21O PQ: 0 ANSI: 5 May 24 20:26:00 book kernel: [ 2.768472] scsi 1:0:1:0: Direct-Access ATA Hitachi HDS72168 P21O PQ: 0 ANSI: 5 May 24 20:26:00 book kernel: [ 2.768608] uhci_hcd 0000:00:1a.1: PCI INT B -> GSI 21 (level, low) -> IRQ 21 May 24 20:26:00 book kernel: [ 2.768660] uhci_hcd 0000:00:1a.1: setting latency timer to 64 May 24 20:26:00 book kernel: [ 2.768663] uhci_hcd 0000:00:1a.1: UHCI Host Controller May 24 20:26:00 book kernel: [ 2.768725] uhci_hcd 0000:00:1a.1: new USB bus registered, assigned bus number 4 May 24 20:26:00 book kernel: [ 2.768812] uhci_hcd 0000:00:1a.1: irq 21, io base 0x0000c800 May 24 20:26:00 book kernel: [ 2.768882] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001 May 24 20:26:00 book kernel: [ 2.768928] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 May 24 20:26:00 book kernel: [ 2.768989] usb usb4: Product: UHCI Host Controller May 24 20:26:00 book kernel: [ 2.769031] usb usb4: Manufacturer: Linux 2.6.29-2-686 uhci_hcd May 24 20:26:00 book kernel: [ 2.769075] usb usb4: SerialNumber: 0000:00:1a.1 May 24 20:26:00 book kernel: [ 2.769153] usb usb4: configuration #1 chosen from 1 choice May 24 20:26:00 book kernel: [ 2.769217] hub 4-0:1.0: USB hub found May 24 20:26:00 book kernel: [ 2.769260] hub 4-0:1.0: 2 ports detected May 24 20:26:00 book kernel: [ 2.769379] ata_piix 0000:00:1f.5: PCI INT B -> GSI 19 (level, low) -> IRQ 19 May 24 20:26:00 book kernel: [ 2.769429] ata_piix 0000:00:1f.5: MAP [ P0 -- P1 -- ] May 24 20:26:00 book kernel: [ 2.769587] ata_piix 0000:00:1f.5: setting latency timer to 64 May 24 20:26:00 book kernel: [ 2.770015] scsi4 : ata_piix May 24 20:26:00 book kernel: [ 2.770152] scsi5 : ata_piix May 24 20:26:00 book kernel: [ 2.771090] ata5: SATA max UDMA/133 cmd 0xbc00 ctl 0xb880 bmdma 0xb400 irq 19 May 24 20:26:00 book kernel: [ 2.771139] ata6: SATA max UDMA/133 cmd 0xb800 ctl 0xb480 bmdma 0xb408 irq 19 May 24 20:26:00 book kernel: [ 3.098539] ata5: SATA link down (SStatus 0 SControl 300) May 24 20:26:00 book kernel: [ 3.426539] ata6: SATA link down (SStatus 0 SControl 300) May 24 20:26:00 book kernel: [ 3.426741] uhci_hcd 0000:00:1a.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18 May 24 20:26:00 book kernel: [ 3.426792] uhci_hcd 0000:00:1a.2: setting latency timer to 64 May 24 20:26:00 book kernel: [ 3.426794] uhci_hcd 0000:00:1a.2: UHCI Host Controller May 24 20:26:00 book kernel: [ 3.426853] uhci_hcd 0000:00:1a.2: new USB bus registered, assigned bus number 5 May 24 20:26:00 book kernel: [ 3.426931] uhci_hcd 0000:00:1a.2: irq 18, io base 0x0000c880 May 24 20:26:00 book kernel: [ 3.426998] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001 May 24 20:26:00 book kernel: [ 3.427044] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 May 24 20:26:00 book kernel: [ 3.427104] usb usb5: Product: UHCI Host Controller May 24 20:26:00 book kernel: [ 3.427146] usb usb5: Manufacturer: Linux 2.6.29-2-686 uhci_hcd May 24 20:26:00 book kernel: [ 3.427190] usb usb5: SerialNumber: 0000:00:1a.2 May 24 20:26:00 book kernel: [ 3.427268] usb usb5: configuration #1 chosen from 1 choice May 24 20:26:00 book kernel: [ 3.427329] hub 5-0:1.0: USB hub found May 24 20:26:00 book kernel: [ 3.427372] hub 5-0:1.0: 2 ports detected May 24 20:26:00 book kernel: [ 3.427587] uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23 May 24 20:26:00 book kernel: [ 3.427638] uhci_hcd 0000:00:1d.0: setting latency timer to 64 May 24 20:26:00 book kernel: [ 3.427640] uhci_hcd 0000:00:1d.0: UHCI Host Controller
Время первой команды журнала | 14:51:05 2009- 5-27 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 17:15:23 2009- 5-27 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 3.96 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.99 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 2.41 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 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