how to recover after power outage
Blast... my beautiful FreeBSD servers were rudely switched off when my data had a power outage a couple hours ago. They restored power about 30 minutes later, and one box came up no problem. The other has a login prompt on the serial console, but my login does not work. I get a Login incorrect message, even though the username/ password is correct. When I try to SSH into the box, I get this (server name changed): $ ssh u...@example.com -p 48420 ssh: connect to host example.com port 48420: Connection refused In other words, I seem to be locked out. I don't want to do anything drastic without having a good idea what I'm doing. Any suggestions, much appreciated. -- John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
I would like to know about tracing system call in FreeBSD.
Dear, I have tried to trace system call using C language. I would like to detect privilege escalation through traceing system call. Although freebsd announce the patch of telnet demon to remove malicious access to esaclate privilege, I would like to implement the detecting program. My idea is if I detect the change of uid of process then I can recongnize the privilege escalation. I would like to get the program guide or document of kernel program of freebsd. Sincere. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Critical : My X went down
On 4/5/09, manish jain invalid.poin...@gmail.com wrote: Hi all, In attempting to unlock some Python related mysteries (which neither python-list nor python-help would respond to despite repeated queries), I found myself recursively portupgrading myself right up the xorg distribution. That wasn't half as bad as the fact that - after all that effort - X does not even start now. Use vesa driver instead, and direct intel driver questions to Xorg lists. i810, driver that you used with old Xorg is abandoned and replaced with intel. -- Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Updating Perl..
Leslie Jensen wrote: Hello list. When one updates perl, one should rebuild all ports dependend on perl according to the UPDATING file. I'm just wondering, isn't the script perl-after-upgrade supposed to do the work needed, so that one can save the time of upgrading the ports? It depends on the upgrade. For 5.8.8 - 5.8.9 then perl-after-upgrade works fine: this is because there is binary compatibility so that .so modules compiled for 5.8.8 will load just fine into 5.8.9. The work of perl-after-upgrade is simply to move files from /usr/local/lib/perl/site_perl/5.8.8 to .../5.8.9 For the upgrade from 5.8.[89] to 5.10.0, there is no binary compatibility so all perl modules that install loadable binaries will have to be recompiled. Rather than trying to produce a long list of what modules are pure perl and what aren't the advice is simply to reinstall everything. 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
Re: how to recover after power outage
On Sun, Apr 5, 2009 at 2:59 AM, John Almberg jalmb...@identry.com wrote: Blast... my beautiful FreeBSD servers were rudely switched off when my data had a power outage a couple hours ago. They restored power about 30 minutes later, and one box came up no problem. The other has a login prompt on the serial console, but my login does not work. I get a Login incorrect message, even though the username/password is correct. Can you log in as *any* user? Even root login fails? When I try to SSH into the box, I get this (server name changed): $ ssh u...@example.com -p 48420 ssh: connect to host example.com port 48420: Connection refused In other words, I seem to be locked out. I don't want to do anything drastic without having a good idea what I'm doing. Any suggestions, much appreciated. What was the previous (estimated) uptime on the machine? In other words, did you change something and not/forget to restart the service? Have you tried ssh-ing to port 22 to see if the setting was changed back to default? Are there any other services on this box? If so, are they running? -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to recover after power outage
On Apr 5, 2009, at 4:41 AM, Glen Barber wrote: On Sun, Apr 5, 2009 at 2:59 AM, John Almberg jalmb...@identry.com wrote: Blast... my beautiful FreeBSD servers were rudely switched off when my data had a power outage a couple hours ago. They restored power about 30 minutes later, and one box came up no problem. The other has a login prompt on the serial console, but my login does not work. I get a Login incorrect message, even though the username/ password is correct. Can you log in as *any* user? Even root login fails? Can't log in at all. When I try to SSH into the box, I get this (server name changed): $ ssh u...@example.com -p 48420 ssh: connect to host example.com port 48420: Connection refused In other words, I seem to be locked out. I don't want to do anything drastic without having a good idea what I'm doing. Any suggestions, much appreciated. What was the previous (estimated) uptime on the machine? Several months, at least. In other words, did you change something and not/forget to restart the service? I don't believe so, but if I forgot it, then I guess anything is possible. Have you tried ssh-ing to port 22 to see if the setting was changed back to default? I can't at the moment, because the guys at NYI are working on the box. They have run fsck, which doesn't seem to have solved the problem. Are there any other services on this box? If so, are they running? The main app is MySQL. I don't think it is running, but can't really tell unless I can log in. I have backups, and while NYI is trying to get this box running, I'm setting up a new database server, just in case... -- John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ipfw: bandwidth limiting
Hello My system: FreeBSD firewall 7.0-RELEASE FreeBSD 7.0-RELEASE #3: Fri Feb 6 10:47:08 CET 2009 mar...@firewall:/usr/obj/usr/src/sys/FREEBSD_AMD64 amd64 I use the following rule in my /etc/rc.firewall: [snip] $ipfwcmd pipe 1 config bw 80KByte/s $ipfwcmd add pipe 1 ip from any to 192.168.10.0/24{100-254} via em1 [snip] I'm not sure it works. When I do a large download which takes long and anybody else want download too, this download will only get a reduce bandwidth. I expect that the second download get same rate as the first one (and reduce the bandwidth from the first one). Is that correct? Kind regards, -- Martin Schweizer off...@pc-service.ch PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to recover after power outage
John Almberg wrote: On Apr 5, 2009, at 4:41 AM, Glen Barber wrote: On Sun, Apr 5, 2009 at 2:59 AM, John Almberg jalmb...@identry.com wrote: Blast... my beautiful FreeBSD servers were rudely switched off when my data had a power outage a couple hours ago. They restored power about 30 minutes later, and one box came up no problem. The other has a login prompt on the serial console, but my login does not work. I get a Login incorrect message, even though the username/ password is correct. Can you log in as *any* user? Even root login fails? Can't log in at all. When I try to SSH into the box, I get this (server name changed): $ ssh u...@example.com -p 48420 ssh: connect to host example.com port 48420: Connection refused In other words, I seem to be locked out. I don't want to do anything drastic without having a good idea what I'm doing. Any suggestions, much appreciated. What was the previous (estimated) uptime on the machine? Several months, at least. In other words, did you change something and not/forget to restart the service? I don't believe so, but if I forgot it, then I guess anything is possible. Have you tried ssh-ing to port 22 to see if the setting was changed back to default? I can't at the moment, because the guys at NYI are working on the box. They have run fsck, which doesn't seem to have solved the problem. Are there any other services on this box? If so, are they running? The main app is MySQL. I don't think it is running, but can't really tell unless I can log in. I have backups, and while NYI is trying to get this box running, I'm setting up a new database server, just in case... If you were lucky having the guys at NYI login to single user mode at the console and run fsck in an attempt to clear up minor file system damage would have squared things away. MySQL is not real happy if there has been fs damage to the underlying files and their .bin logs. However, not being able to log in to a basic service like SSH is not good. Whether or not MySQL wants to come up SSH should still be working. In the end the guys at NYI are probably going to have to do a full system load and restore the last backup, and/or replace defective hardware. I have seen old hard drives in RAID arrays that had perked along for years show no hint of any problem. Power down the machine to do something like blow the dust out or stick in some more memory sticks and it won't come up again. Had I not powered down it may have happily run a while longer. I have seen drives fail like this before, especially when they are fairly old. At this stage you can only emit SIGH and replace/rebuild. But if the NYI guys are responsible for providing you with a running system the onus is on them to get it going again, at least up to a certain point. After that you would need to pick up and carry the ball the rest of the way. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: I would like to know about tracing system call in FreeBSD.
hjun...@illinois.edu wrote: Dear, I have tried to trace system call using C language. I would like to detect privilege escalation through traceing system call. Although freebsd announce the patch of telnet demon to remove malicious access to esaclate privilege, I would like to implement the detecting program. My idea is if I detect the change of uid of process then I can recongnize the privilege escalation. Maybe the audit(4) framework will be useful to you. signature.asc Description: OpenPGP digital signature
Re: Critical : My X went down
Paul B. Mahol wrote: On 4/5/09, manish jain invalid.poin...@gmail.com wrote: Hi all, In attempting to unlock some Python related mysteries (which neither python-list nor python-help would respond to despite repeated queries), I found myself recursively portupgrading myself right up the xorg distribution. That wasn't half as bad as the fact that - after all that effort - X does not even start now. Use vesa driver instead, and direct intel driver questions to Xorg lists. i810, driver that you used with old Xorg is abandoned and replaced with intel. Hello Paul, Thanks for the information. But, as for the plan of action, I think I'll go the other way round. I'll reinstall FreeBSD 7.1 from scratch and just make sure nobody ever touches my xorg setup again. I could upgrade my system, yes, but my Celeron Coppermine 800 MHz + Intel 810-based motherboard system was running just as fast as the fancy 2.0 GHz PC's at IBM where I was working last year. BTW, I seriously wish I were a billionaire so that I could help FreeBSD get rid of this X client-server nuisance forever. I have never seen anything so ill-conceived, pathetically fragmented (modular is the polite way of referring to it), inefficient and featureless. The Mission looks Impossible-3 but, for starters, I just got a job offer yesterday from a multinational where the pay is roughly 50% higher. So maybe, someday, ... :-) -- Thank you and Regards Manish Jain invalid.poin...@gmail.com +91-99830-62246 NB : Laast year I kudn't spell Software Engineer. Now I are won. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ipfw: bandwidth limiting
[snip] $ipfwcmd pipe 1 config bw 80KByte/s $ipfwcmd add pipe 1 ip from any to 192.168.10.0/24{100-254} via em1 [snip] I'm not sure it works. When I do a large download which takes long and anybody else want download too, this download will only get a reduce bandwidth. I expect that the second download get same rate as the first one (and reduce the bandwidth from the first one). Is that correct? your example limits it all to 80kB/s but does no traffic management. so it may get the same rate (half by half) or may not. do $ipfwcmd pipe 1 config bw 80kByte/s $ipfwcmd queue 1 config pipe 1 weight 1 mask dst-ip 0x $ipfwcmd add queue 1 ip from any to 192.168.10.0/24{100-254} via em1 this will limit them to 80kB/s and perform fair-sharing based of hosts. for example if one user on one computer will start 100 downloads, and other on other computer will start 1 download, this will ensure that first user will not takeover most bandwidth. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
range of IPs in rc.conf
Hi, I need to use around 30 IPs on a freebsd 7 machine. Is there a way to avoid adding 30 lines of aliases in rc.conf? On RedHat/Centos I use this trick: http://wiki.centos.org/TipsAndTricks/RangeOfIpsOnEthx Anything similar available for FreeBSD? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: range of IPs in rc.conf
On Sun, Apr 5, 2009 at 7:46 AM, luc...@lastdot.org luc...@lastdot.org wrote: Hi, I need to use around 30 IPs on a freebsd 7 machine. Is there a way to avoid adding 30 lines of aliases in rc.conf? On RedHat/Centos I use this trick: http://wiki.centos.org/TipsAndTricks/RangeOfIpsOnEthx You could create a customized rc file (I personally use rc.local) which will be run at boot. You could then use #!/bin/sh and a 'for' loop to create the devices. IMHO, this solution is a lot uglier than 30 extra lines in rc.conf. -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: range of IPs in rc.conf
Glen Barber wrote: On Sun, Apr 5, 2009 at 7:46 AM, luc...@lastdot.org luc...@lastdot.org wrote: Hi, I need to use around 30 IPs on a freebsd 7 machine. Is there a way to avoid adding 30 lines of aliases in rc.conf? On RedHat/Centos I use this trick: http://wiki.centos.org/TipsAndTricks/RangeOfIpsOnEthx You could create a customized rc file (I personally use rc.local) which will be run at boot. You could then use #!/bin/sh and a 'for' loop to create the devices. IMHO, this solution is a lot uglier than 30 extra lines in rc.conf. If this is a contiguous range of IPs, then use the ipv4_addrs_ifN construct, which you can read all about in rc.conf(5). Eg: ipv4_addrs_em0=192.168.64.33-63/24 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
Re: range of IPs in rc.conf
Matthew Seaman wrote: Glen Barber wrote: On Sun, Apr 5, 2009 at 7:46 AM, luc...@lastdot.org luc...@lastdot.org wrote: Hi, I need to use around 30 IPs on a freebsd 7 machine. Is there a way to avoid adding 30 lines of aliases in rc.conf? On RedHat/Centos I use this trick: http://wiki.centos.org/TipsAndTricks/RangeOfIpsOnEthx You could create a customized rc file (I personally use rc.local) which will be run at boot. You could then use #!/bin/sh and a 'for' loop to create the devices. IMHO, this solution is a lot uglier than 30 extra lines in rc.conf. If this is a contiguous range of IPs, then use the ipv4_addrs_ifN construct, which you can read all about in rc.conf(5). Eg: ipv4_addrs_em0=192.168.64.33-63/24 Cheers, Matthew Wow, great, that's what I was looking for! Thanks much, guys! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Recovering partitions from disk image? *resolved*
so write a short article about how you did this and why using hardware RAID solutions is bad, and put it on your website. it's AT LEAST funny that your hardware raid instead of protecting - rendered your data inaccessible. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to recover after power outage
The main app is MySQL. I don't think it is running, but can't really tell unless I can log in. I have backups, and while NYI is trying to get this box running, I'm setting up a new database server, just in case... If you were lucky having the guys at NYI login to single user mode at the console and run fsck in an attempt to clear up minor file system damage would have squared things away. MySQL is not real happy if there has been fs damage to the underlying files and their .bin logs. However, not being able to log in to a basic service like SSH is not good. Whether or not MySQL wants to come up SSH should still be working. In the end the guys at NYI are probably going to have to do a full system load and restore the last backup, and/or replace defective hardware. I have seen old hard drives in RAID arrays that had perked along for years show no hint of any problem. Power down the machine to do something like blow the dust out or stick in some more memory sticks and it won't come up again. Had I not powered down it may have happily run a while longer. I have seen drives fail like this before, especially when they are fairly old. At this stage you can only emit SIGH and replace/rebuild. But if the NYI guys are responsible for providing you with a running system the onus is on them to get it going again, at least up to a certain point. After that you would need to pick up and carry the ball the rest of the way. Okay, so the machine is back online and I can log in again. The hardware is only 18 months old or so... good quality stuff, so hopefully nothing is physically damaged. We'll see... Unfortunately, mysql isn't working at the moment... will make a backup of data (I have the previous night's backup, of course, but would like the latest, if possible.) Then will try to figure out what's working and what's not. -- John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ULI M526x NIC on *BSD
Hi, Is the ULI M526x NIC somehow supported with *BSD? The m526x belongs to the 'tulip'-family with the linux-kernel. Its not in the hardware compatibility list, so I'm not really counting on it, but what are the chances of seeing support? Is there maybe a way to 'port' the linux driver? I've heard about linux compatibility layer, but I suspect its not meant for linux kernel modules... Thanks for any pointers! Tom ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to recover after power outage
John Almberg wrote: [snip] Okay, so the machine is back online and I can log in again. The hardware is only 18 months old or so... good quality stuff, so hopefully nothing is physically damaged. We'll see... Unfortunately, mysql isn't working at the moment... will make a backup of data (I have the previous night's backup, of course, but would like the latest, if possible.) Then will try to figure out what's working and what's not. Check the machine-hostname.err file when you manually try and start MySQL. Provided that you have mysql_enable=YES in /etc/rc.conf you should be able to manually attempt to start with /usr/local/etc/rc.d/mysql-server start (it seems to work reliably when you type out the entire command path-wise). Note that if somehow permissions on the my.cnf file got changed MySQL won't start if my.cnf is world writable. Check for stale PID and sockets. Normally these shouldn't be a problem as a startup will just overwrite them. Check these to eliminate any wonkiness, e.g. some permission change isn't allowing for MySQL to wipe the old ones. The whateverthehostname.err log and possibly /var/log/messages might give some clue for what's going on. If the database files are corrupt just clean them out and replace with a backup done with dump. Ensure the /var/db/mysql tree is chowned mysql:mysql. If you had to install/reinstall from ports the install should have created the appropriate uid/gid accounts. Check and see if these are missing. At any rate I wish you the best of luck. Now that you can SSH in you can probably fix it up. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
gmirror THEN geli, correct?
List, I'm looking for a confirmation on the order: When setting up a (root partiton) gmirror+geli, what is the propper order? e.g: gmirror the disks and THEN initialize geli on the /dev/mirror partitions? Is this correct? Thanks. -Modulok- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to recover after power outage
On Apr 5, 2009, at 2:10 PM, Michael Powell wrote: John Almberg wrote: [snip] Okay, so the machine is back online and I can log in again. The hardware is only 18 months old or so... good quality stuff, so hopefully nothing is physically damaged. We'll see... Unfortunately, mysql isn't working at the moment... will make a backup of data (I have the previous night's backup, of course, but would like the latest, if possible.) Then will try to figure out what's working and what's not. Check the machine-hostname.err file when you manually try and start MySQL. Provided that you have mysql_enable=YES in /etc/rc.conf you should be able to manually attempt to start with /usr/local/etc/rc.d/mysql-server start (it seems to work reliably when you type out the entire command path- wise). Note that if somehow permissions on the my.cnf file got changed MySQL won't start if my.cnf is world writable. Check for stale PID and sockets. Normally these shouldn't be a problem as a startup will just overwrite them. Check these to eliminate any wonkiness, e.g. some permission change isn't allowing for MySQL to wipe the old ones. The whateverthehostname.err log and possibly /var/log/messages might give some clue for what's going on. If the database files are corrupt just clean them out and replace with a backup done with dump. Ensure the /var/ db/mysql tree is chowned mysql:mysql. If you had to install/reinstall from ports the install should have created the appropriate uid/gid accounts. Check and see if these are missing. At any rate I wish you the best of luck. Now that you can SSH in you can probably fix it up. Well, I had to give up, temporarily, on this server to get my clients back online. I took a nice machine I had laying around, loaded a fresh copy of FreeBSD on it, installed mysql, and loaded the Saturday morning database backup. I had to set up all the database permissions correctly, which took some time, but I'm happy to say that I've got all my clients back online with this new database server. Now I am going to catch a couple hours sleep (this has been going on since 2 am). Once I restore some brain cells, I'll see if I can figure out what's happening with the main database server. NYI has taken it off line, for some reason, and I can't log into it anyway, at the moment. Thanks for all the helpful advice. It's great to have this list to fall back on in a crisis. Brgds: John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: gmirror THEN geli, correct?
On Sun, Apr 05, 2009 at 12:58:46PM -0600, Modulok wrote: List, I'm looking for a confirmation on the order: When setting up a (root partiton) gmirror+geli, what is the propper order? e.g: gmirror the disks and THEN initialize geli on the /dev/mirror partitions? Is this correct? That works. I tried it. But it felt slow. So I dropped the mirroring, and used rsync running from a cron job at night to keep the primary and secondary disks (with encrypted partitions) in sync. This has a downside that my backup can be up to 24 hours out of date, but as a plus it provides me with an up to 24 hour window to recover accidentally deleted files. from the second disk. :-) It's a good tradeoff, IMO. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpwx1Yz5Vosr.pgp Description: PGP signature
Re: Question about forcing fsck at boottime
2009/3/31 Oliver Fromme o...@lurza.secnetix.de: Chris Rees utis...@googlemail.com wrote: 2009/3/31 Wojciech Puchar woj...@wojtek.tensor.gdynia.pl: IMHO this background fsck isn't good idea at all Why? Google background fsck damage. I was bitten by it myself, and I also recommend to turn background fsck off. If your disks are large and you can't afford the fsck time, consider using ZFS, which has a lot of benefits besides not requiring fsck. Best regards Oliver Right... You were bitten by background fsck, what _exactly_ happened? All the 'problems' here associated with bgfsck are referring to FreeBSD 4 etc, or incredibly vague anecdotal evidence. Have you googled for background fsck damage? Nothing (in the first two pages at least) even suggests that background fsck causes damage. Erik Trulsson wrote: Normal PATA/SATA disks with write caching enabled (which is the default) do not provide these guarantees. Disabling write caching on will make them adhere to the assumptions that soft updates make, but at the cost of a severe performance penalty when writing to the disks. In short therefore on a 'typical' PC you can fairly easily get errors on a filesystem which background fsck cannot handle. What do you mean by handle? Sure, it won't fix them, but it'll at least detect them. The chances of actually having a problem are slim, anyway, and it won't cause any damage either. Please don't assert information or stories about being 'bitten', without being more specific. It's meaningless and frustrating; I didn't ask who was bitten, I asked what the problem was. Also, please don't tell me to search the Internet without checking the search results for relevance yourself. I've spent a long time researching this, as have the FreeBSD devs, and they chose to make it on by default with no warnings. From the petty things they DO warn about, I very much doubt they'd allow something with a chance of any data corruption slide like that. Concrete evidence or direct links to problems with FreeBSD 6.0 ONLY in response please. Or, no-one has proven any reason for distrust, and all you lot are spreading is FUD. Sorry for the rant, it's not directly aimed at any of you, just the general assertion of 'facts' with no evidence, Chris -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Question about forcing fsck at boottime
2009/4/5 Chris Rees utis...@googlemail.com: 2009/3/31 Oliver Fromme o...@lurza.secnetix.de: Chris Rees utis...@googlemail.com wrote: 2009/3/31 Wojciech Puchar woj...@wojtek.tensor.gdynia.pl: IMHO this background fsck isn't good idea at all Why? Google background fsck damage. I was bitten by it myself, and I also recommend to turn background fsck off. If your disks are large and you can't afford the fsck time, consider using ZFS, which has a lot of benefits besides not requiring fsck. Best regards Oliver Right... You were bitten by background fsck, what _exactly_ happened? All the 'problems' here associated with bgfsck are referring to FreeBSD 4 etc, or incredibly vague anecdotal evidence. Have you googled for background fsck damage? Nothing (in the first two pages at least) even suggests that background fsck causes damage. Erik Trulsson wrote: Normal PATA/SATA disks with write caching enabled (which is the default) do not provide these guarantees. Disabling write caching on will make them adhere to the assumptions that soft updates make, but at the cost of a severe performance penalty when writing to the disks. In short therefore on a 'typical' PC you can fairly easily get errors on a filesystem which background fsck cannot handle. What do you mean by handle? Sure, it won't fix them, but it'll at least detect them. The chances of actually having a problem are slim, anyway, and it won't cause any damage either. This is exactly my experience: maybe three times in years of various power failures and hardware barfs have I had the background fsck tell me to run fsck manually. And that is the entire extent of the failure. The system was running normally, if a bit slowly from the fsck itself, and the worst result was a disappeared /var/db/pkg directory (which had nothing to do with fsck being in the background on restart). -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to find out which ports contains a specified command.
2009/4/5 Peter Wang peterw...@vip.qq.com: for example, after i installed pfsense, which is based on freebsd release 7.1, i found adduser command is missing. so how to find out which ports contains `adduser' command? thanks for your replies. % which adduser /usr/sbin/adduser Thus it is part of the base system, installed through /usr/src rather than /usr/ports. Also, as you are running (essentially) 7.x, this is probably better on freebsd-questions than current. -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
anybody know about a 3.01 package *With* browser?
Somebody thoughtfully posted a location where we could download a package of OOo-3.01 for the i386 recently. I thought that I had bookmarked that site that began ooo and had built packages for the openoffice suite. One, can anybody give the the correct URL? I'll burn it into my forearm this time! I want any/all the addons or plugins, and the mozilla browser would be a plus. thanks, gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.41a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to find out which ports contains a specified command.
--On April 5, 2009 6:13:57 PM -0400 ill...@gmail.com wrote: 2009/4/5 Peter Wang peterw...@vip.qq.com: for example, after i installed pfsense, which is based on freebsd release 7.1, i found adduser command is missing. so how to find out which ports contains `adduser' command? thanks for your replies. % which adduser /usr/sbin/adduser Thus it is part of the base system, installed through /usr/src rather than /usr/ports. Also, as you are running (essentially) 7.x, this is probably better on freebsd-questions than current. I think you misunderstood his question. This would be one way to do it: find /usr/ports/ -type f -exec grep -sq adduser {} \; -print Paul Schmehl, If it isn't already obvious, my opinions are my own and not those of my employer. ** WARNING: Check the headers before replying ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Question about forcing fsck at boottime
On Sun, 5 Apr 2009 21:40:52 +0100 Chris Rees utis...@googlemail.com wrote: 2009/3/31 Oliver Fromme o...@lurza.secnetix.de: Chris Rees utis...@googlemail.com wrote: 2009/3/31 Wojciech Puchar woj...@wojtek.tensor.gdynia.pl: IMHO this background fsck isn't good idea at all Why? Google background fsck damage. I was bitten by it myself, and I also recommend to turn background fsck off. If your disks are large and you can't afford the fsck time, consider using ZFS, which has a lot of benefits besides not requiring fsck. Best regards Oliver Right... You were bitten by background fsck, what _exactly_ happened? All the 'problems' here associated with bgfsck are referring to FreeBSD 4 etc, or incredibly vague anecdotal evidence. Have you googled for background fsck damage? Nothing (in the first two pages at least) even suggests that background fsck causes damage. http://www.google.co.uk/search?q=background+fsck+corruption You'll find the first few results are about panics during background fsck resulting in an endless cycle of boot-panic-reboot, which don't occur with foreground fsck. And at least the first result is from 6.x. -- Bruce Cran ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: anybody know about a 3.01 package *With* browser?
Hi, Gary On Sun, Apr 5, 2009 at 6:49 PM, Gary Kline kl...@thought.org wrote: Somebody thoughtfully posted a location where we could download a package of OOo-3.01 for the i386 recently. I thought that I had bookmarked that site that began ooo and had built packages for the openoffice suite. One, can anybody give the the correct URL? I'll burn it into my forearm this time! I want any/all the addons or plugins, and the mozilla browser would be a plus. There are two primary places I am aware of: http://porting.openoffice.org/freebsd/#obtain ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/ HTH. -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Modbus I/O Module - Analog / Digital
This is a message in multipart MIME format. Your mail client should not be displaying this. Consider upgrading your mail client to view this message correctly. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: anybody know about a 3.01 package *With* browser?
On Sun, Apr 05, 2009 at 09:41:36PM -0400, Glen Barber wrote: Hi, Gary On Sun, Apr 5, 2009 at 6:49 PM, Gary Kline kl...@thought.org wrote: Somebody thoughtfully posted a location where we could download a package of OOo-3.01 for the i386 recently. I thought that I had bookmarked that site that began ooo and had built packages for the openoffice suite. One, can anybody give the the correct URL? I'll burn it into my forearm this time! I want any/all the addons or plugins, and the mozilla browser would be a plus. There are two primary places I am aware of: http://porting.openoffice.org/freebsd/#obtain ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/ HTH. well, it wouldve if there were a 3.0.1 d/load for 7.1, but nope. so far, none of us has been willing to volunteer the months/years to build a 7.1 version for the i386. i'm down to 5GB of freespace and oo fails after a few hours. can't figure out how/where all my diskspace went to but that's offtopic. tx, gary -- Glen Barber -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.41a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: anybody know about a 3.01 package *With* browser?
On Sun, Apr 5, 2009 at 10:10 PM, Gary Kline kl...@thought.org wrote: well, it wouldve if there were a 3.0.1 d/load for 7.1, but nope. so far, none of us has been willing to volunteer the months/years to build a 7.1 version for the i386. i'm down to 5GB of freespace and oo fails after a few hours. can't figure out how/where all my diskspace went to but that's offtopic. Tell you what. I'm running 7-STABLE right now, so if I were to build the package it may be incompatible with some things. Once 7.2 is -RELEASE, I'll build a GNOME and KDE version and put them up on my site. (I know that doesn't fix your *need* now, but I will take the time when the time is right.) Regards, -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
keyboard and USE mouse have no response in X
My computer is Thinkpad R61i 7732BGC.My system is FreeBSD-7.2-BETA1. Everything was fine in the console.Both the keyboard and USB mouse can not work in the X.I don't know why. But the USE mouse still can not work in the X. I say my keyboard can not work,because I can not use Ctrl+Alt+Backspace to kill X,and there is no response in X whether I type anything.If I type Alt+F1,just go back to the consol where I startx. I tried to a way what I just heard.Use sysinstall to set the mouse daemon disabled,and change /etc/X11/xorg.conf. Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Just change to Protocol: OptionProtocol /dev/usm0 But my USB mouse still can not work.Also my keyboard. I need a help.I am a novice. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: anybody know about a 3.01 package *With* browser?
On Sun, Apr 5, 2009 at 8:10 PM, Gary Kline kl...@thought.org wrote: On Sun, Apr 05, 2009 at 09:41:36PM -0400, Glen Barber wrote: Hi, Gary On Sun, Apr 5, 2009 at 6:49 PM, Gary Kline kl...@thought.org wrote: Somebody thoughtfully posted a location where we could download a package of OOo-3.01 for the i386 recently. I thought that I had bookmarked that site that began ooo and had built packages for the openoffice suite. One, can anybody give the the correct URL? I'll burn it into my forearm this time! I want any/all the addons or plugins, and the mozilla browser would be a plus. There are two primary places I am aware of: http://porting.openoffice.org/freebsd/#obtain ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/ HTH. well, it wouldve if there were a 3.0.1 d/load for 7.1, but nope. so far, none of us has been willing to volunteer the months/years to build a 7.1 version for the i386. i'm down to 5GB of freespace and oo fails after a few hours. can't figure out how/where all my diskspace went to but that's offtopic. tx, gary I don't understand the months/years or weeks/days symptom of OOo. On my dual-core system at work, Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz Took about 4 hours. It only seemed to utilize only 1 CPU... my top always said =50% CPU usage I left the default options, but it won't create a package.. policykit Updated +CONTENTS and retrying... success. 97 package files created to support openoffice. I have test servers up periodically and would offer it for an unknown period of time. I'll notify you when it's up. -- Glen Barber -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.41a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: anybody know about a 3.01 package *With* browser?
Hi, Tim. On Sun, Apr 5, 2009 at 11:51 PM, Tim Judd taj...@gmail.com wrote: I don't understand the months/years or weeks/days symptom of OOo. On my dual-core system at work, Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz Took about 4 hours. It only seemed to utilize only 1 CPU... my top always said =50% CPU usage I left the default options, but it won't create a package.. policykit Updated +CONTENTS and retrying... success. 97 package files created to support openoffice. I have test servers up periodically and would offer it for an unknown period of time. I'll notify you when it's up. I'll race you. :) Seriously, though. This is something I've been meaning to do, but just haven't had time. Since 7.2-R is upcoming, I figured that'd be the perfect time, and now I have the web hosting for the package(s). Regards, -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: anybody know about a 3.01 package *With* browser?
Tim Judd writes: I don't understand the months/years or weeks/days symptom of OOo. On my dual-core system at work, Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz Took about 4 hours. It only seemed to utilize only 1 CPU... my top always said =50% CPU usage For comparison: on a P4/2.26ghz/2 gbyte RAM, lightly loaded with fairly fast SCSI disks, it takes 30+ hours. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: anybody know about a 3.01 package *With* browser?
On Sun, Apr 5, 2009 at 10:02 PM, Robert Huff roberth...@rcn.com wrote: Tim Judd writes: I don't understand the months/years or weeks/days symptom of OOo. On my dual-core system at work, Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz Took about 4 hours. It only seemed to utilize only 1 CPU... my top always said =50% CPU usage For comparison: on a P4/2.26ghz/2 gbyte RAM, lightly loaded with fairly fast SCSI disks, it takes 30+ hours. Well, I had full Xorg 7.4, KDE4 and partial gnome2 installed when I built openoffice. I am pretty sure if I have to do everything from scratch is where the days would come into play. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: anybody know about a 3.01 package *With* browser?
On Sun, Apr 5, 2009 at 10:05 PM, Tim Judd taj...@gmail.com wrote: On Sun, Apr 5, 2009 at 10:02 PM, Robert Huff roberth...@rcn.com wrote: Tim Judd writes: I don't understand the months/years or weeks/days symptom of OOo. On my dual-core system at work, Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz Took about 4 hours. It only seemed to utilize only 1 CPU... my top always said =50% CPU usage For comparison: on a P4/2.26ghz/2 gbyte RAM, lightly loaded with fairly fast SCSI disks, it takes 30+ hours. Well, I had full Xorg 7.4, KDE4 and partial gnome2 installed when I built openoffice. I am pretty sure if I have to do everything from scratch is where the days would come into play. Reference - dependency list for OOo 3.0.1 package, 7.1-R i386: Information for openoffice.org-3.0.1.tbz: Depends on: Dependency: xineramaproto-1.1.2 Dependency: xextproto-7.0.5 Dependency: renderproto-0.9.3 Dependency: randrproto-1.2.1 Dependency: printproto-1.0.4 Dependency: kbproto-1.0.3 Dependency: inputproto-1.5.0 Dependency: fixesproto-4.0 Dependency: damageproto-1.1.0_2 Dependency: compositeproto-0.4 Dependency: font-util-1.0.1 Dependency: encodings-1.0.2,1 Dependency: expat-2.0.1 Dependency: policykit-0.9_4 Dependency: gnome_subr-1.0 Dependency: dmidecode-2.10 Dependency: openldap-client-2.4.15_1 Dependency: pciids-20090224 Dependency: hicolor-icon-theme-0.10_2 Dependency: gnomehier-2.3_11 Dependency: python25-2.5.4_1 Dependency: xcb-proto-1.4 Dependency: perl-5.8.9_2 Dependency: png-1.2.35 Dependency: jpeg-6b_7 Dependency: tiff-3.8.2_3 Dependency: jasper-1.900.1_7 Dependency: pkg-config-0.23_1 Dependency: libtasn1-1.8 Dependency: libart_lgpl-2.3.20,1 Dependency: pixman-0.14.0 Dependency: freetype2-2.3.7 Dependency: fontconfig-2.6.0,1 Dependency: bitstream-vera-1.10_4 Dependency: xproto-7.0.15 Dependency: libfontenc-1.0.4 Dependency: mkfontscale-1.0.6 Dependency: mkfontdir-1.0.4 Dependency: font-misc-ethiopic-1.0.0 Dependency: font-misc-meltho-1.0.0_1 Dependency: font-bh-ttf-1.0.0 Dependency: xorg-fonts-truetype-7.4 Dependency: libICE-1.0.4_1,1 Dependency: libSM-1.1.0_1,1 Dependency: libXdmcp-1.0.2_1 Dependency: libXau-1.0.4 Dependency: pcre-7.8 Dependency: libvolume_id-0.81.1 Dependency: libpthread-stubs-0.1 Dependency: libxcb-1.2 Dependency: xcb-util-0.3.3 Dependency: libX11-1.2,1 Dependency: libXt-1.0.5_1 Dependency: libXrender-0.9.4_1 Dependency: cairo-1.8.6_1,1 Dependency: libXft-2.1.13 Dependency: libXfixes-4.0.3_1 Dependency: libXcursor-1.1.9_1 Dependency: libXdamage-1.1.1 Dependency: libXext-1.0.5,1 Dependency: libXcomposite-0.4.0,1 Dependency: libXinerama-1.0.3,1 Dependency: libXi-1.2.1,1 Dependency: libXrandr-1.2.3 Dependency: libXpm-3.5.7 Dependency: libXp-1.0.0,1 Dependency: libXmu-1.0.4,1 Dependency: libXaw-1.0.5_1,1 Dependency: libdaemon-0.12 Dependency: gdbm-1.8.3_3 Dependency: libiconv-1.11_1 Dependency: samba-libsmbclient-3.0.34_1 Dependency: libxml2-2.7.3 Dependency: dbus-1.2.4.4 Dependency: gettext-0.17_1 Dependency: gnome-mime-data-2.18.0_3 Dependency: libgpg-error-1.7 Dependency: libgcrypt-1.4.4 Dependency: gnutls-2.6.4 Dependency: cups-base-1.3.9_3 Dependency: glib-2.18.4 Dependency: gamin-0.1.10 Dependency: gio-fam-backend-2.18.4 Dependency: desktop-file-utils-0.15_1 Dependency: libIDL-0.8.13 Dependency: ORBit2-2.14.17 Dependency: pango-1.22.4 Dependency: shared-mime-info-0.60 Dependency: dbus-glib-0.80 Dependency: consolekit-0.3.0_5 Dependency: avahi-app-0.6.24_1 Dependency: hal-0.5.11_21 Dependency: atk-1.24.0 Dependency: gtk-2.14.7_1 Dependency: gconf2-2.24.0 Dependency: gnome-vfs-2.24.1 I'm not sure why there's so much depenencies, but if anyone wants me to post it, I want to know. Having 1 is equal to an infinity, so if only one person asks to post it, I'll put it up for a while. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: anybody know about a 3.01 package *With* browser?
Tim Judd writes: I don't understand the months/years or weeks/days symptom of OOo. On my dual-core system at work, Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz Took about 4 hours. It only seemed to utilize only 1 CPU... my top always said =50% CPU usage For comparison: on a P4/2.26ghz/2 gbyte RAM, lightly loaded with fairly fast SCSI disks, it takes 30+ hours. Well, I had full Xorg 7.4, KDE4 and partial gnome2 installed when I built openoffice. I had all dependencies pre-installed; that 30+ is all for OpenOffice. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: anybody know about a 3.01 package *With* browser?
Tim Judd writes: Reference - dependency list for OOo 3.0.1 package, 7.1-R i386: deleted I'm not sure why there's so much depenencies, but if anyone wants me to post it, I want to know. Because OOo declines to re-invent the wheel? Some of these are easy to understand if you know almost nothing about programming - the fonts for example. Others, like cairo, pango, expat, and CUPS, are established libraries for dealing with things like text input/rendering, graphics, and printing. gtk is the GUI tookkit. What I don't understand is things like pciids-20090224. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org