顯示文章

這裡允許您檢視這個會員的所有文章。請注意, 您只能看見您有權限閱讀的文章。


文章 - aaronosos

頁: 1 [2]
31
Linux 討論版 / sendmail 一問
« 於: 2006-07-23 22:29 »
ul 23 18:12:57 aaronosos sendmail[7180]: AUTH=server, relay=winxp.lettop.aaronosos.no-ip.info [192.168.1.11], authid=aaron, mech=LOGIN, bits=0
Jul 23 18:12:57 aaronosos sendmail[7180]: k6NACv4B007180: from=<aaron@192.168.1.21>, size=2471, class=0, nrcpts=1, msgid=<000001c6ae40$8b183fc0$0b01a8c0@winxpleptop>, proto=ESMTP, daemon=MTA, relay=winxp.lettop.aaronosos.no-ip.info [192.168.1.11]
Jul 23 18:12:57 aaronosos sendmail[7180]: k6NACv4B007180: to=<aaronosos@yahoo.com.tw>, delay=00:00:00, mailer=esmtp, pri=32471, stat=queued
Jul 23 18:18:46 aaronosos sendmail[7179]: k6NACfJo007171: to=<aaronosos@yahoo.com.tw>, ctladdr=<root@aaronosos.no-ip.info> (0/0), delay=00:06:05, xdelay=00:06:01, mailer=esmtp, pri=120346, relay=mta-v2.mail.vip.tpe.yahoo.com. [203.84.195.1], dsn=4.0.0, stat=Deferred: Connection timed out with mta-v2.mail.vip.tpe.yahoo.com.

他是說允許我RELAY到203.84.195.1但是連結時間過長所以到/var/spool/mqueue去暫存等一段時間後再嘗試連結一次寄送,但是我這二個禮拜都是這樣一直逾時,可能過三四天我之前的信件才會寄到我的YAHOO信箱裡,怪怪。從DNS下去看都可以解析的了(host -t mx yahoo.com.tw)但是為什麼會出現Connection timed out with mta-v2.mail.vip.tpe.yahoo.com.
希望有人可以跟我說明一下原因到底是我這方面還是yahoo信箱那邊呢?

Jul 23 17:40:02 aaronosos sendmail[2154]: k6N9e2nf002154: aaronosos.no-ip.info [192.168.1.21] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA
Jul 23 17:40:02 aaronosos sendmail[2150]: k6N9e2G2002150: localhost.localdomain [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA
至於這二段LOG我就有點不了解了,希望可以指教一下,謝謝

32
Linux 討論版 / 關於big sister這套件的資源
« 於: 2006-07-06 11:38 »
請問友人用過big sister這套件來當自己主機的監視系統嗎?
可以的話是否可以分享一下經驗或是文件出處?
或是是否有教科書賣?

33
Linux 討論版 / 請求nessus-2.0.x.tgz下載點
« 於: 2006-03-26 16:20 »
請求nessus-2.0.x.tgz下載點

34
Linux 討論版 / 求助關於usb的問題
« 於: 2005-09-22 16:12 »
今天灌好fedora3~然後插入USB輸入時mount /dev/sdb /media/usbdisk
一直出現ERROR,錯誤訊息入下
SCSI error:<1 0 0 0>return code = 0x10070000
end_request: I/O error,dev sdb,sector 0
FAT:unable to read boot sector
mount:/dev/sdb:can't read superblock
請問這是什麼問題呢?


輸入vi /proc/scsi/scsi後得知
Host:scsi0 Channel: 00   ID: 00   LUN: 00
Vendor:ATA MODEL:WDC WD1200JD-00H Rev:08.0
type:Direct-Access ANSI SCSI revision: 05

Host:scsi0 Channel: 00   ID: 00   LUN: 00
Vendor:LEO MODEL:MobilDisk 64MB Rev:1.89
type:Direct-Access ANSI SCSI revision: 02

我在想是不是因為scsiID的問題都是0?如果是的話我應如何解決呢?請版主解答一下謝謝

fdisl -l /dev/sdb訊息如下
Disk /dev/sdb: 65 MB, 65404928 bytes
3 heads, 42 sectors/track, 1013 cylinders
Units = cylinders of 126 * 512 = 64512 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 ? 6175682 15235283 570754815+ 72 Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(357, 116, 40) logical=(6175681, 2, 19)
Partition 1 has different physical/logical endings:
phys=(357, 32, 45) logical=(15235282, 0, 7)
Partition 1 does not end on cylinder boundary.
/dev/sdb2 ? 1338806 16704110 968014120 65 Novell Netware
386
Partition 2 has different physical/logical beginnings (non-Linux?):
phys=(288, 115, 43) logical=(1338805, 2, 9)
Partition 2 has different physical/logical endings:
phys=(367, 114, 50) logical=(16704109, 0, 2
Partition 2 does not end on cylinder boundary.
/dev/sdb3 ? 14840330 30205633 968014096 79 Unknown
Partition 3 has different physical/logical beginnings (non-Linux?):
phys=(366, 32, 33) logical=(14840329, 0, 12)
Partition 3 has different physical/logical endings:
phys=(357, 32, 43) logical=(30205632, 0, 25)
Partition 3 does not end on cylinder boundary.
/dev/sdb4 ? 22902232 22902672 27749+ d Unknown
Partition 4 has different physical/logical beginnings (non-Linux?):
phys=(372, 97, 50) logical=(22902231, 1, 5)
Partition 4 has different physical/logical endings:
phys=(0, 10, 0) logical=(22902671, 2, 21)
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order

lsmod也得知vfat已被載入~/etc/fstab也都OK~可以解說給小弟元因為何不行mount -t vfat /dev/sdb /media/usbdisk嗎?

35
課後溫習+認證考試 / 請教幾題102
« 於: 2005-05-12 21:00 »
You can give options to the kernel
a)using the append-command in /etc/lilo.conf
b)using the options-command in /etc/lilo.conf
c)appending the options to the kernel name while using the bootmanager
d)using the chopt command while running the system
e)writing the desired options to /proc/kernel
我選bc這樣對嗎?

What is described by the PS1 and PS2 enviroment variable?
a)Postscript Level 1 and Level 2 capabilities
b)Shortcuts for the commands "ps" and "ps uax"
c)The different levels for the Power Save Mode
d)The normal prompt and the following prompt of the shell
e)PS2 is a link to the mouse-port of a ps/2 mouse, PS1 doesn't exist
我選d這樣對嗎?

Writing a shellscript you want to check if the file foobar exists and is
owned by the user who runs the script. Which of
the following test commands will check this?
a)test -e foobar
b)test -r foobar
c)test -b foobar
d)test -o foobar
e)test -O foobar
我選e這樣對嗎?

Your logfiles are growing to a very huge size. What can you do, to limit the size of all logfiles to a reasonable value without losing information?
a)Enter the desired value in /etc/logfilesize.conf
b)Enter the desired value in /etc/syslog.conf
c)Run logrotate in regular intervalls (using cron)
d)Use the parameter --maxsize=xxx for the syslog daemon
e)Use the command head logfilename
要規定size這不應在/etc/logrotate.d/filename下規定size=XX嗎?不過這題我會選c?對嗎?

What is the difference between cron and anacron?
a)anacron is an old (anachronistic) version of cron
b)cronjobs get lost if the computer isn't running at the given time,          anacron jobs don't get lost.
c)cron can only be used by root, anacron can be used by every user
d)anacron can only be used by root, cron can be used by every user
e)there is no difference
選d對嗎?

You get the IP-address 191.123.234.168/29 from your ISP. What are
valid host addresse in your network?
a)191.123.234.168
b)191.123.234.169
c)191.123.234.172
d)191.123.234.175
e)191.123.234.177
191.123.234.168經過與255.255.255.248AND運算後還是191.123.234.168
255.255.255.248在NOT後與191.123.234.168做OR後得191.123.234.176
所以有效主機是位於191.123.234.169~175
選bcd對嗎?

What file is used to declare options used by pppd instead of giving them at the commandline?
a)/etc/ppp_options
b)/etc/pppd.conf
c)/etc/ppp/options
d)/etc/ppp/pppd.conf
e)/etc/ppp/pppd.options
c嗎?

What command is run by pppd after a connection was established?
a)ppp-up
b)ip-up
c)ppp-connect
d)ppp-online
e)pppup
c嗎?

You decide to use xinetd intead of inetd.What must be done in order to properly configure xinetd?
A. You must create a new configuration file for xinetd.
B. You must add xinetd to/etc/services.
C. You must add xinetd supp or[ to your tcpwrappers configuration files.
D. Nothing. xine td uses the same configuration files as inetd.
a吧~但我看testking的答案是d一個是/usr/sbin/tcpd一個是/usr/sbin/in.XXX
所以若要更改應該要複製新的檔案到xinetd.d/下再做相關更改吧?是這麼解釋嗎?

36
你還要檢查您的 pam 驗證設定檔案內,是否有引入 pam_access.so 檔案。

不好意思小弟程度不夠~請問pam驗證設定檔案是哪一個阿?還有有相關資訊像網頁讓我研讀嗎?我在鳥哥牛皮書裡都找不到>"<

37
想請問一下~我在此檔案下加入了
-:ALL EXCEPT aaron test:LOCAL
上面不就是在設定說以本機登入的除了aaron和test外都不行登入嗎?
是需要重新啟動什麼東西嗎?因為我設定完後以其他帳號登入試,都還是可以登入進去本機,請幫忙解答一下謝謝

38
Linux 討論版 / 請幫忙解答一下(NFS問題)
« 於: 2005-04-10 19:02 »
我想請問一下關於nfs的問題,當我在server端設好了參數,`並且我也在我client端輸入
 #showmount -e linux<==我內部所設的主機名稱
我可以得到我主機所設的目錄,並且我確定我portmap和nfs都開啟了,
#rpcinfo -p linux(aerver的主機名稱)開開啟的port也都開啟了
但是當我下達 (server和client端都是我的區網)我在/etc/hosts裡都設定好了
 #mount -t nfs linux:/home/report(這是我在主機裡面所設的目錄) /home/nfs/report(這是我在client端已經見好的目錄)
 我得到的錯誤訊息是 mount: RPC: Timed Out 這是為什麼呢?
我的防火強沒設定預設全都INPUT ACCEPT,而/etc/hosts.allow有設定為portmap:192.168.1.0/255.255.255.0
 /etc/hosts.deny 設定ALL:ALL

39
課後溫習+認證考試 / 請教幾題
« 於: 2005-03-17 21:58 »
What is a X-client
A:a computer which uses the X11 Protocol to communicate
B:a computer which uses a super-computer to run applications which       are displayed on the local screen
C:a program which is dispayed on a graphical screen of an X Server
D:a computer which offers displaying on its screen
E:a computer with a graphical user interface using X11

AN:C??

What would the following command search for?
find . -size 25k
A:All files inside the current directory, which are bigger than 25 KBytes
B:All files inside the current directory, which are smaller than 25 KBytes
C:All files inside the current directory and all included subdirectories, which are bigger than 25 KBytes
D:All files inside the current directory and all included subdirectories, which are smaller than 25 KBytes
E:All files inside the current directory and all included subdirectories, which are exactly 25 KBytes big

AN:D??

User Bertha is member of different groups. How could you ensure, that
her default group is foobar?
A:Add the line "chgrp foobar" inside her startup script
B:Ensure that the groupname foobar is the first entry in her /etc/group line
C:Ensure that the GID of foobar is placed in her /etc/passwd entry
D:Ensure that the GID of foobar is the lowest GID of all her GIDs
E:Ensure that the GID of foobar is the highest GID of all her GIDs

AN:B???

How could you try to stop a hung process which refuses to accept keyboard input?
A:Ctrl-C
B:Ctrl-S
C:kill -9 PID
D:kill PID
E:ipcsend SIGKILL PID

AN:A,C,D??

You want to install a RPM packet file foobar.rpm on a debian system. What command would you use to convert the rpm-file into debian deb format?
A:alien --to-deb foobar.rpm
B:rpmtodeb foobar.rpm
C:rpm2deb foobar.rpm
D:pcktconv --to-deb foobar.rpm
E:pcktconv -o foobar.deb foobar.rpm

Which directory contains the essential commands needed on bootup?
A:/usr/bin
B:/bin
C:/etc
D:/boot
E:/lib

In the directory /home/foo exists a file named bar which is a symbolic link to the file foobar in the same directory, created with the command
ln -s foobar bar If you would copy the link to /tmp using the command
cp -d /home/foo/bar /tmp what would happen?
A:The destination /tmp/bar is a symbolic link to /tmp/foobar
B:The destination /tmp/bar is a symbolic link to /home/foo/foobar
C:The destination /tmp/bar is a regular file with the same content as /home/foo/foobar
D:The destination /tmp/bar is a hardlink using the same inode as /home/foo/foobar
E:The destination /tmp/bar is a hardlink using the same inode as /home/foo/bar

40
假設你分割HD分為CDEF的話~你可以把F空出來把linux灌在那(視自己空間大小選擇要使用linux的功能而定)~不過在使用boot loader時要使用linux的如lilo...等這樣才能在開機時才可以讀取win or linux的image以便載入kernel

41
Linux 討論版 / 正規法的方式
« 於: 2004-11-29 22:51 »
謝謝大大們的解答
又多學了一個觀念>"<謝謝嚕

42
Linux 討論版 / 正規法的方式
« 於: 2004-11-29 14:46 »
請問一下~顯示檔案中包含3位4位和5位數的每一列是要怎麼表示
原本的想法是grep '[0-9]\{3,5\}' file1後來發現這樣是不行的~這把每行只要有3個數字的都印中來甚至超過5位數,我在書上看到grep '\<[0-9]\{3,5\}\>' file1
在經過試過後就可以了,但是小弟想知道在他們前面的\(跳脫字元)分別跳脫<>這2個符號那麼"<>"這2個符號在這正規法中是扮演什麼角色阿?

43
Linux 討論版 / umask要如何修改
« 於: 2004-11-24 15:09 »
想改的話便打入umask xxxx如果是root預設0022~一般使用者是0002
自己看你想啥數字吧

頁: 1 [2]