snapshot rsync dump/restore
I want to clone a FreeBSD system on another system. Say, Mondaymorning I use the dump(8) to make dumpfiles of all filesystems (dumpofroot.dmp, dumpofvar.dmp, ...tmp.dmp, ...usr.dmp, ...home.dmp ) on an external USB disk. The original system keeps running. Then Wednesday I setup FreeBSD on the new system, and use restore(8) to put the contents of my dumpfiles in the filesystems of that clone system. Then I still need to have the changes occured during Mondaymorning till Wednesdayafternoon on the original system, to be put in some way on the clone system, so that these are not lost. I was told one could do this using rsync and by using a snapshot it would even be faster (?) Is rsync save regarding soft-links ? How exactly would one best proceed? ___ 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: black hole test
Jonathan McKeown wrote: On Wednesday 16 December 2009 22:05:06 Peter Wemm wrote: Daignostic message to trace mailing list processing, please ignore. You have heard of freebsd-test@ , haven't you? Uhmm, he is the mail admin and this list was down; don't you think he should be able to test out the problem? Thanks Peter for fixing whatever it was... -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: snapshot rsync dump/restore
n dhert wrote: I want to clone a FreeBSD system on another system. Say, Mondaymorning I use the dump(8) to make dumpfiles of all filesystems (dumpofroot.dmp, dumpofvar.dmp, ...tmp.dmp, ...usr.dmp, ...home.dmp ) on an external USB disk. The original system keeps running. Then Wednesday I setup FreeBSD on the new system, and use restore(8) to put the contents of my dumpfiles in the filesystems of that clone system. Then I still need to have the changes occured during Mondaymorning till Wednesdayafternoon on the original system, to be put in some way on the clone system, so that these are not lost. I was told one could do this using rsync and by using a snapshot it would even be faster (?) Is rsync save regarding soft-links ? How exactly would one best proceed? Presumably you did a level 0 dump to make your initial copy? Did you happen to use the -u flag to dump? ie. update /etc/dumpdates? If so, then you can just do an incremental dump of everything that has changed since. (This is standaard dump(1) functionality). So long as the filesystems on the second machine haven't changed in the meantime, you should be able to just restore the incremental dump on top of the original full backup to get things pretty much in synch. (Although watch out for files that were deleted between the full and the incremental dumps). If you didn't update /etc/dumpdates, then you can manually edit /etc/dumpdates to achieve the same result. Failing that, yes, you can use rsync to synchronise the filesystem state. You don't have to snapshot the original system, but it will help to get you a consistent point-in-time copy of the original server. To create a snapshotted and mounted directory tree see the section on 'snapshot' in mount(8). If you have several filesystems to rsync to the other machine, you should snapshot all of them and mount them one over the other in the same relation as the original filesystems. Then you can rsynch the whole snapshotted directory tree to your new server in one command. 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: is this booting info correct?
Fbsd1 wrote: [snip] The number of hard drive primary-partitions/slices is determined by the motherboard BIOS (Basic input output system), not the operating system. Standard motherboard BIOS limits hard-drives to 4 main divisions [snip] Not quite true. The only thing contained within the BIOS is an instruction to jump to sector 0 of track 0 after a successful POST. -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: snapshot rsync dump/restore
On Thu, Dec 17, 2009 at 09:03:50AM +0100, n dhert wrote: I want to clone a FreeBSD system on another system. Say, Mondaymorning I use the dump(8) to make dumpfiles of all filesystems (dumpofroot.dmp, dumpofvar.dmp, ...tmp.dmp, ...usr.dmp, ...home.dmp ) on an external USB disk. Dumping /tmp is usually not necessary. The original system keeps running. Then Wednesday I setup FreeBSD on the new system, and use restore(8) to put the contents of my dumpfiles in the filesystems of that clone system. If the new system has different hardware, do not forget to adjust /boot/loader.conf, or build a custom kernel. And you should definitely edit /etc/rc.conf if even for the hostname. Then I still need to have the changes occured during Mondaymorning till Wednesdayafternoon on the original system, to be put in some way on the clone system, so that these are not lost. snip How exactly would one best proceed? I would recommend rsync. Is rsync save regarding soft-links ? Yes, if you use the '-a' flag. 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) pgpXk89WkOmYO.pgp Description: PGP signature
Re: APC Smartups 1500va sua1500
Gary Kline ha scritto: Okay, well, very-soon, I'll need to plug in my watt-meter to see how much juice my server, firewall, and maybe one desktop take. Guessing is less than 500w. Is there a tutorial for newbie on how to use this beast? Optimally, I would like the UPS to run for a few minutes, then instruct that things be shutdown -h 120 (say). That is easy to write; difficult to program. Just use apcupsd. bye av. ___ 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: Re-compiling PHP changes server responsiveness
Matthew Seaman wrote: [snip] I get: [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter, and no new errors in /var/log/httpd-error.log four times Tried adding accf_http=YES to /boot/loader.conf, and re-booting of course. This is just a warning message and doesn't stop apache working or not. Enabling accf_http should give you a bit of a performance boost under heavy load and help you withstand certain types of DoS attack, but it's not required. I found I needed both accf_data_load=YES and accf_http_load=YES, but I am also running SSL too. I've also noticed that I tend to not receive this error when Apache starts after a fresh system boot. Have never tried to examine it further as I don't reboot or restart Apache very often. It just seemed happier when I added the http_load into the mix and only spews the error at non-reboot restarts. [snip] What else should I look at? Try restarting httpd from the command line: /usr/local/etc/rc.d/apache22 restart This will run a configtest and then try and start up apache. Then check that apache is still running: /usr/local/etc/rc.d/apache22 status If apache has mysteriously disappeared and there are no messages in log files, then it means apache crashed during the startup process soon after daemonising. That's pretty diagnostic for loading a dynamic module that disagrees with it. At a guess, and given that you've reinstalled all your php modules, I think you may be being hit by the php module load order problem. In that case, running php from the command line will probably also segv on you. This is something that has had quite a lot of attention on this list, but there isn't a really good solution yet, other than manually reordering the entries in /usr/local/etc/php/extensions.ini Also, if you're running eAccelerator, make sure you recompile it at the same time you upgrade the main lang/php5 port: eAccelerator will cause Apache to crash if you try and run it against a different version of PHP than it was originally compiled for. The same would apply whether it was xcache or the Zendoptimizer. The way to pin the problem down is to rename extensions.ini temporarily to extensions.ini.bak and comment out the #LoadModule php5_modulelibexec/apache22/libphp5.so line temporarily. Start/restart Apache and if it works OK with serving static content it confirms the problem is PHP. Then add the Loadmodule line again in httpd.conf and restart. If it restarts with no errors and again serves static pages fine the PHP module itself is OK. Trying to run something like a CMS will still be error prone as the various modules it needs aren't being loaded and found, as the extensions.ini file is still renamed. Note that if Apache is happy with mod_php while extensions.ini is still renamed it also confirms no major flaw in the php.ini file. If Apache runs fine with the mod_php module then the trouble is in the extensions. Rename the extensions.ini back to it's original state. There is a script that may be run to realize a close approximation of the extension loading order problem: fixphpextorder.sh which can be found here: http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround That is a stab at the reordering problem, but in my case was not enough to completely solve my problem. I also had to comment out extension=mhash.so with a ;. This was arrived at by commenting out line by line one at a time until I hit the one causing the breakage. This particular extension has been problematic for me for some time now. Some upgrades it works and for some it is broken. Remember that each change made requires an apachectl restart. -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
binary package dependencies
I would like to know how to use self compiled ports made with make install together with the packages which can be downloaded with pkg_add -r I'm in the process of upgrading an old freebsd 6.0 server to 8.0 and have decided to try and use apache22. For various reasons I built the apache22 server using ports (mainly to force usage of a particular BSDB). Then added subversion also using ports. After setting up the new apache to act as an svn source and getting that working I decided to add viewvc. Rather stupidly I used pkg_add -r viewvc which seemed to work. However, my apache setup stopped working. After much faffing about I learned that the pkg_add -r viewvc had also installed another version of apache (a 2.0 version). All my apachectl commands were directed at the 2.0 version and my edits to the httpd.conf were bing entirely ignored. Somehow I had naively assumed that apache20 and apache22 were incompatible and could not simultaneously be installed. Did the binary package load ignore all conflicts? What's the proper way to approach these issues. Looking in the apache20 Makefile I see it conflicts with earlier apache, but how can it conflict with a later one? -- Robin Becker ___ 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: snapshot rsync dump/restore
n dhert wrote: I was told one could do this using rsync and by using a snapshot it would even be faster (?) Also try http://rdiff-backup.nongnu.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
kernel: g_vfs_done error = 5 and initiate_write_inodeblock_ufs2: already started (panic)
Hi, We have a FreeBSD 7.2 Release amd64 running at a customers site in a vmware esx 3.5 environment with a san. This server is sometimes throwing errors and sometimes panicing or locking up in ways I have not seen before. I would say this has something to do with a failing disk, but this is a virtual disk so I'm a little bit puzzled. I have suggested to the vmware administrator that this could be something within their environment, but they cannot find anything. Has someone seen these errors before and maybe have a suggestion how to find out what the culprit is? Dec 1 01:58:25 tnras166 kernel: g_vfs_done():da0s1e[WRITE(offset=4045619200, length=16384)]error = 5 Dec 1 01:58:25 tnras166 kernel: g_vfs_done():da0s1e[WRITE(offset=6742622208, length=16384)]error = 5 Dec 1 01:58:26 tnras166 kernel: g_vfs_done():da0s1f[WRITE(offset=15796846592, length=16384)]error = 5 I have been running FreeBSD for a long time on real hardware and in vmware environments, but never encountered these type of errors before. There is no filesystem corruption after these messages or after the panic mentioned in the subject. This situation is now happening approximately once every six weeks. Thanks in advance. DISCLAIMER: This e-mail is for the intended recipient(s) only If you have received it by mistake please let us know by reply and then delete it from your system; Access, disclosure, copying, distribution or reliance on any of it by anyone else is prohibited. If you as intended recipient have received this e-mail incorrectly, please notify the sender (via 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: kernel: g_vfs_done error = 5 and initiate_write_inodeblock_ufs2: already started (panic)
Bas Smeelen wrote: Hi, We have a FreeBSD 7.2 Release amd64 running at a customers site in a vmware esx 3.5 environment with a san. This server is sometimes throwing errors and sometimes panicing or locking up in ways I have not seen before. I would say this has something to do with a failing disk, but this is a virtual disk so I'm a little bit puzzled. I have suggested to the vmware administrator that this could be something within their environment, but they cannot find anything. Has someone seen these errors before and maybe have a suggestion how to find out what the culprit is? Dec 1 01:58:25 tnras166 kernel: g_vfs_done():da0s1e[WRITE(offset=4045619200, length=16384)]error = 5 Dec 1 01:58:25 tnras166 kernel: g_vfs_done():da0s1e[WRITE(offset=6742622208, length=16384)]error = 5 Dec 1 01:58:26 tnras166 kernel: g_vfs_done():da0s1f[WRITE(offset=15796846592, length=16384)]error = 5 I have been running FreeBSD for a long time on real hardware and in vmware environments, but never encountered these type of errors before. There is no filesystem corruption after these messages or after the panic mentioned in the subject. This situation is now happening approximately once every six weeks. I have a number of FreeBSD systems running under various versions of VMWare products (ESX, ESXi, Server) and can tell you that this is almost certainly a problem on the host side. It can happen if the SAN is timeouting, for example if it's doing disk scrubbing too diligently, etc. or the FC connections are problematic. Try to get the vmware admin to look at the logs more closely both on the host and on other machines hosted on the same VMWare instance or the same SAN. Btw. which SAN product is it? ___ 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
ifdown/ifup under FreeBSD?
Under RedHat Linux I can configure an interface, routes and so on in /etc/sysconfig/network-scripts/ifcfg-eth1, /etc/sysconfig/network-scripts/routes-eth1 then simply run: $ ifup eth1 and it will set all the routes/netconfig/aliases I just configured. Is there something similar in FreeBSD? I tried configuring aliases in /etc/rc.conf and running: $ /etc/rc.d/netif restart but that just ended in errors that the route was already configured and so on. Sure I could do all the work manually with ifconfig and route but that's not my question. Sandra ___ 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: unable to connect to host....
On Sat, Dec 12, 2009 at 06:40:53AM -0500, Glen Barber wrote: Hi Gary On Fri, Dec 11, 2009 at 11:03 PM, Gary Kline kl...@thought.org wrote: Regarding the sage of the migration to a new server, I thought things were working when I went to bed. Turns out this was only because I had the old server going too. (I did some edit on my new web server but the chances didn't show up. Only the old server was replying.) Now, using lynx, I get the err that it 'Can't connect to host'. The new server is 10.47.0.230, but dig is still seeing my old server, 10.47.0.240. Any ideas why lynx cannot connect outside the server itself?? Have a look in /etc/hosts (and /etc/resolv.conf to be save) for explicit entries. /etc/resolv.conf looks exactly right; it has what my old server had but altered for my new serve--name and IP. gary PS: Others on my net cannot get out either, so I'm grateful at mail works!! It is trurly my lifeline to everyone, everything -- 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 -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a 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: kernel: g_vfs_done error = 5 and initiate_write_inodeblock_ufs2: already started (panic)
Ivan Voras wrote: Bas Smeelen wrote: Hi, We have a FreeBSD 7.2 Release amd64 running at a customers site in a vmware esx 3.5 environment with a san. This server is sometimes throwing errors and sometimes panicing or locking up in ways I have not seen before. I would say this has something to do with a failing disk, but this is a virtual disk so I'm a little bit puzzled. I have suggested to the vmware administrator that this could be something within their environment, but they cannot find anything. Has someone seen these errors before and maybe have a suggestion how to find out what the culprit is? Dec 1 01:58:25 tnras166 kernel: g_vfs_done():da0s1e[WRITE(offset=4045619200, length=16384)]error = 5 Dec 1 01:58:25 tnras166 kernel: g_vfs_done():da0s1e[WRITE(offset=6742622208, length=16384)]error = 5 Dec 1 01:58:26 tnras166 kernel: g_vfs_done():da0s1f[WRITE(offset=15796846592, length=16384)]error = 5 I have been running FreeBSD for a long time on real hardware and in vmware environments, but never encountered these type of errors before. There is no filesystem corruption after these messages or after the panic mentioned in the subject. This situation is now happening approximately once every six weeks. I have a number of FreeBSD systems running under various versions of VMWare products (ESX, ESXi, Server) and can tell you that this is almost certainly a problem on the host side. It can happen if the SAN is timeouting, for example if it's doing disk scrubbing too diligently, etc. or the FC connections are problematic. Try to get the vmware admin to look at the logs more closely both on the host and on other machines hosted on the same VMWare instance or the same SAN. Btw. which SAN product is it? Hi thanks for the fast response. I think this is a Dell/EMC san attached to two Dell PowerEdge (2950) servers. So basically it would be advisable to recommend to look in the vmkernel and san logs around the same timestamps as I see this happening in the FreeBSD guest? DISCLAIMER: This e-mail is for the intended recipient(s) only If you have received it by mistake please let us know by reply and then delete it from your system; Access, disclosure, copying, distribution or reliance on any of it by anyone else is prohibited. If you as intended recipient have received this e-mail incorrectly, please notify the sender (via 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: ifdown/ifup under FreeBSD?
Sandra Kachelmann wrote: $ /etc/rc.d/netif restart but that just ended in errors that the route was already configured and so on. Sure I could do all the work manually with ifconfig and route but that's not my question. Maybe you also need /etc/rc.d/routing 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: ifdown/ifup under FreeBSD?
Sandra Kachelmann wrote: Under RedHat Linux I can configure an interface, routes and so on in /etc/sysconfig/network-scripts/ifcfg-eth1, /etc/sysconfig/network-scripts/routes-eth1 then simply run: $ ifup eth1 and it will set all the routes/netconfig/aliases I just configured. Is there something similar in FreeBSD? I tried configuring aliases in /etc/rc.conf and running: $ /etc/rc.d/netif restart but that just ended in errors that the route was already configured and so on. Sure I could do all the work manually with ifconfig and route but that's not my question. Usually I do this from remote with /etc/rc.d/netif restart /etc/rc.d/routing restart Maybe you are not root (because of the $ prompt)? #/etc/rc.d/netif restart /etc/rc.d/routing restart This always works for me DISCLAIMER: This e-mail is for the intended recipient(s) only If you have received it by mistake please let us know by reply and then delete it from your system; Access, disclosure, copying, distribution or reliance on any of it by anyone else is prohibited. If you as intended recipient have received this e-mail incorrectly, please notify the sender (via 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: sed -f Script Syntax
My main problem turned out to be that I had -E and -e confused. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Telecommunications Services Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ifdown/ifup under FreeBSD?
Bas Smeelen wrote: Sandra Kachelmann wrote: Under RedHat Linux I can configure an interface, routes and so on in /etc/sysconfig/network-scripts/ifcfg-eth1, /etc/sysconfig/network-scripts/routes-eth1 then simply run: $ ifup eth1 and it will set all the routes/netconfig/aliases I just configured. Is there something similar in FreeBSD? I tried configuring aliases in /etc/rc.conf and running: $ /etc/rc.d/netif restart but that just ended in errors that the route was already configured and so on. Sure I could do all the work manually with ifconfig and route but that's not my question. Usually I do this from remote with /etc/rc.d/netif restart /etc/rc.d/routing restart Maybe you are not root (because of the $ prompt)? #/etc/rc.d/netif restart /etc/rc.d/routing restart This always works for me Sorry, omit the last DISCLAIMER: This e-mail is for the intended recipient(s) only If you have received it by mistake please let us know by reply and then delete it from your system; Access, disclosure, copying, distribution or reliance on any of it by anyone else is prohibited. If you as intended recipient have received this e-mail incorrectly, please notify the sender (via 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: USBserial port convertor
Roland Smith wrote: On Wed, Dec 16, 2009 at 10:51:28AM -0500, stan wrote: I need to support 5 RS-232 streams with my FreeBSD 7.2 machine. I just purchased UTS-408A-S1 8 port adapter. When I plug it in, I get the following in dmesg: uhub3: vendor 0x0409 product 0x005a, class 9/0, rev 2.00/1.00, addr 2 on uhub1 uhub3: single transaction translator uhub3: 4 ports with 4 removable, self powered ucom0: FTDI FT232R USB UART, class 0/0, rev 2.00/6.00, addr 3 on uhub3 ucom1: FTDI FT232R USB UART, class 0/0, rev 2.00/6.00, addr 4 on uhub3 Looks like it works. :-) the ucom(4) driver attaches. Ah, but I *think* the point he's getting at is that he only seems to have 2 ports for an 8 port adaptor! Mike Woods Full of squishy cynicism ___ 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: kernel: g_vfs_done error = 5 and initiate_write_inodeblock_ufs2: already started (panic)
Bas Smeelen wrote: So basically it would be advisable to recommend to look in the vmkernel and san logs around the same timestamps as I see this happening in the FreeBSD guest? Yes, try that. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
is this getting out?
ariatotle is offline; i'm exclusively on my new server. will somebody please do a digg thought.org and see if they see what i see? hope i get this. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a 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: Device not configured
On Thursday 17 December 2009 02:56:12 Warren Block wrote: On Wed, 16 Dec 2009, David Naylor wrote: I booted into single user mode (running FreeBSD 8 RC2) and did: # dd if=/dev/ad8 of=/dev/ad8 bs=1024k That command copies the hard drive... over itself. What were you trying to do? The dd manpages mentioned this might help with errors on the HDD. I'm trying to eliminate problems relating to VirtualBox and DMA errors an ad8. After waiting a few hours the command completed without problem (ad8 is the HDD that has FreeBSD). After that I got the following: # reboot reboot: device not configured # ls vnode_pager_getpages: I/O read error ls: device not configured Not good. Maybe trying to swap back in from swap that was just overwritten? No swap was active at that time Pressing the boxes power button results in the above vnode message to spam the screen. The only way to reset the system was to do a hard reset (root was ro :-) ). Did it come back up? Yes, all data is still there, as before. Is this expected behaviour or something wrong with the HDD? Not expected, exactly, but not surprising. The hardware should be fine. Well, no harm done. Thanks for your reply signature.asc Description: This is a digitally signed message part.
Re: ifdown/ifup under FreeBSD?
On 17/12/2009 14:19, Bas Smeelen wrote: Bas Smeelen wrote: Sandra Kachelmann wrote: Under RedHat Linux I can configure an interface, routes and so on in /etc/sysconfig/network-scripts/ifcfg-eth1, /etc/sysconfig/network-scripts/routes-eth1 then simply run: $ ifup eth1 and it will set all the routes/netconfig/aliases I just configured. Is there something similar in FreeBSD? I tried configuring aliases in /etc/rc.conf and running: $ /etc/rc.d/netif restart but that just ended in errors that the route was already configured and so on. Sure I could do all the work manually with ifconfig and route but that's not my question. Usually I do this from remote with /etc/rc.d/netif restart /etc/rc.d/routing restart Maybe you are not root (because of the $ prompt)? #/etc/rc.d/netif restart /etc/rc.d/routing restart This always works for me Sorry, omit the last DISCLAIMER: This e-mail is for the intended recipient(s) only If you have received it by mistake please let us know by reply and then delete it from your system; Access, disclosure, copying, distribution or reliance on any of it by anyone else is prohibited. If you as intended recipient have received this e-mail incorrectly, please notify the sender (via 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 The configuration files you're looking are /etc/resolv.conf and /etc/rc.conf. The start/stop scripts are /etc/rc.d/routing and /etc/rc.d/netif respectively. You can view then to check out what arguments they accept (restart, stop, etc). You can have a look at man resolv.conf and rc.conf man pages for more info. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: is this getting out?
Gary, seems that my MX has problems with thought.org, that's why I'm repeating my reply on the list, I hope you can receive it this way. The MX said: kl...@thought.org: Host or domain name not found. Name service error for name=ethic.thought.org type=A: Host not found Content was: On Sat, 12 Dec 2009 15:32:07 -0800, Gary Kline kl...@thought.org wrote: ariatotle is offline; i'm exclusively on my new server. will somebody please do a digg thought.org and see if they see what i see? % dig thought.org ; DiG 9.4.2-P1 thought.org ;; global options: printcmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 50856 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;thought.org. IN A ;; AUTHORITY SECTION: thought.org.9551IN SOA aristotle.thought.org. hostmaster.thought.org. 2008121902 10800 3600 604800 38400 ;; Query time: 44 msec ;; SERVER: 192.168.100.1#53(192.168.100.1) ;; WHEN: Thu Dec 17 15:47:02 2009 ;; MSG SIZE rcvd: 86 -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: ifdown/ifup under FreeBSD?
On Thu, Dec 17, 2009 at 3:46 PM, Igor V. Ruzanov ig...@canmos.ru wrote: |Under RedHat Linux I can configure an interface, routes and so on in |/etc/sysconfig/network-scripts/ifcfg-eth1, |/etc/sysconfig/network-scripts/routes-eth1 then simply run: | |$ ifup eth1 | |and it will set all the routes/netconfig/aliases I just configured. | |Is there something similar in FreeBSD? | |I tried configuring aliases in /etc/rc.conf and running: | |$ /etc/rc.d/netif restart | |but that just ended in errors that the route was already configured |and so on. Sure I could do all the work manually with ifconfig and |route but that's not my question. | Under FreeBSD (as well as under Linux) you could use Zebra (Zebra/Quagga projects) to configure any interfaces/routing specific things. I try to avoid doing complex routing things on my servers. I leave that up to the NOC guys. They can do that on their fancy cisco switches. I want just one route per interface :-) I just wanted to add a seperate route/ip for the second interface, make it permanent by adding it to /etc/rc.conf and tell my FreeBSD to pretend it's booting up by running /etc/rc.d/netif restart. As others pointed out I forgot /etc/rc.d/route. Sandra ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: is this getting out?
On Thu, 17 Dec 2009 15:52:20 +0100 Polytropon free...@edvax.de wrote: Gary, seems that my MX has problems with thought.org, that's why I'm repeating my reply on the list, I hope you can receive it this way. The MX said: kl...@thought.org: Host or domain name not found. Name service error for name=ethic.thought.org type=A: Host not found It looks like the server is EHLO'ing as ethic.thought.org but is actually plato.thought.org. -- 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: USBserial port convertor
On Thu, Dec 17, 2009 at 01:35:29PM +, Mike Woods wrote: Roland Smith wrote: On Wed, Dec 16, 2009 at 10:51:28AM -0500, stan wrote: I need to support 5 RS-232 streams with my FreeBSD 7.2 machine. I just purchased UTS-408A-S1 8 port adapter. When I plug it in, I get the following in dmesg: uhub3: vendor 0x0409 product 0x005a, class 9/0, rev 2.00/1.00, addr 2 on uhub1 uhub3: single transaction translator uhub3: 4 ports with 4 removable, self powered ucom0: FTDI FT232R USB UART, class 0/0, rev 2.00/6.00, addr 3 on uhub3 ucom1: FTDI FT232R USB UART, class 0/0, rev 2.00/6.00, addr 4 on uhub3 Looks like it works. :-) the ucom(4) driver attaches. Ah, but I *think* the point he's getting at is that he only seems to have 2 ports for an 8 port adaptor! If I read ucom(4) correctly (see BUGS), it should create /dev/cuaU? and /dev/ttyU? devices, and you should use those. 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) pgpTqUoMtc4qp.pgp Description: PGP signature
Re: ifdown/ifup under FreeBSD?
On Thu, Dec 17, 2009 at 3:17 PM, Bas Smeelen b.smee...@ose.nl wrote: Sandra Kachelmann wrote: Under RedHat Linux I can configure an interface, routes and so on in /etc/sysconfig/network-scripts/ifcfg-eth1, /etc/sysconfig/network-scripts/routes-eth1 then simply run: $ ifup eth1 and it will set all the routes/netconfig/aliases I just configured. Is there something similar in FreeBSD? I tried configuring aliases in /etc/rc.conf and running: $ /etc/rc.d/netif restart but that just ended in errors that the route was already configured and so on. Sure I could do all the work manually with ifconfig and route but that's not my question. Usually I do this from remote with /etc/rc.d/netif restart /etc/rc.d/routing restart Maybe you are not root (because of the $ prompt)? #/etc/rc.d/netif restart /etc/rc.d/routing restart This always works for me I was root but I didn't think of '/etc/rc.d/routing' also thanks to Ivan. Sandra ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Freebsd 7.2 port of Postfix 2.7 Snapshot 20091209
Anybody know where to get this? The fix reversing the order of black/white queries in postscreen is important for us. thanks Len ___ 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: ifdown/ifup under FreeBSD?
|Under RedHat Linux I can configure an interface, routes and so on in |/etc/sysconfig/network-scripts/ifcfg-eth1, |/etc/sysconfig/network-scripts/routes-eth1 then simply run: | |$ ifup eth1 | |and it will set all the routes/netconfig/aliases I just configured. | |Is there something similar in FreeBSD? | |I tried configuring aliases in /etc/rc.conf and running: | |$ /etc/rc.d/netif restart | |but that just ended in errors that the route was already configured |and so on. Sure I could do all the work manually with ifconfig and |route but that's not my question. | Under FreeBSD (as well as under Linux) you could use Zebra (Zebra/Quagga projects) to configure any interfaces/routing specific things. +---+ ! CANMOS ISP Network! +---+ ! Best regards ! ! Igor V. Ruzanov, network operational staff! ! e-Mail: ig...@canmos.ru ! +---+ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: is this booting info correct?
On Thu, Dec 17, 2009 at 06:49:59AM +0100, Polytropon wrote: On Thu, 17 Dec 2009 07:33:58 +0800, Fbsd1 fb...@a1poweruser.com wrote: Users with Microsoft/Windows knowledge of how a hard drive is configured may have a terminology issue with FreeBSD. Microsoft/Windows and FreeBSD use the word partition to mean different (but related) things. FreeBSD and Microsoft/Windows have primary-partitions, but they call them different things. FreeBSD calls the Microsoft/Windows primary-partition a slice. FreeBSD's slice is a DOS primary partition. FreeBSD's partition is comparable (but not equal to) a logical volume inside a DOS extended partition. The number of hard drive primary-partitions/slices is determined by the motherboard BIOS (Basic input output system), not the operating system. Standard motherboard BIOS limits hard-drives to 4 main divisions The limitation to 4 slices is due to DOS limitations that are still present for legacy in the PC sector. But, the reason they are still present is that it is in BIOS. Of course, BIOS was written with old DOS in mind. Nowdays it has nothing to do with the OS. Each of those are called primary-partitions in Microsoft/Windows terminology and slices in FreeBSD terminology. Yes. ... They are implemented very differently and are not compatible with FreeBSD. I've not had problems accessing them so far. From FreeBSD, you can access almost anything because people in the FreeBSD community have written code to do it. In FreeBSD the sub-divisions are called partitions. But only the subdivisions of a FreeBSD slice are called this way. Yup. And the OP is interested in FreeBSD. ... The first physical track of the allocated space of each primary-partition/slice has an initial sector (512 byte block) that is called the boot sector. If it contains boot up code the motherboard BIOS considers it to be bootable. Yes. No. It is the MBR that figures out if it is bootable. That is a step beyond BIOS. Each physical hard drive in the PC has it's own MBR (Master Boot Record). The MBR is located in sector-0 of the first physical track on the hard drive. The standard MBR in Microsoft/Windows and FreeBSD defaults to booting the first primary-partition/slice allocated on the first hard drive cabled to the PC. No. The MBR usually branches to the first slice it finds that has the bootable flag set. It doesn't have to be the first one on the disk. Sort of. It has its own flag saying which one to boot and FreeBSD usually sets this as the last one booted. In case of FreeBSD, feel free to read man boot which gives a good introduction to the topic. There are MBR booting programs that you can load into the MBR on the first physical cabled hard drive to scan for other bootable primary-partitions/slices on this hard drive and any other hard drives cabled to the PC. It displays a menu giving you the option to choose which one you want to boot from. This gives you the ability to have more that one operating system installed on your PC at one time. Exact. Not exactly.The BIOS goes down its list of boot devices which you can set and picks the first one it finds with an bootable MBR on it. loads that MBR and transfers control to it. Then the MBR controls the task of looking at its own slices for bootable ones loading one and transferring control to it. jerry -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: is this booting info correct?
On Thu, Dec 17, 2009 at 10:11:40AM -0500, Jerry McAllister wrote: On Thu, Dec 17, 2009 at 06:49:59AM +0100, Polytropon wrote: On Thu, 17 Dec 2009 07:33:58 +0800, Fbsd1 fb...@a1poweruser.com wrote: Users with Microsoft/Windows knowledge of how a hard drive is configured may have a terminology issue with FreeBSD. Microsoft/Windows and FreeBSD use the word partition to mean different (but related) things. FreeBSD and Microsoft/Windows have primary-partitions, but they call them different things. FreeBSD calls the Microsoft/Windows primary-partition a slice. FreeBSD's slice is a DOS primary partition. FreeBSD's partition is comparable (but not equal to) a logical volume inside a DOS extended partition. The number of hard drive primary-partitions/slices is determined by the motherboard BIOS (Basic input output system), not the operating system. Standard motherboard BIOS limits hard-drives to 4 main divisions The limitation to 4 slices is due to DOS limitations that are still present for legacy in the PC sector. But, the reason they are still present is that it is in BIOS. Of course, BIOS was written with old DOS in mind. Nowdays it has nothing to do with the OS. I may have overstated that. Even the most basic MBR (such as FreeBSD's) may be a little different from one OS to the next. The MBR chooses the slice, so it might be changeable from there. I haven't looked at that stuff in about 11 years. jerry Each of those are called primary-partitions in Microsoft/Windows terminology and slices in FreeBSD terminology. Yes. ... They are implemented very differently and are not compatible with FreeBSD. I've not had problems accessing them so far. From FreeBSD, you can access almost anything because people in the FreeBSD community have written code to do it. In FreeBSD the sub-divisions are called partitions. But only the subdivisions of a FreeBSD slice are called this way. Yup. And the OP is interested in FreeBSD. ... The first physical track of the allocated space of each primary-partition/slice has an initial sector (512 byte block) that is called the boot sector. If it contains boot up code the motherboard BIOS considers it to be bootable. Yes. No. It is the MBR that figures out if it is bootable. That is a step beyond BIOS. Each physical hard drive in the PC has it's own MBR (Master Boot Record). The MBR is located in sector-0 of the first physical track on the hard drive. The standard MBR in Microsoft/Windows and FreeBSD defaults to booting the first primary-partition/slice allocated on the first hard drive cabled to the PC. No. The MBR usually branches to the first slice it finds that has the bootable flag set. It doesn't have to be the first one on the disk. Sort of. It has its own flag saying which one to boot and FreeBSD usually sets this as the last one booted. In case of FreeBSD, feel free to read man boot which gives a good introduction to the topic. There are MBR booting programs that you can load into the MBR on the first physical cabled hard drive to scan for other bootable primary-partitions/slices on this hard drive and any other hard drives cabled to the PC. It displays a menu giving you the option to choose which one you want to boot from. This gives you the ability to have more that one operating system installed on your PC at one time. Exact. Not exactly.The BIOS goes down its list of boot devices which you can set and picks the first one it finds with an bootable MBR on it. loads that MBR and transfers control to it. Then the MBR controls the task of looking at its own slices for bootable ones loading one and transferring control to it. jerry -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ 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: Have not received emails for a few days now....
I think it was a gmail issue. None of my mailing lists through gmail worked the last couple of days. On Dec 16, 2009, at 7:06 PM, David Collins wrote: Gary Gatten ggat...@waddell.com wrote: Lmao! If ur that bored lmk, I have PLENTY 4 u 2 do! haha, I have plenty to do... although I am tempted to swap! - Original Message - From: owner-freebsd-questi...@freebsd.org owner-freebsd- questi...@freebsd.org To: mike.je...@rogers.com mike.je...@rogers.com; freebsd- questi...@freebsd.org freebsd-questions@freebsd.org Sent: Wed Dec 16 17:40:11 2009 Subject: Re: Have not received emails for a few days now Mike Jeays mike.je...@rogers.com wrote: On December 16, 2009 01:03:21 pm Diego Montalvo wrote: Is there something wrong with the freebsd-questions@freebsd.org mailing list? perhaps I got booted accidentally. Cheers! Diego I have had nothing for a couple of days also, I was beginning to wonder what to do with my spare time at work! David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Can display be shared through VNC using xorg vnc module?
In the last episode (Dec 16), Yuri said: I read here: http://en.gentoo-wiki.com/wiki/X11VNC that in Gentoo xorg can load vnc module and it will make it also a vnc server. But I can't find any relevant ports in FreeBSD port tree. I only found net/x11vnc which is a standalone program that connects to xorg server and serves as it's vnc server. Does this meant that vnc module isn't supported on FreeBSD? Or it was replaced by x11vnc? Try the net/vnc port instead. -- Dan Nelson dnel...@allantgroup.com ___ 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: ifdown/ifup under FreeBSD?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sandra Kachelmann wrote: On Thu, Dec 17, 2009 at 3:46 PM, Igor V. Ruzanov ig...@canmos.ru wrote: |Under RedHat Linux I can configure an interface, routes and so on in |/etc/sysconfig/network-scripts/ifcfg-eth1, |/etc/sysconfig/network-scripts/routes-eth1 then simply run: | |$ ifup eth1 | |and it will set all the routes/netconfig/aliases I just configured. | |Is there something similar in FreeBSD? | |I tried configuring aliases in /etc/rc.conf and running: | |$ /etc/rc.d/netif restart | |but that just ended in errors that the route was already configured |and so on. Sure I could do all the work manually with ifconfig and |route but that's not my question. | Under FreeBSD (as well as under Linux) you could use Zebra (Zebra/Quagga projects) to configure any interfaces/routing specific things. I try to avoid doing complex routing things on my servers. I leave that up to the NOC guys. They can do that on their fancy cisco switches. I want just one route per interface :-) I just wanted to add a seperate route/ip for the second interface, make it permanent by adding it to /etc/rc.conf and tell my FreeBSD to pretend it's booting up by running /etc/rc.d/netif restart. As others pointed out I forgot /etc/rc.d/route. Sandra Hi all, I use /etc/netstart, since it includes all of the commands listed previously, as well as others that start the DHCP client, firewall, etc. Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLKkuj0sRouByUApARAh+yAJ9BDz1Bo+7sBvDL0zZp+tz8J3R+twCgh+jj 6O0Z/CzmMdvm6ZOhIYCED/o= =ZSP1 -END PGP SIGNATURE- ___ 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: Freebsd 7.2 port of Postfix 2.7 Snapshot 20091209
On Dec 17, 2009, at 10:14 AM, Len Conrad lcon...@go2france.com wrote: Anybody know where to get this? The fix reversing the order of black/white queries in postscreen is important for us. I filed a PR to update postfix-current in the tree but the committer has not yet addressed it; I am sure he will soon. In the meantime just edit the port's Makefile and update distinfo locally so you can update yourself. ___ 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
port print/teTeX-base-3.0_17 - fatal errors after upgrade
Hi, after a recent upgrade to teTeX-base-3.0_17, I get these errors on any latex (or pdftex) run. I installed the full teTeX-3.0_2 I even rebuilt all ports which depend on teTeX-base, but still get this error. Please advise anton No file just.aux. (/usr/local/share/texmf-dist/tex/latex/platex/ot4cmr.fd) (/usr/local/share/texmf-dist/tex/latex/lm/t1lmr.fd) (/usr/local/share/texmf-dist/tex/latex/graphics/color.sty (/usr/local/share/texmf-dist/tex/latex/graphics/color.cfg) (/usr/local/share/texmf-dist/tex/latex/graphics/pdftex.def (/usr/local/share/texmf-dist/tex/context/base/supp-pdf.tex (/usr/local/share/texmf-dist/tex/context/base/supp-mis.tex loading : Context Support Macros / Miscellaneous (2004.10.26) ) loading : Context Support Macros / PDF (2004.03.26) ))) (/usr/local/share/texmf-dist/tex/latex/hyperref/nameref.sty) [1 Warning: latex (file pdftex.map): cannot open font map file ] (./just.aux)kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 cork-lmbx10 gsftopk: fatal: map file `psfonts_t1.map' not found. mktexpk: don't know how to create bitmap font for cork-lmbx10. kpathsea: Appending font creation commands to missfont.log. ) Warning: latex (file cork-lmbx10): Font cork-lmbx10 at 600 not found kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 cork-lmr10 gsftopk: fatal: map file `psfonts_t1.map' not found. mktexpk: don't know how to create bitmap font for cork-lmr10. Warning: latex (file cork-lmr10): Font cork-lmr10 at 600 not found kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 cork-lmr12 gsftopk: fatal: map file `psfonts_t1.map' not found. mktexpk: don't know how to create bitmap font for cork-lmr12. Warning: latex (file cork-lmr12): Font cork-lmr12 at 600 not found kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+120/600 --dpi 720 cork-lmr12 gsftopk: fatal: map file `psfonts_t1.map' not found. mktexpk: don't know how to create bitmap font for cork-lmr12. Warning: latex (file cork-lmr12): Font cork-lmr12 at 720 not found Output written on just.pdf (1 page, 5986 bytes). Transcript written on just.log. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ 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 xorg 7.4
On Wed, 16 Dec 2009, Warren Block wrote: On Wed, 16 Dec 2009, d...@safeport.com wrote: All variations give me a black screen with the keyboard locked. startx, xdm and xorg all do the same. Does ctrl-alt-f1 switch to the console? If so, good news--it's working. You need to run dbus and hal as per the Handbook page. Or disable hal, also as per the Handbook page. I assume this is a hardware issue and hope someone found a way around it. It's possible, but hard to tell. If you can post your xorg.conf and Xorg.0.log, that would help. I appreciate your input. With the installation from pkg_add, the keyboard was locked. Power off was the only relief. That's why I asked about ctrl-alt-f1. If X is working even without a keyboard driver, that should still switch to the console. I tried with and without hal/dbus, I changed the Driver to ati because that worked in an earlier of xorg, What are you using for a driver now? I commented out dri because I (mistakenly) thought that gave an error. What worked was installing xorg from the 7.2-release iso. Which is going back to the older version of xorg. Now what I would like to do is get rid of the black background. See xsetroot(1). Thanks much man'ing and google did not turn that up I actually like twm and use it when upgrading kde. Thank you for your offer to review Xorg.0.log. Unfortunately the current system only keeps two levels. My failures were long gone before questions was restored to health. When you want to try it again, I think we can make it work. I appreciate the help. You mean pkg_add will get a later version of 7.4? That is what I got off the iso. Your offer is very kind. When I first moved to BSD unix and then FreeBSD my great learning jumps where getting X working. _ Douglas Denault http://www.safeport.com d...@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 ___ 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
incremental FTP backup program
Hello, I have been provided with a 1To backup space by my hosting company… unfortunately It is only accessible by FTP which does not allow me to do the regular backup / restore I use to do using RSYNC. What are the options I have in order to do the backup / restore of the files knowing that : 1. I would like to have a time based backup solution (incremental with sub-folder for daily backup so I can restore files from xxx days ago). 2. I need to use ftp as a transport 3. Some of my servers have limited space so doing a local sync then FTP will not be possible. 4. If possible I would like a bullet proof solution ideally well known | tested and available from the port tree. In fact what I would be looking for is something like rsnapshot but with FTP transport / compatibility. Thanks for your answer(s). Gregober --- PGP ID -- 0x1BA3C2FD bsd @at@ todoo.biz P Please consider your environmental responsibility before printing this 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: port print/teTeX-base-3.0_17 - fatal errors after upgrade
Anton Shterenlikht me...@bristol.ac.uk wrote in 20091217160052.ga13...@mech-cluster241.men.bris.ac.uk: me Hi, after a recent upgrade to teTeX-base-3.0_17, I get me these errors on any latex (or pdftex) run. me me I installed the full teTeX-3.0_2 me I even rebuilt all ports which depend on teTeX-base, me but still get this error. Can you send me results of the following commands privately? % env % find /usr/local/share/texmf* -type f -- Hiroki pgpdlPB85pRLX.pgp Description: PGP signature
Re: is this getting out?
DNS config is flaud: # host thought.org thought.org mail is handled by 10 aristotle.thought.org. # host aristotle.thought.org Host aristotle.thought.org not found: 3(NXDOMAIN) Ruben On Thu, Dec 17, 2009 at 02:58:43PM +, Bruce Cran typed: On Thu, 17 Dec 2009 15:52:20 +0100 Polytropon free...@edvax.de wrote: Gary, seems that my MX has problems with thought.org, that's why I'm repeating my reply on the list, I hope you can receive it this way. The MX said: kl...@thought.org: Host or domain name not found. Name service error for name=ethic.thought.org type=A: Host not found It looks like the server is EHLO'ing as ethic.thought.org but is actually plato.thought.org. -- 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 ___ 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: Have not received emails for a few days now....
On Thu, Dec 17, 2009 at 10:10:33AM -0500, jw011235 typed: I think it was a gmail issue. None of my mailing lists through gmail worked the last couple of days. Think again. ___ 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: incremental FTP backup program
On Thu, Dec 17, 2009 at 05:29:54PM +0100, bsd typed: Hello, I have been provided with a 1To backup space by my hosting company? unfortunately It is only accessible by FTP which does not allow me to do the regular backup / restore I use to do using RSYNC. What are the options I have in order to do the backup / restore of the files knowing that : 1. I would like to have a time based backup solution (incremental with sub-folder for daily backup so I can restore files from xxx days ago). 2. I need to use ftp as a transport 3. Some of my servers have limited space so doing a local sync then FTP will not be possible. 4. If possible I would like a bullet proof solution ideally well known | tested and available from the port tree. In fact what I would be looking for is something like rsnapshot but with FTP transport / compatibility. Never tried, bet maybe sysutils/fusefs-curlftpfs will work for you. Ruben ___ 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: Have not received emails for a few days now....
On Thu, Dec 17, 2009 at 10:10:33AM -0500, jw011235 wrote: I think it was a gmail issue. None of my mailing lists through gmail worked the last couple of days. I don't think so. I don't use gmail and I had an interruption of mail from questions@ for a few days. chat@ stable@ were fine. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ 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: incremental FTP backup program
On Thu, Dec 17, 2009 at 05:29:54PM +0100, bsd wrote: Hello, I have been provided with a 1To backup space by my hosting company… unfortunately It is only accessible by FTP which does not allow me to do the regular backup / restore I use to do using RSYNC. What are the options I have in order to do the backup / restore of the files knowing that : 1. I would like to have a time based backup solution (incremental with sub-folder for daily backup so I can restore files from xxx days ago). 2. I need to use ftp as a transport 3. Some of my servers have limited space so doing a local sync then FTP will not be possible. 4. If possible I would like a bullet proof solution ideally well known | tested and available from the port tree. There are several avenues available even with the tools in the base system. One of those is to use dump(8), assuming you are using UFS filesystems, of course. Make regular dumps (of different levels), compress them using bzip2(1), encrypt the compressed dumpfiles using openssl(1) (do _not_ use crypt(1)!) and use ftp(1) to transfer them to the hosting company. Another way is to use mtree(8). You can use this to generate a file containing the state of a filesystem hierarchy. Running it against a previously saved specification can yield a list of files that have changed. Use tar and bzip2 to create an archive of the files that have changed. Encrypt and send same as above. All these programs come with the base system, you would just need to script them. 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) pgpJa2eZrTxP0.pgp Description: PGP signature
Re: is this getting out?
On Thu, 17 Dec 2009 18:00:26 +0100 Ruben de Groot mai...@bzerk.org wrote: DNS config is flaud: # host thought.org thought.org mail is handled by 10 aristotle.thought.org. # host aristotle.thought.org Host aristotle.thought.org not found: 3(NXDOMAIN) It looks like DNS is still propogating? $ host aristotle.thought.org aristotle.thought.org has address 209.180.213.210 -- 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: is this getting out?
On Thu, Dec 17, 2009 at 06:00:26PM +0100, Ruben de Groot wrote: DNS config is flaud: # host thought.org thought.org mail is handled by 10 aristotle.thought.org. # host aristotle.thought.org Host aristotle.thought.org not found: 3(NXDOMAIN) I get something else; # host thought.org thought.org mail is handled by 10 aristotle.thought.org. # host aristotle.thought.org aristotle.thought.org has address xxx.xxx.xxx.xxx (IP address redacted, but I can ping it) But if I try the new server; # host ethic.thought.org Host ethic.thought.org not found: 3(NXDOMAIN) # ping ethic.thought.org ping: cannot resolve ethic.thought.org: Unknown host I can ping plato.thought.org, though. 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) pgpxNNaUlIrle.pgp Description: PGP signature
Re: is this getting out?
Gary Kline wrote: ariatotle is offline; i'm exclusively on my new server. will somebody please do a digg thought.org and see if they see what i see? hope i get this. % whois thought.org Name Server:NS1.THOUGHT.ORG Name Server:ETHIC.THOUGHT.ORG % dig ns1.thought.org ;; ANSWER SECTION: ns1.thought.org.38283 IN A 209.180.213.210 % dig ethic.thought.org ;; ANSWER SECTION: ethic.thought.org. 38235 IN A 209.180.213.210 % ping ns1.thought.org PING ns1.thought.org (209.180.213.210): 56 data bytes 64 bytes from 209.180.213.210: icmp_seq=0 ttl=56 time=123.861 ms ^C % ping ethic.thought.org PING ethic.thought.org (209.180.213.210): 56 data bytes 64 bytes from 209.180.213.210: icmp_seq=0 ttl=56 time=124.585 ms ^C % dig mx @ns1.thought.org thought.org ...ok % dig mx @ethic.thought.org thought.org ...ok The only problems I see are that a) you don't have an a record for the domain name itself b) both of your name servers are located on a single IP Steve ___ 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: USBserial port convertor
Roland Smith wrote: If I read ucom(4) correctly (see BUGS), it should create /dev/cuaU? and /dev/ttyU? devices, and you should use those. It does, but my personal experience of those devices is that there's a ucom instacne associated with each device (though I may be wrong!) Mike Woods Full of squishy cynicism ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: is this getting out?
On Thu, 17 Dec 2009 18:20:16 +0100, Roland Smith rsm...@xs4all.nl wrote: But if I try the new server; # host ethic.thought.org Host ethic.thought.org not found: 3(NXDOMAIN) # ping ethic.thought.org ping: cannot resolve ethic.thought.org: Unknown host Here, now: % host ethic.thought.org ethic.thought.org has address 209.180.213.210 Host ethic.thought.org not found: 3(NXDOMAIN) Host ethic.thought.org not found: 3(NXDOMAIN) And I can now ping it, as well as aristotle and plato. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: 8.0: OpenSSL stat()'s NLS 500+ times causing extreme system load
On Thu, Dec 17, 2009 at 2:05 AM, Jonathan McKeown j.mcke...@ru.ac.za wrote: It can also be enabled separately in nagios's main config file - child_processes_fork_twice is the option to look for. Actually I had never seen that before. :) I added this setting immediately and it definitely cut the CPU usage down, but the load average went way up. No doubt that's because a lot of processes that don't live long enough for load average accounting for no longer exist. I'm a lot more interested in CPU usage than load average, so it's a big win for me. :) 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: Have not received emails for a few days now....
On Dec 17, 2009, at 12:11 PM, Frank Shute wrote: On Thu, Dec 17, 2009 at 10:10:33AM -0500, jw011235 wrote: I think it was a gmail issue. None of my mailing lists through gmail worked the last couple of days. I don't think so. I don't use gmail and I had an interruption of mail from questions@ for a few days. chat@ stable@ were fine. Regards, -- Frank Interesting. I assumed it was a gmail issue because my openvpn mailing list on the same gmail account disappeared at the same time. Clearly bad to assume... Regards. ___ 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
Joining multiple Multicast Streams
Hi: I am writing an application that joins a multicast stream on a specific UDP port. But when I run more than one instance of the same application, the second instance complains that the port is already in use. For example if I join stream 229.10.10.133:2000 on one instance and 229.10.10..134:2000 on another instance, the second one fails to join - I can however join it if I kill the first instance. I have compiled that application with SOCKET_REUSE option, but I wonder if I need to enable/recompile-with any special multicast kernel option for this to work. I do not have this problem when I run this code on Linux (Ubuntu 9.10) but I really want to get this working on FreeBSD. Thanks in advance. -DxN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: is this getting out?
Gary Kline wrote: ariatotle is offline; i'm exclusively on my new server. will somebody please do a digg thought.org and see if they see what i see? hope i get this. 1) If you don't share what you see, nobody can compare, 2) Various people have pointed out various problems already, however, I'll reference you to the detailed analysis of your DNS problems that Giorgos Keramidas provided to you on 12/12 at 22:29 UTC. thought.org still has at least 7 name servers referenced somewhere; some of them have an MX record pointing at ethic, some have an MX record pointing at aristotle. Until you fix *all* the problems that have been documented in great detail, you will continue to have problems like this. For example, it appears that you've reduced the servers recorded with your registrar down to 2, but ns1.thought.org still returns this list of NS records: thought.org.38400 IN NS b.ns.celestial.com. thought.org.38400 IN NS c.ns.celestial.com. thought.org.38400 IN NS d.ns.celestial.com. thought.org.38400 IN NS ns1.thought.org. thought.org.38400 IN NS ns1.localhostservices.net. thought.org.38400 IN NS ns2.secondary.com. thought.org.38400 IN NS a.ns.celestial.com. Fix your DNS! --Jon Radel ___ 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: Have not received emails for a few days now....
On Thu, 17 Dec 2009 13:28:41 -0500, jw011235 jw011...@gmail.com wrote: Interesting. I assumed it was a gmail issue because my openvpn mailing list on the same gmail account disappeared at the same time. Clearly bad to assume... There was indeed a problem with mailman's handling of posts directed at freebsd-questions. I notified postmaster@ after checking the list's web interface. My mailbox had no messages, which could have been a local issue or an intermediate delivery problem. When we realized that the web interface had no new messages either, the postmaster team took care of the problem. Things should be back to normal, AFAICT, but it won't hurt to drop me or postmaster a note if you notice anything out of the ordinary. Cheers, Giorgos pgpfL0yIr8y32.pgp Description: PGP signature
Re: Joining multiple Multicast Streams
On Thursday 17 December 2009 19:45:24 Dex Nada wrote: Hi: I am writing an application that joins a multicast stream on a specific UDP port. But when I run more than one instance of the same application, the second instance complains that the port is already in use. For example if I join stream 229.10.10.133:2000 on one instance and 229.10.10..134:2000 on another instance, the second one fails to join - I can however join it if I kill the first instance. I have compiled that application with SOCKET_REUSE option, but I wonder if I need to enable/recompile-with any special multicast kernel option for this to work. I do not have this problem when I run this code on Linux (Ubuntu 9.10) but I really want to get this working on FreeBSD. Thanks in advance. -DxN Try SO_REUSEPORT. The manpage (getsockopt(2)) specifically mentions multiple listeners for the same multicast stream. The following pseudo C seems to work fine: int reuseport = 1; memset(addr, 0, sizeof(addr)); addr.sin_family = AF_INET; addr.sin_addr.s_addr = htonl(INADDR_ANY); addr.sin_port = htons(port); mreq.imr_multiaddr.s_addr = maddr; mreq.imr_interface.s_addr = INADDR_ANY; int fd = socket(AF_INET, SOCK_DGRAM, 0); setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, reuseport, sizeof(reuseport)); bind(fd, (struct sockaddr *)addr, sizeof(addr)); setsockopt(fd, IPPROTO_IP, IP_ADD_MEMBERSHIP, mreq, sizeof(mreq)); recvfrom(fd, ); Good luck, Pieter de Goeje ___ 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: Native PDF viewer
On Thu, Dec 17, 2009 at 06:18:31AM +0100, Polytropon wrote: On Wed, 16 Dec 2009 04:04:23 +0100, Rolf Nielsen listrea...@lazlarlyricon.com wrote: Hi all, Since I don't have Linux compat layer activated, and I have no need for it, I'd like to ask if anyone can suggest a native PDF viewer (I'm not fond of the idea of installing a compat layer for just one application). There are gv (which is limited in some way, fancy PDF files) and xpdf. I can recommend xpdf -fullscreen file especially for use in presentations. In both programs, keyboard support (important for comfortably browsing a document) is good. Of course, KDE and Gnome provide their own PDF viewers, but since you don't want to use the Linux ABI just for a PDF viewer program, you surely won't want to install KDE or Gnome just for the same purpose. :-) But I have to tell you that for some very special PDF files, especially those that use nonstandard stuff, and for those that process input fields, the acroread port is still on my system as fallback solution. this is just my penny's worth, but since I value *simplicity*, I'm happy with xpdf. The one thing I would like to see is the integration of the festival tts suite with any/all presentations of textual material. The speech feature for acroread must be $, because it doesn't work on my single Ubuntu platform. --oh well, ain't no free lunches... . -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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 -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a 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: Re-compiling PHP changes server responsiveness
Matthew Seaman wrote: Ian Fitzgerald wrote: Recently upgraded (fresh install) FBSD 8, including MySql, Apache22, phpMyAdmin, KDE4 Gnome2.26 from DVD iso. Running ok as test server, but unusual error from added, complex CMS prompted me to re-install PHP5 and PHP5-extensions as pkg_add -r (using ports files from iso), then with no success, compiling them (using ports files from iso), with slightly different make config. Now server does not respond, either to 'localhost' request on its browser, or specific address request from another machine on local network. I assume re-compiling PHP would not clobber hosts or resolv.conf (they look ok). I get: [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter, and no new errors in /var/log/httpd-error.log four times Tried adding accf_http=YES to /boot/loader.conf, and re-booting of course. This is just a warning message and doesn't stop apache working or not. Enabling accf_http should give you a bit of a performance boost under heavy load and help you withstand certain types of DoS attack, but it's not required. Tried refreshing ports (inital re-compile attempt failed with make complaining that postgres-client had been marked invalid - when will someone fixit?), and re-compiling apache22 = no change. ps -auxc: no httpd. FF3 under Gnome on the machine fetches external pages, of course (using router DNS). What else should I look at? Try restarting httpd from the command line: /usr/local/etc/rc.d/apache22 restart This will run a configtest and then try and start up apache. Then check that apache is still running: /usr/local/etc/rc.d/apache22 status If apache has mysteriously disappeared and there are no messages in log files, then it means apache crashed during the startup process soon after daemonising. That's pretty diagnostic for loading a dynamic module that disagrees with it. At a guess, and given that you've reinstalled all your php modules, I think you may be being hit by the php module load order problem. In that case, running php from the command line will probably also segv on you. This is something that has had quite a lot of attention on this list, but there isn't a really good solution yet, other than manually reordering the entries in /usr/local/etc/php/extensions.ini Also, if you're running eAccelerator, make sure you recompile it at the same time you upgrade the main lang/php5 port: eAccelerator will cause Apache to crash if you try and run it against a different version of PHP than it was originally compiled for. Cheers, Matthew Thank you . That gets me off to a good start. I guess the solution for the maintainers is simple: a script which automates every combination of module load to test for error-prone sequences or combinations. These could then be tested for and a warning notice issued at config time, or after compilation, preferably. It would also provide a definitive answer to the question of whether the sequence/combination is a contributing factor in the first place, or whether some other factor is a pre-condition. -- ianf http://www.metapixeldesigns.com ___ 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: slow clock on FreeBSD 7.2 on vmware
On 12/16/09 12:53, Robert Fitzpatrick wrote: I run multiple FreeBSD servers inside VMWare and I don't have this problem. Are you running VMWare workstation? Or ESX/ESXi? I am running VMware Server 2.0...thanks again. I would really recommend switching to VMware ESXi if at all possible. I have a lot of FreeBSD VMs running under ESXi 3.5 and 4.0 that work just great with kern.hz=100 and openntpd. We actually kept everything running on Linux+VMware Server 1.0 until we could make the switch to ESXi; the VMware Server 2.0 product wasn't reliable for us at all and was a total pain to manage. ___ 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: slow clock on FreeBSD 7.2 on vmware
Hi-- On Dec 17, 2009, at 1:01 PM, Steve Polyack wrote: I would really recommend switching to VMware ESXi if at all possible. I have a lot of FreeBSD VMs running under ESXi 3.5 and 4.0 that work just great with kern.hz=100 and openntpd. The kern.hz=100 recommendation I can certainly agree with, but there is mostly no point in running ntpd or variants anywhere except on the host machine (host ESX for VMware, or Dom0 for Xen). For VMware, the vmtools stuff should provide a mechanism to sync time in VMs to the host clock. Regards, -- -Chuck PS: Same thing for Xen, recently discussed on the NTP pool timekeepers list: Begin forwarded message: From: Chuck Swiger cswi...@mac.com Date: October 14, 2009 2:43:08 PM PDT To: PGNet Dev pgnet.dev+...@gmail.com Cc: timekeep...@fortytwo.ch Subject: Re: [time] what significance does the number 3.906 have in ntp? On Oct 14, 2009, at 2:10 PM, PGNet Dev wrote: Right, OK-- from your earlier mail, you mentioned something about running with Xen Dom0/DomU. There is absolutely no point to running ntpd in a guest domain-- you should only try to run ntpd in a normal OS, or, as a last resort, in the Dom0 domain. actually, that's not at all the recommendation I've repeatedly been getting from numerous sources. Which are? A google of ntpd DomU returns numerous reports of problems with this, and the strong recommendation is to only run ntpd in Dom0 using independent_wallclock set to 0, *unless* your DomU's then fail to keep sane time. For example: http://www.nabble.com/Unable-to-set-system-clock-on-domU-td22042252.html The other domains can and should simply use the HW clock, because latencies and such for the guest domains are highly unpredictable. which is why the recommendation is to sync EVERY Dom0/DomU against an accurate clock via ntpd ... Why, when ntpd in a DomU *can't* actually change the HW clock? See: http://xen.epiuse.com/xen-faq.txt Q: Where does a domain get its time from? A: Briefly, Xen reads the RTC at start of day and by default will track that with the precision of the periodic timer crystal. Xen's estimate of the wall-clock time can only be updated by domain 0. If domain 0 runs ntpdate, ntpd, etc. then the synchronised time will automatically be pushed down to Xen every minute (and written to the RTC every 11 minutes, just as normal x86 Linux does). All other domains always track Xen's wall-clock time: setting the date, or running ntpd, on these domains will not affect their wall-clock time. Note that the wall-clock time exported by Xen is UTC --- all domains must have appropriate timezone handling (i.e. a correct /etc/localtime file). Seriously, each physical machine only has one RTC and crystal oscillator. It's useful to run one instance of ntpd in the Dom0 context where it can actually work and keep this real hardware clock in sync. Running ntpd's in the other DomUs is almost entirely pointless; it might be useful only if Dom0-DomU time is busted, and even in that case, ntpd is unlikely to ever obtain good time synchronization running in a DomU. You are better off running ntpdate (or sntp) periodically via cron in the DomUs. Regards, -- -Chuck ___ timekeepers mailing list timekeep...@fortytwo.ch https://fortytwo.ch/mailman/cgi-bin/listinfo/timekeepers ___ 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
System crashes under heavy disk i/o
Hi: I have had this problem for a while, both on 7.x and now with 8.0: I have a: FreeBSD 8.0-RELEASE-p1 #0: Fri Dec 11 11:53:19 CET 2009 norga...@localhost:/usr/local/obj/usr/local/src/sys/GENERIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: VIA Nehemiah (800.04-MHz 686-class CPU) Origin = CentaurHauls Id = 0x69a Stepping = 10 real memory = 268435456 (256 MB) avail memory = 231383040 (220 MB) atapci0: VIA 6420 SATA150 controller ad6: 476940MB Seagate ST3500320NS SN04 at ata3-master SATA150 In normal operation I have no problem, but when performing intensive read or write for a prolonged time the system crashes. This happens also even if the partition is read-only. The crash occurs both with single large files (1GB) as well as many small files (10kb-10MB). Currently, I'm backing up to an external drive over the network. I don't know if it's network related or disk related, but I guess it's disk related as I have no log of the failure. I don't know if it's the disk, contoller or something else. This is a headless machine, so I'm left guessing. My two questions: - is there any utility that I can use monitor the system to see what's going on, when or why? - is there any way that I can slow down the disk i/o? since the system works fine in normal operation, I hope that slowing down the disk operation would be a workaround, at least till I get my data onto the external drive. Thanks, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: System crashes under heavy disk i/o
Hi-- On Dec 17, 2009, at 1:26 PM, Erik Norgaard wrote: FreeBSD 8.0-RELEASE-p1 #0: Fri Dec 11 11:53:19 CET 2009 norga...@localhost:/usr/local/obj/usr/local/src/sys/GENERIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: VIA Nehemiah (800.04-MHz 686-class CPU) Origin = CentaurHauls Id = 0x69a Stepping = 10 real memory = 268435456 (256 MB) avail memory = 231383040 (220 MB) atapci0: VIA 6420 SATA150 controller ad6: 476940MB Seagate ST3500320NS SN04 at ata3-master SATA150 In normal operation I have no problem, but when performing intensive read or write for a prolonged time the system crashes. This happens also even if the partition is read-only. The crash occurs both with single large files (1GB) as well as many small files (10kb-10MB). That's probably a sign of either thermal problems from inadequate cooling, or possibly PSU not giving stable voltage rails and sagging a bit too low; also, at least the older VIA C3 EPIA hardware had somewhat flaky PATA interfaces; if I tried to use both PATA channels I'd see lockups, unless I turned everything down to UDMA-33 speeds. Hopefully their SATA implementation has been improved since. Consider looking at smartctl and see whether your drive temps are running too hot-- supposedly, drives are rated up to around 60C, but I don't like to see drives going above 40C given any choice in the matter. Regards, -- -Chuck ___ 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: slow clock on FreeBSD 7.2 on vmware
On 12/17/09 16:23, Chuck Swiger wrote: The kern.hz=100 recommendation I can certainly agree with, but there is mostly no point in running ntpd or variants anywhere except on the host machine (host ESX for VMware, or Dom0 for Xen). For VMware, the vmtools stuff should provide a mechanism to sync time in VMs to the host clock. I haven't used Xen, but for ESX: I may be wrong, but I'm pretty sure that the vmtools available for FreeBSD do not support synchronizing the host time to the guest OS. I know it is supported (and works) for Linux, but by what mechanism I do not know. On OpenBSD the kernel can be built to present a device which will use the synchronize time with guest feature of VMware to provide a clock source which can be specified in ntpd.conf. Perhaps you're right and all it takes is the switch in ESX. I've disabled ntpd on one of my VMs and I'll see if it drifts any by tomorrow. ___ 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: System crashes under heavy disk i/o
On Thursday 17 December 2009 12:26:12 Erik Norgaard wrote: My two questions: - is there any utility that I can use monitor the system to see what's going on, when or why? gstat(8) Also, perhaps syslog to a different machine or nfs mount /var/log if you feel you're missing a log message due to this error. - is there any way that I can slow down the disk i/o? Turn down operating mode via atacontrol. If using dump(8) use the cache feature and/or do the backup from live disk, so no other services are running and disk isn't accessed other then by dump. -- Mel ___ 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 xorg 7.4
d...@safeport.com wrote: On Thu, 17 Dec 2009, Pieter de Goeje wrote: Xorg defaults to a black screen instead of a checkerboard pattern these days. You can revert to the old style with -retro flag to X .If things are working you should see the old style screen with an X mouse pointer (if enabled) Not trying to rtfm but http://www.freebsd.org/doc/en/books/handbook/x-config.html Chris ___ 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: System crashes under heavy disk i/o
Chuck Swiger wrote: Hi-- On Dec 17, 2009, at 1:26 PM, Erik Norgaard wrote: FreeBSD 8.0-RELEASE-p1 #0: Fri Dec 11 11:53:19 CET 2009 norga...@localhost:/usr/local/obj/usr/local/src/sys/GENERIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: VIA Nehemiah (800.04-MHz 686-class CPU) Origin = CentaurHauls Id = 0x69a Stepping = 10 real memory = 268435456 (256 MB) avail memory = 231383040 (220 MB) atapci0: VIA 6420 SATA150 controller ad6: 476940MB Seagate ST3500320NS SN04 at ata3-master SATA150 In normal operation I have no problem, but when performing intensive read or write for a prolonged time the system crashes. This happens also even if the partition is read-only. The crash occurs both with single large files (1GB) as well as many small files (10kb-10MB). That's probably a sign of either thermal problems from inadequate cooling, or possibly PSU not giving stable voltage rails and sagging a bit too low; also, at least the older VIA C3 EPIA hardware had somewhat flaky PATA interfaces; if I tried to use both PATA channels I'd see lockups, unless I turned everything down to UDMA-33 speeds. I doubt it's the cooling, processor is currently at 48C with passive cooling. But it could be PSU, I got the system for low power fanless silent operation, but after having disk crashes with laptop disks under heavy i/o, I got a server disk to sustain the continuous use. I'll try to slow it down and see if it helps, thanks for the advice. Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: incremental FTP backup program
Are there any specific scripting tools that I could use in order to achieve that ? From what you are describing a tool that would automate the dump process and take care of snapshots versions would be a must… ?? Any idea ? Le 17 déc. 2009 à 18:12, Roland Smith a écrit : On Thu, Dec 17, 2009 at 05:29:54PM +0100, bsd wrote: Hello, I have been provided with a 1To backup space by my hosting company… unfortunately It is only accessible by FTP which does not allow me to do the regular backup / restore I use to do using RSYNC. What are the options I have in order to do the backup / restore of the files knowing that : 1. I would like to have a time based backup solution (incremental with sub-folder for daily backup so I can restore files from xxx days ago). 2. I need to use ftp as a transport 3. Some of my servers have limited space so doing a local sync then FTP will not be possible. 4. If possible I would like a bullet proof solution ideally well known | tested and available from the port tree. There are several avenues available even with the tools in the base system. One of those is to use dump(8), assuming you are using UFS filesystems, of course. Make regular dumps (of different levels), compress them using bzip2(1), encrypt the compressed dumpfiles using openssl(1) (do _not_ use crypt(1)!) and use ftp(1) to transfer them to the hosting company. Another way is to use mtree(8). You can use this to generate a file containing the state of a filesystem hierarchy. Running it against a previously saved specification can yield a list of files that have changed. Use tar and bzip2 to create an archive of the files that have changed. Encrypt and send same as above. All these programs come with the base system, you would just need to script them. 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) Gregober --- PGP ID -- 0x1BA3C2FD bsd @at@ todoo.biz P Please consider your environmental responsibility before printing this 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: System crashes under heavy disk i/o
Mel Flynn wrote: Turn down operating mode via atacontrol. If using dump(8) use the cache feature and/or do the backup from live disk, so no other services are running and disk isn't accessed other then by dump. Thanks, is there a way to set UDMA mode at boot? BR, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: portupgrade failure
On Wed, Dec 16, 2009 at 7:24 PM, Mark Linimon lini...@lonesome.com wrote: On Wed, Dec 16, 2009 at 11:13:36PM -0500, Robert Huff wrote: The maintainer, ruby@, is aware of this; a check of the PR database shows multiple open PRs, none critical but many serious going back six months and more. As an aside, the Severity and Priority fields have been so often abused as to have become meaningless. Although I still try to groom the db for critical ones, and thus try to get those some attention, I really don't think the committers pay much attention. (In general I think those should be reserved for data corruption and security.) The longer-term solution is to remove those as user-settable fields. This hard to understand given portupgrade is the recommended upgrade tool. Once the individual who was working on it gave it up to the mailing list, it became one of those everyone is responsible so no one is responsible problems. I don't have a recommended fix for this. Having said that, I have a ports tree as of a month ago and portupgrade was working ok for me. I don't have the cycles to go figure out where it fails to be able to fix it, sorry. mcl Thanks to everyone for the tips. I downgraded to portupgrade-2.4.6_2,2, and am able to update my ports/packages again. I had seen others commenting on portupgrade being broken in the past, but the ruby errors made me wonder if it was actually a ruby problem. ___ 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: incremental FTP backup program
On Thu, Dec 17, 2009 at 10:55:54PM +0100, bsd wrote: Are there any specific scripting tools that I could use in order to achieve that ? Well, /bin/sh and 'man sh' spring to mind. :-) Or use another scripting language if you are more familiar with that, e.g. perl or python. But since you are mainly invoking programs, a plain shell-script would be my first choice. From what you are describing a tool that would automate the dump process and take care of snapshots versions would be a must… ?? See e.g. the dodumps script on my scripts page; http://www.xs4all.nl/~rsmith/software/scripts.html It just names the dumps 'filesystem-dumplevel-date.dump', e.g. root-0-20091217.dump. You could extend this script to transfer the dumps via ftp, and remove old dumps from the FTP site. After testing, you could even run it from cron. Start off with a level 0 dump, and then perform higher level dumps as often as you need. Google for 'dump levels', and you'll find lots of different schemes, e.g. http://docs.sun.com/app/docs/doc/817-5093/bkupconcepts-21?a=view I would urge you to keep things simple. The more complicated the your solution, the easier things can go wrong. One caveat about dump though. If one of your filesystems contains just one big database in a huge file, dump will copy the whole file even if just one byte has changed. In such a case you should see if the database has tools to just copy the records changed since the last backup and use that instead. 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) pgpwsaSQLwSSv.pgp Description: PGP signature
Re: question about xorg 7.4
On Thu, 17 Dec 2009, Chris Whitehouse wrote: d...@safeport.com wrote: On Thu, 17 Dec 2009, Pieter de Goeje wrote: Xorg defaults to a black screen instead of a checkerboard pattern these days. You can revert to the old style with -retro flag to X .If things are working you should see the old style screen with an X mouse pointer (if enabled) Not trying to rtfm but http://www.freebsd.org/doc/en/books/handbook/x-config.html Thanks Chris. I did rtfm. I posted a relatively lengthy vent (civilized rant :) that included comments on the excellence of the handbook in this area. It was probably lost in the questions down-period. Before dropping back to the 7.2-release iso version I tried retro and running without and without hal/dbus. All this the same result. I did indeed get the black screen but with no keyboard. I believe (but am not 100% sure) that the current version of xorg.conf I am running was generate with the -retro option. I am however still running with the ati driver. I kind of 'lost interest' in xorg when I got some thing that worked and moved on to my next problem, kde4. In the meantime xsetroot saves my eyes while I labor on with kde. _ Douglas Denault http://www.safeport.com d...@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 ___ 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: incremental FTP backup program
I have a backup system that I created for rougly that scenario. It's not bullet proof, not well tested in the community, etc. I haven't even tried the FTP Transport on FreeBSD yet. http://lostlogicx.com/backupsblow/ I use it over S3 to backup my server personally. --Brandon On 2009-12-17 (Thu) at 23:39:40 +0100, Roland Smith wrote: On Thu, Dec 17, 2009 at 10:55:54PM +0100, bsd wrote: Are there any specific scripting tools that I could use in order to achieve that ? Well, /bin/sh and 'man sh' spring to mind. :-) Or use another scripting language if you are more familiar with that, e.g. perl or python. But since you are mainly invoking programs, a plain shell-script would be my first choice. From what you are describing a tool that would automate the dump process and take care of snapshots versions would be a must??? ?? See e.g. the dodumps script on my scripts page; http://www.xs4all.nl/~rsmith/software/scripts.html It just names the dumps 'filesystem-dumplevel-date.dump', e.g. root-0-20091217.dump. You could extend this script to transfer the dumps via ftp, and remove old dumps from the FTP site. After testing, you could even run it from cron. Start off with a level 0 dump, and then perform higher level dumps as often as you need. Google for 'dump levels', and you'll find lots of different schemes, e.g. http://docs.sun.com/app/docs/doc/817-5093/bkupconcepts-21?a=view I would urge you to keep things simple. The more complicated the your solution, the easier things can go wrong. One caveat about dump though. If one of your filesystems contains just one big database in a huge file, dump will copy the whole file even if just one byte has changed. In such a case you should see if the database has tools to just copy the records changed since the last backup and use that instead. 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) ___ 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
editing a binary file
I'm creating binary files in fortran. Fortran adds 4 byte record delimiters at the beginning and the end of each record, which, in the case of a binary file, is just at the beginning and at the end of the file. I need to delete these record delimiters, because the software I use to visualise the binary files interprets them as data. But I don't know how. I've looked at hexdump and od, but those are only dumping (I think) file contents, and I cannot see how to edit a file with them. Any advice? many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ 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: editing a binary file
Anton Shterenlikht wrote: I'm creating binary files in fortran. Fortran adds 4 byte record delimiters at the beginning and the end of each record, which, in the case of a binary file, is just at the beginning and at the end of the file. I need to delete these record delimiters, because the software I use to visualise the binary files interprets them as data. But I don't know how. I've looked at hexdump and od, but those are only dumping (I think) file contents, and I cannot see how to edit a file with them. Any advice? many thanks anton Hello Anton, My bet would be /usr/ports/editors/hexedit. Been a while since I've used it, but AFAIR, it has a curses or a curses like interface, and it's fairly simple to use, yet sufficiently powerful for most normal binary editing. If you want a GUI, I believe gnome (and probably KDE as well) has its own hex editor. Good luck, Rolf ___ 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: editing a binary file
On Fri, Dec 18, 2009 at 02:09:58AM +0100, Rolf Nielsen wrote: Anton Shterenlikht wrote: I'm creating binary files in fortran. Fortran adds 4 byte record delimiters at the beginning and the end of each record, which, in the case of a binary file, is just at the beginning and at the end of the file. I need to delete these record delimiters, because the software I use to visualise the binary files interprets them as data. But I don't know how. I've looked at hexdump and od, but those are only dumping (I think) file contents, and I cannot see how to edit a file with them. Any advice? many thanks anton Hello Anton, My bet would be /usr/ports/editors/hexedit. Been a while since I've used it, but AFAIR, it has a curses or a curses like interface, and it's fairly simple to use, yet sufficiently powerful for most normal binary editing. If you want a GUI, I believe gnome (and probably KDE as well) has its own hex editor. thank you. hexedit does the job on small files, but is quite clunky. If I've a xGB file and I need to delete the first and the last record, this becomes quite hard, if at all possible. I didn't appreciate it's not that simple. Perhaps I can read a file with C and write back? I can't remember if C supports binary files, and whether it also writes some record delimiters. many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ 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
RFC: Fam/Python based script for bruteforce blocking
Hi, I'm pretty new to FreeBSD, but when I saw how neatly it supported file-backed tables for IP blocking I knew I'd finally want to build a bruteforce blocking script that I'd long wanted to create on Linux. This script is loosely based on the perl script for the same purpose from http://home.earthlink.net/~valiantsoul/pf.html . My script, in contrast to the above, runs as a daemon and is completely self contained other than the blacklist file. Of course it's up to the user to create the bruteforce table in pf and to do something useful with it, but once that's done just running the bruteforce.py daemon will take care of the rest. I've attached the script and my pf.conf. The only other requirements other than python are py-fam and (of course) a configured fam. I'd love to hear other people's feedback on this approach of using FAM + auth.log to implement this and/or to hear of other superior approaches to achieving this result. Thanks for reading, --Brandon table bruteforce persist file /var/db/blacklist table safe persist file /var/db/friendlist block in all pass in on nfe0 proto tcp from any to any port 22 keep state pass in on nfe0 proto tcp from any to any port 80 keep state pass in on nfe0 proto tcp from any to any port 443 keep state pass in on nfe0 proto tcp from any to any port 25 keep state pass in on nfe0 proto tcp from any to any port 465 keep state pass in on nfe0 proto tcp from any to any port 993 keep state pass in on nfe0 proto udp from any to any port 53 pass in on nfe0 proto tcp from any to any port 53 keep state pass in on nfe0 proto udp from any to any port 123 pass in on nfe0 proto icmp block from bruteforce pass from safe pass on lo0 pass out all keep state ___ 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: RFC: Fam/Python based script for bruteforce blocking
Not sure why this didn't attach the first time. #!/usr/bin/env python import errno import logging import optparse import os import re import select import signal import subprocess import sys import time import datetime import _fam def getUpdateBlocks(pfctl, expire_seconds, blacklist_filename, table, limit_n): expire=str(expire_seconds) blacklist=blacklist_filename limit=limit_n baseArgs=(pfctl, '-t', table, '-T') def callAndLog(*args, **kwargs): c=subprocess.Popen(baseArgs + args, stderr=subprocess.PIPE, stdout=kwargs.get('stdout',subprocess.PIPE)) stdout,stderr=c.communicate() if stdout: logging.info(stdout) for line in (stderr if stderr else '').split('\n'): if not line: continue getattr(logging,'info' if line.find('ALTQ') 0 else 'debug')(line) reParts=('(.*) erudite sshd\[[0-9]+\]: ', '(?:', '|'.join(('Invalid user .* from', 'Did not receive identification string from', 'error: PAM: authentication error for root from')), ') ', '(', '(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}', '(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)', ')\n?') r=re.compile(''.join(reParts)) df='%b %d %H:%M:%S' oneDay=datetime.timedelta(days=1) def processFile(now, ips, filename): with open(filename, 'r') as f: for line in f: m=r.match(line) if not m: continue d=datetime.datetime.strptime(m.group(1),df).replace(now.year) if d now: d=d.replace(now.year-1) if now-d oneDay: ips[m.group(2)]=ips.get(m.group(2),0) + 1 def updateBlocks(filename): logging.info(Updating blacklist...) ips={} now=datetime.datetime.now() processFile(now, ips, filename) logging.debug(Found %s IPs, len(ips)) logging.debug(Adding ips to pf table) callAndLog('add', *tuple(k for k,v in ips.iteritems() if v = limit)) logging.debug(Expiring ips from pf table) callAndLog('expire', expire) logging.debug(Saving table state to file) with open(blacklist,'w') as blacklistFile: callAndLog('show', stdout=blacklistFile) logging.debug(Done) return updateBlocks def main(): parser=optparse.OptionParser() parser.add_option(-d, --debug, action=store_true, help=Enable debug logging) parser.add_option(-a, --auth_log, default=/var/log/auth.log, help=Authentication log filename) parser.add_option(-b, --blacklist, default=/var/db/blacklist, help=Blacklist filename) parser.add_option(-l, --log_file, default=/var/log/bruteforce.log, help=Log filename) parser.add_option(-p, --pfctl, default=/sbin/pfctl, help=pfctl binary) parser.add_option(-e, --expire, type=int, default=604800, help=Seconds to hold a grudge) parser.add_option(-t, --table, default=bruteforce, help=Name of pf table to work on) parser.add_option(-i, --limit, type=int, default=2, help=Number of invalid logins to get blacklisted) (opts, args)=parser.parse_args() if args: optparse.error(No non-option arguments expected) logging.basicConfig(filename=opts.log_file, level=logging.DEBUG if opts.debug else logging.INFO) fc=_fam.open() p=select.poll() p.register(fc, select.POLLIN|select.POLLPRI) fr=fc.monitorFile(opts.auth_log, None) updateBlocks=getUpdateBlocks( opts.pfctl, opts.expire, opts.blacklist, opts.table, opts.limit) while True: p.poll(60) update=False while fc.pending(): fe=fc.nextEvent() if fe.code in (_fam.Exists,_fam.Changed,_fam.Created): update=True if not fe.filename==opts.auth_log: raise FAM event: wrong file if update: updateBlocks(fe.filename) if __name__ == __main__: main() ___ 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: editing a binary file
Anton Shterenlikht wrote: On Fri, Dec 18, 2009 at 02:09:58AM +0100, Rolf Nielsen wrote: Anton Shterenlikht wrote: I'm creating binary files in fortran. Fortran adds 4 byte record delimiters at the beginning and the end of each record, which, in the case of a binary file, is just at the beginning and at the end of the file. I need to delete these record delimiters, because the software I use to visualise the binary files interprets them as data. But I don't know how. I've looked at hexdump and od, but those are only dumping (I think) file contents, and I cannot see how to edit a file with them. Any advice? many thanks anton Hello Anton, My bet would be /usr/ports/editors/hexedit. Been a while since I've used it, but AFAIR, it has a curses or a curses like interface, and it's fairly simple to use, yet sufficiently powerful for most normal binary editing. If you want a GUI, I believe gnome (and probably KDE as well) has its own hex editor. thank you. hexedit does the job on small files, but is quite clunky. If I've a xGB file and I need to delete the first and the last record, this becomes quite hard, if at all possible. I didn't appreciate it's not that simple. Perhaps I can read a file with C and write back? I can't remember if C supports binary files, and whether it also writes some record delimiters. many thanks anton How about one of these then? http://www.freebsd.org/cgi/url.cgi?ports/editors/bless/pkg-descr Main Features - * Efficient editing of large data files. * Multilevel undo - redo operations. * Customizable data views. * Fast data rendering on screen. http://www.freebsd.org/cgi/url.cgi?ports/editors/lfhex/pkg-descr Features: - Low memory usage with respect to filesize. Opening a 2gig file requires only ~1.4megs of additional memory. - Fast load times. - Fast save times. - Infinite undo/redo. - Conversion dialog - Search function. - Shows modified regions in alternate color. - Scalable working area. Resize can use as much screen as you give it. - Multiple editing modes (can switch on the fly) - Runtime configurable bytes per column. - binary comparison user interface I haven't tried either of them myself, but they do look promising. Rolf ___ 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: editing a binary file
On Fri, 18 Dec 2009, Anton Shterenlikht wrote: I'm creating binary files in fortran. Fortran adds 4 byte record delimiters at the beginning and the end of each record, which, in the case of a binary file, is just at the beginning and at the end of the file. I need to delete these record delimiters, because the software I use to visualise the binary files interprets them as data. But I don't know how. I've looked at hexdump and od, but those are only dumping (I think) file contents, and I cannot see how to edit a file with them. truncate -4 myfile should get rid of the last four bytes. Maybe there's a similar efficient way to truncate the start of a file. -Warren Block * Rapid City, South Dakota USA ___ 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: RFC: Fam/Python based script for bruteforce blocking
Brandon Low writes: Not sure why this didn't attach the first time. The FreeBSD mailing list software is set to scrub all attachments as a security measure. To makew material available, post it in-line, or post a URL. 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: editing a binary file
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Warren Block wrote: On Fri, 18 Dec 2009, Anton Shterenlikht wrote: I'm creating binary files in fortran. Fortran adds 4 byte record delimiters at the beginning and the end of each record, which, in the case of a binary file, is just at the beginning and at the end of the file. I need to delete these record delimiters, because the software I use to visualise the binary files interprets them as data. But I don't know how. I've looked at hexdump and od, but those are only dumping (I think) file contents, and I cannot see how to edit a file with them. truncate -4 myfile should get rid of the last four bytes. Maybe there's a similar efficient way to truncate the start of a file. -Warren Block * Rapid City, South Dakota USA This should do it: dd if=oldfile of=newfile bs=1 skip=4 Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLKt6e0sRouByUApARAt0uAJ9CfG3DmsUbrUMg7hX2dIT+FOZ1sACfQtaD b7z5vvm/+vohelNIch1/ME8= =Zp5i -END PGP SIGNATURE- ___ 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
/libexec/ld-elf.so.1: /usr/local/bin/postgres: Undefined symbol shmctl
Have been running FreeBSD 7.1 for months with PostgreSQL 8.3. All fine. Today, made a change to hosts.allow to add an IP address for FTP access. Rebooted and attempted to restart PostgreSQL. Postgres wouldn't start and left this error in the log file: /libexec/ld-elf.so.1: /usr/local/bin/postgres: Undefined symbol shmctl Have Googled IRC'd with no luck. Any suggestions or ideas about how to fix would be greatly appreciated! Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /libexec/ld-elf.so.1: /usr/local/bin/postgres: Undefined symbol shmctl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Reggie Euser wrote: Have been running FreeBSD 7.1 for months with PostgreSQL 8.3. All fine. Today, made a change to hosts.allow to add an IP address for FTP access. Rebooted and attempted to restart PostgreSQL. Postgres wouldn't start and left this error in the log file: /libexec/ld-elf.so.1: /usr/local/bin/postgres: Undefined symbol shmctl Have Googled IRC'd with no luck. Any suggestions or ideas about how to fix would be greatly appreciated! Thanks! Hi Reggie, Have you upgraded your system with freebsd-update or csup recently? Did you install PostgreSQL from a binary package or build it in the ports tree? This is a thread from someone with the same problem, although a different application: http://forums.freebsd.org/showthread.php?t=6661 It sounds like a fresh rebuild from the ports tree might fix the problem, but YMMV. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLKuPA0sRouByUApARAuRKAJ9QiaXdVXBCRJAz7b6IMfxnryAPQACcC+kP TNjkV1uqamolmrY0+2W8brc= =Ewsl -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: is this getting out?
In freebsd-questions Digest, Vol 289, Issue 4, Message 14 On Sat, 12 Dec 2009 15:32:07 -0800 Gary Kline kl...@thought.org wrote: ariatotle is offline; i'm exclusively on my new server. will somebody please do a digg thought.org and see if they see what i see? hope i get this. At this moment just seeing SERVFAIL for thought.org, and (thus) its listed nameservers at your registrar: Name Server:NS1.THOUGHT.ORG Name Server:ETHIC.THOUGHT.ORG === smithi on sola% dig thought.org ; DiG 9.3.4-P1 thought.org ;; global options: printcmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: SERVFAIL, id: 20499 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;thought.org. IN A ;; Query time: 4730 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Dec 18 12:35:32 2009 ;; MSG SIZE rcvd: 29 === That's from Australia (as good as anywhere else in this regard :) It's a bit fraught, and not recommended (indeed, frowned upon by RFCs), to have both/all of your domain nameserver IPs on one physical network. I know you had too many before, but if you know someone who can and will provide secondary/slave DNS for you, with a decent expiry time you can be offline for longish periods without your domain disappearing from view, even if your mail/web//etc servers are temporarily offline. Rather than having to ask others to look it up, try locating some public recursive nameserver that you can use, maybe provided by your ISP, let's call it ns1.example.org .. then (assuming basic connectivity) you can: % dig @ns1.example.org [whatever.]thought.org [a|ns|soa|mx|..] to check visibility for yourself while you're tinkering with your DNS, remembering to allow time for changes to propagate. So it's best to be running a short default TTL (say 3600 seconds) until you're running ok, then once OK increase it to something more reasonable, say 1 day. Don't forget to increase your zone's serial number with each change to your configuration, or slave servers won't notice and fetch updates. If in doubt, it never hurts to bump the serial and restart named. Use the standard format so you never use a smaller integer than before, eg 2009121801 for the first update today. Check the supplied HTML docs. Ensure that your firewall allows both TCP and UDP connections inbound on port 53 on each of your externally accessible nameservers, and of course allows response traffic outbound. cheers, Ian PS because thought.org is SERVFAIL at the mo, you won't get this mail direct till the domain reappears here. It'll be queued for two days. ___ 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: cups-1.4.2 usb printer not recognized
Am Dienstag, den 15.12.2009, 07:28 -0500 schrieb Lowell Gilbert: Peter Ulrich Kruppa ulr...@pukruppa.net writes: since my update to cups-1.4.2 I can't print anymore :-( I have got a HP Deskjet 990 Cxi attached to an USB port. My system is a FreeBSD 8.0 -STABLE amd64. I can cat some words to /dev/ulpt0 but that's about all. When I access http://localhost:631 no local printer will show up. Any ideas? I'm still not on 8, but I understand that ulpt is no longer appropriate with the new USB stack and libusb. Remove ulpt from the kernel and I think you'll find CUPS detects the printer properly. Hm,...yes after some deinstalling/reinstalling and kernel building now cups will find this: hp:/usb/Deskjet_990C?serial=ES0731D00XLG But when I try to print the test page I get this error message: /usr/local/libexec/cups/backend/hp failed (I am running hplip-3.9.8 backend.) Any more ideas? Thanks Uli. ___ 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: Simple Monitoring Of TCP/IP Question
On Wed, Dec 16, 2009 at 03:21:38PM -0700, Michael Goodell wrote: Hello . . . Looking for a *simple* protocol monitoring solution to test connectivity of various facets of a system, i.e. HTTP / HTTPS / POP3 / SMTP etc. I am not looking, and don't want to install a *heavy* application like Nagios etc, but rather something much more simple. I have seen checkservice (/usr/ports/sysutils/checkservice) in the past and that looked quite simple to implement. Another question is there anything more preferred that checkservice that anyone knows about? Thank you in advance for any direction. Does tcpdump do what you need? It's pretty slim (makes Wireshark look huge by comparison) and easily scripted (since it's a command line tool). -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpyKqCgRj0IE.pgp Description: PGP signature
Confusion About FreeBSD now supports host and guest modes in VirtualBox
Maybe someone here can distribute some enlightenment. In the press release for 8.0 it says, FreeBSD now supports host and guest modes in VirtualBox. I understand what the host mode support is with the VirtualBox port. What I don't understand is what support for guest mode is. I don't see anything anywhere about guest additions. As far as I can tell, guest support seems to consist of simply allowing the kernel to run in VirtualBox. Am I missing something? Thanks, Ryan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: is this getting out?
On Thu, Dec 17, 2009 at 06:42:17PM +0100, Polytropon wrote: On Thu, 17 Dec 2009 18:20:16 +0100, Roland Smith rsm...@xs4all.nl wrote: But if I try the new server; # host ethic.thought.org Host ethic.thought.org not found: 3(NXDOMAIN) # ping ethic.thought.org ping: cannot resolve ethic.thought.org: Unknown host Here, now: % host ethic.thought.org ethic.thought.org has address 209.180.213.210 Host ethic.thought.org not found: 3(NXDOMAIN) Host ethic.thought.org not found: 3(NXDOMAIN) And I can now ping it, as well as aristotle and plato. how about this, guys: p1 13:38 tao [5098] dig thought.org; host thought.org ; DiG 9.4.3-P1 thought.org ;; global options: printcmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 42473 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;thought.org. IN A ;; AUTHORITY SECTION: thought.org.38400 IN SOA ethic.thought.org. hostmaster.thought.org. 2009121201 10800 3600 604800 38400 ;; Query time: 0 msec ;; SERVER: 10.47.0.230#53(10.47.0.230) ;; WHEN: Thu Dec 17 13:39:08 2009 ;; MSG SIZE rcvd: 82 thought.org mail is handled by 10 ethic.thought.org. p1 13:39 tao [5099] the above is what i have seen since around 20:45 last sunday. i'm guessing it has taken this long to spread worldwide. gary ps: having had aristotle [my antique --1998-- kayak] slow, surely disintegrate day-by-day forced the scramble to the new dell, ethic. Now iti is up to me to *avoid* future messes -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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 -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a 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: is this getting out?
On Thu, Dec 17, 2009 at 02:58:43PM +, Bruce Cran wrote: On Thu, 17 Dec 2009 15:52:20 +0100 Polytropon free...@edvax.de wrote: Gary, seems that my MX has problems with thought.org, that's why I'm repeating my reply on the list, I hope you can receive it this way. The MX said: kl...@thought.org: Host or domain name not found. Name service error for name=ethic.thought.org type=A: Host not found It looks like the server is EHLO'ing as ethic.thought.org but is actually plato.thought.org. Yes, (*sigh*) || ($...@%%!!#). Exactly right. Last friday I thought everything has been moved _off_ aristotle and that ethic was serving web and DNS Nope. I made small but very nice edits to one of my jottings, then didn't see my edits via firefox [and lynx]. That set me off like a madman to figure out what was going on. Sunday evening before everything was resolved. Still not certain that everything is right or exactly where the problem was. But aristotle is halted and I am back into learn mode. gary -- Bruce Cran -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a 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
help, plesae check everything you can...
if this gets thru, i hope some of you can help me. i was trying to correct the couple things mentioned and all of a sudden i broke something in /etc/namedb/; then i seemed to fix it, one minute wife and daughter cannot get outside; then next time they can. there are some error from ethic that i do not understand. i'm appending out out from dmesg. hopefully some of you can give me some clues. thanks, gary PS: my internext connections are extremely slow. when things Do work; then then time-out. i'm stumped. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Attached 'dmesg' from ethic.thought.org Copyright (c) 1992-2009 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.2-RELEASE-p4 #2: Sat Nov 21 05:52:04 PST 2009 r...@ethic.thought.org:/usr/obj/usr/src/sys/ETHIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Duo CPU E7400 @ 2.80GHz (2793.01-MHz 686-class CPU) Origin = GenuineIntel Id = 0x1067a Stepping = 10 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Features2=0x408e39dSSE3,DTES64,MON,DS_CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE AMD Features=0x2010NX,LM AMD Features2=0x1LAHF Cores per package: 2 real memory = 3478716416 (3317 MB) avail memory = 3399557120 (3242 MB) ACPI APIC Table: DELL FX09 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 4 ioapic0 Version 2.0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: DELL FX09on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a (3) failed acpi0: reservation of 10, cf49 (3) failed Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0 acpi_hpet0: High Precision Event Timer iomem 0xfed0-0xfed003ff on acpi0 device_attach: acpi_hpet0 attach returned 12 acpi_button0: Power Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pcib1: PCI-PCI bridge irq 16 at device 1.0 on pci0 pci1: PCI bus on pcib1 vgapci0: VGA-compatible display port 0xff00-0xff07 mem 0xfdf0-0xfdf7,0xd000-0xdfff,0xfdb0-0xfdbf irq 16 at device 2.0 on pci0 agp0: Intel G33 SVGA controller on vgapci0 agp0: detected 7164k stolen memory agp0: aperture size is 256M em0: Intel(R) PRO/1000 Network Connection 6.9.6 port 0xfe00-0xfe1f mem 0xfdfc-0xfdfd,0xfdfff000-0xfdff irq 20 at device 25.0 on pci0 em0: Using MSI interrupt em0: [FILTER] em0: Ethernet address: 00:24:e8:17:88:61 uhci0: UHCI (generic) USB controller port 0xfd00-0xfd1f irq 16 at device 26.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: UHCI (generic) USB controller on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: UHCI (generic) USB controller port 0xfc00-0xfc1f irq 21 at device 26.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: UHCI (generic) USB controller on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: UHCI (generic) USB controller port 0xfb00-0xfb1f irq 19 at device 26.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: UHCI (generic) USB controller on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb2 uhub2: 2 ports with 2 removable, self powered ehci0: EHCI (generic) USB 2.0 controller mem 0xfdffe000-0xfdffe3ff irq 18 at device 26.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: EHCI (generic) USB 2.0 controller on ehci0 usb3: USB revision 2.0 uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 on usb3 uhub3: 6 ports with 6 removable, self powered pci0: multimedia, HDA at device 27.0 (no driver attached) uhci3: UHCI (generic) USB controller port 0xfa00-0xfa1f irq 23 at device 29.0 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb4: UHCI (generic) USB controller on uhci3 usb4: USB revision 1.0 uhub4: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb4 uhub4: 2 ports with 2 removable, self powered uhci4: UHCI (generic) USB controller port 0xf900-0xf91f irq 19 at device 29.1 on pci0 uhci4: [GIANT-LOCKED] uhci4: [ITHREAD] usb5: UHCI (generic) USB controller on uhci4 usb5: USB revision 1.0 uhub5: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb5 uhub5: 2 ports with 2 removable,
Re: is this getting out?
On Thu, 17 Dec 2009 12:49:10 -0800, Gary Kline kl...@thought.org wrote: But aristotle is halted and I am back into learn mode. This sentence probably belongs in a fortune cookie collection somewhere. Hah! :) ___ 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: help, plesae check everything you can...
Hi, if this gets thru, i hope some of you can help me. i was trying to correct the couple things mentioned and all of a sudden i broke something in /etc/namedb/; then i seemed to fix it, one minute wife and daughter cannot get outside; then next time they can. there are some error from ethic that i do not understand. If you break something in /etc/namedb, it will probably make your DNS inoperant, then your wife/daughter cannot resolve names hence cannot access to outside. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: is this getting out?
On Thu, Dec 17, 2009 at 12:33:32PM -0500, Steve Bertrand wrote: here. it was trying to resolve these faults when i somehow mucked things up. OR made them worse! The only problems I see are that a) you don't have an a record for the domain name itself b) both of your name servers are located on a single IP Steve oh: fwiw, im fired; i hear my bed singing its siren sogn... -g -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a 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