Re: FreeBSD 6.0 compat with DL320 G4
Ok, I think its best I just order a Intel MT card with the low profile PCI-X adapter instead of flapping about with these riser cards and then just use 6-stable. All getting quite confusing. On 04/07/06, Ted Mittelstaedt [EMAIL PROTECTED] wrote: Correct, it will not fit - unless you order the PCI-X riser card from HP and replace the PCI-Express riser card that ships with the 320 with the PCI-X riser card. Ted - Original Message - From: William [EMAIL PROTECTED] To: Antony Mawer [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org; Ted Mittelstaedt [EMAIL PROTECTED] Sent: Monday, July 03, 2006 10:56 AM Subject: Re: FreeBSD 6.0 compat with DL320 G4 Did you guys say the card I've got in another box wont fit into a 320? On 03/07/06, Antony Mawer [EMAIL PROTECTED] wrote: On 29/06/2006 9:27 PM, Erik Trulsson wrote: On Fri, Jun 30, 2006 at 07:56:00AM +0100, William wrote: Antony, I've got an Intel card in production already on a homebrew box, the code is INTEL-PWLA8492MT and description is Intel Dual Port Server Adapter 10/100/1000. Any idea if that will do? That is a PRO/1000 MT card, which is a PCI-X adapter and is supported by the standard em(4) driver in FreeBSD 6.x, The PRO/1000 PT mentioned below is a PCI-Express adapter and is not supported by the standard driver in 6.x, but (as mentioned) should be supported by the driver available from Intel. If you wish to utilise the PCI Express expansion slots by using a Pro/1000 PT network adapter, the procedure to follow might be something like be this: 1. Install 6.1-RELEASE from CD, being sure to install the kernel source 2. Obtain the latest Intel driver for FreeBSD 6.x (if it is still not available on the website, email me and I will send it to you) 3. Burn the driver onto a CD or other media and copy it onto the server 4. Extract the driver source, and copy the if_em* files across into /usr/src/sys/dev/em/ 5. Build a new kernel (GENERIC will suffice) which will utilise the new driver source (cd /usr/src make buildkernel) 6. Install the kernel and reboot (make installkernel) You should now have a working network with your Pro/1000 PT... Regards Antony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sendmail version change with p2?
Mike Loiterman wrote: I just upgrade to 6.1 p2 with the Sendmail security update, but my Sendmail version remains unchanged at 3.13.6. Shouldn't it have been bumped to 3.13.7? If you look at the patch http://security.FreeBSD.org/patches/SA-06:17/sendmail.patch it does not bump the version. sendmail -d0.1 Version 8.13.6 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING SCANF STARTTLS TCPWRAPPERS USERDB XDEBUG -- Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708 Consultant / http://p6m7g8.net/Resume/resume.shtml Senior Software Engineer - TicketMaster - http://ticketmaster.com 1024D/A79997FA F357 0FDD 2301 6296 690F 6A47 D55A 7172 A799 97F In all that I've done wrong I know I must have done something right to deserve a hug every morning and butterfly kisses at night. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Interrupt using all the CPU
Hi kern.clockrate: { hz = 100, tick = 1, profhz = 1024, stathz = 128 } I'm going to see if it's possible to disable USB from the BIOS later today, if not, can i disable the USB devices in the kernel? Med vänliga hälsningar Stefan Midjich aka nocturnal [Swehack] http://swehack.se Chuck Swiger wrote: Nikos Vassiliadis wrote: On Monday 03 July 2006 14:06, Daan Vreeken [PA4DAN] wrote: [ ... ] interrupt total rate irq0: clk 25130235 99 irq1: atkbd0 4 0 irq6: fdc0 1 0 irq7: ppc0 1 0 irq8: rtc 288300 1 irq11: atapci1637852 2 irq12: vr0 uhci0+3890833 15 irq13: npx01 0 irq14: ata0 54 0 Total 29947281119 Hmm.. There seems to be nothing wrong with these numbers. If you were suffering from an interrupt storm I would have expected much larger numbers in the rate column. The column rate shows the average number of interrupts / second. In total your system handles about 120 interrupts / second, so that shouldn't be a problem. I have the feeling that rate is calculated like this: number of interrupts since boottime / seconds of uptime OK. so, this won't help if his is having now an interrupt storm while most of the time the system is interrupted ~ 120 times per second An interrupt storm on what, though? The ~100 interrupts per second from the clock on IRQ0 are absolutely normal with HZ=100; the only other candidate seems to be the combination of vr0 USB controller on IRQ 12. If it's possible to disable the USB controller for a bit in the BIOS, it would be interesting to see whether that makes any difference. You can probably kill the parallel port, too. It's also interesting to note that IRQ 8, the RTC, seems to be mostly idle-- normally that fires at stathz=128...check sysctl kern.clockrate. systat -vmstat $time shows interrupts per second regarding the last $time seconds Right, although the output from vmstat 1 would survive being pasted into email better, I suspect. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports doubt, check network performance...?
On Tuesday 04 July 2006 03:49, perikillo wrote: Hi people. I have some problems on my network, and i want to use my freebsd box to see if i can find the problems on my network, we have two networks in two countrys connected by a private link, but i have seen just a couple a weeks ago that we have some problems between both links, we are lossing packets if i ping some server on the other link, some times i get 36% of packets loss, is to but to much on bussines hours. 36% packet loss is very high, it will almost make TCP unusable. ping is your tool. Use -s 500 to 1500 to simulate some-how real traffic situation. I guess you have a point-to-point link between the two offices, connected to a router? Do you administer these routers? Do know your bandwidth utilization? Are you sure your link is OK? check this with your service provider. Either you link is bad or you use all your available bandwidth. I want to use my freebsd box running 6.0 but just want to know if some one could recomend me wich ports to check to see if i can find wich device is causing this problem. FreeBSD can not help you much with this. Unless FreeBSD is the router in question. Or you could pass all traffic from a FreeBSD box in order to know what's going on. something like this central-switch--FBSD--router-1=router-2 [LAN] [-WAN-] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 3 NIC firewall help
Mark Moellering wrote: I have a problem which I think must be simple, I just can't figure out exactly what I need to do. I have a gateway / firewall (freebsd 6.1) with 3 nic cards. I just added the third card, rl1, which I have attached to a wireless access point. I can ping the access point from the firewall, but not from the rest of the internal (wired) network!!?? My wired network is 192.168.1 and the wireless access point is currently the default 192.168.0.229. rl1 is set to 192.168.0.210 Just one thing: have you checked the netmask on the hosts on your wired network? Attached are netstat -r, my pf.conf and rc.conf from the firewall/gateway. Any and all help is appreciated. comments on your ruleset: # # Firewall for Home or Small Office # http://www.openbsd.org/faq/pf/example1.html # # macros int_if = bge0 ext_if = rl0 wint_if = rl1 tcp_services = { 22, 113 } icmp_types = echoreq priv_nets = { 127.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8 } # options set block-policy return set loginterface $ext_if # scrub scrub in all # nat/rdr nat on $ext_if from $int_if:network to any - ($ext_if) nat on $ext_if from $wint_if:network to any - ($ext_if) rdr on $int_if proto tcp from any to any port 21 - 127.0.0.1 port 8021 You will probably like to replace any by !$priv_nets since only traffic to non private networks should exit on your external interface anyway. # filter rules block all log what you block, so you can see what rule catches the missing traffic. #pass in all pass quick on lo0 all block drop in on $ext_if from $priv_nets to any block drop out on $ext_if from any to $priv_nets You want to be quick here - right? pass in on $ext_if inet proto tcp from any to ($ext_if) \ port $tcp_services flags S/SA keep state #allow access to web server #pass in on $ext_if inet proto tcp from $XXX to 192.168.1.5 port 80 \ flags S/SA keep state Syntax error - you have a flags ... line with no rule. pass in inet proto icmp all icmp-type $icmp_types keep state Ok, so you allow icmp from anywhere to anywhere on any interface? pass in on $int_if from $int_if:network to any keep state pass out on $int_if from any to $int_if:network keep state In this and the following, the out rule only match traffic originating from the firewall since you have keep state on you in-rules. pass in on $wint_if from $wint_if:network to any keep state pass out on $wint_if from any to $wint_if:network keep state pass in on $wint_if from $int_if:network to any keep state pass in on $int_if from $wint_if:network to any keep state These two rules will NEVER match - you can't have traffic with origin your wired network coming in on your wireless interface. pass out on $wint_if from any to $int_if:network keep state pass out on $int_if from any to $wint_if:network keep state Same as above - you can't have traffic out on your wireless network interface when it's destined to a network block on the wired network. pass out on $ext_if proto tcp all modulate state flags S/SA pass out on $ext_if proto { udp, icmp } all keep state pass in on $ext_if inet proto tcp from any to ($ext_if) \ user proxy keep state Some general stuff: - Allways add log to your block rules to see where things are caught. - Allways use quick when you decide on an action opposite of default, in this case pass, or you may have other rules messing up. - Organize your ruleset as follows: per direction, per interface, per protocol, (per origin this is normally given by the interface), per destination. Doing so will make it easier to read and check that you have all combinations. This organization also makes the firewall faster. - Avoid use of the any/all keyword in rules with the quick keyword. Rules using any/all should be placed last since these will catch any remaining packets. The only exception is the default action which doesn't have the quick keyword - I like to have it explicit at top. However, I don't see any rules that should block traffic between your two networks. Cheers, Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
find syntax
I want to change a string in a number of html files (recursive) In a linux group I got this line: #find /dir/to/htmlfile -name *.html -exec perl -p -i -e s/nagual.st/nagual.nl/g; {} \; This gives me an error unknown option and does not work. Doing a: perl -p -i -e s/nagual.st/nagual.nl/g; * does make the changes alright, but going to all html directories this way is a pain in...;-) What am I doing wrong in the first (linux) line? Any help appreciated. -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 6.1 +++ The Power to Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: find syntax
#find /dir/to/htmlfile -name *.html -exec perl -p -i -e s/nagual.st/nagual.nl/g; {} \; You should escape the * that you pass to find: -name \*.html Most probably. olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Interrupt using all the CPU
On Tuesday 04 July 2006 09:57, nocturnal wrote: Hi kern.clockrate: { hz = 100, tick = 1, profhz = 1024, stathz = 128 } I'm going to see if it's possible to disable USB from the BIOS later today, if not, can i disable the USB devices in the kernel? are you sure you have to? Try vmstat -w1 to see the number of interrupts as advised by Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem with pkgdb
Hello, I have a problem with pkgdb that I am not able to solve on my own. root:newmail 10:26 /usr/ports/sysutils/portupgrade # pkgdb -fu --- Updating the pkgdb [Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ... uninitialized constant PkgDB::BDB: Cannot update the pkgdb!] So far I have tried to reinstall couple of ports (portupgrade), but that didn't solve anything. Thanks for your support. P.S. A solution was to use portmanager but I think I still need pkgdb - is that correct ?? «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ Gregober --- PGP ID -- 0x1BA3C2FD bsd @at@ todoo.biz «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Interrupt using all the CPU
Hi This is what i get, i'm afraid i'm not good at interpreting the results. procs memory pagedisks faults cpu r b w avmfre flt re pi po fr sr ad4 ad6 in sy cs us sy id 1 5 0 274324 36436 26 0 0 0 50 27 0 0 242 149 332 0 88 12 1 5 0 274324 364243 0 0 0 3 0 1 0 338 911 462 0 50 50 1 5 0 274324 364240 0 0 0 0 0 16 0 391 1011 581 0 33 67 1 5 0 274324 364240 0 0 0 3 0 1 0 611 263 877 0 33 67 1 5 0 274324 364240 0 0 0 0 0 1 0 674 128 931 0 75 25 1 5 0 274324 364240 0 0 0 0 0 0 0 563 118 711 0 0 100 1 5 0 274324 364240 0 0 0 0 0 0 0 531 129 702 0 67 33 1 5 0 274324 364240 0 0 0 0 0 0 0 440 118 578 0 50 50 1 6 0 274324 363760 0 0 0 0 0 0 0 563 158 774 0 67 33 1 5 0 274324 362680 0 0 0 0 0 10 0 702 1019 920 0 100 0 1 5 0 274324 362680 0 0 0 0 0 0 0 683 118 872 0 25 75 0 6 0 291460 33800 955 0 0 0 333 0 0 0 783 1423 1069 0 50 50 0 5 0 274324 36240 611 0 0 0 1500 0 0 0 491 567 707 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 717 121 986 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 729 129 923 0 33 67 0 5 0 274324 362400 0 0 0 0 0 0 0 570 118 742 0 50 50 0 5 0 274324 362400 0 0 0 0 0 0 0 568 1381 793 0 33 67 0 5 0 274324 362400 0 0 0 4 0 32 0 716 129 1036 0 75 25 0 5 0 274324 362400 0 0 0 0 0 0 0 745 118 843 0 75 25 0 5 0 274324 362400 0 0 0 0 0 7 0 610 137 820 0 67 33 0 5 0 274324 362400 0 0 0 0 0 0 0 465 174 630 0 0 100 0 5 0 274324 362400 0 0 0 0 0 0 0 327 237 454 0 50 50 0 5 0 274324 362400 0 0 0 0 0 0 0 253 125 323 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 249 127 314 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 240 118 303 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 238 125 301 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 255 129 330 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 258 144 337 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 269 129 358 0 100 0 0 5 0 274324 362360 0 0 0 0 0 2 0 312 527 431 0 100 0 0 5 0 274324 362360 0 0 0 12 0 21 0 287 129 409 0 100 0 0 5 0 274324 362360 0 0 0 0 0 0 0 257 128 331 0 100 0 0 5 0 274324 362360 0 0 0 0 0 0 0 253 118 324 0 100 0 0 5 0 274324 362360 0 0 0 0 0 0 0 248 128 315 0 100 0 0 5 0 274324 362360 0 0 0 0 0 5 0 257 118 333 0 100 0 0 5 0 274324 362360 0 0 0 0 0 0 0 257 118 327 0 100 0 0 5 0 274324 362360 0 0 0 0 0 0 0 294 118 366 0 100 0 Med vänliga hälsningar Stefan Midjich aka nocturnal [Swehack] http://swehack.se Nikos Vassiliadis wrote: On Tuesday 04 July 2006 09:57, nocturnal wrote: Hi kern.clockrate: { hz = 100, tick = 1, profhz = 1024, stathz = 128 } I'm going to see if it's possible to disable USB from the BIOS later today, if not, can i disable the USB devices in the kernel? are you sure you have to? Try vmstat -w1 to see the number of interrupts as advised by Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.0 compat with DL320 G4
I think your trying to second-guess very simple instructions and making things very hard for yourself. I'll try to explain one last time then I'll throw my hands up in the air The HP DL320 G4 slots, whether PCI-X or PCI Express, to be accessible, MUST USE A RISER CARD. HP has TWO different riser cards available. BOTH riser cards have TWO slots, a half-height and a full height. The first riser card has a half-height PCI-Express slot, and a full-height PCI Express slot. This is the riser card that is supplied by the factory and it comes with the server. The second riser card is OPTIONAL and it contains a half-height PCI-Express slot and a full-height PCI-X slot. It REPLACES the factory-supplied riser card, if you use it. The Intel MT card is a PCI-X card. It will not fit in a PCI Express slot. It works with FBSD 6.1 The Intel PT card is a PCI Express card. It will not fit in a PCI-X slot. It does not work with FBSD 6.1 unless you load the driver. You can either do ONE of the following: 1) Use the Intel MT card with the optional HP PCI-X riser card. This works out of box with FBSD 6.1 2) Use the Intel PT card with the HP riser card that ships with the server. This DOES NOT work out of the box with FBSD 6.1 You MUST load the current driver for this to work. You CANNOT USE the MT card with the riser card that ships with the server. You CANNOT use a low-profile PCI-X card because the optional PCI-X riser card DOES NOT HAVE a low profile PCI-X slot. It has a standard height PCI-X slot ONLY. Incidentally the fact that your HP dealer cannot apparently explain this to you pretty much means YOUR HP DEALER SUCKS THE BIG WEENIE. Ted - Original Message - From: William [EMAIL PROTECTED] To: Ted Mittelstaedt [EMAIL PROTECTED] Cc: Antony Mawer [EMAIL PROTECTED]; freebsd-questions@freebsd.org Sent: Monday, July 03, 2006 11:05 PM Subject: Re: FreeBSD 6.0 compat with DL320 G4 Ok, I think its best I just order a Intel MT card with the low profile PCI-X adapter instead of flapping about with these riser cards and then just use 6-stable. All getting quite confusing. On 04/07/06, Ted Mittelstaedt [EMAIL PROTECTED] wrote: Correct, it will not fit - unless you order the PCI-X riser card from HP and replace the PCI-Express riser card that ships with the 320 with the PCI-X riser card. Ted - Original Message - From: William [EMAIL PROTECTED] To: Antony Mawer [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org; Ted Mittelstaedt [EMAIL PROTECTED] Sent: Monday, July 03, 2006 10:56 AM Subject: Re: FreeBSD 6.0 compat with DL320 G4 Did you guys say the card I've got in another box wont fit into a 320? On 03/07/06, Antony Mawer [EMAIL PROTECTED] wrote: On 29/06/2006 9:27 PM, Erik Trulsson wrote: On Fri, Jun 30, 2006 at 07:56:00AM +0100, William wrote: Antony, I've got an Intel card in production already on a homebrew box, the code is INTEL-PWLA8492MT and description is Intel Dual Port Server Adapter 10/100/1000. Any idea if that will do? That is a PRO/1000 MT card, which is a PCI-X adapter and is supported by the standard em(4) driver in FreeBSD 6.x, The PRO/1000 PT mentioned below is a PCI-Express adapter and is not supported by the standard driver in 6.x, but (as mentioned) should be supported by the driver available from Intel. If you wish to utilise the PCI Express expansion slots by using a Pro/1000 PT network adapter, the procedure to follow might be something like be this: 1. Install 6.1-RELEASE from CD, being sure to install the kernel source 2. Obtain the latest Intel driver for FreeBSD 6.x (if it is still not available on the website, email me and I will send it to you) 3. Burn the driver onto a CD or other media and copy it onto the server 4. Extract the driver source, and copy the if_em* files across into /usr/src/sys/dev/em/ 5. Build a new kernel (GENERIC will suffice) which will utilise the new driver source (cd /usr/src make buildkernel) 6. Install the kernel and reboot (make installkernel) You should now have a working network with your Pro/1000 PT... Regards Antony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Interrupt using all the CPU
On Tuesday 04 July 2006 11:40, nocturnal wrote: Hi This is what i get, i'm afraid i'm not good at interpreting the results. procs memory pagedisks faults cpu r b w avmfre flt re pi po fr sr ad4 ad6 in sy cs us sy id 1 5 0 274324 36436 26 0 0 0 50 27 0 0 242 149 332 0 88 12 1 5 0 274324 364243 0 0 0 3 0 1 0 338 911 462 0 50 50 1 5 0 274324 364240 0 0 0 0 0 16 0 391 1011 581 0 33 67 1 5 0 274324 364240 0 0 0 3 0 1 0 611 263 877 0 33 67 1 5 0 274324 364240 0 0 0 0 0 1 0 674 128 931 0 75 25 1 5 0 274324 364240 0 0 0 0 0 0 0 563 118 711 0 0 100 1 5 0 274324 364240 0 0 0 0 0 0 0 531 129 702 0 67 33 1 5 0 274324 364240 0 0 0 0 0 0 0 440 118 578 0 50 50 1 6 0 274324 363760 0 0 0 0 0 0 0 563 158 774 0 67 33 1 5 0 274324 362680 0 0 0 0 0 10 0 702 1019 920 0 100 0 1 5 0 274324 362680 0 0 0 0 0 0 0 683 118 872 0 25 75 0 6 0 291460 33800 955 0 0 0 333 0 0 0 783 1423 1069 0 50 50 0 5 0 274324 36240 611 0 0 0 1500 0 0 0 491 567 707 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 717 121 986 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 729 129 923 0 33 67 0 5 0 274324 362400 0 0 0 0 0 0 0 570 118 742 0 50 50 0 5 0 274324 362400 0 0 0 0 0 0 0 568 1381 793 0 33 67 0 5 0 274324 362400 0 0 0 4 0 32 0 716 129 1036 0 75 25 0 5 0 274324 362400 0 0 0 0 0 0 0 745 118 843 0 75 25 0 5 0 274324 362400 0 0 0 0 0 7 0 610 137 820 0 67 33 0 5 0 274324 362400 0 0 0 0 0 0 0 465 174 630 0 0 100 0 5 0 274324 362400 0 0 0 0 0 0 0 327 237 454 0 50 50 0 5 0 274324 362400 0 0 0 0 0 0 0 253 125 323 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 249 127 314 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 240 118 303 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 238 125 301 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 255 129 330 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 258 144 337 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 269 129 358 0 100 0 0 5 0 274324 362360 0 0 0 0 0 2 0 312 527 431 0 100 0 0 5 0 274324 362360 0 0 0 12 0 21 0 287 129 409 0 100 0 0 5 0 274324 362360 0 0 0 0 0 0 0 257 128 331 0 100 0 0 5 0 274324 362360 0 0 0 0 0 0 0 253 118 324 0 100 0 0 5 0 274324 362360 0 0 0 0 0 0 0 248 128 315 0 100 0 0 5 0 274324 362360 0 0 0 0 0 5 0 257 118 333 0 100 0 0 5 0 274324 362360 0 0 0 0 0 0 0 257 118 327 0 100 0 0 5 0 274324 362360 0 0 0 0 0 0 0 294 118 366 0 100 0 Please turn off word wrapping on your mail program when you send such output. Or send as attachment. Well, normal number of interrupts, a lot of time in kernel, quite a few context switches send as attachment top -n -S -I -d 10 please There is also a -m in 6.x, don't know about 5.3-R, but it would be interesting if it exists from top manual: -mdisplay Display either cpu or io statistics. Default is cpu. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.0 compat with DL320 G4
Ted, Apoligises for being difficult, I must be suffering from my super early mornings and information overload. Thank you for explaining it, my dealer has picked up on the fact that I'll require the PT instead of MT card that I suggested. Thanks again for your help, what would be the best way of grabbing the latest driver for em for the 1000PT card? Regards, Will On 04/07/06, Ted Mittelstaedt [EMAIL PROTECTED] wrote: I think your trying to second-guess very simple instructions and making things very hard for yourself. I'll try to explain one last time then I'll throw my hands up in the air The HP DL320 G4 slots, whether PCI-X or PCI Express, to be accessible, MUST USE A RISER CARD. HP has TWO different riser cards available. BOTH riser cards have TWO slots, a half-height and a full height. The first riser card has a half-height PCI-Express slot, and a full-height PCI Express slot. This is the riser card that is supplied by the factory and it comes with the server. The second riser card is OPTIONAL and it contains a half-height PCI-Express slot and a full-height PCI-X slot. It REPLACES the factory-supplied riser card, if you use it. The Intel MT card is a PCI-X card. It will not fit in a PCI Express slot. It works with FBSD 6.1 The Intel PT card is a PCI Express card. It will not fit in a PCI-X slot. It does not work with FBSD 6.1 unless you load the driver. You can either do ONE of the following: 1) Use the Intel MT card with the optional HP PCI-X riser card. This works out of box with FBSD 6.1 2) Use the Intel PT card with the HP riser card that ships with the server. This DOES NOT work out of the box with FBSD 6.1 You MUST load the current driver for this to work. You CANNOT USE the MT card with the riser card that ships with the server. You CANNOT use a low-profile PCI-X card because the optional PCI-X riser card DOES NOT HAVE a low profile PCI-X slot. It has a standard height PCI-X slot ONLY. Incidentally the fact that your HP dealer cannot apparently explain this to you pretty much means YOUR HP DEALER SUCKS THE BIG WEENIE. Ted - Original Message - From: William [EMAIL PROTECTED] To: Ted Mittelstaedt [EMAIL PROTECTED] Cc: Antony Mawer [EMAIL PROTECTED]; freebsd-questions@freebsd.org Sent: Monday, July 03, 2006 11:05 PM Subject: Re: FreeBSD 6.0 compat with DL320 G4 Ok, I think its best I just order a Intel MT card with the low profile PCI-X adapter instead of flapping about with these riser cards and then just use 6-stable. All getting quite confusing. On 04/07/06, Ted Mittelstaedt [EMAIL PROTECTED] wrote: Correct, it will not fit - unless you order the PCI-X riser card from HP and replace the PCI-Express riser card that ships with the 320 with the PCI-X riser card. Ted - Original Message - From: William [EMAIL PROTECTED] To: Antony Mawer [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org; Ted Mittelstaedt [EMAIL PROTECTED] Sent: Monday, July 03, 2006 10:56 AM Subject: Re: FreeBSD 6.0 compat with DL320 G4 Did you guys say the card I've got in another box wont fit into a 320? On 03/07/06, Antony Mawer [EMAIL PROTECTED] wrote: On 29/06/2006 9:27 PM, Erik Trulsson wrote: On Fri, Jun 30, 2006 at 07:56:00AM +0100, William wrote: Antony, I've got an Intel card in production already on a homebrew box, the code is INTEL-PWLA8492MT and description is Intel Dual Port Server Adapter 10/100/1000. Any idea if that will do? That is a PRO/1000 MT card, which is a PCI-X adapter and is supported by the standard em(4) driver in FreeBSD 6.x, The PRO/1000 PT mentioned below is a PCI-Express adapter and is not supported by the standard driver in 6.x, but (as mentioned) should be supported by the driver available from Intel. If you wish to utilise the PCI Express expansion slots by using a Pro/1000 PT network adapter, the procedure to follow might be something like be this: 1. Install 6.1-RELEASE from CD, being sure to install the kernel source 2. Obtain the latest Intel driver for FreeBSD 6.x (if it is still not available on the website, email me and I will send it to you) 3. Burn the driver onto a CD or other media and copy it onto the server 4. Extract the driver source, and copy the if_em* files across into /usr/src/sys/dev/em/ 5. Build a new kernel (GENERIC will suffice) which will utilise the new driver source (cd /usr/src make buildkernel) 6. Install the kernel and reboot (make installkernel) You should now have a working network with your Pro/1000 PT... Regards Antony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org
Re: Interrupt using all the CPU
Hi The -m argument exists in 5.3-RELEASE, thank you. I've attached one file with -mio and the other without. With -mio it just output some extra stuff at the beginning so i don't know how much it matters or maybe i did something wrong. Med vänliga hälsningar Stefan Midjich aka nocturnal [Swehack] http://swehack.se Nikos Vassiliadis wrote: On Tuesday 04 July 2006 11:40, nocturnal wrote: Hi This is what i get, i'm afraid i'm not good at interpreting the results. procs memory pagedisks faults cpu r b w avmfre flt re pi po fr sr ad4 ad6 in sy cs us sy id 1 5 0 274324 36436 26 0 0 0 50 27 0 0 242 149 332 0 88 12 1 5 0 274324 364243 0 0 0 3 0 1 0 338 911 462 0 50 50 1 5 0 274324 364240 0 0 0 0 0 16 0 391 1011 581 0 33 67 1 5 0 274324 364240 0 0 0 3 0 1 0 611 263 877 0 33 67 1 5 0 274324 364240 0 0 0 0 0 1 0 674 128 931 0 75 25 1 5 0 274324 364240 0 0 0 0 0 0 0 563 118 711 0 0 100 1 5 0 274324 364240 0 0 0 0 0 0 0 531 129 702 0 67 33 1 5 0 274324 364240 0 0 0 0 0 0 0 440 118 578 0 50 50 1 6 0 274324 363760 0 0 0 0 0 0 0 563 158 774 0 67 33 1 5 0 274324 362680 0 0 0 0 0 10 0 702 1019 920 0 100 0 1 5 0 274324 362680 0 0 0 0 0 0 0 683 118 872 0 25 75 0 6 0 291460 33800 955 0 0 0 333 0 0 0 783 1423 1069 0 50 50 0 5 0 274324 36240 611 0 0 0 1500 0 0 0 491 567 707 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 717 121 986 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 729 129 923 0 33 67 0 5 0 274324 362400 0 0 0 0 0 0 0 570 118 742 0 50 50 0 5 0 274324 362400 0 0 0 0 0 0 0 568 1381 793 0 33 67 0 5 0 274324 362400 0 0 0 4 0 32 0 716 129 1036 0 75 25 0 5 0 274324 362400 0 0 0 0 0 0 0 745 118 843 0 75 25 0 5 0 274324 362400 0 0 0 0 0 7 0 610 137 820 0 67 33 0 5 0 274324 362400 0 0 0 0 0 0 0 465 174 630 0 0 100 0 5 0 274324 362400 0 0 0 0 0 0 0 327 237 454 0 50 50 0 5 0 274324 362400 0 0 0 0 0 0 0 253 125 323 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 249 127 314 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 240 118 303 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 238 125 301 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 255 129 330 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 258 144 337 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 269 129 358 0 100 0 0 5 0 274324 362360 0 0 0 0 0 2 0 312 527 431 0 100 0 0 5 0 274324 362360 0 0 0 12 0 21 0 287 129 409 0 100 0 0 5 0 274324 362360 0 0 0 0 0 0 0 257 128 331 0 100 0 0 5 0 274324 362360 0 0 0 0 0 0 0 253 118 324 0 100 0 0 5 0 274324 362360 0 0 0 0 0 0 0 248 128 315 0 100 0 0 5 0 274324 362360 0 0 0 0 0 5 0 257 118 333 0 100 0 0 5 0 274324 362360 0 0 0 0 0 0 0 257 118 327 0 100 0 0 5 0 274324 362360 0 0 0 0 0 0 0 294 118 366 0 100 0 Please turn off word wrapping on your mail program when you send such output. Or send as attachment. Well, normal number of interrupts, a lot of time in kernel, quite a few context switches send as attachment top -n -S -I -d 10 please There is also a -m in 6.x, don't know about 5.3-R, but it would be interesting if it exists from top manual: -mdisplay Display either cpu or io statistics. Default is cpu. last pid: 29582; load averages: 0.01, 0.13, 0.08 up 3+21:29:1412:06:22 114 processes: 2 running, 87 sleeping, 25 waiting Mem: 193M Active, 300M Inact, 99M Wired, 22M Cache, 73M Buf, 5488K Free Swap: 329M Total, 376K Used, 329M Free PID USERNAME VCSW IVCSW READ WRITE FAULT TOTAL PERCENT COMMAND 498 www 49228 98410540 5580122 6242 1.35% httpd 465 www 50096 103518736 2877423 4036 0.88% httpd 489 www 54847 93551771 4688335 5794 1.26% httpd 605 www 48318 89215577 4239112 4928 1.07% httpd 2326 www 46595 104188597 3857150 4604 1.00% httpd 46 root 337454 0830 358189 0 359019 77.88% syncer 2315 www 44607 74767795 4356131 5282 1.15% httpd 19562 www 19505 54030558 1805214 2577 0.56% httpd 16684 www 22848 40500616 1029272
RE: shell scripting: help appreciated
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Atom Powers Sent: Monday, July 03, 2006 5:40 PM Cc: freebsd-questions@freebsd.org Subject: Re: shell scripting: help appreciated On 7/3/06, [EMAIL PROTECTED]@mgedv.net [EMAIL PROTECTED] wrote: if i change the line /bin/sh -c subprogram.sh $h_val1 $h_val2 $h_opt1; to echo /bin/sh -c subprogram.sh $h_val1 $h_val2 $h_opt1; the program loops for all records in the foo.conf correctly. if i remove the echo keyword, the sub-script get's executed, but the shell terminates as if there were lesser records in the foo.conf file! try: eval /bin/sh -c subprogram.sh $h_val1 $h_val2 $h_opt1; well, even changing to /bin/sh -c subprogram.sh without passing any parameters (everything is taken now from the environment, the program still stops after reading lesser records from the input file as there are :-( the shell returnvalue is being checked after the subprogram returns and i get all the messages after the subprogram inside the loop, too. so it's not an error-exit or something like that. it's just as if there were lesser records for the input to the loop. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: TCP timeout
On Tuesday 04 July 2006 07:01, [EMAIL PROTECTED] wrote: Hi folks, I'm facing some troubles with mail server on a busy slow link. I'm getting a lot of sendmail: SYSERR: collect: read timeout on connection from entries in the logs. I found this page showing an workaround for Solaris. Is it applicable for Free BSD 5.4? If positive, is there any sysctl variable to tun it? -xx- TCP/IP connections time out too soon, especially on slow links. The tcp/ip abort interval in Solaris 2.x is too short, the default value is 2 minutes. The result is that when an ACK isn't received in 2 minutes, the connection is closed. This is most often seen by sendmail, which will log sendmail: SYSERR: collect: read timeout on connection from ... You can fix this by running following command which increases the timeout to 8 minutes (unit is millisec), which is the Solaris 2.4+ (and patched 2.3) default. /usr/sbin/ndd -set /dev/tcp tcp_ip_abort_interval 48 -xx- Are you sure that's the case? Isn't Solaris 2 ancient(circa 1992)? that means that internet was very different... It doesn't seem normal these days for a server not responding for 75 seconds, which is the default timeout value for not established connections. anyway sysctl net.inet.tcp.keepinit to see current value sysctl net.inet.tcp.keepinit=timeout_in_ms to change it and /etc/sysctl.conf to make it permanent. HTH, Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: shell scripting: help appreciated
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Parv Sent: Monday, July 03, 2006 7:50 PM To: [EMAIL PROTECTED]@mgedv.net Cc: freebsd-questions@freebsd.org Subject: Re: shell scripting: help appreciated in message [EMAIL PROTECTED], wrote [EMAIL PROTECTED]@mgedv.net thusly... /bin/sh stops working correctly with a content-controlled do-loop. the shell-script layout is as follows: (it's not that trivial, just to show the meaning) --- /test/foo.conf (originally ~60 lines): test1 testval1optional_testval1 test2 testval2optional_testval2 /test/foo.sh (this is the original loop code): cat $g_dir_etc/compile.lst|\ ... ( some pipeline ) ... while read gh_name gh_src gh_srcdir do set some vars here /bin/sh -c subprogram.sh $h_val1 $h_val2 $h_opt1; do some stuff here done; /test/foo_sub.sh: we do very much stuff in here, like compiling programs etc... --- if i change the line /bin/sh -c subprogram.sh $h_val1 $h_val2 $h_opt1; to echo /bin/sh -c subprogram.sh $h_val1 $h_val2 $h_opt1; the program loops for all records in the foo.conf correctly. if i remove the echo keyword, the sub-script get's executed, but the shell terminates as if there were lesser records in the foo.conf file! i scripted as many debug messages as possible, for every loop they get executed and there are no errors/etc... happening. and interestingly, the execution stops always on the same record! if i comment out some records of my foo.conf, the sub-shell gets executed for more records. So, what is it exactly in the records (and/or values given to subprogram.sh) where the execution stops? it's not depending on the record. the layout of each record is 2 fixed an one variable field of data which is then put together to directory/file-names inside the subprogram. the subprogram just simply should loop for each record inside the controlfile, which is done correctly if i change the subprogram to an just say hello script. if i run the really program, the loop stops (not immediately after calling the subprogram, it just normal finishes the loop) after working on lesser records as there are inside the .conf file. no idea of what's going on. btw., for each record - after the subprogram has successfully worked on it a done flag is set and the subprogram is not called again for this record. looping the main program again and again renders the subprogram to get executed for the other records as well. it looks like, if there is heavy execution inside the subprogram, the main program forgets about some data inside the loop. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with pkgdb
bsd wrote: Hello, I have a problem with pkgdb that I am not able to solve on my own. root:newmail 10:26 /usr/ports/sysutils/portupgrade # pkgdb -fu --- Updating the pkgdb [Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ... uninitialized constant PkgDB::BDB: Cannot update the pkgdb!] So far I have tried to reinstall couple of ports (portupgrade), but that didn't solve anything. Thanks for your support. P.S. A solution was to use portmanager but I think I still need pkgdb - is that correct ?? No, 'pkgdb' is not required. -- Gerard Seibert [EMAIL PROTECTED] We aim above the mark to hit the mark. Ralph Waldo Emerson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sshd/mysql errors.
Hello gurus, my logs full of hundreds of these lines..i starts since few days and up to day .. - Jul 2 00:00:03 server mysqld[28598]: warning: /etc/hosts.allow, line 25: can't verify hostname: getaddrinfo(host73.hostname_net, AF_INET) failed Jul 2 00:00:27 server sshd[83738]: warning: /etc/hosts.allow, line 25: can't verify hostname: getaddrinfo(host73.hostname_net, AF_INET) failed -- Where hostname_net is the former ISP name for the my server hosting ISP. but i have the same DNS and routings, the name is changed since almost 1 year and few months. Also line 25 had nothing to do with this hostname its just the first active line in my hosts.allow file anyhow i have replaced the line to: ALL : .hostname_net : allow But still same errors everyday every minute! anyadvise please? Its FreeBSD 4.8R thank you Marwan _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: sshd/mysql errors.
First thoughts is you are under attack and hosts.allow is doing it's job of denying access. Add the ip address from the warning message to your firewall to stop those attack packets from entering your system. Good chance attack packets are spoofed. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Marwan Sultan Sent: Tuesday, July 04, 2006 6:40 AM To: freebsd-questions@freebsd.org Subject: sshd/mysql errors. Hello gurus, my logs full of hundreds of these lines..i starts since few days and up to day .. - Jul 2 00:00:03 server mysqld[28598]: warning: /etc/hosts.allow, line 25: can't verify hostname: getaddrinfo(host73.hostname_net, AF_INET) failed Jul 2 00:00:27 server sshd[83738]: warning: /etc/hosts.allow, line 25: can't verify hostname: getaddrinfo(host73.hostname_net, AF_INET) failed -- Where hostname_net is the former ISP name for the my server hosting ISP. but i have the same DNS and routings, the name is changed since almost 1 year and few months. Also line 25 had nothing to do with this hostname its just the first active line in my hosts.allow file anyhow i have replaced the line to: ALL : .hostname_net : allow But still same errors everyday every minute! anyadvise please? Its FreeBSD 4.8R thank you Marwan _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Resource Not specified in CIS (sending again didnt have reply during the weekend...)
Hi, I just tried to install a clean copy of freebsd 6.1 on a Ibm Thinkpad 600X Laptop. There is a Xircom Cardbus network/modem card in it. When the system boots, the modem gets detected, the network card also (as DC0) but I get a bunch of these messages: CARDBUS1 Ressource Not Specified in CIS No Station address in CIS I've browsed through the forums, I saw a couple of people having the same problem, but didn't find any solution... I didnt provided a complete log of boot process cause since I don't have access to the nic, and there is no floppy on the laptop, it's hard to extract it :) Any help would be greatly appreciated Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Interrupt using all the CPU
On Tuesday 04 July 2006 13:10, nocturnal wrote: Hi The -m argument exists in 5.3-RELEASE, thank you. I've attached one file with -mio and the other without. With -mio it just output some extra stuff at the beginning so i don't know how much it matters or maybe i did something wrong. I see nothing backing up those numbers... You said it doesn't seem to affect the web server, That everything feels normal. You cannot feel the load using the box, typing, etc, right? In cases where interrupts reach 25%, the load is very easily noticable, that means you have trouble typing...I would say that such a percentage (100%) is false, you wouldn't be able to log in to the box, the kernel itself would have trouble doing something, but interrupt handling. A wild guess would be that you hit a bug. After all 5.3-RELEASE was the first release marked STABLE from the 5 branch. Med vänliga hälsningar Stefan Midjich aka nocturnal [Swehack] http://swehack.se Nikos Vassiliadis wrote: On Tuesday 04 July 2006 11:40, nocturnal wrote: Hi This is what i get, i'm afraid i'm not good at interpreting the results. procs memory pagedisks faults cpu r b w avmfre flt re pi po fr sr ad4 ad6 in sy cs us sy id 1 5 0 274324 36436 26 0 0 0 50 27 0 0 242 149 332 0 88 12 1 5 0 274324 364243 0 0 0 3 0 1 0 338 911 462 0 50 50 1 5 0 274324 364240 0 0 0 0 0 16 0 391 1011 581 0 33 67 1 5 0 274324 364240 0 0 0 3 0 1 0 611 263 877 0 33 67 1 5 0 274324 364240 0 0 0 0 0 1 0 674 128 931 0 75 25 1 5 0 274324 364240 0 0 0 0 0 0 0 563 118 711 0 0 100 1 5 0 274324 364240 0 0 0 0 0 0 0 531 129 702 0 67 33 1 5 0 274324 364240 0 0 0 0 0 0 0 440 118 578 0 50 50 1 6 0 274324 363760 0 0 0 0 0 0 0 563 158 774 0 67 33 1 5 0 274324 362680 0 0 0 0 0 10 0 702 1019 920 0 100 0 1 5 0 274324 362680 0 0 0 0 0 0 0 683 118 872 0 25 75 0 6 0 291460 33800 955 0 0 0 333 0 0 0 783 1423 1069 0 50 50 0 5 0 274324 36240 611 0 0 0 1500 0 0 0 491 567 707 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 717 121 986 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 729 129 923 0 33 67 0 5 0 274324 362400 0 0 0 0 0 0 0 570 118 742 0 50 50 0 5 0 274324 362400 0 0 0 0 0 0 0 568 1381 793 0 33 67 0 5 0 274324 362400 0 0 0 4 0 32 0 716 129 1036 0 75 25 0 5 0 274324 362400 0 0 0 0 0 0 0 745 118 843 0 75 25 0 5 0 274324 362400 0 0 0 0 0 7 0 610 137 820 0 67 33 0 5 0 274324 362400 0 0 0 0 0 0 0 465 174 630 0 0 100 0 5 0 274324 362400 0 0 0 0 0 0 0 327 237 454 0 50 50 0 5 0 274324 362400 0 0 0 0 0 0 0 253 125 323 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 249 127 314 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 240 118 303 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 238 125 301 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 255 129 330 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 258 144 337 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 269 129 358 0 100 0 0 5 0 274324 362360 0 0 0 0 0 2 0 312 527 431 0 100 0 0 5 0 274324 362360 0 0 0 12 0 21 0 287 129 409 0 100 0 0 5 0 274324 362360 0 0 0 0 0 0 0 257 128 331 0 100 0 0 5 0 274324 362360 0 0 0 0 0 0 0 253 118 324 0 100 0 0 5 0 274324 362360 0 0 0 0 0 0 0 248 128 315 0 100 0 0 5 0 274324 362360 0 0 0 0 0 5 0 257 118 333 0 100 0 0 5 0 274324 362360 0 0 0 0 0 0 0 257 118 327 0 100 0 0 5 0 274324 362360 0 0 0 0 0 0 0 294 118 366 0 100 0 Please turn off word wrapping on your mail program when you send such output. Or send as attachment. Well, normal number of interrupts, a lot of time in kernel, quite a few context switches send as attachment top -n -S -I -d 10 please There is also a -m in 6.x, don't know about 5.3-R, but it would be interesting if it exists from top manual: -mdisplay Display either cpu or io statistics. Default is cpu. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To
Re: Interrupt using all the CPU
Hi Yes i suspected a bug when i first saw this because of what you say. 100% CPU usage should be noticed. I found out by accident looking at top. I'll see if we can update the system, it's not high priority right now but thank you all for your help. Med vänliga hälsningar Stefan Midjich aka nocturnal [Swehack] http://swehack.se Nikos Vassiliadis wrote: On Tuesday 04 July 2006 13:10, nocturnal wrote: Hi The -m argument exists in 5.3-RELEASE, thank you. I've attached one file with -mio and the other without. With -mio it just output some extra stuff at the beginning so i don't know how much it matters or maybe i did something wrong. I see nothing backing up those numbers... You said it doesn't seem to affect the web server, That everything feels normal. You cannot feel the load using the box, typing, etc, right? In cases where interrupts reach 25%, the load is very easily noticable, that means you have trouble typing...I would say that such a percentage (100%) is false, you wouldn't be able to log in to the box, the kernel itself would have trouble doing something, but interrupt handling. A wild guess would be that you hit a bug. After all 5.3-RELEASE was the first release marked STABLE from the 5 branch. Med vänliga hälsningar Stefan Midjich aka nocturnal [Swehack] http://swehack.se Nikos Vassiliadis wrote: On Tuesday 04 July 2006 11:40, nocturnal wrote: Hi This is what i get, i'm afraid i'm not good at interpreting the results. procs memory pagedisks faults cpu r b w avmfre flt re pi po fr sr ad4 ad6 in sy cs us sy id 1 5 0 274324 36436 26 0 0 0 50 27 0 0 242 149 332 0 88 12 1 5 0 274324 364243 0 0 0 3 0 1 0 338 911 462 0 50 50 1 5 0 274324 364240 0 0 0 0 0 16 0 391 1011 581 0 33 67 1 5 0 274324 364240 0 0 0 3 0 1 0 611 263 877 0 33 67 1 5 0 274324 364240 0 0 0 0 0 1 0 674 128 931 0 75 25 1 5 0 274324 364240 0 0 0 0 0 0 0 563 118 711 0 0 100 1 5 0 274324 364240 0 0 0 0 0 0 0 531 129 702 0 67 33 1 5 0 274324 364240 0 0 0 0 0 0 0 440 118 578 0 50 50 1 6 0 274324 363760 0 0 0 0 0 0 0 563 158 774 0 67 33 1 5 0 274324 362680 0 0 0 0 0 10 0 702 1019 920 0 100 0 1 5 0 274324 362680 0 0 0 0 0 0 0 683 118 872 0 25 75 0 6 0 291460 33800 955 0 0 0 333 0 0 0 783 1423 1069 0 50 50 0 5 0 274324 36240 611 0 0 0 1500 0 0 0 491 567 707 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 717 121 986 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 729 129 923 0 33 67 0 5 0 274324 362400 0 0 0 0 0 0 0 570 118 742 0 50 50 0 5 0 274324 362400 0 0 0 0 0 0 0 568 1381 793 0 33 67 0 5 0 274324 362400 0 0 0 4 0 32 0 716 129 1036 0 75 25 0 5 0 274324 362400 0 0 0 0 0 0 0 745 118 843 0 75 25 0 5 0 274324 362400 0 0 0 0 0 7 0 610 137 820 0 67 33 0 5 0 274324 362400 0 0 0 0 0 0 0 465 174 630 0 0 100 0 5 0 274324 362400 0 0 0 0 0 0 0 327 237 454 0 50 50 0 5 0 274324 362400 0 0 0 0 0 0 0 253 125 323 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 249 127 314 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 240 118 303 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 238 125 301 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 255 129 330 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 258 144 337 0 100 0 0 5 0 274324 362400 0 0 0 0 0 0 0 269 129 358 0 100 0 0 5 0 274324 362360 0 0 0 0 0 2 0 312 527 431 0 100 0 0 5 0 274324 362360 0 0 0 12 0 21 0 287 129 409 0 100 0 0 5 0 274324 362360 0 0 0 0 0 0 0 257 128 331 0 100 0 0 5 0 274324 362360 0 0 0 0 0 0 0 253 118 324 0 100 0 0 5 0 274324 362360 0 0 0 0 0 0 0 248 128 315 0 100 0 0 5 0 274324 362360 0 0 0 0 0 5 0 257 118 333 0 100 0 0 5 0 274324 362360 0 0 0 0 0 0 0 257 118 327 0 100 0 0 5 0 274324 362360 0 0 0 0 0 0 0 294 118 366 0 100 0 Please turn off word wrapping on your mail program when you send such output. Or send as attachment. Well, normal number of interrupts, a lot of time in kernel, quite a few context switches send as attachment top -n -S -I -d 10 please There is also a -m in 6.x, don't know about 5.3-R, but it would be interesting if it exists from top manual: -mdisplay Display either cpu or io statistics.
Re: find syntax
Olivier Nicole writes: #find /dir/to/htmlfile -name *.html -exec perl -p -i -e s/nagual.st/nagual.nl/g; {} \; You should escape the * that you pass to find: -name \*.html Or quote it: find /dir/to/htmlfile -name *.html Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Error: shared library gtkglext-x11-1.0.2 does not exist
Hi, I'm trying to install graphics/gnash with the firefox plugin but it keeps on saying: Error: shared library gtkglext-x11-1.0.2 does not exist I tried to search the ports directory for gtkglext-x11 but I can't find any I'm using FreeBSD 6.1-RELEASE-p1 Thanks in advance for your guidance... -- Sincerely, Yousef Raffah Senior Systems Administrator -- Aren't you using Firefox? Get it at http://www.getfirefox.com signature.asc Description: This is a digitally signed message part
sysinstall and dependencies
Hi, 6.1-RELEASE-p2 I recently used sysinstall to install cups-1.1.23 via packages/ftp/ Main Site. That adds ghostscript-gnu and xorg-libraries as dependencies. That's not what I wanted, I don't use a gui, so I selected ghostscript-gnu-no-X11. That didn't work, it installed ghostscript-gnu first and the no-X11 install failed. Now I'm stuck with xorg-libraries, which I don't need nor want. Is there a way to install ghostscript-gnu-no-X11 and fix the cups dependencies? What would have been the proper way to use sysinstall/packages or pkg_add and get no-X11 instead of regular ghostscript-gnu? -- How I make Great Barbecue - http://bubbabbq.homeunix.net/bbq.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Snapshot problems
Andrea Venturoli [EMAIL PROTECTED] writes: Lowell Gilbert wrote: I believe the first one is a known problem, any more info? Any hint on the second? Not really; seems strange. Are you able to fsck the snapshot? Hm... guess so. Is it fsck /var/local/snapmnt? Assuming that is the snapshot file itself, pretty much right. You will need a -t ffs in the command as well, and to save time I'd recommend a -n also. Just a question before I try it... this is a production system, will it screw up anything? No; that's why I suggested fsck'ing the snapshot instead of the real filesystem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
KDE Text to Speech
System Info: FreeBSD seibercom.net 6.1-STABLE FreeBSD 6.1-STABLE #0: Sat May 13 19:46:07 EDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SEIBERCOM i386 I am not sure if this is the proper forum for this question or not, but I might as well start here. I am trying to get the KDE text to speech to work. I installed the 'festival' port and the 'festvox-aec' port. Everything seems to be OK, but no sound is emitted. The sound works fine on everything else. There are no error messages displayed so I do not know where to look to get this working. -- Gerard Seibert [EMAIL PROTECTED] Change your thoughts and you change your world. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KDE Text to Speech
Problem is, that's a bit of a niche so it may take a while to answer, but as a generalized FreeBSD form, and that being related to use on a FreeBSD system, It's a good question. Not to mention, I've not had time to look at it, but since I have blind family, I'd like to look at the screen readers for *nix some day, as it can't be much worse than windows/jaws. You may want to try some Festival or KDE Text-to-Speech groups also. If you get a response faster there, please post it here, as I am interested. -Jim Stapleton On 7/4/06, Gerard Seibert [EMAIL PROTECTED] wrote: System Info: FreeBSD seibercom.net 6.1-STABLE FreeBSD 6.1-STABLE #0: Sat May 13 19:46:07 EDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SEIBERCOM i386 I am not sure if this is the proper forum for this question or not, but I might as well start here. I am trying to get the KDE text to speech to work. I installed the 'festival' port and the 'festvox-aec' port. Everything seems to be OK, but no sound is emitted. The sound works fine on everything else. There are no error messages displayed so I do not know where to look to get this working. -- Gerard Seibert [EMAIL PROTECTED] Change your thoughts and you change your world. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mod_proxy missing under freebsd
Hi, I need to get mod_proxy running under apache and can't seem to find the ports. Anyone knows where mod_proxy is located? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mod_proxy missing under freebsd
npy wrote: I need to get mod_proxy running under apache and can't seem to find the ports. Anyone knows where mod_proxy is located? Which version of apache? For apache 2.2 check Makefile.doc: To enable a module category: WITH_CATEGORY_MODULES To disable a module category: WITHOUT_CATEGORY_MODULES Per default categories are: AUTH AUTHN AUTHZ DAV CACHE MISC Categories available: AUTH AUTHN AUTHZ CACHE DAV EXPERIMENTAL LDAP MISC PROXY SSL SUEXEC THREADS To see all available knobs, type make show-options To see all modules in different categories, type make show-categories You can check your modules configuration by using make show-modules Cheers, Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mod_proxy missing under freebsd
npy wrote: Hi, I need to get mod_proxy running under apache and can't seem to find the ports. Anyone knows where mod_proxy is located? Thanks. Built in? [EMAIL PROTECTED]/usr/ports/www/] httpd -v Server version: Apache/1.3.36 (Unix) Server built: May 29 2006 21:43:28 [EMAIL PROTECTED]/usr/ports/www/] ll ../IN*6* -rw-r--r-- 1 root wheel 8384144 May 28 14:13 ../INDEX-6 -rw--- 1 root wheel790763 May 28 02:09 ../INDEX-6.bz2 -rw-r--r-- 1 root wheel 16333824 May 29 09:05 ../INDEX-6.db [EMAIL PROTECTED]/usr/ports/www/] grep proxy /usr/local/etc/apache/httpd.conf LoadModule proxy_module libexec/apache/libproxy.so AddModule mod_proxy.c # document that was negotiated on the basis of content. This asks proxy # enable the proxy server: #IfModule mod_proxy.c #Directory proxy:* #CacheRoot /usr/local/www/proxy # End of proxy directives. Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: mod_proxy missing under freebsd
In apache13 it comes preinstalled as default. May be same in apache22. look in httpd.config for mod statements to verify what is preinstalled. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of npy Sent: Tuesday, July 04, 2006 11:45 AM To: freebsd-questions@freebsd.org Subject: mod_proxy missing under freebsd Hi, I need to get mod_proxy running under apache and can't seem to find the ports. Anyone knows where mod_proxy is located? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with pkgdb
On 7/4/06, bsd [EMAIL PROTECTED] wrote: Hello, I have a problem with pkgdb that I am not able to solve on my own. root:newmail 10:26 /usr/ports/sysutils/portupgrade # pkgdb -fu --- Updating the pkgdb [Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ... uninitialized constant PkgDB::BDB: Cannot update the pkgdb!] So far I have tried to reinstall couple of ports (portupgrade), but that didn't solve anything. Thanks for your support. P.S . A solution was to use portmanager but I think I still need pkgdb - is that correct ?? i had a similar problem regarding portupgrade, it corrupted the pkgdb, what i did was rename pkgdb.db to pkgdb.orig then run: # pkgdb -fu and everything went normal again ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade ruby problem
On 7/3/06, bsd [EMAIL PROTECTED] wrote: Mmmh... I have followed your instructions and am still facing a problem : root 0:34 ~ # portversion -l [Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ... [Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ... uninitialized constant PkgDB::BDB: Cannot update the pkgdb!] Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ I can not rebuild the database using pkgdb -fu root 0:37 ~ # pkgdb -fu --- Updating the pkgdb [Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ... uninitialized constant PkgDB::BDB: Cannot update the pkgdb!] ?? Any idea. What worked for me: rm /var/db/pkg/pkgdb.db pkgdb -Ffu I also had to run portsdb -fu (or maybe it was -fuU, which takes a painfully long time) I hope this helps. -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
snort and mysql connection at start troubles
Hi list I am installing SNORT 2.4.5 to log into a MySQL-5.1 database. snort logs are being stored fine into the db, but whe the system start snort fails because of this: snort[396]: FATAL ERROR: database: mysql_error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) this is the configuration line in the snort.conf file output database: log, mysql, user=snortids password=PswIdS dbname=snort host=localhost when I changed the 'localhost' name to 127.0.0.1 I got the following error snort[401]: FATAL ERROR: database: mysql_error: Can't connect to MySQL server on '127.0.0.1' (61) All of this happens at start time. After system started I start snort manually and connect to mysql just fine. It seems that snort start earlier than mysql. I want to start mysql earlier than snort but I don´t know how. Can some body help me? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Installation on private network
I have a freebsd system which is on a private network, there is no path to the internet. I am looking for methods to update the system to a new version level under these situations. Is there someway to synchronize the sources by burning a CD, without being able to employ CVSsup or similar? I see how to bring ports over manually and how to do simple kernal option changes, my question is in regard to going from O/S version 6.0 to 6.1 or 6.1 to 6.1 stable . Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: snort and mysql connection at start troubles
César Amaya wrote: Hi list I am installing SNORT 2.4.5 to log into a MySQL-5.1 database. snort logs are being stored fine into the db, but whe the system start snort fails because of this: snort[396]: FATAL ERROR: database: mysql_error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) this is the configuration line in the snort.conf file output database: log, mysql, user=snortids password=PswIdS dbname=snort host=localhost when I changed the 'localhost' name to 127.0.0.1 I got the following error snort[401]: FATAL ERROR: database: mysql_error: Can't connect to MySQL server on '127.0.0.1' (61) All of this happens at start time. After system started I start snort manually and connect to mysql just fine. It seems that snort start earlier than mysql. I want to start mysql earlier than snort but I don´t know how. Can some body help me? I think you should take a look at rcorder(8). Kevin Kinsey -- Think honk if you're a telepath. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installation on private network
Raymond Owens [EMAIL PROTECTED] wrote: I have a freebsd system which is on a private network, there is no path to the internet. I am looking for methods to update the system to a new version level under these situations. Is there someway to synchronize the sources by burning a CD, without being able to employ CVSsup or similar? I see how to bring ports over manually and how to do simple kernal option changes, my question is in regard to going from O/S version 6.0 to 6.1 or 6.1 to 6.1 stable . Thanks. You have a number of choices: 1) You can burn your own distro CD and upgrade. There are a number of HOWTOs floating around the internet, and it seems as if the process is getting simpler with each new release. 2) You could burn a copy of the /usr/src that matches the version you want to upgrade to and then copy it from CD to the local machine and do the make build|install process. 3) We run our own cvsup server at the office. Many servers do not have a path to the Internet, but they can access our local cvsup server to do updates. The cvsup server (obviously) needs access to the Internet. The cvsup-mirror port makes this particularly easy to set up. Hope this helps. -- Bill Moran There's more'n seventy little earth's spinning about the galaxy, and the meek have inherited not a one. Malcom Reynolds ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installation on private network
On Tuesday 04 July 2006 19:58, Raymond Owens wrote: I have a freebsd system which is on a private network, there is no path to the internet. I am looking for methods to update the system to a new version level under these situations. Is there someway to synchronize the sources by burning a CD, without being able to employ CVSsup or similar? I see how to bring ports over manually and how to do simple kernal option changes, my question is in regard to going from O/S version 6.0 to 6.1 or 6.1 to 6.1 stable . Thanks. You must use one of methods described here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html extract: The primary services we offer are Anonymous CVS, CVSup, and CTM. Once you have the source, you can use any medium* available to get it to the system in question. So, you can update world without internet access. *) that is any medium providing unix file system characteristics, that is rock ridge and iso9660, raw tar and friends, tar and friends on iso9660, a file-backed UFS on iso9660 and others. But, you have to create the CD with a Unix-like OS. Also, from time to time snapshots of stable become available in CD images. HTH, Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
freebsd help
Hi! I have c:/ (no partition) with Windows sistem, d:/ partition - NTFS and unformated partition for second sistem - FreeBSD. When I put instalation CD and boot computer from cd freebsd I get error masage BTX HALTED. Before this is all ok. Cant i have two sistems Window and FreeBSD? Thank you Goran Sabo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installation on private network
On Tuesday 04 July 2006 21:03, Nikos Vassiliadis wrote: *) that is any medium providing unix file system characteristics No, that's not true. There are only plain files and directories in /usr/src. There are no soft links, as I was expecting. So you can use any filesystem. Any filesystems that supports files and directories, that's easy to find :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: find syntax
--- Olivier Nicole [EMAIL PROTECTED] wrote: #find /dir/to/htmlfile -name *.html -exec perl -p -i -e s/nagual.st/nagual.nl/g; {} \; You should escape the * that you pass to find: -name \*.html Or -name *.html __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: snort and mysql connection at start troubles
Kevin Kinsey wrote: César Amaya wrote: Hi list I am installing SNORT 2.4.5 to log into a MySQL-5.1 database. snort logs are being stored fine into the db, but whe the system start snort fails because of this: snort[396]: FATAL ERROR: database: mysql_error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) this is the configuration line in the snort.conf file output database: log, mysql, user=snortids password=PswIdS dbname=snort host=localhost when I changed the 'localhost' name to 127.0.0.1 I got the following error snort[401]: FATAL ERROR: database: mysql_error: Can't connect to MySQL server on '127.0.0.1' (61) All of this happens at start time. After system started I start snort manually and connect to mysql just fine. It seems that snort start earlier than mysql. I want to start mysql earlier than snort but I don´t know how. Can some body help me? I think you should take a look at rcorder(8). Kevin Kinsey I got mysql-server to start before snort proxy# rcorder /etc/rc.d/* /usr/local/etc/rc.d/* /usr/local/etc/rc.d/apache22.sh /etc/rc.d/DAEMON /etc/rc.d/LOGIN /usr/local/etc/rc.d/mysql-server /usr/local/etc/rc.d/snort /etc/rc.d/ypxfrd even though, I still have the same problem snort[471]: FATAL ERROR: database: mysql_error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) Any thought? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installation on private network
The simplest way is to take the ISO of the release you want to load and install as an upgrade. You will need to remove or move /usr/src first as an upgrade won't overwrite it if it is found. -Derek At 11:58 AM 7/4/2006, Raymond Owens wrote: I have a freebsd system which is on a private network, there is no path to the internet. I am looking for methods to update the system to a new version level under these situations. Is there someway to synchronize the sources by burning a CD, without being able to employ CVSsup or similar? I see how to bring ports over manually and how to do simple kernal option changes, my question is in regard to going from O/S version 6.0 to 6.1 or 6.1 to 6.1 stable . Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups 1.2 - no output
Rainer Heesen wrote: [EMAIL PROTECTED] ~# echo test /dev/ulpt0 bash: /dev/ulpt0: Device busy so I think it is not a cups problem, but what kind of program make the usb device busy? It can't be any other program if fstat is not reporting anything. I've been reading on the usb printer standard, and the ulpt code. I found that it will return 'device busy' (EBUSY) in one more condition other than that it is in use by another program. It will first do a soft reset on the printer, telling it to forget everything about previous request and/or errors. Then it'll wait for the printer to set it's state to Selected (ie. online). If the printer doesn't set its state to online FreeBSD will return EBUSY (device busy). You can try running your kernel in verbose mode ('boot -v' from the loader), and if this is the case you'll see series of messages on the console like: ulpt_open: waiting a while ... To get your printer working again, maybe you can unplug, powercycle (ie. hard reset) your printer. And then try /dev/unlpt0. (No reset) 'echo test /dev/unlpt0' is an effective test. Maybe your printer sets the online bit correctly if it doesn't receive the reset. And otherwise if you can confirm that the printer is not online, then maybe you can manually tell it to get online or power up. (By pushing an eventual 'power up'/'online' button on the printer itself) signature.asc Description: OpenPGP digital signature
Re: KDE Text to Speech
On Tuesday 04 July 2006 17:12, Gerard Seibert wrote: System Info: FreeBSD seibercom.net 6.1-STABLE FreeBSD 6.1-STABLE #0: Sat May 13 19:46:07 EDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SEIBERCOM i386 I am not sure if this is the proper forum for this question or not, but I might as well start here. I am trying to get the KDE text to speech to work. I installed the 'festival' port and the 'festvox-aec' port. Everything seems to be OK, but no sound is emitted. The sound works fine on everything else. There are no error messages displayed so I do not know where to look to get this working. You probably need to install voices, these are ports that start with festvox-* and festlex-*. I've only played with it to the extend I had it read slashdot and such, nothing really serious, but I also found that it did nothing until I installed some synthesized voices. HTH, Dan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
About the PR stats plots
Hello, I have noticed that the PR plots in [1] seem to be wrong. Some of the graphs has negative values (take for instance a look at the plot of analyzed reports in the last 30 days). Moreover, the graphs are different of those shown in [2]. Taking a look at the Project Lifetime plot, it seems that it is calculating the stats wrong since the year 2004 onwards (I mean since the year 2004 in the plot; I do not intend to say the scripts are broken since a couple of years ago). I don't know if I should send this question to this list of to the bugbusters one. BR, Israel Herraiz [1] http://www.freebsd.org/prstats/index.html [2] http://people.freebsd.org/~bsd/prstats/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KDE Text to Speech
On Tuesday 04 July 2006 17:48, Danny Pansters wrote: On Tuesday 04 July 2006 17:12, Gerard Seibert wrote: System Info: FreeBSD seibercom.net 6.1-STABLE FreeBSD 6.1-STABLE #0: Sat May 13 19:46:07 EDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SEIBERCOM i386 I am not sure if this is the proper forum for this question or not, but I might as well start here. I am trying to get the KDE text to speech to work. I installed the 'festival' port and the 'festvox-aec' port. Everything seems to be OK, but no sound is emitted. The sound works fine on everything else. There are no error messages displayed so I do not know where to look to get this working. You probably need to install voices, these are ports that start with festvox-* and festlex-*. I've only played with it to the extend I had it read slashdot and such, nothing really serious, but I also found that it did nothing until I installed some synthesized voices. I installed one from the 'festvox-*' ports originally.. I will investigate the 'festlex-*' offerings now. -- Gerard Seibert [EMAIL PROTECTED] Clothes make the man. Naked people have little or no influence on society. Mark Twain pgpbzsADt5jmG.pgp Description: PGP signature
how to enable mod_ssl in apache 2.2
hi guys, how do i enable mod_ssl in apache 2.2 in my freebsd 6.1 box so that it listens to port 443 instead of the default port 80? is there a special command like the a2enmod ssl in debian? TIA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: find syntax
On Tue, 4 Jul 2006 15:10:05 -0400 (EDT) Peter [EMAIL PROTECTED] wrote: --- Olivier Nicole [EMAIL PROTECTED] wrote: #find /dir/to/htmlfile -name *.html -exec perl -p -i -e s/nagual.st/nagual.nl/g; {} \; You should escape the * that you pass to find: -name \*.html Or -name *.html Yes, yes, they both work ;-) The files are changed and it went very fast. Thank you for your suggestions. And I have written down this change-files-rule into my notebook. It is powerful! -- dick -- http://nagual.nl/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 6.1 ++ The Power to Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports doubt, check network performance...?
On 7/4/06, Nikos Vassiliadis [EMAIL PROTECTED] wrote: On Tuesday 04 July 2006 03:49, perikillo wrote: Hi people. I have some problems on my network, and i want to use my freebsd box to see if i can find the problems on my network, we have two networks in two countrys connected by a private link, but i have seen just a couple a weeks ago that we have some problems between both links, we are lossing packets if i ping some server on the other link, some times i get 36% of packets loss, is to but to much on bussines hours. 36% packet loss is very high, it will almost make TCP unusable. ping is your tool. Use -s 500 to 1500 to simulate some-how real traffic situation. I guess you have a point-to-point link between the two offices, connected to a router? Do you administer these routers? Do know your bandwidth utilization? Are you sure your link is OK? check this with your service provider. Either you link is bad or you use all your available bandwidth. I want to use my freebsd box running 6.0 but just want to know if some one could recomend me wich ports to check to see if i can find wich device is causing this problem. FreeBSD can not help you much with this. Unless FreeBSD is the router in question. Or you could pass all traffic from a FreeBSD box in order to know what's going on. something like this central-switch--FBSD--router-1=router-2 [LAN] [-WAN-] No i dont administer those routers, i need to check if the problem is our network or the ISP link, and yes is Point To Point link and talk with the guys that setup that router, but im thinking in put a freebsd box between our lan and the router and sniff all the traffic and see whats is happening but wich port to use...?, thanks all for your help. Ethereal is for read packets but can he check wich one device is causing problems..? Greetings. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to enable mod_ssl in apache 2.2
On Tuesday 04 July 2006 18:11, jan gestre wrote: hi guys, how do i enable mod_ssl in apache 2.2 in my freebsd 6.1 box so that it listens to port 443 instead of the default port 80? is there a special command like the a2enmod ssl in debian? I think you just change the 'Listen' directive in the httpd.conf file. -- Gerard Seibert [EMAIL PROTECTED] In fiction the recourse of the powerless is murder; in life the recourse of the powerless is petty theft. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KDE not in 6-stable anymore
I believe that 3.5.1_1 has been restored, at least to ftp[24].freebsd.org. I installed 3.5.2 in mid June. I got caught upgrading a workstation so I am doing a build which I am 48 hours into :) I am not sure why 3.5.2 was removed; ; I had assumed it was to upload 3.5.3 which has been released. I started my build about 12 hours before 3.5.1_1 reappreared, now I am sorta curious how long it will take :) On Tue, 4 Jul 2006, Rico Secada wrote: Hi I have noticed that KDE 3.5.2 has been removed from packages-6-stable. Why is that? Best and kind regards, Rico. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
HP Officejet Printer
I'm running FBSD 6.1 release and just got a new printer for my birthday, it's an HP Officejet 4315 all-in-one, I used to have an old HP Deskjet 842c and worked fine using apsfilter but I can't make this one print, I don't see any drivers for it using apsfilter either, is there a way to make this thing work? EJC www.only7bucks.com - Abra sua conta no Yahoo! Mail - 1GB de espaço, alertas de e-mail no celular e anti-spam realmente eficaz. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP Officejet Printer
On Tuesday 04 July 2006 20:35, E. J. Cerejo wrote: I'm running FBSD 6.1 release and just got a new printer for my birthday, it's an HP Officejet 4315 all-in-one, I used to have an old HP Deskjet 842c and worked fine using apsfilter but I can't make this one print, I don't see any drivers for it using apsfilter either, is there a way to make this thing work? print/hplip -- Anish Mistry [EMAIL PROTECTED] AM Productions http://am-productions.biz/ pgpx9nylaEWFW.pgp Description: PGP signature
Re: snort and mysql connection at start troubles
César Amaya wrote: Kevin Kinsey wrote: César Amaya wrote: Hi list I am installing SNORT 2.4.5 to log into a MySQL-5.1 database. snort logs are being stored fine into the db, but whe the system start snort fails because of this: snort[396]: FATAL ERROR: database: mysql_error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) this is the configuration line in the snort.conf file output database: log, mysql, user=snortids password=PswIdS dbname=snort host=localhost when I changed the 'localhost' name to 127.0.0.1 I got the following error snort[401]: FATAL ERROR: database: mysql_error: Can't connect to MySQL server on '127.0.0.1' (61) All of this happens at start time. After system started I start snort manually and connect to mysql just fine. It seems that snort start earlier than mysql. I want to start mysql earlier than snort but I don´t know how. Can some body help me? I think you should take a look at rcorder(8). Kevin Kinsey I got mysql-server to start before snort proxy# rcorder /etc/rc.d/* /usr/local/etc/rc.d/* /usr/local/etc/rc.d/apache22.sh /etc/rc.d/DAEMON /etc/rc.d/LOGIN /usr/local/etc/rc.d/mysql-server /usr/local/etc/rc.d/snort /etc/rc.d/ypxfrd even though, I still have the same problem snort[471]: FATAL ERROR: database: mysql_error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) Any thought? I found out where the problem is. Like I said before, the thing is that mysql must start prior to snort, but mysql have no enough time to completely start. So I told this to my boss and then he told me to put a delay into the snort start file, and I did so. I added the command /sleep 60 /in the first line of the snort start file and it worked just fine. best regards! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP Officejet Printer
On Tuesday 04 July 2006 20:53, E. J. Cerejo wrote: Anish Mistry [EMAIL PROTECTED] escreveu: On Tuesday 04 July 2006 20:35, E. J. Cerejo wrote: I'm running FBSD 6.1 release and just got a new printer for my birthday, it's an HP Officejet 4315 all-in-one, I used to have an old HP Deskjet 842c and worked fine using apsfilter but I can't make this one print, I don't see any drivers for it using apsfilter either, is there a way to make this thing work? print/hplip Installing it is easy but how do I have to do to make it work, what files I have to configure? Does it work using apsfilter? I missed the apsfilter part. It uses cups. You need to have the printer attach as a ugen device, make the changes to devfs.rules in the pkg-message and add the necessary lines to rc.conf to start it all. -- Anish Mistry [EMAIL PROTECTED] AM Productions http://am-productions.biz/ pgpgifTyWWjHY.pgp Description: PGP signature
Re: mod_proxy missing under freebsd
Hi guys, Thanks for the pointer. Got it working now. The steps are: cd /usr/ports/www/apache22 export WITH_PROXY_MODULES=1 make install Thanks! Erik Norgaard wrote: npy wrote: I need to get mod_proxy running under apache and can't seem to find the ports. Anyone knows where mod_proxy is located? Which version of apache? For apache 2.2 check Makefile.doc: To enable a module category: WITH_CATEGORY_MODULES To disable a module category: WITHOUT_CATEGORY_MODULES Per default categories are: AUTH AUTHN AUTHZ DAV CACHE MISC Categories available: AUTH AUTHN AUTHZ CACHE DAV EXPERIMENTAL LDAP MISC PROXY SSL SUEXEC THREADS To see all available knobs, type make show-options To see all modules in different categories, type make show-categories You can check your modules configuration by using make show-modules Cheers, Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]