顯示文章

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


主題 - rest

頁: [1]
1
ee /usr/local/etc/apache22/httpd.conf

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps


php還是不能起動
瀏覽php網頁變下載

2
BSD 討論版 / 6.2R安裝那一個php比較好
« 於: 2007-03-20 22:44 »
可以推薦一下嗎?

3
官網沒有freebsd 驅動怎麼辦

還是說自己裝pci的網卡比較快

不過MSI K9N6SGM-V的內建網是gb的
不用可惜阿
我還有台是gb的網卡

4
拜託了

一開機就出現這些訊息

5
BSD 討論版 / 裝了freebsd 6.2 r AMD64沒辦法sshd
« 於: 2007-03-20 00:38 »
我是amd64 x2的cpu
我裝了6.2-RELEASE-amd64-disc1.iso

裝好後一開機 bind就使用了22 port

後來我把bind kill

再開/usr/sbin/sshd

還是不能連


我之前都是用5.3r

現在裝6.2-RELEASE-amd64不會用了

拜託各位

我使用的192.168.0.2也ping不到6.2-RELEASE-amd64

還有

要怎麼確定freebsd是否有抓到我的網卡?

我自己可以ping到自己

這樣是不是有抓到網卡了

6
BSD 討論版 / 缺libc.so.6
« 於: 2006-06-23 10:42 »
裝openwebmail-2.52_1出現這訊息
希望前輩幫幫忙

===>   openwebmail-2.52_1 depends on executable: speedy_suidperl - found
===>   openwebmail-2.52_1 depends on file: /usr/local/bin/perl5.8.8 - found
===>   Generating temporary packing list
===>  Checking if mail/openwebmail already installed
/libexec/ld-elf.so.1: Shared object "libc.so.6" not found, required by "libperl.so"
speedy[27025]: Cannot spawn backend process
*** Error code 1

Stop in /usr/ports/mail/openwebmail.

7
BSD 討論版 / freebsd6.1新增user的問題?
« 於: 2006-06-17 00:34 »
剛發現
Shell (sh csh tcsh nologin) [sh]:
Home directory [/home/b]:
Use password-based authentication? [yes]:
Use an empty password? (yes/no) [no]:
Use a random password? (yes/no) [no]:
Enter password:
Enter password again:
Lock out the account after creation? [no]:
Username : b
Password : *****
Full Name :
Uid : 1002
Class :
Groups : b
Home : /home/b
Shell : /bin/sh
Locked : no
OK? (yes/no): y
pwd_mkdb: 14 uid is incorrect
pwd_mkdb: at line #25
pwd_mkdb: /etc/master.passwd: Inappropriate file type or format
pw: user 'b' disappeared during update
adduser: ERROR: There was an error adding user (b).
Add another user? (yes/no):

怎麼不行新增?

8
BSD 討論版 / 求救~安裝openwebmail2.521的錯誤
« 於: 2006-06-16 19:28 »
===>  Installing for openwebmail-2.52_1
===>   openwebmail-2.52_1 depends on file: /usr/local/lib/perl5/site_perl/5.8.8/mach/Text/Iconv.pm - found
===>   openwebmail-2.52_1 depends on file: /usr/local/lib/perl5/site_perl/5.8.8/mach/MIME/Base64.pm - found
===>   openwebmail-2.52_1 depends on executable: speedy_suidperl - found
===>   openwebmail-2.52_1 depends on file: /usr/local/bin/perl5.8.8 - found
===>   Generating temporary packing list
===>  Checking if mail/openwebmail already installed
/libexec/ld-elf.so.1: Shared object "libperl.so" not found, required by "speedy_backend"
speedy[65461]: Cannot spawn backend process
*** Error code 1

Stop in /usr/ports/mail/openwebmail.

9
BSD 討論版 / freebsd如何5.3升6.1
« 於: 2006-05-03 15:53 »
有比較詳細的教學嗎?

感謝各位前輩

10
apache可正常啟動

但裝mod_php4就出現這問題



Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking for member fd in BUFF *... no
checking for mod_charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS... apxs:Error: Invalid query string `BINDIR'
apxs:Error: Invalid query string `MPM_NAME'
apxs:Error: Invalid query string `APU_BINDIR'
apxs:Error: Invalid query string `APR_BINDIR'
./configure: /apu-config: not found
./configure: /apr-config: not found
configure: error: You have enabled Apache 2 support while your server is Apache 1.3.  Please use the appropiate switch --with-apxs (without the 2)
===>  Script "configure" failed unexpectedly.
Please report the problem to ale@FreeBSD.org [maintainer] and attach the
"/usr/ports/www/mod_php4/work/php-4.3.9/config.log" including the output of
the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/www/mod_php4.

11
BSD 討論版 / 執行了6天然後當機
« 於: 2005-03-22 10:43 »
出現下面的畫面

然後當機

有人知道發生什麼情況嗎?


12
BSD 討論版 / 有關putty
« 於: 2005-03-17 17:37 »
請問一下putty該如何防閒置?

13
BSD 討論版 / 有關tmp
« 於: 2005-03-12 17:07 »
/tmp
在每次開機時都會自動清除

請問要如何設定在crontab定時清除?

14
BSD 討論版 / 有關inetd
« 於: 2005-03-12 17:06 »
請問要如何不經過inetd來開器ftpd?

因為感覺用inetd管理
要連線ftp都會非常慢
不知道是不是因為inetd的關係
想要獨立執行

我已在inetd用#註明掉了
想要單獨執行
如何在rc.conf一開機單獨執行ftpd
也想要記錄log登入的訊息

15
BSD 討論版 / ipfw的問題
« 於: 2005-02-13 14:37 »
不好意思初學請教前輩



下面是我的作法

1.
在 kernel 檔中加入下列內容
options IPFIREWALL
options IPDIVERT
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=100
options IPSTEALTH
options ACCEPT_FILTER_DATA
options ACCEPT_FILTER_HTTP


然後再去編譯 kernel 檔


2.編輯 /etc/rc.conf


firewall_enable="YES"
firewall_type="simple"
firewall_quiet="yes"
firewall_logging_enable="YES"


3.修改 /etc/rc.firewall 檔
cp rc.firewall rc.firewallbak
rm rc.firewall
vi rc.firewall



rc.firewall 內容如下

/sbin/ipfw add 10000 allow tcp from any to me 22
/sbin/ipfw add 10002 allow udp from me 22 to any

/sbin/ipfw add 500 allow tcp from any to me 80
/sbin/ipfw add 601 allow udp from me 80 to any


/sbin/ipfw add 401 allow tcp from any to me 53
/sbin/ipfw add 402 allow udp from any to me 53
/sbin/ipfw add 403 allow tcp from me 53 to any
/sbin/ipfw add 404 allow udp from me 53 to any




/sbin/ipfw add 700 allow tcp from any to me 25
/sbin/ipfw add 800 allow udp from any to me 25
/sbin/ipfw add 900 allow tcp from me 25 to any
/sbin/ipfw add 1000 allow udp from me 25 to any

/sbin/ipfw add 1100 allow tcp from any to me 110
/sbin/ipfw add 1200 allow udp from any to me 110
/sbin/ipfw add 1300 allow tcp from me 110 to any
/sbin/ipfw add 1400 allow udp from me 110 to any


/sbin/ipfw add 1900 allow tcp from any to me 161
/sbin/ipfw add 2000 allow udp from any to me 161
/sbin/ipfw add 2100 allow tcp from me 161 to any
/sbin/ipfw add 2200 allow udp from me 161 to any


/sbin/ipfw add 2700 allow tcp from any to me 21
/sbin/ipfw add 2800 allow udp from any to me 21
/sbin/ipfw add 2900 allow tcp from me 21 to any
/sbin/ipfw add 3000 allow udp from me 21 to any



我加了上面這些規則


我僅提供web mail dns sshd ftp snmp
而且要把沒提供的服務都擋掉

不過我的mail
寄收都不會出問題
不過都寄不到也收不到
沒加防火牆之前都是正常的

還有ftp也沒辦法連
沒加防火牆之前也是正常

有沒有前輩指導一下
感謝

16
BSD 討論版 / 剛剛突然當機
« 於: 2005-02-06 17:16 »
freebsd5.2.1
不知到發生什麼事
剛突然當機
網站再度掛點
我再重開機就正常了
想知道發生什麼事情?
感謝各位前輩


Feb  6 17:00:02 freebsd kernel: Connection attempt to TCP 127.0.0.1:113 from 127.0.0.1:49222 flags:0x02
Feb  6 17:00:02 freebsd kernel: Connection attempt to UDP 127.0.0.1:512 from 127.0.0.1:50487
Feb  6 17:00:04 freebsd kernel: Connection attempt to TCP 127.0.0.1:113 from 127.0.0.1:49225 flags:0x02
Feb  6 17:00:04 freebsd kernel: Connection attempt to TCP 127.0.0.1:113 from 127.0.0.1:49226 flags:0x02
Feb  6 17:00:04 freebsd kernel: Connection attempt to UDP 127.0.0.1:512 from 127.0.0.1:50492
Feb  6 17:00:05 freebsd kernel: Connection attempt to UDP 127.0.0.1:512 from 127.0.0.1:50493
Feb  6 17:00:25 freebsd kernel: pid 3785 (perl), uid 80: exited on signal 11 (core dumped)
Feb  6 17:01:37 freebsd kernel: Connection attempt to TCP 222.156.XXX.XXX:6129 from 222.119.143.110:4559 flags:0x02
Feb  6 17:01:38 freebsd kernel: Connection attempt to TCP 222.156.XXX.XXX:6129 from 222.119.143.110:4559 flags:0x02
Feb  6 17:02:10 freebsd kernel: Connection attempt to TCP 222.156.XXX.XXX:6129 from 222.117.162.15:4631 flags:0x02
Feb  6 17:02:11 freebsd last message repeated 2 times
Feb  6 17:03:19 freebsd kernel: Connection attempt to TCP 222.156.XXX.XXX:6129 from 222.120.34.83:4774 flags:0x02
Feb  6 17:03:20 freebsd last message repeated 2 times
Feb  6 17:03:37 freebsd kernel: Connection attempt to TCP 222.156.XXX.XXX:113 from 222.156.XXX.XXX:49231 flags:0x02
Feb  6 17:03:38 freebsd kernel: Connection attempt to UDP 127.0.0.1:512 from 127.0.0.1:50547
Feb  6 17:08:02 freebsd syslogd: kernel boot file is /boot/kernel/kernel
Feb  6 17:08:02 freebsd kernel:
Feb  6 17:08:02 freebsd kernel:
Feb  6 17:08:02 freebsd kernel: Fatal trap 12: page fault while in kernel mode
Feb  6 17:08:02 freebsd kernel: cpuid = 0; apic id = 00
Feb  6 17:08:02 freebsd kernel: fault virtual address   = 0xbfc21490
Feb  6 17:08:02 freebsd kernel: fault code      = supervisor read, page not present
Feb  6 17:08:02 freebsd kernel: instruction pointer   = 0x8:0xc07d9931
Feb  6 17:08:02 freebsd kernel: stack pointer           = 0x10:0xe1df29d8
Feb  6 17:08:02 freebsd kernel: frame pointer           = 0x10:0xe1df29f0
Feb  6 17:08:02 freebsd kernel: code segment      = base 0x0, limit 0xfffff, type 0x1b
Feb  6 17:08:02 freebsd kernel: = DPL 0, pres 1, def32 1, gran 1
Feb  6 17:08:02 freebsd kernel: processor eflags   = interrupt enabled, resume, IOPL = 0
Feb  6 17:08:02 freebsd kernel: current process      = 4026 (httpd)
Feb  6 17:08:02 freebsd kernel: trap number      = 12
Feb  6 17:08:02 freebsd kernel: panic: page fault
Feb  6 17:08:02 freebsd kernel: cpuid = 0;
Feb  6 17:08:02 freebsd kernel:
Feb  6 17:08:02 freebsd kernel: syncing disks, buffers remaining... kernel trap 12 with interrupts disabled
Feb  6 17:08:02 freebsd kernel:
Feb  6 17:08:02 freebsd kernel:
Feb  6 17:08:02 freebsd kernel: Fatal trap 12: page fault while in kernel mode
Feb  6 17:08:02 freebsd kernel: cpuid = 0; apic id = 00
Feb  6 17:08:02 freebsd kernel: fault virtual address   = 0x24
Feb  6 17:08:02 freebsd kernel: fault code      = supervisor read, page not present
Feb  6 17:08:02 freebsd kernel: instruction pointer   = 0x8:0xc065557e
Feb  6 17:08:02 freebsd kernel: stack pointer           = 0x10:0xd77f6c64
Feb  6 17:08:02 freebsd kernel: frame pointer           = 0x10:0xd77f6c88
Feb  6 17:08:02 freebsd kernel: code segment      = base 0x0, limit 0xfffff, type 0x1b
Feb  6 17:08:02 freebsd kernel: = DPL 0, pres 1, def32 1, gran 1
Feb  6 17:08:02 freebsd kernel: processor eflags   = resume, IOPL = 0
Feb  6 17:08:02 freebsd kernel: current process      = 19 (irq9: acpi0)
Feb  6 17:08:02 freebsd kernel: trap number      = 12
Feb  6 17:08:02 freebsd kernel: panic: page fault
Feb  6 17:08:02 freebsd kernel: cpuid = 0;
Feb  6 17:08:02 freebsd kernel: Uptime: 1h2m54s
Feb  6 17:08:02 freebsd kernel: kernel trap 12 with interrupts disabled
Feb  6 17:08:02 freebsd kernel:
Feb  6 17:08:02 freebsd kernel:
Feb  6 17:08:02 freebsd kernel: Fatal trap 12: page fault while in kernel mode
Feb  6 17:08:02 freebsd kernel: cpuid = 0; apic id = 00
Feb  6 17:08:02 freebsd kernel: fault virtual address   = 0x24
Feb  6 17:08:02 freebsd kernel: fault code      = supervisor read, page not present
Feb  6 17:08:02 freebsd kernel: instruction pointer   = 0x8:0xc065557e
Feb  6 17:08:02 freebsd kernel: stack pointer           = 0x10:0xd77c3c64
Feb  6 17:08:02 freebsd kernel: frame pointer           = 0x10:0xd77c3c88
Feb  6 17:08:02 freebsd kernel: code segment      = base 0x0, limit 0xfffff, type 0x1b
Feb  6 17:08:02 freebsd kernel: = DPL 0, pres 1, def32 1, gran 1
Feb  6 17:08:02 freebsd kernel: processor eflags   = resume, IOPL = 0
Feb  6 17:08:02 freebsd kernel: current process      = 29 (irq19: ste0)
Feb  6 17:08:02 freebsd kernel: trap number      = 12
Feb  6 17:08:02 freebsd kernel: panic: page fault
Feb  6 17:08:02 freebsd kernel: cpuid = 0;
Feb  6 17:08:02 freebsd kernel: Uptime: 1h2m54s
Feb  6 17:08:02 freebsd kernel: Copyright (c) 1992-2004 The FreeBSD Project.
Feb  6 17:08:02 freebsd kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
Feb  6 17:08:02 freebsd kernel: The Regents of the University of California. All rights reserved.
Feb  6 17:08:02 freebsd kernel: FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004
Feb  6 17:08:02 freebsd kernel: root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC
Feb  6 17:08:02 freebsd kernel: Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a35000.
Feb  6 17:08:02 freebsd kernel: Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a35244.
Feb  6 17:08:02 freebsd kernel: ACPI APIC Table: <AMIINT AMIINI09>
Feb  6 17:08:02 freebsd kernel: Timecounter "i8254" frequency 1193182 Hz quality 0
Feb  6 17:08:02 freebsd kernel: CPU: AMD Duron(tm) Processor (1211.94-MHz 686-class CPU)
Feb  6 17:08:02 freebsd kernel: Origin = "AuthenticAMD"  Id = 0x671  Stepping = 1
Feb  6 17:08:02 freebsd kernel: Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
Feb  6 17:08:02 freebsd kernel: AMD Features=0xc0400000<AMIE,DSP,3DNow!>
Feb  6 17:08:02 freebsd kernel: real memory  = 536805376 (511 MB)
Feb  6 17:08:02 freebsd kernel: avail memory = 511766528 (488 MB)
Feb  6 17:08:02 freebsd kernel: ioapic0 <Version 0.2> irqs 0-23 on motherboard
Feb  6 17:08:02 freebsd kernel: Pentium Pro MTRR support enabled
Feb  6 17:08:02 freebsd kernel: npx0: [FAST]
Feb  6 17:08:02 freebsd kernel: npx0: <math processor> on motherboard
Feb  6 17:08:02 freebsd kernel: npx0: INT 16 interface
Feb  6 17:08:02 freebsd kernel: acpi0: <AMIINT AMIINI09> on motherboard
Feb  6 17:08:02 freebsd kernel: pcibios: BIOS version 2.10
Feb  6 17:08:02 freebsd kernel: Using $PIR table, 11 entries at 0xc00f8020
Feb  6 17:08:02 freebsd kernel: acpi0: Power Button (fixed)
Feb  6 17:08:02 freebsd kernel: Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
Feb  6 17:08:02 freebsd kernel: acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
Feb  6 17:08:02 freebsd kernel: acpi_cpu0: <CPU> on acpi0
Feb  6 17:08:02 freebsd kernel: acpi_button0: <Power Button> on acpi0
Feb  6 17:08:02 freebsd kernel: pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
Feb  6 17:08:02 freebsd kernel: pci0: <ACPI PCI bus> on pcib0
Feb  6 17:08:02 freebsd kernel: agp0: <VIA Generic host to PCI bridge> mem 0xe0000000-0xe7ffffff at device 0.0 on pci0
Feb  6 17:08:02 freebsd kernel: pcib1: <PCI-PCI bridge> at device 1.0 on pci0
Feb  6 17:08:02 freebsd kernel: pci1: <PCI bus> on pcib1
Feb  6 17:08:02 freebsd kernel: pci0: <display, VGA> at device 9.0 (no driver attached)
Feb  6 17:08:02 freebsd kernel: ste0: <D-Link DL10050 10/100BaseTX> port 0xe800-0xe87f mem 0xddfffe00-0xddffffff irq 19 at device 11.0 on pci0
Feb  6 17:08:02 freebsd kernel: ste0: Ethernet address: 00:05:5d:d9:2d:b7
Feb  6 17:08:02 freebsd kernel: miibus0: <MII bus> on ste0
Feb  6 17:08:02 freebsd kernel: ukphy0: <Generic IEEE 802.3u media interface> on miibus0
Feb  6 17:08:02 freebsd kernel: ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Feb  6 17:08:02 freebsd kernel: isab0: <PCI-ISA bridge> at device 17.0 on pci0
Feb  6 17:08:02 freebsd kernel: isa0: <ISA bus> on isab0
Feb  6 17:08:02 freebsd kernel: atapci0: <VIA 8233A UDMA133 controller> port 0xfc00-0xfc0f at device 17.1 on pci0
Feb  6 17:08:02 freebsd kernel: ata0: at 0x1f0 irq 14 on atapci0
Feb  6 17:08:02 freebsd kernel: ata0: [MPSAFE]
Feb  6 17:08:02 freebsd kernel: ata1: at 0x170 irq 15 on atapci0
Feb  6 17:08:02 freebsd kernel: ata1: [MPSAFE]
Feb  6 17:08:02 freebsd kernel: uhci0: <VIA 83C572 USB controller> port 0xe400-0xe41f irq 21 at device 17.2 on pci0
Feb  6 17:08:02 freebsd kernel: usb0: <VIA 83C572 USB controller> on uhci0
Feb  6 17:08:02 freebsd kernel: usb0: USB revision 1.0
Feb  6 17:08:02 freebsd kernel: uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
Feb  6 17:08:02 freebsd kernel: uhub0: 2 ports with 2 removable, self powered
Feb  6 17:08:02 freebsd kernel: uhci1: <VIA 83C572 USB controller> port 0xe000-0xe01f irq 21 at device 17.3 on pci0
Feb  6 17:08:02 freebsd kernel: usb1: <VIA 83C572 USB controller> on uhci1
Feb  6 17:08:02 freebsd kernel: usb1: USB revision 1.0
Feb  6 17:08:02 freebsd kernel: uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
Feb  6 17:08:02 freebsd kernel: uhub1: 2 ports with 2 removable, self powered
Feb  6 17:08:02 freebsd kernel: pci0: <multimedia, audio> at device 17.5 (no driver attached)
Feb  6 17:08:02 freebsd kernel: acpi_button1: <Sleep Button> on acpi0
Feb  6 17:08:02 freebsd kernel: fdc0: cmd 3 failed at out byte 1 of 3
Feb  6 17:08:02 freebsd kernel: sio0 port 0x3f8-0x3ff irq 4 on acpi0
Feb  6 17:08:02 freebsd kernel: sio0: type 16550A
Feb  6 17:08:02 freebsd kernel: sio1 port 0x2f8-0x2ff irq 3 on acpi0
Feb  6 17:08:02 freebsd kernel: sio1: type 16550A
Feb  6 17:08:02 freebsd kernel: ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
Feb  6 17:08:02 freebsd kernel: ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
Feb  6 17:08:02 freebsd kernel: ppc0: FIFO with 16/16/16 bytes threshold
Feb  6 17:08:02 freebsd kernel: ppbus0: <Parallel port bus> on ppc0
Feb  6 17:08:02 freebsd kernel: plip0: <PLIP network interface> on ppbus0
Feb  6 17:08:02 freebsd kernel: lpt0: <Printer> on ppbus0
Feb  6 17:08:02 freebsd kernel: lpt0: Interrupt-driven port
Feb  6 17:08:02 freebsd kernel: ppi0: <Parallel I/O> on ppbus0
Feb  6 17:08:02 freebsd kernel: atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
Feb  6 17:08:02 freebsd kernel: atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
Feb  6 17:08:02 freebsd kernel: kbd0 at atkbd0
Feb  6 17:08:02 freebsd kernel: fdc0: cmd 3 failed at out byte 1 of 3
Feb  6 17:08:02 freebsd kernel: orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
Feb  6 17:08:02 freebsd kernel: pmtimer0 on isa0
Feb  6 17:08:02 freebsd kernel: fdc0: cannot reserve I/O port range (6 ports)
Feb  6 17:08:02 freebsd kernel: sc0: <System console> at flags 0x100 on isa0
Feb  6 17:08:02 freebsd kernel: sc0: VGA <16 virtual consoles, flags=0x300>
Feb  6 17:08:02 freebsd kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Feb  6 17:08:02 freebsd kernel: Timecounter "TSC" frequency 1211938042 Hz quality 800
Feb  6 17:08:02 freebsd kernel: Timecounters tick every 10.000 msec
Feb  6 17:08:02 freebsd kernel: acpi_cpu: throttling enabled, 16 steps (100% to 6.2%), currently 100.0%
Feb  6 17:08:02 freebsd kernel: ata0-master: DMA limited to UDMA33, non-ATA66 cable or device
Feb  6 17:08:02 freebsd kernel: GEOM: create disk ad0 dp=0xc4864e60
Feb  6 17:08:02 freebsd kernel: ad0: 78533MB <IC35L090AVV207-0> [159560/16/63] at ata0-master UDMA33
Feb  6 17:08:02 freebsd kernel: Mounting root from ufs:/dev/ad0s1a
Feb  6 17:08:02 freebsd kernel: WARNING: / was not properly dismounted
Feb  6 17:08:02 freebsd kernel: WARNING: /home was not properly dismounted
Feb  6 17:08:02 freebsd kernel: WARNING: /tmp was not properly dismounted
Feb  6 17:08:02 freebsd kernel: WARNING: /usr was not properly dismounted
Feb  6 17:08:02 freebsd kernel: /usr: mount pending error: blocks 108 files 4
Feb  6 17:08:02 freebsd kernel: /usr: superblock summary recomputed
Feb  6 17:08:02 freebsd kernel: WARNING: /var was not properly dismounted
Feb  6 17:08:02 freebsd kernel: /var: superblock summary recomputed
Feb  6 17:08:02 freebsd kernel: Accounting enabled
Feb  6 17:08:07 freebsd kernel: Connection attempt to TCP 222.156.XXX.XXX:80 from 210.245.245.219:4318 flags:0x02
Feb  6 17:08:07 freebsd kernel: Connection attempt to TCP 222.156.XXX.XXX:80 from 210.245.245.219:4319 flags:0x02
Feb  6 17:08:07 freebsd kernel: Connection attempt to TCP 222.156.XXX.XXX:80 from 210.245.245.219:4321 flags:0x02
Feb  6 17:08:07 freebsd kernel: Connection attempt to TCP 222.156.XXX.XXX:80 from 210.245.245.219:4322 flags:0x02

17
BSD 討論版 / 設第2個ip設不起來
« 於: 2005-02-05 10:10 »
我已取得isp的dhcp發的ip上網了
想要再設一個虛ip

我使用下面指另
freebsd [/home] -DDF-> ifconfig_ste0_alias0="inet 192.168.0.123 netmask 255.255.255.255"


出現這訊息
ifconfig_ste0_alias0=inet 192.168.0.123 netmask 255.255.255.255: Command not found.


是怎麼了 :oops:

18
BSD 討論版 / freebsd5.3_bind9.3.0
« 於: 2005-02-04 16:21 »
#named -v
BIND 9.3.0
是5.3本身就裝好的
我在查尋時
出現下面訊息
請問各位大大是什麼情況? :cry:



command channel listening on 127.0.0.1#953
command channel listening on ::1#953

19
BSD 討論版 / 有關/etc/rc.conf
« 於: 2005-02-04 14:49 »
請問如何在不重開機的情況下
重新run  /etc/rc.conf

 :-?

20
BSD 討論版 / security訊息
« 於: 2005-02-02 02:19 »
可否請教大大這訊息代表什麼?
它是瘋了嗎




Feb  1 08:21:10 freebsd sshd[78501]: Failed password for invalid user mortimer from 70.84.72.68 port 35155 ssh2
Feb  1 08:21:12 freebsd sshd[78503]: Invalid user lloyd from 70.84.72.68
Feb  1 08:21:12 freebsd sshd[78503]: Failed password for invalid user lloyd from 70.84.72.68 port 36034 ssh2
Feb  1 08:21:14 freebsd sshd[78505]: Invalid user guinness from 70.84.72.68
Feb  1 08:21:15 freebsd sshd[78505]: Failed password for invalid user guinness from 70.84.72.68 port 36815 ssh2
Feb  1 08:21:21 freebsd sshd[78507]: Invalid user godzilla from 70.84.72.68
Feb  1 08:21:21 freebsd sshd[78507]: Failed password for invalid user godzilla from 70.84.72.68 port 37620 ssh2
Feb  1 08:21:23 freebsd sshd[78510]: Invalid user charlott from 70.84.72.68
Feb  1 08:21:23 freebsd sshd[78510]: Failed password for invalid user charlott from 70.84.72.68 port 40063 ssh2
Feb  1 08:21:26 freebsd sshd[78513]: Invalid user apple1 from 70.84.72.68
Feb  1 08:21:26 freebsd sshd[78513]: Failed password for invalid user apple1 from 70.84.72.68 port 40858 ssh2
Feb  1 08:21:28 freebsd sshd[78515]: Invalid user maurice from 70.84.72.68
Feb  1 08:21:28 freebsd sshd[78515]: Failed password for invalid user maurice from 70.84.72.68 port 41650 ssh2
Feb  1 08:21:30 freebsd sshd[78517]: Invalid user isabelle from 70.84.72.68
Feb  1 08:21:30 freebsd sshd[78517]: Failed password for invalid user isabelle from 70.84.72.68 port 42354 ssh2
Feb  1 08:21:32 freebsd sshd[78519]: Invalid user bernard from 70.84.72.68
Feb  1 08:21:32 freebsd sshd[78519]: Failed password for invalid user bernard from 70.84.72.68 port 43139 ssh2
Feb  1 08:21:34 freebsd sshd[78521]: Invalid user angela from 70.84.72.68
Feb  1 08:21:34 freebsd sshd[78521]: Failed password for invalid user angela from 70.84.72.68 port 43918 ssh2
Feb  1 08:21:36 freebsd sshd[78523]: Invalid user sylvia from 70.84.72.68
Feb  1 08:21:36 freebsd sshd[78523]: Failed password for invalid user sylvia from 70.84.72.68 port 44672 ssh2
Feb  1 08:21:38 freebsd sshd[78525]: Invalid user tara from 70.84.72.68
Feb  1 08:21:38 freebsd sshd[78525]: Failed password for invalid user tara from 70.84.72.68 port 45370 ssh2
Feb  1 08:21:41 freebsd sshd[78527]: Invalid user penelope from 70.84.72.68
Feb  1 08:21:41 freebsd sshd[78527]: Failed password for invalid user penelope from 70.84.72.68 port 46141 ssh2
Feb  1 08:21:43 freebsd sshd[78529]: Invalid user peewee from 70.84.72.68
Feb  1 08:21:43 freebsd sshd[78529]: Failed password for invalid user peewee from 70.84.72.68 port 46922 ssh2
Feb  1 08:21:45 freebsd sshd[78531]: Invalid user monique from 70.84.72.68
Feb  1 08:21:45 freebsd sshd[78531]: Failed password for invalid user monique from 70.84.72.68 port 47704 ssh2
Feb  1 08:21:47 freebsd sshd[78533]: Invalid user moon from 70.84.72.68
Feb  1 08:21:47 freebsd sshd[78533]: Failed password for invalid user moon from 70.84.72.68 port 48462 ssh2
Feb  1 08:21:53 freebsd sshd[78535]: Invalid user kristin from 70.84.72.68
Feb  1 08:21:53 freebsd sshd[78535]: Failed password for invalid user kristin from 70.84.72.68 port 49255 ssh2
Feb  1 08:21:55 freebsd sshd[78546]: Invalid user kristen from 70.84.72.68
Feb  1 08:21:55 freebsd sshd[78546]: Failed password for invalid user kristen from 70.84.72.68 port 51064 ssh2
Feb  1 08:21:57 freebsd sshd[78548]: Invalid user duckie from 70.84.72.68
Feb  1 08:21:57 freebsd sshd[78548]: Failed password for invalid user duckie from 70.84.72.68 port 51792 ssh2
Feb  1 08:21:59 freebsd sshd[78550]: Invalid user dylan from 70.84.72.68
Feb  1 08:21:59 freebsd sshd[78550]: Failed password for invalid user dylan from 70.84.72.68 port 52489 ssh2
Feb  1 08:22:02 freebsd sshd[78552]: Invalid user ellen from 70.84.72.68
Feb  1 08:22:02 freebsd sshd[78552]: Failed password for invalid user ellen from 70.84.72.68 port 53266 ssh2
Feb  1 08:22:04 freebsd sshd[78572]: Invalid user vicky from 70.84.72.68
Feb  1 08:22:04 freebsd sshd[78572]: Failed password for invalid user vicky from 70.84.72.68 port 54083 ssh2
Feb  1 08:22:06 freebsd sshd[78577]: Invalid user harris from 70.84.72.68
Feb  1 08:22:06 freebsd sshd[78577]: Failed password for invalid user harris from 70.84.72.68 port 54938 ssh2
Feb  1 08:22:08 freebsd sshd[78579]: Invalid user kjayroe from 70.84.72.68
Feb  1 08:22:08 freebsd sshd[78579]: Failed password for invalid user kjayroe from 70.84.72.68 port 55738 ssh2
Feb  1 08:22:16 freebsd sshd[78582]: Invalid user martinez from 70.84.72.68
Feb  1 08:22:16 freebsd sshd[78582]: Failed password for invalid user martinez from 70.84.72.68 port 56501 ssh2
Feb  1 08:22:18 freebsd sshd[78585]: Failed password for root from 70.84.72.68 port 59184 ssh2
Feb  1 08:22:20 freebsd sshd[78587]: Failed password for root from 70.84.72.68 port 59968 ssh2
Feb  1 08:22:22 freebsd sshd[78589]: Failed password for root from 70.84.72.68 port 60723 ssh2
Feb  1 08:22:24 freebsd sshd[78591]: Failed password for root from 70.84.72.68 port 33271 ssh2
Feb  1 08:22:26 freebsd sshd[78593]: Failed password for root from 70.84.72.68 port 33991 ssh2
Feb  1 08:22:29 freebsd sshd[78595]: Failed password for root from 70.84.72.68 port 34728 ssh2
Feb  1 08:22:31 freebsd sshd[78597]: Failed password for root from 70.84.72.68 port 35512 ssh2
Feb  1 08:22:33 freebsd sshd[78599]: Failed password for root from 70.84.72.68 port 36272 ssh2
Feb  1 08:22:35 freebsd sshd[78601]: Failed password for root from 70.84.72.68 port 36960 ssh2
Feb  1 08:22:37 freebsd sshd[78603]: Failed password for root from 70.84.72.68 port 37692 ssh2
Feb  1 08:22:40 freebsd sshd[78605]: Failed password for root from 70.84.72.68 port 38439 ssh2
Feb  1 08:22:42 freebsd sshd[78607]: Failed password for root from 70.84.72.68 port 39200 ssh2
Feb  1 08:22:44 freebsd sshd[78609]: Failed password for root from 70.84.72.68 port 39906 ssh2
Feb  1 08:22:46 freebsd sshd[78611]: Failed password for root from 70.84.72.68 port 40648 ssh2
Feb  1 08:22:48 freebsd sshd[78613]: Failed password for root from 70.84.72.68 port 41358 ssh2
Feb  1 08:22:51 freebsd sshd[78617]: Failed password for root from 70.84.72.68 port 42130 ssh2
Feb  1 08:22:53 freebsd sshd[78621]: Failed password for root from 70.84.72.68 port 43074 ssh2
Feb  1 08:22:55 freebsd sshd[78623]: Failed password for root from 70.84.72.68 port 43863 ssh2
Feb  1 08:22:57 freebsd sshd[78625]: Failed password for root from 70.84.72.68 port 44599 ssh2
Feb  1 08:23:05 freebsd sshd[78627]: Failed password for root from 70.84.72.68 port 45304 ssh2
Feb  1 08:23:10 freebsd sshd[78629]: Failed password for root from 70.84.72.68 port 47662 ssh2
Feb  1 08:23:12 freebsd sshd[78631]: Failed password for root from 70.84.72.68 port 49361 ssh2
Feb  1 08:23:14 freebsd sshd[78633]: Failed password for root from 70.84.72.68 port 50074 ssh2
Feb  1 08:23:16 freebsd sshd[78635]: Failed password for root from 70.84.72.68 port 50782 ssh2
Feb  1 08:23:18 freebsd sshd[78637]: Failed password for root from 70.84.72.68 port 51534 ssh2
Feb  1 08:23:21 freebsd sshd[78639]: Failed password for root from 70.84.72.68 port 52280 ssh2
Feb  1 08:23:23 freebsd sshd[78641]: Failed password for root from 70.84.72.68 port 53051 ssh2
Feb  1 08:23:26 freebsd sshd[78645]: Failed password for root from 70.84.72.68 port 53868 ssh2
Feb  1 08:23:29 freebsd sshd[78649]: Failed password for root from 70.84.72.68 port 54909 ssh2
Feb  1 08:23:33 freebsd sshd[78652]: Failed password for root from 70.84.72.68 port 56000 ssh2
Feb  1 08:23:37 freebsd sshd[78655]: Failed password for root from 70.84.72.68 port 57638 ssh2
Feb  1 08:23:40 freebsd sshd[78658]: Failed password for root from 70.84.72.68 port 58892 ssh2
Feb  1 08:23:42 freebsd sshd[78661]: Failed password for root from 70.84.72.68 port 60244 ssh2
Feb  1 08:23:45 freebsd sshd[78664]: Failed password for root from 70.84.72.68 port 32863 ssh2
Feb  1 08:23:47 freebsd sshd[78666]: Failed password for root from 70.84.72.68 port 33743 ssh2
Feb  1 08:23:49 freebsd sshd[78668]: Failed password for root from 70.84.72.68 port 34638 ssh2
Feb  1 08:23:51 freebsd sshd[78670]: Failed password for root from 70.84.72.68 port 35537 ssh2
Feb  1 08:23:54 freebsd sshd[78672]: Failed password for root from 70.84.72.68 port 36375 ssh2
Feb  1 08:23:56 freebsd sshd[78674]: Failed password for root from 70.84.72.68 port 37210 ssh2
Feb  1 08:23:58 freebsd sshd[78676]: Failed password for root from 70.84.72.68 port 37977 ssh2
Feb  1 08:24:00 freebsd sshd[78678]: Failed password for root from 70.84.72.68 port 38786 ssh2
Feb  1 08:24:02 freebsd sshd[78680]: Failed password for root from 70.84.72.68 port 39634 ssh2
Feb  1 08:24:04 freebsd sshd[78682]: Failed password for root from 70.84.72.68 port 40569 ssh2
Feb  1 08:24:07 freebsd sshd[78684]: Failed password for root from 70.84.72.68 port 41330 ssh2
Feb  1 08:24:09 freebsd sshd[78686]: Failed password for root from 70.84.72.68 port 42236 ssh2

21
BSD 討論版 / TOP的準確度
« 於: 2005-01-26 08:53 »
我在某個站台看到說top並不是很準確的
有時發生明明電腦資源滿載cpu大量負荷

但top確是像沒發生任何事一樣的
真的會這樣嗎?

22
BSD 討論版 / 有關站台突然掛點的問題
« 於: 2005-01-25 21:42 »
小弟用freebsd架了一個網站

今天突然掛點
不過掛點的方式是別人連不進來
我自己用windows可以連到freebsd的站台
windows和freebsd是用同一個hup

windows和freebsd都是isp用dhcp發的同一個b class的ip
後來在網站上又發現一個人連進來
一看....發現他也是跟我同一個b class的ip的人.....表示他也是跟我用同一家isp網路公司
我猜isp的問題

這問題不知到有沒有人遇過

23
BSD 討論版 / 初學的問題看messages
« 於: 2005-01-25 08:23 »
下面是我的messages
請問一下Connection attempt
怎麼看說有成功?
還有flags:0x02 的意義是什麼?


Jan 25 07:51:45 freebsd kernel: Connection attempt to UDP 222.156.xxx.xxx:52745 from 210.200.211.225:53
Jan 25 07:51:49 freebsd kernel: Connection attempt to UDP 222.156.xxx.xxx:52727 from 210.200.211.227:53
Jan 25 07:55:01 freebsd kernel: Connection attempt to TCP 127.0.0.1:113 from 127.0.0.1:50866 flags:0x02
Jan 25 07:55:01 freebsd kernel: Connection attempt to UDP 127.0.0.1:512 from 127.0.0.1:52795
Jan 25 07:58:56 freebsd kernel: Connection attempt to UDP 222.156.xxx.xxx:1026 from 8.2.96.27:49250
Jan 25 07:58:56 freebsd kernel: Connection attempt to UDP 222.156.xxx.xxx:1027 from 8.2.96.27:60959
Jan 25 07:59:14 freebsd kernel: Connection attempt to UDP 127.0.0.1:512 from 127.0.0.1:52802
Jan 25 08:00:01 freebsd kernel: Connection attempt to TCP 127.0.0.1:113 from 127.0.0.1:50869 flags:0x02
Jan 25 08:00:01 freebsd kernel: Connection attempt to UDP 127.0.0.1:512 from 127.0.0.1:52807
Jan 25 08:00:12 freebsd kernel: Connection attempt to TCP 127.0.0.1:113 from 127.0.0.1:50871 flags:0x02
Jan 25 08:00:12 freebsd kernel: Connection attempt to UDP 127.0.0.1:512 from 127.0.0.1:52828
Jan 25 08:11:00 freebsd kernel: Connection attempt to TCP 127.0.0.1:113 from 127.0.0.1:50875 flags:0x02
Jan 25 08:11:00 freebsd kernel: Connection attempt to UDP 127.0.0.1:512 from 127.0.0.1:52867
Jan 25 08:14:23 freebsd kernel: Connection attempt to TCP 222.156.xxx.xxx:42 from 221.194.122.82:6000 flags:0x02
Jan 25 08:15:37 freebsd kernel: Connection attempt to TCP 222.156.xxx.xxx:113 from 222.156.xxx.xxx:50877 flags:0x02

24
BSD 討論版 / 有關httpd-access.log檔案
« 於: 2005-01-24 11:09 »
請教大大

我的httpd-access.log檔案會在短短的幾小時變100多m
httpd-error.log也差不多
如此大讓我下一跳?

伺服器服務量真的有那麼多嗎?
一般情況約50~100人的數量

真的會產生那麼大的檔案嗎?
如果真的繼續下我的var一定會爆的
雖然我又定時清理
不過還是想知道一下
這樣算正常嗎

25
BSD 討論版 / TOP裡mem的資訊
« 於: 2005-01-24 10:56 »
請教各位大大

下面是我top的資訊
我的mem是2條256m
這是開機9小時後的情況
在mem的地方
在剛一開機時Inact非常小
然後一直加大.....一直持續成長.....然後free重400多m一直到現在98M Free
但free也都是一直持續降低.......在一開機跟開機後9小時......伺服器的服務數量都是差不多的......如果照照情況來講free會一直降到底..........不明白Inact真正的意思.......如果free在一直降低到多少.......才表示記憶體不夠?還是如果判斷?才表示記憶體不夠?那真正還沒用到的是不是就真的是98M Free



last pid: 14555;  load averages:  0.11,  0.20,  0.16                                                  up 0+09:06:14  10:56:14
67 processes:  1 running, 66 sleeping
CPU states:  0.0% user,  0.0% nice,  3.1% system,  0.0% interrupt, 96.9% idle
Mem: 90M Active, 223M Inact, 83M Wired, 396K Cache, 60M Buf, 98M Free
Swap: 512M Total, 512M Free

  PID USERNAME PRI NICE   SIZE    RES STATE    TIME   WCPU    CPU COMMAND
14549 www       -8    0  5852K  5360K pipdwt   0:01  3.06%  1.46% perl
14161 root       4    0  7960K  7456K kqread   0:08  0.54%  0.54% perl
14183 www        4    0 10340K  6052K accept   0:00  0.05%  0.05% httpd
  317 bind      96    0  9168K  8672K select   0:26  0.00%  0.00% named
  610 g         96    0  6012K  2756K select   0:11  0.00%  0.00% sshd
  581 www        4    0 15168K 11256K accept   0:09  0.00%  0.00% httpd
  493 root      96    0 10204K  5932K select   0:09  0.00%  0.00% httpd
  576 www        4    0 12508K  8512K accept   0:09  0.00%  0.00% httpd
  580 www        4    0 15276K 11312K sbwait   0:09  0.00%  0.00% httpd
  577 www        4    0 13904K  9960K sbwait   0:08  0.00%  0.00% httpd
  609 www        4    0 15252K 11332K accept   0:08  0.00%  0.00% httpd
  583 www        4    0 13400K  9488K sbwait   0:08  0.00%  0.00% httpd
  579 www        4    0 15260K 11300K accept   0:08  0.00%  0.00% httpd
  578 www        4    0 15260K 11296K accept   0:08  0.00%  0.00% httpd
  582 www        4    0 13412K  9396K sbwait   0:08  0.00%  0.00% httpd
  600 www        4    0 12504K  8528K accept   0:07  0.00%  0.00% httpd
  541 mysql     96    0 28952K  6908K select   0:03  0.00%  0.00% mysqld
  460 root      96    0  3512K  2704K select   0:01  0.00%  0.00% sendmail
11989 www        4    0 12504K  8504K sbwait   0:01  0.00%  0.00% httpd
  246 root      96    0  1796K  1284K select   0:01  0.00%  0.00% dhclient
12776 www        4    0 12972K  9032K accept   0:01  0.00%  0.00% httpd
  306 root       1    0  1316K   880K select   0:00  0.00%  0.00% syslogd
  606 root       4    0  6052K  2716K sbwait   0:00  0.00%  0.00% sshd
  477 root       8    0  1352K  1044K nanslp   0:00  0.00%  0.00% cron
13626 www        4    0 10340K  6056K sbwait   0:00  0.00%  0.00% httpd
13586 www       96    0  6156K  5712K select   0:00  0.00%  0.00% speedy_backend
14432 root      96    0  2292K  1556K RUN      0:00  0.00%  0.00% top
  218 root      96    0  4156K  3240K select   0:00  0.00%  0.00% snmpd
13585 www       20    0  4164K  3660K pause    0:00  0.00%  0.00% speedy_backend
14354 www        4    0 10340K  6052K sbwait   0:00  0.00%  0.00% httpd
  410 root      96    0  1236K   748K select   0:00  0.00%  0.00% usbd
14521 www        4    0 10340K  6056K sbwait   0:00  0.00%  0.00% httpd
14520 www        4    0 10340K  6052K sbwait   0:00  0.00%  0.00% httpd
  559 root      96    0  1436K  1116K select   0:00  0.00%  0.00% inetd
  646 root      20    0  2308K  1848K pause    0:00  0.00%  0.00% csh
14508 www        4    0 10340K  6052K sbwait   0:00  0.00%  0.00% httpd
  584 root      20    0  2312K  1820K pause    0:00  0.00%  0.00% csh

頁: [1]