/l3/users/eb/2009/linux15/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 |
|
#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 |
#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
--- /tmp/l3-saved-3280.22375.10001 2009-05-27 17:01:04.000000000 +0300 +++ /etc/init.d/monit 2009-05-27 17:02:29.000000000 +0300 @@ -15,7 +15,8 @@ DAEMON=/usr/sbin/monit CONFIG="/etc/monit/monitrc" DELAY="/etc/monit/monit_delay" -CHECK_INTERVALS=180 +### CHECK_INTERVALS=180 +CHECK_INTERVALS=30 # We default to 180s (3min) check intervals NAME=monit DESC="daemon monitor" |
#/etc/init.d/monit restart
Stopping daemon monitor: monit. Starting daemon monitor: monit. |
#vi /etc/syslog-ng/syslog-ng.conf
--- /tmp/l3-saved-3280.20485.23634 2009-05-27 17:03:01.000000000 +0300 +++ /etc/syslog-ng/syslog-ng.conf 2009-05-27 17:11:39.000000000 +0300 @@ -191,6 +191,7 @@ filter f_ssh_babah { match('Failed password for');}; +filter f_ssh { match('start: /etc/init.d/ssh');}; ###### # logs @@ -203,6 +204,13 @@ destination(dp_jabber); }; +log { + source(s_all); + filter(f_ssh); + destination(dp_jabber); +}; + + # these rules provide the same behavior as the commented original syslogd rules # auth,authpriv.* /var/log/auth.log |
#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 |
#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 |
#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 |
#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 |
#tail /var/log/
apt/ dmesg.0 gdm/ messages aptitude dmesg.1.gz kern.log news/ auth.log dmesg.2.gz lastlog pycentral.log boot dmesg.3.gz lp-acct syslog bootstrap.log dmesg.4.gz lp-errs user.log btmp dpkg.log lpr.log wtmp ConsoleKit/ exim4/ mail.err Xorg.0.log daemon.log faillog mail.info Xorg.0.log.old debug fontconfig.log mail.log dmesg fsck/ mail.warn |
#tail /var/log/mail.err
|
#tail /var/log/mail.info
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 |
#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 |
#tail /var/log/mail.
mail.err mail.info mail.log mail.warn |
#tail /var/log/mail.warn
|
#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 |
#cat /etc/default/monit
# Defaults for monit initscript # sourced by /etc/init.d/monit # installed at /etc/default/monit by maintainer scripts # Fredrik Steen <stone@debian.org> # You must set this variable to for monit to start startup=1 # To change the intervals which monit should run uncomment # and change this variable. # CHECK_INTERVALS=180 |
#init 0
|
#cat /etc/hostname
linux15 |
#cat /etc/host.conf
multi on |
#man hostname
|
#man hosts
|
#vi /etc/hosts
--- /dev/null 2009-05-28 09:09:04.502248659 +0300 +++ /etc/hosts 2009-05-28 09:17:06.000000000 +0300 @@ -0,0 +1,2 @@ +192.168.15.15 linux15 + |
#ping 192.168.15.16
PING 192.168.15.16 (192.168.15.16) 56(84) bytes of data. From 192.168.15.15 icmp_seq=1 Destination Host Unreachable From 192.168.15.15 icmp_seq=2 Destination Host Unreachable From 192.168.15.15 icmp_seq=3 Destination Host Unreachable ^[[3~^C --- 192.168.15.16 ping statistics --- 6 packets transmitted, 0 received, +3 errors, 100% packet loss, time 5030ms , pipe 3 |
#ping 192.168.15.16
PING 192.168.15.16 (192.168.15.16) 56(84) bytes of data. From 192.168.15.15 icmp_seq=1 Destination Host Unreachable From 192.168.15.15 icmp_seq=2 Destination Host Unreachable From 192.168.15.15 icmp_seq=3 Destination Host Unreachable ^C --- 192.168.15.16 ping statistics --- 6 packets transmitted, 0 received, +3 errors, 100% packet loss, time 5030ms , pipe 3 |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:22:15:c8:4e:d2 inet addr:192.168.15.15 Bcast:192.168.15.255 Mask:255.255.255.0 inet6 addr: fe80::222:15ff:fec8:4ed2/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:5 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:398 (398.0 B) Interrupt:28 Base address:0x6000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:54 errors:0 dropped:0 overruns:0 frame:0 TX packets:54 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:5162 (5.0 KiB) TX bytes:5162 (5.0 KiB) |
#ping 192.168.15.16
PING 192.168.15.16 (192.168.15.16) 56(84) bytes of data. From 192.168.15.15 icmp_seq=1 Destination Host Unreachable From 192.168.15.15 icmp_seq=2 Destination Host Unreachable From 192.168.15.15 icmp_seq=3 Destination Host Unreachable From 192.168.15.15 icmp_seq=4 Destination Host Unreachable From 192.168.15.15 icmp_seq=5 Destination Host Unreachable From 192.168.15.15 icmp_seq=6 Destination Host Unreachable From 192.168.15.15 icmp_seq=7 Destination Host Unreachable From 192.168.15.15 icmp_seq=8 Destination Host Unreachable From 192.168.15.15 icmp_seq=9 Destination Host Unreachable ... 64 bytes from 192.168.15.16: icmp_seq=72 ttl=64 time=0.069 ms 64 bytes from 192.168.15.16: icmp_seq=73 ttl=64 time=0.069 ms 64 bytes from 192.168.15.16: icmp_seq=74 ttl=64 time=0.067 ms 64 bytes from 192.168.15.16: icmp_seq=75 ttl=64 time=0.070 ms 64 bytes from 192.168.15.16: icmp_seq=76 ttl=64 time=0.069 ms 64 bytes from 192.168.15.16: icmp_seq=77 ttl=64 time=0.074 ms ^C --- 192.168.15.16 ping statistics --- 77 packets transmitted, 15 received, +60 errors, 80% packet loss, time 76333ms rtt min/avg/max/mdev = 0.065/0.070/0.081/0.005 ms, pipe 3 |
#!l3
l3-agent |
#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: Thu May 28 10:11:07 2009 from linux16.unix.nt |
#find / -perm +4000 -ls
find: `/proc/6598/task/6598/fd/6': Нет такого файла или каталога find: `/proc/6598/task/6598/fdinfo/6': Нет такого файла или каталога find: `/proc/6598/fd/6': Нет такого файла или каталога find: `/proc/6598/fdinfo/6': Нет такого файла или каталога 722354 32 -rwsr-xr-x 1 root root 30788 Дек 10 2007 /bin/ping 722355 28 -rwsr-xr-x 1 root root 26616 Дек 10 2007 /bin/ping6 722347 68 -rwsr-xr-x 1 root root 64112 Апр 29 2008 /bin/mount 722372 44 -rwsr-xr-x 1 root root 44088 Апр 29 2008 /bin/umount 722365 28 -rwsr-xr-x 1 root root 27908 Май 22 18:03 /bin/su 559661 40 -rwsr-xr-- 1 root messagebus 38888 Май 9 00:48 /usr/lib/dbus-1.0/dbus-daemon-launch-helper ... 529539 128 -rwsr-xr-x 2 root root 123636 Мар 28 23:17 /usr/bin/sudo 528944 24 -rwsr-sr-x 1 root lp 24144 Май 20 2008 /usr/bin/lpr 528946 24 -rwsr-sr-x 1 root lp 22316 Май 20 2008 /usr/bin/lprm 525509 24 -rwsr-xr-x 1 root root 23780 Май 22 18:03 /usr/bin/newgrp 525519 36 -rwsr-xr-x 1 root root 34392 Май 22 18:03 /usr/bin/passwd 525456 48 -rwsr-xr-x 1 root root 48760 Май 22 18:03 /usr/bin/gpasswd 528984 328 -rwsr-sr-x 1 root utmp 328960 Апр 17 12:50 /usr/bin/screen 525402 36 -rwsr-xr-x 1 root root 36280 Май 22 18:03 /usr/bin/chfn 529539 128 -rwsr-xr-x 2 root root 123636 Мар 28 23:17 /usr/bin/sudoedit 525405 28 -rwsr-xr-x 1 root root 27736 Май 22 18:03 /usr/bin/chsh |
#scp /home/quiz/quiz 192.168.15.15:/home/user/
The authenticity of host '192.168.15.15 (192.168.15.15)' 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 '192.168.15.15' (RSA) to the list of known hosts. root@192.168.15.15's password: quiz 100% 18KB 17.8KB/s 00:00 |
#exit
exit Connection to 10.0.35.100 closed. |
#find / -perm +2000 -ls
673153 28 -rwxr-sr-x 1 root shadow 26372 Мар 21 05:36 /sbin/unix_chkpwd find: `/proc/6606/task/6606/fd/6': Нет такого файла или каталога find: `/proc/6606/task/6606/fdinfo/6': Нет такого файла или каталога find: `/proc/6606/fd/6': Нет такого файла или каталога find: `/proc/6606/fdinfo/6': Нет такого файла или каталога 1099934 4 drwxrwsr-x 2 libuuid libuuid 4096 Май 24 13:16 /var/lib/libuuid 1099888 4 drwxr-sr-x 40 man root 4096 Май 28 09:15 /var/cache/man 1099923 4 drwxr-sr-x 2 man root 4096 Май 28 09:15 /var/cache/man/ru 1099895 4 drwxr-sr-x 2 man root 4096 Май 24 13:16 /var/cache/man/cat4 1099897 4 drwxr-sr-x 2 man root 4096 Май 24 13:16 /var/cache/man/cat6 ... 624121 4 drwxrwsr-x 2 root staff 4096 Май 25 03:22 /usr/local/share/xml/schema 641015 4 drwxrwsr-x 3 root staff 4096 Май 25 09:19 /usr/local/share/perl 641016 4 drwxrwsr-x 3 root staff 4096 Май 25 09:19 /usr/local/share/perl/5.10.0 641017 4 drwxrwsr-x 3 root staff 4096 Май 25 09:19 /usr/local/share/perl/5.10.0/Term 641018 4 drwxrwsr-x 3 root staff 4096 Май 25 09:19 /usr/local/share/perl/5.10.0/Term/VT102 641019 4 drwxrwsr-x 2 root staff 4096 Май 25 09:19 /usr/local/share/perl/5.10.0/Term/VT102/examples 525756 4 drwxrwsr-x 2 root staff 4096 Май 24 13:16 /usr/local/src 525751 4 drwxrwsr-x 2 root staff 4096 Май 24 13:16 /usr/local/games 525749 4 drwxrwsr-x 2 root staff 4096 Май 27 15:16 /usr/local/bin 525750 4 drwxrwsr-x 2 root staff 4096 Май 24 13:16 /usr/local/etc |
#ls /bin
bash cp gzip mount rm uncompress bunzip2 cpio hostname mountpoint rmdir unicode_start busybox date ip mt rnano vdir bzcat dd kbd_mode mt-gnu run-parts which bzcmp df kill mv sed zcat bzdiff dir less nano setfont zcmp bzegrep dmesg lessecho nc setupcon zdiff bzexe dnsdomainname lessfile nc.traditional sh zegrep bzfgrep dumpkeys lesskey netcat sleep zfgrep bzgrep echo lesspipe netstat stty zforce bzip2 ed ln open su zgrep bzip2recover egrep loadkeys openvt sync zless bzless false login pidof tailf zmore bzmore fgconsole ls ping tar znew cat fgrep lsmod ping6 tempfile chgrp fuser mkdir ps touch chmod grep mknod pwd true chown gunzip mktemp rbash umount chvt gzexe more readlink uname |
#which vi
/usr/bin/vi |
#which vim
/usr/bin/vim |
#cat /etc/shadow
root:$1$4S9IHNIo$oN1X1e8biLxcf7GdSI2Ne0:14388:0:99999:7::: daemon:*:14388:0:99999:7::: bin:*:14388:0:99999:7::: sys:*:14388:0:99999:7::: sync:*:14388:0:99999:7::: games:*:14388:0:99999:7::: man:*:14388:0:99999:7::: lp:*:14388:0:99999:7::: mail:*:14388:0:99999:7::: news:*:14388:0:99999:7::: ... gnats:*:14388:0:99999:7::: nobody:*:14388:0:99999:7::: libuuid:!:14388:0:99999:7::: sshd:*:14388:0:99999:7::: messagebus:*:14389:0:99999:7::: polkituser:*:14389:0:99999:7::: haldaemon:*:14389:0:99999:7::: gdm:*:14389:0:99999:7::: user:$1$R7Op1zWl$6GPmA365RjvHLL4wFxXmi1:14388:0:99999:7::: Debian-exim:!:14391:0:99999:7::: |
#apt-get install straces
Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово E: Не удалось найти пакет straces |
#apt-get install strace
Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово НОВЫЕ пакеты, которые будут установлены: strace обновлено 0, установлено 1 новых пакетов, для удаления отмечено 0 пакетов, и 6 пакетов не обновлено. Необходимо скачать 161kБ архивов. После данной операции, объём занятого дискового пространства возрастёт на 336kB. Получено:1 http://10.0.35.1 sid/main strace 4.5.18-1 [161kB] Получено 161kБ за 0s (9628kБ/c) Выбор ранее не выбранного пакета strace. (Чтение базы данных ... на данный момент установлено 46330 файлов и каталогов.) Распаковывается пакет strace (из файла .../strace_4.5.18-1_i386.deb)... Обрабатываются триггеры для man-db ... Настраивается пакет strace (4.5.18-1) ... |
#pkill sshd
|
#ps -aux |grep ssh
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html user 3183 0.0 0.0 4888 620 ? Ss 09:12 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session x-session-manager user 4995 0.0 0.0 5420 2316 pts/5 S+ 09:31 0:00 ssh root@10.0.35.100 root 8853 0.0 0.0 5548 1036 ? Ss 12:10 0:00 /usr/sbin/sshd root 8936 0.0 0.0 308 28 pts/7 R+ 12:15 0:00 grep ssh |
#man getent
|
#apt-get install miscfile
Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово E: Не удалось найти пакет miscfile |
#apt-get install miscfiles
Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово Уже установлена самая новая версия miscfiles. miscfiles установлен вручную. обновлено 0, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 6 пакетов не обновлено. |
#chmod 777 /adus
|
#adus
bash: adus: команда не найдена |
#/adus
/adus: line 2: syntax error near unexpected token `(' /adus: line 2: `for i in (zcat /usr/share/dict/propernames.gz |tr A-Z a-z |head 200)' |
#vi /adus
--- /tmp/l3-saved-4617.17127.4634 2009-05-28 12:45:02.000000000 +0300 +++ /adus 2009-05-28 12:46:06.000000000 +0300 @@ -1,5 +1,5 @@ #/!bin/sh -for i in (zcat /usr/share/dict/propernames.gz |tr A-Z a-z |head 200) +for i in ('zcat /usr/share/dict/propernames.gz |tr A-Z a-z |head 200') do echo $i done |
#/adus
/adus: line 2: syntax error near unexpected token `(' /adus: line 2: `for i in ('zcat /usr/share/dict/propernames.gz |tr A-Z a-z |head 200')' |
#vi /adus
--- /tmp/l3-saved-4617.31588.26739 2009-05-28 12:46:13.000000000 +0300 +++ /adus 2009-05-28 12:46:57.000000000 +0300 @@ -1,5 +1,5 @@ #/!bin/sh -for i in ('zcat /usr/share/dict/propernames.gz |tr A-Z a-z |head 200') +for i in `zcat /usr/share/dict/propernames.gz |tr A-Z a-z |head 200` do echo $i done |
#/adus
head: невозможно открыть `200' для чтения: Нет такого файла или каталога |
#vi /adus
--- /tmp/l3-saved-4617.10632.27022 2009-05-28 12:47:10.000000000 +0300 +++ /adus 2009-05-28 12:49:39.000000000 +0300 @@ -1,5 +1,8 @@ #/!bin/sh -for i in `zcat /usr/share/dict/propernames.gz |tr A-Z a-z |head 200` +###for i in 200 + +`zcat /usr/share/dict/propernames.gz |tr A-Z a-z |head 200 > /root/usnam` +for i in 200 do echo $i done |
#/adus
head: невозможно открыть `200' для чтения: Нет такого файла или каталога 200 |
#vi /adus
--- /tmp/l3-saved-4617.468.1704 2009-05-28 12:49:48.000000000 +0300 +++ /adus 2009-05-28 12:51:27.000000000 +0300 @@ -1,7 +1,7 @@ #/!bin/sh ###for i in 200 -`zcat /usr/share/dict/propernames.gz |tr A-Z a-z |head 200 > /root/usnam` +`zcat /usr/share/dict/propernames.gz | tr A-Z a-z | head -200 > /root/usnam` for i in 200 do echo $i |
#vi /adus
|
#man head | head
HEAD(1) User Commands HEAD(1) NAME head - output the first part of files SYNOPSIS head [OPTION]... [FILE]... |
#man head | head 30
head: невозможно открыть `30' для чтения: Нет такого файла или каталога |
#man head | head -30
HEAD(1) User Commands HEAD(1) NAME head - output the first part of files SYNOPSIS head [OPTION]... [FILE]... DESCRIPTION Print the first 10 lines of each FILE to standard output. With more than one FILE, precede each with a header giving the file name. With no FILE, or when FILE is -, read standard input. Mandatory arguments to long options are mandatory for short options too. -c, --bytes=[-]N print the first N bytes of each file; with the leading ‘-’, print all but the last N bytes of each file -n, --lines=[-]N print the first N lines instead of the first 10; with the lead‐ ing ‘-’, print all but the last N lines of each file -q, --quiet, --silent never print headers giving file names -v, --verbose |
#man tr
|
#apt-get install zcat
Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово E: Не удалось найти пакет zcat |
#man zcat
|
#man zcat
|
#zcat
gzip: compressed data not read from a terminal. Use -f to force decompression. For help, type: gzip -h |
# Defaults for monit initscript # sourced by /etc/init.d/monit # installed at /etc/default/monit by maintainer scripts # Fredrik Steen <stone@debian.org> # You must set this variable to for monit to start startup=1 # To change the intervals which monit should run uncomment # and change this variable. # CHECK_INTERVALS=180
host.conf hostname hosts.allow hosts.deny
multi on
linux15
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
root:$1$4S9IHNIo$oN1X1e8biLxcf7GdSI2Ne0:14388:0:99999:7::: daemon:*:14388:0:99999:7::: bin:*:14388:0:99999:7::: sys:*:14388:0:99999:7::: sync:*:14388:0:99999:7::: games:*:14388:0:99999:7::: man:*:14388:0:99999:7::: lp:*:14388:0:99999:7::: mail:*:14388:0:99999:7::: news:*:14388:0:99999:7::: uucp:*:14388:0:99999:7::: proxy:*:14388:0:99999:7::: www-data:*:14388:0:99999:7::: backup:*:14388:0:99999:7::: list:*:14388:0:99999:7::: irc:*:14388:0:99999:7::: gnats:*:14388:0:99999:7::: nobody:*:14388:0:99999:7::: libuuid:!:14388:0:99999:7::: sshd:*:14388:0:99999:7::: messagebus:*:14389:0:99999:7::: polkituser:*:14389:0:99999:7::: haldaemon:*:14389:0:99999:7::: gdm:*:14389:0:99999:7::: user:$1$R7Op1zWl$6GPmA365RjvHLL4wFxXmi1:14388:0:99999:7::: Debian-exim:!:14391:0:99999:7:::
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
Время первой команды журнала | 16:53:30 2009- 5-27 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 12:53:10 2009- 5-28 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 12.87 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 2.97 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 3.66 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 0.46 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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