Re: Bind as a chaching nameserver
Hello, I've recently been getting a lot of trouble with SpamAssassin performing a lot of rDNS lookups which is causing network issues (timeouts etc to DNS servers). I am trying to install BIND (or djbdns) as a simple caching nameserver. Just to take some of the load off the networks DNS servers (my ISPs). However I am having trouble finding a good tutorial to follow. I've looked at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html but its mainly going on about being a nameserver which is not what I am after, wanting to keep it more simple than that. [EMAIL PROTECTED]:/usr/local/etc] $ named -v BIND 9.3.1 Can anyone suggest me a good tutorial to follow, I've googled but mostly they are for debain/redhat and some of the commands and files are different. Cheers Richard Richard, What you need is a caching DNS. See para 25.6.7. If you don't use forwarders this will bypass your ISPs DNS. There are other solutions too, try Google for them. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: account maintenance and verification ( Your account is suspended )
On Apr 25, 2006, at 7:04 PM, [EMAIL PROTECTED] wrote: WHY does this mailing list allow non-subscribed addresses to post ?!?!?!?!? At 08:38 PM 4/25/2006, Some Low Life Spammer / Scammer wrote: PayPal Security Measures! In accordance with PayPal's User Agreement and to ensure that your Worse yet, this is phishing e-mail, I.E. FRAUDULENT I have been getting this sort of stuff on a regular basis. I copied an e-mail and it's raw source and sent it to the real PayPal site to report it and when I finished a phony modal dialog message came up stating server requires authentication. Great if I fell for it some one would have access to my e-mail account. I dismissed the dialog and nothing happened, my e-mail went through without problems. I have no idea how this is done. But someone must be tapping traffic to the Pay Pal site and slipping in the code to produce this dialog. I agree this shouldn't be showing up 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [PHP] Amazon WSDL
John Meyer wrote: Nice, now I need to navigate the bloody Amazon web services. Is it just me, or does it look like, just by browsing Amazon itself, you have to use Alexis to do web queries. Specifically, I'm trying to find out how to query using an ISDN. Surely you mean ISBN? As in book ID, or are we talking about internet connections? Cheers Richard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bind as a chaching nameserver
Richard just set the forwarders to another nameserver in the named.conf and that's it.. this will speed up SA massively. -- martin On 4/25/06, Richard Collyer [EMAIL PROTECTED] wrote: Hello, I've recently been getting a lot of trouble with SpamAssassin performing a lot of rDNS lookups which is causing network issues (timeouts etc to DNS servers). I am trying to install BIND (or djbdns) as a simple caching nameserver. Just to take some of the load off the networks DNS servers (my ISPs). However I am having trouble finding a good tutorial to follow. I've looked at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html but its mainly going on about being a nameserver which is not what I am after, wanting to keep it more simple than that. [EMAIL PROTECTED]:/usr/local/etc] $ named -v BIND 9.3.1 Can anyone suggest me a good tutorial to follow, I've googled but mostly they are for debain/redhat and some of the commands and files are different. Cheers Richard ___ 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: Purchasing the correct hardware: dual-core intel? Big cache?
Bill start with looking the DB design - I;ve had batch runs go from 5 days down to 1/2 day purely by tuning the SQL. I'm not kidding, all the DB tuning quides say look at the SQL/design first, then look at hardware like disk/data layout, then finally the CPU. There's lots of info about tuning on Postgress, use this, you'll get more out of the app this way than spending money chucking hardware at it. -- martin On 4/25/06, Bill Moran [EMAIL PROTECTED] wrote: On Tue, 25 Apr 2006 13:28:50 +0100 Martin Hepworth [EMAIL PROTECTED] wrote: Bill if the database is CPU dependant I'd look at tuning the queries/indexes and that stuff...it really shouldn't be CPU bound. That's in progress, and it's going to be an ongoing process as the application goes through versions. Fact is, with 4G of RAM most of the data sits in RAM, so reads incur no or little IO. With high-end SCSI disks in RAID-10 and a battery- backed cache, burst writes are cached, thus lightening fast, and we've been unable to run the application hard enough to saturate the SCSI bus so far. So ... the current bottleneck is CPU. -- martin On 4/24/06, Bill Moran [EMAIL PROTECTED] wrote: On Mon, 24 Apr 2006 23:03:59 +0100 Martin Hepworth [EMAIL PROTECTED] wrote: Bill depends on the application itself, but more RAM and the disk layout (RAID) will be more important than the CPU. Also depends on how write-heavy the apps are... Thanks for the feedback, Martin. I'm fully aware of the app-dependency - what I'm looking for is a way to test the application. I've got 3 different clusters available for testing, but I'm not sure how to tell if the cache is getting used heavily or not. I've already determined that the database server is CPU-bound under our test load. With high-speed SCSI disks and battery-backed RAID, there's not enough IO to stress the disk subsystem. RAM is almost a non-issue. With the machine stressed at full load, it's only using 1/8 of the available RAM. So, my current bottleneck is CPU power. And the boss has asked me for the best way to overcome this bottleneck. We're looking at either the same CPUs we already have, but with _huge_ caches (8m) - or going with more CPUs by getting true dual-core pentiums. The question this all pivots on is will 8M of cache be a significant improvement? If not, then we're going with the dual-core CPUs. What I'd like is some way to take an existing system and determine how often the cache is getting invalidated, so I can make some guesstemate as to whether more cache will help or not. -- martin On 4/24/06, Bill Moran [EMAIL PROTECTED] wrote: I've been asked to make some hardware recommendations, I'm hoping some folks on the list can make some suggestions. We're looking hard at getting either Intel dual-core procs, or getting hyperthreaded procs with huge (8M) caches. We currently have a few dual proc Intel HT machines that we can test out our workload on, and I'm trying to get a feel for how to determine if a larger cache size will generate better performance than replacing HT procs with full-blown dual-core procs. We're looking at the 6850 from Dell, which supports both processor families: http://www1.us.dell.com/content/products/productdetails.aspx/pedge_6850?c=uscs=555l=ens=biz The goal for these machines is to serve out PosgreSQL databases to as many Apache+php front ends as we can hang off each one. So we're trying to purchase hardware that will create a DB server that can handle a lot of web server front ends. I have a Dell 2850 (dual HT procs) here that I can use for testing. I'm a little fuzzy on determining how well the cache is working, so I'm stuck on whether or not the 8M cache that's available on the HT units is worth the money or not. Can anyone suggest a testing methodology that will isolate this particular aspect? -- Bill Moran Collaborative Fusion Inc. ___ 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] * This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses.
Re: How to re-compile gcc?
On Wed, Apr 26, 2006 at 01:13:27PM +0800, snnn wrote: There is no Makefile under /usr/src/contrib/gcc. Look under /usr/src/gnu/usr.bin/cc/ -- Insert your favourite quote here. Erik Trulsson [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: Horrible: Apache corrupting files?
On 4/26/06, Ben Paley [EMAIL PROTECTED] wrote: On Tuesday 25 April 2006 17:19, Dominique Goncalves wrote: What version of apache are you using? apache-2.0.55_4 I've already see corruption file when I was tried to share xml podcast between my FreeBSD 6.1 and Sony PSP, with Apache 2.2.0 $ ls -l test.xml -r--r--r-- 1 dom dom 5725 Mar 11 17:47 test.xml before download $ md5 test.xml MD5 (test.xml) = 25ed4336e8906e64bd05ebea990d29a0 after download $ md5 test.xml MD5 (test.xml) = ef0918bc4f7aa323eb6c41768092488e And after each access the MD5sum change ... This sounds exactly like what is happening to me. Does it happen to every file, or just a few? Or just one? Just podcast xml file for the moment. If the problem is Apache, though, it doesn't explain the other problems I've been having, like the corrupted ftp uploads. Perhaps they are unrelated? Or perhaps Apache is not the problem? Or maybe I've been cursed for having an operating system of which the logo is a devil ;-) Try to ask directly on the freebsd-apache mailing list. OK, I'll try that too, thanks for the tip. Cheers, Ben -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Data on desktop music players
Which desktop music player seems to be the most popular for FreeBSD users? I'm looking for some data on desktop music players... which ones used by how many people, how many copies downloaded so far, etc... Any pointers greatly appreciated. Chandan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Perl: sort string alphabetically, or remove dupe chars?
On 4/25/06, Parv [EMAIL PROTECTED] wrote: in message [EMAIL PROTECTED], wrote Nikolas Britton thusly... This works... but it's clunky: my $string = letter; my @chars = split(, $string); $string = ; @chars = sort (@chars); foreach (@chars) { $string .= $_; } $string =~ tr///cs; print $string; You could combine some of the steps ... my $string = 'letter'; $string = join '' , sort split '', $string; $string =~ tr///cs; print $string; ... another but rather clunky version is ... my $string = 'letter'; { my %string; @string{ split '' , $string } = (); $string = join '' , sort keys %string; } print $string; Thanks parv... I meant the algorithm was clunky, not the code... I'm so new at this that I can't read your code, and I have a hard enough time reading mine own :-). I've got another simple problem now. How do I get this code to stop printing everything on a newline, I'm not using \n in my print statement so why does it do that and how do I get it to stop? @wordlist1 = `sed /^$sedstring1\\\$/\\!d enable2k_wordlist`; foreach (@wordlist1) { $string = $_; $string =~ s/[$solvedletters1]//g; my @chars = split(, $string); $string = ; @chars = sort (@chars); foreach (@chars) { $string .= $_; } $string =~ tr///cs; print $string; } Then I have to make a probabilty engine to count the frequency of the letters I get from the above code block. looking for something simple like this: http://www.amstat.org/publications/jse/secure/v7n2/count-char.cfm -- BSD Podcasts @ http://bsdtalk.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
OpenLDAP: ACL and binddn when dn contains non-ascii chars
Hi: I'm trying to build my address book, now since my own name contains non-ascii characters, my cn becomes cn:: RXJpayBOw7hyZ2FhcmQ= I wish to restrict access so that each person can edit his own details, but not search the entire directory, something like this should do: # Access Control: access to attrs=userPassword by self write by anonymous auth by * none access to * by self write by dn.base=cn=myname,ou=people,dc=domain,dc=tld read by * none But what do I put in place of cn=myname? 2nd: For now, I have, access to * by self write by users read by * none But, what do I set as binddn? I am using the address book with Thunderbird and I don't know if it is smart enough to convert iso chars to utf-8. Thanks, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F0C.crt Subject ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9 Fingerprint: 7F:80:96:EA:95:92:E2:23:1F:FA:0F:98:92:C2:CC:55:6B:9A:8C:92 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: When 5.5-stable?
On Wed, Apr 26, 2006 at 06:45:19AM +0100, Chris wrote: On 24/04/06, Gary Kline [EMAIL PROTECTED] wrote: About a week ago I finally upgraded my DNS server from 5.3-S to 5.5. I see that I still caught a -prerelease kernel. Any ETA of when 5.5 will be -stable? (Most of my other FBSD server can be not quite//less than stable. But if my DNS srver bites the dust, ) Also, is 5.5 the LAST of the 5's? thanks for some clues, gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix yeah I like to have STABLE tag this is the longest prerelease stage I have witnessed since I started using fbsd, I suspect 5.5 is delayed because of the 6.1 delay and all the dev's are working on 6.1 so 5.5 is just in limbo. Yes, this is basically it. Kris pgpyvMKHlNrXo.pgp Description: PGP signature
Re: IP Filter
Bradford Fisher wrote: Currently, I have FreeBSD 6.0 p7 running with the GENERIC kernel. In rc.conf, I have set the options: ipfilter_enable=YES, ipfilter_rules=/etc/ipf.rules, ipmon_enable=YES, ipmon_flags=-Ds . Looks ok, but you should be able to check that the rules are actually loaded. I then proceeded to configure /etc/ipf.rules as follows: # IP Filter Rules File # Block Garbage block in log quick from any to any with ipopts block in log quick proto tcp from any to any with short # System Loopback Interface pass in quick on lo0 all pass out quick on lo0 all # Outbound Traffic pass out on vr0 all head 100 block out from 127.0.0.0/8 to any group 100 block out from any to 127.0.0.0/8 group 100 block out from any to my.ip.address/32 group 100 # Inbound Traffic block in on vr0 from any to any head 200 block in from 127.0.0.0/8 to any group 200 block in from 192.168.254.50/32 to any group 200 pass in quick proto tcp from any to any port = www keep state group 200 pass in quick proto tcp from any to any port = pop3 keep state group 200 pass in quick proto tcp from any to any port = smtp keep state group 200 pass in quick proto tcp from any to any port = 22 keep state group 200 (have also added flags S/SA with no luck) block return-rst in log proto tcp from any to any flags S/SA group 200 block return-icmp(net-unr) in proto udp all group 200 Is this the _whole_ ruleset? 1st, when debugging: Add 'log' to all rules in particular block rules. 2nd, your rule for ssh should be: pass in quick proto tcp from any to any port = ssh flags S/SA \ keep state group 200 3rd, the rules block in from 127.0.0.0/8 to any group 200 block in from 192.168.254.50/32 to any group 200 Have no effect because there is no quick keyword: Packets will be blocked either by the head rule, or the last two in that group or passed by one of the pass rules. 4th, If you insert 'quick' in the head-rules, packets will be checked against the rules in that group and any subgroups. Otherwise the packet may go up the tree and be blocked by other rules. As I do not have a webserver installed and configured at the time nor a mailer daemon configured, I have not tested the www, pop3, or smtp rules yet, but I do use SSH frequently and have found that with the above ruleset enabled, I cannot get connected. The weird part is that when I open the SSH client, I get a prompt for my username, but after sending the username, my connection times out before receiving the second prompt for my password (this does not happen when I have IP Filter disabled). I believe that the line block in on vr0 from any to any head 200 is the culprit responsible for my troubles, but can't figure out why it would be a problem since I have specifically stated a pass statement for the SSH. You can also use snort to sniff on the interface while logging in, so you can see which packets are sent/received. I also realize that IP Filter is probably becoming a deprecated technology new solutions are coming into play (I'm mainly using IP Filter as a means to get my feet wet as I follow along with Lucas). However, it anyone has any suggestions as to what packet filtering technology to deploy and configure, I'm more than willing to take a look! Take a look at packet filter, for simple rule sets it is easy to migrate, you just can't use groups but have to order your rules carefully, and be sure to specify interface in all rules. Cheers, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F0C.crt Subject ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9 Fingerprint: 7F:80:96:EA:95:92:E2:23:1F:FA:0F:98:92:C2:CC:55:6B:9A:8C:92 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Horrible: Apache corrupting files?
On Tue, Apr 25, 2006 at 10:51:03PM +, Ben Paley wrote: before download $ md5 test.xml MD5 (test.xml) = 25ed4336e8906e64bd05ebea990d29a0 after download $ md5 test.xml MD5 (test.xml) = ef0918bc4f7aa323eb6c41768092488e And after each access the MD5sum change ... This sounds exactly like what is happening to me. Does it happen to every file, or just a few? Or just one? Please, check your RAM. I had similar problem with changing MD5 on PC with bad RAM. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Data on desktop music players
in message [EMAIL PROTECTED], wrote Chandan Haldar thusly... Which desktop music player seems to be the most popular for FreeBSD users? I'm looking for some data on desktop music players... which ones used by how many people, how many copies downloaded so far, etc... mplayer, xmms, splay, workman. - Parv -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bind as a chaching nameserver
On Wed, April 26, 2006 8:05 am, Martin Hepworth wrote: Richard just set the forwarders to another nameserver in the named.conf and that's it.. this will speed up SA massively. -- Yep I've set the named.conf up correctly but when I do ndc start it tells me that it is not found. I'll do some more digging. Cheers -- Richard Collyer [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: Bind as a chaching nameserver
On Wed, Apr 26, 2006 at 09:27:27AM +0100, Richard Collyer wrote: Yep I've set the named.conf up correctly but when I do ndc start it tells me that it is not found. With BIND 9.3.1, you'd probably want 'rndc', but even then, '/etc/rc.d/named start' would do it for you, if you have named_enable=YES in your /etc/rc.conf. -- Riemer PalstraAmsterdam, The Netherlands [EMAIL PROTECTED]http://www.palstra.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Solved: OpenLDAP: ACL and binddn when dn contains non-ascii chars
Erik Norgaard wrote: But what do I put in place of cn=myname? But, what do I set as binddn? I am using the address book with Thunderbird and I don't know if it is smart enough to convert iso chars to utf-8. Seems to have same answer, only that in slapd.conf myname must be written in utf-8 while thunderbird seems to convert correctly. Now I just gotta figure out the right access controls. Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F0C.crt Subject ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9 Fingerprint: 7F:80:96:EA:95:92:E2:23:1F:FA:0F:98:92:C2:CC:55:6B:9A:8C:92 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: When 5.5-stable?
Kris Kennaway wrote: yeah I like to have STABLE tag this is the longest prerelease stage I have witnessed since I started using fbsd, I suspect 5.5 is delayed because of the 6.1 delay and all the dev's are working on 6.1 so 5.5 is just in limbo. Yes, this is basically it. Kris Hello Could you tell us the reasons of the delay ? This is not a criticism of course :-) just to know. Thanks -- Regards Frank Bonnet ___ 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 verify speed of a 1Gb/s network?
Rob wrote: How can I verify that a 1Gb/s network is indeed operating at its optimal speed? I tried this: By transferring large amounts of data using a light-weight protocol (maybe FTP) and timing the amount of time it takes. Also various testing utilities, for instance ttcp. [master]$ ping -s 65507 node 65515 bytes from node: icmp_seq=0 ttl=64 time=1.97 ms 65515 bytes from node: icmp_seq=1 ttl=64 time=1.95 ms 65515 bytes from node: icmp_seq=2 ttl=64 time=1.94 ms 65515 bytes from node: icmp_seq=3 ttl=64 time=1.97 ms This is a measure of latency only. For instance, I can easily get 10ms pings on 512kbit/sec ADSL. It can only transfer data at ~60 KB/sec though. I can get these values on a very lightly loaded 100Mbit/sec network: [EMAIL PROTECTED] ping 10.0.0.5 PING 10.0.0.5 (10.0.0.5): 56 data bytes 64 bytes from 10.0.0.5: icmp_seq=0 ttl=128 time=0.844 ms 64 bytes from 10.0.0.5: icmp_seq=1 ttl=128 time=0.740 ms PS: I verified my calculation method for two computers here on a 100Mbit/s network, from which I get: time with ping: 12.4 ms ideal calculated time: 10 ms Sounds like your 100Mbit/s network is very heavily loaded, you would expect ~1ms pings. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Horrible: Apache corrupting files?
If the problem is Apache, though, it doesn't explain the other problems I've been having, like the corrupted ftp uploads. Perhaps they are unrelated? Or perhaps Apache is not the problem? I recommend checking your hardware. I had a similar problem with huge files, although unrelated to Apache. Files bigger than ~2GB would *seem* to be corrupted. I suspect its the hard disk drive, because lowering the ATA bus speed (atacontrol mode ad0 UDMA33) made this problem go away (the drive is a SAMSUNG SP1614N TM100-24). This problem occurred with different motherboard chipsets and different versions of FreeBSD (5-stable, 6-PRERELEASE), so I really think it is the hard disk drive. Bye, Thomas Cheers, Ben ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Horrible: Apache corrupting files?
On Wednesday 26 April 2006 09:46, Thomas Ludwig wrote: If the problem is Apache, though, it doesn't explain the other problems I've been having, like the corrupted ftp uploads. Perhaps they are unrelated? Or perhaps Apache is not the problem? I recommend checking your hardware. I had a similar problem with huge files, although unrelated to Apache. Files bigger than ~2GB would *seem* to be corrupted. I suspect its the hard disk drive, because lowering the ATA bus speed (atacontrol mode ad0 UDMA33) made this problem go away (the drive is a SAMSUNG SP1614N TM100-24). This problem occurred with different motherboard chipsets and different versions of FreeBSD (5-stable, 6-PRERELEASE), so I really think it is the hard disk drive. Thanks very much. In my case the files involved are very small, and it seems to be only one file at the moment, so I am hold out the hope that you're wrong - but I'll certainly check in case you're right. Could anyone give me a hint as to how to get started checking the hardware? It's a Dell Inspiron 6000 laptop. I really don't have the foggiest idea what to look for or what to check - I've never had any problems with it before. Cheers, Ben ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Horrible: Apache corrupting files?
On Wed, 26 Apr 2006 10:08:58 + Ben Paley [EMAIL PROTECTED] wrote: Could anyone give me a hint as to how to get started checking the hardware? It's a Dell Inspiron 6000 laptop. I really don't have the foggiest idea what to look for or what to check - I've never had any problems with it before. You might want to have a gander at Memtest86 (http://www.memtest86.com/, /usr/ports/sysutils/memtest86) for memory testing, I reckon this should be your first port of call. Cheers, Ben Good luck! -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem installing FreeBSD 6.0
Hello, I'm trying to install FreeBSD 6.0 on a regular x86 PC. I'm using the official install disk. It tells me that there are no CD/DVD drives are detected. I have a Pioneer DVD writer (DVR-110D). That has ATAPI interface and I booted the installer from it... I also tried to install the system using a passive ftp connection. It start downloading the base distribution, and I get messages like: pid 125 (cpio), uid 0 inumber 514 on /: out of inodes Unfortunately, I cannot run any commands on the emergency terminal because there are no commands to execute at all. Can you help me please? Laci ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem installing FreeBSD 6.0
On Wed, 26 Apr 2006 10:34:44 -, User Gandalf [EMAIL PROTECTED] wrote: Hello, I'm trying to install FreeBSD 6.0 on a regular x86 PC. I'm using the official install disk. It tells me that there are no CD/DVD drives are detected. I have a Pioneer DVD writer (DVR-110D). That has ATAPI interface and I booted the installer from it... I also tried to install the system using a passive ftp connection. It start downloading the base distribution, and I get messages like: pid 125 (cpio), uid 0 inumber 514 on /: out of inodes Unfortunately, I cannot run any commands on the emergency terminal because there are no commands to execute at all. Can you help me please? Did you do a custom newfs? What's you partition layout? What did you install (only the bare base? or also additional distributions/packages) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Security Run Output
The daily security email to root all ways lists a count of blocked packets if you have one of the three firewall activated. So what you are seeing is informational and nothing to be concerned about unless you did not active the ipfilter firewall. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bryan Curl Sent: Tuesday, April 25, 2006 6:18 PM To: freebsd-questions Subject: Security Run Output I get this or similar message in my Security Run Output every day. Is it something to be concerned with? lnut.bc.net ipf denied packets: +++ /tmp/security.FsPOiq0v Fri Apr 21 03:03:51 2006 +1 @4 block out log first quick on dc0 all +47571 @14 block in log first quick on dc0 all -- -- Bryan bc3910 'at' gmail 'dot' com ___ 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 installing FreeBSD 6.0
Did you do a custom newfs? No. What's you partition layout? First slice is a Windows NTFS, 45GB Then I have a 35GB slice for FreeBSD (type 165). Inside that slice, I used automatic partitioning. What did you install (only the bare base? or also additional distributions/packages) I selected the 'All binaries and doc but no games, kernel sources only' option. But the problem occurs while it displays: extracting base into / so probably it has nothing to do with the selected distros/packages. Laci ___ 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 verify speed of a 1Gb/s network?
On 4/26/06, Rob [EMAIL PROTECTED] wrote: Hi, How can I verify that a 1Gb/s network is indeed operating at its optimal speed? I tried this: [master]$ ping -s 65507 node 65515 bytes from node: icmp_seq=0 ttl=64 time=1.97 ms 65515 bytes from node: icmp_seq=1 ttl=64 time=1.95 ms 65515 bytes from node: icmp_seq=2 ttl=64 time=1.94 ms 65515 bytes from node: icmp_seq=3 ttl=64 time=1.97 ms (I tried many times, over a long period of time to get these typical values). From this I conclude that it takes about 1.95 ms for 65515 x 8 bits to go forth and back between master and node. Ideally, on a 1Gbit/s network, the time should be: 65515 x 8 x 2 / (10243) = 0.98 ms (x 2 for the roundtrip signal forth and back and 10243 is the 1G of the network) Nopes. There's a number of 10Gig+ lines where you can't get less than 100ms, damn the light speed :-) ICMP echo service is pretty much always the lowest priority of any host. I get 2000ms+ rtt from cheap d-link devices on a gigabit network. I get 500ms+ from $10k cisco switches on any networks. Use iperf or other such tools for real testing. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
help
Hi guys: I tried to use kldload to load our HBA driver. But the driver's pci probe function can not find the HBA card! Does it mean that kldload can not trigger pci bus rescan? If so, what should I do for triggering pci bus rescan after loading our pci driver? Thank you for your help! Hong ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bind as a chaching nameserver
Richard Collyer wrote: Hello, I've recently been getting a lot of trouble with SpamAssassin performing a lot of rDNS lookups which is causing network issues (timeouts etc to DNS servers). I am trying to install BIND (or djbdns) as a simple caching nameserver. Just to take some of the load off the networks DNS servers (my ISPs). However I am having trouble finding a good tutorial to follow. I've looked at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html but its mainly going on about being a nameserver which is not what I am after, wanting to keep it more simple than that. [EMAIL PROTECTED]:/usr/local/etc] $ named -v BIND 9.3.1 Can anyone suggest me a good tutorial to follow, I've googled but mostly they are for debain/redhat and some of the commands and files are different. DJB's instructions for running a cache on a workstation is the simplest set of instructions I know of. I've used them for years with great success o all my servers. Good for web and mail servers as well SA. http://cr.yp.to/djbdns/run-cache.html I also recommend the SpamAssassin Wiki. Look under the heading Performance Tips:. http://wiki.apache.org/spamassassin/UsingSpamAssassin DAve -- This message was checked by forty monkeys and found to not contain any SPAM whatsoever. Your monkeys may vary ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cloning boot drive - more details
[EMAIL PROTECTED] writes: My system partitions (/, swap, /usr, /var, /home) are currently spread onto a 10GB and a 20GB IDE drive, but I'd like to save space by consolidating these along with some (not heavily accessed) data partitions into a larger 250GB disk. The other drives (at this point a couple of SATA in RAID0) should be unaffected. I'm a relative newbie and although I've read the handbook and the past months' threads regarding cloning, I still have a few questions. 1) Am I correct in understanding that I can simply connect the new drive to a spare IDE controller and boot from the old disk, using sysinstall to make the new partitions and give them temporary mount points (choosing yes to install bootmanager), then dump | restore to move each FS, and simply take out the old drives and switch over to the new one? Will this boot and run seamlessly? At what point should I edit the old /etc/fstab that was copied over? If I *can* do this, then what are the benefits of doing a fresh install on the new drive first? 2) If I dump | restore from a *running* system, will the resulting clone be confused when it's booted up? Are any crucial changes or balancing acts made upon shutdown that the new drive will miss? Or, is its main purpose fulfilled when it's loaded into memory on boot? 3) The handbook also recommends using boot0config, but how necessary is this if I just plan on simply replacing the original drive? 4) How are the prospects of data recovery affected by FreeBSD's use of slices for filesystems on top of partitions? Experience tells me that with traditional partitions, a corrupted file tree or data in one area needn't prevent retreival of the other areas. Is this so with slices as well? I suspect that a slice *is* what you mean by a traditional partition. Either way, yes, problems on one shouldn't affect another. For the rest of your questions, start with the FAQ entry on How do I move my system over to my huge new disk?. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: GDM sessions....
On Mon, 24 Apr 2006 09:13:02 -0500 Eric Schuele [EMAIL PROTECTED] wrote: Yeah... that's why I started out with XDM. However, after some time, and loading apps I was interested in, I turned around and noticed I was only missing two GDM dependencies anyway... so I figured a little eye candy can't hurt. i'll be d... I just checked, andi think i have 1 or 2 packages missing...none of the big gnome ones (i already have those!)... i think it's back to gdm then :D... though I do seem to remember some kind of issue with sessions ;) thanks for the info :) B ___ 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 verify speed of a 1Gb/s network?
On Tuesday 25 April 2006 23:17, Chad Leigh -- Shire.Net LLC wrote: On Apr 25, 2006, at 9:16 PM, Rob wrote: Hi, How can I verify that a 1Gb/s network is indeed operating at its optimal speed? I tried this: [master]$ ping -s 65507 node 65515 bytes from node: icmp_seq=0 ttl=64 time=1.97 ms 65515 bytes from node: icmp_seq=1 ttl=64 time=1.95 ms 65515 bytes from node: icmp_seq=2 ttl=64 time=1.94 ms 65515 bytes from node: icmp_seq=3 ttl=64 time=1.97 ms (I tried many times, over a long period of time to get these typical values). From this I conclude that it takes about 1.95 ms for 65515 x 8 bits to go forth and back between master and node. Ideally, on a 1Gbit/s network, the time should be: 65515 x 8 x 2 / (10243) = 0.98 ms (x 2 for the roundtrip signal forth and back and 10243 is the 1G of the network) May I now conclude that the real-time is about two times the ideal-time? I wonder if this indicates a problem of the network? And is this a proper test of this Gbit/s network? Thanks, Rob. PS: I verified my calculation method for two computers here on a 100Mbit/s network, from which I get: time with ping: 12.4 ms ideal calculated time: 10 ms which is an acceptable difference I would suspect that a ping is not a valid test as it does not test throughput and the send and reception phases have a large influence on the out come. Ie, the time for the send and reception to take place is long enough compared to the fast network that the results are skewed. Try an ftp or other non-encrypted data transfer with a large enough file that the startup and wind-down won't affect and skew it. Probably still not a definitive test btw, here is a test of my gbit network using your ping test 15 packets transmitted, 15 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.128/0.227/0.342/0.061 ms a few years back, i had a gigabit fiber switch, and 2 intel gigabit fiber cards that i put in my 2 fastest computers (at the time, dual p3 1000 and dual p3 933). they both had 10k rpm ultra160 SCSI drives. the fastest i could get for continuous transfer (i made some gigantic zip files containing several .iso files) was about 250mbit. jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Huge (100k+) number of processes
I was wondering if it's possible to run over 100k processes simultaneously on a FreeBSD box with sufficient amount of RAM (and CPU power). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Take us off this list please
Please take CityScope Net off this Japanese list. We only want to be on English reading websites. (USA/England/Australia) Thanks. www.it.freebsd.org/ja/gallery/cgallery.html Ingrid Kast Fuller CityScope Net 713-477-6161 3910 Fairmont Parkway #264 Pasadena, TX 77504-3076 http://www.cityscope.net/ http://www.cityscope.net ___ 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 verify speed of a 1Gb/s network?
On 4/26/06, Jonathan Horne [EMAIL PROTECTED] wrote: a few years back, i had a gigabit fiber switch, and 2 intel gigabit fiber cards that i put in my 2 fastest computers (at the time, dual p3 1000 and dual p3 933). they both had 10k rpm ultra160 SCSI drives. the fastest i could get for continuous transfer (i made some gigantic zip files containing several .iso files) was about 250mbit. No wonder, really. I bet that hard drives were the bottleneck. Today 2-3 cheap SATA drives can easily saturate gigabit links. And if you enable jumbo frames, then CPU will be idle on large file transfers. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: account maintenance and verification ( Your account is suspended )
On Tue, 25 Apr 2006 22:04:56 -0400 [EMAIL PROTECTED] wrote: WHY does this mailing list allow non-subscribed addresses to post ?!?!?!?!? BECAUSE [EMAIL PROTECTED] is considered the go-to list for tech support, it's not considered prudent to require _everyone_ who has a question to subscribe. !! Take your blood pressure medication ... -- Bill Moran ___ 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 verify speed of a 1Gb/s network?
On 4/26/06, Chris Howells [EMAIL PROTECTED] wrote: Rob wrote: How can I verify that a 1Gb/s network is indeed operating at its optimal speed? I tried this: By transferring large amounts of data using a light-weight protocol (maybe FTP) and timing the amount of time it takes. Also various testing utilities, for instance ttcp. [master]$ ping -s 65507 node 65515 bytes from node: icmp_seq=0 ttl=64 time=1.97 ms 65515 bytes from node: icmp_seq=1 ttl=64 time=1.95 ms 65515 bytes from node: icmp_seq=2 ttl=64 time=1.94 ms 65515 bytes from node: icmp_seq=3 ttl=64 time=1.97 ms This is a measure of latency only. For instance, I can easily get 10ms pings on 512kbit/sec ADSL. It can only transfer data at ~60 KB/sec though. I can get these values on a very lightly loaded 100Mbit/sec network: [EMAIL PROTECTED] ping 10.0.0.5 PING 10.0.0.5 (10.0.0.5): 56 data bytes 64 bytes from 10.0.0.5: icmp_seq=0 ttl=128 time=0.844 ms 64 bytes from 10.0.0.5: icmp_seq=1 ttl=128 time=0.740 ms PS: I verified my calculation method for two computers here on a 100Mbit/s network, from which I get: time with ping: 12.4 ms ideal calculated time: 10 ms Sounds like your 100Mbit/s network is very heavily loaded, you would expect ~1ms pings. Please notice that he is transferring 65515 bytes, not 64 (Like you did) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem installing FreeBSD 6.0
Jeff Rollin wrote: could you post the partition layout? (i know you said you used automatic partitioning but the size of the filesystems varies depending on the size of the slice.) Slices screen: Disk name: ad0 Geometry: 14596 cyls/255 heads/63 sectors = 234484740 sectors (114494 MB) Offset| Size(ST) | End | Name | PType | Desc | Subtype | Flags 0 | 63 | 62 | - | 12| unused | 0 63| 92164842 | 92164904 | ad0s1 | 4 | NTFS/HPFS/QNX | 7 92164905 | 73384920 | 165549824| ad0s2 | 8 | freebsd| 165 165549825 | 68941118 | 234490942| - | 12| unused | 0 Partitions screen: Part | Mount | Size| NewFs| Part ad0s2a | / | 512MB| UFS2 | Y ad0s2b | swap | 4070MB | SWAP | ad0s2d | /var | 3059MB | UFS2+S| Y ad0s2e | /tmp | 512MB | UFS2+S| Y ad0s2f | /usr |27678MB | UFS2+S| Y I choose option 6 Kern-Developer - Full binaries and doc, Kernel sources only Then I get the error while I see this: Extracting base into / directory Best, Laci ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 5.4 Cannot detect my Hard Disk
Hi, i want to istall FreeBSD 5.4 6 on my PC with an ASUS P4V533-MX , but every time i get the message: no disks found! please verify that your disk controller is being properly probed what settings in my BIOS should i use for above mentioned Mother Board? Regards, Mo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Take us off this list please
On 2006-04-26 07:30, Ingrid Kast Fuller [EMAIL PROTECTED] wrote: Please take CityScope Net off this Japanese list. We only want to be on English reading websites. (USA/England/Australia) Thanks. www.it.freebsd.org/ja/gallery/cgallery.html Hi, I've forwarded your request to ``freebsd-www'', which is the place our web developers hang out. You should, normally, hear back from one of our Japanese web gurus :-) Regards, Giorgos pgpdaLOX12qpg.pgp Description: PGP signature
Re: Horrible: Apache corrupting files?
On Wednesday 26 April 2006 10:24, Nick Withers wrote: On Wed, 26 Apr 2006 10:08:58 + Ben Paley [EMAIL PROTECTED] wrote: Could anyone give me a hint as to how to get started checking the hardware? It's a Dell Inspiron 6000 laptop. I really don't have the foggiest idea what to look for or what to check - I've never had any problems with it before. You might want to have a gander at Memtest86 (http://www.memtest86.com/, /usr/ports/sysutils/memtest86) for memory testing, I reckon this should be your first port of call. Thanks a lot for the advice. Unfortunately I can't run it as I have no floppy drive (unless there's another way? I seem to remember it's possible to make a bootable usb flash drive...). I ran sysutils/memtest with no errors, for whatever that's worth. Cheers, Ben ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Problem installing FreeBSD 6.0
I had this problem when I was using an older model motherboard with only 64k memory. I moved HD to an newer pc to install FreeBSD to HD them returned HD to first box and all was ok. Then configured FreeBSD OS on older box with out any problems after that. Read 6.0 notes about dropped support for i386 cpu which I think is the cause of problem -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Nagy László Zsolt Sent: Wednesday, April 26, 2006 8:53 AM To: Jeff Rollin; freebsd-questions@freebsd.org Subject: Re: Problem installing FreeBSD 6.0 Jeff Rollin wrote: could you post the partition layout? (i know you said you used automatic partitioning but the size of the filesystems varies depending on the size of the slice.) Slices screen: Disk name: ad0 Geometry: 14596 cyls/255 heads/63 sectors = 234484740 sectors (114494 MB) Offset| Size(ST) | End | Name | PType | Desc | Subtype | Flags 0 | 63 | 62 | - | 12| unused | 0 63| 92164842 | 92164904 | ad0s1 | 4 | NTFS/HPFS/QNX | 7 92164905 | 73384920 | 165549824| ad0s2 | 8 | freebsd | 165 165549825 | 68941118 | 234490942| - | 12| unused | 0 Partitions screen: Part | Mount | Size| NewFs| Part ad0s2a | / | 512MB| UFS2 | Y ad0s2b | swap | 4070MB | SWAP | ad0s2d | /var | 3059MB | UFS2+S| Y ad0s2e | /tmp | 512MB | UFS2+S| Y ad0s2f | /usr |27678MB | UFS2+S| Y I choose option 6 Kern-Developer - Full binaries and doc, Kernel sources only Then I get the error while I see this: Extracting base into / directory Best, Laci ___ 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: Horrible: Apache corrupting files?
On Wed, 26 Apr 2006 13:10:26 + Ben Paley [EMAIL PROTECTED] wrote: On Wednesday 26 April 2006 10:24, Nick Withers wrote: On Wed, 26 Apr 2006 10:08:58 + Ben Paley [EMAIL PROTECTED] wrote: Could anyone give me a hint as to how to get started checking the hardware? It's a Dell Inspiron 6000 laptop. I really don't have the foggiest idea what to look for or what to check - I've never had any problems with it before. You might want to have a gander at Memtest86 (http://www.memtest86.com/, /usr/ports/sysutils/memtest86) for memory testing, I reckon this should be your first port of call. Thanks a lot for the advice. Unfortunately I can't run it as I have no floppy drive (unless there's another way? I seem to remember it's possible to make a bootable usb flash drive...). There's an downloadable ISO for creating a bootable CD on their website (http://www.memtest86.com/). I ran sysutils/memtest with no errors, for whatever that's worth. Not familiar with it myself, but I imagine it's only capable of checking user-space memory if it's run in userland. Cheers, Ben -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Horrible: Apache corrupting files?
On Wed, 26 Apr 2006 13:10:26 + Ben Paley [EMAIL PROTECTED] wrote: On Wednesday 26 April 2006 10:24, Nick Withers wrote: On Wed, 26 Apr 2006 10:08:58 + Ben Paley [EMAIL PROTECTED] wrote: Could anyone give me a hint as to how to get started checking the hardware? It's a Dell Inspiron 6000 laptop. I really don't have the foggiest idea what to look for or what to check - I've never had any problems with it before. You might want to have a gander at Memtest86 (http://www.memtest86.com/, /usr/ports/sysutils/memtest86) for memory testing, I reckon this should be your first port of call. Thanks a lot for the advice. Unfortunately I can't run it as I have no floppy drive (unless there's another way? I seem to remember it's possible to make a bootable usb flash drive...). I ran sysutils/memtest with no errors, for whatever that's worth. memtest86 is also available as a bootable CD. How long did you run it for? I don't trust the results unless I let it run for at least 8 hours. _Any_ errors are bad, especially on a server. The bootable versions (CD or floppy) are better because they can test more of the machine's memory. I don't know of any ready-to-go images for USB, but it should be possible to create one ... -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: FreeBSD 5.4 Cannot detect my Hard Disk
In your bios disable the following power management plug-n-play For OS type select UNIX or other. IE: not windows If your bios don't have these options then disregard this post. If HD is a replacement, insure you have correct ribbon type for HD type and HD jumpers are correct for ribbon nipple used. Windows don't care if HD hardware is configured wrong it just runs slower. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mohamad Babaei Sent: Wednesday, April 26, 2006 8:53 AM To: freebsd-questions@freebsd.org Subject: FreeBSD 5.4 Cannot detect my Hard Disk Hi, i want to istall FreeBSD 5.4 6 on my PC with an ASUS P4V533-MX , but every time i get the message: no disks found! please verify that your disk controller is being properly probed what settings in my BIOS should i use for above mentioned Mother Board? Regards, Mo ___ 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]
error squid when using pf
hi all i try use pf for transparant proxy ( i get from here http://www.benzedrine.cx/transquid.html ) when i configure manual to use proxy is working fine . then i try to use pf for redirection connection to proxy : int_if=vr0 ext_if=xl0 rdr on $int_if inet proto tcp from any to any port www - 127.0.0.1 port 3128 pass in on $int_if inet proto tcp from any to 127.0.0.1 port 3128 keep state pass out on $ext_if inet proto tcp from any to any port www keep stat i always get error = Unable to determine IP address from host name for www.domain.com such like error dns but my dns resolver working fine . what should i chek squid or my pf script thx My Regard's SONJAYA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Huge (100k+) number of processes
Sure,why not? It`s FreeBSD for God sake! On 4/26/06, Andrew Pantyukhin [EMAIL PROTECTED] wrote: I was wondering if it's possible to run over 100k processes simultaneously on a FreeBSD box with sufficient amount of RAM (and CPU power). ___ 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: Horrible: Apache corrupting files?
Please, check your RAM. I had similar problem with changing MD5 on PC with bad RAM. I had a similar problem that drove me crazy for a long while. It all made sense when I opened up the box and saw that the CPU fan was stopped. Luckily, there was no permanent damage to the CPU and replacing the fan make everything sane again. hernan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Huge (100k+) number of processes
On 4/26/06, Iantcho Vassilev [EMAIL PROTECTED] wrote: Sure,why not? It`s FreeBSD for God sake! Yeah, I know :-) The problem is that kern.maxproc=20 line in /boot/loader.conf only raised the real value to 21576. Is that authoritative, or should I just try and run 200k processes? I only have 512Mb of RAM, and I wonder if it's enough to run 100k+ of, say, /bin/sleep? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Dell vs. Silicon Mechanics vs. FreeBSD Systems
Anyone have any opinions about the quality and/or value of these respective vendors? I'm looking for something that has good AMD64 support, great RAID1 support and good Serial Console Redirection support, all obviously reasonably priced. I've had bad experiences in the past with onboard SATA and/or RAID controllers from Silicon Mechanics but it looks now like their Rackform nServ A206 uses an Adaptec SATA controller and an Adaptec RAID controller (this will do RAID1, right?) Anyone have any experience with FreeBSD Systems IPMI interface? I don't claim to know much about IPMI, so forgive me if I ask seemingly dumb questions: Is IPMI implemented entirely in userland or are is there hardware required that FreeBSD Systems just happens to include with their systems? Is IPMI really any good at the end of the day, or are there other solutions that are better/more relaibe (tm)? How does Dell fit into all of this? I haven't dealt with Dell in years but when I have in the past, there didn't seem to be any major issues. I'm looking at a Power Edge 1850 with the Embedded RAID (ROMB) - PERC4e/Si Controller. Does Dell support Serial Console Redirection without their extra lights out card? Lastly (I think) with regards to AMD64 Support (more for the Silicon Mechanics and FreeBSD Systems options), I had issues a couple of years ago with AMD64 and OpenLDAP. Something to do with Mutexes, and wound up having to backpedal and go with a 32bit install on my 64bit system. PITA. Are there any decently priced/stable options out there, other than the three I've mentioned? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FBSD 5.x and Skype sound
Hi all, I know that there is a lot o threads about this, but none of the workarrounds had worked with me. I trying to use skype (1.2.0.18 from ports), on a FBSD 5.4 (last cvs), but the sound is failing. My on-board sound chipset is CMI8738, I'm using the snd_cmi_load=YES in the /boot/loder.conf. I've tried set sysctl vars hw.snd.pcm0.vchans and hw.snd.maxautovchans, but nothing worked. The problem is associated only with skype. Any tips? - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Huge (100k+) number of processes
In the last episode (Apr 26), Andrew Pantyukhin said: On 4/26/06, Iantcho Vassilev [EMAIL PROTECTED] wrote: On 4/26/06, Andrew Pantyukhin [EMAIL PROTECTED] wrote: I was wondering if it's possible to run over 100k processes simultaneously on a FreeBSD box with sufficient amount of RAM (and CPU power). Sure,why not? The problem is that kern.maxproc=20 line in /boot/loader.conf only raised the real value to 21576. Is that authoritative, or should I just try and run 200k processes? I only have 512Mb of RAM, and I wonder if it's enough to run 100k+ of, say, /bin/sleep? Make sure you have enough RAM to cover those 100k processes. There's code that limits maxproc to physpages/12 (Limit maxproc so that kmap entries cannot be exhausted by processes). You can try removing that code, but each process does require a couple of private pages. Assuming 5 pages, you'll need 2 GB of RAM just for that overhead, before you take into account any memory your application will allocate. Are you sure you need 100k separate processes running? -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
wierd output from pfctl -vvsq
I've got all my queuing working like I want it to, but when I run pfctl -vvsq, I get this (sample) output queue root_dc0 bandwidth 256Kb priority 0 cbq( wrr root ) {tcp_ack, dns, ssh, http, std, p2p} [ pkts: 1018 bytes: 768010 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 borrows: 0 suspends: 0 ] [ measured:19.6 packets/s, 117.77Kb/s ] queue tcp_ack bandwidth 44Kb priority 7 cbq( borrow ) [ pkts: 32 bytes: 1888 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 borrows: 0 suspends: 0 ] [ measured: 0.6 packets/s, 305.57 b/s ] queue dns bandwidth 44Kb priority 6 cbq( borrow ) [ pkts: 11 bytes:969 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 borrows: 0 suspends: 0 ] [ measured: 0.2 packets/s, 140.95 b/s ] queue ssh bandwidth 42Kb priority 4 {ssh_fast, ssh_bulk} [ pkts: 0 bytes: 0 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 borrows: 0 suspends: 0 ] [ measured: 0.0 packets/s, 0 b/s ] queue ssh_fast bandwidth 21Kb priority 4 cbq( borrow ) [ pkts:147 bytes: 54638 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 borrows: 0 suspends: 0 ] [ measured: 2.8 packets/s, 8.64Kb/s ] queue ssh_bulk bandwidth 21Kb [ pkts: 7 bytes: 3518 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 borrows: 0 suspends: 0 ] [ measured: 0.1 packets/s, 538.69 b/s ] queue http bandwidth 42Kb priority 3 cbq( borrow ) [ pkts: 45 bytes: 41622 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 borrows: 0 suspends: 0 ] [ measured: 0.9 packets/s, 6.69Kb/s ] queue std bandwidth 42Kb priority 2 cbq( borrow default ) [ pkts:327 bytes: 176278 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 borrows: 89 suspends: 0 ] [ measured: 6.2 packets/s, 26.89Kb/s ] queue p2p bandwidth 42Kb priority 0 qlimit 100 cbq( borrow ) [ pkts:449 bytes: 489097 dropped pkts: 0 bytes: 0 ] [ qlength: 0/100 borrows:439 suspends: 0 ] [ measured: 8.7 packets/s, 74.57Kb/s ] My actual question is reguarding the ssh queue. It is the parent for ssh_fast and ssh_bulk, so I'm thinking that it should show the total bandwidth usage for those two queues, but it shows 0 Kb/s. Like I said everything appears to be working fine, but I just want to make sure that it is. the queueing section from my pf.conf is as follows altq on $ext_if bandwidth 256Kb cbq queue { std, ssh, http, tcp_ack, dns, p2p } queue tcp_ack bandwidth 44Kb priority 7 cbq(borrow) queue dns bandwidth 44Kb priority 6 cbq(borrow) queue ssh bandwidth 42Kb priority 4 cbq { ssh_bulk, ssh_fast } queue ssh_fast bandwidth 21Kb priority 4 cbq(borrow) queue http bandwidth 42Kb priority 3 cbq(borrow) queue std bandwidth 42Kb priority 2 cbq(default borrow) queue ssh_bulk bandwidth 21Kb priority 1 cbq queue p2p bandwidth 42Kb priority 0 qlimit 100 cbq(borrow) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
CGI service.
Hi, I´m developing a web app in C++. But it loads a huge amount of from a Database to memory, and I can´t afford doing this everytime someone asks for the page. Is there a way to make the program to keep running, and reading requests made via CGI? If it helps, i´m running FreeBSD 6.0 with Apache 2.2. Greets, Pedro. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Antigen forwarded attachment
The entire message freebsd-questions Digest, Vol 133, Issue 7, originally sent to you by [EMAIL PROTECTED] ([EMAIL PROTECTED]), has been forwarded to you from the Antigen Quarantine area. This message may have been re-scanned by Antigen and handled according to the appropriate scan job's settings. Entire Message.eml ---BeginMessage--- Send freebsd-questions mailing list submissions to freebsd-questions@freebsd.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.freebsd.org/mailman/listinfo/freebsd-questions or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than Re: Contents of freebsd-questions digest... Today's Topics: 1. Re: Firefox: ugh. ([EMAIL PROTECTED]) 2. Re: Horrible: Apache corrupting files? (Ben Paley) 3. Re: Firefox: ugh. (Gary Kline) 4. Re: Strange visual artifacts in upper left corner of screen which respond to mouse activity. (Miguel Ramos) 5. Re: Help needed compiling printer source code (P.U.Kruppa) 6. RE: No Buffer Space Available (fbsd) 7. Re: help me (Bastian Kummer) 8. AWT (Per Dahlstr?m) 9. Re: Firefox: ugh. (Gary Kline) 10. Re: Can't login via SSH (Kris Anderson) 11. Re: Can't login via SSH (Daniel Bye) 12. Re: Strange visual artifacts in upper left corner of screen which respond to mouse activity. (Eric Schuele) 13. Re: Strange visual artifacts in upper left corner of screen which respond to mouse activity. (Miguel Ramos) 14. Re: Help needed compiling printer source code (Robert Huff) 15. ipfilter rule will not load (Aaron Siegel) 16. Re: AWT (John Nielsen) 17. Re: ipfilter rule will not load (Ron Wilhoite) 18. Screen Size (C M) 19. Re: PXE boot jumpstarting (Erik N?rgaard) 20. Re: Screen Size (Kris Anderson) 21. Re: Screen Size (Mike Hunter) 22. Re: PXE boot jumpstarting (Heliocentric) 23. New Release on Cooking Basics from Maran Illustrated! (Thomson Course Technology) 24. New Logo Font (Energist) (Matthew Holder) 25. Re: Screen Size (Bob Goodman) 26. top on freebsd and wired memory (kapil jain) 27. Re: Purchasing the correct hardware: dual-core intel? Big cache? (Michal Mertl) 28. Security Run Output (Bryan Curl) 29. Re: top on freebsd and wired memory (Erik Trulsson) 30. Cloning boot drive - more details ([EMAIL PROTECTED]) 31. Perl: sort string alphabetically, or remove dupe chars? (Nikolas Britton) 32. Bind as a chaching nameserver (Richard Collyer) 33. Re: Horrible: Apache corrupting files? (Ben Paley) 34. Re: Bind as a chaching nameserver (Derek Ragona) 35. Re: Help needed compiling printer source code (Malcolm Fitzgerald) -- Message: 1 Date: Tue, 25 Apr 2006 10:19:31 -0500 From: [EMAIL PROTECTED] [EMAIL PROTECTED] Subject: Re: Firefox: ugh. To: FreeBSD Mailing List freebsd-questions@freebsd.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed On 4/24/06, Gary Kline [EMAIL PROTECTED] snickered: If firefox is supposedly superior Low and pretty was set the bar. /usr/X11R6/bin/firefox not excellent is, Pierce Brosnan thou artn't, Lawnmower Man also is this not. -- -- -- Message: 2 Date: Tue, 25 Apr 2006 15:41:18 + From: Ben Paley [EMAIL PROTECTED] Subject: Re: Horrible: Apache corrupting files? To: freebsd-questions@freebsd.org, [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1 On Friday 21 April 2006 00:31, Alex de Kruijff wrote: On Thu, Apr 20, 2006 at 10:17:47AM +, Ben Paley wrote: Hello, I have Apache 2 running on FreeBSD 6.1-PRERELEASE on a laptop on a small office lan. Whenever one of the other machines (mostly Macs) makes a request for a certain page on my machine, it is delivered succesfully but the file itself is absolutely scrambled beyond recognition into a binary file. Subsequent requests rescramble it into a different but equally nonsense binary. I've looked with a binary editor and it really is completely messed up. I can restore the file from a good archive copy, but every time the same thing happens. The file was originally created on a mac by Flash (it's a 1.1k html file which just embeds a flash movie). Recently I copied it to and from a Solaris box via ftp from an Windows NT machine (although it wasn't opened afaik - a long story, clearly, which also involves a usb flash drive...). Anyone have any ideas? The file itself is inconsequential, but the fact of such blatant and relentless data corruption is very worrying to me! I don't know if it's the file or my system or some combination... I'd really appreciate some advice, I've
Re: Huge (100k+) number of processes
On 4/26/06, Dan Nelson [EMAIL PROTECTED] wrote: In the last episode (Apr 26), Andrew Pantyukhin said: On 4/26/06, Iantcho Vassilev [EMAIL PROTECTED] wrote: On 4/26/06, Andrew Pantyukhin [EMAIL PROTECTED] wrote: I was wondering if it's possible to run over 100k processes simultaneously on a FreeBSD box with sufficient amount of RAM (and CPU power). Sure,why not? The problem is that kern.maxproc=20 line in /boot/loader.conf only raised the real value to 21576. Is that authoritative, or should I just try and run 200k processes? I only have 512Mb of RAM, and I wonder if it's enough to run 100k+ of, say, /bin/sleep? Make sure you have enough RAM to cover those 100k processes. There's code that limits maxproc to physpages/12 (Limit maxproc so that kmap entries cannot be exhausted by processes). You can try removing that code, but each process does require a couple of private pages. Assuming 5 pages, you'll need 2 GB of RAM just for that overhead, before you take into account any memory your application will allocate. Are you sure you need 100k separate processes running? -- Dan Nelson [EMAIL PROTECTED] Hmm, I have 2Gb boxes around, but no 4 or 8Gb ones running FreeBSD. I'm just foolishly interested in running 200k of more or less real (but very simple) processes under FreeBSD... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Huge (100k+) number of processes
On Apr 26, 2006, at 10:50 AM, Dan Nelson wrote: The problem is that kern.maxproc=20 line in /boot/loader.conf only raised the real value to 21576. Is that authoritative, or should I just try and run 200k processes? I only have 512Mb of RAM, and I wonder if it's enough to run 100k+ of, say, /bin/sleep? Make sure you have enough RAM to cover those 100k processes. There's code that limits maxproc to physpages/12 (Limit maxproc so that kmap entries cannot be exhausted by processes). You can try removing that code, but each process does require a couple of private pages. Assuming 5 pages, you'll need 2 GB of RAM just for that overhead, before you take into account any memory your application will allocate. And then add at least three, maybe four pages-- one for TEXT, one for BSS, one for the heap, and one for the stack) for the most minimal reasonable process, and anything which uses libc is going to run dozens to ~100 pages-- /bin/sleep wants 410K resident, for example. The pure text pages are not duplicated for each process, but even so, you'd need on the order of 20GB or RAM or swap to run 100,000 instances of sleep. FreeBSD scales into the thousands of processes OK, and might do 10K or 20K under extreme circumstances, but that's almost certainly not the right architecture to head towards; a smaller number of persistent server processes along the lines of apache's preforked children or a multithreaded or poll()/select() based concurrent design are going to be better -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CGI service.
On Apr 26, 2006, at 11:07 AM, Pgold wrote: Hi, I´m developing a web app in C++. But it loads a huge amount of from a Database to memory, and I can´t afford doing this everytime someone asks for the page. Is there a way to make the program to keep running, and reading requests made via CGI? If it helps, i´m running FreeBSD 6.0 with Apache 2.2. Look into WebObjects, mod_perl or mod_python, or even fastcgi. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dell vs. Silicon Mechanics vs. FreeBSD Systems
I can't answer this too well unfortunately, but I can give you a bit of info. Dell does not carry AMD, and probably will not for a long time. However they do have AMD64 compatable Intel chips, which are better at bandwidth, though not as good for calculations. Dell treats their business customers nicely, but can be rather unpleasant to individuals not within a sizeable group. I had good experiences with Penguin Computing at a previous job, and their supports was good, but unfortunately, they are a mostly-linux group. They do have good support and AMD systems though. IBM is also a very nice choice, and I am pretty sure they have AMD servers, as well as the AMD64 compatable Intel counterparts. Although slightly more expensive than Dell, I definetly prefer IBM. I've no experience with Silicon Mechanics. I've had bad experiences in the past with onboard SATA and/or RAID controllers from Silicon Mechanics but it looks now like their Rackform nServ A206 uses an Adaptec SATA controller and an Adaptec RAID controller (this will do RAID1, right?) Probably, Adaptec makes pretty good stuff, and tends to aim towards the features/performance market, rather than the low-budget market. Silicon mechanics gives the model number of the card, so you can go here to read the specs: http://www.adaptec.com/ then go to the faq, linked to at http://www.freebsd.org/ and find out the compatability level of the hardware. I think the OpenLDAP thing with AMD64 is fixed (I had some apps that required it, and they didn't complain), however Java is a pain to setup (I gave up and just installed the i386 FreeBSD). I hope this is helpful, -Jim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bind as a chaching nameserver
http://cr.yp.to/djbdns/guarantee.html Richard, besides simple you want a _secure_ caching name server. Yes, you can type named_enable in rc.conf and be done with it, just don't forget to periodically check the security updates web page for BIND exploits. Regards! Richard Collyer wrote: Hello, I've recently been getting a lot of trouble with SpamAssassin performing a lot of rDNS lookups which is causing network issues (timeouts etc to DNS servers). I am trying to install BIND (or djbdns) as a simple caching nameserver. Just to take some of the load off the networks DNS servers (my ISPs). However I am having trouble finding a good tutorial to follow. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bind as a chaching nameserver
AND make sure that either /etc/resolv.conf doesn't exist or that it contains a single nameserver line like this: nameserver 127.0.0.1 otherwise your local nameserver isn't queried. You see, there's really nothing else to do on a standard installation of freebsd... 1- named_enable=YES in /etc/rc.conf 2- either delete /etc/resolv.conf or use nameserver 127.0.0.1 The default /etc/namedb/named.conf that comes installed does exactly what you want. -- Miguel Qua, 2006-04-26 às 08:05 +0100, Martin Hepworth escreveu: Richard just set the forwarders to another nameserver in the named.conf and that's it.. this will speed up SA massively. -- martin On 4/25/06, Richard Collyer [EMAIL PROTECTED] wrote: Hello, I've recently been getting a lot of trouble with SpamAssassin performing a lot of rDNS lookups which is causing network issues (timeouts etc to DNS servers). I am trying to install BIND (or djbdns) as a simple caching nameserver. Just to take some of the load off the networks DNS servers (my ISPs). However I am having trouble finding a good tutorial to follow. I've looked at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html but its mainly going on about being a nameserver which is not what I am after, wanting to keep it more simple than that. [EMAIL PROTECTED]:/usr/local/etc] $ named -v BIND 9.3.1 Can anyone suggest me a good tutorial to follow, I've googled but mostly they are for debain/redhat and some of the commands and files are different. Cheers Richard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PXE boot jumpstarting
Hello Erik, * Erik Nrgaard [EMAIL PROTECTED] [25-04-06 20:44]: Server went down, power failure I think, at 9.XXam and I wasn't home to put it back up. ah ok :) Great manual! Best regards, Matthias pgpxvhInyMvK3.pgp Description: PGP signature
Re: Help needed compiling printer source code
On Wed, 26 Apr 2006, Malcolm Fitzgerald wrote: I've set up a printer. location: lpt0 Printer State: idle, accepting jobs device URI: parallel:/dev/lpt0 Printing the test page does not work, the job is aborted with error: client-error-not-possible The most probable reason for this is that some user permissions are set incorrectly. We have to analyze this step by step. 1) Try to print directly from the command line: # printf Hello World \f /dev/lpt0 If your printer is connected correctly to your parallel port, *something* should be printed out. as user I get cannot create /dev/lpt0: Permission denied That is o.k.. You should try to setup your printer as root first anyway: you always can solve problems with lower user permissions later on. as root I get a blank page So at least your printer can print the form feed character \f :-) As Robert Huff suggested in his mail one reason might be wrong permissions of your spooler directory. 2) If you haven't set it otherwise it should be found at /var/spool/cups 3) # cd /var/spool/ # ls -l should show this drwx--x--- 3 root daemon 1536 26 Apr 19:44 cups 4) Inside /var/spool/cups you should find some files with names like c1 c2 c3 and so on, each representing one print job. Regards, Uli. * * Peter Ulrich Kruppa - Wuppertal - Germany * * ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CGI service.
Qua, 2006-04-26 às 12:07 -0300, Pgold escreveu: Hi, I´m developing a web app in C++. But it loads a huge amount of from a Database to memory, and I can´t afford doing this everytime someone asks for the page. Is there a way to make the program to keep running, and reading requests made via CGI? If it helps, i´m running FreeBSD 6.0 with Apache 2.2. Greets, Pedro. If the problem is keeping the data in memory, I don't think even mod_perl or mod_python will help you. Sugestion #1 - write an apache module; that will be always in memory. I'm not sure if it will be hard to compile. Sugestion #2 - forget about C++ and use mod_mysql or whatever is available for your DBMS. Sugestion #3 - split your web app in two parts: cgi scripts (or apache module) and a server app that keeps data in memory and responds to requests made by cgi scripts. Communication between the two can be made with pipes, sockets, shared memory or whatever you like. Sugestion #4 - load less data from the database; only that which you need to generate output. (For example, for an SQL database, use WITH, HAVING, OFFSET and LIMIT wisely). Any more sugestions? -- Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: Domain Registration
Qua, 2006-04-26 às 01:59 +0100, martin mccann escreveu: I need to do a few more checks to make sure I havn't overlooked anything, but it all looks grand atm - if you are looking for a no nonsence, just give me what I want type of setup, I would highly recommend them. I'm now going to transfer my origional domain over to them and get that setup to my tastes too. I think I may also consider taking a backup of my server setup ... :) Yes, and probably the 8 hour lag was your fault... I was also quite happy at first, they have some problems though - custom dns is a bit broken, sometimes the zone file misteriously vanishes when you change it. They lack some features which, without giving them any more trouble, would make a much better service: like allowing the mix of custom dns and url and email redirection. AFAIK, the perfect registrar is yet to be born... It would be easy to provide better service than them, if you were on that line of business... Thanks again, Martin Not at all, -- Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
vm_object resident_page_count and vmspace.vm_pmap.pm_stats.resident_count
Hi, What is the different between the 2 values: vmspace.vm_pmap.pm_stats.resident_count and the sum of vm_object resident_page_count of all objecsts in that vmspace? I thought they might be the same, but looks like they are not. For eg. for 1 process I get from vmspace 168 pages, and 192 pages from objects sum. The resident size is taken from vmspace. Is it that one includes shared pages and the other doesn't? thanks kapil ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: When 5.5-stable?
On Wed, Apr 26, 2006 at 11:21:21AM +0200, Frank Bonnet wrote: Kris Kennaway wrote: yeah I like to have STABLE tag this is the longest prerelease stage I have witnessed since I started using fbsd, I suspect 5.5 is delayed because of the 6.1 delay and all the dev's are working on 6.1 so 5.5 is just in limbo. Yes, this is basically it. Kris Hello Could you tell us the reasons of the delay ? Uh, please read my email above. Kris pgph4APRISbCj.pgp Description: PGP signature
Whay does port is interactive mean?
I couldn't portupgrade acroread7 because it is marked interactive. What does that mean? How do I upgrade it? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Whay does
On Wed, 26 Apr 2006 18:17:28 +, Chris wrote: -Original Message- From: Steve Friedrich [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 26, 2006 01:02 PM To: 'FreeBSD Questions' Subject: Whay does port is interactive mean? I couldn't portupgrade acroread7 because it is marked interactive. What does that mean? How do I upgrade it? Inactive - its not being maintaned would come to mind. Feel free to pick it up I suppose. You misread it Chris. I said interactive. I continued to search the archives and found out that BATCH=yes in /etc/make.conf interferes with ports marked interactive. I commented it out and acroread7 built/installed fine. Thanks for your help. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Whay does port is interactive mean?
On Wednesday 26 April 2006 11:02, Steve Friedrich wrote: I couldn't portupgrade acroread7 because it is marked interactive. What does that mean? How do I upgrade it? You have to agree to the license and you probably have batch=yes turned on in /etc/make.conf. Comment it out and then build it. You can then turn batch back on. Kent -- Kent Stewart Richland, WA http://www.soyandina.com/ I am Andean project. http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Whay does port is interactive mean?
Steve Friedrich wrote: I couldn't portupgrade acroread7 because it is marked interactive. What does that mean? How do I upgrade it? It probably means that you've got to do some manual magic - generally, accept a license or perform some action that requires visiting a site and registering, etc. YMMV. If setting BATCH=yes in your environment doesn't work with portupgrade, then make deinstall followed by make reinstall, or perhaps make reinstall with FORCE_PKG_REGISTER set; I dunno for sure what that might do to your package db though, so at your own risk (wouldn't damage it beyond all repair, but it might make it a lil' funny). Kevin Kinsey -- While most peoples' opinions change, the conviction of their correctness never does. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Whay does port is interactive mean?
On Wednesday 26 April 2006 19:02, Steve Friedrich wrote: I couldn't portupgrade acroread7 because it is marked interactive. What does that mean? How do I upgrade it? Undefine BATCH. acroread wont build with it set as it needs you to agree to their terms. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: error squid when using pf
i try use pf for transparant proxy ( i get from here http://www.benzedrine.cx/transquid.html ) when i configure manual to use proxy is working fine . then i try to use pf for redirection connection to proxy : int_if=vr0 ext_if=xl0 rdr on $int_if inet proto tcp from any to any port www - 127.0.0.1 port 3128 pass in on $int_if inet proto tcp from any to 127.0.0.1 port 3128 keep state pass out on $ext_if inet proto tcp from any to any port www keep stat i always get error = Unable to determine IP address from host name for www.domain.com such like error dns but my dns resolver working fine . what should i chek squid or my pf script Maybe -D flag for squid will help (Disable initial DNS tests) ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Getting DHCP to use resolv.conf?
I would like to know how I can propagate the dns servers which the dhcp client puts in resolv.conf to dhcpd. I only see how I can only explicitly list a domain server with option domain-name-servers. How do I propogate non static dns servers? Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
postgres
Hi I am installing postgres81-server from ports, but it gives me an error. It requires postgres81-client but I have postgres74-client installed. I have not installed this port, so is there something that uses this? I cannot find any pgsql script. Would it be safe to remove 74-client and install the latest version? Thanks Eoghan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: postgres
eoghan wrote: Hi I am installing postgres81-server from ports, but it gives me an error. It requires postgres81-client but I have postgres74-client installed. I have not installed this port, so is there something that uses this? I cannot find any pgsql script. Would it be safe to remove 74-client and install the latest version? Thanks Eoghan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Do a pkg_info on the installed postgres74-client. This should list what package is was pulled in as a dependency for. If that program is actually USING the postgres support (rather than having been built with support for it that you weren't using), you would have to carefully migrate your data. Otherwise, you will probably want to rebuild said package without the postgres support, then remove the postgresql74-client and install the postgres81 client and server. -- Nathanael Hoyle Systems and Networking Speed Express Networks, LLC [EMAIL PROTECTED] 432.837.2811 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: postgres
eoghan wrote: Hi I am installing postgres81-server from ports, but it gives me an error. It requires postgres81-client but I have postgres74-client installed. I have not installed this port, so is there something that uses this? I cannot find any pgsql script. Would it be safe to remove 74-client and install the latest version? Short answer: probably safe, yes. Longer answer: Have a poke at # pkg_info -R postgres74-client (or however that client package is actually named) This will tell you what other port(s) you have installed that presumably need/want you to have the 7.4 client installed, and thus what might be broken by your forcing an upgrade of it. Then you can decide if it's worth the risk, what to test after, what contingency plans and backups to make, etc. -- Greg Barniskis, Computer Systems Integrator South Central Library System (SCLS) Library Interchange Network (LINK) gregb at scls.lib.wi.us, (608) 266-6348 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dell vs. Silicon Mechanics vs. FreeBSD Systems
Questions wrote: Anyone have any opinions about the quality and/or value of these respective vendors? [snip] How does Dell fit into all of this? I haven't dealt with Dell in years but when I have in the past, there didn't seem to be any major issues. I'm looking at a Power Edge 1850 with the Embedded RAID (ROMB) - PERC4e/Si Controller. Folks' mileage with Dell really seems to vary, so I'd guess you're going to get a broad range of responses on that question. Our experience here is pretty consistent, over a long period of time: Dell's low end consumer systems (e.g. Dimension models) tend to be flaky, to the point where we simply won't buy them anymore, while their high end business systems (e.g. Optiplex, PowerEdge) tend to be pretty reliable, to the point where we'd need a pretty compelling reason to change vendors. There have been exceptions (like a large percentage of GX270 mobo's dying early due to bulging capacitors), but they've been pretty good about providing replacement parts, once we jump through all the hoops that their first tier phone support throws up. Does Dell support Serial Console Redirection without their extra lights out card? Can't comment on that as we've never needed to try. -- Greg Barniskis, Computer Systems Integrator South Central Library System (SCLS) Library Interchange Network (LINK) gregb at scls.lib.wi.us, (608) 266-6348 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: postgres
Greg Barniskis wrote: eoghan wrote: Hi I am installing postgres81-server from ports, but it gives me an error. It requires postgres81-client but I have postgres74-client installed. I have not installed this port, so is there something that uses this? I cannot find any pgsql script. Would it be safe to remove 74-client and install the latest version? Short answer: probably safe, yes. Longer answer: Have a poke at # pkg_info -R postgres74-client (or however that client package is actually named) This will tell you what other port(s) you have installed that presumably need/want you to have the 7.4 client installed, and thus what might be broken by your forcing an upgrade of it. Then you can decide if it's worth the risk, what to test after, what contingency plans and backups to make, etc. Thanks guys: Required by: kde-3.5.1 koffice-1.4.2_3,1 php5-extensions-1.0 php5-pgsql-5.1.2_1 postgresql-libpqxx-2.5.5 I wanted to use it with php5, so i guess forcing an uninstall would bork my php5 support? Since the server port installs the pgsql script (i assume???) i should probably just go with the older version? Thanks again Eoghan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Obsolete packages
On 4/25/06, Kris Kennaway [EMAIL PROTECTED] wrote: On Tue, Apr 25, 2006 at 02:39:58AM +0300, Panagiotis Christias wrote: On 4/25/06, Kris Kennaway [EMAIL PROTECTED] wrote: On Mon, Apr 24, 2006 at 01:41:51PM -0500, Eric Schuele wrote: [EMAIL PROTECTED] wrote: Hi, A new version of a port (www/firefox) was released on April 14. # portversion -v firefox firefox-1.5.0.1,1 needs updating (port has 1.5.0.2,1) But packages still (on April 24) are of previous version: $ ftp ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/ ftp dir packages-5-stable/All/firefox-1* -rw-r--r--1 110 011188636 Apr 01 16:29 firefox-1.5.0.1_2,1.tbz ftp dir packages-6-stable/All/firefox-1* -rw-r--r--1 110 011511879 Apr 02 10:21 firefox-1.5.0.1_2,1.tbz ftp dir packages-7-current/All/firefox-1* -rw-r--r--1 110 011511428 Apr 03 04:40 firefox-1.5.0.1_2,1.tbz Is something broken or is there insufficient computing power for building new packages more often? It's my understanding that packages are built when possible. They often lag that which is in ports. There are only so many cycles in a day (per cpu and per person). I would assume that there is some logical order in which the packages are built (most used first? Though not sure how that would be determined) I continuously rebuild packages using a method that only builds changed packages (new, updated to new version or with a dependency that was changed). This typically gives a turnaround time on i386 of less than a day to several days for packages becoming available, but as I said in another reply I'm not uploading them now because of the looming release cycle. With no intention to criticize your way of thinking or your work, release cycles sometimes could take a bit more time than scheduled. You, the developers and maintainers, know that better than us, the users. In the mean time there is a whole community of (end?) users that could benefit from the prompt availability of latest ports in packages. I'm referring mostly to desktop or workstation users, since the most of us build our ports from the sources for our servers. Although, I'm eager to use the portupgrade -P option more often for our (less critical) ports. Is there a chance that you, along with the release engineering team, reconsider your policy? It's basically forced upon us by the finite bandwidth of mirror sites. At release time they have many gigabytes of ISO images and other install media, etc to download, without adding many gigabytes of packages. If we don't back off from uploading packages in the lead up to the release, then what happens is that many mirror sites are out of date and do not carry the release media at the time of release. Well, speaking as the maintainer of the ftp.gr.freebsd.org mirror site I would say that in this case the monolithic form of the FreeBSD FTP repository is a drawback. Mirroring around 350GB/1.600.000 files, or even a subset, is a difficult (see insufficient) task. Separating the repository and the mirroring process in parts (releases, packages etc.) could be a solution.. Regards, Panagiotis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: postgres
On Wed, Apr 26, 2006 at 09:14:53PM +0100, eoghan wrote: Thanks guys: Required by: kde-3.5.1 koffice-1.4.2_3,1 php5-extensions-1.0 php5-pgsql-5.1.2_1 postgresql-libpqxx-2.5.5 I wanted to use it with php5, so i guess forcing an uninstall would bork my php5 support? My suggestion for you would be to do a `pkg_delete -f' on your postgresql-client, and then install the newer version. After that succeeds, rebuild the port-dependencies listed above. Cheers. -- Jonathan Chen [EMAIL PROTECTED] -- Experience is a hard teacher because she gives the test first, the lesson afterwards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Which Wireless Adapter
Hello, referencing: http://www.freebsd.org/relnotes/6-STABLE/hardware/pc98/support.html , section 3.6 Wireless Network Interface None of these adapters are familiar to me. Will Linksys, Netgear, or Dlink pci wireless adaptors work with one of these drivers? Other recomendations? -- -- Bryan bc3910 'at' gmail 'dot' com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Obsolete packages
On Wed, Apr 26, 2006 at 11:23:31PM +0300, Panagiotis Christias wrote: Well, speaking as the maintainer of the ftp.gr.freebsd.org mirror site I would say that in this case the monolithic form of the FreeBSD FTP repository is a drawback. Mirroring around 350GB/1.600.000 files, or even a subset, is a difficult (see insufficient) task. Separating the repository and the mirroring process in parts (releases, packages etc.) could be a solution.. Please raise any suggestions you have for improving the process on the mirror operators list, thanks. Kris pgpMbaE6kRh4s.pgp Description: PGP signature
Re: Which Wireless Adapter
Bryan Curl wrote: Hello, referencing: http://www.freebsd.org/relnotes/6-STABLE/hardware/pc98/support.html , section 3.6 Wireless Network Interface None of these adapters are familiar to me. Will Linksys, Netgear, or Dlink pci wireless adaptors work with one of these drivers? Other recomendations? -- -- Bryan bc3910 'at' gmail 'dot' com Hello Bryan, Are you sure you're looking at the right page? pc98 architecture is mainly used in Japan AFAIK. If you change the pc98 in the URI to i386, you can see a few linksys and Dlink references. HTH, Kevin Kinsey -- A countryman between two lawyers is like a fish between two cats. -- Ben Franklin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
em64t cpu build
Hi, Want to build a new kernel for fbsd 5.4 on a system with a Celeron D cpu with em64t support and wondering if my config is correct in src/sys/amd64/conf/KERNEL: machineamd64 #cpu HAMMER cpu I686_CPU ident KERNEL This cpu have also the xd bit, does this working for source amd64? And floating point device npx is not available in amd64 GENERIC, is this needed for Celeron D cpu's? Are there more device/options to be aware of specific for a kernel configuration with em64t cpu's that are not listed in the GENERIC of amd64? Regards, Henk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Getting DHCP to use resolv.conf?
I would like to know how I can propagate the dns servers which the dhcp client puts in resolv.conf to dhcpd. I only see how I can only explicitly list a domain server with option domain-name-servers. How do I propogate non static dns servers? Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Getting DHCP to use resolv.conf?
On Wed, 26 Apr 2006 13:56:57 -0700 Telting [EMAIL PROTECTED] wrote: I would like to know how I can propagate the dns servers which the dhcp client puts in resolv.conf to dhcpd. I only see how I can only explicitly list a domain server with option domain-name-servers. How do I propogate non static dns servers? Write a script to updated the dhcpd.conf file when resolv.conf changes. dhclient allows you to create hooks that automagically run a script of your choosing when a new lease is obtained. Or you could search the list archives for when this exact question was asked a few weeks ago. -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CGI service.
Hi, I´m developing a web app in C++. But it loads a huge amount of from a Database to memory, and I can´t afford doing this everytime someone asks for the page. Is there a way to make the program to keep running, and reading requests made via CGI? Hi.. Maybe fastCGI can do what you are looking for.. (http://www.fastcgi.com/) Performance. FastCGI processes are persistent-they are reused to handle multiple requests. This solves the CGI performance problem of creating new processes for each request. -- Øyvind Skaar | os _a odots.org | 482 78 480 | http://odots.org http://last.fm/user/%67%69%7A%7A%6C%6Fn | http://43things.com/person/%C3%B8s 6865792c207768617420646f20796f75206b6e6f772c 796f752772652061206e65726420746f6f202e2e ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Obsolete packages
On 4/26/06, Kris Kennaway [EMAIL PROTECTED] wrote: On Wed, Apr 26, 2006 at 11:23:31PM +0300, Panagiotis Christias wrote: Well, speaking as the maintainer of the ftp.gr.freebsd.org mirror site I would say that in this case the monolithic form of the FreeBSD FTP repository is a drawback. Mirroring around 350GB/1.600.000 files, or even a subset, is a difficult (see insufficient) task. Separating the repository and the mirroring process in parts (releases, packages etc.) could be a solution.. Please raise any suggestions you have for improving the process on the mirror operators list, thanks. Yes, that is the right place for such issues. I'll give it a try. Regards, Panagiotis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: X11 and virtual consoles.... (startx + vlock)
1. What about backgrounding startx and then exiting your shell? 2. Have you tried using lock -np instead of vlock? On Mon, 17 Apr 2006, Eric Schuele wrote: Eric Schuele wrote: Hello, [hadn't worn my newbie hat lately... so I thought I'd try it on.] Is there a way to run X via startx and prevent someone from switching back to the console that started it and pressing Ctrl-C, without using DontVTSwitch in my xorg.conf file? I would like to be able to use multiple virtual consoles. But do not like the idea of someone switching back to *my* virtual console... killing X and having my account available to them. This way I could lock my session via xscreensaver, and walk away. Then someone else could login and use the machine... just not *my* account. I had envisioned something like a script that did the following: #!/bin/sh startx vlock Yet vlock does not like this at all. I was hoping to background startx... and then lock the virtual console. :) A little more info So it appears that vlock works if I manually background startx from the console, and then run vlock. but inside the script vlock gets into a loop in which it thinks it is seeing keystrokes... and repeatedly (quickly) says that the password is bad, please try again. It does this forever. Additionally, the script works just fine for root. It behaves exactly as I would like. It startx and then locks the console. Lastly, I have done a bit more googling, looking for vlock and startx specifically... and found that (at least in the past) many people have done it this way with success. I'm not sure what I might be doing wrong here. I did turn up one bug that sounds very much like what I am experiencing but it appears to have been fixed some time ago. I wonder if there is a regression? Anyone using `startx ; vlock` successfully? Is there anything that might accomplish something similar? Thanks. -- Regards, Eric ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] /-/ Under deadline pressure for the next week. If you want something, it can wait. Unless it's blind screaming paroxysmally hedonistic ... finger://[EMAIL PROTECTED] http://www.ephemeron.org/~bigby/ irc://irc.ephemeron.org/#the_pub news://news.ephemeron.org/alt.lemurs /-/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gprof
Any Ideas ? On 4/19/06, Alexandre Biancalana [EMAIL PROTECTED] wrote: Hi list, I'm trying to compile my C application with gprof but it is not working. This is a multithreaded program that use mysql and openssl libraries. Reading the man page I see that is need add -pg to the compile command line, but when a do this the following error occurs at linking time $ gcc -L/usr/local/lib/mysql -Wall -I. -I.. -I/usr/local/include/mysql -o serverd ../log.o ../mem.o ../misc.o ../threads_wrapper.o ../openssl.o db.o main.o request.o ssl_server.o ssl_socket.o threads.o threads_control.o -pthread -lmysqlclient_r -lssl -pg /lib/libcrypto.so.4: undefined reference to `sysconf' /lib/libcrypto.so.4: undefined reference to `times' /lib/libz.so.3: undefined reference to `feof' /lib/libm.so.4: undefined reference to `ldexp' /lib/libcrypto.so.4: undefined reference to `chmod' /lib/libz.so.3: undefined reference to `clearerr' /lib/libm.so.4: undefined reference to `isnan' *** Error code 1 Stop in /usr/home/ale/personal/ale_projects/works/program/server. I tried to substitute the -pg compiler flag by -lc_p, with this flag the program compile but is not linked with libc_p and don't generate the gprof output file... $ gcc -L/usr/local/lib/mysql -Wall -I. -I.. -I/usr/local/include/mysql -lc_p -o serverd ../log.o ../mem.o ../misc.o ../threads_wrapper.o ../openssl.o db.o main.o request.o ssl_server.o ssl_socket.o threads.othreads_control.o -pthread -lmysqlclient_r -lssl /usr/lib/libc.so: warning: warning: this program uses f_prealloc(), which is not recommended. $ ldd serverd serverd: libmysqlclient_r.so.14 = /usr/local/lib/mysql/libmysqlclient_r.so.14 (0x28099000) libssl.so.4 = /usr/lib/libssl.so.4 (0x280ed000) libpthread.so.2 = /usr/lib/libpthread.so.2 (0x2811b000) libc.so.6 = /lib/libc.so.6 (0x2814) libcrypto.so.4 = /lib/libcrypto.so.4 (0x28217000) libcrypt.so.3 = /lib/libcrypt.so.3 (0x28309000) libm.so.4 = /lib/libm.so.4 (0x28321000) libz.so.3 = /lib/libz.so.3 (0x28337000) This is my system: FreeBSD Cruel 6.0-STABLE FreeBSD 6.0-STABLE #0: Tue Jan 3 15:40:07 UTC 2006 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/CRUEL i386 Any ideas ? Best Regards, Alexandre Biancalana ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How do I swap tape drives (sa0) without rebooting?
Hello list. I have a freebsd 6.1-RC1 machine that I am using to test bacula and various tape drives. If the machine boots up while the tape drive is attached and powered up, the tape drive is recognized. If I turn off the tape drive and attach a different drive, I cannot seem to convince the OS that a tape drive is present. What am I doing wrong? machine: - supermicro super server 6013P-8 with zero channel raid controller - SMP hardware, UP kernel with ASR_COMPAT - FreeBSD name 6.1-RC FreeBSD 6.1-RC #1: Fri Apr 21 16:09:23 MDT 2006 relevant dmesg data: asr0: Adaptec Caching SCSI RAID mem 0xf830-0xf83f,0xfb00-0xfbff,0xfc00-0xfdff irq 30 at device 3.0 on pci3 asr0: [GIANT-LOCKED] asr0: ADAPTEC 2015S FW Rev. 3B0A, 2 channel, 256 CCBs, Protocol I2O sa0 at asr0 bus 1 target 6 lun 0 sa0: HP Ultrium 2-SCSI S24D Removable Sequential Access SCSI-3 device ses0 at asr0 bus 0 target 6 lun 0 ses0: SUPER GEM318 0 Fixed Processor SCSI-2 device ses0: SAF-TE Compliant Device da0 at asr0 bus 0 target 0 lun 0 da0: ADAPTEC RAID-5 3B0A Fixed Direct Access SCSI-2 device da0: Tagged Queueing Enabled da0: 70006MB (143372288 512 byte sectors: 255H 63S/T 8924C) The drive vendor documentation states that the drive's auto-termination is only in effect when the drive's power is on. When I power down and disconnect the drive /var/log/messages receives the following. Apr 26 13:57:20 name kernel: (sa0:asr0:1:0:0): lost device Apr 26 13:57:20 name kernel: (sa0:asr0:1:0:0): removing device entry So I reboot, and try a different disconnect method. # camcontrol stop sa0 Unit stopped successfully # camcontrol devlist ADAPTEC RAID-5 3B0A at scbus0 target 0 lun 0 (da0,pass0) SUPER GEM318 0 at scbus0 target 6 lun 0 (ses0,pass1) HP Ultrium 2-SCSI S24D at scbus1 target 6 lun 0 (sa0,pass2) Then I power off the tape unit and attach a new unit (attach scsi cable, power cable, then power on the unit). # camcontrol tur sa0 -E -C 4 -v error sending test unit ready: Device not configured (pass2:asr0:1:6:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (pass2:asr0:1:6:0): CAM Status: CCB request is in progress /var/log/messages got the following 2 lines as soon as I launched camcontrol: Apr 26 15:32:27 name kernel: (sa0:asr0:1:6:0): lost device Apr 26 15:32:27 name kernel: (sa0:asr0:1:6:0): removing device entry # camcontrol rescan pass2 Re-scan of bus 0 was successful This is a problem as the tape drive (pass2) was on bus 1. Granted, pass2 was pointing to sa0:asr0:1:6:0 and the device that is now attached is connected via asr0:1:0:0. adamu010# camcontrol rescan all Re-scan of bus 0 was successful Re-scan of bus 1 was successful # camcontrol devlist ADAPTEC RAID-5 3B0A at scbus0 target 0 lun 0 (da0,pass0) SUPER GEM318 0 at scbus0 target 6 lun 0 (ses0,pass1) # camcontrol rescan 1:0:0 Re-scan of 1:0:0 was successful # camcontrol devlist ADAPTEC RAID-5 3B0A at scbus0 target 0 lun 0 (da0,pass0) SUPER GEM318 0 at scbus0 target 6 lun 0 (ses0,pass1) # camcontrol reset 1 Reset of bus 1 was successful # camcontrol rescan 1 Re-scan of bus 1 was successful # camcontrol devlist 1 ADAPTEC RAID-5 3B0A at scbus0 target 0 lun 0 (da0,pass0) SUPER GEM318 0 at scbus0 target 6 lun 0 (ses0,pass1) The tape drive is not detected without a reboot. Despite the fine man page for camcontrol and several examples provided by google of other users using camcontrol to successfully reattach devices, I cannot do it. I assume I have done something wrong, like misunderstanding how scsi devices and/or termination function. Can anyone point out what I am doing wrong and/or tell me how to change tape drives without rebooting my box? Thank you for any help! Adam ps: Please CC me as I am not subscribed to this list. TIA! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
postfix with OpenLDAP 2.3
Hi, When I try to install postfix from ports (postfix or postfix-current) with LDAP lookups I get: [tw] /usr/ports/mail/postfix-current# make WITH_OPENLDAP_VER=2.3.21 === postfix-2.3.20060418,2 is marked as broken: unknown OpenLDAP version: 2.3.21. *** Error code 1 Stop in /usr/ports/mail/postfix-current. I've got: openldap-sasl-client-2.3.21 openldap-server-2.3.21 How can I make postfix build with this version of OpenLDAP? It wants 2.2... Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PHP5 Compile Problems
I'm currently trying to run: make CONFIGURE_ARGS+=--with-pcre-regex \ CONFIGURE_ARGS+=--enable-fastcgi \ CONFIGURE_ARGS+=--enable-force-cgi-redirect However, every time I run the command, I get an error about a problem with apache13. But I do not want to install apache, because I plan to use lighttpd instead. After talking with a couple people in the ##freebsd channel on freenode.net, I edited my /usr/ports/lang/php5/Makefile so that it read WITH_APACHE = NO and then ran make distclean in both the /usr/ports/lang/php5 and /usr/ports/www/apache13 directories. Then I reran the above command, but make still tried to obtain the apache13 code and ended with an error. What might I be doing wrong? Thanks! - Brad ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Updated 6.1 schedule?
On Tue, Apr 25, 2006 at 11:48:14AM -0400, Thomas David Rivers wrote: I've been watching the 6.1-RC1 web pages, etc... following the wonderful progress. However, the dates on the schedule page seem to be a little off now. I was wondering if anyone had some idea of what the new dates might be... if there's no idea; then I will patiently wait. You guess is as good as mine. It could take a couple of months. I've got a few 4.10 machines that could do with an upgrade, and I don't think moving to 5.4 is the way to go... So, I'm pending waiting on 6.1. There's no need to wait with that. I run 6.0 and 6.1 since BETA4 and I have not seen any problems. You can use CVS to updated your sources and compile your own version. See the manual on how to do this. -- Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sendmail_enable in rc.conf
I have FreeBSD 6.0-RELEASE. It seems there is collision between /etc/defaults/rc.conf and /etc/rc.sendmail in sendmail startup control. In /etc/defaults/rc.conf: sendmail_enable=NO# Run the sendmail inbound daemon (YES/NO). In /etc/rc.sendmail: ... start_mta() { case ${sendmail_enable} in [Nn][Oo][Nn][Ee]) ;; So sendmail doesn't startup during system startup only if there is sendmail_enable=NONE in /etc/rc.conf. Maybe I don't understand something? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gnash, FreeBSD and OpenGL -- usable?
I've just installed the latest port (0.7_1) of gnash. Trying to run it, I get this: $ gnash (gnash:69101): GdkGLExt-WARNING **: Window system doesn't support OpenGL. $ Is there a fix for this? (And if there is, are there more issues to face after this one is dealt with?) I know it is still early days for gnash. Thanks, Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Simple firewall question: Blocking a handful of IPs
I'm not extremely comfortable with doing firewall testing remotely on production systems, but I need to set up some incoming IP blocks. I've got a FreeBSD RELENG_5_4 system with public interface rl0. I want all traffic allowed unfettered, except traffic from particular IPs to be completely blocked coming in. Can someone show me which ipf rules to use to get that result? Thanks, Wade ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PHP5 Compile Problems
I'm currently trying to run: make CONFIGURE_ARGS+=--with-pcre-regex \ CONFIGURE_ARGS+=--enable-fastcgi \ CONFIGURE_ARGS+=--enable-force-cgi-redirect However, every time I run the command, I get an error about a problem with apache13. But I do not want to install apache, because I plan to use lighttpd instead. After talking with a couple people in the ##freebsd channel on freenode.net, I edited my /usr/ports/lang/php5/Makefile so that it read WITH_APACHE = NO and then ran make distclean in both the /usr/ports/lang/php5 and /usr/ports/www/apache13 directories. Then I reran the above command, but make still tried to obtain the apache13 code and ended with an error. What might I be doing wrong? Maybe something in /var/db/ports/ ___ 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 verify speed of a 1Gb/s network?
On Tue, 25 Apr 2006 20:16:06 -0700 (PDT), in sentex.lists.freebsd.questions you wrote: Hi, How can I verify that a 1Gb/s network is indeed operating at its optimal speed? I tried this: There are some useful tools in /usr/src/tools/tools/netrate/ to generate a lot of traffic. Also, /usr/ports/benchmarks/iperf ---Mike Mike Tancsa, Sentex communications http://www.sentex.net Providing Internet Access since 1994 [EMAIL PROTECTED], (http://www.tancsa.com) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]