courier-imap and different logging in jail
Hi, I installed courier-imap 4.0.6 in a jail recently and it's logging to /var/log/maillog as 'couriertcpd'. That means I cannot use !pop3d and !imapd in syslog.conf to redirect those logs to another file. Strange enough this isn't how it works in other servers that aren't using jails. Could it be related to the jail ? I copied and pasted the same configuration from another non-jail server to this one. Thanks in advance, -- Giovanni P. Tirloni http://blog.tirloni.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Strange load averages on 5.3-STABLE
Dmitry Kozhevnikov wrote: please show us 1. cat /var/run/dmesg.boot 2. uname -a 3. egrep (^REVISION|^BRANCH) /usr/src/sys/conf/newvers.sh GPT David Fleck wrote: On Thu, 10 Mar 2005, Michael Ross wrote: last pid: 771; load averages: 176.65, 770.13, 926.55 up 0+00:03:13 08:11:07 Your may have compiled kernel and userland from different sources. and programs like ps(1) and top(1) will fail to work until the kernel and source code versions are the same. from the handbook is what comes to my mind. GPT I've compiled from the same source. I've also seen ridiculously-high load numbers when NFS-mounted filesystems are inaccessible. Usually that degrades system performance, though. GPT It's strange because everything is working fine and I don't use NFS on GPT it. For example, the load hits 900 and suddenly it's 3. # uname -a FreeBSD srv-02.bs2.local 5.3-STABLE FreeBSD 5.3-STABLE #6: Mon Feb 14 09:32:36 BRST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SRV-02-LOCAL i386 # egrep (^REVISION|^BRANCH) /usr/src/sys/conf/newvers.sh REVISION=5.3 BRANCH=STABLE # cat /var/run/dmesg.boot Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.3-STABLE #6: Mon Feb 14 09:32:36 BRST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SRV-02-LOCAL ACPI APIC Table: IntelR AWRDACPI Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.26GHz (2261.01-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf25 Stepping = 5 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE real memory = 268369920 (255 MB) avail memory = 257159168 (245 MB) ioapic0 Version 2.0 irqs 0-23 on motherboard netsmb_dev: loaded npx0: [FAST] npx0: math processor on motherboard npx0: INT 16 interface acpi0: IntelR AWRDACPI on motherboard acpi0: Power Button (fixed) Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0 cpu0: ACPI CPU on acpi0 acpi_button0: Power Button on acpi0 acpi_button1: Sleep Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 agp0: Intel 82865 host to AGP bridge mem 0xf000-0xf7ff at device 0.0 on pci0 pcib1: PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 pci1: display, VGA at device 0.0 (no driver attached) pcib2: ACPI PCI-PCI bridge at device 30.0 on pci0 pci2: ACPI PCI bus on pcib2 rl0: RealTek 8139 10/100BaseTX port 0xb000-0xb0ff mem 0xfa00-0xfaff irq 20 at device 2.0 on pci2 miibus0: MII bus on rl0 rlphy0: RealTek internal media interface on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:e0:7d:d7:e0:5f rl1: RealTek 8139 10/100BaseTX port 0xb400-0xb4ff mem 0xfa001000-0xfa0010ff irq 23 at device 9.0 on pci2 miibus1: MII bus on rl1 rlphy1: RealTek internal media interface on miibus1 rlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl1: Ethernet address: 00:0d:87:47:56:a0 isab0: PCI-ISA bridge at device 31.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel ICH5 UDMA100 controller port 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pci0: serial bus, SMBus at device 31.3 (no driver attached) acpi_tz0: Thermal Zone on acpi0 sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A orm0: ISA Option ROM at iomem 0xc-0xc on isa0 pmtimer0 on isa0 atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 Timecounter TSC frequency 2261014504 Hz quality 800 Timecounters tick every 10.000 msec ad0: 38204MB SAMSUNG SP0411N/TW100-11 [77622/16/63] at ata0-master UDMA100 ad2: 38166MB ST340014A/8.01 [77545/16/63] at ata1-master UDMA100 Mounting root from ufs:/dev/ad0s1a -- Giovanni PS.: Please CC me as I'm not on this list. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Strange load averages on 5.3-STABLE
Hi, This is the output of top: last pid: 771; load averages: 176.65, 770.13, 926.55 up 0+00:03:13 08:11:07 48 processes: 1 running, 47 sleeping CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle Mem: 40M Active, 63M Inact, 45M Wired, 16K Cache, 35M Buf, 99M Free Swap: 487M Total, 487M Free PID USERNAME PRI NICE SIZERES STATETIME WCPUCPU COMMAND 622 mysql 200 58104K 28040K kserel 0:01 0.64% 0.63% mysqld 587 root 960 16888K 10592K select 0:00 0.00% 0.00% httpd 652 root 960 6252K 4536K select 0:00 0.00% 0.00% snmpd [...] Strange uh ? The system seems normal besides that. I only saw that because sendmail stopped aceppting connections because of the high load. FreeBSD 5.3-STABLE #6: Mon Feb 14 09:32:36 BRST 2005 -- Giovanni PS.: Please CC: me. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Strange load averages on 5.3-STABLE
David Fleck wrote: On Thu, 10 Mar 2005, Michael Ross wrote: last pid: 771; load averages: 176.65, 770.13, 926.55 up 0+00:03:13 08:11:07 Your may have compiled kernel and userland from different sources. and programs like ps(1) and top(1) will fail to work until the kernel and source code versions are the same. from the handbook is what comes to my mind. I've compiled from the same source. I've also seen ridiculously-high load numbers when NFS-mounted filesystems are inaccessible. Usually that degrades system performance, though. It's strange because everything is working fine and I don't use NFS on it. For example, the load hits 900 and suddenly it's 3. -- Giovanni ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: atacontrol and SATA RAID
Giovanni P. Tirloni wrote: Hi, I've a Intel SE7210TP1 motherboard with Adaptec HostRAID and I've created a RAID1 array with 2 SATA disks using the following command: atacontrol create RAID1 ad4 ad6 The system installed on /dev/ar0 just fine and I played a bit with atacontrol detaching and attaching the disks. Detaching ad6 worked without problems with the following commands: atacontrol detach 3 atacontrol attach 3 atacontrol rebuild 0 But when I tried to detach ad4 (after rebuilding array from previous detachment) I got an error saying the array was broken. Now when booting it shows this: ar0: 152627MB ATA RAID1 array [19457/255/63] status: DEGRADED subdisks: disk0 READY on ad4 at ata2-master disk1 DOWN no device found for this disk but atacontrol list shows ad6 there. So my question is: what's the proper way of doing de attach/detach operation ? I did a fresh install then turned the machine off and removed on disk. It booted again just fine. Then I turned it off again and inserted the disk I had removed. Now it will panic: panic: softdep_setup_inomapdep: found inode cpuid = 0 boot() called on cpu#0 Uptime: 2s If I removed the disk and boot again it will work and show the following message: ar0: 152627MB ATA RAID1 array [19457/255/63] status: DEGRADED subdisks: disk0 READY on ad4 at ata2-master disk1 DOWN no device found for this disk How can I replace a failed disk with this setup ? Given what I've read I'm not really using the controller's RAID support but only the RAID support present in the ata subsystem. Is that true ? In the BIOS I don't have any arrays. Thank you, -- Giovanni P. Tirloni ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
atacontrol and SATA RAID
Hi, I've a Intel SE7210TP1 motherboard with Adaptec HostRAID and I've created a RAID1 array with 2 SATA disks using the following command: atacontrol create RAID1 ad4 ad6 The system installed on /dev/ar0 just fine and I played a bit with atacontrol detaching and attaching the disks. Detaching ad6 worked without problems with the following commands: atacontrol detach 3 atacontrol attach 3 atacontrol rebuild 0 But when I tried to detach ad4 (after rebuilding array from previous detachment) I got an error saying the array was broken. Now when booting it shows this: ar0: 152627MB ATA RAID1 array [19457/255/63] status: DEGRADED subdisks: disk0 READY on ad4 at ata2-master disk1 DOWN no device found for this disk but atacontrol list shows ad6 there. So my question is: what's the proper way of doing de attach/detach operation ? -- Giovanni P. Tirloni PS.: Please CC me any reply because I'm not subscribed to questions@ Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade error
Mike Jarsulic wrote: I am getting the following error while running portupgrade: # portupgrade -arC [Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 302 packages found(-0 +5) . done] /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:323:in `deorigin': cannot convert nil into String (PkgDB::DBError) [...] Has anyone seen this before and have any suggestions to fix it? I ran into the same problem sometime ago and IIRC it was because of a Ruby update. You can try to pkg_delete portupgrade and install it again, it worked for me. -- Giovanni ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]