Re: setup journaling for root partition
gjournal should not be used anymore as it has been implemented in the file system code ... On 05/21/2013 11:24, s m wrote: thanks Michael this is what i've done (based on the FreeBSD handbook): creating a partition for journal, go to single user mode, unmount desired partition (for example /usr), load gjournal, add journal partition to /usr partition. this procedure works well for user and other partitions except root because i can not unmount it. should i set up journaling in fixit mode with gpart? how? i try different ways but none of them work for me:(( On Tue, May 21, 2013 at 10:36 AM, Michael Sierchio ku...@tenebras.comwrote: On Mon, May 20, 2013 at 10:59 PM, s m sam.gh1...@gmail.com wrote: hello everybody i want to setup a journal partition for my root partition. but i do not know how to do that. in FreeBSD handbook, it is done in single user mode, unmount the desired partition and assign the journal partition to it. i test this procedure and it is done for /usr partition but for root partition, it can not be unmount in single user mode. See the man page on gjournal To configure journaling on the UFS file system using gjournal, one should first create a gjournal provider using the gjournal utility, then run newfs(8) or tunefs(8) on it with the -J flag which instructs UFS to coop- erate with the gjournal provider below. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: setup journaling for root partition
On 05/21/2013 12:10, s m wrote: you mean that journaling is enabled by default i don't think so. i think i misunderstanding. may i ask you to explain it more clear? gjournal is journaling through GEOM. Since Freebsd 9 soft-updates journaling has been implemented for UFS. So if you want journaling for an UFS FS there is no reason to use gjournal anymore. (check manpages of newfs and/or tunefs and the -j and the -J flags) On Tue, May 21, 2013 at 2:09 PM, Julien Cigar jci...@ulb.ac.be mailto:jci...@ulb.ac.be wrote: gjournal should not be used anymore as it has been implemented in the file system code ... On 05/21/2013 11:24, s m wrote: thanks Michael this is what i've done (based on the FreeBSD handbook): creating a partition for journal, go to single user mode, unmount desired partition (for example /usr), load gjournal, add journal partition to /usr partition. this procedure works well for user and other partitions except root because i can not unmount it. should i set up journaling in fixit mode with gpart? how? i try different ways but none of them work for me:(( On Tue, May 21, 2013 at 10:36 AM, Michael Sierchio ku...@tenebras.com mailto:ku...@tenebras.comwrote: On Mon, May 20, 2013 at 10:59 PM, s m sam.gh1...@gmail.com mailto:sam.gh1...@gmail.com wrote: hello everybody i want to setup a journal partition for my root partition. but i do not know how to do that. in FreeBSD handbook, it is done in single user mode, unmount the desired partition and assign the journal partition to it. i test this procedure and it is done for /usr partition but for root partition, it can not be unmount in single user mode. See the man page on gjournal To configure journaling on the UFS file system using gjournal, one should first create a gjournal provider using the gjournal utility, then run newfs(8) or tunefs(8) on it with the -J flag which instructs UFS to coop- erate with the gjournal provider below. ___ freebsd-questions@freebsd.org mailto:freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org mailto:freebsd-questions-unsubscr...@freebsd.org -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailto:freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org mailto:freebsd-questions-unsubscr...@freebsd.org -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Enlightenment, libcurl undefined references to SLL_CTX_set_srp_password/username
You probably missed: 20130317: AFFECTS: users of graphics/poppler AUTHOR: gn...@freebsd.org The graphics/poppler has been updated to 0.22.2. The shared library version has changed from 18 to 34. Please rebuild all ports that depends on it: # portmaster -r poppler-0 or # portupgrade -fr graphics/poppler or # pkg install -fR graphics/poppler On 04/01/2013 20:39, Jim Ballantine wrote: OK, I ran just pkg_libchk and the output is: # pkg_libchk xfce4-tumbler-0.1.27_1: /usr/local/lib/tumbler-1/plugins/tumbler-poppler-thumbnailer.so misses libpoppler.so.18 I'll install it and try again, but it doesn't seem like the cause. Jim On Mon, Apr 1, 2013 at 12:48 PM, Volodymyr Kostyrko c.kw...@gmail.comwrote: 01.04.2013 19:47, Jim Ballantine пишет: I believe I'm running it correctly, when I enter pkg_libchk -vr enlightenment Nope, just run pkg_libchk without any arguments. I don't think problem is in enlightenment or curl, by rather some library that depends on curl and is required by enlightenment. -- Sphinx of black quartz, judge my vow. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: stupid portmaster question
On 03/25/2013 10:40, Aryeh Friedman wrote: How do I tell portmaster -ad to ignore certain ports because they are broken such as editors/libreoffice is currently marked as (I am sure this will change soon) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -x libreoffice -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: IPC Shared memory segment
On 03/19/2013 13:06, Vagner wrote: Hi all! Tell me please, how may I remove shared memory segment like this: T:m shmid:65537 shmkey:0 mode:--rw-rw-rw- owner:root group:wheel creator:root cgroup:wheel NATTCH:2 SEGSZ:1048576000 CPID:2982 LPID:54375 ATIME:10:29:12 DTIME:15:56:14 CTIME:10:51:00 Pid 2982 and pid 54375 is killed. man ipcrm -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Soekris or .. ?
On 03/01/2013 14:24, C. P. Ghost wrote: On Fri, Mar 1, 2013 at 11:49 AM, Julien Cigar jci...@ulb.ac.be wrote: Hello, I'm looking for a small Soekris-like (http://soekris.com/) box which support FreeBSD, any experience or brand to advise .. ? I'm using Soekris net4801 boxes with FreeBSD without problems since many years as small routers with pf, dhcp, bind, lighttpd etc... Last version i've tested is 8.3. I didn't update to 9.X yet for no other reasons than lack of time to try it, and I don't know if clang supports Geode well enough so I can't say anything about -CURRENT. But save for this, Soekris boxes and FreeBSD are a great match. Thank you, Julien -cpghost. Thanks for all your answers ..! it's to replace our old linux router, so I think I'll go with a Soekris box..! -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Soekris or .. ?
Hello, I'm looking for a small Soekris-like (http://soekris.com/) box which support FreeBSD, any experience or brand to advise .. ? Thank you, Julien -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PostgreSQL 9.2: database replication on demand - easy way (Bucardo in ports not available)
On 02/16/2013 13:26, O. Hartmann wrote: Dear Sirs. I send my question to this list in the hope someone has the same problems and already found a solution. I will start explaining the background and my difficulties with recent solutions. We/I have a FreeBSD 10 box running a PostgreSQL 9.2 server containing literature references via RefDB, some sort of bugtracking via Bugzilla, several astronomical databases of the IAU (minor planet objects) and others. Those databases are kept and maintained on one single box at the department. Since a lot of the data is needed in my home office or at a lab with non-permanent internet connection, I desperately need to synchronize the databases kept on the master with some backup database systems acting as master/slave when they are online. The latter definition is fuzzy, since what I need is an automated synchronization of the real master with a sporadically upcoming slave at home or at field sites for my science where, as said, the internet connectivity isn't provided 24/7. I feel realy uncomfortable with the built-in streaming replication of PostgreSQL 9.2 since I never managed it to make a successful replication. As far as I understand, the streaming mechanism of PostgreSQL 9.X expects the slaves to be always online, to which the replication. I was said that Bucardo (http://bucardo.org/) would be the tool of choice, but FreeBSD ports seem not not have this tool. SLONY also is a way to complicated for my for just this task - or I'm to dumb to perform a solution that fits easily. Is someone out here who might have the same problems and already figured out how to solve this? I do not want to go into this crap pg_dump, since I tried this many times and it failed due to some issues I never figured out why in PostgreSQL 9.2. Sorry being unspecific here, it is a long time since I tried this frustrating task and it boiled always down to some confusing postgres/template1 issues when dumping the master and trying to update the slave. Even following the textbook's suggestions ended up in a mess. Well, I appreaciate some hints and concepts (working, not hypothetical could be's, those are floating enough around the FreeBSD related net). Thanks in advance and thanks for the patience, Oliver perhaps you could do WAL shipping .. ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: gpart and FreeBSD 8.x
On 12/03/2012 13:31, Rick Miller wrote: For anyone interested, Posted a new blog with regards to gpart on FreeBSD 8.x (with a link to one of Warren's blog posts): http://blog.hostileadmin.com/2012/12/03/freebsd-partitions-and-filesystems-with-gpart/ gpart is in BASE on 8.x so there is nothing to install -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ale0: could not disable Tx/Rx MAC(0x00000004)!
Hello, I got the following problem today: 66nneewwnnffss sseerrvveerr 119922..116688..00..225544:://hhoommee//mmaaggee:: nnoto t rreespsopnonddiinngg newnfs server 192.168.0.254:/home/mage: not responding ale0: could not disable Tx/Rx MAC(0x0004)! ale0: link state changed to DOWN ale0: could not disable Tx/Rx MAC(0x0004)! ale0: link state changed to UP in6_purgeaddr: err=65, destination address delete failed Nov 15 22:08:02 rivendell dhclient[1186]: short write: wanted 20 got 0 bytes Nov 15 22:08:02 rivendell dhclient[1186]: exiting. Only a hard reboot fixed the issue (the network was completely frozen) This is with: ale0@pci0:2:0:0:class=0x02 card=0x83041043 chip=0x10261969 rev=0xb0 hdr=0x00 vendor = 'Atheros Communications' device = 'AR8121/AR8113/AR8114 Gigabit or Fast Ethernet' class = network subclass = ethernet on: FreeBSD rivendell 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0: Thu Nov 1 18:35:54 CET 2012 root@rivendell:/usr/obj/usr/src/sys/CUSTOM amd64 Any idea what could be the cause of this ? Thank you, Julien ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Which NNTP newsreader for huge newsgroups?
slrn ? http://slrn.sourceforge.net/ On 10/30/2012 15:56, C. P. Ghost wrote: Hello, I'm looking for an NNTP newsreader that can gracefully handle newsgroups with a *huge* number of posts, if possible with a moderate memory and CPU footprint. My newsreader of choice, news/tin, while quite good for newsgroups with a moderate number of articles can't cope with some alt.binaries.* groups that contain over 2,000,000+ active/unread articles. It effectively thrashes the system and consumes enormous amounts of swap space and CPU cycles just for opening such a newsgroup. It also takes ages to update the local index as well, because it keeps fetching headers for articles that don't even exist or should have been skipped, according to ~/.newsrc If you wonder about such huge newsgroups: they are increasingly common now that commercial NNTP providers are over 1,000+ retention days for binaries, and some of those newsgroups are being flooded with crap in an attempt to DoS them. What NNTP newsreader are you using? Which one would you recommend for those huge newsgroups? Thanks, -cpghost. -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Anatomy of Perfomance tests
On 06/29/2012 11:00, Fred Morcos wrote: On Fri, Jun 29, 2012 at 10:53 AM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: Most probably all filesystems were used with defaults. MAYBE softupdates, but not even sure for this. Compare this to linux which is async-like. Comparing with UFS+async would be more fair. Still - FreeBSD default MAXPHYS in param.h is far too low. i change it to 2048*1024 (default is 128*1024) and improvement on handling large files is huge. I run that setting everywhere. No problems. I already talked about it on forum but was ignored. As for scientific processing it should not depend much from OS at all, but for sure it depends on crappy compiler that Juniper wanted... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I would not worry too much about what this guy says. Judging from his interpretations of the plots, he doesn't seem to know much about the benchmarks he is running and why they behave that way on the different systems. I think he just runs and publishes everything that says benchmark on it, without truly understanding what's going on or even going through the effort of providing fair comparisons. That said, I think that the Linux kernel performs better simply due to wider adoption (larger developer base, wider set of use-cases, etc) and thus a higher chance of getting performance improvements. Note that stability matters too. I remembered a bench on PostgreSQL where Linux was faster, but at some point the machine had to be rebooted because it became unresponsive. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Is ZFS production ready?
One interesting feature of ZFS if it's block checksum: all reads and writes include block checksum, so it can easily detect situations where, for example, data is quietly corrupted by RAM. This feature is very important for databases. On 06/21/2012 15:58, Matthias Gamsjager wrote: On Thu, Jun 21, 2012 at 3:43 PM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: I really want to see your face when you fsck 48TB w/o ffs+j (since that is so young must be immature :S ) of data with the phone ring non stop with Even if ZFS would be the only filesystem in existence i would make one per 2 disks (single mirror). No matter what's going on, what do you prefer in case say - double disk failure from one mirror on 48 disk systems? losing completely data of 1/24 of users (and then restoring that amount from backups), or losing randomly chosen 1/24 of files from whole system? answer yourself. Sorry but I don;t follow you right there. with 48 disks you would not mirror 24vs24. I will perform very well but there is too much risk in that. you would rather go with a raidz2 stripe sets. With UFS of course i would have single disk fsck time - less than a hour. which CAN be done out of work hours with soft updates. i normally turn off automatic fsck for large data filesystems, and if crash happened i run it after/before work hours. raid is not a backup. You can loose data with any configuration or fs. so like in the compiler discussion. There is no perfect something in this world. It's always a tradeoff. with ZFS you have access to most advanced techniques and I believe that data is most safe with raidz3 as it can be. UFS cant match that and you have to rely on a raidcontroller which can screw up your data as well. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Is ZFS production ready?
On 06/21/2012 16:13, Hooman Fazaeli wrote: On 6/21/2012 4:22 PM, Wojciech Puchar wrote: stick with UFS. It JUST WORKS(R), and is trusty. And it works fast. What options are there for 2TB file systems with UFS? this should not be a problem if you use GPT + gpart (which is the way to go nowadays) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: bsdlabel geometry params
On 06/05/2012 10:45, Wojciech Puchar wrote: whats wrong in juz using bsdlabel ? from the 9.0R release notes: 3.2.6 Disk Partition Management Utilities In earlier releases various utilities were available to manage disk partition information. They are deprecated in favor of the gpart(8) http://www.FreeBSD.org/cgi/man.cgi?query=gpartsektion=8manpath=FreeBSD+9.0-RELEASE utility. Specifically, the fdisk(8) http://www.FreeBSD.org/cgi/man.cgi?query=fdisksektion=8manpath=FreeBSD+9.0-RELEASE, disklabel(8) http://www.FreeBSD.org/cgi/man.cgi?query=disklabelsektion=8manpath=FreeBSD+9.0-RELEASE bsdlabel(8) http://www.FreeBSD.org/cgi/man.cgi?query=bsdlabelsektion=8manpath=FreeBSD+9.0-RELEASE, and sunlabel(8) http://www.FreeBSD.org/cgi/man.cgi?query=sunlabelsektion=8manpath=FreeBSD+9.0-RELEASE utilities are no longer supported actively though these are still available for backward compatibility. On Tue, 5 Jun 2012, Gary Aitken wrote: On 06/04/12 15:25, Warren Block wrote: On Mon, 4 Jun 2012, Gary Aitken wrote: What part of the Handbook? I would suggest using gpart(8), it makes GPT partitions easy, and nasty old MBR partitions aren't any worse than with fdisk/bsdlabel. 19.3.2 That's the Storage chapter, section Command Line Utilities. That is yet another section that needs updating. In the meantime, here: I was making some notes as I went along about that. I did decide to switch, thanks. http://www.wonkity.com/~wblock/docs/html/disksetup.html The second half of that covers using gpart(8). I suggest using GPT partitions unless your configuration does not allow them (gmirror, for example). Probably should have read mail sooner... I found the wikipedia article http://en.wikipedia.org/wiki/GUID_Partition_Table exactly what I needed to make sense of gpart. Once you understand how the dang thing is laid out, the commands make sense. Without that, it's pretty difficult (for me, anyway) to figure out how it knows what it needs to know to get it done. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: what software can support that UPS ?
/usr/ports/sysutils/apcupsd ? On 05/14/2012 14:06, Wojciech Puchar wrote: seems like it is very badly made USB interface, all class data is empty, ugen1.3: ECO Pro Series UPS EVER at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0101 bDeviceClass = 0x bDeviceSubClass = 0x bDeviceProtocol = 0x bMaxPacketSize0 = 0x0008 idVendor = 0x0403 idProduct = 0xe520 bcdDevice = 0x0400 iManufacturer = 0x0001 EVER iProduct = 0x0002 ECO Pro Series UPS iSerialNumber = 0x0003 ECOPRO00 bNumConfigurations = 0x0001 FreeBSD gives only ugen interface. what (if any) software support that? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
GPT + gmirror
Hello, I wondered if there is a way to gmirroring the whole disk (not slices separately) when using GPT? GPT puts its metadata at the end of the disk, and when I start to use gmirror it overwrites the GPT metadata (... as gmirror puts also its metadata at the end of the disk ...). I noticed a new option in the newfs manpage: -r reserved The size, in sectors, of reserved space at the end of the parti‐ tion specified in special. This space will not be occupied by the file system; it can be used by other consumers such as geom(4). Defaults to 0. I wondered if it could help .. ? Why does it default to 0? Thanks, Julien -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: semi OT: correct CIDR block?
jcigar@dev ~ % ipcalc 10.0.0.32-10.0.0.63 deaggregate 10.0.0.32 - 10.0.0.63 10.0.0.32/27 (net-mgmt/ipcalc) On 03/05/2012 15:30, Robert Huff wrote: With my brain still on EBADSLEEP, I cannot decide if: 10.0.0.32-10.0.0.63 is correctly described by: 10.0.0.32/27 Anyone? Please? Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: limit on PV entries
Did you explicitly disabled superpages? What is the output of $ sysctl vm.pmap.pg_ps_enabled ? On 02/01/2012 10:17, n dhert wrote: FreeBSD 8.2-RELEASE From time to time, I get in /var/log/messages kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max sysctl. this started a few weeks ago, never had that before, don't have it on other FreeBSD 8.2-RELEASE systems. - What does this mean? - And how to increase either of the two and to what level ? $ sysctl vm.pmap.shpgperproc vm.pmap.shpgperproc: 200 $ sysctl vm.pmap.pv_entry_max vm.pmap.pv_entry_max: 3256966 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
how safe is kern.geom.part.check_integrity=0 ?
Hello, I upgraded today a gmirror'ed machine from 8.2-RELEASE to 9.0-RELEASE, but the system fails to mount my root mirror with an error 19 when I try to boot with the 9.0 kernel. I read that adding kern.geom.part.check_integrity=0 could solve the problem, but I haven't found any statement on the safety of setting this.. Any idea if it's safe ? Also I'm a bit disappointed that there is no entry in /usr/src/UPDATING about this issue ... Thanks, Julien ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: AHCI timeout
On 12/06/2011 19:25, C. P. Ghost wrote: On Tue, Dec 6, 2011 at 4:41 PM, Julien Cigarjci...@ulb.ac.be wrote: Hello, I'm running 9.0-RC3 on a HP Proliant Microserver (N40L). A disk died in my graid3 array and I replaced it with a new one, and now have tons of: ahcich3: Timeout on slot 5 port 0 ahcich3: is cs ss 3f60 rs 3f60 tfd 40 serr cmd ed17 Check the connectors, both on disk and on the controller. They're usually the culprit. Sometimes it is also a firmware problem, but I'll try to replace the cables first. I tried with two different connectors but the problem persists. However, I noticed that the problem only appear at high I/O rates (during a graid3 resync for example): the machine runs Bacula and the backup job completed successfully this night, but it was a remote machine so the I/O writes didn't go above 2 MB/s ... Do you think the problem could be the firmware of the disk? (...) Those are Seagate disks: jcigar@backup conf % sudo camcontrol devlist VB0250EAVER HPG0 at scbus0 target 0 lun 0 (pass0,ada0) ST31000528AS CC38 at scbus1 target 0 lun 0 (pass1,ada1) ST31000528AS CC38 at scbus2 target 0 lun 0 (pass2,ada2) ST31000333AS CC1H at scbus3 target 0 lun 0 (pass3,ada3) The controller is: ahci0@pci0:0:17:0: class=0x010601 card=0x1609103c chip=0x43911002 rev=0x40 hdr=0x00 vendor = 'ATI Technologies Inc' device = 'SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]' class = mass storage subclass = SATA jcigar@backup conf % vmstat -i interrupt total rate irq17: ehci0 ehci1+2 0 irq18: ohci0 ohci1+ 30 0 irq256: bge0 31354 4 irq257: ahci0 19012658 2477 irq258: hpet0:t0 4926229641 irq259: hpet0:t1 4635261603 Total 28605534 3727 Any idea what could be the cause of this ... ? Thanks, Julien -cpghost. -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Error: servname not supported for ai_socktype
try to $ kldload aio On 09/26/2011 14:50, Vikash Jain wrote: Hi, While running celeryd on my freebsd system, i am getting errorservname not supported for ai_socktype. Can somebody help me out with this? python manage.py celeryd -l info [2011-09-26 00:49:42,540: WARNING/MainProcess] -- cel...@FreebsdEsca.Workgroup v2.3.3 - --- * *** * -- [Configuration] -- * - --- . broker: amqp://rab...@127.0.0.1:5672/FreebsdEsca - ** -- . loader: djcelery.loaders.DjangoLoader - ** -- . logfile: [stderr]@INFO - ** -- . concurrency: 1 - ** -- . events: OFF - *** --- * --- . beat:OFF -- *** --- * - [Queues] -- . celery: exchange:celery (direct) binding:celery [Tasks] . celery_test.tasks.MyTask [2011-09-26 00:49:42,567: INFO/PoolWorker-1] child process calling self.run() [2011-09-26 00:49:42,577: WARNING/MainProcess] cel...@FreebsdEsca.Workgroup has started. [2011-09-26 00:49:42,582: ERROR/MainProcess] Consumer: Connection Error: [Errno 9] servname not supported for ai_socktype. Trying again in 2 seconds... OS: FreeBSD6.3 Python version: 2.7 I am able to connect to 127.0.0.1 5672 through telnet. My /etc/services i have configured these ports for the brooker (RabbitMQ). [vikashj@FreebsdEsca ~]$ cat /etc/services | grep 5672 amqp 5672/tcp amqp 5672/udp amqp 5672/sctp [vikashj@FreebsdEsca ~]$ - Vikash J ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Error: servname not supported for ai_socktype
I don't know if POSIX-style semaphores have something to do with ai_socktype, but don't forget to compile your Python version with it too (SEM Use POSIX semaphores (experimental)) (btw aio has nothing to do, I replied too fast, it's for async io) On 09/26/2011 15:56, Vikash Jain wrote: Hi Julien/All, It didn't helped. I had builded kernel with support for POSIX Semaphores. I added the following line while building: options P1003_1B_SEMAPHORES # POSIX-style semaphores - Vikash On Mon, Sep 26, 2011 at 7:02 PM, Julien Cigarjci...@ulb.ac.be wrote: try to $ kldload aio On 09/26/2011 14:50, Vikash Jain wrote: Hi, While running celeryd on my freebsd system, i am getting errorservname not supported for ai_socktype. Can somebody help me out with this? python manage.py celeryd -l info [2011-09-26 00:49:42,540: WARNING/MainProcess] -- cel...@FreebsdEsca.Workgroup v2.3.3 - --- * *** * -- [Configuration] -- * - --- . broker: amqp://rab...@127.0.0.1:5672/FreebsdEsca - ** -- . loader: djcelery.loaders.DjangoLoader - ** -- . logfile: [stderr]@INFO - ** -- . concurrency: 1 - ** -- . events: OFF - *** --- * --- . beat:OFF -- *** --- * - [Queues] -- . celery: exchange:celery (direct) binding:celery [Tasks] . celery_test.tasks.MyTask [2011-09-26 00:49:42,567: INFO/PoolWorker-1] child process calling self.run() [2011-09-26 00:49:42,577: WARNING/MainProcess] cel...@FreebsdEsca.Workgroup has started. [2011-09-26 00:49:42,582: ERROR/MainProcess] Consumer: Connection Error: [Errno 9] servname not supported for ai_socktype. Trying again in 2 seconds... OS: FreeBSD6.3 Python version: 2.7 I am able to connect to 127.0.0.1 5672 through telnet. My /etc/services i have configured these ports for the brooker (RabbitMQ). [vikashj@FreebsdEsca ~]$ cat /etc/services | grep 5672 amqp 5672/tcp amqp 5672/udp amqp 5672/sctp [vikashj@FreebsdEsca ~]$ - Vikash J ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
AHCI: Error while READ LOG EXT
Hello, I got strange errors from ahci this morning (on a 8.2-RELEASE box): +ahcich3: Error while READ LOG EXT +ahcich3: Error while READ LOG EXT +GEOM_MIRROR: Request failed (error=5). ada1[READ(offset=457644130304, length=16384)] +GEOM_MIRROR: Device backup: provider ada1 disconnected. +(ada1:ahcich3:0:0:0): Synchronize cache failed +ahcich3: Error while READ LOG EXT +ahcich3: Error while READ LOG EXT +ahcich3: Error while READ LOG EXT The disks are quite recent, so I wondered if it could be a bug in the ahci driver .. ? The controller is a JMicron: ahci1@pci0:0:31:2: class=0x010601 card=0x81ec1043 chip=0x28248086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801HR/HO/HH (ICH8R/DO/DH) SATA AHCI Controller' class = mass storage subclass = SATA ahci0@pci0:2:0:0: class=0x010601 card=0x81e41043 chip=0x2363197b rev=0x03 hdr=0x00 vendor = 'JMicron Technology Corp.' device = 'JMicron JMB362/JMB363 AHCI Controller (JMB36X)' class = mass storage subclass = SATA atapci0@pci0:2:0:1: class=0x010185 card=0x81e41043 chip=0x2363197b rev=0x03 hdr=0x00 vendor = 'JMicron Technology Corp.' device = 'JMicron JMB362/JMB363 AHCI Controller (JMB36X)' class = mass storage subclass = ATA thank you, Julien -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 9.0-RC1 Release?
http://wiki.freebsd.org/Releng/9.0TODO CAUTION: FreeBSD Release Schedules may slip so the above dates are not guaranteed. On 08/26/2011 08:52, Nathaniel Torbett wrote: Hello, Distrowatch has you slated to release 9.0-RC1 on 8/24. I cannot find the release for download. Is this delayed and is there a new release date/schedule? Thank you, Nathaniel Torbett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: problem with shell script
just use: pgrep slapd On 01/12/2011 15:17, four.harris...@googlemail.com wrote: Hello I'm in trouble with a simple shell script that give erroneous value when running ... If I run commands interactively everything runs well ps ax | grep slapd | grep -v grep | wc -l 1 If I run in the following shell script : #!/bin/sh SD=0 SD=`ps -ax | grep slapd | grep -v grep | wc -l` echo $SD the result is 3 !!! Any info welcome ! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Corrupted MAC on input. Disconnecting: Packet corrupt
Hello, I'm facing a very strange problem on a machine: When I unzip a file (I'm 100% sure the file is not corrupted) and I get the following: jci...@frodon ~ % ssh 10.0.0.225 Password: jci...@dev ~ % unzip elgg-1.7.6.zip Archive: elgg-1.7.6.zip creating: elgg-1.7.6/ creating: elgg-1.7.6/engine/ inflating: elgg-1.7.6/engine/settings.example.php creating: elgg-1.7.6/engine/handlers/ creating: elgg-1.7.6/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/ inflating: elgg-1.7.6/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/en_dlg.js inflating: elgg-1.7.6/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/editor_plugin.js inflating: elgg-1.7.6/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/emotions.htm Corrupted MAC on input. Disconnecting: Packet corrupt jci...@frodon ~ % The system is running 8.2-RC1 (amd64). I had the same problem under 8.1-RELEASE (I thought it was a bug in the Ethernet driver, so I upgraded to 8.2-RC1) The card is: a...@pci0:2:0:0:class=0x02 card=0x82261043 chip=0x10481969 rev=0xb0 hdr=0x00 vendor = 'Attansic (Now owned by Atheros)' device = 'Gigabit Ethernet 10/100/1000 Base-T Controller (Atheros L1)' class = network subclass = ethernet Any idea what could be the problem ? Thanks, Julien -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Corrupted MAC on input. Disconnecting: Packet corrupt
On 01/11/2011 10:43, Julien Cigar wrote: Hello, I'm facing a very strange problem on a machine: When I unzip a file (I'm 100% sure the file is not corrupted) and I get the following: jci...@frodon ~ % ssh 10.0.0.225 Password: jci...@dev ~ % unzip elgg-1.7.6.zip Archive: elgg-1.7.6.zip creating: elgg-1.7.6/ creating: elgg-1.7.6/engine/ inflating: elgg-1.7.6/engine/settings.example.php creating: elgg-1.7.6/engine/handlers/ creating: elgg-1.7.6/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/ inflating: elgg-1.7.6/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/en_dlg.js inflating: elgg-1.7.6/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/editor_plugin.js inflating: elgg-1.7.6/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/emotions.htm Corrupted MAC on input. Disconnecting: Packet corrupt jci...@frodon ~ % The system is running 8.2-RC1 (amd64). I had the same problem under 8.1-RELEASE (I thought it was a bug in the Ethernet driver, so I upgraded to 8.2-RC1) The card is: a...@pci0:2:0:0: class=0x02 card=0x82261043 chip=0x10481969 rev=0xb0 hdr=0x00 vendor = 'Attansic (Now owned by Atheros)' device = 'Gigabit Ethernet 10/100/1000 Base-T Controller (Atheros L1)' class = network subclass = ethernet Any idea what could be the problem ? Thanks, Julien OK, I dug a bit and found the problem ... I have 4 memory slots on the motherboard : D C B A When I put a memory stick in A _or_ C it works When I put memory sticks in A _and_ C it works too However, when I put memory sticks in A _and_ B or A _and_ B _and_ C it fails ... (dual channel) Could it be a bug... or a broken Bios ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Updating.
On 12/26/2010 23:03, RW wrote: On Sun, 26 Dec 2010 15:11:54 -0500 Grant Peelgp...@thenetnow.com wrote: Hi all, Up to this point I have always updated (within a branch), by dropping to single user mode for everything. After running cvsup to obtain the new source, is it generally considered OK to run the maike buildworld in multiuser mode, or, are the dangers to doing this? Personally, I don't bother with single-user mode at all within release branches. I do everything in multiuser mode and reboot afterwards at my convenience. I've never had a problem, but I do check UPDATING just in case there's anything abnormal. same here ... just be sure to disable all daemons in rc.conf except sshd I do it by the book when moving between releases branches though, and reboot into single user mode after installing the kernel. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
hast
Hello, I would like to test HAST / CARP as a cheap redundant storage solution. Apart NFS, are there other ways to export the file system of the HAST box? Thanks, Julien -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to connect a jail to the web ?
On 08/10/2010 13:01, Brice ERRANDONEA wrote: Hello, I've just created my first FreeBSD jail in order to install a web server inside. But I don't know how to connect it to the web. When I try pinging a http website, it doesn't work. Of course, it works when I do it from outside the jail. Another problem, probably linked to the first one, I can't run rc within the jail, even as the jail's root. It says : permission denied. Here's how I built and started my jail. I had already run make buildworld when upgrading to 8.1 release : # mkdir /usr/prison # cd /usr/src # make installworld DESTDIR=/usr/prison # make distribution DESTDIR=/usr/prison # mount -t devfs devfs /usr/prison/dev # jail -c path=/usr/prison host.hostname=ServeurWeb ip4.addr=192.1.1.1 persist # jail /usr/prison ServeurWeb 192.1.1.1 csh I guess this must be a very basic question but please help me. make sure NAT is enabled on the host.. I use PF for that with something like (/etc/pf.conf): ext_if=bce0 int_if=bce1 internal_net=192.168.0.0/24 nat on $ext_if from $internal_net to any - ($ext_if) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What is the meaning of this warn?
On 07/26/2010 07:48, Jason wrote: HI,ALL: Hello, My freebsd server offer service to thousands of clients. I found lots of warning in the /var/log/message like this :Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable You probably have a lot of processes which use shared memory ..? Enabling superpages (vm.pmap.pg_ps_enabled=1 in loader.conf) should resolve the problem (superpages have been added in 7.2) My question is : 1.what is the meaning of PV? 2.Although there are lots of this warning,my server works still well. Could someone explain the meaning of this warning ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: sort: write error with portsnap
On 07/08/2010 19:01, Jakub Lach wrote: Julien Cigar-2 wrote: Am I the only one to have sort: write errors since a few days with portsnap ? : Same here. FreeBSD 8.1-PRERELEASE #0 r209773 - Jakub Lach good to know I'm not the only one ... I thought my disks/RAID was silently dying (no kernel logs) ... -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
sort: write error with portsnap
Hello, Am I the only one to have sort: write errors since a few days with portsnap ? : jci...@bebif ports % sudo portsnap fetch update Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found. Fetching snapshot tag from portsnap2.FreeBSD.org... done. Fetching snapshot metadata... done. Updating from Thu Jul 8 08:48:04 CEST 2010 to Thu Jul 8 10:08:38 CEST 2010. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 0 metadata files... done. Fetching 1 patches. done. Applying patches... done. Fetching 0 new ports or files... done. sort: write failed: standard output: Broken pipe sort: write error Removing old files and directories... done. Extracting new files: (...) Building new INDEX files... done. Julien -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: slapd crash the HP proliant DL360 at 8.0
On 06/28/2010 11:56, Frank Bonnet wrote: Argh !!! I upgraded slapd to 2.4.22 and it does not start anymore !!! some symbol cannot be found anymore I had to revert to 2.3.4x to have a working slapd !!! What's wrong with 2.4.22 folks ? did you rebuilt all ports which depend on openldap-server ? (portmaster -r openldap-server). also if you want to replace openldap-server23 with openldap-server24 I would use portmaster -o On 06/28/2010 10:27 AM, Erik Nørgaard wrote: On 28/giu/2010, at 09:50, Frank Bonnetf.bon...@esiee.fr wrote: Hello I had BIG trouble saturday morning with a HP proliant DL360 that runs our directory server ( OpenLDAP ) Tha machine had crashed ... Anyone had the same trouble running slapd at 8.0 ? I must find out what happened , software or hardware trouble It is impossible to answer that based on the above information. Check your logs. If you can't find any useful log entries increase loglevel, restart and see if problem repeats. BR ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: can i use flags at once?
some ports have OPTIONS, then you can use make config / make config-recursive (man ports) others don't, then you can set them in /etc/make.conf, for example : jci...@frodon ~ % cat /etc/make.conf WITHOUT_APACHE=YES WITHOUT_IPV6=YES #WITHOUT_NLS=YES WITHOUT_KDE=YES WITHOUT_GNOME=YES .if ${.CURDIR:M*/x11/rxvt-unicode} WITHOUT_AFTERIMAGE=yes .endif .if ${.CURDIR:M*/editors/vim} WITH_GTK2=yes .endif (of course you can always use make -DWITH_FOO -DWITHOUT_BAR clean install clean) regards, Julien Giorgos Tsiapaliokas wrote: hello, i am a gentoo user and now i am trying to install a freebsd on my machine. ports are great but while my machine is compiling i receive messages about the flags. in gentoo i was able via the file /etc/portage/package.use to determine which flags i wanted to enable and which not. is there any way to do this in FreeBSD,since gentoo's portage is based on ports. thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: real time files mirroring ?
You may want to wait for HAST : http://wiki.freebsd.org/HAST .. I think it has been merged to HEAD .. regards, Julien Frank Bonnet wrote: Hello I'm searching for a software that could perform some kind of real time mirroring between two (or more) freebsd servers. My meaning is to keep up to date some files ( flat and db maps ) used by Postfix on our MX servers and propagate every change of one or more files to all the others. Thank you ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Intel SRCZCR ?
Hello, At work we've a machine which is currently running FreeBSD 7.0 and we would like to upgrade to 7.2 This machine has an esoteric embedded RAID controller, the Intel SRCZCR RAID adapter. When I installed the machine one year ago I read the RELEASE Hardware Notes to check whether this chipset was supported or not. I didn't found any references, but I came across http://www.krellis.org/unix-stuff/srczcr-freebsd-howto.html and read that if was in fact supported by the iir(4) driver. Although I had a panic with the GENERIC kernel (see kern/122067), it works like a charm for more than one year now. Do you know if this card is still supported by the iir(4) driver (or other) in the 7.2-RELEASE ? Thanks, Julien (apologies for cross posting for those who're on freebsd-scsi) -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable
Hello, We have an HP Proliant DL380G5 with 4GB of RAM and FreeBSD 7.0 which runs PostgreSQL 8.3 for more than a year now. No problems, except that two days ago I noticed those messages in my kernel logs : Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable. Since vm.pmap.shpgperproc and vm.pmap.pv_entry_max require a reboot I want to be sure that I put good values (for ex: I read that increasing too much vm.pmap.shpgperproc could result in a panic at boot time or later). I have the following in /boot/loader.conf : kern.ipc.semmni=1024 kern.ipc.semmns=16384 kern.ipc.semmnu=16384 vm.pmap.shpgperproc=225 vm.pmap.pv_entry_max=4134816 and the following in /etc/sysctl.conf : kern.ipc.shmall=262144 kern.ipc.shmmax=1073741824 kern.ipc.semmap=16384 kern.ipc.shm_use_phys=1 Do you think that those values for vm.pmap.pv_entry_max and vm.pmap.shpgperproc are OK ? Is it OK to increase vm.pmap.pv_entry_max as long as vm.kvm_free is not too low ? Thanks, Julien -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jci...@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 7.2 RELEASE ? Buggy as hell
On Thu, 2009-07-30 at 15:32 -0400, PJ wrote: I have (supposedly, as I am told by my bootup) upgraded to 7.2 Wonderful. But how do i make this thing work. I've managed to do it on an amd64 on an ACER Travelmate 4400 running at 1600mhz. This box runs on 3ghz; Xorg comes up and the mouse is dead. Flashplayer9 This is probably due to a buggy bios, try to disable USB legacy support, it should fix the problem (at least on mine) with linux-emulator f8 and all the tweaks does not work, acroread9 does not either, Flash or Acroread have nothing to do with FreeBSD. Emulation is always something hazardous, it might work, it might not. hal is useless. I've tried turning off the option AllowEmptyInput to define useless ? It works like a charm here. Did you read the FAQ on freebsd.org/gnome ? off; i've tried starting hal - and when I run startx, the configuration file is the default built-in... I don't understand what the hell is going on... None of the solutions on google seem to work either... oh, but there is some sunlight in neverneverland... I can boot and I can install all kinds of files - funny, I don't want to play with this crap... and I certainly am not going to reinstall after all I have gone through... If I do reinstall, it will be another OS. If it all works on amd64, what's wrong with i386? I think it's time to switch to something more reliable. -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jci...@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Secure apache with php
What I do is running PHP in FastCGI mode (with something like x-cache) with a dedicated user for each webapp for which I have a dedicated script, for example : = jci...@bccm-it ~ % ls -l /usr/local/www/apache22/cgi-bin (...) -rwxr-xr-x 1 www-scarwww-scar202 Oct 27 2008 scar-php-wrapper.fcgi* -rwxr-xr-x 1 www-lwatch www-lwatch 202 Apr 24 12:05 sfa-php-wrapper.fcgi* -rwxr-xr-x 1 www-tapir www-tapir 202 Oct 27 2008 tapir-php-wrapper.fcgi* (...) = each .fcgi contain something like : = jci...@bccm-it ~ % cat /usr/local/www/apache22/cgi-bin/scar-php-wrapper.fcgi #!/bin/sh #PHPRC=/path/to/php.ini #export PHPRC PHP_FCGI_CHILDREN=3 export PHP_FCGI_CHILDREN PHP_FCGI_MAX_REQUESTS=1 export PHP_FCGI_MAX_REQUESTS exec /usr/local/bin/php-cgi -b 127.0.0.1:5009 = you can control how much children have to be fork(), the number of maximum requests per process before it gets killed and re-launched (usefull if a webapp leaks memory), etc Then in your Apache config you put something like : = FastCgiExternalServer /usr/local/www/apache22/cgi-bin/scar-php-wrapper.fcgi -host 127.0.0.1:5009 -idle-timeout 1800 Location /cgi-bin/scar-php-wrapper.fcgi SetHandler fastcgi-script /Location Directory /usr/local/www/apache22/data/scarmarbin Order allow,deny Allow from all AddHandler php-fastcgi .php Action php-fastcgi /cgi-bin/scar-php-wrapper.fcgi /Directory = hope it helps, best regards, Julien On Thu, 2009-07-09 at 12:22 +0200, Nicolas Letellier wrote: Le Thu, 9 Jul 2009 13:18:39 +0300, Reko Turja reko.tu...@liukuma.net a écrit : I want to secure my Apache/PHP environment... Full suhosin, both patch and mod for the PHP. IIRC suhosin patch is optional in PHP port and the mod can be installed via ports. (http://www.hardened-php.net/suhosin/index.html) Apache environment and binaries set up in a jail. Which Apache version do you advice? I reckon these days 2.2 would be the best in regards of future upgrades and development. -Reko Thanks. I already use suhosin patch in mod_php. I have few users on this machine, each use a separate directory (/var/www/user). I do not want to make a jail for each one. That's why mpm-itk seems to be good (instead of safe_mode / open_basedir). Best regards, -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jci...@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Secure apache with php
On Thu, 2009-07-09 at 13:43 +0200, Nicolas Letellier wrote: Le Thu, 09 Jul 2009 12:49:57 +0200, Julien Cigar jci...@ulb.ac.be a écrit : What I do is running PHP in FastCGI mode (with something like x-cache) with a dedicated user for each webapp for which I have a dedicated script, for example : = jci...@bccm-it ~ % ls -l /usr/local/www/apache22/cgi-bin (...) -rwxr-xr-x 1 www-scarwww-scar202 Oct 27 2008 scar-php-wrapper.fcgi* -rwxr-xr-x 1 www-lwatch www-lwatch 202 Apr 24 12:05 sfa-php-wrapper.fcgi* -rwxr-xr-x 1 www-tapir www-tapir 202 Oct 27 2008 tapir-php-wrapper.fcgi* (...) = each .fcgi contain something like : = jci...@bccm-it ~ % cat /usr/local/www/apache22/cgi-bin/scar-php-wrapper.fcgi #!/bin/sh #PHPRC=/path/to/php.ini #export PHPRC PHP_FCGI_CHILDREN=3 export PHP_FCGI_CHILDREN PHP_FCGI_MAX_REQUESTS=1 export PHP_FCGI_MAX_REQUESTS exec /usr/local/bin/php-cgi -b 127.0.0.1:5009 = you can control how much children have to be fork(), the number of maximum requests per process before it gets killed and re-launched (usefull if a webapp leaks memory), etc Then in your Apache config you put something like : = FastCgiExternalServer /usr/local/www/apache22/cgi-bin/scar-php-wrapper.fcgi -host 127.0.0.1:5009 -idle-timeout 1800 Location /cgi-bin/scar-php-wrapper.fcgi SetHandler fastcgi-script /Location Directory /usr/local/www/apache22/data/scarmarbin Order allow,deny Allow from all AddHandler php-fastcgi .php Action php-fastcgi /cgi-bin/scar-php-wrapper.fcgi /Directory = hope it helps, best regards, Julien On Thu, 2009-07-09 at 12:22 +0200, Nicolas Letellier wrote: Le Thu, 9 Jul 2009 13:18:39 +0300, Reko Turja reko.tu...@liukuma.net a écrit : I want to secure my Apache/PHP environment... Full suhosin, both patch and mod for the PHP. IIRC suhosin patch is optional in PHP port and the mod can be installed via ports. (http://www.hardened-php.net/suhosin/index.html) Apache environment and binaries set up in a jail. Which Apache version do you advice? I reckon these days 2.2 would be the best in regards of future upgrades and development. -Reko Thanks. I already use suhosin patch in mod_php. I have few users on this machine, each use a separate directory (/var/www/user). I do not want to make a jail for each one. That's why mpm-itk seems to be good (instead of safe_mode / open_basedir). Best regards, When I tested php in cgi, performances were bad. That's why, php_mod is better (in my case != It's not CGI, it's FastCGI. There is no performance loss if you use an opcode cacher (like x-cache). -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jci...@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: upgrade 7 - 7.2
You don't have to rebuilt all ports when you upgrade from 7.0 to 7.2, it is, in general, only required when you upgrade for one major version to another one (6.x - 7.x or 7.x to 8.x) On Mon, 2009-05-25 at 14:30 +0200, Pieter Donche wrote: I have to upgrade a few FreeBSD7 machines to FreeBSD7.2 (this is new to me) One machine has very few third party ports installed (33), the other over 600 ... One of the steps is # portupgade -af, to rebuild all third party software.. this took 27 minutes on the 33 packages machine.. So for 20 times more packages: 10 hours ??? Is this normal? Also, one I had one screen asking for options for libiconv 1.11_1 where I had to tab to OK and press enter. What is the 600 packages system has 20 of more of such screens, waiting for user input. Can't one make ik automatically accept the defaults? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jci...@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: move to other subnet
On Wed, 2009-05-06 at 10:18 +0200, Pieter Donche wrote: Just want to check: If a freebsd7 system is to move to a different subnet (from ip XXX.YYY.AAA.BBB to XXX.YYY.CCC.DDD) same netmask 255.255.255.0 same hostname myhost.mydomain.mycountry same DNS servers then /etc/rc.conf is the only file that needs changes? yes (maybe /etc/hosts too) defaultrouter=XXX.YYY.CCC.254 --- hostname=myhost.mydomain.mycountry ifconfig_em0=inet XXX.YYY.CCC.DDD netmask 255.255.255.0 --- and reboot ? no need to reboot, just # /etc/rc.d/netif restart or is there any other file(s) to change? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jci...@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CARP bridge
On Wed, 2009-04-29 at 11:37 +0200, Sebastiaan van Erk wrote: Hi, I have a bridged OpenVPN setup where the OpenVPN tap0 driver is bridged (via bridge0) to the physical em1 interface, which has a VIP via a carp1 interface: em1: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500 options=98VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM ether 00:0c:29:61:2a:55 inet 10.0.80.77 netmask 0xff00 broadcast 10.0.80.255 media: Ethernet autoselect (1000baseTX full-duplex) status: active bridge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 9a:6a:9f:b2:65:da id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: tap0 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP ifmaxaddr 0 port 11 priority 128 path cost 200 member: em1 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP ifmaxaddr 0 port 2 priority 128 path cost 2 tap0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 00:bd:48:03:00:00 Opened by PID 24616 carp1: flags=49UP,LOOPBACK,RUNNING metric 0 mtu 1500 inet 10.0.80.74 netmask 0xff00 carp: MASTER vhid 2 advbase 1 advskew 0 The problem I have is that when I ping the VIP from a VPN client (on tap0), the server receives arp requests for the VIP on tap0, but it does not respond to them: # tcpdump -i tap0 -ln 11:29:13.637048 arp who-has 10.0.80.74 tell 10.0.80.6 Is there any way to get the server to respond to arp requests on tap0 for the VIP? Maybe you've to do ARP Proxy on one side ? Try to add an ARP entry in the ARP table with arp (arp -s 1.2.3.4 MAC foo) .. This is all on FreeBSD 7.1 with OpenVPN 2.0.6 (both client and server). Regards, Sebastiaan -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jci...@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: mail server/webmail
On Thu, 2009-04-23 at 13:30 -0500, Adam Vande More wrote: Frederique Rijsdijk wrote: Liontaur wrote: Hi folks, I was searching around but i'm not quite sure what i'm looking for. I want to have a program that gets the mail from my ISP mail server (pop), stores the mail permanently, allows me webmail access, and also lets me grab the mail with a mail client (Outlook Express). I'd like to be able to sync the mail with outlook express also. Like if I send a mail over webmail, that sent mail will also go into the sent box in outlook express, or conversly, perhaps store all the mail on the server and have outlook express just show the folders and contents stored on the server. But i'd have to somehow upload all of the mail currently in my outlook express. I'll also need some kind of spam functionality as I get a sizable amount of spam. Currently I use K9 for spam and I quite like it. I guess you could start to look in the area of: - /usr/ports/mail/fetchmail (to fetch/store the mail) - /usr/ports/mail/dovecot (for access to the mail via imap) - /usr/ports/mail/squirremail or roundcube (webmail w/ imap) - /usr/ports/www/apache22 for the webmail As you're then using IMAP, any client that connects to dovecot will get the same set of mailfolders (sync). -- Frederique I've not used roundcube, but horde imp is a also an IMAP webmail client, and I find to be be a much better client than squirrelmail. _ Take a look at Hastymail too .. (version 2, because the port is still version 1) http://www.hastymail.org/ __ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jci...@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ZFS Question
On Wed, 2009-04-08 at 08:57 -0700, Amaru Netapshaak wrote: Hello, I am interested in using something like ZFS for its distributed nature. I run a file server with samba acting as a PDC. I also run a second server as a BDC. What I would like is a method for keeping both servers shared data drives in sync when both the PDC and BDC are running. I am currently doing an incremental update twice daily to the BDC using rsync over SSH. It works, but its just not good enough.. if the PDC goes down, anything created or altered after midnight or so, isnt propagated to the BDC. I understand I can use ZFS to accomplish this easily.. but from what I've read, you still need to manually push updates to the backup server over ssh via cron. So I would still have windows of time where the file systems would not be in sync.. am I heading in the wrong direction here? I am beginning to think I am.. I've been afraid of NFS for some time.. remembering back to the days when it was just not safe to use NFS. I may have carried that fear on irrationally.. is NFS a viable solution to my problem these days? Thanks for the advice! you could use ggated/ggatec together with gmirror +-+ AMARU ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jci...@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to remove all files with a certain extension
On Mon, 2009-04-06 at 16:57 -0400, John Almberg wrote: This is a real newbie question, but I can't figure it out... I want to remove all .tar files from a directory tree. I think something like the following should work, but I must have something wrong, because it doesn't: find . -name *.tar -exec rm /dev/null {} \; find . -type f -name *.tar -delete What am I doing wrong? Thanks: John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jci...@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Formatting a tape?
Try this : mt -f /dev/nsa0 rewind mt -f /dev/nsa0 weof 1 mt -f /dev/nsa0 rewind On Thu, 2009-03-19 at 12:15 -0400, Jaime wrote: I have a DLT tape drive in a FreeBSD system. With one of the tapes, I can get tar -cvpf /dev/sa0 -C / . to work. With all the other tapes, I can't. Is there some kind of formatting process that I need to do? I tried mt fsf 1 from this page: http://www.freebsd.org/doc/en/books/handbook/backups-tapebackups.html This didn't seem to work, though. Any help is appreciated, Jaime -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jci...@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
poor performances with Intel Raid Controller (iir)
Hello, I've a machine with an integrated Intel RAID controller (U320) which uses the iir driver. I have two arrays, one RAID 1 with two disks and one RAID 5 with 8 disks. The disks are all Seagate 320MB/s. The system is running FreeBSD 7.0-RELEASE with 8 processors (2,40 Ghz) and 4GB or RAM. I have very poor performances, around ~50 MB/s, is it normal ? jci...@bccm-it ~ % dd if=/dev/zero of=blah bs=10M count=100 100+0 records in 100+0 records out 1048576000 bytes transferred in 20.168689 secs (51990290 bytes/sec) Are there any tool to detect what could be the bottleneck(s) ? Thanks, Julien -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jci...@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: poor performances with Intel Raid Controller (iir)
On Fri, 2009-02-27 at 16:07 +0100, Wojciech Puchar wrote: Not sure, I admit that the card is quite old (4 years), but 50 MB/s seems really slow to me (especially for U320 SCSI) .. U320 means interface speed, not disk speed. yes, but the disks are 10k RPM U320 too .. for the price they cost (~500 € per unit I think) I expect to have a bit more than 50 MB/s .. -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jci...@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: poor performances with Intel Raid Controller (iir)
On Fri, 2009-02-27 at 15:37 +0100, Wojciech Puchar wrote: I've a machine with an integrated Intel RAID controller (U320) which uses the iir driver. I have two arrays, one RAID 1 with two disks and one RAID 5 with 8 disks. The disks are all Seagate 320MB/s. The system is running FreeBSD 7.0-RELEASE with 8 processors (2,40 Ghz) and 4GB or RAM. I have very poor performances, around ~50 MB/s, is it normal ? jci...@bccm-it ~ % dd if=/dev/zero of=blah bs=10M count=100 100+0 records in 100+0 records out 1048576000 bytes transferred in 20.168689 secs (51990290 bytes/sec) Are there any tool to detect what could be the bottleneck(s) ? are you sure it isn't NORMAL performance of this card. Not sure, I admit that the card is quite old (4 years), but 50 MB/s seems really slow to me (especially for U320 SCSI) .. i think it is, the hardware RAID solutions are usually much slower than software, even more with RAID5. I tend to use software RAID too (at least on system with multiple processors)... when I have choice. -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jci...@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: World doesn't build correctly
7_STABLE is incorrect. . = CURRENT RELENG_X = X-STABLE RELENG_X_Y = X.Y-RELEASE so you probably want RELENG_7 On Tue, 2009-02-17 at 20:14 +0100, Frank Wißmann wrote: Hello, list! When I try to build my new world with todays sources I don't get properly what I want. I configured my cvs-supfile with default tag=7_STABLE and all I get is this from dmesg: FreeBSD 7.0-RELEASE #0: Tue Feb 17 19:02:23 CET 2009 and from uname -a': FreeBSD grissom.einundvierzig.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Tue Feb 17 19:02:23 CET 2009 r...@grissom.einundvierzig.org:/usr/obj/usr/src/sys/GRISSOM amd64 What is going wrong here? Why isn't ther build a 7_STABLE as I desire? What do I need to change to get my wanted results? TIA Frank -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jci...@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Looking for a Good FreeBSD and General Unix Backup System
If you're looking for something serious (I mean with incremental/differential/full backups, retension periods, pools, multi platform, tape/file/dvd support, ...) I highly suggest Bacula (http://www.bacula.org). I use it successfully at work since two years (we used Amanda before) to backup 10+ machines (FreeBSD and Linux mainly) best regards, Julien On Tue, 2009-01-27 at 16:30 -0600, Martin McCormick wrote: Several months ago, I started using dar to backup a number of FreeBSD and Linux systems to one FreeBSD box. It worked fine once one got the syntax of the remote commands working, but then it all died when I moved it to a new FreeBSD6.3 system. If I can't figure out what is wrong or whether it is worth fixing, I am going to have to find some other archiver so we can get good backups and trust them to be easily restored. What we plan to do is backup a bunch of Unix systems to one FreeBSD box and then use a commercial package to back that box up to an enterprise-wide system we use. The archiver we need must be able to make 1 full backup of each system like tar and then incrementals until we are ready for another full backup. Any suggestions as to what is best? Dar seemed to be okay until the incrementals would hang each time with some error messages about the format version being too high which is bogus because we are using the same version for all the effected systems. The archive files should use tar or some other common storage method so we could unpack an archive from a Linux system in to a FreeBSD directory or vice versa. Any backup packages using tar would be fine as long as they can do incremental backups and use ssh as the transport. Any ideas are appreciated. Thank you. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Telecommunications Services Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jci...@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /libexec/ld-elf.so.1: Shared object libgcrypt.so.15 not found, required by libgs.so.8
vim /usr/ports/UPDATING: 20090107: AFFECTS: users of security/libgcrypt AUTHOR: ra...@freebsd.org libgcrypt has been upgraded to 1.4.3 which has a shared library version bump. You need to reinstall all ports depending on it. Use something like this: portupgrade -rf libgcrypt portmaster -r libgcrypt should be that .. On Mon, 2009-01-12 at 14:23 +, Anton Shterenlikht wrote: I get this error in /var/spool/lpd/my printer: /libexec/ld-elf.so.1: Shared object libgcrypt.so.15 not found, required by libgs.so.8 I use apsfilter, so I guess this must be something to do with ghostscript? Any advice? many thanks anton -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jci...@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how should I upgrade all these ports??
Always read /usr/ports/UPDATING before any upgrade. After that you can use portmaster (the one I use) or portupgrade to upgrade all those outdated ports with a single command : portmaster -avd On Mon, 2009-01-12 at 10:08 -0500, Tsu-Fan Cheng wrote: Hi, I just csup my port tree this morning (01/12), and realized there is a whole lot ports need my attention (49 of them). I checked out UPDATES and found out that gnome and GTK+ have just been updated. But i don't have gtkmm or gnome-session installed, I wonder if I should still upgrade my ports just as described in the UPDATES. Here is the list: === New version available: gnomehier-2.3_11 === New version available: lame-3.98.2_1 === New version available: libcheck-0.9.6 === New version available: ORBit2-2.14.16 === New version available: arts-1.5.10_1,1 === New version available: atk-1.24.0 === New version available: cairo-1.8.6,1 === New version available: consolekit-0.3.0_3 === New version available: dbus-1.2.4.2 === New version available: dbus-glib-0.78 === New version available: esound-0.2.41 === New version available: fontconfig-2.6.0,1 === New version available: gamin-0.1.10 === New version available: gconf2-2.24.0 === New version available: gio-fam-backend-2.18.4 === New version available: glib-2.18.4 === New version available: gnome-doc-utils-0.14.2 === New version available: gnome-icon-theme-2.24.0_2 === New version available: gnome-keyring-2.24.1_1 === New version available: gnome-vfs-2.24.0 === New version available: gtk-2.14.7 === New version available: gtk-engines2-2.16.1 === New version available: gvfs-1.0.3 === New version available: hal-0.5.11_10 === New version available: libbonobo-2.24.0 === New version available: libbonoboui-2.24.0 === New version available: libgnome-2.24.1 === New version available: libgnomeui-2.24.0 === New version available: libgsf-1.14.11 === New version available: libnotify-0.4.5 === New version available: librsvg2-2.22.3_1 === New version available: libsoup-2.24.2.1 === New version available: libxml2-2.7.2_1 === New version available: pango-1.22.4 === New version available: pixman-0.12.0 === New version available: policykit-0.9_2 === New version available: policykit-gnome-0.9.2 === New version available: py25-cairo-1.8.0_2 === New version available: py25-gobject-2.16.0 === New version available: py25-gtk-2.13.0_1 === New version available: py25-libxml2-2.7.2 === New version available: firefox-3.0.5_1,1 === New version available: firefox-3.0.a2_5,1 === New version available: gnome-menus-2.24.2 === New version available: intltool-0.40.5 === New version available: libgweather-2.24.2 === New version available: libwnck-2.24.2 === New version available: py25-orbit-2.24.0 === New version available: webkit-gtk2-1.0.1_4 === 49 have new versions available thank you!! TFC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jci...@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Backing Up ZFS
I would suggest Bacula, a bit hard to config but very flexible On Fri, 2008-12-19 at 12:52 +0100, Wojciech Puchar wrote: As ZFS is becoming more stable and approaching production ready, how would one Backup ZFS? In terms of backing up to an external media or storage rather than doing snapshots. In case the the server spontaneously bursts into flames. use tar it's filesystem independent if you have tape drives. actually you can tar to anything even multivolume backup using USB connected drivers. I'm just curious at what others are currently doing to back up huge amounts of data. eg. 2TB and onwards. 1. ZFS - External HDD (External HDD aren't even big enough to handle greater than 2TB) Taken offsite daily 2. ZFS - Another ZFS box (Not sure how you take it off site daily) 3. ZFS - Remote ZFS using RSync (Living in Australia, there are limits on data transfer of a few hundred GB per month, to costs are prohibitive) you don't require your backup target to have ZFS. all your 3 solutions are filesystem-independent ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jci...@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CMS suggestion on FreeBSD (except Mambo)
I would suggest Plone On Sat, 2008-12-13 at 22:26 +0900, munkhbayar batkhuu wrote: Dear all FreeBSD list members. One of my old FreeBSD-5.4 server is installed with Mambo (4.6.2 Bug Stomp Pre-Release 2, not installed from ports) and I'm going to upgrade this Content Management System (CMS) to FreeBSD-7 and tried to install Mambo via ports. New portaudit installed system says Mambo have security issue and can't be installed. And I'm not going to use Mambo. (I know Mambo have long standing history of security issues). It seems that Joomla will be installed fine (,however). My question is, Can you suggest me on more secure open source CMS?, which CMS are you using on FreeBSD?. Thanks in advance. Munkh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why FreeBSD not popular on hardware vendors
On Fri, 2008-12-12 at 00:23 +0100, Bernt Hansson wrote: Julien Cigar said the following on 2008-12-11 14:40: - Altough ports are fantastic, building things like OpenOffice or ... is just inhuman, especially when you cannot use -j for building ports (but it's being resolved I think). Of course you can use -j to build ports. Just cd to/your/port make -j8 install (clean) With portupgrade you use -m -j8 I'm not sure about this, as there is just a project in titled Allowing for parallel builds in the FreeBSD Ports on http://www.freebsd.org/projects/summerofcode-2008.html ... ? Every time I tried to build a port with -j it failed .. -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jci...@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Centralized DB of system users
On Fri, 2008-12-12 at 13:26 +0100, Ivan Voras wrote: 2008/12/12 Wojciech Puchar woj...@wojtek.tensor.gdynia.pl: I agree - NIS is easiest to setup, but LDAP is the right solution in this case (though it's very complicated to set up, especially the first why it is right solution? Interoperability. Today, with Linux, tomorrow, Windows or Mac OS X. Besides, it scales well and has a large number of supporting utilities. Off-topic, but do you know any good tool other than gq/phpldapadmin to manage/browse/... an LDAP server ? At the moment I've my own set of LDIF files that I use with ldap[add|delete|modify], but it's not very flexible .. A ncurses tool would be perfect. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jci...@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Centralized DB of system users
On Fri, 2008-12-12 at 14:12 +0100, Wojciech Puchar wrote: this case (though it's very complicated to set up, especially the first why it is right solution? Interoperability. Today, with Linux, tomorrow, Windows or Mac OS X. so not right but interoperable. if i do have only unix systems in LAN, NIS is much better easier and faster. for windows-only LAN with unix server, simply using samba is OK. Here all the machines use OpenLDAP with pam_ldap and nss_ldap with /home mounted on the file server, so that an user can login on every machine and find back his /home. We've also a domain controller which uses Samba and the same LDAP database. So you create the account once and the users can automatically login on the unix and windows machines. It works pretty well. I don't know NIS so much, but I think that LDAP has two advantages : the protocol, and it's use of (extensible) schemes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jci...@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why FreeBSD not popular on hardware vendors
On Thu, 2008-12-11 at 15:56 +0100, Wojciech Puchar wrote: - on almost all my machines I have problems with CD/DVD drives, mostly things like READ_BIG timeout, etc. I tried almost everything (disabling ACPI, DMA, upgrading the drive BIOS, etc), disabling DMA resolved some problems, but it's still impossible to burn a DVD for example. i don't have. i use only atapicam+cd driver, no acd. Of course I tried atapicam too (I even removed acd totally from the kernel), but it doesn't resolve the problem(s) - my mouse (a Logitec MX 300, USB) is still undetected at boot. Every time I have to unplug/plug it after boot. Not a big deal I admit, but boring. - USB mass storage plug/unplug sometimes causes system panic. I know never got such thing, except when i forgot to unmount except when i forgot to unmount - yep, the problem lies here, it's so natural to just unplug an USB device that this is a well known bug that require some rearchitecting and that a proper umount has always been the way to umount a drive, but, honestly, you cannot seriously convince someone to use FreeBSD with things like this ... - Altough ports are fantastic, building things like OpenOffice or ... is just inhuman, especially when you cannot use -j for building ports (but it's being resolved I think). Of course there are packages, but it's far less friendly to use (and manage) than apt-get/dpkg. you may pkg_add from ftp repository of course .. too bad that there is no pkg_upgrade -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: [EMAIL PROTECTED] @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Why FreeBSD not popular on hardware vendors
On Thu, 2008-12-11 at 17:10 +0100, Wojciech Puchar wrote: except when i forgot to unmount - yep, the problem lies here, it's so natural to just unplug an USB device it's so natural to unmount device before removing. at least in unix... true too .. :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Performance benchmarks pitting FreeBSD against Windows
What I find mist glaring when one moves from a Linux / FreeBSD system to a Windows system it's the virtual memory management, with the same amount of RAM Windows swaps a *lot* more. Regarding the usability, it's clear that they target different people, as Windows if mainly used by non-IT people .. On Fri, 2008-12-05 at 10:24 +0100, Wojciech Puchar wrote: I'm just curious to see how it looks for my own sanity's sake. At work, yes windows is much faster and much easier to use. it was told so many times on adverts and you still not understand that?! there are just strange people there that want to still use unix. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: [EMAIL PROTECTED] @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mass find/replace...
the following should work : $ find /home/horbury -type f -print0 | xargs -0 grep 'base64_decode' or : $ find /home/horbury -type f -exec grep 'base64_decode' {} \; On Thu, 2008-12-04 at 12:14 +, Marc Coyles wrote: Never had to do this so not sure where to start. Have googled and found some solutions but they don't particularly work (see below)... Someone has managed to inject php code into a PILE of php pages on my webserver... ? /**/eval(base64_decode('aWYoZnVuY3Rpb25fZXhpc3RzKCdvYl9zdGFydCcpJiYhaXNz ZXQoJEdMT0JBTFNbJ3NoX25vJ10pKXskR0xPQkFMU1snc2hfbm8nXT0xO2lmKGZpbGVfZXhp c3RzKCcvaG9tZS9ob3JidXJ5L3B1YmxpY19odG1sL3N0cmljdC9tb2R1bGVzL2Zja2VkaXRv ci9mY2tlZGl0b3IvZWRpdG9yL2ZpbGVtYW5hZ2VyL2Jyb3dzZXIvZGVmYXVsdC9pbWFnZXMv aWNvbnMvMzIvbWRsX3V0Zi5waHAnKSl7aW5jbHVkZV9vbmNlKCcvaG9tZS9ob3JidXJ5L3B1 YmxpY19odG1sL3N0cmljdC9tb2R1bGVzL2Zja2VkaXRvci9mY2tlZGl0b3IvZWRpdG9yL2Zp bGVtYW5hZ2VyL2Jyb3dzZXIvZGVmYXVsdC9pbWFnZXMvaWNvbnMvMzIvbWRsX3V0Zi5waHAn KTtpZihmdW5jdGlvbl9leGlzdHMoJ2dtbCcpJiYhZnVuY3Rpb25fZXhpc3RzKCdkZ29iaCcp KXtpZighZnVuY3Rpb25fZXhpc3RzKCdnemRlY29kZScpKXtmdW5jdGlvbiBnemRlY29kZSgk UjIwRkQ2NUU5Qzc0MDYwMzRGQURDNjgyRjA2NzMyODY4KXskUjZCNkU5OENERThCMzMwODdB MzNFNEQzQTQ5N0JEODZCPW9yZChzdWJzdHIoJFIyMEZENjVFOUM3NDA2MDM0RkFEQzY4MkYw NjczMjg2OCwzLDEpKTskUjYwMTY5Q0QxQzQ3QjdBN0E4NUFCNDRGODg0NjM1RTQxPTEwOyRS MEQ1NDIzNkRBMjA1OTRFQzEzRkM4MUIyMDk3MzM5MzE9MDtpZigkUjZCNkU5OENERThCMzMw ODdBMzNFNEQzQTQ5N0JEODZCJjQpeyRSMEQ1NDIzNkRBMjA1OTRFQzEzRkM4MUIyMDk3MzM5 MzE9dW5wYWNrKCd2JyxzdWJzdHIoJFIyMEZENjVFOUM3NDA2MDM0RkFEQzY4MkYwNjczMjg2 OCwxMCwyKSk7JFIwRDU0MjM2REEyMDU5NEVDMTNGQzgxQjIwOTczMzkzMT0kUjBENTQyMzZE QTIwNTk0RUMxM0ZDODFCMjA5NzMzOTMxWzFdOyRSNjAxNjlDRDFDNDdCN0E3QTg1QUI0NEY4 ODQ2MzVFNDErPTIrJFIwRDU0MjM2REEyMDU5NEVDMTNGQzgxQjIwOTczMzkzMTt9aWYoJFI2 QjZFOThDREU4QjMzMDg3QTMzRTREM0E0OTdCRDg2QiY4KXskUjYwMTY5Q0QxQzQ3QjdBN0E4 NUFCNDRGODg0NjM1RTQxPXN0cnBvcygkUjIwRkQ2NUU5Qzc0MDYwMzRGQURDNjgyRjA2NzMy ODY4LGNocigwKSwkUjYwMTY5Q0QxQzQ3QjdBN0E4NUFCNDRGODg0NjM1RTQxKSsxO31pZigk UjZCNkU5OENERThCMzMwODdBMzNFNEQzQTQ5N0JEODZCJjE2KXskUjYwMTY5Q0QxQzQ3QjdB N0E4NUFCNDRGODg0NjM1RTQxPXN0cnBvcygkUjIwRkQ2NUU5Qzc0MDYwMzRGQURDNjgyRjA2 NzMyODY4LGNocigwKSwkUjYwMTY5Q0QxQzQ3QjdBN0E4NUFCNDRGODg0NjM1RTQxKSsxO31p ZigkUjZCNkU5OENERThCMzMwODdBMzNFNEQzQTQ5N0JEODZCJjIpeyRSNjAxNjlDRDFDNDdC N0E3QTg1QUI0NEY4ODQ2MzVFNDErPTI7fSRSQzRBNUI1RTMxMEVENEMzMjNFMDRENzJBRkFF MzlGNTM9Z3ppbmZsYXRlKHN1YnN0cigkUjIwRkQ2NUU5Qzc0MDYwMzRGQURDNjgyRjA2NzMy ODY4LCRSNjAxNjlDRDFDNDdCN0E3QTg1QUI0NEY4ODQ2MzVFNDEpKTtpZigkUkM0QTVCNUUz MTBFRDRDMzIzRTA0RDcyQUZBRTM5RjUzPT09RkFMU0UpeyRSQzRBNUI1RTMxMEVENEMzMjNF MDRENzJBRkFFMzlGNTM9JFIyMEZENjVFOUM3NDA2MDM0RkFEQzY4MkYwNjczMjg2ODt9cmV0 dXJuICRSQzRBNUI1RTMxMEVENEMzMjNFMDRENzJBRkFFMzlGNTM7fX1mdW5jdGlvbiBkZ29i aCgkUkRBM0U2MTQxNEU1MEFFRTk2ODEzMkYwM0QyNjVFMENGKXtIZWFkZXIoJ0NvbnRlbnQt RW5jb2Rpbmc6IG5vbmUnKTskUjNFMzNFMDE3Q0Q3NkI5QjdFNkM3MzY0RkI5MUUyRTkwPWd6 ZGVjb2RlKCRSREEzRTYxNDE0RTUwQUVFOTY4MTMyRjAzRDI2NUUwQ0YpO2lmKHByZWdfbWF0 Y2goJy9cPGJvZHkvc2knLCRSM0UzM0UwMTdDRDc2QjlCN0U2QzczNjRGQjkxRTJFOTApKXty ZXR1cm4gcHJlZ19yZXBsYWNlKCcvKFw8Ym9keVteXD5dKlw+KS9zaScsJyQxJy5nbWwoKSwk UjNFMzNFMDE3Q0Q3NkI5QjdFNkM3MzY0RkI5MUUyRTkwKTt9ZWxzZXtyZXR1cm4gZ21sKCku JFIzRTMzRTAxN0NENzZCOUI3RTZDNzM2NEZCOTFFMkU5MDt9fW9iX3N0YXJ0KCdkZ29iaCcp O319fQ==')); ? This basically brings up a pile of spam links. I need to do a find / replace throughout the entire of the /home/horbury/public_html directory... I've tried 'find /home/Horbury/ -type f | xargs grep -l base64_decode' to get a list of the files that require the operation performing, but it comes up with an error (xargs: unterminated quote) after a few results... Any tips? Basically to find the above and remove it... otherwise I'll have to resort to doing it in Dreamweaver and reuploading, which is a major pita, or restoring from a backup (after working out when exactly this happened and how - I'm guessing thru a teacher's out of date wordpress install somewhere). Marc A Coyles - Horbury School ICT Support Team Mbl: 07850 518106 Land: 01924 282740 ext 730 Helpdesk: 01924 282740 ext 2000 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: [EMAIL PROTECTED] @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mod_auth_ldap
also : http://httpd.apache.org/docs/2.2/mod/mod_ldap.html On Wed, 2008-11-19 at 11:06 +0100, Peter Boosten wrote: Mel wrote: On Wednesday 19 November 2008 06:32:26 Peter Boosten wrote: Hi all, Anyone try to compile this one? It stops with a www/mod_auth_ldap (missing header) The header it cannot find is: mod_auth_ldap.c:61:24: error: apr_compat.h: No such file or directory The module is outdated. apr_compat.h was deprecated in Apache 2.0 and removed in Apache 2.2. Port has to be market BROKEN if APACHE_PORT == www/apache22 and fixed upstream. Mel, Thnx, that explains all. Do you know of any alternative for ldap authentication in apache22? Peter -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: [EMAIL PROTECTED] @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mod_auth_ldap
http://httpd.apache.org/docs/2.2/mod/mod_authnz_ldap.html On Wed, 2008-11-19 at 11:06 +0100, Peter Boosten wrote: Mel wrote: On Wednesday 19 November 2008 06:32:26 Peter Boosten wrote: Hi all, Anyone try to compile this one? It stops with a www/mod_auth_ldap (missing header) The header it cannot find is: mod_auth_ldap.c:61:24: error: apr_compat.h: No such file or directory The module is outdated. apr_compat.h was deprecated in Apache 2.0 and removed in Apache 2.2. Port has to be market BROKEN if APACHE_PORT == www/apache22 and fixed upstream. Mel, Thnx, that explains all. Do you know of any alternative for ldap authentication in apache22? Peter -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: [EMAIL PROTECTED] @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 7.1-BETA2 installation on ASUS P4S8X fails BIG MEDIUM ERROR
I've this problem too on almost all my machines. The only solution I've found is to disable DMA (atapi_dma), but then performances are very poor (and I'm still unable to burn a CD/DVD) On Tue, 2008-11-04 at 16:03 +0100, Christoph Kukulies wrote: Hi, don't know whether it's the CDROM drive (a Creative 52x mx) or the motherboard (ASUS P4S8X) or what. Anyway, I tried to install a recent version of FreeBSD (7.1-BETA2) and the installation hangs right in the boot process of the installation CD disc1. I see acd0: FAILURE - READ BIG MEDIUM ERROR asc=0x11 ascq=0x00 run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config and so on. Any clues? -- Christoph Kukulies ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: [EMAIL PROTECTED] @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
HP Proliant DL360 G5
Dear FreeBSD users, Our hardware begins to age and we plan to buy two new machines at HP. Our choice focused on the HP Proliant DL360 G5. As HP doesn't officially support FreeBSD, I checked with the 7.0-RELEASE Hardware Notes and everything seems to be supported, except the network interface which is an HP NC373i. From what I can see, only NC370i and NC370T are supported. Can someone confirm that this chip is not supported (and that the rest is OK) ? If you have other comments about our choice they are welcome too ... Thanks, Julien -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: [EMAIL PROTECTED] @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP Proliant DL360 G5
The one we plan to buy is this one (457922-421) : http://h10010.www1.hp.com/wwpc/be/fr/sm/WF06b/15351-15351-3328412-241475-241475-1121486-3633805.html It seems to be the same network chipset as in yours .. (https://h10057.www1.hp.com/ecomcat/hpcatalog/specs/provisioner/05/470064-731.htm) So I can consider that it's supported .. good! :-) Thanks for your answers On Wed, 2008-10-29 at 14:05 +0100, Olivier Mueller wrote: Hello, On Wed, 2008-10-29 at 13:27 +0100, Julien Cigar wrote: Our hardware begins to age and we plan to buy two new machines at HP. Our choice focused on the HP Proliant DL360 G5. As HP doesn't officially support FreeBSD, I checked with the 7.0-RELEASE Hardware Notes and everything seems to be supported, except the network interface which is an HP NC373i. From what I can see, only NC370i and NC370T are supported. Can someone confirm that this chip is not supported I have just got two new DL360G5 with xeon E5420 cpus (HP Ref Number: 470064-731), and the on-board network cards are seen from FreeBSD7 as: bce0: Broadcom NetXtreme II BCM5708 1000Base-T (B2) mem 0xf800-0xf9ff irq 18 at device 0.0 on pci3 miibus0: MII bus on bce0 brgphy0: BCM5708C 10/100/1000baseTX PHY PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bce0: Ethernet address: 00:21:5a:a6:8f:f0 bce0: [ITHREAD] bce0: ASIC (0x57081020); Rev (B2); Bus (PCI-X, 64-bit, 133MHz); F/W (0x01090605); Flags( MFW MSI ) So there are good chances it's the same on your setup? But maybe it's a new model of mainboard... regards HTH, Olivier -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: [EMAIL PROTECTED] @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: continuous backup solution for freebsd?
Bacula ? http://www.bacula.org I use it at work to backup linux and freebsd boxes and it works like a charm. On Mon, 2008-10-06 at 04:20 -0700, Jeremy Chadwick wrote: On Mon, Oct 06, 2008 at 12:58:30PM +0300, Evren Yurtesen wrote: Hello, Is there a known continuous backup solution similar to r1soft backup for FreeBSD? I googled a lot but couldnt find anything. R1soft says they need help to develop FreeBSD support in their product. Do you know anybody who can help r1soft on this issue? Please see: http://forum.r1soft.com/showpost.php?p=3414postcount=9 Would the GEOM gate class handle this? See ggatec(8) and ggated(8). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: continuous backup solution for freebsd?
Sorry for once more but: you can make incremental backups every x minutes with Bacula too .. it only takes one or two minutes on my box to scan for changed files for ~150GB (even faster if you tweak it a bit). It's not really a true continuous backup solution, but it's perfectly possible to restore directories/files for changes which occurred x minutes ago, and with retention periods of x days/months/years. On Mon, 2008-10-06 at 19:38 +0200, Roland Smith wrote: On Mon, Oct 06, 2008 at 12:58:30PM +0300, Evren Yurtesen wrote: Hello, Is there a known continuous backup solution similar to r1soft backup for FreeBSD? I googled a lot but couldnt find anything. I don't think so. The closest thing I know of is rsnapshot (http://www.rsnapshot.org/). My solution is to run rsync in a cron job. In my situation this takes about 5 minutes for approximately 100GB of data. The time it takes will obviously depend on the rate of change in the data. You could also use local snapshots with mksnap_ffs(8), to solve the oh shit I deleted my files situation. Roland ___ 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 compare 2 images from command line
/sbin/md5 image1.ext image2.ext ? On Tue, 2008-09-02 at 11:02 -0400, FreeBSD wrote: Hi everyone, I'm trying to determine if 2 jpeg images are identical. The images are screenshots taken with scrot at different times. The point is to know if the display is working correctly. I tried to use 'diff' but without success, probably because of the metadata included in the image. I also tried the 'compare' command from imagemagick, but it produce an image containing the difference between the 2 images instead of telling me if both images are identical. So, my question is what are you using to determine if 2 images are identical? I'm using FreeBSD 7.0 and I need to be able to script this comparaison for an integration in Nagios. Thank you, Martin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: [EMAIL PROTECTED] @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FW: Multi ISP Load Balancing...
Add a route and set the same metric to both interfaces .. ? On Fri, 2008-08-29 at 08:38 +0200, Marcel Grandemange wrote: I know this has probably been asked a thousand times but can someone give me an example with ipfw to do loadbalancing between two ISP's. We have two DSL links and realize that we wont get combined bandwidth. All I want is for BSD to choose the different ISP's based on a probability. One link is 512k Other 1Mb. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: [EMAIL PROTECTED] @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cloning a gmirrored hard drive
Stupid question: can't you use growfs on the existing gmirror (after replace /dev/oneofdisk, resync, replace /dev/otherdisk, resync) ? Is it mandatory to create a *new* gmirror ? Thanks On Mon, 2008-08-25 at 14:37 +0200, Wojciech Puchar wrote: Hi! My situation: I have a server with FBSD 7 installed with two 40 GB disks in RAID 1 (gmirror) config. Now I have noticed the lack of space on the drive so I am thinking to change these disks for two 160 GB. What is the best way to clone the main hard disk in raid 1 config? Is gmirror remove yourmirrorname /dev/oneofdisk shutdown and replace this one with 160GB boot single user make gmirror with this new 160GB drive (only one drive now so not real mirror) newfs and copy all data make it bootable, shutdown, remove second 40GB drive, add second 160GB drive, boot and then gmirror insert yournewmirror seconddrive that's all. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: [EMAIL PROTECTED] @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Disk errors on installing FreeBSD 7.0
Same problems for me with atapi CD/DVD drives (READ_BIG timeouts, etc) .. it works a bit better when dma is turned off, but then performances are very poor. On Thu, 2008-08-07 at 14:17 -1000, Al Plant wrote: N.J. Thomas wrote: * Snorre D. ?verb? [EMAIL PROTECTED] [2008-08-07 15:29:11+]: When I boot up with the installation DVD these error messages appear on the screen. ad1: FAILURE - READ_DMA status=51READY,DSC,ERROR error=84ICRC,ABORTED LBA=0055347 ad0: FAILURE - READ_DMA status=51READY,DSC,ERROR error=84ICRC,ABORTED LBA=0 etc I got the same exact errors trying to install 7.0-RELEASE on two different Dell boxes. One was 4 years old, the other was brand new (3 months ago). Never was able to fix the problem. For the older one, I plugged in an external DVD drive and installed via that. For the other one, I installed via a mini-install disk, and then did a minimal network install. For the record, they both had SATA drives and the disks worked (and still work) fine after the OS was installed. It was just copying the base system off the CD that was causing errors. Thomas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] 888 Aloha, I am getting the same errors as you guys with an intermittient BIG_read one occasionally. I've tried to install FreeeBSD CURRENT 8 and 7 release. This is on a no name box with a bio board and 1100 cpu. I've had this on other boxes too and load IDE drives on a box that works with them and then put them in the box with errors and they work just fine. Every thing gets recognized normally at install time, but the size of the IDE drive a Fujutsu 20 gig. shows twice what it should be every time. Dont know if this has anything to do with it, except if you change the size in installer it wont load anything. Maybe one of the top level gurus on the list can help. -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: [EMAIL PROTECTED] @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD for webserver?
At least ports-mgmt/portaudit, which check if installed ports have published security vulnerabilities. I don't use PHP, but I used to create a separate user for each webapp with a special login class, so I would run PHP in FCGI mode (with something like xcache) instead of mod_php. For the rest ... it's usually a question of configuration. On Wed, 2008-07-23 at 11:06 +0200, VeeJay wrote: Really good contribution I would of course go with ports but have a question in mind What should be installation sequience? 1. Apache 2.2.9 2. MySQL 5.1.26 3. PHP 5.2.6 And are there any options you guys would like to suggest to avoide for performance or security reasons? Regards VJ On Tue, Jul 22, 2008 at 10:05 PM, VeeJay [EMAIL PROTECTED] wrote: Hi there I am going to make 2 Webserver at my work going to handle 50 mil hits per month... They are using Linux already. But being a FreeBSD fan, I have proposed FreeBSD to my Boss convincing him that FreeBSD is more Fast and Secure solution for his needs... And now I want to show the results... *Hardware:* Dell PowerEdge 2950 III having 2 x CPU 3,0 GHz Intel Xeon L5450 Quad-Core 2x6MB cache WITH 16 GB RAM. *Tools:* 1. FreeBSD 7 Production Release 2. Apache 2.2.9 3. MySQL 5.1.26 4. PHP 5.2.6 My question is, *To get the speed, performance and security*: Should I use Ports or Packages to install all these tools One by One? *OR* Should I use TAR files and compile them manually. For example giving command line arguments and commands like ./configure --prefix=/www --enable-module=so make make install cd ../php-xxx ./configure --with-mysql --with-apxs=/www/bin/apxs make make install etc I have googled but still haven't reached to solution...personally I would prefer comiling them with command line arguments but then I seek some help from you guys i.e. How should I write this ./configure..stuff in FreeBSD and what would be the best options combination, I must choose to get the speed, performane and security in Apache, MySQL and PHP? Any suggestion is very welcomed! -- Thanks! BR / vj -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: [EMAIL PROTECTED] @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Linux for freebsd admins
Debian (not Ubuntu ..) On Fri, 2008-07-11 at 07:29 -0400, Ian Lord wrote: Hi, I am not trying to start a war linux vs freebsd or a long thread on which distribution is best. Just trying to get a quick answer here. I am an inconditional to freebsd and I love it. Unfortunately I have an application that doesn't support freebsd and only run on linux. I tried to run it for a week under freebsd and it doesn't work. I have to install a linux machine and don't know which distribution to take. I tried debian ubuntu and fedora and didn't like them. I want: - A basic install (not 900 packages installed by default - No gui, I like my flashing cursor - an equivalent of ports. I want to easily compile my ports I don't like prebuilt package. Want to retrieve them by cvs. - an equivalent to portupgrade. I gotta admit mabe the three I tried was able to do that, but I'm so negative about linux thay maybe I didn't see the good point of it. Could you tell me which distribution you are using when you have no choice and need to go to linux ? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: [EMAIL PROTECTED] @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
small question about GEOM and dedicated disk
Hello list, I just bought a new disk to make my backups (with Bacula). As this disk will be used by FreeBSD only I'd like to use the dedicated mode (no bootable). So far I used to do something like: # dd if=/dev/zero of=/dev/ad1 bs=1k count=1 # newfs -L foo -U /dev/ad1 # mount /dev/ufs/foo /foo It seems to work like a charm. However, in the handbook (section 18.3.2.2) the procedure is a bit longer : # dd if=/dev/zero of=/dev/da1 bs=1k count=1 # bsdlabel -Bw da1 auto # bsdlabel -e da1 # newfs /dev/da1e # mkdir -p /1 # vi /etc/fstab # mount /1 Some questions: - - Is it mandatory to create at least one partition (e in this case) ? - Is it normal that there are no slices in this example ? Is it common to create a partition without any slice in the dedicated mode ? - What are the differences between my method and the one in the handbook ? in advance thanks, Julien ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DVD Writer problems
I have also this problem on almost all my machines .. the only solution I found is to disable DMA (atapi_dma), but then performances are very poor .. If you find a solution please let us know :) On Wed, 2008-06-04 at 19:13 +1000, Jerahmy Pocott wrote: Hello, I'v been having problems getting this DVD drive working at all, I'm running on 6.3 p1.. On boot it is detected as: acd0: DMA limited to UDMA33, controller found non-ATA66 cable acd0: DVDR ATAPI DVD A DH20A4P/9P57 at ata0-master UDMA33 Which is the first sign of trouble, it is connected by an ATA66 capable cable and I'v tried swapping over the cable to rule out a faulty cable and the message is the same. It is connected to: atapci0: Intel ICH6 UDMA100 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf irq 16 at device 31.1 on pci0 ata0: ATA channel 0 on atapci0 ata1: ATA channel 1 on atapci0 When trying to use burncd on it, the drives light flashes for a while then after a delay I get: acd0: FAILURE - READ_TRACK_INFO ILLEGAL REQUEST asc=0x24 ascq=0x00 On the console and any further attempt to use the drive results in that message being repeated without any delay, also trying to use the atapiscsi device results in a similar message: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 Any thoughts on what problem here is? It seems that the controller isn't working properly with it? Cheers, J. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: [EMAIL PROTECTED] @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reverse proxy recommendation
I use Apache (2.2) with mod_proxy / mod_proxy_balancer ... works like a charm! On Sat, 2008-05-31 at 10:26 -0400, Thomas Mullins wrote: Hello, We have three internal web servers that we make accessible to the internet. Right now we simply use pf and port redirection. Works great. But, we would like to tighten up security. I know you can do this with squid, apache and a few others. Could someone please make a recommendation on what solutions they have used or seen in the past? Thanks Shane ___ 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: Large filesystems help/ideas
You cannot use fdisk slices/partitions with disks over 2TB. For those GPT should be used. More info is available from here : http://www.freebsd.org/projects/bigdisk On Wed, 2008-05-21 at 13:57 +0200, Matias Surdi wrote: Hi, I'm implementing a backup solution at work.We've bought a x86 server with two hardware raid 5 with for a total storage capacity of about 7Tb. For the software we are using for backups, the ideal scenario would be to have just one big disk so that no space problems would appear. I've tried to install FreeBSD 7 with no success, as it seems... the sysinstall tool doesn't support such big slices. I've read about the Large Data Storage on FreeBSD but I'm still confused. I've also thought on using slices of 1Tb, and join all them using vinum. What do you think about this last option? Thanks a lot 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] -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: [EMAIL PROTECTED] @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Large filesystems help/ideas
If you only have FreeBSD installed on the box or if you don't need slices/partitions you can just do newfs /dev/xxx (dedicate). vinum should not be used on 6.x and above, gvinum (GEOM + vinum) replaced it but I'm not sure if it's still actively supported/developped .. (?) Also, take a look at gconcat and unionfs. On Wed, 2008-05-21 at 15:24 +0200, Matias Surdi wrote: As far as I understand from the following sentence taken from the link you are pointing and the text following it: ...Many systems don't require an MBR or GPT, and even PCs don't require it if booting and inter-operating with other OS's is not required. The next limit that comes in, though, is with the BSD disklabel... I understand that I could have up to 8 slices of 2 Tb, with partitions (disklabel ones) inside each slice with up to 2Tb. Is that correct? What do you think about using this scheme and then join all them with vinum on a software raid-0 array? Thanks a lot for your time and help. Julien Cigar escribió: You cannot use fdisk slices/partitions with disks over 2TB. For those GPT should be used. More info is available from here : http://www.freebsd.org/projects/bigdisk On Wed, 2008-05-21 at 13:57 +0200, Matias Surdi wrote: Hi, I'm implementing a backup solution at work.We've bought a x86 server with two hardware raid 5 with for a total storage capacity of about 7Tb. For the software we are using for backups, the ideal scenario would be to have just one big disk so that no space problems would appear. I've tried to install FreeBSD 7 with no success, as it seems... the sysinstall tool doesn't support such big slices. I've read about the Large Data Storage on FreeBSD but I'm still confused. I've also thought on using slices of 1Tb, and join all them using vinum. What do you think about this last option? Thanks a lot 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: [EMAIL PROTECTED] @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: major CD errors when installing 7.0 (only 7.0)!
I have this problem too ... the only solution I've found is to disable DMA (hw.ata.atapi_dma). It partially resolve the problem, but it's still impossible to burn and performance are very poor (~ 2MB/s), etc ... On Tue, 2008-05-13 at 22:30 -0400, Joachim Rosenfeld wrote: I decided to upgrade my PC at home to FreeBSD 7.0, I've been running it at work and on my work laptop with no problems. But when I installed via the 7.0 disk 1, I received CD errors when I got to the point where it started copying the base distribution off the disk. When I booted off the same CD again, I saw something similar to the following: acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=... ascq=... At first I assumed that it was my CD ROM drive (which has never given any problems) or a bad CD, so I burned a FreeBSD 7.0 LiveDisk and tried that, same thing. I burned 7.0-bootonly from a different machine, and I got the same problem. The odd thing is that my 6.1 and 6.3 bootdisks don't have this error on startup (I confirmed that it is an issue on 7.0 by burning a brand new 6.3 disk and was able to install successfully). Clearly 7.0 causes something to barf on my CDROM drive. A web search for this error shows various people have had this problem on 4.6, 5.3, etc. Can anyone help? Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: [EMAIL PROTECTED] @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Intel SRCZCR Raid
Hello list, I have a motherboard with an Intel SRCZCR chipset. It works fine with the iir driver, but I wondered how could I check the status of the card/disks as Storcon is not available for FreeBSD 4.x (I run 7.0) ? Thanks, Julien ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: chmod operation on directories / files
sorry.. | xargs chmod instead of | xargs | chmod ... On Wed, 2008-05-07 at 16:14 +0200, Julien Cigar wrote: find your_dir -type (f|d) | xargs | chmod ... or find your_dir -type (f|d) -exec chmod {} \; On Wed, 2008-05-07 at 13:56 +0200, Zbigniew Szalbot wrote: Hello, How do I chmod separately files and directories? If I use chmod -R 644 then it will go through all the subdirectories assigning everything 644 permissions, directories including. Many thanks! -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: [EMAIL PROTECTED] @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: chmod operation on directories / files
find your_dir -type (f|d) | xargs | chmod ... or find your_dir -type (f|d) -exec chmod {} \; On Wed, 2008-05-07 at 13:56 +0200, Zbigniew Szalbot wrote: Hello, How do I chmod separately files and directories? If I use chmod -R 644 then it will go through all the subdirectories assigning everything 644 permissions, directories including. Many thanks! -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: [EMAIL PROTECTED] @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 7.0 - should I be using gvinum or gmirror/gstripe?
I would use gmirror + gstripe ... I'm not sure if gvinum is still actively developped .. (?) On Sun, 2008-04-20 at 14:34 -0500, Shelby Cain wrote: I'm toying with the idea of setting up a raid 1+0 array using 4 500GB sata drives. However, I can't seem to find any definitive answer as to whether I should be using gvinum or gmirror+gstripe to accomplish that goal. Does anyone have any links to resources (or just personal opinion) that provides guidelines for choosing between the two methods? Regards, Shelby Cain ___ 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]