Re: FreeBSD 9 on an AMD64 with an LSI SAS controller
On 10/2/11 11:48 AM, Jukka A. Ukkonen wrote: Greetings all, Roughly a week ago I sent to this mailing list a question about problems with installing FreeBSD 9 on an AMD64 system. It seems that I now know the reason why booting from the install CD failed. When buying the system I had not paid enough attention to the fact that the SAS controller on the motherboard is a new LSI SAS2008-IR which would need the mps driver. I had been assuming that since there is an LSI controller on the motherboard the older mpt driver should work. The mps driver, which would be needed for the SAS2008 series is still relatively new work in progress, is apparently not part of the GENERIC kernel used for the install kits. The next obvious question in my mind is: Are these new SAS2008 series controllers now becoming common as the default SAS chips on motherboards? If so, until the mps driver matures enough it might be better for everybody to check before selecting a motherboard that the SAS controller on it will work with the older mpt driver. mps has been backported to the 8.x branch from 9.x several months ago. AFAIK, it's included in GENERIC, there is no reason it wouldn't be. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
updating 8.1 release
hey just tried to update a system using 'csup' current system is: 8.1 RELEASE on a amd machine (amd64 GENERIC kernel) tried downloading the CURRENT branch ( tag=. ) when running make buildworld get an exit with error at /usr/lib/libmagic system gives various warnings about unknown file types and incorrect variable bounds then exits with error 1 - 'cannot find any magic files' tried this again with ( tag=RELENG_8 ) - exact same problem tried this again with ( tag=RELENG_8.2 ) - exact same problem also tried make buildworld in multi-user -and- single-user where should i expect to find any magic files on the system tree ? 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: updating 8.1 release
wayne mitchell wrote: hey just tried to update a system using 'csup' current system is: 8.1 RELEASE on a amd machine (amd64 GENERIC kernel) tried downloading the CURRENT branch ( tag=. ) when running make buildworld get an exit with error at /usr/lib/libmagic system gives various warnings about unknown file types and incorrect variable bounds then exits with error 1 - 'cannot find any magic files' tried this again with ( tag=RELENG_8 ) - exact same problem tried this again with ( tag=RELENG_8.2 ) - exact same problem also tried make buildworld in multi-user -and- single-user where should i expect to find any magic files on the system tree ? thanks I wouldn't worry about this. Be better to find out what is wrong. It is unclear exactly what you are trying to achieve, so I'll try some crystal- ball gazing. Going from 8.1 to HEAD might actually be broken at any one given point in time. Not always, but the possibility exists. If you are dead set on this, read the -CURRENT list for hints on breakage. If you are trying to set up a server for use in some form of stable environment I would suggest not using -CURRENT, but rather consider the security branch of either 8.1-RELEASE or 8.2-RELEASE. The csup tags are RELENG_8_1 and RELENG_8_2 respectively. Example supfile: *default host=cvsup.nl.freebsd.org *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_8_2 *default delete use-rel-suffix compress src-all Then cd to /usr/obj and do rm -rf *. This will remove leftovers of previous failed build attempts. Once this is cleaned up and you have the correct source (such as 8.2-RELEASE security branch), then just cd /usr/src and kick off the dance with a make buildworld. I just updated 9 machines from 8.2 to the 8.2 security branch and experienced zero trouble. I can't speak to whether -CURRENT will build, as my boxen are for production use and not for development work. If you continue to have a problem trying to update to RELENG_8_2 you are doing something wrong. -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
FreeBSD 8.2, sec.update -p3, switching between X and console prompt, /var full
Hi, I have FreeBSD amd64, 8.2-RELEASE, I just applied the securtiy update p3 and now have $ uname -r 8.2-RELEASE-p3 I have X running and KDE, My machine is a virtual machine (Vmware) After boot-up I got a graphical login window (as always), I wanted to switch to a console prompt, so hit Ctrl-Alt-F1 but there is now NO reaction at all (neither with Ctrl-Alt-F2, ...Ctrl-Alt-F8) tried many times In the past this was never a problem (in the pas also as a Virtual machine) From a different PC, I also connected to my FreeBSD machine Got a graphical window, here I could, after two tries, get the console prompt, went back to graphical mode via Ctrl-Alt-F9, OK, but now neither keyboard, nor mouse reacts to input ... Went back to my first PC, now here the same situatuon: graphical window, keyboard and mouse: no more reaction Now I see, my /var is for 108% full There was a huge file Xorg.0.log 16959946731 bytes I deleted it, but still it remains 108% full and I can't create new file How to solve this ??? help! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
cat sort(1) sort floating point numbers?
I tried sorting a file with a column of floating point numbers (below) with sort(1) -n. However, the numbers seem to have been sorted by the first digit only. TZAV cat numbers 3.895686170464136E-016 6.790214437463702E-003 4.163481430190832E-016 2.224131318975909E-002 4.024567914829249E-016 3.538878408636508E-016 9.506347960184421E-016 6.314417282585591E-016 1.026969483958696E-015 1.172673069936531E-015 9.367571020052471E-016 1.110223231422310E-016 1.734778989627912E-015 1.942890368732350E-016 1.117248113958902E-015 1.041412167622504E-015 2.985539431996711E-016 1.728132885863794E-015 2.332566825794786E-015 1.991764744128308E-015 2.290886104875174E-015 1.499379464023130E-015 4.749124883992963E-015 1.526556658859590E-016 1.056173107658783E-015 7.245814328704277E-015 3.819445116003758E-015 2.102152816759188E-015 2.721320602617330E-015 3.223263731968939E-015 1.637578979324018E-015 5.858485627624118E-015 4.442648920965769E-015 1.110244709780361E-015 6.664589960756288E-016 9.761199453440974E-017 1.443557048454884E-015 4.778495371619422E-015 1.947840641841358E-016 5.064931302120728E-016 2.916449385533579E-015 8.400504967177337E-017 1.166250379869858E-015 8.331298074911436E-016 8.337074617781950E-016 1.332719331522803E-015 2.332500698909792E-015 9.104042995697664E-015 1.659811850387433E-014 7.774349986542096E-016 3.610152526999016E-015 5.594426896215451E-017 8.329275106256349E-016 3.830369997864534E-015 3.331392089232636E-016 6.664589971819531E-016 9.325914711054265E-015 1.110226687428913E-016 4.443060083949530E-016 1.388403156535668E-015 5.117876306319294E-016 4.443061859904843E-016 1.593208723602013E-014 2.720931336739666E-015 1.110224674090772E-016 3.916020680284665E-016 1.332269256131286E-014 4.441434721463274E-016 2.886880095386799E-015 1.054917340440720E-015 6.938930742946899E-018 8.659917512448818E-015 4.274409407182516E-015 5.551552273367660E-016 7.549545267281662E-015 9.492612312578653E-015 7.772800489254079E-016 2.554043227849122E-015 7.382990493079966E-015 5.722182748984452E-017 TZAV sort -n numbers 1.026969483958696E-015 1.041412167622504E-015 1.054917340440720E-015 1.056173107658783E-015 1.110223231422310E-016 1.110224674090772E-016 1.110226687428913E-016 1.110244709780361E-015 1.117248113958902E-015 1.166250379869858E-015 1.172673069936531E-015 1.332269256131286E-014 1.332719331522803E-015 1.388403156535668E-015 1.443557048454884E-015 1.499379464023130E-015 1.526556658859590E-016 1.593208723602013E-014 1.637578979324018E-015 1.659811850387433E-014 1.728132885863794E-015 1.734778989627912E-015 1.942890368732350E-016 1.947840641841358E-016 1.991764744128308E-015 2.102152816759188E-015 2.224131318975909E-002 2.290886104875174E-015 2.332500698909792E-015 2.332566825794786E-015 2.554043227849122E-015 2.720931336739666E-015 2.721320602617330E-015 2.886880095386799E-015 2.916449385533579E-015 2.985539431996711E-016 3.223263731968939E-015 3.331392089232636E-016 3.538878408636508E-016 3.610152526999016E-015 3.819445116003758E-015 3.830369997864534E-015 3.895686170464136E-016 3.916020680284665E-016 4.024567914829249E-016 4.163481430190832E-016 4.274409407182516E-015 4.441434721463274E-016 4.442648920965769E-015 4.443060083949530E-016 4.443061859904843E-016 4.749124883992963E-015 4.778495371619422E-015 5.064931302120728E-016 5.117876306319294E-016 5.551552273367660E-016 5.594426896215451E-017 5.722182748984452E-017 5.858485627624118E-015 6.314417282585591E-016 6.664589960756288E-016 6.664589971819531E-016 6.790214437463702E-003 6.938930742946899E-018 7.245814328704277E-015 7.382990493079966E-015 7.549545267281662E-015 7.772800489254079E-016 7.774349986542096E-016 8.329275106256349E-016 8.331298074911436E-016 8.337074617781950E-016 8.400504967177337E-017 8.659917512448818E-015 9.104042995697664E-015 9.325914711054265E-015 9.367571020052471E-016 9.492612312578653E-015 9.506347960184421E-016 9.761199453440974E-017 Is this the expected behaviour? If yes, can sort(1) be at all used to sort float. point numbers? 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: cat sort(1) sort floating point numbers?
On Monday 03 October 2011 14:05:42 Anton Shterenlikht wrote: I tried sorting a file with a column of floating point numbers (below) with sort(1) -n. However, the numbers seem to have been sorted by the first digit only. sort -g Due to the GNU project's obsession with info (http://xkcd.com/912/), you can't readily find this out from the manpage - but the info documentation available on the web for coreutils describes the difference between -g and -n: [when using -n] Neither a leading ‘+’ nor exponential notation is recognized. To compare such strings numerically, use the --general-numeric-sort (-g) option. Jonathan ___ freebsd-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 8.2, sec.update -p3, switching between X and console prompt, /var full
On 10/3/11 1:54 PM, n dhert wrote: Hi, I have FreeBSD amd64, 8.2-RELEASE, I just applied the securtiy update p3 and now have $ uname -r 8.2-RELEASE-p3 I have X running and KDE, My machine is a virtual machine (Vmware) After boot-up I got a graphical login window (as always), I wanted to switch to a console prompt, so hit Ctrl-Alt-F1 but there is now NO reaction at all (neither with Ctrl-Alt-F2, ...Ctrl-Alt-F8) tried many times In the past this was never a problem (in the pas also as a Virtual machine) From a different PC, I also connected to my FreeBSD machine Got a graphical window, here I could, after two tries, get the console prompt, went back to graphical mode via Ctrl-Alt-F9, OK, but now neither keyboard, nor mouse reacts to input ... Went back to my first PC, now here the same situatuon: graphical window, keyboard and mouse: no more reaction Now I see, my /var is for 108% full There was a huge file Xorg.0.log 16959946731 bytes I deleted it, but still it remains 108% full and I can't create new file How to solve this ??? help! That's because xorg still uses the log file. Type as root: sync If that doesn't fix you up, restart Xorg, you'll get your correct size. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Fwd: FreeBSD 8.2, sec.update -p3, switching between X and console prompt, /var full
I tried Ctrl-Alt-Backspace in the graphical login wndow, but as with other key Ctrl-Alt key combinations this does not do anything ... I there a commadn line way to restart X I also tried fsck-ing the /var/ file system, but it chooses NO WRITE nothing is repaired See the last UNREF FILE, it has the size of the huge /var/log/Xorg.0.log I already deleted from command line (and not anymore in an ls -la), but keeps fulling /var It seems even to be still growing ... # fsck /dev/da0s1d ** /dev/da0s1d (NO WRITE) ** Last Mounted on /var ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts UNREF FILE I=164914 OWNER=root MODE=100644 SIZE=0 MTIME=Oct 3 12:18 2011 CLEAR? no UNREF FILE I=518425 OWNER=mysql MODE=100600 SIZE=0 MTIME=Oct 3 12:18 2011 CLEAR? no UNREF FILE I=518426 OWNER=mysql MODE=100600 SIZE=0 MTIME=Oct 3 12:18 2011 CLEAR? no UNREF FILE I=518427 OWNER=mysql MODE=100600 SIZE=0 MTIME=Oct 3 12:18 2011 CLEAR? no UNREF FILE I=518428 OWNER=mysql MODE=100600 SIZE=0 MTIME=Oct 3 12:18 2011 CLEAR? no UNREF FILE I=518429 OWNER=mysql MODE=100600 SIZE=0 MTIME=Oct 3 12:18 2011 CLEAR? no UNREF FILE I=2355264 OWNER=root MODE=100644 SIZE=17073127377 MTIME=Oct 3 15:12 2011 CLEAR? no ** Phase 5 - Check Cyl groups 120012 files, 10127943 used, 26256 free (26256 frags, 0 blocks, 0.3% fragmentation) 2011/10/3 Damien Fleuriot m...@my.gd On 10/3/11 1:54 PM, n dhert wrote: Hi, I have FreeBSD amd64, 8.2-RELEASE, I just applied the securtiy update p3 and now have $ uname -r 8.2-RELEASE-p3 I have X running and KDE, My machine is a virtual machine (Vmware) After boot-up I got a graphical login window (as always), I wanted to switch to a console prompt, so hit Ctrl-Alt-F1 but there is now NO reaction at all (neither with Ctrl-Alt-F2, ...Ctrl-Alt-F8) tried many times In the past this was never a problem (in the pas also as a Virtual machine) From a different PC, I also connected to my FreeBSD machine Got a graphical window, here I could, after two tries, get the console prompt, went back to graphical mode via Ctrl-Alt-F9, OK, but now neither keyboard, nor mouse reacts to input ... Went back to my first PC, now here the same situatuon: graphical window, keyboard and mouse: no more reaction Now I see, my /var is for 108% full There was a huge file Xorg.0.log 16959946731 bytes I deleted it, but still it remains 108% full and I can't create new file How to solve this ??? help! That's because xorg still uses the log file. Type as root: sync If that doesn't fix you up, restart Xorg, you'll get your correct size. ___ freebsd-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: Fwd: FreeBSD 8.2, sec.update -p3, switching between X and console prompt, /var full
On Mon, 3 Oct 2011 15:15:26 +0200, n dhert wrote: I tried Ctrl-Alt-Backspace in the graphical login wndow, but as with other key Ctrl-Alt key combinations this does not do anything ... It is new behaviour that certain default functionalities of X need to be enabled manually. Ctrl+Alt+Backspace is one of them, and Ctrl+Alt+F1/2/3/... _may_ be too. If I remember correctly, /etc/X11/xorg.conf requires Section ServerLayout Option DontZap false EndSection Section ServerFlags Option DontVTSwitch false EndSection to re-enable the default behaviour. But check the Handbook for detailed information. I there a commadn line way to restart X You can kill the X process. Dirty stuff, but works. :-) I also tried fsck-ing the /var/ file system, but it chooses NO WRITE nothing is repaired You cannot run fsck on a mounted file system. You'll have to unmount /var first, _then_ issue the fsck command. You should do that in single user mode. Reason: If you have unmounted /var, but some process wants to write to /var, the empty mountpoint residing on / will be filled, therefore / will be filled which is _not_ intended. See the last UNREF FILE, it has the size of the huge /var/log/Xorg.0.log I already deleted from command line (and not anymore in an ls -la), but keeps fulling /var Additionally to using rm, you can also use fsdb to forcedly delete files under worst circumstances. Removing files should be done after booting the system in single user mode. This way you can make _sure_ nothing is writing to those files. Before a removal attempt, you should run fsck so the file system is in a valid condition. -- 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: Fwd: FreeBSD 8.2, sec.update -p3, switching between X and console prompt, /var full
I tried # ps -jaxw | grep X root7609 1461 7609 11 S ??0:00.55 /usr/local/bin/X -br -nolisten tcp :0 -auth /var/run/xauth/A:0-9mN8YK ( root7633 3423 7632 33562 S+ 50:00.06 grep X # kill -9 7609 but it creates a new one ... # ps -jawx | grep X root7640 1461 7640 11 S ??0:00.69 /usr/local/bin/X -br -nolisten tcp :0 -auth /var/run/xauth/A:0-9mN8YK ( I killed the parent process /usr/local/bin/kdm-bin now /var is back to normal in du -ks (19%) But still no reaction on Cltrl-Alt-F* keystrokes. 2011/10/3 Polytropon free...@edvax.de On Mon, 3 Oct 2011 15:15:26 +0200, n dhert wrote: I tried Ctrl-Alt-Backspace in the graphical login wndow, but as with other key Ctrl-Alt key combinations this does not do anything ... It is new behaviour that certain default functionalities of X need to be enabled manually. Ctrl+Alt+Backspace is one of them, and Ctrl+Alt+F1/2/3/... _may_ be too. If I remember correctly, /etc/X11/xorg.conf requires Section ServerLayout Option DontZap false EndSection Section ServerFlags Option DontVTSwitch false EndSection to re-enable the default behaviour. But check the Handbook for detailed information. I there a commadn line way to restart X You can kill the X process. Dirty stuff, but works. :-) I also tried fsck-ing the /var/ file system, but it chooses NO WRITE nothing is repaired You cannot run fsck on a mounted file system. You'll have to unmount /var first, _then_ issue the fsck command. You should do that in single user mode. Reason: If you have unmounted /var, but some process wants to write to /var, the empty mountpoint residing on / will be filled, therefore / will be filled which is _not_ intended. See the last UNREF FILE, it has the size of the huge /var/log/Xorg.0.log I already deleted from command line (and not anymore in an ls -la), but keeps fulling /var Additionally to using rm, you can also use fsdb to forcedly delete files under worst circumstances. Removing files should be done after booting the system in single user mode. This way you can make _sure_ nothing is writing to those files. Before a removal attempt, you should run fsck so the file system is in a valid condition. -- 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
p11-kit port patch fail on 8.2p3.
I am running # uname -a FreeBSD AddisAbaba 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 18:07:27 UTC 2011 r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 # After updating the ports tree with portsnap fetch update, I ran pkgdb to get # pkgdb -F --- Checking the package registry database Stale dependency: gnutls-2.12.11 - p11-kit-0.6 (security/p11-kit): Install stale dependency? ([y]es/[n]o/[a]ll) [yes] [Gathering depends for security/p11-kit . done] --- Installing 'p11-kit-0.7' from a port (security/p11-kit) --- Building '/usr/ports/security/p11-kit' === Cleaning for p11-kit-0.7 === License check disabled, port has not defined LICENSE === Extracting for p11-kit-0.7 = SHA256 Checksum OK for p11-kit-0.7.tar.gz. === Patching for p11-kit-0.7 === p11-kit-0.7 depends on package: libtool=2.4 - found === Applying FreeBSD patches for p11-kit-0.7 Ignoring previously applied (or reversed) patch. 1 out of 1 hunks ignored--saving rejects to p11-kit/modules.c.rej = Patch patch-p11-kit-modules.c failed to apply cleanly. *** Error code 1 Stop in /usr/ports/security/p11-kit. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall20111003-41254-165xny4-0 env make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! security/p11-kit (patch error) Command failed [exit code 1]: /usr/local/sbin/portinstall security/p11-kit # I poked around a bit # grep -i p11 /usr/ports/UPDATING # and tried a few things involving manually fiddling with files, but couldn't trick the system into completing the upgrade. Looking through gmane.os.freebsd.* and other places didn't turn up anything that looked like it would help. How do I get p11-kit to upgrade? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
moving a svn repository
On a FreeBSD machine which the svn software installed, repositories for different projects exist. Such a repository looks as a directory with subdirs and files. One user wants the SVN repository of one project to be transferred to a different machine (which had exactly the same FreeBSD version and exactly the same version of the svn software). Is it possible to simply make a tar file of the directory of the svn repository, transfer that to the other machine and there untar it in the home-directory that the user has on that other machine and use it without further ado ? ___ freebsd-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: moving a svn repository
On Mon, Oct 3, 2011 at 7:32 PM, n dhert ndhert...@gmail.com wrote: One user wants the SVN repository of one project to be transferred to a different machine (which had exactly the same FreeBSD version and exactly the same version of the svn software). Yeah, no problem. But I'll recommend that the user checks out his working directory after the change. Subversions switch command pr. instance do not always work svn:properties. -- chs, ___ freebsd-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: moving a svn repository
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/3/11 1:32 PM, n dhert wrote: On a FreeBSD machine which the svn software installed, repositories for different projects exist. Such a repository looks as a directory with subdirs and files. One user wants the SVN repository of one project to be transferred to a different machine (which had exactly the same FreeBSD version and exactly the same version of the svn software). Is it possible to simply make a tar file of the directory of the svn repository, transfer that to the other machine and there untar it in the home-directory that the user has on that other machine and use it without further ado ? Hi n dhert, You said repository, but can you clarify if you meant a Subversion working directory or a Subversion repository? A working directory has a bunch of .svn directories throughout the hierarchy, and a repository has a directory structure that looks like this at the top level: README.txt conf/ db/ format hooks/ locks/ If you want to move a working directory to a new machine, I suggest committing pending changes in the original one, removing it from the old machine and then checking it out fresh on the new machine. If you want to move a repository, ask your user to commit pending changes, use the svnadmin dump command to create a dump file, then transfer it and use svnadmin load on the target machine. Also make sure to check if there are any hook scripts in the old repository and move them as well. They may depend on tools that are not installed or paths that don't exist on the new machine, so check that they function correctly. After the repository move, the user can run svn switch --relocate in his working directory to point to the new repository URL. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk6J/jMACgkQ0sRouByUApBUVwCffLm7F4uhjmAk90323ZyJXtmH tlsAn0kmx7u7qFGNJ4nQRHaUbGGxm7vL =BkAH -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: p11-kit port patch fail on 8.2p3.
On 3 October 2011 11:04, R. Clayton rvclay...@verizon.net wrote: ... === Applying FreeBSD patches for p11-kit-0.7 Ignoring previously applied (or reversed) patch. 1 out of 1 hunks ignored--saving rejects to p11-kit/modules.c.rej = Patch patch-p11-kit-modules.c failed to apply cleanly. *** Error code 1 Stop in /usr/ports/security/p11-kit. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall20111003-41254-165xny4-0 env make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! security/p11-kit (patch error) Command failed [exit code 1]: /usr/local/sbin/portinstall security/p11-kit ... Odd, I find no such file as patch-p11-kit-modules.c here (9.0-BETA3-amd64), either in /usr/ports/distfiles/ or in /usr/ports/security/p11-kit/files/. I would try moving the patch file elsewhere (or deleting it) and trying 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: p11-kit port patch fail on 8.2p3. [solved]
I would try moving the patch file elsewhere (or deleting it) and trying again. That worked; thanks. Odd, I find no such file as patch-p11-kit-modules.c here (9.0-BETA3-amd64), either in /usr/ports/distfiles/ or in /usr/ports/security/p11-kit/files/. It was in /usr/ports/security/p11-kit/files: # cat /tmp/patch-p11-kit-modules.c --- p11-kit/modules.c.orig 2011-09-15 18:15:24.0 -0700 +++ p11-kit/modules.c 2011-09-15 18:16:27.0 -0700 @@ -50,11 +50,12 @@ #include dirent.h #include dlfcn.h #include errno.h +#include limits.h #include pthread.h #include stdarg.h #include stddef.h -#include stdlib.h #include stdio.h +#include stdlib.h #include string.h #include unistd.h # ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
procmail/maildrop and Maildir update
Since this is -questions: Have you updated that article on switching from procmail to maildrop to include details on Maildirs? And does it have a mailing list filter that automatically creates folders as needed? And a full .mailfilter example? As a matter of fact, yes. http://www.wonkity.com/~wblock/docs/html/maildrop.html Special thanks to Andrew Clarke! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Timestamps shifted by 8 hours
I have pfSense-2.0 for gateway/firewall (10.10.10.2). 10.10.10.2 logs to 10.10.10.252, which runs FreeBSD 7.4-STABLE. 10.10.10.252 is the ntpd server for this LAN. On 10.10.10.2: date Tue Oct 4 00:00:42 EDT 2011 On 10.10.10.252: $date Tue Oct 4 00:00:50 EDT 2011 (just after logging out of 10.10.10.2, so they seem to be in sync) However, timestamps in pfsense.log, residing on 10.10.10.252, are shifted by 8 hours, for example: $ tail -f /var/log/pfsense.log Oct 4 09:00:01 10.10.10.2 pf: 00:00:00.748775 rule 1/0(match): [...] I guess I should read some man page... -- Janos Dohanics ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org