Re: A question for developers
On Tuesday 11 August 2009 16:46:16 Steve Bertrand wrote: > Steve Bertrand wrote: > > but may be handy until I become more fluent, > > as my first instinct is to hit the BACKSPACE > > ^H^H^H^H^H^H^H^H^H > > ^h key. terminal emulation fault. stty erase should fix it, on the shell that is. -- 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: A question for developers
Steve Bertrand wrote: > but may be handy until I become more fluent, > as my first instinct is to hit the BACKSPACE ^H^H^H^H^H^H^H^H^H ^h key. Steve smime.p7s Description: S/MIME Cryptographic Signature
Re: A question for developers
Steve Bertrand wrote: > I'm looking for a new editor. Well, after a two week hiatus from technology, I'm back at work (actually, considering I build a large new deck, being back at work is more of a holiday than being on holidays :) Although it was recommended that I give both Emacs and Vi(m) a try to see which one I prefer, I'm forgoing that, and just sticking with Vim as I can just sense that it suits me. I don't know if this is a Vi or FreeBSD question, so I'll ask here first. In the vim tutor, it is quoted: " NOTE: The letter d will appear on the last line of the screen as you type it. Vim is waiting for you to type w . If you see another character than d you typed something wrong; pressand start over. " ...however, my terminal emulators (Putty, Poderosa) never display anything at the bottom of the screen when I type a command that requires additional input. Am I reading this wrong, or could my emulator be chopping off some of my display (using commands followed by ":" always appear). Having the "d" displayed is largely irrelevant as I can always sense when I've mistyped a char, but may be handy until I become more fluent, as my first instinct is to hit the BACKSPACE key. Is "d" supposed to show up prior to sending it another command? Thanks again for the great feedback and references! Steve smime.p7s Description: S/MIME Cryptographic Signature
Re: making FBSD 7.2 X work on a CQ-60 laptop
On Tue, 11 Aug 2009 19:44:02 -0400, Henry Olyer wrote: > I have been having a lot of trouble getting X running on my HP/Compaq > laptop. A lot of trouble. > > For years I used to use xf86cfg and/or xf86config, but now, with FreeBSD 7.2 > I can't find them. (Don't tell me that such useful tools were -- ugh -- > depreciated. No, please no.) They are. X introduced new means to achieve the same, mainly through autodetection. The command # X -configure should provide a xorg.conf.new file with the relevant settings. Have a look at what /var/log/Xorg.0.log says in case of errors. Keep in mind that the new X server now has a different behaviour when it works. They old-fashioned greyish pattern has been abandoned in favour of a modern solid black background. :-) > And worse, the keyboard has lot's of really nice key's on it, to dim the > screen and such like that. Which right now 7.2 ignores. I always thought these keys were software-independent. But who wonders about "modern" laptops where even the socket for headphones requires a driver that manages to switch off the speakers when a headphone is plugged in... > So for $400 I think I got a good deal. If it works. If it doesn't, it was a bad deal. :-) -- Polytropon >From 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: making FBSD 7.2 X work on a CQ-60 laptop
On Tue, 11 Aug 2009 19:44:02 -0400 Henry Olyer wrote: > I have been having a lot of trouble getting X running on my HP/Compaq > laptop. A lot of trouble. > > For years I used to use xf86cfg and/or xf86config, but now, with > FreeBSD 7.2 I can't find them. (Don't tell me that such useful tools > were -- ugh -- depreciated. No, please no.) > > And worse, the keyboard has lot's of really nice key's on it, to dim > the screen and such like that. Which right now 7.2 ignores. > > It's a CQ-60, a Walmart special and I purchased it because it had 3GB > of RAM with a big screen (about 15.5", I think.) And I went down to > my local computer store and purchased a 500GB SATA drive for $100. > > So for $400 I think I got a good deal. (The machine is on sale now > at WM stores for less than $300. With tax it was $312.) > > Now though I have to make it work with FreeBSD 7.2. with X. I need > help. Does anyone have one running FBSD 7.2 already? > ___ > 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" Going to need some more info. :) Do you know what kind of graphics chip is in there? Have you tried the automagic xorg configuration? http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html `pciconf -lv` output would help also. --Greg ___ 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"
making FBSD 7.2 X work on a CQ-60 laptop
I have been having a lot of trouble getting X running on my HP/Compaq laptop. A lot of trouble. For years I used to use xf86cfg and/or xf86config, but now, with FreeBSD 7.2 I can't find them. (Don't tell me that such useful tools were -- ugh -- depreciated. No, please no.) And worse, the keyboard has lot's of really nice key's on it, to dim the screen and such like that. Which right now 7.2 ignores. It's a CQ-60, a Walmart special and I purchased it because it had 3GB of RAM with a big screen (about 15.5", I think.) And I went down to my local computer store and purchased a 500GB SATA drive for $100. So for $400 I think I got a good deal. (The machine is on sale now at WM stores for less than $300. With tax it was $312.) Now though I have to make it work with FreeBSD 7.2. with X. I need help. Does anyone have one running FBSD 7.2 already? ___ 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: location of user crontab files?
>> On Tue, 11 Aug 2009 10:50:54 -0400, >> Identry said: I> Where are user crontab files stored in the file system? I want to make I> sure this info is backed up. They're in /var/cron/tabs. If you're using individual crontab files, be sure to rename /etc/crontab or you might have duplicated cronjobs running simultaneously. I use the file header beneath my signature for crontab files, so I don't forget what field goes where. It's also handy to define an environment variable in case a program should behave differently when run under cron. -- Karl Vogel I don't speak for the USAF or my company # # Everything on a line is separated by blanks or tabs. # Set CRON so scripts know when they're being run non-interactively. CRON=yes SHELL=/bin/sh PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin # #+--- Minute (0-59) #| +--- Hour (0-23) #| | +- Day(1-31) #| | | +- Month (1-12) #| | | | +- Day of week (0-6, 0=Sunday) #| | | | |+ Command to be run #| | | | || #v v v v vv # # Jobs queued for later execution */5 * * * */usr/libexec/atrun # # Do daily/weekly/monthly maintenance 13 * * *periodic daily 10 22* * *periodic evening 15 4 * * 6periodic weekly 30 5 1 * *periodic monthly .. ___ 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 for the common man(or woman) (was: > upgrade 7.2
>> On Sun, 9 Aug 2009 07:52:31 -0600, >> Chad Perrin said: C> An info page is almost as bad as nothing, as far as I'm concerned. Yup. However, the GNU folks do provide something for the rest of us; help2man accepts a GNU program name, runs it with the --help and --version arguments, and writes a pretty good manpage. me% wget http://ftp.gnu.org/gnu/help2man/help2man-1.36.4.tar.gz me% tar xzfv help2man-1.36.4.tar.gz me% cd help2man-1.36.4 me% ./configure --prefix=/usr/local --mandir=/usr/local/man root# make install me% make distclean If you have GNU tar installed: root# help2man /usr/local/bin/gtar > /usr/local/man/man1/gtar.1 -- Karl Vogel I don't speak for the USAF or my company Things that never happen in "Star Trek" #16: Counsellor Troi states something other than the blindingly obvious. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Error code 254
On Tuesday 11 August 2009 12:56:40 Per olof Ljungmark wrote: > Mel Flynn wrote: > > On Tuesday 11 August 2009 12:20:00 Per olof Ljungmark wrote: > >> Mel Flynn wrote: > >>> On Tuesday 11 August 2009 10:53:21 Per olof Ljungmark wrote: > Mel Flynn wrote: > > On Tuesday 11 August 2009 09:27:06 Mel Flynn wrote: > >> On Tuesday 11 August 2009 08:53:59 Per olof Ljungmark wrote: > >>> Mel Flynn wrote: > On Tuesday 11 August 2009 02:48:49 Per olof Ljungmark wrote: > > ===> Installing documentation in > > /usr/local/share/doc/pear/XML_Serializer. ===> Installing tests > > in /usr/local/share/pear/tests/XML_Serializer. ===> Installing > > examples in /usr/local/share/examples/pear/XML_Serializer. *** > > Error code 254 > > Hmmm, when I try > portupgrade -fO pear > the error pops up here too. > > Should I suspect the package database then? > > ===> Installing for pear-1.8.1 > ===> pear-1.8.1 depends on file: /usr/local/include/php/main/php.h - > found ===> pear-1.8.1 depends on file: > /usr/local/lib/php/20060613/pcre.so - found > ===> pear-1.8.1 depends on file: /usr/local/lib/php/20060613/xml.so - > found > ===> Generating temporary packing list > *** Error code 254 Is it really at that point? Could you try a make -dl install again? If it's the package list generation for real, then I'm gonna suspect something on a system level, like IO errors or read-only mounts. If it is the same thing with pear install command, then perhaps you should pkg_delete -r pear-1.8.1 (careful, will uninstall anything depending on pear) and start over to see if the error persists. The pear command sure can use some more verbosity then. -- 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: Error code 254
Mel Flynn wrote: On Tuesday 11 August 2009 12:20:00 Per olof Ljungmark wrote: Mel Flynn wrote: On Tuesday 11 August 2009 10:53:21 Per olof Ljungmark wrote: Mel Flynn wrote: On Tuesday 11 August 2009 09:27:06 Mel Flynn wrote: On Tuesday 11 August 2009 08:53:59 Per olof Ljungmark wrote: Mel Flynn wrote: On Tuesday 11 August 2009 02:48:49 Per olof Ljungmark wrote: ===> Installing documentation in /usr/local/share/doc/pear/XML_Serializer. ===> Installing tests in /usr/local/share/pear/tests/XML_Serializer. ===> Installing examples in /usr/local/share/examples/pear/XML_Serializer. *** Error code 254 Hmmm, when I try portupgrade -fO pear the error pops up here too. Should I suspect the package database then? ===> Installing for pear-1.8.1 ===> pear-1.8.1 depends on file: /usr/local/include/php/main/php.h - found ===> pear-1.8.1 depends on file: /usr/local/lib/php/20060613/pcre.so - found ===> pear-1.8.1 depends on file: /usr/local/lib/php/20060613/xml.so - found ===> Generating temporary packing list *** Error code 254 Stop in /usr/ports/devel/pear. *** Error code 1 Stop in /usr/ports/devel/pear. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20090811-2005-huzahd-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=pear-1.8.1 UPGRADE_PORT_VER=1.8.1 make -DFORCE_PKG_REGISTER reinstall ---> Restoring the old version ** Fix the installation problem and try again. [Updating the pkgdb in /var/db/pkg ... - 261 packages found (-0 +1) . done] ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! devel/pear (pear-1.8.1) (install error) ___ 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: graphics/ImageMagick seemingly not using OpenMP
On Tue, 11 Aug 2009 09:38:52 -0500 Kirk Strauser wrote: >On Aug 11, 2009, at 6:54 AM, Anton Shterenlikht wrote: > >> On Mon, Aug 10, 2009 at 11:18:43AM -0500, Kirk Strauser wrote: >>> On my FreeBSD 7.2-STABLE system (from July 29), I'm trying to enable >>> OpenMP for the graphics/ImageMagick port. With the >>> IMAGEMAGICK_OPENMP >>> option set, I get this from "make configure": >>> >>> checking for cc -std=gnu99 option to support OpenMP... (cached) >>> unsupported >>> checking for cc -std=gnu99 option to support OpenMP... -fopenmp >>> >>> If I go on to build it, there's no other mention of OpenMP in the >>> output. What am I doing wrong? > >> I think the second like shows that OMP is indeed supported. >> Have you tested on any OMP test? > >But the rest of the build doesn't give any indication. Specifically, >the "-fopenmp" flag isn't used anywhere. I've tested that OMP works - >or at least compiles - but I don't know of any way to find if a given >binary was actually compiled with it. Have you tried nm(1)? Unless the symbols were removed via strip(1), nm(1) should be able to extract an external symbol dictionary from the ImageMagick binary. You can then search through that for OpenMP symbols. Scott Bennett, Comm. ASMELG, CFIAG ** * Internet: bennett at cs.niu.edu * ** * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * *-- Gov. John Hancock, New York Journal, 28 January 1790 * ** ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Error code 254
On Tuesday 11 August 2009 12:20:00 Per olof Ljungmark wrote: > Mel Flynn wrote: > > On Tuesday 11 August 2009 10:53:21 Per olof Ljungmark wrote: > >> Mel Flynn wrote: > >>> On Tuesday 11 August 2009 09:27:06 Mel Flynn wrote: > On Tuesday 11 August 2009 08:53:59 Per olof Ljungmark wrote: > > Mel Flynn wrote: > >> On Tuesday 11 August 2009 02:48:49 Per olof Ljungmark wrote: > >>> ===> Installing documentation in > >>> /usr/local/share/doc/pear/XML_Serializer. ===> Installing tests in > >>> /usr/local/share/pear/tests/XML_Serializer. ===> Installing > >>> examples in /usr/local/share/examples/pear/XML_Serializer. *** > >>> Error code 254 > >>> > >>> ... > >>> > In the meantime, I'll try to reproduce it. > >>> > >>> Which I can't. Patch below adds -v at the correct spot. > >> > >> Unfortunately that did not add much, the error looks exacktly as before, > >> no change. I welcome more suggestions of course. > >> > >> (7.2-STABLE FreeBSD 7.2-STABLE #0: Mon Aug 10 23:50:08 CEST 2009) > > > > Well, it's hard if I can't reproduce it. Can you show the output of: > > make -C /usr/ports/devel/pear-XML_Serializer actual-package-depends > > I tried to locate the docs for pear, in particular the switches, but > failed. Even at pear.php.net/manual I could not find them, are they > installed on my system somewhere? pear help pear help options pear help commands -- 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: Error code 254
Mel Flynn wrote: On Tuesday 11 August 2009 10:53:21 Per olof Ljungmark wrote: Mel Flynn wrote: On Tuesday 11 August 2009 09:27:06 Mel Flynn wrote: On Tuesday 11 August 2009 08:53:59 Per olof Ljungmark wrote: Mel Flynn wrote: On Tuesday 11 August 2009 02:48:49 Per olof Ljungmark wrote: ===> Installing documentation in /usr/local/share/doc/pear/XML_Serializer. ===> Installing tests in /usr/local/share/pear/tests/XML_Serializer. ===> Installing examples in /usr/local/share/examples/pear/XML_Serializer. *** Error code 254 ... In the meantime, I'll try to reproduce it. Which I can't. Patch below adds -v at the correct spot. Unfortunately that did not add much, the error looks exacktly as before, no change. I welcome more suggestions of course. (7.2-STABLE FreeBSD 7.2-STABLE #0: Mon Aug 10 23:50:08 CEST 2009) Well, it's hard if I can't reproduce it. Can you show the output of: make -C /usr/ports/devel/pear-XML_Serializer actual-package-depends I tried to locate the docs for pear, in particular the switches, but failed. Even at pear.php.net/manual I could not find them, are they installed on my system somewhere? Thanks! # make -C /usr/ports/devel/pear-XML_Serializer actual-package-depends pear-XML_Parser-1.3.2:devel/pear-XML_Parser pear-XML_Util-1.2.1:devel/pear-XML_Util pear-1.8.1:devel/pear expat-2.0.1:textproc/expat2 openldap-client-2.4.17:net/openldap24-client perl-5.8.9_3:lang/perl5.8 pkg-config-0.23_1:devel/pkg-config pcre-7.9:devel/pcre libiconv-1.13.1:converters/libiconv libxml2-2.7.3:textproc/libxml2 apache-2.2.11_7:www/apache22 php5-5.2.10:lang/php5 php5-xml-5.2.10:textproc/php5-xml pear-1.8.1:devel/pear expat-2.0.1:textproc/expat2 openldap-client-2.4.17:net/openldap24-client perl-5.8.9_3:lang/perl5.8 pkg-config-0.23_1:devel/pkg-config pcre-7.9:devel/pcre libiconv-1.13.1:converters/libiconv libxml2-2.7.3:textproc/libxml2 apache-2.2.11_7:www/apache22 php5-5.2.10:lang/php5 php5-xml-5.2.10:textproc/php5-xml pear-1.8.1:devel/pear expat-2.0.1:textproc/expat2 openldap-client-2.4.17:net/openldap24-client perl-5.8.9_3:lang/perl5.8 pkg-config-0.23_1:devel/pkg-config pcre-7.9:devel/pcre libiconv-1.13.1:converters/libiconv libxml2-2.7.3:textproc/libxml2 apache-2.2.11_7:www/apache22 php5-5.2.10:lang/php5 php5-xml-5.2.10:textproc/php5-xml php5-pcre-5.2.10:devel/php5-pcre ___ 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"
Racoon VPN
Hi there, I am refering to your very detailed doc http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ipsec.html I am exactly looking for the same features and setup, my only issue is that I cant find racoon as you are describing here: /usr/local/etc/racoon/racoon.conf I installed ipsec tools, compiled my kernel for IPSec only to find out that racoon2 is only available Any idea how where I ca find racoon v1 regards and tx ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Error code 254
On Tuesday 11 August 2009 10:53:21 Per olof Ljungmark wrote: > Mel Flynn wrote: > > On Tuesday 11 August 2009 09:27:06 Mel Flynn wrote: > >> On Tuesday 11 August 2009 08:53:59 Per olof Ljungmark wrote: > >>> Mel Flynn wrote: > On Tuesday 11 August 2009 02:48:49 Per olof Ljungmark wrote: > > ===> Installing documentation in > > /usr/local/share/doc/pear/XML_Serializer. ===> Installing tests in > > /usr/local/share/pear/tests/XML_Serializer. ===> Installing examples > > in /usr/local/share/examples/pear/XML_Serializer. *** Error code 254 > > > > ... > > > >> In the meantime, I'll try to reproduce it. > > > > Which I can't. Patch below adds -v at the correct spot. > > Unfortunately that did not add much, the error looks exacktly as before, > no change. I welcome more suggestions of course. > > (7.2-STABLE FreeBSD 7.2-STABLE #0: Mon Aug 10 23:50:08 CEST 2009) Well, it's hard if I can't reproduce it. Can you show the output of: make -C /usr/ports/devel/pear-XML_Serializer actual-package-depends -- 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: boot sector f*ed
On Tue, Aug 11, 2009 at 08:19:24PM +0200, Polytropon wrote: > On Tue, 11 Aug 2009 13:31:52 -0400, PJ wrote: > > Sorry for my ignorance, but what language is that? :-) What's "dd with > > a bs=1m"? > > That's English + UNIX, at least it should be. :-) > > I could have written "dd with a bs of 1m", which does simply mean that > the program dd should be called with the parameter bs=1m, representing > a blocksize of 1 MB. The command would then be: > > # dd if=/dev/ad0 of=/dev/ad1 bs=1m > > given the suggestion that ad0 is the source disk, ad1 the target disk. > It's worth mentioning that the MBR - if intact - should be copied with > this command (afterwards I think): > > # dd if=/dev/ad0 of=/dev/ad1 bs=512 count=1 > > Smart dd users will suggest omiting bs=512 because that's the default > value. :-) > > Finally, commands can be used as verbs, such as "you then dd the ad0 > onto ad1" or "can you grep that in /etc/something"? :-) Nice response, but don't forget to have the OP read the man page -- egman dd jerry > > > > I'm being ultra careful and checking/regenerating the target disk and > > that will t ake another 4 or 5 hours. > > That's the usual amount of time. I think you said approx. 100 GB disks? > It may work faster if you don't run the transfer in master / slave mode > (same cable), but in master / master mode (each drive on own cable); > this affects (P)ATA only, as far as I know. > > > > > I don't expect any difficulties, > > but would like to "triple check" the procedure... > > > > Ok - boot up livefs, slice & partition the target disk; but how do I > > continue? Do I go to the shell? > > Yes. You can either use the shell of FreeBSD's live system, or use > FreeSBIE, it has sysinstall on it, too, as far as I remember. But > nobody stops you from not using sysinstall, but bsdlabel and newfs > instead. > > Keep an eye on newfs options, especially if you want to enable soft > updates or with to init the disks with a certain optimization, or > a non-default inode ratio. > > > > > If that is all it is, then I don't see > > much difficulty. I'll read the man pages to check all the commands below > > so I am clear on everything. > > That's a good idea. I copied the command line examples from a procedure > I once wrote for how to "clone" OS disks. > > > > > If it is, do I need it or what do I do with it? It is obviously(?) saved > > somewhere like /tmp ... > > The kernel image is saved in /var/crash directory. It can be used for > examination, in order to find out what caused the crash. Usually, the > kernel debugger is employed to do this. If you don't care any further, > you can safely delete the core files. > > > > > -- > Polytropon > >From 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: Error code 254
Mel Flynn wrote: On Tuesday 11 August 2009 09:27:06 Mel Flynn wrote: On Tuesday 11 August 2009 08:53:59 Per olof Ljungmark wrote: Mel Flynn wrote: On Tuesday 11 August 2009 02:48:49 Per olof Ljungmark wrote: ===> Installing documentation in /usr/local/share/doc/pear/XML_Serializer. ===> Installing tests in /usr/local/share/pear/tests/XML_Serializer. ===> Installing examples in /usr/local/share/examples/pear/XML_Serializer. *** Error code 254 ... In the meantime, I'll try to reproduce it. Which I can't. Patch below adds -v at the correct spot. Unfortunately that did not add much, the error looks exacktly as before, no change. I welcome more suggestions of course. (7.2-STABLE FreeBSD 7.2-STABLE #0: Mon Aug 10 23:50:08 CEST 2009) ___ 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: Backup Size
On Aug 11, 2009, at 12:09 PM, Roland Smith wrote: Just execute the tar command, and dump the output to /dev/null through dd: tar -cf - /etc |dd of=/dev/null tar: Removing leading '/' from member names 3160+0 records in 3160+0 records out 1617920 bytes transferred in 0.057690 secs (28045115 bytes/sec) This will give you the exact size without writing anything to disk. Thanks. I had not thought of that. Jay ___ 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: toaster or do-it-myself?
On Tue, Aug 11, 2009 at 01:37:50AM -0400, Identry wrote: > Frack... qmail is impossible. I've been hacking at this for 14 hours > and it's just not working. I must be stupid. > ___ > 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" If you're willing to look away from Qmail, I used the following guide as a basis when I moved my postfix mail server from Debian to FreeBSD. Postfix supports Maildir, and that's how the guide sets it up. I had some prior experience with postfix, having spent about 10-12 hours figuring it out from the official docs the first time I did it on Debian... but the guide will have you a working setup in <4 hours even without any prior experience. I think I had my FreeBSD mail server working in under 2. http://www.purplehat.org/?page_id=4 If you don't need all the stuff it lists, then only the mysql+postfix+dovecot will give you a working server. Postfixadmin may be needed aswell but I used a different SQL schema for my application so I'm not sure. --Greg ___ 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: toaster or do-it-myself?
Tim Judd wrote: On 8/10/09, Identry wrote: Frack... qmail is impossible. I've been hacking at this for 14 hours and it's just not working. I must be stupid. If you're open to suggestions, there are two typical camps on this. first one being a majority. I've done both, and don't know which one to favor 1) A mix-n match bag of software daemons that make it all work: postfix MTA, dovecot POP3/IMAP, your choice of virtual user database, squirrelmail (or another webmail) product. That gives basic functions. Add anti-spam (spamassassin is common), and anti-virus (clamav). 2) Install Courier suite, in which the same developers have a MTA, POP3/IMAP, webmail suite. Add Anti-Spam and Anti-Virus and your kit is complete. For the first time, I was able to install an email subsystem that eliminates all spam without an anti-spam software app. Based on the blacklists for known spammers, and a blacklist for accidental spammers, we're curbing most if not all other spam mails from being accepted by the MTA. The first blacklist are blocked by the firewall, second blacklist is checked at each incoming connection and the MTA will send notice to the remote connection (in the event it's a real person sending mail from a spamming host), on how to clear themselves. There isn't any AV suite to speak of, but if we're killing all susceptable spams, the viruses are from the same bunch so we're killing two birds with one stone. Soon, I'll revisit Courier and see if my same mail setup is able to accomplish the same goal, and I know the first blacklist will happen, it's the 2nd I'm not so sure about. Getting a toaster-application is nice, speedy setup. but you work with it's limitations or drawbacks. Building your own gives more flexibility, and depending on setup, it'll be no more than a toaster-application -- or a whole lot more. Ask us questions, there's lots of posts online. For a quick setup, i always - Install FreeBSD - Run freebsd-update fetch install && reboot - Install binary packages, and update them using your choice port upgrade utility, if any That's the quickest way to get a server live and operational... because a non-modified port options = same binary that's offered as a package. Identry, send me a mail offlist if you want clarification on this post. Good luck. ___ 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" Aloha, After trying qmail and a couple other email systems I like Tim installed The postfix dovecot combo from FreeBSD ports. I have had it working on two separate servers for about 4 years I think. Recently I had to rebuild a server due to a hardware failure and was pleased to see that the maintainers had set the defaults to what I happen to use so all it took was checking the settings against my old install and up she went on the new machine. I second the #1 choice Tim made. Works for me here. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + < email: n...@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol ___ 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: boot sector f*ed
On Tue, 11 Aug 2009 13:31:52 -0400, PJ wrote: > Sorry for my ignorance, but what language is that? :-) What's "dd with > a bs=1m"? That's English + UNIX, at least it should be. :-) I could have written "dd with a bs of 1m", which does simply mean that the program dd should be called with the parameter bs=1m, representing a blocksize of 1 MB. The command would then be: # dd if=/dev/ad0 of=/dev/ad1 bs=1m given the suggestion that ad0 is the source disk, ad1 the target disk. It's worth mentioning that the MBR - if intact - should be copied with this command (afterwards I think): # dd if=/dev/ad0 of=/dev/ad1 bs=512 count=1 Smart dd users will suggest omiting bs=512 because that's the default value. :-) Finally, commands can be used as verbs, such as "you then dd the ad0 onto ad1" or "can you grep that in /etc/something"? :-) > I'm being ultra careful and checking/regenerating the target disk and > that will t ake another 4 or 5 hours. That's the usual amount of time. I think you said approx. 100 GB disks? It may work faster if you don't run the transfer in master / slave mode (same cable), but in master / master mode (each drive on own cable); this affects (P)ATA only, as far as I know. > I don't expect any difficulties, > but would like to "triple check" the procedure... > > Ok - boot up livefs, slice & partition the target disk; but how do I > continue? Do I go to the shell? Yes. You can either use the shell of FreeBSD's live system, or use FreeSBIE, it has sysinstall on it, too, as far as I remember. But nobody stops you from not using sysinstall, but bsdlabel and newfs instead. Keep an eye on newfs options, especially if you want to enable soft updates or with to init the disks with a certain optimization, or a non-default inode ratio. > If that is all it is, then I don't see > much difficulty. I'll read the man pages to check all the commands below > so I am clear on everything. That's a good idea. I copied the command line examples from a procedure I once wrote for how to "clone" OS disks. > If it is, do I need it or what do I do with it? It is obviously(?) saved > somewhere like /tmp ... The kernel image is saved in /var/crash directory. It can be used for examination, in order to find out what caused the crash. Usually, the kernel debugger is employed to do this. If you don't care any further, you can safely delete the core files. -- Polytropon >From 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: Error code 254
On Tuesday 11 August 2009 09:27:06 Mel Flynn wrote: > On Tuesday 11 August 2009 08:53:59 Per olof Ljungmark wrote: > > Mel Flynn wrote: > > > On Tuesday 11 August 2009 02:48:49 Per olof Ljungmark wrote: > > >> ===> Installing documentation in > > >> /usr/local/share/doc/pear/XML_Serializer. ===> Installing tests in > > >> /usr/local/share/pear/tests/XML_Serializer. ===> Installing examples > > >> in /usr/local/share/examples/pear/XML_Serializer. *** Error code 254 ... > In the meantime, I'll try to reproduce it. Which I can't. Patch below adds -v at the correct spot. -- Mel Index: devel/pear/pear-install === RCS file: /home/ncvs/ports/devel/pear/pear-install,v retrieving revision 1.1 diff -u -r1.1 pear-install --- devel/pear/pear-install 9 Dec 2005 18:58:03 - 1.1 +++ devel/pear/pear-install 11 Aug 2009 17:42:03 - @@ -10,5 +10,5 @@ [ "x$1" = "x" ] && exit 1 if [ "x$2" = "xPOST-INSTALL" ]; then - ${PEAR} install -r -n -f ${PKGREGDIR}/package.xml + ${PEAR} -v install -r -n -f ${PKGREGDIR}/package.xml fi ___ 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: boot sector f*ed
Polytropon wrote: > On Tue, 11 Aug 2009 09:34:13 -0400, PJ wrote: > >> I've got another disk about the same size on the machine and I'm >> wonderiing how could I transfer the whole shebang to it? >> > > Maybe an 1:1 copy using dd with a bs=1m would work. > Sorry for my ignorance, but what language is that? :-) What's "dd with a bs=1m"? > > > >> Would doing a minimum 7.2 install be enough, followed by copying all the >> slices to the corresponding slices on the new disk? >> I'm thinking of mounting the broken drive on the new one and then >> copying... does that sound about right? >> > > No. Does not. :-) > > The proper way of doing this - or at least ONE of the proper ways - > is to use the intended tools for this task. These are dump and > restore. > > First of all, you use a FreeBSD live system (such as FreeSBIE) or > the livefs CD of the FreeBSD OS to run the OS. The goal is: Most > minimal interaction with the drives. > > Let's assume ad0 is your source disk and ad1 the target disk. > > You can use the sysinstall tool to slice and partition the target > disk. You can create the same layout as on the source disk. I'm being ultra careful and checking/regenerating the target disk and that will t ake another 4 or 5 hours. I don't expect any difficulties, but would like to "triple check" the procedure... Ok - boot up livefs, slice & partition the target disk; but how do I continue? Do I go to the shell? If that is all it is, then I don't see much difficulty. I'll read the man pages to check all the commands below so I am clear on everything. > Of > course, using tools like bsdlabel and newfs is valid, too. If > you're done, things go like this: > > 1. Check the source. > > # fsck /dev/ad0s1a /dev/ad0s1e /dev/ad0s1f /dev/ad0s1g /dev/ad0s1h > >Add -f (and dangerous -y) if intended. > > > > 2. You don't mount the source disk. Instead, you first prepare >the target disk which you mount. Then you use dump and restore >to transfer the data from the unmounted source partition to >the mounted target partition. > > # mount /dev/ad1s1a /mnt > # cd /mnt > # dump -0 -f - /dev/ad0s1a | restore -r -f - > >Keep an eye on where you mount it. Maybe the live system you >use already employs /mnt for its own purposes. Create /target >instead, or anything else you like. > > > > 3. After transferting /, continue with /tmp /var /usr and /home. > > # mount /dev/ad1s1a /mnt > # cd /mnt > # dump -0 -f - /dev/ad0s1a | restore -r -f - > > # mount /dev/ad1s1e /mnt/tmp > # cd /mnt/tmp > # dump -0 -f - /dev/ad0s1e | restore -r -f - > > # mount /dev/ad1s1f /mnt/var > # cd /mnt/var > # dump -0 -f - /dev/ad0s1f | restore -r -f - > > # mount /dev/ad1s1g /mnt/usr > # cd /mnt/usr > # dump -0 -f - /dev/ad0s1g | restore -r -f - > > # mount /dev/ad1s1h /mnt/home > # cd /mnt/home > # dump -0 -f - /dev/ad0s1h | restore -r -f - > >Of course, triplepluscheck the commands before running them! > > > > 4. Unmount the target disks. > > # cd / > # umount /mnt/home > # umount /mnt/usr > # umount /mnt/var > # umount /mnt/tmp > # umount /mnt > # sync > # halt > >Replace the disks and start using your target. > > > > >> I haven't looked at the broken one yet; I'll have to see what theat >> 177mg dump was.. >> > > Kernel image? > If it is, do I need it or what do I do with it? It is obviously(?) saved somewhere like /tmp ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Looking for fast graphical web browser
On Fri, Aug 07, 2009 at 08:15:15AM -0400, Robert Huff wrote: > Chad Perrin wrote: > > >>Firefox has not had Ctrl-Q for some time. Try Alt-F followed by Q. I > >>guess that's 2.5 keystrokes, but at least it's keystrokes. > > > >What version number would you call "some time" ago? I just used Ctrl-Q > >about six hours or so ago. > > The FreeBSD machine with Firefox is down but here on Windows, using > a stock 3.0.13, Ctl-Q has no effect. Nor is it listed as a shortcut > for > "Exit" under the [File] menu. Have you perhaps customized yours? > Now doing Ctl-W on the last window will close the program, but I > like to keep the two separate; this is one (C list) reason I usually > use > SeaMonkey. I don't have any custom keyboard shortcuts set up. It Just Works™. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth Christopher Hitchens: "What can be asserted without proof can be dismissed without proof." pgpavxt4M41mk.pgp Description: PGP signature
Re: Error code 254
On Tuesday 11 August 2009 08:53:59 Per olof Ljungmark wrote: > Mel Flynn wrote: > > On Tuesday 11 August 2009 02:48:49 Per olof Ljungmark wrote: > >> ===> Installing documentation in > >> /usr/local/share/doc/pear/XML_Serializer. ===> Installing tests in > >> /usr/local/share/pear/tests/XML_Serializer. ===> Installing examples in > >> /usr/local/share/examples/pear/XML_Serializer. *** Error code 254 > >> > >> > >> What is "Error code 254" ? > > > > A program returning -2 to the shell. Is that useful info? No. > > Run make -dl install to see what goes wrong. > > is this useful? > > /bin/mkdir -p /usr/local/share/pear/packages/pear-XML_Serializer-0.20.0 > install -o root -g wheel -m 444 > /usr/ports/devel/pear-XML_Serializer/work/package.xml > /usr/local/share/pear/packages/pear-XML_Serializer-0.20.0 > /usr/bin/env PKG_PREFIX=/usr/local /bin/sh > /usr/ports/devel/pear/pear-install pear-XML_Serializer-0.20.0 POST-INSTALL > *** Error code 254 Yes, the post install script fails. Which means the command: /usr/local/bin/pear install -r -n -f \ /usr/local/share/pear/packages/pear-XML_Serializer-0.20.0/package.xml fails. Why, I don't know, perhaps you can add -v to the above command and see if anything useful is printed. In the meantime, I'll try to reproduce it. -- 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: Looking for fast graphical web browser
On Mon, Aug 10, 2009 at 10:42:00PM -0400, Chris Hill wrote: > On Fri, 7 Aug 2009, Chad Perrin wrote: > > >On Mon, Aug 03, 2009 at 08:27:34AM -0400, Chris Hill wrote: > >> > >>Firefox has not had Ctrl-Q for some time. Try Alt-F followed by Q. I guess > >>that's 2.5 keystrokes, but at least it's keystrokes. > > > >What version number would you call "some time" ago? I just used Ctrl-Q > >about six hours or so ago. > > I've used it too, but more like six years ago. I have not kept notes on > the version numbers, just one day noticed Ctrl-Q not working anymore after > an update. But I would guess it was sometime around the 1.x -> 2.x > transition. Maybe it's a Windows version thing, because I haven't been using 2.x for a while on FreeBSD, but I'm still using Ctrl-Q. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth Coline MacDonald: "Don't burn your bridges while you're standing on them." pgpvBr1FPqFyo.pgp Description: PGP signature
Re: Backup Size
On Mon, Aug 10, 2009 at 09:24:19PM -0500, Jay Hall wrote: > > On Aug 10, 2009, at 12:09 PM, Roland Smith wrote: > > >> The fact that you are using tar also plays a part. Tar has some > >> overhead to > >> store information about the files it contains. > > Is it possible to calculate the amount of overhead tar will use? Just execute the tar command, and dump the output to /dev/null through dd: tar -cf - /etc |dd of=/dev/null tar: Removing leading '/' from member names 3160+0 records in 3160+0 records out 1617920 bytes transferred in 0.057690 secs (28045115 bytes/sec) This will give you the exact size without writing anything to disk. 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) pgpl10oTLkN2E.pgp Description: PGP signature
Re: Error code 254
Mel Flynn wrote: On Tuesday 11 August 2009 02:48:49 Per olof Ljungmark wrote: ===> Installing documentation in /usr/local/share/doc/pear/XML_Serializer. ===> Installing tests in /usr/local/share/pear/tests/XML_Serializer. ===> Installing examples in /usr/local/share/examples/pear/XML_Serializer. *** Error code 254 What is "Error code 254" ? A program returning -2 to the shell. Is that useful info? No. Run make -dl install to see what goes wrong. is this useful? /bin/mkdir -p /usr/local/share/pear/packages/pear-XML_Serializer-0.20.0 install -o root -g wheel -m 444 /usr/ports/devel/pear-XML_Serializer/work/package.xml /usr/local/share/pear/packages/pear-XML_Serializer-0.20.0 /usr/bin/env PKG_PREFIX=/usr/local /bin/sh /usr/ports/devel/pear/pear-install pear-XML_Serializer-0.20.0 POST-INSTALL *** Error code 254 ___ 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: Don't let mergemaster beat you down [was Re: Failed update]
On Tuesday 11 August 2009 05:23:28 Arthur Chance wrote: > Wayne Sierke wrote: > > I lost practically all of my 'mergemaster pain' when I adopted the habit > > of using it with -iUP options: > > > > -i Automatically install any files that do not exist in the des- > > tination directory. > > -P Preserve files that you replace in > > /var/tmp/mergemaster/preserved-files-, or another > > directory you specify in your mergemaster rc file. > > -U Attempt to auto upgrade files that have not been user modi- > > fied. > > How does -U compare to -F? I've found that saves a lot of tedium. -U saves a lot on major version upgrades as that tends to have a lot of changes in /etc/rc.*, something most of us don't touch by hand. However, the feature depends on having a fingerprint of the files, so that mergemaster can determine if you changed the file. Before using the feature and before upgrading it's therefore recommended to do a dry run so that the file (/var/db/mergemaster.mtree) is created. -- 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: boot sector f*ed
On Tue, 11 Aug 2009 17:09:38 +0100, chris scott wrote: > Dumping is all very well and good. However if you want daily or hourly > backups etc it is very costly. Thats why our in house system at work is > based around rsync and zfs That's of course true. Another option is using cpdup from ports, especially if your hardware is not good enough to keep ZFS usable. -- Polytropon >From 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: freebsd-update-server, 7.2
Does anyone have any thoughts, or experience in using the freebsd-update-server code? Thanks, Jason On Mon, Aug 10, 2009 at 09:24:52AM -0700, Jason thus spake: Hi. The freebsd-update-server project software hasn't been updated for 7,2, but after making a couple of simple modifications, it seems to work rather well. I am close, but not quiet smoking the cigar of triumph, yet. When it initially builds, I get this error in the output: Fri Aug 7 18:50:56 PDT 2009 Extracting world+src for FreeBSD/amd64 7.2-RELEASE Sun Sep 12 01:51:21 UTC 2010 Building world for FreeBSD/amd64 7.2-RELEASE Sat Sep 11 18:51:30 PDT 2010 Moving components into staging area for FreeBSD/amd64 7.2-RELEASE mv: rename /R/stage/trees to /R/trees/world: No such file or directory Fri Aug 7 18:51:30 PDT 2009 Extracting extra docs for FreeBSD/amd64 7.2-RELEASE tar: could not chdir to '/R/trees/world' I would like to clear these errors up, as well... but... The only code change I have made is adding this to build.subr for the iso fetch. Basically a path change. ISO=${FTP}/ISO-IMAGES-${TARGET}/${RELNUM}/${REL}-${TARGET}-disc1.iso However, it does build. I send the update to my update server, and need to copy latest.ssl and pub.ssl from one of the official update servers from FreeBSD. If I don't do that, I will get this error. freebsd-update fetch Looking up xxx.xxx.xxx.xxx mirrors... none found. Fetching metadata signature for 7.2-RELEASE from xxx.xxx.xxx.xxx ... invalid signature. No mirrors remaining, giving up. If I do that, I then get to the next step: freebsd-update fetch Looking up xxx.xxx.xxx.xxx mirrors... none found. Fetching metadata signature for 7.2-RELEASE from xxx.xxx.xxx.xxx ... done. Fetching metadata index... fetch: http://xxx.xxx.xxx.xxx/7.2-RELEASE/amd64/t/14e85c887f8e9ecaef130d50e3d2ddbb3664af22d9e05f652a66219bda5b76ba: Not Found failed. On the update server, I do have this file though under the "t" directory: 4eeb3a30c564302be5e8129e6afdf3477ff316a891b5a4b6c9535947b7a81e28 I am curious why it is requesting the wrong file. Here is my configuration file for 7.2: # SHA256 hash of RELEASE disc1.iso image. export RELH=1ea1f6f652d7c5f5eab7ef9f8edbed50cb664b08ed761850f95f48e86cc71ef5 # Components of the world, source, and kernels export WORLDPARTS="base catpages dict doc games info manpages proflibs" export SOURCEPARTS="base bin contrib crypto etc games gnu include krb5 \ lib libexec release rescue sbin secure share sys tools \ ubin usbin" export KERNELPARTS="generic" # EOL date export EOL=1275289200 Thanks, Jason ___ 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: boot sector f*ed
2009/8/11 Polytropon > On Tue, 11 Aug 2009 09:34:13 -0400, PJ wrote: > > I've got another disk about the same size on the machine and I'm > > wonderiing how could I transfer the whole shebang to it? > > Maybe an 1:1 copy using dd with a bs=1m would work. > > > > > Would doing a minimum 7.2 install be enough, followed by copying all the > > slices to the corresponding slices on the new disk? > > I'm thinking of mounting the broken drive on the new one and then > > copying... does that sound about right? > > No. Does not. :-) > > The proper way of doing this - or at least ONE of the proper ways - > is to use the intended tools for this task. These are dump and > restore. > > First of all, you use a FreeBSD live system (such as FreeSBIE) or > the livefs CD of the FreeBSD OS to run the OS. The goal is: Most > minimal interaction with the drives. > > Let's assume ad0 is your source disk and ad1 the target disk. > > You can use the sysinstall tool to slice and partition the target > disk. You can create the same layout as on the source disk. Of > course, using tools like bsdlabel and newfs is valid, too. If > you're done, things go like this: > > 1. Check the source. > ># fsck /dev/ad0s1a /dev/ad0s1e /dev/ad0s1f /dev/ad0s1g /dev/ad0s1h > > Add -f (and dangerous -y) if intended. > > > > 2. You don't mount the source disk. Instead, you first prepare > the target disk which you mount. Then you use dump and restore > to transfer the data from the unmounted source partition to > the mounted target partition. > ># mount /dev/ad1s1a /mnt ># cd /mnt ># dump -0 -f - /dev/ad0s1a | restore -r -f - > > Keep an eye on where you mount it. Maybe the live system you > use already employs /mnt for its own purposes. Create /target > instead, or anything else you like. > > > > 3. After transferting /, continue with /tmp /var /usr and /home. > ># mount /dev/ad1s1a /mnt ># cd /mnt ># dump -0 -f - /dev/ad0s1a | restore -r -f - > ># mount /dev/ad1s1e /mnt/tmp ># cd /mnt/tmp ># dump -0 -f - /dev/ad0s1e | restore -r -f - > ># mount /dev/ad1s1f /mnt/var ># cd /mnt/var ># dump -0 -f - /dev/ad0s1f | restore -r -f - > ># mount /dev/ad1s1g /mnt/usr ># cd /mnt/usr ># dump -0 -f - /dev/ad0s1g | restore -r -f - > ># mount /dev/ad1s1h /mnt/home ># cd /mnt/home ># dump -0 -f - /dev/ad0s1h | restore -r -f - > > Of course, triplepluscheck the commands before running them! > > > > 4. Unmount the target disks. > ># cd / ># umount /mnt/home ># umount /mnt/usr ># umount /mnt/var ># umount /mnt/tmp ># umount /mnt ># sync ># halt > > Replace the disks and start using your target. > > > > > I haven't looked at the broken one yet; I'll have to see what theat > > 177mg dump was.. > > Kernel image? > > > -- > Polytropon > >From 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" > Dumping is all very well and good. However if you want daily or hourly backups etc it is very costly. Thats why our in house system at work is based around rsync and zfs Basically we rsync the file to the x4500 with ~ 36 TB and then snapshot the backup. You then have incremental forever. On large systems that dont have much % change of content the benefits are huge ___ 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: boot sector f*ed
On Tue, 11 Aug 2009 09:34:13 -0400, PJ wrote: > I've got another disk about the same size on the machine and I'm > wonderiing how could I transfer the whole shebang to it? Maybe an 1:1 copy using dd with a bs=1m would work. > Would doing a minimum 7.2 install be enough, followed by copying all the > slices to the corresponding slices on the new disk? > I'm thinking of mounting the broken drive on the new one and then > copying... does that sound about right? No. Does not. :-) The proper way of doing this - or at least ONE of the proper ways - is to use the intended tools for this task. These are dump and restore. First of all, you use a FreeBSD live system (such as FreeSBIE) or the livefs CD of the FreeBSD OS to run the OS. The goal is: Most minimal interaction with the drives. Let's assume ad0 is your source disk and ad1 the target disk. You can use the sysinstall tool to slice and partition the target disk. You can create the same layout as on the source disk. Of course, using tools like bsdlabel and newfs is valid, too. If you're done, things go like this: 1. Check the source. # fsck /dev/ad0s1a /dev/ad0s1e /dev/ad0s1f /dev/ad0s1g /dev/ad0s1h Add -f (and dangerous -y) if intended. 2. You don't mount the source disk. Instead, you first prepare the target disk which you mount. Then you use dump and restore to transfer the data from the unmounted source partition to the mounted target partition. # mount /dev/ad1s1a /mnt # cd /mnt # dump -0 -f - /dev/ad0s1a | restore -r -f - Keep an eye on where you mount it. Maybe the live system you use already employs /mnt for its own purposes. Create /target instead, or anything else you like. 3. After transferting /, continue with /tmp /var /usr and /home. # mount /dev/ad1s1a /mnt # cd /mnt # dump -0 -f - /dev/ad0s1a | restore -r -f - # mount /dev/ad1s1e /mnt/tmp # cd /mnt/tmp # dump -0 -f - /dev/ad0s1e | restore -r -f - # mount /dev/ad1s1f /mnt/var # cd /mnt/var # dump -0 -f - /dev/ad0s1f | restore -r -f - # mount /dev/ad1s1g /mnt/usr # cd /mnt/usr # dump -0 -f - /dev/ad0s1g | restore -r -f - # mount /dev/ad1s1h /mnt/home # cd /mnt/home # dump -0 -f - /dev/ad0s1h | restore -r -f - Of course, triplepluscheck the commands before running them! 4. Unmount the target disks. # cd / # umount /mnt/home # umount /mnt/usr # umount /mnt/var # umount /mnt/tmp # umount /mnt # sync # halt Replace the disks and start using your target. > I haven't looked at the broken one yet; I'll have to see what theat > 177mg dump was.. Kernel image? -- Polytropon >From 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: Don't let mergemaster beat you down [was Re: Failed update]
On Tue, 11 Aug 2009 08:52:36 -0600 (MDT), Warren Block wrote: > I prefer phooey mode: -FUi. Still works with -PFUi. "PFui" is German for something like "Ugh". I think that is NOT intended. :-) -- Polytropon >From 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: graphics/ImageMagick seemingly not using OpenMP
On Aug 11, 2009, at 9:53 AM, Anton Shterenlikht wrote: Have you also built perl-threaded? I just now recompiled Perl with threads enabled, then Imagemagick, with identical results. -- Kirk Strauser ___ 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: glxgears on 8.0 current
On Tue, Aug 11, 2009 at 05:42:46PM +0300, Manolis Kiagias wrote: > Anton Shterenlikht wrote: > > On Tue, Aug 11, 2009 at 03:04:14PM +0100, Anton Shterenlikht wrote: > > > >> In many online articles I've seen suggestions to > >> use glxgears to check whether OpenGL is installed > >> correctly. I've > >> > >>libGL-7.4.4 and mesagl-mangled-5.0.2 > >> > >> installed on > >> > >>FreeBSD 8.0-BETA2 ia64 > >> > >> but cannot find glxgears. > >> > >> What am I missing here? > >> > > > > forgot to say that I need to check OpenGL because > > I have some problems with port science/paraview, which > > depends on libGL, and probably on mesagl, via VTK. > > > > many thanks > > > > > > Just install graphics/mesa-demos thank you -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 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: Error code 254
On Tuesday 11 August 2009 02:48:49 Per olof Ljungmark wrote: > ===> Installing documentation in /usr/local/share/doc/pear/XML_Serializer. > ===> Installing tests in /usr/local/share/pear/tests/XML_Serializer. > ===> Installing examples in /usr/local/share/examples/pear/XML_Serializer. > *** Error code 254 > > > What is "Error code 254" ? A program returning -2 to the shell. Is that useful info? No. Run make -dl install to see what goes wrong. -- 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: toaster or do-it-myself?
--On Tuesday, August 11, 2009 00:37:50 -0500 Identry wrote: Frack... qmail is impossible. I've been hacking at this for 14 hours and it's just not working. I must be stupid. I can't speak to that, because I've never used qmail. However, I can tell you that Postfix can do Maildir format, so you're not limited to qmail. -- Paul Schmehl (pa...@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: toaster or do-it-myself?
> there is a great guide for installing qmail: > http://www.lifewithqmail.org/ > Of course, it just explains the technical steps for installing qmail, > not mailserver setups in general (nevertheless there are some links > about relaying etc.) That's one of the docs that I was working from yesterday. I also have the O'Reilly Qmail book. Actually, I got qmail running fairly quickly using the procedures in the O'Reilly book. Unfortunately, it died and I then spent about 10 hours trying to figure out what the problem was. Well, I never did figure it out and I'm not ashamed to say that I've given up trying. Life's too short. I'm outsourcing the problem to a email service provider. I realized that running an email server properly is a full time job, and I already have 14 full time jobs. Eventually, you just have to say "Enough!" and let someone else handle some of the work. I've been hoping to have something useful to contribute to this forum. That's a lesson well worth passing on, I think! -- John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: graphics/ImageMagick seemingly not using OpenMP
On Tue, Aug 11, 2009 at 09:38:52AM -0500, Kirk Strauser wrote: > On Aug 11, 2009, at 6:54 AM, Anton Shterenlikht wrote: > > >On Mon, Aug 10, 2009 at 11:18:43AM -0500, Kirk Strauser wrote: > >>On my FreeBSD 7.2-STABLE system (from July 29), I'm trying to enable > >>OpenMP for the graphics/ImageMagick port. With the > >>IMAGEMAGICK_OPENMP > >>option set, I get this from "make configure": > >> > >>checking for cc -std=gnu99 option to support OpenMP... (cached) > >>unsupported > >>checking for cc -std=gnu99 option to support OpenMP... -fopenmp > >> > >>If I go on to build it, there's no other mention of OpenMP in the > >>output. What am I doing wrong? > > >I think the second like shows that OMP is indeed supported. > >Have you tested on any OMP test? > > But the rest of the build doesn't give any indication. Specifically, > the "-fopenmp" flag isn't used anywhere. I've tested that OMP works > - or at least compiles - but I don't know of any way to find if a > given binary was actually compiled with it. I haven't got any SMP IM tests, so cannot advise on this. If you know of some, let me know, I'd like to test my SMP box. Have you also built perl-threaded? -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 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: location of user crontab files?
Identry wrote: > Where are user crontab files stored in the file system? /var/con/tabs -- F ___ 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: Don't let mergemaster beat you down [was Re: Failed update]
On Tue, 11 Aug 2009, p...@pair.com wrote: in message <1249971512.63923.1045.ca...@predator-ii.buffyverse>, wrote Wayne Sierke thusly... On Sun, 2009-08-09 at 08:34 -0700, Richard Mahlerwein wrote: I'm redoing the whole process in single user mode. My guess is I goofed something during mergemaster and devd.conf is messed up. (Mergemaster is, undeniably, my least favorite utility). I lost practically all of my 'mergemaster pain' when I adopted the habit of using it with -iUP options: -iAutomatically install any files that do not exist in the des- tination directory. -PPreserve files that you replace in /var/tmp/mergemaster/preserved-files-, or another directory you specify in your mergemaster rc file. -UAttempt to auto upgrade files that have not been user modi- fied. Ah. My mnemonic would be "PiU" as in "Pew! Pew!". I prefer phooey mode: -FUi. Still works with -PFUi. -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"
location of user crontab files?
Where are user crontab files stored in the file system? I used to create user crontab files and then load them with 'crontab name-of-cronfile', but then I got clever and discovered 'crontab -e'. The problem is, that doesn't give me the 'backup' of having a text crontab file. The system must store the info somewhere so it's available after a reboot, but where? I want to make sure this info is backed up. Thanks: John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Don't let mergemaster beat you down [was Re: Failed update]
--On Tuesday, August 11, 2009 01:18:32 -0500 Wayne Sierke wrote: On Sun, 2009-08-09 at 08:34 -0700, Richard Mahlerwein wrote: I'm redoing the whole process in single user mode. My guess is I goofed something during mergemaster and devd.conf is messed up. (Mergemaster is, undeniably, my least favorite utility). I lost practically all of my 'mergemaster pain' when I adopted the habit of using it with -iUP options: -i Automatically install any files that do not exist in the des- tination directory. -P Preserve files that you replace in /var/tmp/mergemaster/preserved-files-, or another directory you specify in your mergemaster rc file. -U Attempt to auto upgrade files that have not been user modi- fied. "Try it - you'll like it!" That's one way to do it. Another is to use /etc/mergemaster.rc. Here's mine: # less /etc/mergemaster.rc # Automatically install files that do not exist AUTO_INSTALL='yes' # Automatically upgrade files that have not been edited AUTO_UPGRADE='yes' # Ignore files that I don't want changed IGNORE_FILES='/etc/motd' # Do not display changes that only affect whitespace DIFF_FLAG="'.Bub'" # Ignore CVS id lines to stop replacing files where only that line has changed DIFF_OPTIONS='-I$FreeBSD:.*[$]' I never have issues with mergemaster because of this file. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. *** "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson ___ 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: glxgears on 8.0 current
Anton Shterenlikht wrote: > On Tue, Aug 11, 2009 at 03:04:14PM +0100, Anton Shterenlikht wrote: > >> In many online articles I've seen suggestions to >> use glxgears to check whether OpenGL is installed >> correctly. I've >> >> libGL-7.4.4 and mesagl-mangled-5.0.2 >> >> installed on >> >> FreeBSD 8.0-BETA2 ia64 >> >> but cannot find glxgears. >> >> What am I missing here? >> > > forgot to say that I need to check OpenGL because > I have some problems with port science/paraview, which > depends on libGL, and probably on mesagl, via VTK. > > many thanks > > Just install graphics/mesa-demos ___ 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: graphics/ImageMagick seemingly not using OpenMP
On Aug 11, 2009, at 6:54 AM, Anton Shterenlikht wrote: On Mon, Aug 10, 2009 at 11:18:43AM -0500, Kirk Strauser wrote: On my FreeBSD 7.2-STABLE system (from July 29), I'm trying to enable OpenMP for the graphics/ImageMagick port. With the IMAGEMAGICK_OPENMP option set, I get this from "make configure": checking for cc -std=gnu99 option to support OpenMP... (cached) unsupported checking for cc -std=gnu99 option to support OpenMP... -fopenmp If I go on to build it, there's no other mention of OpenMP in the output. What am I doing wrong? I think the second like shows that OMP is indeed supported. Have you tested on any OMP test? But the rest of the build doesn't give any indication. Specifically, the "-fopenmp" flag isn't used anywhere. I've tested that OMP works - or at least compiles - but I don't know of any way to find if a given binary was actually compiled with it. -- Kirk Strauser ___ 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: Don't let mergemaster beat you down [was Re: Failed update]
--- On Tue, 8/11/09, Wayne Sierke wrote: > From: Wayne Sierke > Subject: Don't let mergemaster beat you down [was Re: Failed update] > To: mahle...@yahoo.com > Cc: "FreeBSD-Questions" > Date: Tuesday, August 11, 2009, 2:18 AM > On Sun, 2009-08-09 at 08:34 -0700, > Richard Mahlerwein wrote: > > I'm redoing the whole process in single user > mode. My guess is I > > goofed something during mergemaster and devd.conf is > messed up. > > (Mergemaster is, undeniably, my least favorite > utility). > > I lost practically all of my 'mergemaster pain' when I > adopted the habit > of using it with -iUP options: > > -i > Automatically install any files that do not exist in the > des- > > tination directory. > -P Preserve > files that you replace in > > /var/tmp/mergemaster/preserved-files-, or > another > > directory you specify in your mergemaster rc file. > -U Attempt to > auto upgrade files that have not been user modi- > > fied. > > "Try it - you'll like it!" > > > Wayne Thanks for the tips! I'll have more info in a couple of weeks on this - I'm in training and not at home until thursday, and Friday we leave to visit relatives for another week. I did do the rebuild all in single-user mode before I left Sunday, and now I get another signal 12 core crash, at the *same* virtual address, but in a *different* utility... don't remember which one right now, but it seemed completely unrelated. When I get home in a few weeks, I'm going to run some memory tests and yanking extraneous hardware to try to see if I can make it stop. Anything else you all can think of to try? Thanks, Rich ___ 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: Don't let mergemaster beat you down [was Re: Failed update]
in message <1249971512.63923.1045.ca...@predator-ii.buffyverse>, wrote Wayne Sierke thusly... > > On Sun, 2009-08-09 at 08:34 -0700, Richard Mahlerwein wrote: > > I'm redoing the whole process in single user mode. My guess is > > I goofed something during mergemaster and devd.conf is messed > > up. (Mergemaster is, undeniably, my least favorite utility). > > I lost practically all of my 'mergemaster pain' when I adopted the > habit of using it with -iUP options: > > -iAutomatically install any files that do not exist in the des- > tination directory. > -PPreserve files that you replace in > /var/tmp/mergemaster/preserved-files-, or another > directory you specify in your mergemaster rc file. > -UAttempt to auto upgrade files that have not been user modi- > fied. Ah. My mnemonic would be "PiU" as in "Pew! Pew!". - Parv -- ___ 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: glxgears on 8.0 current
On Tue, Aug 11, 2009 at 03:04:14PM +0100, Anton Shterenlikht wrote: > In many online articles I've seen suggestions to > use glxgears to check whether OpenGL is installed > correctly. I've > > libGL-7.4.4 and mesagl-mangled-5.0.2 > > installed on > > FreeBSD 8.0-BETA2 ia64 > > but cannot find glxgears. > > What am I missing here? forgot to say that I need to check OpenGL because I have some problems with port science/paraview, which depends on libGL, and probably on mesagl, via VTK. many thanks -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 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"
glxgears on 8.0 current
In many online articles I've seen suggestions to use glxgears to check whether OpenGL is installed correctly. I've libGL-7.4.4 and mesagl-mangled-5.0.2 installed on FreeBSD 8.0-BETA2 ia64 but cannot find glxgears. What am I missing here? -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 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: FreeBSD MATLAB R2008b
Sorry, haven't gotten around to this yet. Will try to this afternoon. On Sunday, August 9, 2009, Daniel Underwood wrote: > Elias, > > I got to a certain point, then temporarily put it aside. See, I was > installing from a custom install disc, and so I'm not really surprised that > the Handbook instructions for installing matlab on freebsd didn't completely > help me. > > However, I now have a standard install disc. I plan to retry the install with > this new disc. > > I "do" think I encountered java-related errors, but I can't recall the > details or whether it's what you're encountering. > > I'll reply to the list here once I attempt the install tomorrow. > > (Sent from my iPhone) > > On Aug 9, 2009, at 9:43 AM, Elias Schäfer wrote: > > > Hello Daniel, > > I read your post > (http://lists.freebsd.org/pipermail/freebsd-questions/2009-July/202242.html) > and applied your patch. First, it seemed to work (no sse2 complaining) but > then I got an Java related error that I could not solve. I have R14 running > here, but I need to run a newer version. I am curious if you got MATLAB > r2008b working. Do you get a similar error? I am looking for a solution for > the past couple of days. > > regards > > Elias > (Aug 08, 2009 21:15:12)MATHWORKS ACTIVATION IS STARTING UP. > (Aug 08, 2009 21:15:13)java.lang.UnsatisfiedLinkError: > /usr/home/knick/matlabr2008b/bin/glnx86/libinstutil.so: libstdc++.so.6: > cannot handle TLS data > com.mathworks.instutil.NativeUtility.(NativeUtility.java:36) > com.mathworks.instutil.MachineInfo.(MachineInfo.java:40) > com.mathworks.activationclient.model.ActivationModelImpl.loadNativeLib(ActivationModelImpl.java:216) > com.mathworks.activationclient.model.ActivationModelImpl.getMachineInfo(ActivationModelImpl.java:189) > com.mathworks.activationclient.view.ApplicationViewImpl.getMachineInfo(ApplicationViewImpl.java:200) > com.mathworks.activationclient.view.ApplicationViewImpl.showGUI(ApplicationViewImpl.java:79) > com.mathworks.activationclient.controller.ApplicationControllerImpl.start(ApplicationControllerImpl.java:99) > com.mathworks.activationclient.ActivationApplication.main(ActivationApplication.java:31) > > (Aug 08, 2009 21:15:13)null > com.mathworks.activationclient.view.ApplicationViewImpl.showGUI(ApplicationViewImpl.java:79) > com.mathworks.activationclient.controller.ApplicationControllerImpl.start(ApplicationControllerImpl.java:99) > com.mathworks.activationclient.ActivationApplication.main(ActivationApplication.java:31) > > (Aug 08, 2009 21:15:24)There was an unexpected exception: > > null > > See the log file (/tmp/aws.log) for more details. > > ___ 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: Don't let mergemaster beat you down [was Re: Failed update]
Wayne Sierke wrote: I lost practically all of my 'mergemaster pain' when I adopted the habit of using it with -iUP options: -i Automatically install any files that do not exist in the des- tination directory. -P Preserve files that you replace in /var/tmp/mergemaster/preserved-files-, or another directory you specify in your mergemaster rc file. -U Attempt to auto upgrade files that have not been user modi- fied. How does -U compare to -F? I've found that saves a lot of tedium. ___ 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: boot sector f*ed
Bill Moran wrote: > In response to PJ : > > >> I just finished setting up 7.2 with all my programs installed, >> configured & working fine with recovered files all working fine and just >> as I boot up to start backing up everything... WHAM... the boot-up >> kind-of hobbles and boots up. >> I am called away from the computer and when I return - goodie, goodie, >> there is a dump of some 177 mbs and the poor computer is trying to r >> eboot... but that's it. And the >> I scan the guilty drive and it's the very first, boot, sector that is >> Baad. And the regenerator program doesn't go any further. :-( >> Other than booting up with livefs and trying to copy everything to >> another disk, is there something else that I should do? >> I think it should work if I connect the drive to USB ... >> But before, I thought I should listen to some sage advice... :-) >> Anyone? TIA >> > > I think you've got the right idea. If the drive is funky, get your data > off it while you can. > I've got another disk about the same size on the machine and I'm wonderiing how could I transfer the whole shebang to it? Would doing a minimum 7.2 install be enough, followed by copying all the slices to the corresponding slices on the new disk? I'm thinking of mounting the broken drive on the new one and then copying... does that sound about right? I haven't looked at the broken one yet; I'll have to see what theat 177mg dump was.. -- Andrea Jourdan e-mail: af.gour...@videotron.ca http://www.chiccantine.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: boot sector f*ed
In response to PJ : > I just finished setting up 7.2 with all my programs installed, > configured & working fine with recovered files all working fine and just > as I boot up to start backing up everything... WHAM... the boot-up > kind-of hobbles and boots up. > I am called away from the computer and when I return - goodie, goodie, > there is a dump of some 177 mbs and the poor computer is trying to r > eboot... but that's it. And the > I scan the guilty drive and it's the very first, boot, sector that is > Baad. And the regenerator program doesn't go any further. :-( > Other than booting up with livefs and trying to copy everything to > another disk, is there something else that I should do? > I think it should work if I connect the drive to USB ... > But before, I thought I should listen to some sage advice... :-) > Anyone? TIA I think you've got the right idea. If the drive is funky, get your data off it while you can. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ ___ 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"
boot sector f*ed
I just finished setting up 7.2 with all my programs installed, configured & working fine with recovered files all working fine and just as I boot up to start backing up everything... WHAM... the boot-up kind-of hobbles and boots up. I am called away from the computer and when I return - goodie, goodie, there is a dump of some 177 mbs and the poor computer is trying to r eboot... but that's it. And the I scan the guilty drive and it's the very first, boot, sector that is Baad. And the regenerator program doesn't go any further. :-( Other than booting up with livefs and trying to copy everything to another disk, is there something else that I should do? I think it should work if I connect the drive to USB ... But before, I thought I should listen to some sage advice... :-) Anyone? TIA PJ ___ 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: Trying to Install Man Page
George Davidovich writes: > If your testpage manpage is located in a man1 directory, it has to be > named testpage.1 (or gzipped as testpage.1.gz). For a man2 directory, > the suffix is .2, and so on. Rename the file and I'm sure things will > work fine. That was it! Thank you. Martin McCormick ___ 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: Trying to Install Man Page
Randall Wood writes: > Yes, the program is mandb I think. That's exactly what I also thought but there is no such program. I think this may be one of those deprecation cases where the function is now done some other way. I'll keep digging. Thanks. 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: graphics/ImageMagick seemingly not using OpenMP
On Mon, Aug 10, 2009 at 11:18:43AM -0500, Kirk Strauser wrote: > On my FreeBSD 7.2-STABLE system (from July 29), I'm trying to enable > OpenMP for the graphics/ImageMagick port. With the IMAGEMAGICK_OPENMP > option set, I get this from "make configure": > > checking for cc -std=gnu99 option to support OpenMP... (cached) unsupported > checking for cc -std=gnu99 option to support OpenMP... -fopenmp > > If I go on to build it, there's no other mention of OpenMP in the > output. What am I doing wrong? I think the second like shows that OMP is indeed supported. Have you tested on any OMP test? -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 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"
Error code 254
===> Installing documentation in /usr/local/share/doc/pear/XML_Serializer. ===> Installing tests in /usr/local/share/pear/tests/XML_Serializer. ===> Installing examples in /usr/local/share/examples/pear/XML_Serializer. *** Error code 254 What is "Error code 254" ? ___ 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"
Oil installation problem while installing KDE4
need to link liboil-0.3.so.3 to liboil-0.3.so.0, so anyone having problem with this, can do the follwoing ln -s liboil-0.3.so.3 liboil-0.3.so.0 -- Aftab Jahan Subedar CEO/Software Engineer Subedar Technologies Ltd Subedar Baag Bibir Bagicha #1 North Jatra Bari Dhaka 1204 Bangladesh 88027554546 8801552635208 8801190753891 Radio: S21ST ___ 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"
Notice regards to gstreamer/kde4/qt/kdepim etc installation problem
Qt === Due to Qt version mismatch, any application referring to the new qt4-xx libraries not installed automagically hence NOT installing the intended package. You have to deinstall old qt-x referred libraries manually first. Then everything should work fine. Note that Qt has lots of qt4-xxx or -qt4 libraries, so reading the error properly will mostly prevail the info. gstreamer - gstreamer plugins refers to libgstreamer-0.10.so.0 and after installing new gstreamer, got to link the new shared obect with the new one. Doing the following will solve the problem. cd /usr/local/lib ln -s libgstreamer-0.10.so.21 libgstreamer-0.10.so.0 I faced this problem while installing KDE4 on 7.2-STABLE #1: Sat Jun 27 12:05:03 UTC 2009 -- Aftab Jahan Subedar CEO/Software Engineer Subedar Technologies Ltd Subedar Baag Bibir Bagicha #1 North Jatra Bari Dhaka 1204 Bangladesh 88027554546 8801552635208 8801190753891 Radio: S21ST ___ 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: Trying to Install Man Page
On Mon, Aug 10, 2009 at 03:59:43PM -0500, Martin McCormick wrote: > There is a test man page I am trying to install and the system is not > finding it. I put it in /usr/local/man/man1 and think I should at > least get complaints about the page as it is the start of a man page, > not the whole thing. I named it testpage If your testpage manpage is located in a man1 directory, it has to be named testpage.1 (or gzipped as testpage.1.gz). For a man2 directory, the suffix is .2, and so on. Rename the file and I'm sure things will work fine. > , compressed it with gzip and when I type > > man testpage, it just says that there is no manual entry for testpage. > > Is there a data base I forgot to remake after adding the page? I did > make sure the ownership and permissions are the same as other pages in > the directory. I also did a man on one of the other pages in that same > directory and it came right up. Thank you. >From man(1): By default, man uses manpath(1) (which is built into the man binary) to determine the path to search. This option overrides the MANPATH environment variable. You can read manpath(1) for a full description of how things work (the configuration file used is /etc/manpath.config), but be sure to read man(1) in its entirety if you're going to get in the habit of writing your own manpages. More specifically, it describes the -w or -d options you can use for debugging fun, and the sometimes useful -M option[1]. As a side note, if the manpage is for your own use, I'd suggest using a hierarchy rooted in ~/man instead of /usr/local/man. That can offer numerous[2] benefits. -- 1. On Linux systems where you've installed FreeBSD manpages to improve your chances of finding more useful information than what's typically provided in the horrible info pages. 2. Aside from portability, it's especially useful on Windows systems where Cygwin is installed, but you're writing manpages for Windows (where the documentation is even more sparse than what's found in info pages, and no less clumsy to use). -- George ___ 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: filesystem size after newfs
2009/8/11 mojo fms > On Mon, Aug 10, 2009 at 3:55 PM, Naeem Afzal wrote: > > > > >I created this small partition of 512K bytes on disk, I am noticing > > about 24% is used up before system can be mounted and used. My assumption > > was about 4% is supposed to be used if minfree is set to 0. > > > >#newfs -U -l -m 0 -n -o space /dev/ad1d > >/dev/ad1d: 0.5MB (1024 sectors) block size 16384, fragment size 2048 > > using 1 cylinder groups of 0.50MB, 32 blks, 64 inodes with soft updates > >super-block backups (for fsck -b #) at: > >160 > >#mount /dev/ad1d /test > >#df -H /test > >FilesystemSizeUsed Avail Capacity Mounted on > >/dev/ad1d 391k2.0k389k1%/test > >Could someone explain where the 512-391=121K of disk space went to? > What > > is the relation between this used of space and total paritition size or > is > > it some fixed ratio? > >Thanks & Regards > > Naeem > > _ > > Express your personality in color! Preview and select themes for > Hotmail®. > > > > > http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=PID23391::T:WLMTAGL:ON:WL:en-US:WM_HYGN_express:082009___ > > freebsd-questions@freebsd.org< > http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=PID23391::T:WLMTAGL:ON:WL:en-US:WM_HYGN_express:082009___%0afreebsd-questi...@freebsd.org>mailing > list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > > freebsd-questions-unsubscr...@freebsd.org" > > > > 5% to root, and the rest i am assuming file system blocks. Try making the > 512k partition bigger accounting for those things and you should be able to > get it really close to 512k available. > > -- > Who knew > ___ > 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" > why do you want something that small? Could you not use an md device or tmpfs, they would probably be more efficient ___ 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: Trying to Install Man Page
On Mon, Aug 10, 2009 at 03:59:43PM -0500, Martin McCormick wrote: > There is a test man page I am trying to install and the system > is not finding it. I put it in /usr/local/man/man1 and think > I should at least get complaints about the page as it is the > start of a man page, not the whole thing. I named it testpage, > compressed it with gzip and when I type > > man testpage, it just says that there is no manual entry for > testpage. > > Is there a data base I forgot to remake after adding the > page? I did make sure the ownership and permissions are the same > as other pages in the directory. I also did a man on one of the > other pages in that same directory and it came right up. Thank > you. > > Martin McCormick Yes, the program is mandb I think. ___ 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"