RE: [SOLVED] FreeBSD and Greek support
Hi Giorgos. I like the changes you made and I think you should include this part to the article. It will help many Greek users out there :) Regards, Dimitris -Original Message- From: Giorgos Keramidas [mailto:[EMAIL PROTECTED] Sent: Monday, June 16, 2008 2:27 AM To: Dimitris Giakoudis Cc: Nikos Kokkalis; freebsd-questions@freebsd.org Subject: Re: [SOLVED] FreeBSD and Greek support On Sun, 15 Jun 2008 22:59:10 +0300, Dimitris Giakoudis [EMAIL PROTECTED] wrote: So, x11-fonts/webfonts was the missing part of the puzzle :) Now, greek web pages seem pretty nice. Nikos, I think you should include this to the article. Hi Dimitris. Thanks for taking the time to post a [SOLVED] message. I've prepared a proposed change/addition to the article, which is now online in diff/patch format at: http://hg.hellug.gr/freebsd/doc-el/rev/96b47edf541f The text is in Greek, so it would be nice if you could review the section I added (the 'green' lines). Then if both you and Nikos like the changes, I can commit it to the main CVS tree too. Cheers, Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flashplugin
Unfortunately, I don't think Adobe is likely to give a damn about people who would switch to FreeBSD (or FreeBSD spin-off like PC-BSD) if there do we need whole lot FreeBSD users? no. after certain amount of users quality starts to go down. the same was with linux whether there's a current, stable Flash player available. Adobe wants market penetration -- which it's just as happy to get by people being stuck on MS Windows as by any other means. simply don't use flash if it's author don't want you to do it - as that's what exactly is. they want only windoze and linux users to use flash, so don't use it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
internet slowdown
we have 2 freebsd7 servers using pf with static ip addresses through our cable company (shaw cable) connecting our internal network to the outside. the servers do websites, email and nameserve (bind94) sometimes one or both become sluggish letting us connect to websites. the ping times become 10+ times as long. pinging the servers from the outside also slows down. whenever we reboot the servers, everything is fine again for several hours and then the speed starts fluctuating and then eventually everything slows down again. (however the several hours is not certain either because i just rebooted and everything slowed down after a few minutes this time). i tried /etc/netstart and that speeded things up for a few pings only. doing a systat shows the cpu to be idle more than 90% of the time. we are presently trying to figure out netstat. we never experienced this issue with freebsd 6.3 which we ran for several months. we've run freebsd7 since the beginning of june and this problem seemed to start showing up within the first week. i am not sure where to look in order to solve this problem - specifically which log files might provide some clues regarding the net. suggestions please? -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flashplugin
On Mon, 16 Jun 2008 09:17:12 +0200 (CEST) Wojciech Puchar [EMAIL PROTECTED] wrote: simply don't use flash if it's author don't want you to do it - as that's what exactly is. they want only windoze and linux users to use flash, so don't use it. i don't use flash - don't need to see all those advertizements. and quite frankly, i generally find flash sites irritating anyway. i occasionally like to see some things on youtube (classical music videos), but i found i could just download them and use ffmpeg to convert. i'd rather wait for gnash to come up to speed - or not bother. -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
usb modem on freebsd 7.0
Hi, I am trying to use a usb modem (sony ericsson w810i) (gprs). The dmesg log shows up that the new device has been detected, but I don't seem to find that in /dev. I also tried using /dev/cuad0 in ppp configuration file in /etc/ppp but i am unable to dial What can be the problem ? ( I already have done kldload ucmodem ) -Abhinav ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flashplugin
flash, so don't use it. i don't use flash - don't need to see all those advertizements. and quite frankly, i generally find flash sites irritating anyway. i don't use it because sites that RELY on flash rarely (almost never) have any useful contents. i occasionally like to see some things on youtube (classical music videos), but i found i could just download them and use ffmpeg to youtube-dl from ports is nice script that do all that. you just give a link to this. youtube made people so dumb that they can't just put their movies on some server making it HTTP/FTP accessible, they have to put it on youtube and get converted to crap-quality. the movies are at best - recognizable. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: usb modem on freebsd 7.0
Hi, I am trying to use a usb modem (sony ericsson w810i) (gprs). The dmesg log shows up that the new device has been detected, but I don't seem to find that in /dev. ttyU*, cuaU* What can be the problem ? ( I already have done kldload ucmodem ) is it recognized as umodem? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: usb modem on freebsd 7.0
Abhinav Lele wrote: Hi, I am trying to use a usb modem (sony ericsson w810i) (gprs). The dmesg log shows up that the new device has been detected, but I don't seem to find that in /dev. I also tried using /dev/cuad0 in ppp configuration file in /etc/ppp but i am unable to dial What can be the problem ? ( I already have done kldload ucmodem ) ^^^ if that should read `umodem', then device is accessed through `ucom' driver, and ucom(4) manpage lists following devices: FILES /dev/cuaU? /dev/ttyU? If none are present, could you paste your dmesg? -Abhinav HTH, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Enforce minimal file/ dir permissions
Hi... on my filer I have to enforce minimal file permission of 664 for files and 755 for directorys. no user should be able to change them to a value less than that. any ideas how to do this? greetz olli ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
problem with dovecot and mysql at boot
Hello. In my rc.conf, I have: dovecot_enable=YES mysql_enable=YES At boot, I have this error: Jun 16 12:34:16 trinite dovecot: auth-worker(default): mysql: Connect failed to localhost (panel): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) - waiting for 1 seconds before retry I think it's because mysql is started after dovecot. How resolve this, and specify to launch dovecot after mysql is running? Best regards, -- -Nicolas. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problem with dovecot and mysql at boot
Nicolas Letellier wrote: Hello. In my rc.conf, I have: dovecot_enable=YES mysql_enable=YES At boot, I have this error: Jun 16 12:34:16 trinite dovecot: auth-worker(default): mysql: Connect failed to localhost (panel): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) - waiting for 1 seconds before retry I think it's because mysql is started after dovecot. How resolve this, and specify to launch dovecot after mysql is running? Best regards, Are you sure this is what's happening? I have mysql and dovecot, and dovecot starts after mysql in my system. Try something like rcorder /etc/rc.d/* /usr/local/etc/rc.d/* or dmesg -a |more to see the startup order. Do you actually have to start it by hand after boot, or does it really start on the retry? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Move data from 3ware RAID-1 disk to MB disk
Hi, I have FreeBSD 7.0 with 3ware 8006-2LP RAID-1 controller hosted at hetzner.de. Now I want remove 3ware controller, and to stay with motherboard controller. Is it possible to do without data loss? I suggest to move one disk to motherboard controller, than boot via LAN to Linux rescue, and than do dd from 3ware to MB disk. Is it possible to do so or I will copy 3ware RAID table, and MB disk will not be bootable? Kind Regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Move data from 3ware RAID-1 disk to MB disk
Hi, I have FreeBSD 7.0 with 3ware 8006-2LP RAID-1 controller hosted at hetzner.de. Now I want remove 3ware controller, and to stay with motherboard controller. Is it possible to do without data loss? I suggest to move one disk to motherboard controller, than boot via LAN to Linux rescue, and than do dd from 3ware to MB disk. Is it possible to do so or I will copy 3ware RAID table, and MB disk will not be bootable? Kind Regards I freebsd detect the onboard controller and the drives on it, all you need to do is to make sure /etc/fstab points to the right disks. Now it probberly points to /dev/twe0s1* and so on if your onboard controller uses ad then it needs to be changed to /dev/da0s1* Make sure you have backups!! Regards, Johan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenOffice 2.4.1: still getting compilation error in FBSD 7.0-STABLE
O. Hartmann wrote: Hello, I still get this error since OO 2.4 was offered via ports (OO 2.3 did well). I was wondering if someone has no solution to this sticky error. Can anyone help? Regards, Oliver In case it's any use to you, openoffice.org-3 (openoffice.org-3.0.0.b_1) does build with make -DWITHOUT_MOZILLA -DWITH_TTF_BYTECODE_ENABLED also with just make openoffice.org-3.0.0.b failed with make LOCALIZED_LANG=en-GB I'm just testing openoffice.org-3.0.0.b_1 with make -DWITHOUT_MOZILLA -DWITH_TTF_BYTECODE_ENABLED LOCALIZED_LANG=en-GB Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Enforce minimal file/ dir permissions
In response to Mister Olli [EMAIL PROTECTED]: Hi... on my filer I have to enforce minimal file permission of 664 for files and 755 for directorys. no user should be able to change them to a value less than that. any ideas how to do this? Look at MAC and the bsdextended module (filesystem firewall): http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mac.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mac-bsdextended.html -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: internet slowdown
In response to prad [EMAIL PROTECTED]: we have 2 freebsd7 servers using pf with static ip addresses through our cable company (shaw cable) connecting our internal network to the outside. the servers do websites, email and nameserve (bind94) sometimes one or both become sluggish letting us connect to websites. the ping times become 10+ times as long. pinging the servers from the outside also slows down. whenever we reboot the servers, everything is fine again for several hours and then the speed starts fluctuating and then eventually everything slows down again. (however the several hours is not certain either because i just rebooted and everything slowed down after a few minutes this time). i tried /etc/netstart and that speeded things up for a few pings only. doing a systat shows the cpu to be idle more than 90% of the time. we are presently trying to figure out netstat. we never experienced this issue with freebsd 6.3 which we ran for several months. we've run freebsd7 since the beginning of june and this problem seemed to start showing up within the first week. i am not sure where to look in order to solve this problem - specifically which log files might provide some clues regarding the net. suggestions please? Is the console responsive when this happens? It doesn't sound like a CPU issue to me -- ICMP messages are low enough CPU overhead that the system would have to be pretty badly bogged for CPU starvation to cause problems. What do your network traffic graphs show during the slowdowns? Perhaps some sort of network flood occurring? -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
stunnel 4.25 and portdowngrade
Hi there, I am in a bit of a peculiar situation. So I upgraded to stunnel 4.25 now. but since I upgraded the binary I find that the CPU is tacked and also eventually the ports it is supposed to be answering for no longer get answered. So I decided since 4.24 was working perfectly to portdowngrade. I follow the standard procedure and stunnel 4.25 is installed again instead of stunnel 4.24 any suggestions here? machine: 6.2-RELEASE-p11 Cheers, Noah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RAID 1 / disk error / Offline uncorrectable sectors
Hello, I'd like to ask your advice. We have RAID 1 / SATA turned on in BIOS. A couple of days ago smartd let me know about a disk problem. Jun 14 01:13:38 relay kernel: ad12: FAILURE - READ_DMA48 status=51READY,DSC,ERROR error=40UNCORRECTABLE LBA=374468863 Jun 14 01:13:38 relay kernel: ar0: WARNING - mirror protection lost. RAID1 array in DEGRADED mode Jun 14 01:14:19 relay kernel: ad12: WARNING - WRITE_DMA taskqueue timeout - completing request directly Jun 14 01:14:19 relay kernel: ad12: WARNING - WRITE_DMA48 freeing taskqueue zombie request Jun 14 01:37:38 relay smartd[683]: Device: /dev/ad12, 1 Currently unreadable (pending) sectors Jun 14 01:37:38 relay smartd[683]: Device: /dev/ad12, 1 Offline uncorrectable sectors If I do smarctl -a /dev/ad12 I get 197 Current_Pending_Sector 0x0012 100 100 000Old_age Always - 1 198 Offline_Uncorrectable 0x0010 100 100 000Old_age Offline - 1 My understanding is that RAID 1 no longer works because of this error. There is a bad sector on HD (Offline uncorrectable sectors) and the best we can do is replace the drive? Does it make sense to try to turn RAID 1 on ignoring this error (however, this is done in BIOS so the machine would have to be taken down in order to do that)? It seems serious enough for me not to ignore it but then I know close to nothing about HDs. Many thanks for your suggestions! Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RAID 1 / disk error / Offline uncorrectable sectors
In response to Zbigniew Szalbot [EMAIL PROTECTED]: A couple of days ago smartd let me know about a disk problem. Jun 14 01:13:38 relay kernel: ad12: FAILURE - READ_DMA48 status=51READY,DSC,ERROR error=40UNCORRECTABLE LBA=374468863 Jun 14 01:13:38 relay kernel: ar0: WARNING - mirror protection lost. RAID1 array in DEGRADED mode Jun 14 01:14:19 relay kernel: ad12: WARNING - WRITE_DMA taskqueue timeout - completing request directly Jun 14 01:14:19 relay kernel: ad12: WARNING - WRITE_DMA48 freeing taskqueue zombie request Jun 14 01:37:38 relay smartd[683]: Device: /dev/ad12, 1 Currently unreadable (pending) sectors Jun 14 01:37:38 relay smartd[683]: Device: /dev/ad12, 1 Offline uncorrectable sectors If I do smarctl -a /dev/ad12 I get 197 Current_Pending_Sector 0x0012 100 100 000Old_age Always - 1 198 Offline_Uncorrectable 0x0010 100 100 000Old_age Offline - 1 My understanding is that RAID 1 no longer works because of this error. There is a bad sector on HD (Offline uncorrectable sectors) and the best we can do is replace the drive? Does it make sense to try to turn RAID 1 on ignoring this error (however, this is done in BIOS so the machine would have to be taken down in order to do that)? It seems serious enough for me not to ignore it but then I know close to nothing about HDs. Replace the hard drive. Every modern hard drive keeps extra space available to remap bad sectors. This happens magically behind the scenes without you ever knowing about it. Once you've hit uncorrectable errors, it means your re-mappable sectors are used up, and that means the drive is on its last legs. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Move data from 3ware RAID-1 disk to MB disk
Dear Johan, But hetzner support told me that data will be lost if connect disk to motherboard controller: If we connect the HDD's on the Mainboard-controller, they were detected as empty HDD, because the controller write the sectors in a other way, like the RAID-controler! But I think that maybe 3ware writes their RAID table somewhere near MBR record. So maybe I have to rewrite MBR and that disk will work on motherboard controller? I have backups, but this is production system, and I want to switch to MB controller with minimal downtime. Kind Regards 2008/6/16 Johan Hendriks [EMAIL PROTECTED]: Hi, I have FreeBSD 7.0 with 3ware 8006-2LP RAID-1 controller hosted at hetzner.de. Now I want remove 3ware controller, and to stay with motherboard controller. Is it possible to do without data loss? I suggest to move one disk to motherboard controller, than boot via LAN to Linux rescue, and than do dd from 3ware to MB disk. Is it possible to do so or I will copy 3ware RAID table, and MB disk will not be bootable? Kind Regards I freebsd detect the onboard controller and the drives on it, all you need to do is to make sure /etc/fstab points to the right disks. Now it probberly points to /dev/twe0s1* and so on if your onboard controller uses ad then it needs to be changed to /dev/da0s1* Make sure you have backups!! Regards, Johan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Move data from 3ware RAID-1 disk to MB disk
On Mon, Jun 16, 2008 at 05:19:43PM +0400, Stanislav wrote: Dear Johan, But hetzner support told me that data will be lost if connect disk to motherboard controller: If we connect the HDD's on the Mainboard-controller, they were detected as empty HDD, because the controller write the sectors in a other way, like the RAID-controler! That is probably correct. But I think that maybe 3ware writes their RAID table somewhere near MBR record. Maybe. So maybe I have to rewrite MBR and that disk will work on motherboard controller? Maybe, but you don't know how you should rewrite the MBR (i.e. what should be written to it), and neither do I (and probably not the people at hetzner either.) You could try asking the 3Ware people directly, but I doubt they support such an operation. I have backups, but this is production system, and I want to switch to MB controller with minimal downtime. That might not be possible. One of the drawbacks with real hardware-RAID is that each controller (or at least each manufacturer) has its own format and it is usually not possible to move disks between different controllers without losing the data on them. Kind Regards 2008/6/16 Johan Hendriks [EMAIL PROTECTED]: Hi, I have FreeBSD 7.0 with 3ware 8006-2LP RAID-1 controller hosted at hetzner.de. Now I want remove 3ware controller, and to stay with motherboard controller. Is it possible to do without data loss? I suggest to move one disk to motherboard controller, than boot via LAN to Linux rescue, and than do dd from 3ware to MB disk. Is it possible to do so or I will copy 3ware RAID table, and MB disk will not be bootable? Kind Regards I freebsd detect the onboard controller and the drives on it, all you need to do is to make sure /etc/fstab points to the right disks. Now it probberly points to /dev/twe0s1* and so on if your onboard controller uses ad then it needs to be changed to /dev/da0s1* Make sure you have backups!! -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problem with dovecot and mysql at boot
On Mon, 16 Jun 2008 14:08:40 +0300 Manolis Kiagias [EMAIL PROTECTED] wrote: Nicolas Letellier wrote: Hello. In my rc.conf, I have: dovecot_enable=YES mysql_enable=YES At boot, I have this error: Jun 16 12:34:16 trinite dovecot: auth-worker(default): mysql: Connect failed to localhost (panel): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) - waiting for 1 seconds before retry I think it's because mysql is started after dovecot. How resolve this, and specify to launch dovecot after mysql is running? Best regards, Are you sure this is what's happening? I have mysql and dovecot, and dovecot starts after mysql in my system. Try something like rcorder /etc/rc.d/* /usr/local/etc/rc.d/* or dmesg -a |more to see the startup order. Do you actually have to start it by hand after boot, or does it really start on the retry? Ok, the problem is due to my my.cnf. However, I cannot explain which value of this file causes this problem. I deleted it, and after reboot, the probleme has disapeared. I re-cp it, and reboot, and the problem was not here. I think sometimes, and with my.cnf options, mysql is too slow to be launched, and then, dovecot and others applications could have a problem. So, I cannot explain this problem. On the other hand, it was not -big- problem, just a warning. -- -Nicolas. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenOffice 2.4.1: still getting compilation error in FBSD 7.0-STABLE
Chris Whitehouse wrote the following, On 06/16/08 14:20: O. Hartmann wrote: Hello, I still get this error since OO 2.4 was offered via ports (OO 2.3 did well). I was wondering if someone has no solution to this sticky error. Can anyone help? Regards, Oliver In case it's any use to you, openoffice.org-3 (openoffice.org-3.0.0.b_1) does build with make -DWITHOUT_MOZILLA -DWITH_TTF_BYTECODE_ENABLED also with just make openoffice.org-3.0.0.b failed with make LOCALIZED_LANG=en-GB I'm just testing openoffice.org-3.0.0.b_1 with make -DWITHOUT_MOZILLA -DWITH_TTF_BYTECODE_ENABLED LOCALIZED_LANG=en-GB Chris for me (fbsd 7.0) ooo2.4.1 (OOo_OOH680_m17_source.tar.bz2) and ooo-3-devel (OOo_DEV300_m19_source.tar.bz2) both compile and work well. I did upgrade via: portugrade -m 'LOCALIZED_LANG=en-GB -DWITH_TTF_BYTECODE_ENABLED -DWITHOUT_MOZILLA' Cheers, Simon -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Enforce minimal file/ dir permissions
On Jun 16, 2008, at 7:21 AM, Bill Moran wrote: Look at MAC and the bsdextended module (filesystem firewall): http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mac.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mac-bsdextended.html I've recently been looking at those myself, and while I think that I have developed some limited understanding in principle about how MAC works, I need a great deal more practical guidance. Is there some extended tutorial with cookbook or other resource that will actually help someone who doesn't fully grok this work out a policy and rules that will do more good than harm? Yes, I've used google, but haven't yet come across what I need. Cheers, -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Portaudit - auditfile.tbz failure of download.
Hello all, anyone having issues with portaudit download of the auditfile.tbz? mine seems to just stall. I'm using portaudit .0.5.2 with -Fda switches. Thanks Ezat ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: problem with dovecot and mysql at boot
Nicolas Letellier wrote: Hello. In my rc.conf, I have: dovecot_enable=YES mysql_enable=YES At boot, I have this error: Jun 16 12:34:16 trinite dovecot: auth-worker(default): mysql: Connect failed to localhost (panel): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) - waiting for 1 seconds before retry I think it's because mysql is started after dovecot. How resolve this, and specify to launch dovecot after mysql is running? Best regards, Are you sure this is what's happening? I have mysql and dovecot, and dovecot starts after mysql in my system. Try something like rcorder /etc/rc.d/* /usr/local/etc/rc.d/* or dmesg -a |more to see the startup order. Do you actually have to start it by hand after boot, or does it really start on the retry? Ok, the problem is due to my my.cnf. However, I cannot explain which value of this file causes this problem. I deleted it, and after reboot, the probleme has disapeared. I re-cp it, and reboot, and the problem was not here. I think sometimes, and with my.cnf options, mysql is too slow to be launched, and then, dovecot and others applications could have a problem. So, I cannot explain this problem. On the other hand, it was not -big- problem, just a warning. Does you're my.cnf file contains an entry that needs to be resolved by dns and if so can it be resolved! Maybe named is not started before mysql. Try setting that entry in /etc/hosts. Regards, Johan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD+mpd freeze after connection establishing
Hello, dear guru. I have problem with subj. After start mpd as client and connecting to other mpd-server FreeBSD freeze. No any log messages, kernel panics, etc. Here is part of mpd.conf: pptp_client: create bundle static B1 set iface route default set ipcp ranges 0.0.0.0/0 0.0.0.0/0 create link static L1 pptp set link action bundle B1 set auth authname auk set auth password answerss set link max-redial 0 set link mtu 1460 set link keep-alive 20 75 set pptp peer startext.tomsk.ru set pptp disable windowing open Some ideas what could it be? Thanks in advance, Alexey A. Ukhov ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RAID 1 / disk error / Offline uncorrectable sectors
Dear all, Bill Moran: My understanding is that RAID 1 no longer works because of this error. There is a bad sector on HD (Offline uncorrectable sectors) and the best we can do is replace the drive? Does it make sense to try to turn RAID 1 on ignoring this error (however, this is done in BIOS so the machine would have to be taken down in order to do that)? It seems serious enough for me not to ignore it but then I know close to nothing about HDs. Replace the hard drive. Every modern hard drive keeps extra space available to remap bad sectors. This happens magically behind the scenes without you ever knowing about it. Once you've hit uncorrectable errors, it means your re-mappable sectors are used up, and that means the drive is on its last legs. Thank you Bill. One last question. RAID 1 is off now (degraded) and the hosting company is asking if I can try to bring it up (to check if it will work). They have given me this link http://www.freebsd.org/doc/en/books/handbook/raid.html. The problem is that as far as I understand we are not using gmirror but RAID 1 turned on in BIOS (although it is also software-based). Thank you very much in advance! Zbigniew Szalbot www.lc-words.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problem with dovecot and mysql at boot
On Mon, 16 Jun 2008 15:59:21 +0200 Johan Hendriks [EMAIL PROTECTED] wrote: Does you're my.cnf file contains an entry that needs to be resolved by dns and if so can it be resolved! Maybe named is not started before mysql. Try setting that entry in /etc/hosts. No, it does not contains any domains. It's just the my-medium.cnf. -- -Nicolas. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [SOLVED] FreeBSD and Greek support
On Mon, 16 Jun 2008 09:37:38 +0300, Dimitris Giakoudis [EMAIL PROTECTED] wrote: Giorgos Keramidas wrote: Hi Dimitris. Thanks for taking the time to post a [SOLVED] message. I've prepared a proposed change/addition to the article, which is now online in diff/patch format at: http://hg.hellug.gr/freebsd/doc-el/rev/96b47edf541f The text is in Greek, so it would be nice if you could review the section I added (the 'green' lines). Then if both you and Nikos like the changes, I can commit it to the main CVS tree too. Hi Giorgos. I like the changes you made and I think you should include this part to the article. It will help many Greek users out there :) Committed, thanks! The changes should appear online after the next automated rebuild of our docs :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD+mpd freeze after connection establishing
also want to add: it looks that system itself works if gateway was not changed. Example - after connecting I have new interface ng0, but old gateway # ifconfig ng0 ng0: flags=88d1UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST metric 0 mtu 1460 inet 10.10.1.201 -- 10.10.1.100 netmask 0x As only I assign 10.10.1.100 as defaul gateway system freeze after first packet. Alexey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RAID 1 / disk error / Offline uncorrectable sectors
Zbigniew Szalbot wrote: Dear all, Bill Moran: My understanding is that RAID 1 no longer works because of this error. There is a bad sector on HD (Offline uncorrectable sectors) and the best we can do is replace the drive? Does it make sense to try to turn RAID 1 on ignoring this error (however, this is done in BIOS so the machine would have to be taken down in order to do that)? It seems serious enough for me not to ignore it but then I know close to nothing about HDs. Replace the hard drive. Every modern hard drive keeps extra space available to remap bad sectors. This happens magically behind the scenes without you ever knowing about it. Once you've hit uncorrectable errors, it means your re-mappable sectors are used up, and that means the drive is on its last legs. Thank you Bill. One last question. RAID 1 is off now (degraded) and the hosting company is asking if I can try to bring it up (to check if it will work). They have given me this link http://www.freebsd.org/doc/en/books/handbook/raid.html. The problem is that as far as I understand we are not using gmirror but RAID 1 turned on in BIOS (although it is also software-based). Thank you very much in advance! Zbigniew Szalbot www.lc-words.com Hey Zbigniew ;) I understand you are using the ataraid (ar) driver. I always use gmirror, but it seems they pointed you to the right place in the handbook. Look at section 18.4.3 - you would probably need to do something like: # atacontrol list From the list, get the ATA channel for /dev/ad12 which is the faulty one, e.g. ata2 Detach and re-attach (maybe this will reset the state of the drive) atacontrol detach ata2 atacontrol attach ata2 atacontrol addspare ar0 ad12 atacontrol rebuild ar0 I've done more or less the same with gmirror when I had similar messages a few months back. It may work for a few hours/days but it will fail again. Have it replaced ASAP. Manolis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RAID 1 / disk error / Offline uncorrectable sectors
Replace the hard drive. Every modern hard drive keeps extra space available to remap bad sectors. This happens magically behind the scenes without you ever knowing about it. Once you've hit uncorrectable errors, it means no. usually it means that there was an error when writing that sector, and later there is an error on read. madia may be good (quite often is). if you would be right i wouldn't have my disk running one year after having whole block of uncorrectable errors i just rewrote that blocks and they are readable. drive HAS TO know about bad media to remap, and no HDDs today perform verification ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RAID 1 / disk error / Offline uncorrectable sectors
Hello Manolis, I understand you are using the ataraid (ar) driver. I always use gmirror, but it seems they pointed you to the right place in the handbook. Look at section 18.4.3 - you would probably need to do something like: # atacontrol list ATA channel 6: Master: ad12 ST3250310NS/SN04 Serial ATA v1.0 Slave: no device present ATA channel 0: Master: no device present Slave: no device present ATA channel 1: Master: no device present Slave: no device present ATA channel 2: Master: no device present Slave: no device present ATA channel 3: Master: no device present Slave: no device present ATA channel 4: Master: no device present Slave: no device present ATA channel 5: Master: ad10 ST3250310NS/SN04 Serial ATA v1.0 Slave: no device present ATA channel 6: Master: ad12 ST3250310NS/SN04 Serial ATA v1.0 Slave: no device present ATA channel 7: Master: no device present Slave: no device present ATA channel 8: Master: no device present Slave: no device present ATA channel 9: Master: no device present Slave: no device present ATA channel 10: Master: no device present Slave: no device present So in this case it would be ata6? Sorry for asking confirmation for every step but it is just so new to me! And thanks for the list of steps to perform! Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RAID 1 / disk error / Offline uncorrectable sectors
On Mon, Jun 16, 2008 at 04:41:15PM +0200, Wojciech Puchar wrote: Replace the hard drive. Every modern hard drive keeps extra space available to remap bad sectors. This happens magically behind the scenes without you ever knowing about it. Once you've hit uncorrectable errors, it means no. usually it means that there was an error when writing that sector, and later there is an error on read. madia may be good (quite often is). if you would be right i wouldn't have my disk running one year after having whole block of uncorrectable errors i just rewrote that blocks and they are readable. drive HAS TO know about bad media to remap, and no HDDs today perform verification Also, remapping can only happen if the error is encountered on a write operation. If there is an error on read the drive cannot remap, since it does not know what data should be there. (A good RAID implementation could however handle a read error by reading the corresponding sector from the other disks(s) in the array and write it back to the failing disk, probably causing it to remap the block.) (Write errors is however usually a strong indication that the drive should be replaced ASAP.) -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RAID 1 / disk error / Offline uncorrectable sectors
Zbigniew Szalbot wrote: Hello Manolis, I understand you are using the ataraid (ar) driver. I always use gmirror, but it seems they pointed you to the right place in the handbook. Look at section 18.4.3 - you would probably need to do something like: # atacontrol list ATA channel 6: Master: ad12 ST3250310NS/SN04 Serial ATA v1.0 Slave: no device present ATA channel 0: Master: no device present Slave: no device present ATA channel 1: Master: no device present Slave: no device present ATA channel 2: Master: no device present Slave: no device present ATA channel 3: Master: no device present Slave: no device present ATA channel 4: Master: no device present Slave: no device present ATA channel 5: Master: ad10 ST3250310NS/SN04 Serial ATA v1.0 Slave: no device present ATA channel 6: Master: ad12 ST3250310NS/SN04 Serial ATA v1.0 Slave: no device present ATA channel 7: Master: no device present Slave: no device present ATA channel 8: Master: no device present Slave: no device present ATA channel 9: Master: no device present Slave: no device present ATA channel 10: Master: no device present Slave: no device present So in this case it would be ata6? Sorry for asking confirmation for every step but it is just so new to me! And thanks for the list of steps to perform! Zbigniew Szalbot Yes, it is ata6 Give it a try, if the problem is serious enough, it will probably not even finish rebuild :( ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RAID 1 / disk error / Offline uncorrectable sectors
(Write errors is however usually a strong indication that the drive should be replaced ASAP.) he got read error... but your sentence alone is true of course. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RAID 1 / disk error / Offline uncorrectable sectors
Hi Manolis, Yes, it is ata6 Give it a try, if the problem is serious enough, it will probably not even finish rebuild :( Detaching and ataching went well but when I issued atacontrol addspare ar0 ad12 it said atacontrol: ioctl(IOCATARAIDADDSPARE): Device busy I am not sure if that means I should wait or rather that it is mission impossible? Thanks! Zbigniew Szalbot smime.p7s Description: S/MIME Cryptographic Signature
Re: RAID 1 / disk error / Offline uncorrectable sectors
Zbigniew Szalbot wrote: Hi Manolis, Yes, it is ata6 Give it a try, if the problem is serious enough, it will probably not even finish rebuild :( Detaching and ataching went well but when I issued atacontrol addspare ar0 ad12 it said atacontrol: ioctl(IOCATARAIDADDSPARE): Device busy I am not sure if that means I should wait or rather that it is mission impossible? Thanks! Zbigniew Szalbot Try atacontrol status ar0 Since you haven't actually removed/replaced ad12 you may simply have to continue with: atacontrol rebuild ar0 but see what status says first. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RAID 1 / disk error / Offline uncorrectable sectors
Hello, Manolis Kiagias: Try atacontrol status ar0 ar0: ATA RAID1 status: DEGRADED subdisks: 0 ad10 ONLINE 1 MISSING Since you haven't actually removed/replaced ad12 you may simply have to continue with: atacontrol rebuild ar0 I'll try it now. Thanks! Zbigniew Szalbot smime.p7s Description: S/MIME Cryptographic Signature
Re: RAID 1 / disk error / Offline uncorrectable sectors
Hello, Manolis Kiagias: Try atacontrol status ar0 Since you haven't actually removed/replaced ad12 you may simply have to continue with: atacontrol rebuild ar0 atacontrol rebuild ar0 atacontrol: ioctl(IOCATARAIDREBUILD): Input/output error So it looks like it cannot be done? Zbigniew Szalbot smime.p7s Description: S/MIME Cryptographic Signature
Re: RAID 1 / disk error / Offline uncorrectable sectors
Zbigniew Szalbot wrote: Hello, Manolis Kiagias: Try atacontrol status ar0 ar0: ATA RAID1 status: DEGRADED subdisks: 0 ad10 ONLINE 1 MISSING Since you haven't actually removed/replaced ad12 you may simply have to continue with: atacontrol rebuild ar0 I'll try it now. Thanks! Zbigniew Szalbot Ok, ad12 is missing, so it seems it was detached but not reattached. try again: atacontrol attach ata6 If this succeeds, atacontrol addspare ar0 ad12 atacontrol rebuild ar0 If attach fails, then someone at the remote site may have to physically detach / reattach the disk in question. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RAID 1 / disk error / Offline uncorrectable sectors
Hello one last time, Manolis Kiagias: Ok, ad12 is missing, so it seems it was detached but not reattached. try again: atacontrol attach ata6 $ sudo atacontrol attach ata6 atacontrol: ioctl(IOCATAATTACH): File exists Thank you all for a lot of suggestions! Zbigniew Szalbot smime.p7s Description: S/MIME Cryptographic Signature
Re: RAID 1 / disk error / Offline uncorrectable sectors
Zbigniew Szalbot wrote: Hello one last time, Manolis Kiagias: Ok, ad12 is missing, so it seems it was detached but not reattached. try again: atacontrol attach ata6 $ sudo atacontrol attach ata6 atacontrol: ioctl(IOCATAATTACH): File exists Thank you all for a lot of suggestions! Zbigniew Szalbot As a last resort, you could also try: atacontrol reinit ata6 and try reattaching again ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RAID 1 / disk error / Offline uncorrectable sectors
Hello, As a last resort, you could also try: atacontrol reinit ata6 and try reattaching again Thank you Manolis - you have been more than patient with me! Unfortunately, the result is still the same. OK. I am going to ask our hosting company to replace the drive. Again, many thanks for your help! Zbigniew Szalbot smime.p7s Description: S/MIME Cryptographic Signature
Re: FreeBSD + ZFS on a production server?
Just a small hint: You should configure your MUA to produce proper attribution lines. Wojciech Puchar wrote: Oliver Fromme wrote: A broken processor usually results in random crashes, not silent data corruption. result in both in my practice. with broken companion chips (chipset) it's silent data corruption is common, while crashes can be under specific cases. that's from what i've got. I've never had a broken processor that did not result in crashes, but maybe I've been just lucky. :-) or even calculate checksum right of wrong data generated by badly operating programs. What do you mean, wrong data generated by programs? If wrong data generated by program because of hardware problem. In that case the input to the program would have to be bad already. A broken disk (or controller) doesn't cause a program to produce wrong output, unless it feeds bad input to the program. And ZFS would catch that. You usually notice it when it's too late and the last good backup media was already recycled. not that bad, but of course - i make backups. But you don't keep every backup forever, do you? (I.e. it would rather be an archive instead of a backup. That would cost a lot of space.) In my case it was a disk with media surface errors, and the disk failed to report the error properly to the OS. Instead it just returned bad data. so i am just happy to never having it, while normal disk failures are quite common.. Yes, fortunately normal disk failures (i.e. reported to the OS so they are clearly noticed) are more common than silent corruption. ZFS may help detect it, or it may not. if it helped for you. Please stop spreading FUD. There is no may or may not. If a disk returns bad data, ZFS _will_ detect it. please read more carefully. i didn't say it. You did. I quoted it. i just say that disk returning bad data is very rare case, Yes, fortunately it is rare. But it does happen. And when it happens, ou are in very serious trouble. For example, on the -stable list Goran Lowkrantz reported on Saturday a corruption on one of his file systems due to a flipped bit in a directory node. He didn't use ZFS, but was lucky to notice the problem because of strange size entries in that directory. He had to use fsdb(8) surgery to fix it. Personally I would recommend to not use that disk anymore, because you never know in what other files bits could be flipped, without you noticing so easily. Well, or use ZFS on that disk -- then you're guaranteed to notice. lots of other - more frequent - hardware problems will not be detected. That's speculative. Personally I don't think so. if you like to give lots of CPU power and disk bandwidth for calculation You're spreading FUD again. The cpu time required for generating and verifying the checksums is very low, and the disk bandwidth is almost zero. i just say it doesn't make lot of protection against bad hardware, not worth the expense. Well, if the integrity of your files isn't important to you ... Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd That's what I love about GUIs: They make simple tasks easier, and complex tasks impossible. -- John William Chambless ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [Ports] How to find where a port is located?
Gilles [EMAIL PROTECTED] wrote: Currently, to find where a software is located under /usr/ports/, I rune the find command. Is there a database that I could query instead so that it gives out the whole path to that the application? In addition to the ways that others have suggested, there is also this one: http://www.secnetix.de/tools/porgle/ Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd Documentation is like sex; when it's good, it's very, very good, and when it's bad, it's better than nothing. -- Dick Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: High load, lots of free memory and processes in devfs state
Does anybody have any ideas about this problem? So far today I've tried moving memcache off this machine, played with a few settings in httpd.conf but nothing seems to make a difference. Any help would be greatly appreciated. I'm rapidly losing what's left of my hair!! -Stut On 15 Jun 2008, at 18:18, Stut wrote: Hi, I'm having a serious problem with one of my FreeBSD servers. It runs FreeBSD 6.2-RELEASE, Apache 2.2.8 and PHP 5.2.1. I've checked the hardware and it's all OK. There's approximately 400 Apache processes running and a 2GB memcached instance. Up until last weekend this server was working perfectly at a level of HTTP traffic higher than it's currently getting. Last week our database server (separate server) died and had to be rebuilt. While this was being done this server hosted the database. This has now been completed and the PHP app is pointing back at the dedicated DB server. Top shows the following... last pid: 26838; load averages: 10.22, 14.06, 13.55 up 2+00:34:47 18:03:43 619 processes: 1 running, 618 sleeping CPU states: 4.9% user, 0.0% nice, 24.8% system, 0.4% interrupt, 70.0% idle Mem: 2241M Active, 2718M Inact, 462M Wired, 394M Cache, 214M Buf, 1747M Free Swap: 8192M Total, 124K Used, 8192M Free PIDUIDTHR PRI NICE SIZERES STATE C TIME WCPU COMMAND 26807 80 1 -40 79892K 9996K devfs 0 0:00 2.81% httpd 26797 80 1 -40 82376K 12592K devfs 1 0:00 2.19% httpd 26791 80 1 -40 82376K 12636K devfs 0 0:00 1.85% httpd 26783 80 1 -40 82392K 12640K devfs 3 0:00 1.84% httpd 26780 80 1 -40 79892K 10036K devfs 0 0:00 1.51% httpd 26801 80 1 -40 81292K 11104K devfs 3 0:00 1.50% httpd 26786 80 1 -40 80456K 10796K devfs 1 0:00 1.41% httpd 26784 80 1 -40 79892K 10036K devfs 0 0:00 1.41% httpd 26785 80 1 -40 81304K 11228K devfs 0 0:00 1.41% httpd 26763 80 1 -40 83220K 13752K devfs 1 0:00 1.24% httpd ...etc... As you can see there's plenty of free memory and the CPU is 70% idle yet the load is sky high. When it's like this it's impossible to do anything - every command can take anything from a few seconds to a few minutes to respond - and the web user experience is shot to pieces. I can't find a reference that explains what the devfs state indicates. SA shows the following... [EMAIL PROTECTED]:~# sa 150107 242633.24re 1548.32cp 13avio 801k 31174 192785.02re 1488.13cp 32avio 502k httpd* 7047 6286.71re 21.53cp 67avio 2854k php 7703 164.83re 14.65cp3avio 743k convert 8 19.82re9.47cp 5016avio1k gzip 7703 177.66re7.70cp2avio 1352k composite 4 18.90re3.69cp1avio3k mysqldump 90.80re0.76cp 23avio 144k bzip2 64.16re0.53cp22998avio 1731k find 2890 1126.31re0.45cp0avio 175988k perl* 5415 40.83re0.32cp 11avio 123676k rateup 300914948.72re0.32cp3avio 9512k smtp 247 1812.85re0.27cp 440avio 945k cleanup 7 163.69re0.18cp0avio 105k top 167 1809.71re0.11cp 183avio 1117k pickup 2667 797.34re0.07cp0avio29671k trivial- rewrite 1820 96.40re0.02cp0avio 141901k ps 17 1482.98re0.02cp1avio 1083k sshd* 35629 6318.10re0.01cp0avio 18016816k sh 15232 391.68re0.01cp0avio 935430k sendmail 599 1223.30re0.01cp 28avio44065k bounce 70.95re0.01cp8avio 596k sa 35 1952.66re0.01cp 11avio16013k ***other 250.07re0.01cp 18avio 1447k rm 15232 203.94re0.00cp7avio 2994436k postdrop 611.20re0.00cp5avio34481k git 3 123.65re0.00cp 12avio 796k mail 92 345.77re0.00cp0avio34405k scache 312.13re0.00cp 66avio 7115k newsyslog 6 2140.32re0.00cp 14avio 6835k bash 5463 290.01re0.00cp0avio 2584397k grep 5 1479.06re0.00cp 17avio 3878k sshd 1830 99.75re0.00cp0avio 1221440k wc 42.86re0.00cp2avio13472k less 30.46re0.00cp0avio10048k pgrep 68 27.44re0.00cp0avio69632k sh* 35.06re0.00cp1avio
Re: how to view environment variables
Chris Whitehouse wrote: sysutils/fusefs-ntfs/files/README.FreeBSD refers to various environment variables, eg UBLIO_BLOCKSIZE and others. How do I find out what they are set to? set and printenv don't find them. I'm using standard csh and FreeBSD 7.0-STABLE, fuse.ko is loaded and ntfs-3g works except it seems very slow. The env command prints the environment variables of your current shell (should work with any shell). To view the environment variables of another process, use something like ps -ewwp 1234 (1234 being the PID number). This requires PROCFS to be mounted on /proc. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd The scanf() function is a large and complex beast that often does something almost but not quite entirely unlike what you desired. -- Chris Torek ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenOffice 2.4.1: still getting compilation error
I think your best bet (if you want to use OO) is to use PC-BSD. There is a PBI package already available for it. Just my two cents, Bono Vince Malum -- -Camilo Date: Sun, 15 Jun 2008 11:44:55 + From: O. Hartmann [EMAIL PROTECTED] Subject: OpenOffice 2.4.1: still getting compilation error in FBSD 7.0-STABLE To: freebsd-questions@freebsd.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-15; format=flowed Hello, I still get this error since OO 2.4 was offered via ports (OO 2.3 did well). I was wondering if someone has no solution to this sticky error. Can anyone help? Regards, Oliver rm -f ../unxfbsdx.pro/lib/check_libvcl680fx.so mv ../unxfbsdx.pro/lib/libvcl680fx.so ../unxfbsdx.pro/lib/check_libvcl680fx.so /usr/ports/editors/openoffice.org-2/work/OOH680_m17/solenv/bin/checkdll.sh -L../unxfbsdx.pro/lib -L/usr/ports/editors/openoffice.org-2/work/OOH680_m17/solver/680/unxfbsdx.pro/lib ../unxfbsdx.pro/lib/check_libvcl680fx.so Checking DLL ../unxfbsdx.pro/lib/check_libvcl680fx.so ...: ERROR: ../unxfbsdx.pro/lib/check_libvcl680fx.so: Undefined symbol _ZNK7icu_3_814LEFontInstance17getDynamicClassIDEv dmake: Error code 1, while making '../unxfbsdx.pro/lib/libvcl680fx.so' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice.org-2/work/OOH680_m17/vcl/util dmake: Error code 1, while making 'build_instsetoo_native' ---* *--- *** Error code 255 Stop in /usr/ports/editors/openoffice.org-2. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD+mpd freeze after connection establishing
Alexey A. Ukhov wrote: I have problem with subj. After start mpd as client and connecting to other mpd-server FreeBSD freeze. No any log messages, kernel panics, etc. One of the most popular PPTP client problems is the routing loop created by using same server address inside and outside of tunnel. In such case address inside of tunnel with /32 netmask usually more preferred for the system and it makes all tunnel traffic wrap inside tunnel itself causing unpredictable results. Addresses inside and outside of tunnel _MUST_BE_DIFFERENT_! In some cases problem can be workarounded with some firewall forwarding or some other alike techniques. -- Alexander Motin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RAID 1 / disk error / Offline uncorrectable sectors
Bill Moran wrote: Zbigniew Szalbot wrote: [...] Jun 14 01:13:38 relay kernel: ad12: FAILURE - READ_DMA48 status=51READY,DSC,ERROR error=40UNCORRECTABLE LBA=374468863 [...] Replace the hard drive. Every modern hard drive keeps extra space available to remap bad sectors. This happens magically behind the scenes without you ever knowing about it. Once you've hit uncorrectable errors, it means your re-mappable sectors are used up, and that means the drive is on its last legs. That's not completely true. When a disk drive encounters a bad sector during a read operation, it will remember the bad sector address, but it is unable to transparently remap the sector because it doesn't know that correct contents of the sector. So it has to report the unrecoverable error to the OS, even if there's still plenty of space for remapping sectors. Upon the next write operation to a sector marked as bad, the drive will finally remap it and write the data to a spare location. Therefore, getting uncorrectable errors does *not* mean that the drive has used up its spare sectors. You only need to overwrite the bad sectors (e.g. with dd(1))so the drive gets a chance to remap them. Of course, it might still be a good idea to replace the drive anyway. It depends on the cause of the bad sectors (mechanical or electrical). If you had a head crash (caused by mechanical impact or a media manufacturing error or whatever), it is possible that it caused debris within the drive which will cause further bad blocks. This can lead to a snowball effect that can really exhaust all spare sectors quickly. On the other hand, if the bad sectors where caused by a voltage spike, a power failure or similar, chances are that the drive is fine and you can continue to use it after making sure that the bad sectors are remapped (by overwriting them, see above). Finally, there is also the possibility that the problem is caused by a bug in the drive's firmware. If that's the case, I would be inclined to replace the drive with a different brand. However, I guess all drives have bugs ... the question is whether they affect you. Another question is whether it's possible at all to find out what caused the problem in the first place. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd What is this talk of 'release'? We do not make software 'releases'. Our software 'escapes', leaving a bloody trail of designers and quality assurance people in its wake. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Enforce minimal file/ dir permissions
In response to Jeffrey Goldberg [EMAIL PROTECTED]: On Jun 16, 2008, at 7:21 AM, Bill Moran wrote: Look at MAC and the bsdextended module (filesystem firewall): http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mac.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mac-bsdextended.html I've recently been looking at those myself, and while I think that I have developed some limited understanding in principle about how MAC works, I need a great deal more practical guidance. Is there some extended tutorial with cookbook or other resource that will actually help someone who doesn't fully grok this work out a policy and rules that will do more good than harm? In my experience, there is a tremendous dearth of information on this topic, and it's not much better on the Linux side where MAC is call SE Linux. At this time, I think you're going to have to rely on your own experimenting to fully understand how everything works. Hopefully that will improve with time. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: High load, lots of free memory and processes in devfs state
Stut [EMAIL PROTECTED] wrote: I'm having a serious problem with one of my FreeBSD servers. It runs FreeBSD 6.2-RELEASE, Apache 2.2.8 and PHP 5.2.1. I've checked the hardware and it's all OK. There's approximately 400 Apache processes running and a 2GB memcached instance. Up until last weekend this server was working perfectly at a level of HTTP traffic higher than it's currently getting. Last week our database server (separate server) died and had to be rebuilt. While this was being done this server hosted the database. This has now been completed and the PHP app is pointing back at the dedicated DB server. Top shows the following... last pid: 26838; load averages: 10.22, 14.06, 13.55 up 2+00:34:47 18:03:43 619 processes: 1 running, 618 sleeping CPU states: 4.9% user, 0.0% nice, 24.8% system, 0.4% interrupt, 70.0% idle Mem: 2241M Active, 2718M Inact, 462M Wired, 394M Cache, 214M Buf, 1747M Free Swap: 8192M Total, 124K Used, 8192M Free PIDUIDTHR PRI NICE SIZERES STATE C TIME WCPU COMMAND 26807 80 1 -40 79892K 9996K devfs 0 0:00 2.81% httpd 26797 80 1 -40 82376K 12592K devfs 1 0:00 2.19% httpd 26791 80 1 -40 82376K 12636K devfs 0 0:00 1.85% httpd 26783 80 1 -40 82392K 12640K devfs 3 0:00 1.84% httpd [...] Please let vmstat 5 run for a minute ... Anything that looks unusual? Have you checked dmesg? Is this FreeBSD i386 (32bit) or amd64 (64bit)? Have you considered updating? 6.2-RELEASE isn't the freshest anymore. You might even consider going to 7-stable and using the new ULE scheduler which copes better with SMP servers. As you can see there's plenty of free memory and the CPU is 70% idle yet the load is sky high. Well, load 10 isn't that much for a 4-way SMP system. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd Perl will consistently give you what you want, unless what you want is consistency. -- Larry Wall ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
NATD crash in 7.0-stable
Hiya, I'm having problems with NAT crashing my FreeBSD box. This never happened in 6.x but in 7.x it's predictable for me. Any time I use either of my two NICs for my internal net my FreeBSD box hangs and requires power cycling to reboot. My guess is that some option changed between 6.x and 7.x and I simply missed it, or that I have something configured completely improperly, but after hours of tinkering I've yet to fix the problem. Initially I figured it might be NAT in PPP which was causing the problem, so I backed it out and used NATD but the same thing happens to me. uname info: 7.0-STABLE FreeBSD 7.0-STABLE #0: Sun Jun 15 21:35:13 PDT 2008 my ipfw rules: 00100 0 0 check-state 00200 1678471 126337051 skipto 3000 ip from any to 69.229.113.78 in recv tun0 00210 0 0 deny log ip from any to any in recv vr0 03000 61 4548 divert 8668 ip from any to any via fxp0 03100 0 0 deny ip from 192.168.32.0/24 to any in recv vr0 *snip* My FreeBSD box runs PPP on vr0 and my lan runs on fxp0. I've switched them and the freeze-up continues. The host on my LAN is 192.168.32.10, my internal interface is 192.168.32.1 and my external interface is 69.229.113.78. my /usr/local/etc/natd.conf: #unregistered_only #log_ipfw_denied redirect_address192.168.32.10 69.229.113.74 #punch_fw 25:50 interface fxp0 I commented out a few lines to test it bare-bones. No luck. I added these to my kernel config, which is otherwise a very standard GENERIC kernel config: options IPFIREWALL options IPDIVERT the related entries from /etc/rc.conf: ppp_enable=YES ppp_mode=ddial #ppp_nat=YES ppp_profile=sbc gateway_enable=YES my /etc/ppp/ppp.conf: default: set log Phase Chat LCP IPCP CCP tun command set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 192.168.0.0/16 sbc: set device PPPoE:vr0 set authname [EMAIL PROTECTED] set authkey MYPASSWORD set dial set login set mru 1492 set mtu 1492 accept lqr set crtscts off set speed sync enable dns add default HISADDR set log Phase Chat LCP IPCP CCP tun command set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 192.168.0.0/16 # NAT nat enable yes nat log no # nat same_ports yes # nat unregistered_only yes nat addr 192.168.32.10 69.229.113.73 Again, NAT is turned off in PPP at the moment and I'm using /sbin/natd Machine connects to the net and works great until I try to use the LAN. the LAN works for a few seconds, maybe serving up a web page or two and then...freeze up. I never saw the machine recover from this situation though there is a crash dump in /var/crash from late last night after I wasn't paying attention: # ls -lart /var/crash total 218618 -rw-r--r-- 1 root wheel 5 Feb 24 09:53 minfree drwxr-xr-x 25 root wheel512 Jun 15 23:12 .. -rw--- 1 root wheel462 Jun 15 23:12 info.0 -rw-r--r-- 1 root wheel 2 Jun 15 23:12 bounds drwxr-x--- 2 root wheel512 Jun 15 23:12 . -rw--- 1 root wheel 225533952 Jun 15 23:12 vmcore.0 here is my dmesg: Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-STABLE #0: Sun Jun 15 21:35:13 PDT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/bigshed Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Sempron(tm) 3000+ (1999.79-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x6a0 Stepping = 0 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE AMD Features=0xc0480800SYSCALL,MP,MMX+,3DNow!+,3DNow! real memory = 2080309248 (1983 MB) avail memory = 2025955328 (1932 MB) ACPI APIC Table: HP-CPC AWRDACPI ioapic0 Version 0.3 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: HP-CPC AWRDACPI on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a (3) failed acpi0: reservation of 10, 7bef (3) failed Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0 cpu0: ACPI CPU on acpi0 acpi_button0: Power Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 agp0: VIA 8235/8237 (Apollo KM400/KM400A) host to PCI bridge on hostb0 agp0: aperture size is 64M pcib1: PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 vgapci0: VGA-compatible display mem 0xe400-0xe7ff,0xe800-0xe8ff irq 16 at device 0.0 on pci1 fxp0: Intel 82557 Pro/100 Ethernet port 0x9000-0x901f mem 0xeb10-0xeb100fff,0xeb00-0xeb0f irq 16 at device 8.0 on pci0 miibus0: MII bus on fxp0 nsphy0: DP83840 10/100 media interface PHY 1 on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX,
Re: Flashplugin
On Mon, 16 Jun 2008 09:53:05 +0200 (CEST) Wojciech Puchar [EMAIL PROTECTED] wrote: flash, so don't use it. i don't use flash - don't need to see all those advertizements. and quite frankly, i generally find flash sites irritating anyway. i don't use it because sites that RELY on flash rarely (almost never) have any useful contents. However, there are many banking institutions that use Flash. I also belong to several 'Officials Associations' that require the use of Flash. They are using Flash, not just to make my life easier, but to simplify theirs. All this nonsense about using third party programs to download content from sites such as, but not limited to YouTube, is just unacceptable. If I navigate to a URL, I fully expect to be able to view all of that site's content as easily using FreeBSD as I can using Window's with IE. or even Firefox. Anything less is just not acceptable. -- Gerard [EMAIL PROTECTED] A free society is one where it is safe to be unpopular. Adlai Stevenson signature.asc Description: PGP signature
Re: Help Installing Sun JDK on FreeBSD
Ok so it seems i still have some other issues... :( I have previously successfully installed the diablo JDK on the official compatible versions (FreeBSD 5.5 and 6.1) But I need to have JDK installed in numerous versions of FreeBSD. In this case i need it on 5.0 version The problem I have now is getting it installed in my FreeBSD 5.0 system So i tried to pkg_add the diablo-jdk-freebsd5.i386.1.5.0.07.01.tbz from this http://www.freebsdfoundation.org/downloads/java.shtml website (the package is meant for FreeBSD5.5, but its the closest thing available for the 5.0) Like in all the other times I've installed it (on the compatible versions)... it asked for the XORG libraries and the javavmwrapper-2.0_6. I managed to install the XORG Libraries manually and it works... so the only thing i am not able to install is the javavmwrapper which i need I've tried numerous methods: Method 1: cd /usr/ports/java/javavmwrapper make install clean The result make: fatal errors encountered -- cannot continue And yes my ports tree is updated Method 2: pkg_add -r ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages/Latest/javavmwrapper.tbz In this method not only does it display the ...is in the future messages, but at the end it says pkg_add: write_plist: unknown command type -1 (kaffe-1.*) Can anyone please let me know how i can get javavmwrapper installed so i can install the JDK on FreeBSD5.0??? Vince Hoffman wrote: triggerme2ice wrote: Hi all, I was wondering if anyone would know of a brute force way of installing the (newest possible) sun JDK on FreeBSD 5.0 (or any other versions for further info) Help a freeBSD user in need :teeth: The latest version in ports is 1.6.0.3p4 if you need more receent than that then no idea. If thats ok then cd /usr/port/java/jdk16 make Follow the instructions Also see http://www.freebsd.org/java/ 5.x has just been announce as no longer supported by ports though, although support wont be removed, just not updated and checked as changes are made. You will need a current jdk to compile it though and need to get the source files manually. To get a jdk to compile it I'd recommend installing the package from http://www.freebsdfoundation.org/downloads/java.shtml Although you could install one of the linux-sun-jdk* ports if you prefer. you can pkg_delete the old jdk once you have the new one installed. Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Help-Installing-Sun-JDK-on-FreeBSD-tp17628876p17870203.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Upgrading problem: confused dependencies
Im sorry to repeat a thread from last week, but ive been trying ever since to upgrade a port and havent been able to. If someone can make another suggestion, i would be very very greatful. As i said in the libcdio upgrade problems thread, i have installed the libcdio port, but when other ports try to build, they fail, telling me that libcdio is already installed and i need to make deinstall and make reinstall of it. I did this, but got the same message. Ive tried every variant, and would be happy to try brute force versions too. I deinstalled it and let the other port try to install it, i deinstalled all related ports so things could try again from scratch, i set the environment variables about forcing package registration, whatever i could. The ports tree is up to date. Id install libcdio as a package, but its not new enough. Something must be corrupted somewhere and i want to fix it, manually if necessary, but i just dont know what to do. Thanks again and sorry for the new thread, but Im running out of options. Jen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flashplugin
On Mon, 16 Jun 2008 14:05:19 -0400 Gerard [EMAIL PROTECTED] wrote: All this nonsense about using third party programs to download content from sites such as, but not limited to YouTube, is just unacceptable. If I navigate to a URL, I fully expect to be able to view all of that site's content as easily using FreeBSD as I can using Window's with IE. or even Firefox. Anything less is just not acceptable. Then you have a few options: 1. use windows 2. use linux 3. use solaris 4. buy Adobe The latter simply does not support native FreeBSD. But I agree with you: Flash is not always shit or not needed. Quite a few times it gives somthing extra that makes the web more attractive. People stating it's advertizing 99% of the time are simply wrong. -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D ++ http://nagual.nl/ + SunOS sxce snv90 ++ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mapserver
Hi list, I was compiling the /usr/ports/graphics/mapserver on free 7 and I've received the message: === Compressing manual pages for gdal-1.5.0 === Running ldconfig /sbin/ldconfig -m /usr/local/lib === Registering installation for gdal-1.5.0 === Returning to build of mapserver-5.0.2 Error: shared library gdal.12 does not exist *** Error code 1 Stop in /usr/ports/graphics/mapserver. *** Error code 1 How can i fix it ? Thanks, Aguiar Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento! http://br.mail.yahoo.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Small/medium business server platform
Hello, I am a final year student of Faculty of computer and information science from Slovenia. I've also been a Linux/BSD system/network administrator for quite some years now. I am starting to write my thesis and I am looking for good ideas. I am mostly interested in small/medium business system administration. I also would like to continue the work which I would make a plan for, after the thesis. We all know Windows Small Business Server platform, which provides many roles (as MS calls them) which can satisfy many of the small company's needs (mail, file, DNS, AD, print, web, ... server). But since I don't do Windows, I am interested in an equivalent open solution. So far, I have found ClarkConnect and eBox. Both are based on Linux. ClarkConnect looks promising, but is not completely open/free and I don't like that. eBox, on the other hand, doesn't have such limitations, but seems quite unfinished although it has been in development for 4 years now. Also, it misses a key feature I would like to have. Also, I know pfSense. I love it - also, because it's FreeBSD based and I really like FreeBSD. But, for now, it is non-modular and doesn't provide other services besides being a firewall/router/network appliance. So I was thinking to start a new project, which would have these features: - it is based on FreeBSD; - it is monolithic (as pfSense - no third party modules, at least in the beginning) but still modular (so you can turn on or off various modules you (don't) need); - it provides a configuration API - this is the key feature I mentioned before: pfSense too, only has a web interface, which is OK, because that's normally all you need. But I think that it would be really nice if anyone could create his or her own interface for managing configuration - many companies have many custom application frameworks (at least the one I work in, has one) and providing this API could make management of such servers very scalable. For example, it would be very handy for me, because now I have 50 small servers at various customers and their administration can be time consuming. Also, I am not the only administrator, neither I want to do boring routine tasks (that's why I would need a unified GUI, so other non-console people can do it). - it is open, under one of the open-source licences, professional support could be eventually charged to keep the project going - the services are running in FreeBSD jails for maximum security, 1 service/jail - it would offer features such: [most of the pfSense features], mail (POP3, IMAP, SMTP, webmail, ...), DNS, file/printer services, http, ftp, trac/svn, fax, DNS, ... - the software for these functions is already out there - it's just that someone have to put it all together My questions: 1. Is such a product needed? Would anybody use it? How to find this out? 2. Connected to the previous question: could such a project live if it was good? I don't have experience in developing OS software for money, but I also need to make a living. 3. I would like to make an international team of developers eventually, like other open-source projects have; 3. Which features do you find attractive/unnecessary/stupid and which do you miss? 4. If you were I and could start with something new as I am thinking about to, what it would be? :) Thanks a lot for your thoughts. Bye, Nejc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenOffice 2.4.1: still getting compilation error in FBSD 7.0-STABLE
Chris Whitehouse wrote: O. Hartmann wrote: Hello, I still get this error since OO 2.4 was offered via ports (OO 2.3 did well). I was wondering if someone has no solution to this sticky error. Can anyone help? Regards, Oliver In case it's any use to you, openoffice.org-3 (openoffice.org-3.0.0.b_1) does build with make -DWITHOUT_MOZILLA -DWITH_TTF_BYTECODE_ENABLED also with just make openoffice.org-3.0.0.b failed with make LOCALIZED_LANG=en-GB I'm just testing openoffice.org-3.0.0.b_1 with make -DWITHOUT_MOZILLA -DWITH_TTF_BYTECODE_ENABLED LOCALIZED_LANG=en-GB Yep that works too. Distfile is OOo_BEA300_m2_source.tar.bz2 Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: High load, lots of free memory and processes in devfs state
On 16 Jun 2008, at 18:48, Oliver Fromme wrote: Stut [EMAIL PROTECTED] wrote: I'm having a serious problem with one of my FreeBSD servers. It runs FreeBSD 6.2-RELEASE, Apache 2.2.8 and PHP 5.2.1. I've checked the hardware and it's all OK. There's approximately 400 Apache processes running and a 2GB memcached instance. Up until last weekend this server was working perfectly at a level of HTTP traffic higher than it's currently getting. Last week our database server (separate server) died and had to be rebuilt. While this was being done this server hosted the database. This has now been completed and the PHP app is pointing back at the dedicated DB server. Top shows the following... last pid: 26838; load averages: 10.22, 14.06, 13.55 up 2+00:34:47 18:03:43 619 processes: 1 running, 618 sleeping CPU states: 4.9% user, 0.0% nice, 24.8% system, 0.4% interrupt, 70.0% idle Mem: 2241M Active, 2718M Inact, 462M Wired, 394M Cache, 214M Buf, 1747M Free Swap: 8192M Total, 124K Used, 8192M Free PIDUIDTHR PRI NICE SIZERES STATE C TIME WCPU COMMAND 26807 80 1 -40 79892K 9996K devfs 0 0:00 2.81% httpd 26797 80 1 -40 82376K 12592K devfs 1 0:00 2.19% httpd 26791 80 1 -40 82376K 12636K devfs 0 0:00 1.85% httpd 26783 80 1 -40 82392K 12640K devfs 3 0:00 1.84% httpd [...] Please let vmstat 5 run for a minute ... Anything that looks unusual? procs memory pagedisks faults cpu r b w avm fre flt re pi po fr sr da0 pa0 in sy cs us sy id 1 412 2 8910132 2743568 2230 3 1 0 2106 93 0 0 1098 4733 3025 4 17 79 1 412 0 8841792 2760548 1630 0 0 0 2276 0 21 0 658 3970 6374 3 26 71 0 422 0 8804744 2765076 1349 0 0 0 1394 0 12 0 576 3454 5131 3 26 71 1 421 0 8756808 2778660 1095 0 0 0 1581 0 48 0 574 3076 4415 3 25 72 0 420 0 8684932 2800128 2049 0 0 0 2927 0 45 0 505 2998 3770 3 24 73 1 380 0 8603676 2838452 1149 0 0 0 2842 0 22 0 505 3497 4339 2 26 72 1 21 0 8280260 3097392 7630 0 0 0 19969 0 29 0 1241 8895 6950 10 30 60 1 4 0 8195828 3131992 9113 0 0 0 9742 0 78 0 996 9405 2830 7 19 74 0 20 0 8169288 3121688 2899 0 0 0 2098 0 47 0 1193 7740 2733 4 23 73 11 13 0 8123476 3128688 1947 0 0 0 2160 0 52 0 1161 6231 2617 4 26 70 1 14 0 8067304 3143984 2298 0 0 0 2885 0 57 0 1806 5572 3373 4 25 70 2 17 1 8015924 3156168 2702 0 0 0 3164 0 23 0 1384 8243 2770 6 25 69 1 22 0 7956476 3176376 2013 0 0 0 2879 0 23 0 917 7063 2484 6 25 69 0 35 0 7944760 3150452 4274 0 0 0 2806 0 21 0 1591 8281 3399 7 25 68 1 67 3 7903160 3158776 2043 0 0 0 2442 0 20 0 1095 6405 3605 6 25 70 44 69 0 7872504 3147192 2569 0 0 0 1712 0 81 0 1137 5773 4998 6 26 69 1 146 0 7849632 3135388 2095 0 0 0 1274 0 19 0 869 5550 5466 5 26 69 3 195 2 7825932 3122116 2482 0 0 0 1586 0 15 0 863 5558 6135 5 26 69 1 244 3 7798148 3111624 1609 0 0 0 1226 0 10 0 849 4027 6477 4 27 69 2 273 3 7776772 3102948 2080 0 0 0 1310 0 14 0 604 4376 6527 4 26 70 1 312 2 7768232 3079012 3148 0 0 0 1800 0 12 0 1066 6088 10242 6 28 66 1 340 0 7742680 3068244 2020 0 0 0 1421 0 74 0 729 4407 8204 4 26 70 2 366 0 7740324 3068068 1612 0 0 0 1553 0 11 0 613 3526 6728 3 26 70 1 397 1 7928688 3059900 1886 0 0 0 1344 0 12 0 515 3081 6864 3 27 70 1 400 0 8074560 3008988 4771 0 0 0 1457 0 14 0 950 5309 8996 5 27 68 Lots of processes blocked - which I guess is what the devfs state indicates. Have you checked dmesg? Yes. The only odd thing I can see is the following message, but from what I've read it's not critical until you get 5 and it's only in there once. collecting pv entries -- suggest increasing PMAP_SHPGPERPROC| Is this FreeBSD i386 (32bit) or amd64 (64bit)? FreeBSD harold.freeads.co.uk 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 08:43:30 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/ sys/SMP amd64 Have you considered updating? 6.2-RELEASE isn't the freshest anymore. You might even consider going to 7-stable and using the new ULE scheduler which copes better with SMP servers. I have, but I'd rather understand what's happening. As you can see there's plenty of free memory and the CPU is 70% idle yet the load is sky high. Well, load 10 isn't that much for a 4-way SMP system. A couple of weeks ago this server was fairly fast, load never really going beyond 3 and everything was reasonably responsive. Now it regularly goes up to and beyond a load of 10 (more often than not at the moment) and everything is slow. This means our website users are getting a very poor experience which is reflected in our traffic levels which
Re: Flashplugin
On Mon, Jun 16, 2008 at 08:11:50PM +0200, dick hoogendijk wrote: On Mon, 16 Jun 2008 14:05:19 -0400 Gerard [EMAIL PROTECTED] wrote: All this nonsense about using third party programs to download content from sites such as, but not limited to YouTube, is just unacceptable. If I navigate to a URL, I fully expect to be able to view all of that site's content as easily using FreeBSD as I can using Window's with IE. or even Firefox. Anything less is just not acceptable. Then you have a few options: 1. use windows 2. use linux 3. use solaris 4. buy Adobe The latter simply does not support native FreeBSD. But I agree with you: Flash is not always shit or not needed. Quite a few times it gives somthing extra that makes the web more attractive. People stating it's advertizing 99% of the time are simply wrong. Flash is useful, even on business pages. It can be more efficient at transmitting certain types of information. But, businesses that allow their web designer to supplant his|her ego by putting flash or any other cute trick in the way of getting business done are failing to manage their business and are welcome to go ahead and have their business fail. jerry -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D ++ http://nagual.nl/ + SunOS sxce snv90 ++ ___ 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: Flashplugin
But I agree with you: Flash is not always shit or not needed. Quite a yes you are right. not always, just USUALLY. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flashplugin
On Mon, 16 Jun 2008 15:21:45 -0400 Jerry McAllister [EMAIL PROTECTED] wrote: But, businesses that allow their web designer to supplant his|her ego by putting flash or any other cute trick in the way of getting business done are failing to manage their business and are welcome to go ahead and have their business fail. absolutely! they are masochistically engaged in self-flashalation. :D -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading problem: confused dependencies
At 01:11 PM 6/16/2008, Dr. Jennifer Nussbaum wrote: Im sorry to repeat a thread from last week, but ive been trying ever since to upgrade a port and havent been able to. If someone can make another suggestion, i would be very very greatful. As i said in the libcdio upgrade problems thread, i have installed the libcdio port, but when other ports try to build, they fail, telling me that libcdio is already installed and i need to make deinstall and make reinstall of it. I did this, but got the same message. Ive tried every variant, and would be happy to try brute force versions too. I deinstalled it and let the other port try to install it, i deinstalled all related ports so things could try again from scratch, i set the environment variables about forcing package registration, whatever i could. The ports tree is up to date. Id install libcdio as a package, but its not new enough. Something must be corrupted somewhere and i want to fix it, manually if necessary, but i just dont know what to do. Thanks again and sorry for the new thread, but Im running out of options. Jen Your post doesn't specify what version of FreeBSD you are using. Nor does your post specify what port(s) are the issue, or what utility if any you are using to upgrade a port. In general, you can use either portupgrade or portmanager to keep installed ports up to date. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading problem: confused dependencies
Sorry, this was all discussed in the original thread. The port is the sysutils/libcdio port. I use portupgrade to keep things up to date. This machine is running FreeBSD nbsp;6.2-RELEASE. In this case libcdio itself upgrades correctly, but other ports (for example devel/gvfs), when i try to update them, report that libcdio is already installed and i need to make deinstall and then make reinstall of libcdio. I can do this, and it works, but then rerunning portupgrade on gvfs reports the same thing about libcdio. If just do a make deinstall of libcdio and run portupgrade on gvfs, then gvfs will sucessfully install libcdio but when it gets back to gvfs, reports the same make deinstall/make reinstall thing. In general it seems that no matter what i do, other ports wont see libcdio as being correctly installed at the current version, and im looking for a way to solve this. Thanks. Jen --- On Mon, 6/16/08, Derek Ragona lt;[EMAIL PROTECTED]gt; wrote: From: Derek Ragona lt;[EMAIL PROTECTED]gt; Subject: Re: Upgrading problem: confused dependencies To: [EMAIL PROTECTED], freebsd-questions@freebsd.org Date: Monday, June 16, 2008, 1:09 PM At 01:11 PM 6/16/2008, Dr. Jennifer Nussbaum wrote: Im sorry to repeat a thread from last week, but ive been trying ever since to upgrade a port and havent been able to. If someone can make another suggestion, i would be very very greatful. As i said in the libcdio upgrade problems thread, i have installed the libcdio port, but when other ports try to build, they fail, telling me that libcdio is already installed and i need to make deinstall and make reinstall of it. I did this, but got the same message. Ive tried every variant, and would be happy to try brute force versions too. I deinstalled it and let the other port try to install it, i deinstalled all related ports so things could try again from scratch, i set the environment variables about forcing package registration, whatever i could. The ports tree is up to date. Id install libcdio as a package, but its not new enough. Something must be corrupted somewhere and i want to fix it, manually if necessary, but i just dont know what to do. Thanks again and sorry for the new thread, but Im running out of options. Jen Your post doesn't specify what version of FreeBSD you are using.nbsp; Nor does your post specify what port(s) are the issue, or what utility if any you are using to upgrade a port.nbsp; In general, you can use either portupgrade or portmanager to keep installed ports up to date.nbsp;nbsp; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flashplugin
On Monday 16 June 2008 16:49:45 prad wrote: On Mon, 16 Jun 2008 15:21:45 -0400 Jerry McAllister [EMAIL PROTECTED] wrote: But, businesses that allow their web designer to supplant his|her ego by putting flash or any other cute trick in the way of getting business done are failing to manage their business and are welcome to go ahead and have their business fail. absolutely! they are masochistically engaged in self-flashalation. :D Kinda makes me amost sorry that when a tool comes out with the intent of aiding criativity, ends up hipnotizing people to use every knob and switch there is. Some times I miss the good/old netscape 4.xx fast-loading/simple pages days. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows FREE) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installing FreeBSD
Telpiz Sorin [EMAIL PROTECTED] writes: tried several times to install 7.0-RELEASE x amd64 on my friend's machine that is eqiupped with hard drive manufactured by Samsung. The hard drive (master) appears to have SATA interface, nonetheless SYSINSTALL regognizes it as ad04! That is fine. Besides, SYSINSTALL complains about the disk's geometry . Also probably not a problem; C/H/S geometries are rarely important these days. The text console works very slowly, though the machine (ASUS motherboard) has 2 Gigs of RAM and a good GeForce video board. For comparison, my old IBM machine ( PentiumII , 128Mb RAM , 16Mb video memory ) runs Free BSD much more faster. Could you help us fix the trouble? Can you quantify the slowness? This isn't much of an explanation for us to work with... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Doubt about hanged ESTABLISHED connections on netstat...
Agus [EMAIL PROTECTED] writes: Today i was on my Freebsd6.1 logged from my notebook through SSH...somehow i lost my Internet connection on my laptop; i realized that, cause i couldnt type anything on ssh so i checked and i had lost internet connectionI reset my router..connect through Internet, now working, to my BSD again and i can see the old connections as ESTABLISHED.They are hanged there cause of the loss of my connection i guessSo my doubt and question was; Is this normal behaviour, who is in charge of managing this? the TCP stack, or can i config SSH...If someone who's got the time and willing to explain, share thoughts about this, i ll be grateful... They will time out when the application tries to send some data and fails for a period of time. You can configure ssh to use keepalives if you want to hurry this along. Or you can kill the process holding the socket, and the socket will be closed along with the process. It isn't something to spend time worrying about unless you really want to... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading problem: confused dependencies
At 03:24 PM 6/16/2008, Dr. Jennifer Nussbaum wrote: Sorry, this was all discussed in the original thread. The port is the sysutils/libcdio port. I use portupgrade to keep things up to date. This machine is running FreeBSD nbsp;6.2-RELEASE. In this case libcdio itself upgrades correctly, but other ports (for example devel/gvfs), when i try to update them, report that libcdio is already installed and i need to make deinstall and then make reinstall of libcdio. I can do this, and it works, but then rerunning portupgrade on gvfs reports the same thing about libcdio. If just do a make deinstall of libcdio and run portupgrade on gvfs, then gvfs will sucessfully install libcdio but when it gets back to gvfs, reports the same make deinstall/make reinstall thing. In general it seems that no matter what i do, other ports wont see libcdio as being correctly installed at the current version, and im looking for a way to solve this. Thanks. Jen I think your problem is that you are still on 6.2 which is no longer a supported release. You can easily upgrade to 6.3 which is supported, then update your ports. I know I have upgraded a few servers from 6.2 to 6.3 and don't recall any major issues. -Derek --- On Mon, 6/16/08, Derek Ragona lt;[EMAIL PROTECTED]gt; wrote: From: Derek Ragona lt;[EMAIL PROTECTED]gt; Subject: Re: Upgrading problem: confused dependencies To: [EMAIL PROTECTED], freebsd-questions@freebsd.org Date: Monday, June 16, 2008, 1:09 PM At 01:11 PM 6/16/2008, Dr. Jennifer Nussbaum wrote: Im sorry to repeat a thread from last week, but ive been trying ever since to upgrade a port and havent been able to. If someone can make another suggestion, i would be very very greatful. As i said in the libcdio upgrade problems thread, i have installed the libcdio port, but when other ports try to build, they fail, telling me that libcdio is already installed and i need to make deinstall and make reinstall of it. I did this, but got the same message. Ive tried every variant, and would be happy to try brute force versions too. I deinstalled it and let the other port try to install it, i deinstalled all related ports so things could try again from scratch, i set the environment variables about forcing package registration, whatever i could. The ports tree is up to date. Id install libcdio as a package, but its not new enough. Something must be corrupted somewhere and i want to fix it, manually if necessary, but i just dont know what to do. Thanks again and sorry for the new thread, but Im running out of options. Jen Your post doesn't specify what version of FreeBSD you are using.nbsp; Nor does your post specify what port(s) are the issue, or what utility if any you are using to upgrade a port.nbsp; In general, you can use either portupgrade or portmanager to keep installed ports up to date.nbsp;nbsp; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: High load, lots of free memory and processes in devfs state
Is the MySQL daemon still running on that box? I see a mysqldump but no mysqld. If it is, try doing a shutdown and see if the load decreases. Sounds odd, but I have been having similar issues with MySQL. -Patrick 2008/6/16 Stut [EMAIL PROTECTED]: On 16 Jun 2008, at 18:48, Oliver Fromme wrote: Stut [EMAIL PROTECTED] wrote: I'm having a serious problem with one of my FreeBSD servers. It runs FreeBSD 6.2-RELEASE, Apache 2.2.8 and PHP 5.2.1. I've checked the hardware and it's all OK. There's approximately 400 Apache processes running and a 2GB memcached instance. Up until last weekend this server was working perfectly at a level of HTTP traffic higher than it's currently getting. Last week our database server (separate server) died and had to be rebuilt. While this was being done this server hosted the database. This has now been completed and the PHP app is pointing back at the dedicated DB server. Top shows the following... last pid: 26838; load averages: 10.22, 14.06, 13.55 up 2+00:34:47 18:03:43 619 processes: 1 running, 618 sleeping CPU states: 4.9% user, 0.0% nice, 24.8% system, 0.4% interrupt, 70.0% idle Mem: 2241M Active, 2718M Inact, 462M Wired, 394M Cache, 214M Buf, 1747M Free Swap: 8192M Total, 124K Used, 8192M Free PIDUIDTHR PRI NICE SIZERES STATE C TIME WCPU COMMAND 26807 80 1 -40 79892K 9996K devfs 0 0:00 2.81% httpd 26797 80 1 -40 82376K 12592K devfs 1 0:00 2.19% httpd 26791 80 1 -40 82376K 12636K devfs 0 0:00 1.85% httpd 26783 80 1 -40 82392K 12640K devfs 3 0:00 1.84% httpd [...] Please let vmstat 5 run for a minute ... Anything that looks unusual? procs memory pagedisks faults cpu r b w avm fre flt re pi po fr sr da0 pa0 in sy cs us sy id 1 412 2 8910132 2743568 2230 3 1 0 2106 93 0 0 1098 4733 3025 4 17 79 1 412 0 8841792 2760548 1630 0 0 0 2276 0 21 0 658 3970 6374 3 26 71 0 422 0 8804744 2765076 1349 0 0 0 1394 0 12 0 576 3454 5131 3 26 71 1 421 0 8756808 2778660 1095 0 0 0 1581 0 48 0 574 3076 4415 3 25 72 0 420 0 8684932 2800128 2049 0 0 0 2927 0 45 0 505 2998 3770 3 24 73 1 380 0 8603676 2838452 1149 0 0 0 2842 0 22 0 505 3497 4339 2 26 72 1 21 0 8280260 3097392 7630 0 0 0 19969 0 29 0 1241 8895 6950 10 30 60 1 4 0 8195828 3131992 9113 0 0 0 9742 0 78 0 996 9405 2830 7 19 74 0 20 0 8169288 3121688 2899 0 0 0 2098 0 47 0 1193 7740 2733 4 23 73 11 13 0 8123476 3128688 1947 0 0 0 2160 0 52 0 1161 6231 2617 4 26 70 1 14 0 8067304 3143984 2298 0 0 0 2885 0 57 0 1806 5572 3373 4 25 70 2 17 1 8015924 3156168 2702 0 0 0 3164 0 23 0 1384 8243 2770 6 25 69 1 22 0 7956476 3176376 2013 0 0 0 2879 0 23 0 917 7063 2484 6 25 69 0 35 0 7944760 3150452 4274 0 0 0 2806 0 21 0 1591 8281 3399 7 25 68 1 67 3 7903160 3158776 2043 0 0 0 2442 0 20 0 1095 6405 3605 6 25 70 44 69 0 7872504 3147192 2569 0 0 0 1712 0 81 0 1137 5773 4998 6 26 69 1 146 0 7849632 3135388 2095 0 0 0 1274 0 19 0 869 5550 5466 5 26 69 3 195 2 7825932 3122116 2482 0 0 0 1586 0 15 0 863 5558 6135 5 26 69 1 244 3 7798148 3111624 1609 0 0 0 1226 0 10 0 849 4027 6477 4 27 69 2 273 3 7776772 3102948 2080 0 0 0 1310 0 14 0 604 4376 6527 4 26 70 1 312 2 7768232 3079012 3148 0 0 0 1800 0 12 0 1066 6088 10242 6 28 66 1 340 0 7742680 3068244 2020 0 0 0 1421 0 74 0 729 4407 8204 4 26 70 2 366 0 7740324 3068068 1612 0 0 0 1553 0 11 0 613 3526 6728 3 26 70 1 397 1 7928688 3059900 1886 0 0 0 1344 0 12 0 515 3081 6864 3 27 70 1 400 0 8074560 3008988 4771 0 0 0 1457 0 14 0 950 5309 8996 5 27 68 Lots of processes blocked - which I guess is what the devfs state indicates. Have you checked dmesg? Yes. The only odd thing I can see is the following message, but from what I've read it's not critical until you get 5 and it's only in there once. collecting pv entries -- suggest increasing PMAP_SHPGPERPROC| Is this FreeBSD i386 (32bit) or amd64 (64bit)? FreeBSD harold.freeads.co.uk 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 08:43:30 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP amd64 Have you considered updating? 6.2-RELEASE isn't the freshest anymore. You might even consider going to 7-stable and using the new ULE scheduler which copes better with SMP servers. I have, but I'd rather understand what's happening. As you can see there's plenty of free memory and the CPU is 70% idle yet the load is sky high. Well, load 10 isn't that much for a 4-way SMP system. A couple of weeks ago this server was fairly fast, load never really going beyond 3
Re: High load, lots of free memory and processes in devfs state
On 16 Jun 2008, at 22:20, Patrick C wrote: Is the MySQL daemon still running on that box? I see a mysqldump but no mysqld. If it is, try doing a shutdown and see if the load decreases. Sounds odd, but I have been having similar issues with MySQL. It's not, no. It used to but it doesn't run now. The mysqldump is a nightly backup. -Stut 2008/6/16 Stut [EMAIL PROTECTED]: On 16 Jun 2008, at 18:48, Oliver Fromme wrote: Stut [EMAIL PROTECTED] wrote: I'm having a serious problem with one of my FreeBSD servers. It runs FreeBSD 6.2-RELEASE, Apache 2.2.8 and PHP 5.2.1. I've checked the hardware and it's all OK. There's approximately 400 Apache processes running and a 2GB memcached instance. Up until last weekend this server was working perfectly at a level of HTTP traffic higher than it's currently getting. Last week our database server (separate server) died and had to be rebuilt. While this was being done this server hosted the database. This has now been completed and the PHP app is pointing back at the dedicated DB server. Top shows the following... last pid: 26838; load averages: 10.22, 14.06, 13.55 up 2+00:34:47 18:03:43 619 processes: 1 running, 618 sleeping CPU states: 4.9% user, 0.0% nice, 24.8% system, 0.4% interrupt, 70.0% idle Mem: 2241M Active, 2718M Inact, 462M Wired, 394M Cache, 214M Buf, 1747M Free Swap: 8192M Total, 124K Used, 8192M Free PIDUIDTHR PRI NICE SIZERES STATE C TIME WCPU COMMAND 26807 80 1 -40 79892K 9996K devfs 0 0:00 2.81% httpd 26797 80 1 -40 82376K 12592K devfs 1 0:00 2.19% httpd 26791 80 1 -40 82376K 12636K devfs 0 0:00 1.85% httpd 26783 80 1 -40 82392K 12640K devfs 3 0:00 1.84% httpd [...] Please let vmstat 5 run for a minute ... Anything that looks unusual? procs memory pagedisks faults cpu r b w avm fre flt re pi po fr sr da0 pa0 in sy cs us sy id 1 412 2 8910132 2743568 2230 3 1 0 2106 93 0 0 1098 4733 3025 4 17 79 1 412 0 8841792 2760548 1630 0 0 0 2276 0 21 0 658 3970 6374 3 26 71 0 422 0 8804744 2765076 1349 0 0 0 1394 0 12 0 576 3454 5131 3 26 71 1 421 0 8756808 2778660 1095 0 0 0 1581 0 48 0 574 3076 4415 3 25 72 0 420 0 8684932 2800128 2049 0 0 0 2927 0 45 0 505 2998 3770 3 24 73 1 380 0 8603676 2838452 1149 0 0 0 2842 0 22 0 505 3497 4339 2 26 72 1 21 0 8280260 3097392 7630 0 0 0 19969 0 29 0 1241 8895 6950 10 30 60 1 4 0 8195828 3131992 9113 0 0 0 9742 0 78 0 996 9405 2830 7 19 74 0 20 0 8169288 3121688 2899 0 0 0 2098 0 47 0 1193 7740 2733 4 23 73 11 13 0 8123476 3128688 1947 0 0 0 2160 0 52 0 1161 6231 2617 4 26 70 1 14 0 8067304 3143984 2298 0 0 0 2885 0 57 0 1806 5572 3373 4 25 70 2 17 1 8015924 3156168 2702 0 0 0 3164 0 23 0 1384 8243 2770 6 25 69 1 22 0 7956476 3176376 2013 0 0 0 2879 0 23 0 917 7063 2484 6 25 69 0 35 0 7944760 3150452 4274 0 0 0 2806 0 21 0 1591 8281 3399 7 25 68 1 67 3 7903160 3158776 2043 0 0 0 2442 0 20 0 1095 6405 3605 6 25 70 44 69 0 7872504 3147192 2569 0 0 0 1712 0 81 0 1137 5773 4998 6 26 69 1 146 0 7849632 3135388 2095 0 0 0 1274 0 19 0 869 5550 5466 5 26 69 3 195 2 7825932 3122116 2482 0 0 0 1586 0 15 0 863 5558 6135 5 26 69 1 244 3 7798148 3111624 1609 0 0 0 1226 0 10 0 849 4027 6477 4 27 69 2 273 3 7776772 3102948 2080 0 0 0 1310 0 14 0 604 4376 6527 4 26 70 1 312 2 7768232 3079012 3148 0 0 0 1800 0 12 0 1066 6088 10242 6 28 66 1 340 0 7742680 3068244 2020 0 0 0 1421 0 74 0 729 4407 8204 4 26 70 2 366 0 7740324 3068068 1612 0 0 0 1553 0 11 0 613 3526 6728 3 26 70 1 397 1 7928688 3059900 1886 0 0 0 1344 0 12 0 515 3081 6864 3 27 70 1 400 0 8074560 3008988 4771 0 0 0 1457 0 14 0 950 5309 8996 5 27 68 Lots of processes blocked - which I guess is what the devfs state indicates. Have you checked dmesg? Yes. The only odd thing I can see is the following message, but from what I've read it's not critical until you get 5 and it's only in there once. collecting pv entries -- suggest increasing PMAP_SHPGPERPROC| Is this FreeBSD i386 (32bit) or amd64 (64bit)? FreeBSD harold.freeads.co.uk 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 08:43:30 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ SMP amd64 Have you considered updating? 6.2-RELEASE isn't the freshest anymore. You might even consider going to 7-stable and using the new ULE scheduler which copes better with SMP servers. I have, but I'd rather understand what's happening. As you can see there's plenty of free memory and the CPU is 70% idle yet the load is sky high. Well, load 10 isn't that
Re: mapserver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Aguiar Magalhaes wrote: | Hi list, | | I was compiling the /usr/ports/graphics/mapserver on free 7 and I've received the message: | | === Compressing manual pages for gdal-1.5.0 | === Running ldconfig | /sbin/ldconfig -m /usr/local/lib | === Registering installation for gdal-1.5.0 | === Returning to build of mapserver-5.0.2 | Error: shared library gdal.12 does not exist | *** Error code 1 | | Stop in /usr/ports/graphics/mapserver. | *** Error code 1 | | How can i fix it ? The version of GDAL's shared library has bumped. Modify gdal.12 with gdal.13 in the port's Makefile, at line 70. You may want to submit a PR with your changes :) | | Thanks, | | Aguiar | | | | | Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento! | http://br.mail.yahoo.com/ | ___ | freebsd-questions@freebsd.org mailing list | http://lists.freebsd.org/mailman/listinfo/freebsd-questions | To unsubscribe, send any mail to [EMAIL PROTECTED] - -- Pietro Cerutti [EMAIL PROTECTED] PGP Public Key: http://gahr.ch/pgp -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) iEYEAREKAAYFAkhW4egACgkQwMJqmJVx945tzgCfQ/XEfMEKY8wkVZ+8NsMuAkQ8 194AoLmuYcBHqNDZ7E3JtOD0oGeoNbMu =3Rf6 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flashplugin
On Mon, 16 Jun 2008 20:11:50 +0200 dick hoogendijk [EMAIL PROTECTED] wrote: On Mon, 16 Jun 2008 14:05:19 -0400 Gerard [EMAIL PROTECTED] wrote: All this nonsense about using third party programs to download content from sites such as, but not limited to YouTube, is just unacceptable. If I navigate to a URL, I fully expect to be able to view all of that site's content as easily using FreeBSD as I can using Window's with IE. or even Firefox. Anything less is just not acceptable. Then you have a few options: 1. use windows 2. use linux 3. use solaris 4. buy Adobe The latter simply does not support native FreeBSD. But I agree with you: Flash is not always shit or not needed. Quite a few times it gives somthing extra that makes the web more attractive. People stating it's advertizing 99% of the time are simply wrong. The problem with Flash is neither * Flash ads (blockable with NoScript) NOR * Adobe's dismal/no support of FreeBSD (other alternatives exist) NOR * the closed-sourceness of Adobe's Flash Player (runs in isolated virtualized sandboxes where it won't do much harm, either intentionally or unintentionally) but the fact that Flash *content* itself is being routinely blocked / filtered at the edge of many corporate networks for security reasons, and the number of corporate networks that block Flash is increasing daily... and IMHO rightly so! If your company decided to block Flash content because they are afraid of industrial or economic espionage with Flash-based malware -- and there's an increasing number of companies in Europe, Taiwan, Korea, Japan and China which do just that for exactly this reason -- your only recourse is to insist that websites provide alternative non-Flash paths. It's not a Adobe against FreeBSD thing, it's a very simple matter of accessibility in general to content and a whole technology that is deemed untrusted by the security people responsible for company's valuable data. Hobbyists usually don't have so many sensitive data on their machines, or they don't care much about them if they leaked outside, but companies can't afford being this lax: they've got much more to lose if something goes wrong. Nothing against Flash: those who want to provide it or view it, nice! But any respectable site ought to provide a viable alternative to an important class of users: it's not just us FreeBSD users, it's far, FAR more than that! -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
USB support for Galaxy Metal Gear 3538UEP
I'm looking to put together a suitable for home use disk based backup to replace a broken Tape Changer. My thought is to buy the Galaxy Metal Gear 3538UEP which is a JBOD/RAID 1 USB disk enclosure. Does anyone have any experience using this USB Disk enclosure with FreeBSD 7.0-STABLE or later? -- Chris Chris Hilton tildeChris -- http://myblog.vindaloo.com email -- chris/at/vindaloo/ dot/com .~ ~ .--.~ ~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~. I'm on the outside looking inside, What do I see? Much confusion, disillution, all around me. -- Ian McDonald / Peter Sinfield ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Replacing tape changer with USB disk drives.
I run FreeBSD 7.0-STABLE on a file server and until recently used a Tape Changer for backups. I'm considering my options for a new backup solution. I'm actually thinking of ditching tape and using an externally attached USB or Firewire disk drive. My experimentation isn't giving me good feelings about doing this with FreeBSD. To start this off I installed an Adaptec USB 2.0 interface into my server. In the time that I've been working with it I notice that it periodically bogs down and that it has the potential to panic the kernel and cause a reboot. I recognize that this could be: The USB card that I'm using. The chipset in the USB enclosure that I'm testing with. Has anyone gone this route? If so what was your experience? -- Chris Chris Hilton tildeChris -- http://myblog.vindaloo.com email -- chris/at/vindaloo/ dot/com .~ ~ .--.~ ~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~. I'm on the outside looking inside, What do I see? Much confusion, disillution, all around me. -- Ian McDonald / Peter Sinfield ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Release engineering process confusions and make (build)world
Hi folks, Up to now, when I'm installing my FreeBSD boxes I download the latest RELEASE iso-image for my platform. These days I used 7.0-RELEASE. For security fixes I use the provided patches as mentioned in the security advisories. Since a long time I'm asking myself the following questions and I don't find answers in the handbook (e.g. http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng/article.html) or other ressources: 1. Some SA's say that the a bug is corrected in a particular RELENG or RELEASE or a patched RELEASE. For example FreeBSD-SA-08:05.openssh states that RELENG_7_0, 7.0-RELEASE-p1. But where can I get a -p1??? I've never seen iso-images for a x.y-RELEASE-pnn. Is this the time where I need to build a release (as iso-image) by myself? If so, what branch-tag do I need to get 7.0-RELEASE-p1? 2. I understood that there are two different development branches, HEAD aka CURRENT and STABLE. I avoid using these branches because I'm not a developer. Thats the reason why I only want to use RELEASES. But what the hell is a RELENG??? Why are these things not called 7.0-CURRENT or 7.0-STABLE and so on (and 7.0-RELEASE for me)? Maybe I've a problem to understand this because I'm not really familar with CVSup. 3. I played around with jails these days and I had my first contact with make world. Despite the inconsistencies in the handbook where the jail-chapter instructs to use make world and the rebuilding world part warns explicitly and proposes make buildworld (but the Makefile tells me that the target world stands for buildworld + installworld, no kernel which seems okay?!), does it make sense to use make buildworld also when I'm not updating to another RELEASE? As it compiles everything on my machine (it autodetects my CPU and features?!) I guess the system should perform better?! Is it possible or common to update to the latest source tree (where latest means I want to stay at the current RELEASE but want to have all patches like 7.0-RELEASE-p1)? Or results an updating process of the source tree always in a switch to STABLE or CURRENT (depending on the branch tag in CVSup config?)? Many thanks in advance to everyone who puts me in the right direction. Before posting to the list I read some documents (mainly the handbook), but maybe I missed some small but important sentences. Thanks! cheers, Ede __ Gesendet von Yahoo! Mail. Dem pfiffigeren Posteingang. http://de.overview.mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flashplugin
On Tue, 17 Jun 2008 00:36:36 +0200 cpghost [EMAIL PROTECTED] wrote: The problem with Flash is neither ... but the fact that Flash *content* itself is being routinely blocked / filtered at the edge of many corporate networks for security reasons, That's sounds more like the beginning of a solution, than a problem. No one cares about FreeBSD, but people surfing when they should be working are a major demographic. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Replacing tape changer with USB disk drives.
On Jun 16, 2008, at 3:59 PM, Christopher Sean Hilton wrote: I run FreeBSD 7.0-STABLE on a file server and until recently used a Tape Changer for backups. I'm considering my options for a new backup solution. I'm actually thinking of ditching tape and using an externally attached USB or Firewire disk drive. External drives make nice, fast external hot-standby backups. They are lousy for making long-term backups that you can take offsite, though. I can and have restored decade old 20/40GB and 40/80GB DLTtape IV cartridges, and have happily moved to a 220GB sDLT drive. I've got a few 10-year-old SCSI drives that still work, but I've yet to find a commodity PATA IDE or SATA IDE brand of drives which make it much over 5 years, and a large percentage have issues trying to get much past 3 years of heavy usage. My experimentation isn't giving me good feelings about doing this with FreeBSD. To start this off I installed an Adaptec USB 2.0 interface into my server. In the time that I've been working with it I notice that it periodically bogs down and that it has the potential to panic the kernel and cause a reboot. I recognize that this could be: While I really liked the AHA 1540/2940 controllers, I'm dubious about Adaptec's USB controllers. I've got a few external drives with both USB2 and Firewire 400 interfaces, and they are faster and more reliable going over Firewire. YMMV... Regards, -- -Chuck ___ 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 view environment variables
Oliver Fromme wrote: Chris Whitehouse wrote: sysutils/fusefs-ntfs/files/README.FreeBSD refers to various environment variables, eg UBLIO_BLOCKSIZE and others. How do I find out what they are set to? set and printenv don't find them. I'm using standard csh and FreeBSD 7.0-STABLE, fuse.ko is loaded and ntfs-3g works except it seems very slow. The env command prints the environment variables of your current shell (should work with any shell). To view the environment variables of another process, use something like ps -ewwp 1234 (1234 being the PID number). This requires PROCFS to be mounted on /proc. Best regards Oliver This is the last bit of the puzzle. It does indeed print environment variables set with 'env VAR=foo prog' but as I've now understood from previous replies the program doesn't set variables, it uses them if they are already set, otherwise uses defaults. Thanks Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Samba on FreeBSD 7.0
I can recommend you reading the lots of FAQ of samba in their site at samba.org. Theres plenty of solution out there... Cheers.. On Sat, Jun 14, 2008 at 4:41 AM, white list [EMAIL PROTECTED] wrote: Hello ALL, I want to install Samba on FreeBSD 7.0 from ports collection. when i cd to /usr/ports/net/samba3 make config LDAP ADS and many more options to enable with samba with ADS server 2008 What would like to know which options will best work with ADS Windows Server 2008? suggestions are welcome and appreciate. Thanks in advance to all, - Augustin ___ 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]
Replacing tape changer with USB disk drives.
Christopher Sean Hilton writes: I run FreeBSD 7.0-STABLE on a file server and until recently used a Tape Changer for backups. I'm considering my options for a new backup solution. I'm actually thinking of ditching tape and using an externally attached USB or Firewire disk drive. Has anyone gone this route? If so what was your experience? I have been using this for at least a year - USB2 connecting to a PATA drive. The protocol dumps a week's worth on one disk: a full and six incremental backups. I have had no problems with reliability. I /do/ have problems with speed. The fast recorded throughput was aroud 3.5 bytes/second; faster than the SCSI-1 DLT it replaces, but nowhere near the 60 mbytes/second of the USB, (Yes, I know it's theoretical maximum ... but even if we halve it and then halve is again, we're still factor-of-4 off the actual performance.) This has resisted serious attempts for remedy, Hardware: no-name disks Addonics Saturn drive cartridge system Acer Labs USB2 add-on controller Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Release engineering process confusions and make (build)world
On Mon, Jun 16, 2008 at 6:41 PM, [EMAIL PROTECTED] wrote: Hi folks, Up to now, when I'm installing my FreeBSD boxes I download the latest RELEASE iso-image for my platform. These days I used 7.0-RELEASE. For security fixes I use the provided patches as mentioned in the security advisories. Since a long time I'm asking myself the following questions and I don't find answers in the handbook (e.g. http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng/article.html) or other ressources: 1. Some SA's say that the a bug is corrected in a particular RELENG or RELEASE or a patched RELEASE. For example FreeBSD-SA-08:05.openssh states that RELENG_7_0, 7.0-RELEASE-p1. But where can I get a -p1??? I've never seen iso-images for a x.y-RELEASE-pnn. Is this the time where I need to build a release (as iso-image) by myself? If so, what branch-tag do I need to get 7.0-RELEASE-p1? 2. I understood that there are two different development branches, HEAD aka CURRENT and STABLE. I avoid using these branches because I'm not a developer. Thats the reason why I only want to use RELEASES. But what the hell is a RELENG??? Why are these things not called 7.0-CURRENT or 7.0-STABLE and so on (and 7.0-RELEASE for me)? Maybe I've a problem to understand this because I'm not really familar with CVSup. 3. I played around with jails these days and I had my first contact with make world. Despite the inconsistencies in the handbook where the jail-chapter instructs to use make world and the rebuilding world part warns explicitly and proposes make buildworld (but the Makefile tells me that the target world stands for buildworld + installworld, no kernel which seems okay?!), does it make sense to use make buildworld also when I'm not updating to another RELEASE? As it compiles everything on my machine (it autodetects my CPU and features?!) I guess the system should perform better?! Is it possible or common to update to the latest source tree (where latest means I want to stay at the current RELEASE but want to have all patches like 7.0-RELEASE-p1)? Or results an updating process of the source tree always in a switch to STABLE or CURRENT (depending on the branch tag in CVSup config?)? Many thanks in advance to everyone who puts me in the right direction. Before posting to the list I read some documents (mainly the handbook), but maybe I missed some small but important sentences. Thanks! cheers, Ede There are two branches of FreeBSD. The STABLE branch, and the CURRENT branch. The CURRENT branch is like the alpha. It has the most-recent code changes, and it is not very stable. The STABLE branch is more stable, but it is still considered a development branch. Every so often, the STABLE branch is considered stable enough to make a new release version. All the RELEASE is, is a snapshot of the code at a specific time. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html ^ That page explains all the RELENG tags, in terms of branches and releases. For information on how to use CSup/CVSup, read this: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Replacing tape changer with USB disk drives.
On Jun 16, 2008, at 7:34 PM, Chuck Swiger wrote: On Jun 16, 2008, at 3:59 PM, Christopher Sean Hilton wrote: External drives make nice, fast external hot-standby backups. They are lousy for making long-term backups that you can take offsite, though. I can and have restored decade old 20/40GB and 40/80GB DLTtape IV cartridges, and have happily moved to a 220GB sDLT drive. I've got a few 10-year-old SCSI drives that still work, but I've yet to find a commodity PATA IDE or SATA IDE brand of drives which make it much over 5 years, and a large percentage have issues trying to get much past 3 years of heavy usage. I've had pretty much the same result. SCSI Drives seem to have a solid lifetime of about 3+ years with some of them lasting better than 6. I'm not trying to keep my backups that long though. This is basically insurance against a catastrophic machine failure more than anything else. The machine in question has a Mylex Acceleraid 250 and RAID 5 SCSI array with a hot spare. The function of this backup is to protect my time if the RAID array fails for some reason that I cannot diagnose quickly. To some extent I also need the ability to go back in time if delete a file by accident but that's happened once in the past 5 years. While I really liked the AHA 1540/2940 controllers, I'm dubious about Adaptec's USB controllers. I've got a few external drives with both USB2 and Firewire 400 interfaces, and they are faster and more reliable going over Firewire. YMMV... I've had the Adaptec Firewire controller and have the same problem as I do with the USB one. I have a hand full of USB drives in external enclosures that I used for different things. Mostly to transfer video from one place to another. Right now I'm using one of them and getting rid of some ancient video that I no longer need. My USB drive has a UFS2 filesystem on it and it's mounted with Softupdates turned on. When I remove a large file or a large directory. Everything works great for a minute and then file access to the drive just stalls. A good minute later everything is fine. The interface is either USB or Firewire because the enclosure can do either. -- Chris Chris Hilton tildeChris -- http://myblog.vindaloo.com email -- chris/at/vindaloo/ dot/com .~ ~ .--.~ ~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~. I'm on the outside looking inside, What do I see? Much confusion, disillution, all around me. -- Ian McDonald / Peter Sinfield ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Replacing tape changer with USB disk drives.
Christopher Sean Hilton wrote: I run FreeBSD 7.0-STABLE on a file server and until recently used a Tape Changer for backups. I'm considering my options for a new backup solution. I'm actually thinking of ditching tape and using an externally attached USB or Firewire disk drive. Do the tapes get taken off-site, or do they sit in the same location that the servers will burn when a fire breaks out? My experimentation isn't giving me good feelings about doing this with FreeBSD. To start this off I installed an Adaptec USB 2.0 interface into my server. In the time that I've been working with it I notice that it periodically bogs down and that it has the potential to panic the kernel and cause a reboot. I recognize that this could be: The USB card that I'm using. The chipset in the USB enclosure that I'm testing with. Has anyone gone this route? If so what was your experience? Yes, I use external USB 2.0 external disks for backup for workstations that are encrypted with either GELI or TrueCrypt on the fly. The problem with USB hard disks is that they A) are prone to failure very quickly (as has been pointed out); and B) they never get taken off-site on a routine basis as they should. My recommendation (FWIW) would be to build/buy/acquire a network storage device with a 1000Mbps Ethernet interface that you back up your entire network to. Depending on the size of your network, it may be advisable to pop an extra NIC (gigE) in every box that requires a backup and create yourself a private backup subnet, as to not disturb the production network. Once the network backup is complete, cycle this complete backup to tape which can be taken off site for longer term storage (after the network backup to 'hot' storage is done, the tape backup time becomes irrelevant). This setup provides an always-on, live-as-of-yesterday recovery mechanism without having to load tape. Also, depending on the amount of data that requires backup, and the throughput capacity/cost of your Internet link(s), it is always a benefit to do an rsync (or equivalent) copy to a remote location, in order to best accommodate a 'hot spare' location (ie, users migrate to remote temporary location, and have to change as little as possible). USB disks are as useful as the people that you put in charge of taking them off-site, multiplied by the number of drives you cycle, divided by the life expectancy of the disks (and/or the people taking them offsite ;) One more thing...a good backup is not measured in how far back the backup goes...a good backup is measured in the amount of time it takes to recover from it Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Wireless net work set up
Hello I had been trying to set up a wireless connection for my laptop but nothing seems to work What I am using: FreeBSD 6.2 release p3 Architecture amd 64 hardware: HP pavilion zv6000 so far what I had done: 1. Use the ndisgen to make kernel modules from wireless broadcom windows drivers. 2. verify that the drivers actualy work with the kernel by checking dmesg here is my dmesg: FreeBSD 6.2-RELEASE-p3 #3: Sat Mar 24 14:24:31 EST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/KERNEL2 Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 Processor 3800+ (2387.79-MHz K8-class CPU) Origin = AuthenticAMD Id = 0xff0 Stepping = 0 Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2 AMD Features=0xe0500800SYSCALL,NX,MMX+,LM,3DNow+,3DNow real memory = 1072627712 (1022 MB) avail memory = 1023938560 (976 MB) kbd0 at kbdmux0 cpu0 on motherboard pcib0: Host to PCI bridge pcibus 0 on motherboard pci0: PCI bus on pcib0 pcib1: PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 pci1: display, VGA at device 5.0 (no driver attached) pcib2: PCI-PCI bridge at device 4.0 on pci0 pci2: PCI bus on pcib2 ohci0: ATI SB400 USB Controller mem 0xb000-0xbfff irq 11 at device 19.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: ATI SB400 USB Controller on ohci0 usb0: USB revision 1.0 uhub0: ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered ohci1: ATI SB400 USB Controller mem 0xb0001000-0xb0001fff irq 11 at device 19.1 on pci0 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: ATI SB400 USB Controller on ohci1 usb1: USB revision 1.0 uhub1: ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 4 ports with 4 removable, self powered ehci0: ATI SB400 USB 2.0 controller mem 0xb0002000-0xb0002fff irq 11 at device 19.2 on pci0 ehci0: [GIANT-LOCKED] usb2: EHCI version 1.0 usb2: companion controllers, 4 ports each: usb0 usb1 usb2: ATI SB400 USB 2.0 controller on ehci0 usb2: USB revision 2.0 uhub2: ATI EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: 8 ports with 8 removable, self powered ichsmb0: SMBus controller port 0x8400-0x840f mem 0xb0003000-0xb00033ff at device 20.0 on pci0 device_attach: ichsmb0 attach returned 6 atapci0: ATI IXP400 UDMA133 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x8410-0x841f at device 20.1 on pci0 ata0: ATA channel 0 on atapci0 ata1: ATA channel 1 on atapci0 isab0: PCI-ISA bridge at device 20.3 on pci0 isa0: ISA bus on isab0 pcib3: PCI-PCI bridge at device 20.4 on pci0 pci3: PCI bus on pcib3 fwohci0: Texas Instruments TSB43AB22/A mem 0xb0208000-0xb02087ff,0xb020-0xb0203fff irq 10 at device 0.0 on pci3 fwohci0: OHCI version 1.10 (ROM=0) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 57:3f:02:00:7b:6c:40:79 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: IEEE1394(FireWire) bus on fwohci0 sbp0: SBP-2/SCSI over FireWire on firewire0 fwe0: Ethernet over FireWire on firewire0 if_fwe0: Fake Ethernet address: 56:3f:02:6c:40:79 fwe0: Ethernet address: 56:3f:02:6c:40:79 fwe0: if_start running deferred for Giant fwohci0: Initiate bus reset fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop = 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) ndis0: Broadcom 802.11g Network Adapter mem 0xb0204000-0xb0205fff irq 10 at device 2.0 on pci3 ndis0: NDIS API version: 5.1 ndis0: Ethernet address: 00:90:4b:f3:6e:44 cbb0: PCI-CardBus Bridge mem 0xb0209000-0xb0209fff irq 10 at device 4.0 on pci3 cardbus0: CardBus bus on cbb0 pccard0: 16-bit PCCard bus on cbb0 pci3: mass storage at device 4.3 (no driver attached) pci3: base peripheral at device 4.4 (no driver attached) rl0: RealTek 8139 10/100BaseTX port 0xa000-0xa0ff mem 0xb020a400-0xb020a4ff irq 10 at device 6.0 on pci3 miibus0: MII bus on rl0 rlphy0: RealTek internal media interface on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:0f:b0:73:53:f5 pci0: multimedia, audio at device 20.5 (no driver attached) pci0: simple comms, generic modem at device 20.6 (no driver attached) orm0: ISA Option ROMs at iomem 0xc-0xcefff,0xd-0xd5fff,0xd8000-0xd8fff,0xdf800-0xd on isa0 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0 atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0 kbd1 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse, device ID 3 ppc0: cannot reserve I/O port range sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio1: configured irq 3 not in bitmap of probed
Re: Move data from 3ware RAID-1 disk to MB disk
Hi all, After moving one disk to motherboard FreeBSD didn't recognize it. So I booted into rescue linux (via LAN), than mounted disk on motherboard and FreeBSD-netinst ISO into qemu (installed it on virtual disk) virtual machine and quickly installed FreeBSD via VNC. After that moved data from disk on 3ware controller. Quite easy ;) Best Regards 2008/6/16 Erik Trulsson [EMAIL PROTECTED]: On Mon, Jun 16, 2008 at 05:19:43PM +0400, Stanislav wrote: Dear Johan, But hetzner support told me that data will be lost if connect disk to motherboard controller: If we connect the HDD's on the Mainboard-controller, they were detected as empty HDD, because the controller write the sectors in a other way, like the RAID-controler! That is probably correct. But I think that maybe 3ware writes their RAID table somewhere near MBR record. Maybe. So maybe I have to rewrite MBR and that disk will work on motherboard controller? Maybe, but you don't know how you should rewrite the MBR (i.e. what should be written to it), and neither do I (and probably not the people at hetzner either.) You could try asking the 3Ware people directly, but I doubt they support such an operation. I have backups, but this is production system, and I want to switch to MB controller with minimal downtime. That might not be possible. One of the drawbacks with real hardware-RAID is that each controller (or at least each manufacturer) has its own format and it is usually not possible to move disks between different controllers without losing the data on them. Kind Regards 2008/6/16 Johan Hendriks [EMAIL PROTECTED]: Hi, I have FreeBSD 7.0 with 3ware 8006-2LP RAID-1 controller hosted at hetzner.de. Now I want remove 3ware controller, and to stay with motherboard controller. Is it possible to do without data loss? I suggest to move one disk to motherboard controller, than boot via LAN to Linux rescue, and than do dd from 3ware to MB disk. Is it possible to do so or I will copy 3ware RAID table, and MB disk will not be bootable? Kind Regards I freebsd detect the onboard controller and the drives on it, all you need to do is to make sure /etc/fstab points to the right disks. Now it probberly points to /dev/twe0s1* and so on if your onboard controller uses ad then it needs to be changed to /dev/da0s1* Make sure you have backups!! -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Release engineering process confusions and make (build)world
[EMAIL PROTECTED] wrote: 1. Some SA's say that the a bug is corrected in a particular RELENG or RELEASE or a patched RELEASE. For example FreeBSD-SA-08:05.openssh states that RELENG_7_0, 7.0-RELEASE-p1. But where can I get a -p1??? I've never seen iso-images for a x.y-RELEASE-pnn. Is this the time where I need to build a release (as iso-image) by myself? If so, what branch-tag do I need to get 7.0-RELEASE-p1? If you use c(v)sup or freebsd-update to track one of the security branches (eg RELENG_7_0) then with each patch release you'll also get updates to the version number as reported by the system. (ie. you get a re-compiled kernel with an updated version compiled into it). If you track one of the security branches by applying the patches distributed in the advisories, functionally you'll have the same effect -- the security holes will be patched, etc. -- but unless the flaw is in the kernel code, you won't get a new kernel, hence no change to the version number the system reports. It's a toss-up. Either you do the minimal amount of work needed to secure and maintain your system, or you take a bit more time and effort and you reboot a bit more frequently and you get a system that also records what updates have been applied. Which of those you choose is entirely a matter of local policy. There is extensive information in the handbook about all the different mechanisms that exist for tracking any of the various development or security branches. There should also be snapshot iso-images generated from development branches on a regular schedule, not that that helps with your specific question: http://www.freebsd.org/snapshots/ Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature