/l3/users/kolya/nt-lnet-2006-06-26/linux1.unix.nt/user :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 |
|
#dig kolya.linux1.unix.nt
; <<>> DiG 9.2.4 <<>> kolya.linux1.unix.nt ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62848 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 ;; QUESTION SECTION: ;kolya.linux1.unix.nt. IN A ;; ANSWER SECTION: kolya.linux1.unix.nt. 3600 IN A 192.168.15.1 ;; AUTHORITY SECTION: linux1.unix.nt. 3600 IN NS kolya.linux1.unix.nt. linux1.unix.nt. 3600 IN NS m02.linux2.unix.nt. ;; ADDITIONAL SECTION: kolya.linux1.unix.nt. 3600 IN A 192.168.15.1 m02.linux2.unix.nt. 3535 IN A 192.168.15.2 ;; Query time: 5 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Wed Jun 28 17:02:51 2006 ;; MSG SIZE rcvd: 125 |
#dig kolya.linux1.unix.nt
; <<>> DiG 9.2.4 <<>> kolya.linux1.unix.nt ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45395 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 ;; QUESTION SECTION: ;kolya.linux1.unix.nt. IN A ;; ANSWER SECTION: kolya.linux1.unix.nt. 3600 IN A 192.168.15.1 ;; AUTHORITY SECTION: linux1.unix.nt. 3600 IN NS kolya.linux1.unix.nt. linux1.unix.nt. 3600 IN NS m02.linux2.unix.nt. ;; ADDITIONAL SECTION: kolya.linux1.unix.nt. 3600 IN A 192.168.15.1 m02.linux2.unix.nt. 3535 IN A 192.168.15.2 ;; Query time: 5 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Wed Jun 28 17:02:51 2006 ;; MSG SIZE rcvd: 125 |
#dig kolya.linux1.unix.nt
; <<>> DiG 9.2.4 <<>> kolya.linux1.unix.nt ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22668 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 ;; QUESTION SECTION: ;kolya.linux1.unix.nt. IN A ;; ANSWER SECTION: kolya.linux1.unix.nt. 3600 IN A 192.168.15.1 ;; AUTHORITY SECTION: linux1.unix.nt. 3600 IN NS kolya.linux1.unix.nt. linux1.unix.nt. 3600 IN NS m02.linux2.unix.nt. ;; ADDITIONAL SECTION: kolya.linux1.unix.nt. 3600 IN A 192.168.15.1 m02.linux2.unix.nt. 3534 IN A 192.168.15.2 ;; Query time: 5 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Wed Jun 28 17:02:52 2006 ;; MSG SIZE rcvd: 125 |
#dig kolya.linux1.unix.nt
; <<>> DiG 9.2.4 <<>> kolya.linux1.unix.nt ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22645 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 ;; QUESTION SECTION: ;kolya.linux1.unix.nt. IN A ;; ANSWER SECTION: kolya.linux1.unix.nt. 3600 IN A 192.168.15.1 ;; AUTHORITY SECTION: linux1.unix.nt. 3600 IN NS kolya.linux1.unix.nt. linux1.unix.nt. 3600 IN NS m02.linux2.unix.nt. ;; ADDITIONAL SECTION: kolya.linux1.unix.nt. 3600 IN A 192.168.15.1 m02.linux2.unix.nt. 3533 IN A 192.168.15.2 ;; Query time: 5 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Wed Jun 28 17:02:53 2006 ;; MSG SIZE rcvd: 125 |
#dig kolya.linux1.unix.nt
; <<>> DiG 9.2.4 <<>> kolya.linux1.unix.nt ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14330 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 ;; QUESTION SECTION: ;kolya.linux1.unix.nt. IN A ;; ANSWER SECTION: kolya.linux1.unix.nt. 3600 IN A 192.168.15.1 ;; AUTHORITY SECTION: linux1.unix.nt. 3600 IN NS kolya.linux1.unix.nt. linux1.unix.nt. 3600 IN NS m02.linux2.unix.nt. ;; ADDITIONAL SECTION: kolya.linux1.unix.nt. 3600 IN A 192.168.15.1 m02.linux2.unix.nt. 3533 IN A 192.168.15.2 ;; Query time: 42 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Wed Jun 28 17:02:53 2006 ;; MSG SIZE rcvd: 125 |
#dig kolya.linux1.unix.nt
; <<>> DiG 9.2.4 <<>> kolya.linux1.unix.nt ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42366 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 ;; QUESTION SECTION: ;kolya.linux1.unix.nt. IN A ;; ANSWER SECTION: kolya.linux1.unix.nt. 3600 IN A 192.168.15.1 ;; AUTHORITY SECTION: linux1.unix.nt. 3600 IN NS kolya.linux1.unix.nt. linux1.unix.nt. 3600 IN NS m02.linux2.unix.nt. ;; ADDITIONAL SECTION: kolya.linux1.unix.nt. 3600 IN A 192.168.15.1 m02.linux2.unix.nt. 3532 IN A 192.168.15.2 ;; Query time: 5 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Wed Jun 28 17:02:54 2006 ;; MSG SIZE rcvd: 125 |
#dig kolya.linux1.unix.nt
; <<>> DiG 9.2.4 <<>> kolya.linux1.unix.nt ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34628 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 ;; QUESTION SECTION: ;kolya.linux1.unix.nt. IN A ;; ANSWER SECTION: kolya.linux1.unix.nt. 3600 IN A 192.168.15.1 ;; AUTHORITY SECTION: linux1.unix.nt. 3600 IN NS kolya.linux1.unix.nt. linux1.unix.nt. 3600 IN NS m02.linux2.unix.nt. ;; ADDITIONAL SECTION: kolya.linux1.unix.nt. 3600 IN A 192.168.15.1 m02.linux2.unix.nt. 3531 IN A 192.168.15.2 ;; Query time: 5 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Wed Jun 28 17:02:55 2006 ;; MSG SIZE rcvd: 125 |
#dig kolya.linux1.unix.nt
; <<>> DiG 9.2.4 <<>> kolya.linux1.unix.nt ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21018 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 ;; QUESTION SECTION: ;kolya.linux1.unix.nt. IN A ;; ANSWER SECTION: kolya.linux1.unix.nt. 3600 IN A 192.168.15.1 ;; AUTHORITY SECTION: linux1.unix.nt. 3600 IN NS kolya.linux1.unix.nt. linux1.unix.nt. 3600 IN NS m02.linux2.unix.nt. ;; ADDITIONAL SECTION: kolya.linux1.unix.nt. 3600 IN A 192.168.15.1 m02.linux2.unix.nt. 3530 IN A 192.168.15.2 ;; Query time: 5 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Wed Jun 28 17:02:56 2006 ;; MSG SIZE rcvd: 125 |
#dig kolya.linux1.unix.nt
; <<>> DiG 9.2.4 <<>> kolya.linux1.unix.nt ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55237 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 ;; QUESTION SECTION: ;kolya.linux1.unix.nt. IN A ;; ANSWER SECTION: kolya.linux1.unix.nt. 3600 IN A 192.168.15.1 ;; AUTHORITY SECTION: linux1.unix.nt. 3600 IN NS kolya.linux1.unix.nt. linux1.unix.nt. 3600 IN NS m02.linux2.unix.nt. ;; ADDITIONAL SECTION: kolya.linux1.unix.nt. 3600 IN A 192.168.15.1 m02.linux2.unix.nt. 3529 IN A 192.168.15.2 ;; Query time: 5 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Wed Jun 28 17:02:57 2006 ;; MSG SIZE rcvd: 125 |
#vi /etc/bind/named.conf
|
#[root@linux1:user]#
|
#[root@linux1:user]# exit
exit |
#vi /etc/
|
#ls -l /etc/
-rw-r--r-- 1 root root 509 2006-06-26 17:14 console-cyrillic drwxr-xr-x 2 root root 1024 2006-06-25 21:48 console-tools drwxr-xr-x 2 root root 1024 2006-06-28 14:10 cron.d drwxr-xr-x 2 root root 1024 2006-06-25 22:07 cron.daily drwxr-xr-x 2 root root 1024 2006-06-25 21:47 cron.hourly drwxr-xr-x 2 root root 1024 2006-06-25 21:47 cron.monthly -rw-r--r-- 1 root root 651 2004-07-28 23:44 crontab drwxr-xr-x 2 root root 1024 2006-06-27 09:39 cron.weekly -rw-r--r-- 1 root root 428 2004-05-19 21:34 csh.cshrc -rw-r--r-- 1 root root 65 2004-05-19 21:34 csh.login ... -rw-r--r-- 1 root root 12 2006-06-26 00:55 timezone -rw-r--r-- 1 root root 1260 2004-10-28 21:50 ucf.conf -rw-r--r-- 1 root root 645 2004-11-21 12:10 updatedb.conf drwxr-xr-x 2 root root 1024 2006-06-27 09:39 vga drwxr-xr-x 2 root root 1024 2006-06-27 09:40 vim drwxr-xr-x 2 root root 1024 2006-06-25 22:08 w3m -rw-r--r-- 1 root root 4039 2004-10-04 21:05 wgetrc drwxr-xr-x 17 root root 1024 2006-06-28 14:22 X11 drwxr-xr-x 3 root root 1024 2006-06-27 09:37 xdg drwxr-xr-x 4 root root 1024 2006-06-27 09:43 Xprint |
#time
time times |
#times
0m0.059s 0m0.022s 0m0.100s 0m0.063s |
#time
bash: syntax error near unexpected token `newline' |
#exit
exit |
$sendmail -bd -q30h
bash: sendmail: command not found |
$su
Password: |
#apt-get install sendmail
Reading Package Lists... Done Building Dependency Tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies: sendmail: Depends: sendmail-bin but it is not going to be installed Depends: rmail but it is not going to be installed E: Broken packages |
#apt-cache search sendmail
clamav-milter - antivirus scanner for sendmail anteater - MTA log analyser written 100% in C++ amavisd-new-milter - Interface between sendmail-milter and amavisd-new drac - Dynamic Relay Authorization Control (pop-before-smtp) drac-dev - Dynamic Relay Authorization Control (development files) dhis-mx-sendmail-engine - Dynamic Host Information System - sendmail MX engine dcc-milter - Distributed Checksum Clearinghouse - sendmail milter plugin mimedefang - Electronic mail filter program for sendmail 8.12+ spamass-milter - sendmail milter for filtering mail through spamassassin sork-forwards - Tool to set autoforward in horde ... uw-mailutils - C-client support programs from UW lire - full-featured log analyzer and report generator lg-issue34 - Issue 34 of the Linux Gazette. lg-issue60 - Issue 60 of the Linux Gazette. lg-issue58 - Issue 58 of the Linux Gazette. lg-issue96 - Issue 96 of the Linux Gazette. libmail-sendmail-perl - Send email from a perl script balsa - An e-mail client for GNOME W: Couldn't stat source package list http://debian.org.ua testing/updates/main Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://debian.org.ua testing/updates/contrib Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory) |
#ping mail.ru
ping: unknown host mail.ru |
#ping 192.168.15.254
PING 192.168.15.254 (192.168.15.254) 56(84) bytes of data. 64 bytes from 192.168.15.254: icmp_seq=1 ttl=64 time=0.175 ms 64 bytes from 192.168.15.254: icmp_seq=2 ttl=64 time=0.187 ms --- 192.168.15.254 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1000ms rtt min/avg/max/mdev = 0.175/0.181/0.187/0.006 ms |
#traceroute google.com.ua
traceroute: unknown host google.com.ua |
#ping mail.ru
ping: unknown host mail.ru |
#ping 192.168.15.22
PING 192.168.15.22 (192.168.15.22) 56(84) bytes of data. ^[[A --- 192.168.15.22 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 1999ms |
#ping 192.168.15.2
PING 192.168.15.2 (192.168.15.2) 56(84) bytes of data. 64 bytes from 192.168.15.2: icmp_seq=1 ttl=64 time=0.362 ms 64 bytes from 192.168.15.2: icmp_seq=2 ttl=64 time=0.186 ms --- 192.168.15.2 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1000ms rtt min/avg/max/mdev = 0.186/0.274/0.362/0.088 ms |
#traceroute google.com.ua
traceroute: unknown host google.com.ua |
#[root@linux1:user]# apt-cache search sendmail
clamav-milter - antivirus scanner for sendmail anteater - MTA log analyser written 100% in C++ amavisd-new-milter - Interface between sendmail-milter and amavisd-new drac - Dynamic Relay Authorization Control (pop-before-smtp) drac-dev - Dynamic Relay Authorization Control (development files) dhis-mx-sendmail-engine - Dynamic Host Information System - sendmail MX engine dcc-milter - Distributed Checksum Clearinghouse - sendmail milter plugin mimedefang - Electronic mail filter program for sendmail 8.12+ spamass-milter - sendmail milter for filtering mail through spamassassin sork-forwards - Tool to set autoforward in horde ... uw-mailutils - C-client support programs from UW lire - full-featured log analyzer and report generator lg-issue34 - Issue 34 of the Linux Gazette. lg-issue60 - Issue 60 of the Linux Gazette. lg-issue58 - Issue 58 of the Linux Gazette. lg-issue96 - Issue 96 of the Linux Gazette. libmail-sendmail-perl - Send email from a perl script balsa - An e-mail client for GNOME W: Couldn't stat source package list http://debian.org.ua testing/updates/main Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://debian.org.ua testing/updates/contrib Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory) |
#/etc/b
bash_completion.d bind |
#/etc/init.d/bind restart
Stopping domain name service: named. Starting domain name service: named. |
#traceroute google.com.ua
|
#se
secpolicy select-default-wordlist sessreg setmetamode sed sendmail set setpci see sensible-browser setfdprm setsid select sensible-editor setkeycodes setterm select-default-ispell sensible-pager setleds setvesablank select-default-iwrap seq setlogcons setxkbmap |
#sendmail
Exim is a Mail Transfer Agent. It is normally called by Mail User Agents, not directly from a shell command line. Options and/or arguments control what it does when called. For a list of options, see the Exim documentation. |
#sendmail -H
exim abandoned: unknown, malformed, or incomplete option -H |
#sendmail -h
exim abandoned: unknown, malformed, or incomplete option -h |
#sendmail --help
Exim is a Mail Transfer Agent. It is normally called by Mail User Agents, not directly from a shell command line. Options and/or arguments control what it does when called. For a list of options, see the Exim documentation. |
#sendmail -?
exim abandoned: unknown, malformed, or incomplete option -? |
#sendmail
Exim is a Mail Transfer Agent. It is normally called by Mail User Agents, not directly from a shell command line. Options and/or arguments control what it does when called. For a list of options, see the Exim documentation. |
#exi
exicyclog exim4 exim_dbmbuild exim_lock exinext exiqsumm exif.py exim_checkaccess exim_dumpdb eximstats exipick exit exigrep exim_convert4r4 exim_fixdb exim_tidydb exiqgrep exiwhat |
#exim4
Exim is a Mail Transfer Agent. It is normally called by Mail User Agents, not directly from a shell command line. Options and/or arguments control what it does when called. For a list of options, see the Exim documentation. |
#exit
exit |
$[user@linux1:user]$ su
Password: |
#apt-cache search sendmail
clamav-milter - antivirus scanner for sendmail anteater - MTA log analyser written 100% in C++ amavisd-new-milter - Interface between sendmail-milter and amavisd-new drac - Dynamic Relay Authorization Control (pop-before-smtp) drac-dev - Dynamic Relay Authorization Control (development files) dhis-mx-sendmail-engine - Dynamic Host Information System - sendmail MX engine dcc-milter - Distributed Checksum Clearinghouse - sendmail milter plugin mimedefang - Electronic mail filter program for sendmail 8.12+ spamass-milter - sendmail milter for filtering mail through spamassassin sork-forwards - Tool to set autoforward in horde ... uw-mailutils - C-client support programs from UW lire - full-featured log analyzer and report generator lg-issue34 - Issue 34 of the Linux Gazette. lg-issue60 - Issue 60 of the Linux Gazette. lg-issue58 - Issue 58 of the Linux Gazette. lg-issue96 - Issue 96 of the Linux Gazette. libmail-sendmail-perl - Send email from a perl script balsa - An e-mail client for GNOME W: Couldn't stat source package list http://debian.org.ua testing/updates/main Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://debian.org.ua testing/updates/contrib Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory) |
#apt-get install sendmail.*
Reading Package Lists... Done Building Dependency Tree... Done Note, selecting sendmail-bin for regex ‘sendmail.*’ Note, selecting sendmail-doc for regex ‘sendmail.*’ Note, selecting sendmail for regex ‘sendmail.*’ Note, selecting sendmail-base for regex ‘sendmail.*’ Note, selecting sendmail-tls for regex ‘sendmail.*’ Note, selecting libsendmail-pmilter-perl for regex ‘sendmail.*’ Note, selecting libsendmail-milter-perl for regex ‘sendmail.*’ Note, selecting libmail-sendmail-perl for regex ‘sendmail.*’ ... requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies: libsendmail-pmilter-perl: Conflicts: libsendmail-milter-perl but 0.18-7 is to be installed E: Broken packages |
#apt-get install sendmail.*
Reading Package Lists... Done Building Dependency Tree... Done Note, selecting sendmail-bin for regex ‘sendmail.*’ Note, selecting sendmail-doc for regex ‘sendmail.*’ Note, selecting sendmail for regex ‘sendmail.*’ Note, selecting sendmail-base for regex ‘sendmail.*’ Note, selecting sendmail-tls for regex ‘sendmail.*’ Note, selecting libsendmail-pmilter-perl for regex ‘sendmail.*’ Note, selecting libsendmail-milter-perl for regex ‘sendmail.*’ Note, selecting libmail-sendmail-perl for regex ‘sendmail.*’ ... requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies: libsendmail-pmilter-perl: Conflicts: libsendmail-milter-perl but 0.18-7 is to be installed E: Broken packages |
#apt-get install sendmail.*
Reading Package Lists... Done Building Dependency Tree... Done Note, selecting sendmail-bin for regex ‘sendmail.*’ Note, selecting sendmail-doc for regex ‘sendmail.*’ Note, selecting sendmail for regex ‘sendmail.*’ Note, selecting sendmail-base for regex ‘sendmail.*’ Note, selecting sendmail-tls for regex ‘sendmail.*’ Note, selecting libsendmail-pmilter-perl for regex ‘sendmail.*’ Note, selecting libsendmail-milter-perl for regex ‘sendmail.*’ Note, selecting libmail-sendmail-perl for regex ‘sendmail.*’ ... requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies: libsendmail-pmilter-perl: Conflicts: libsendmail-milter-perl but 0.18-7 is to be installed E: Broken packages |
#apt-get install sendmail.*
Reading Package Lists... Done Building Dependency Tree... Done Note, selecting sendmail-bin for regex ‘sendmail.*’ Note, selecting sendmail-doc for regex ‘sendmail.*’ Note, selecting sendmail for regex ‘sendmail.*’ Note, selecting sendmail-base for regex ‘sendmail.*’ Note, selecting sendmail-tls for regex ‘sendmail.*’ Note, selecting libsendmail-pmilter-perl for regex ‘sendmail.*’ Note, selecting libsendmail-milter-perl for regex ‘sendmail.*’ Note, selecting libmail-sendmail-perl for regex ‘sendmail.*’ ... requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies: libsendmail-pmilter-perl: Conflicts: libsendmail-milter-perl but 0.18-7 is to be installed E: Broken packages |
#apt-get install sendmail.*
Reading Package Lists... Done Building Dependency Tree... Done Note, selecting sendmail-bin for regex ‘sendmail.*’ Note, selecting sendmail-doc for regex ‘sendmail.*’ Note, selecting sendmail for regex ‘sendmail.*’ Note, selecting sendmail-base for regex ‘sendmail.*’ Note, selecting sendmail-tls for regex ‘sendmail.*’ Note, selecting libsendmail-pmilter-perl for regex ‘sendmail.*’ Note, selecting libsendmail-milter-perl for regex ‘sendmail.*’ Note, selecting libmail-sendmail-perl for regex ‘sendmail.*’ ... requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies: libsendmail-pmilter-perl: Conflicts: libsendmail-milter-perl but 0.18-7 is to be installed E: Broken packages |
#apt-get install sendmail
Reading Package Lists... Done Building Dependency Tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies: sendmail: Depends: sendmail-bin but it is not going to be installed Depends: rmail but it is not going to be installed E: Broken packages |
#apt-get install sendmail-bin
Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: sendmail-base sendmail-cf Suggested packages: sendmail-doc ca-certificates logcheck sasl2-bin libsasl2-modules libsasl2-modules-plain libsasl2-digestmd5-plain libsasl2-digestmd5-des openssl Recommended packages: resolvconf The following packages will be REMOVED: ... Warning: These messages were issued while creating sendmail.cf make sure they are benign before starting sendmail! Errors in generating sendmail.cf *** ERROR: FEATURE() should be before MAILER() *** MAILER(`local') must appear after FEATURE(`always_add_domain')*** ERROR: FEATURE() should be before MAILER() *** MAILER(`local') must appear after FEATURE(`allmasquerade')*** ERROR: FEATURE() should be before MAILER() Starting Mail Transport Agent: sendmail. W: Couldn't stat source package list http://debian.org.ua testing/updates/main Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://debian.org.ua testing/updates/contrib Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory) W: You may want to run apt-get update to correct these problems |
#apt-get install sendmail
Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: rmail sensible-mda Suggested packages: sendmail-doc The following NEW packages will be installed: rmail sendmail sensible-mda 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/602kB of archives. ... Selecting previously deselected package sendmail. Unpacking sendmail (from .../sendmail_8.13.2-1_all.deb) ... Setting up rmail (8.13.2-1) ... Setting up sensible-mda (8.13.2-1) ... Setting up sendmail (8.13.2-1) ... W: Couldn't stat source package list http://debian.org.ua testing/updates/main Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://debian.org.ua testing/updates/contrib Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://debian.org.ua testing/updates/main Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://debian.org.ua testing/updates/contrib Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory) W: You may want to run apt-get update to correct these problems |
#apt-get install sendmail.*
Reading Package Lists... Done Building Dependency Tree... Done Note, selecting sendmail-bin for regex ‘sendmail.*’ Note, selecting sendmail-doc for regex ‘sendmail.*’ Note, selecting sendmail for regex ‘sendmail.*’ Note, selecting sendmail-base for regex ‘sendmail.*’ Note, selecting sendmail-tls for regex ‘sendmail.*’ Note, selecting libsendmail-pmilter-perl for regex ‘sendmail.*’ Note, selecting libsendmail-milter-perl for regex ‘sendmail.*’ Note, selecting libmail-sendmail-perl for regex ‘sendmail.*’ ... requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies: libsendmail-pmilter-perl: Conflicts: libsendmail-milter-perl but 0.18-7 is to be installed E: Broken packages |
#apt-get install sendmail-doc
Reading Package Lists... Done Building Dependency Tree... Done The following NEW packages will be installed: sendmail-doc 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/815kB of archives. After unpacking 1122kB of additional disk space will be used. W: Couldn't stat source package list http://debian.org.ua testing/updates/main Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://debian.org.ua testing/updates/contrib Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory) Selecting previously deselected package sendmail-doc. (Reading database ... 63300 files and directories currently installed.) Unpacking sendmail-doc (from .../sendmail-doc_8.13.2-1_all.deb) ... Setting up sendmail-doc (8.13.2-1) ... W: Couldn't stat source package list http://debian.org.ua testing/updates/main Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://debian.org.ua testing/updates/contrib Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory) W: You may want to run apt-get update to correct these problems |
#apt-get install sendmail-base
Reading Package Lists... Done Building Dependency Tree... Done sendmail-base is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. W: Couldn't stat source package list http://debian.org.ua testing/updates/main Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://debian.org.ua testing/updates/contrib Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://debian.org.ua testing/updates/main Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://debian.org.ua testing/updates/contrib Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory) W: You may want to run apt-get update to correct these problems |
#apt-get install sendmail.*
Reading Package Lists... Done Building Dependency Tree... Done Note, selecting sendmail-bin for regex ‘sendmail.*’ Note, selecting sendmail-doc for regex ‘sendmail.*’ Note, selecting sendmail for regex ‘sendmail.*’ Note, selecting sendmail-base for regex ‘sendmail.*’ Note, selecting sendmail-tls for regex ‘sendmail.*’ Note, selecting libsendmail-pmilter-perl for regex ‘sendmail.*’ Note, selecting libsendmail-milter-perl for regex ‘sendmail.*’ Note, selecting libmail-sendmail-perl for regex ‘sendmail.*’ ... requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies: libsendmail-pmilter-perl: Conflicts: libsendmail-milter-perl but 0.18-7 is to be installed E: Broken packages |
#apt-get install sendmail.*
|
#apt-get install sendmail.*
Reading Package Lists... Done Building Dependency Tree... Done Note, selecting sendmail-bin for regex ‘sendmail.*’ Note, selecting sendmail-doc for regex ‘sendmail.*’ Note, selecting sendmail for regex ‘sendmail.*’ Note, selecting sendmail-base for regex ‘sendmail.*’ Note, selecting sendmail-tls for regex ‘sendmail.*’ Note, selecting libsendmail-pmilter-perl for regex ‘sendmail.*’ Note, selecting libsendmail-milter-perl for regex ‘sendmail.*’ Note, selecting libmail-sendmail-perl for regex ‘sendmail.*’ ... requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies: libsendmail-pmilter-perl: Conflicts: libsendmail-milter-perl but 0.18-7 is to be installed E: Broken packages |
$ssh 192.168.15.2
user@192.168.15.2's password: Permission denied, please try again. user@192.168.15.2's password: Linux linux2.unix.nt 2.6.8-2-686-smp #1 SMP Mon Jan 24 02:32:52 EST 2005 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. You have new mail. Last login: Thu Jun 29 09:16:40 2006 l3-agent is already running: pid=3458; pidfile=/home/user/.lilalo/l3-agent.pid |
$sssh 192.168.15.2
Mail Command Description Mail version 8.1.2 01/15/2001. Type ? for help. "/var/mail/user": 1 message 1 new >N 1 user@linux2.unix. Thu Jun 29 11:27 20/868 TEST from LINUX2 & view 1 Unknown command: "view" & ? & ESCOA At EOF ... A <recipient list> consists of recipient addresses or aliases separated by ret spaces. Aliases are defined in .mailrc in your home directory. <file> is a full or relative pathname, +folder, % (system inbox), %user (Interrupt -- one more to kill letter) (specified user's system inbox), # (previous file), & (mbox file), or an ^]q exit user@linux2.unix.nt bash: sssh: command not found |
$ssh 192.168.15.2
user@192.168.15.2's password: Linux linux2.unix.nt 2.6.8-2-686-smp #1 SMP Mon Jan 24 02:32:52 EST 2005 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. You have new mail. Last login: Thu Jun 29 10:15:55 2006 from 192.168.15.1 l3-agent is already running: pid=3458; pidfile=/home/user/.lilalo/l3-agent.pid |
#sendmail.mc
bash: sendmail.mc: command not found |
#vi sendmail.cf
|
#[root@linux1:user]# sendmail.cf
bash: sendmail.cf: command not found |
#[root@linux1:user]# ls /etc/se
securetty security services |
#apt-get inslall sendmail
E: Invalid operation inslall |
#apt-get install sendmail
Reading Package Lists... Done Building Dependency Tree... Done sendmail is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. W: Couldn't stat source package list http://debian.org.ua testing/updates/main Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://debian.org.ua testing/updates/contrib Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory) W: You may want to run apt-get update to correct these problems |
#[root@linux1:user]# ls /etc/
adduser.conf csh.login fdmount.conf inputrc manpath.config papersize sane.d adjtime csh.logout fonts iproute2 mdadm passwd securetty aliases cups fstab issue mediaprm passwd- security alternatives cvs-cron.conf groff issue.net menu perl services apm debconf.conf group john menu-methods ppp shadow apt debian_version group- kde3 mime.types pptpd.conf shadow- at.deny default gs-gpl kernel-img.conf mkinitrd printcap shells bash.bashrc defoma gshadow ksysguarddrc modprobe.d profile skel bash_completion deluser.conf gshadow- ldap modules protocols ssh bash_completion.d devfs gtk ld.so.cache modules.conf python2.3 sudoers ... console discover.conf hosts.allow logcheck mtools.conf rc3.d ucf.conf console-cyrillic discover.conf-2.6 hosts.deny login.defs Muttrc rc4.d updatedb.conf console-tools discover.d hotplug logrotate.conf nanorc rc5.d vga cron.d dpkg hotplug.d logrotate.d network rc6.d vim cron.daily emacs identd.conf magic nsswitch.conf rcS.d w3m cron.hourly email-addresses identd.key mail openoffice reportbug.conf wgetrc cron.monthly enscript.cfg imlib mailcap opt resolvconf X11 crontab environment inetd.conf mailcap.order pam.conf resolv.conf xdg cron.weekly esound init.d mailname pam.d rmt Xprint csh.cshrc exim4 inittab mail.rc pango rpc |
#vi /etc/re
|
#vi /etc/resolv
|
#vi /etc/resolv.conf
|
#[root@linux1:user]# vi /etc/
Display all 168 possibilities? (y or n) |
#vi /etc/s
|
#vi /etc/m
|
#vi sendmail.mc
|
#cd /etc/ma
magic mail mailcap mailcap.order mailname mail.rc manpath.config |
#cd /etc/mail
|
#ls -l
total 183 -rw------- 1 root root 4645 2006-06-29 10:12 access -rw-r----- 1 smmta smmsp 12288 2006-06-29 10:12 access.db -rw-r--r-- 1 root root 281 2004-12-16 03:34 address.resolve lrwxrwxrwx 1 root smmsp 10 2006-06-29 10:12 aliases -> ../aliases -rw-r----- 1 smmta smmsp 12288 2006-06-29 10:12 aliases.db -rw-r--r-- 1 root root 3048 2006-06-29 10:12 databases -rw-r--r-- 1 root root 5588 2004-12-16 03:34 helpfile -rw-r--r-- 1 root smmsp 25 2006-06-29 10:12 local-host-names drwxr-sr-x 2 smmta smmsp 1024 2006-06-29 10:12 m4 ... -rw-r--r-- 1 root smmsp 269 2006-06-29 10:12 sendmail.cf.errors -rw-r--r-- 1 root root 11882 2006-06-29 10:12 sendmail.conf -rw-r--r-- 1 root smmsp 3672 2006-06-29 10:12 sendmail.mc -rw-r--r-- 1 root root 149 2004-12-16 03:34 service.switch -rw-r--r-- 1 root root 180 2004-12-16 03:34 service.switch-nodns drwxr-sr-x 2 smmta smmsp 1024 2006-06-29 10:12 smrsh -rw-r--r-- 1 root smmsp 43607 2006-06-29 10:12 submit.cf -rw-r--r-- 1 root smmsp 2284 2006-06-29 10:12 submit.mc drwxr-xr-x 2 root smmsp 1024 2004-12-16 03:34 tls -rw-r--r-- 1 root smmsp 0 2006-06-29 10:12 trusted-users |
#vi se
|
#vi sendmail.cf
|
#vi sendmail.conf
|
#[root@linux1:mail]# vi sendmail.mc
dnl # Be somewhat anal in what we allow define(`confPRIVACY_FLAGS',dnl `needmailhelo,needexpnhelo,needvrfyhelo,restrictqrun,restrictexpand,nobodyreturn,authwarnings')dnl dnl # dnl # Define connection throttling and window length define(`confCONNECTION_RATE_THROTTLE', `15')dnl define(`confCONNECTION_RATE_WINDOW_SIZE',`10m')dnl ')dnl dnl # dnl # Features dnl # dnl # The access db is the basis for most of sendmail's checking FEATURE(`access_db', , `skip')dnl dnl # dnl # The greet_pause feature stops some automail bots - but check the dnl # provided access db for details on excluding localhosts... FEATURE(`greet_pause', `1000')dnl 1 seconds dnl # "sendmail.mc" 94L, 3656C written |
#netstat -lnp | grep 25
tcp 0 0 0.0.0.0:7 0.0.0.0:* LISTEN 2576/inetd tcp 0 0 0.0.0.0:113 0.0.0.0:* LISTEN 2576/inetd tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 4768/sendmail: MTA: tcp 0 0 0.0.0.0:1723 0.0.0.0:* LISTEN 2584/pptpd tcp6 0 0 :::22 :::* LISTEN 2591/sshd unix 2 [ ACC ] STREAM LISTENING 4719 2599/xfs /tmp/.font-unix/fs7100 unix 2 [ ACC ] STREAM LISTENING 7172 3466/kdeinit: dcops /tmp/.ICE-unix/dcop3466-1151562582 unix 2 [ ACC ] STREAM LISTENING 4688 2580/lpd /dev/printer |
#netstat -lnp | grep :25
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 4768/sendmail: MTA: |
#/etc/init.d/sendmail restart
Restarting Transport Agent: sendmail. |
#netstat -lnp | grep :25
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 5531/sendmail: MTA: |
#kill 5531
|
#sen
sendmail sendmail-msp sensible-browser sensible-mda sendmailconfig sendmail-mta sensible-editor sensible-pager |
#sendmail start
|
#/etc/init.d/sendmail start
Starting Mail Transport Agent: sendmail. |
#kill 5531
bash: kill: (5531) - No such process |
#netstat -lnp | grep :25
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 5656/sendmail: MTA: |
#vi sendmail.mc
|
#vi sendmail.cf
|
#vi sendmail.cf
|
Время первой команды журнала | 17:02:33 2006- 6-28 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 10:59:16 2006- 6-29 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 29.70 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 3.96 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 1.80 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 0.93 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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