Re: How can I rescue my passwd file after corrupting it (and why does it still work) ?
George Sanders wrote: I do some automated account creation on a FreeBSD 6.x system ... and unbeknownst to me, the '/' filesystem was completely full when I did my last account creation, resulting in: /: write failed, filesystem is full pwd_mkdb: /etc/pwd.db to /etc/pwd.db.tmp: No space left on device pw: passwd file update: No space left on device pwd_mkdb: corrupted entry pwd_mkdb: at line #187 pwd_mkdb: /mnt/etc/master.passwd: Inappropriate file type or format My situation is now as follows: passwd and master.passwd have a lot of lines missing, and one or two mangled lines toward the end. So a LOT of user accounts are gone. BUT, all of those missing accounts still work. So ... 1) why do all of the accounts that are missing from both passwd and master.passwd continue to work properly (they can authenticate and log in over SSH and so on) ? 2) how can I get back to healthy ? I suspect that somehow my (s)pwd.db files are still healthy ... is it possible to reconstruct complete passwd/master.passwd files using the existing (s)pwd.db files ? There's a backup copy of master.passwd, groups and aliases stored in /var/backups every time any of those files are changed -- the backups are created by the overnight periodic cron jobs, so you should be able to restore yesterday's status quo. Otherwise, you can sort of reconstruct the missing entries from yor master.passwd file by using pw(8) -- eg: % pw user show -n matthew matthew:*:1001:1001::0:0:Matthew Seaman:/home/matthew:/bin/tcsh prints out the master.passwd entry for the user account but *without* the password crypt-text. You can use: % pw user show -a to get a list of all users. This should use spwd.db rather than the original flat files -- it will enumerate all users from LDAP or NIS if your machine is configured to use those. Unfortunately, you will have to merge in the crypted password strings by hand or else get all your users to set new passwords. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: 8.0-RC USB problem -- how to recover a damaged USB stick
On Sunday 22 November 2009 04:40:27 Guojun Jin wrote: Does anyone know if it is possible to revocer such damaged USB stick? Hi, There are several recovery tools in /usr/ports for this kind of task. For example photorec . --HPS ___ 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: php4-gd
On Sat, Nov 21, 2009 at 01:23:39PM +0100, Ruben de Groot wrote: On Sat, Nov 14, 2009 at 11:39:34PM +0100, Roman Neuhauser typed: more like: you should have upgraded to PHP5 two years ago. PHP4 is dead, baby. it's dead... Like COBOL and FORTRAN are dead? ;) no, these languages are still alive (though not very hip). PHP4 has been abandoned by its sole vendor (the PHP project). there's no PHP4-2008, won't be. http://en.wikipedia.org/wiki/Fortran#Fortran_2008 ___ 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: Glassfish v3 server: Admin port in use
On Sat, Nov 21, 2009 at 03:01:55PM +0100, Frank Staals wrote: Hey everyone, I'm trying to deploy a Glassfish v3 server on my workstation since I need to do some jsf-developement. However when I try to start the server it keeps telling me the admin port I'm trying to use is allready in use by an other process, no matter what port I use. However I'm 100% certain there is nothing running on the port it should use (sockstat confirms that). Has anyone seen this type of behaviour and/or knows how to fix it ? I'm running FreeBSD 8.0-RC1 with jdk16 installed from ports. Full log is here: http://fstaals.net/junk/glassfish.txt this from https://glassfish.dev.java.net/downloads/v3-preview.html : For supported operating systems except MacOS, the minimum required version is 1.6.0_13. this from your log: fr...@rena# java -version java version 1.6.0_03-p4 that might be related. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How can I rescue my passwd file after corrupting it (and why does it still work) ?
On Sun, Nov 22, 2009 at 08:14:00AM +, Matthew Seaman typed: % pw user show -n matthew matthew:*:1001:1001::0:0:Matthew Seaman:/home/matthew:/bin/tcsh prints out the master.passwd entry for the user account but *without* the password crypt-text. You can use: % pw user show -a to get a list of all users. This should use spwd.db rather than the original flat files -- it will enumerate all users from LDAP or NIS if your machine is configured to use those. Unfortunately, you will have to merge in the crypted password strings by hand or else get all your users to set new passwords. Another way to recover is using perl: while ( ($name,$passwd,$uid,$gid,$quota,$comment,$gcos,$dir,$shell,$expire) = getpwent ) { print $name . : . $passwd . : . $uid . : . $gid . ::0: . $expire . : . $gcos . : .$dir . : . $shell . \n; } This will generate a file you can use to replace master.passwd, without login class or passwd last changed information (if you use that) but including the encrypted password. Ruben ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: GPUs on FBSD?
On Sat, 21 Nov 2009 11:28:03 + Anton Shterenlikht me...@bristol.ac.uk wrote: On Fri, Nov 20, 2009 at 08:11:57PM +0100, usleepl...@gmail.com wrote: On Fri, Nov 20, 2009 at 6:16 PM, Daniel C. Dowse dcdo...@gmx.net wrote: On Fri, 20 Nov 2009 11:46:57 + Anton Shterenlikht me...@bristol.ac.uk wrote: Anybody knows of working GPUs under FBSD on any arch? Any advice? I using a nvidia fx5500 with the latest driver 173.14.22 on i386 and it works perfect. And it was no pain to get 3d working for games. I am still wondering what this thread is actually about: is it about hardware accelerated video or about offloading general computation to the GPU ( CUDA et al. ). the latter. My question was about HPC application of GPUs. Use of GPGPUs for HPC under linux is growing very fast, with cuda and opencl. However, I doubt any GPUs will be supported on fbsd. At least not at this stage. Unless somebody knows better? Many, many GPUs, including most GPGPUs, are supported under both FreeBSD and X.org. CUDA on nVidia GPGPUs and Streams/Brook on ATi GPGPUs are not currently supported under FreeBSD. An engineering professor friend of mine has one of nVidia's Tesla cards and full CUDA support under Windows XP. He says that the same driver works for both the Tesla and his CUDA-enabled nVidia graphics card, as well as the nVidia IGP in his laptop's motherboard. Somewhere on the web--possibly on nVidia's web site, but I don't remember anymore--we found something that seemed to say that the LINUX version of the driver *also* contains the CUDA support for nVidia GPGPUs. If the FreeBSD driver is substantially a port of the LINUX driver, then it's quite likely that the CUDA support is/will be still in it. Another hassle, according to my friend, is that the CUDA support under Windows uses only the Intel C compiler. :-( What is definitely not available at present for FreeBSD is the rest of the CUDA support, namely, a CUDA compiler, a C compiler with hooks for CUDA, and any associated libraries. I have not so far seen any comparable information regarding Streams driver support on ATi GPGPUs for FreeBSD, much less anything about Brook for FreeBSD. The last time I checked, which was a few months ago, there were *no* implementations of OpenCL. My understanding is that there is now some sort of standard for it that has been agreed upon by all parties involved, but that there remains no published language definition/reference from which compilers, etc. might be written for the GPGPUs of both of the major GPU manufacturers. So if you're waiting for OpenCL for FreeBSD, don't hold your breath, stand on narrow ledges far above ground, and so forth while waiting. 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: Restricting tar or pax to a single file system
The syntax here is confusing, should it be [ignoring other options] tar -c -W one-file-system -f tarfile2Becreated.tar / { From the man pages -W longopt=value Long options (preceded by --) are only supported directly on systems that have the getopt_long(3) function. The -W option can be used to access long options on systems that do not support this function. } Or is there another synopsis? Thanks! jaymax wrote: How does one restrict tar or fax to a single file system when tarring or paxing from root (/) ? Thanks! -- View this message in context: http://old.nabble.com/Restricting-tar-or-pax-to-a-single-file-system-tp26463168p26465969.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Restricting tar or pax to a single file system
I think my reply went to the previous post, but here is The syntax here is confusing, should it be [ignoring other options] tar -c -W one-file-system -f tarfile2Becreated.tar / { From the man pages -W longopt=value Long options (preceded by --) are only supported directly on systems that have the getopt_long(3) function. The -W option can be used to access long options on systems that do not support this function. } Or is there another synopsis? Thanks! Dan Nelson wrote: In the last episode (Nov 21), jaymax said: How does one restrict tar or fax to a single file system when tarring or paxing from root (/) ? For tar: --one-file-system (-W one-file-system) (c, r, and u modes) Do not cross mount points. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- View this message in context: http://old.nabble.com/Restricting-tar-or-pax-to-a-single-file-system-tp26463168p26466083.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
there will be a log in apache access.log?
l install apache and svn .. and now l input http://192.168.0.100/svn/ in website . and it let me to input user name and password . and l did not konw the username and password ,so l quit ,close the website ... l know if l input the right ID and password there will be a record in apache access.log does anyone know if there will be a record in apache access.log to record this action if l input wrong ID or quit beside input nothing ??? ___ 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: GPUs on FBSD?
On Sat, Nov 21, 2009 at 09:06:28AM -0500, Robert Huff wrote: usleepl...@gmail.com writes: The talk/announcement on the Nvidia forum is about a native video driver for amd64 i believe. A lot of people are waiting for this ( currently there is only Nvidia support for i386 ). I do not believe this is correct. _As I understand it_ there are (currently) two options: 1) nv driver; written by nVidia, but does not support recent (last N generations) cards, works only for i386, and does not support 100% of 3d functions. Breakage fixed, but no new features added. You've got things a bit confused. The x11-drivers/xf86-video-nv driver is open source and works on i386 and amd64. It doesn't support any 3d stuff AFAIK. The x11/nvidia-driver is the one written by nvidia which only works on i386 and supports 3d, compiz etc. 2) noveau driver; written by third parties, works for i386 and amd64 (maybe for others). For what works, see the (hopefully outdated) web page. That should be spelt nouveau otherwise correct. In ports as: x11-drivers/xf86-video-nouveau. The wiki: http://nouveau.freedesktop.org/wiki/ Under development: 3) ; written (and maintained/improved) by nVidia, words for i386 and amd64, supports all cards, supports all functionality. ETA not announced; no public testing yet. Correct. Announcement: http://www.nvnews.net/vbulletin/showthread.php?t=41545page=37 If anyone knows better, please correct this. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Possible workaround for 'BTX halted' error
Hi, I have an old 200 MHz Pentium Pro. A slow machine by today's standards but my intention was to put a minimal installation of FreeBSD 7.2 on it (ultimately installing to a CF or SD memory card using an IDE adapter), turning it into a very basic home office firewall and not much else. One of the problems I encountered (which I've also encountered on other old PCs) was the dreaded BTX halted error when attempting to boot from the FreeBSD install CD: AMIBIOS (C)1992 American Megatrends, Inc. (C) 1992 - 1998 Intel Corporation. BIOS Version 1.00.18.CS1 Intel Corporation VS440FX Motherboard Serial Number: M04090465 0131072 KB Press F1 Key if you want to run SETUP Hard Disk 0 Installed QUANTUM FIREBALL EL2.5A CD Loader 1.2 Building the boot loader arguments Looking up /BOOT/LOADER... Found Relocating the loader and the BTX Starting the BTX loader BTX loader 1.00 BTX version is 1.01 int= err= efl=00010246 eip=0002c85b eax= ebx= ecs= edx= esi= edi=00040320 ebp=00093ff8 esp=00093fc4 cs=002b ds=0033 es=0033fs=0033 gs=0033 ss=0033 cs:eip=f7 f1 85 db 89 c1 89 45-94 74 08 8b 55 18 89 32 89 7a 04 89 4d 98 8b 45-94 8b 55 98 83 c4 6c 5b ss:esp=91 01 00 00 dc df 09 00-00 00 00 00 00 00 00 00 00 00 00 00 20 00 20 00-60 01 20 00 0b 00 20 00 BTX halted At this point the machine freezes. Ctrl+Alt+Del won't reset it. I've seen the same bug crop up occasionally for more than a few years now (since FreeBSD 5.x, I think). Presumably there's no urgency to fix it. Until now the workaround I used was to boot from floppy diskettes (all five of them) made from the images in the \floppies directory on the install CD. The FreeBSD installer would then operate normally and install from the CD. But this is frustrating as diskettes are obviously terribly slow and often unreliable. Today by accident I found a much simpler workaround. There's a freeware program called PLoP Boot Manager that can be used to boot from CD. I burnt plpbtinnoemul.iso (from plpbt-5.0.4.zip) to CD on another PC then got the Pentium Pro to boot from it. When I reached the boot menu I took out the PLoP CD, replaced it with the FreeBSD 7.2 CD and told PLoP to boot from that. FreeBSD 7.2 then proceeded to boot from CD with no apparent problems. I've successfully booted FreeBSD 7.2, 7.0, 6.2, 5.4 5.3 from CD on this machine using the PLoP CD as a boot loader. Also a recent version of the FreeNAS LiveCD. PLoP isn't required to boot the FreeBSD 4.10 CD on this machine, but the 4.10 CD causes it to freeze very early on with no messages displayed if I do use PLoP to boot it. http://www.plop.at/en/bootmanager.html Apologies if this is long-winded, but I haven't seen this information anywhere else, so I thought I'd pass it on! I hope it helps someone. Regards Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Native Firefox 3.5 and Flash10
On Thu, 2009-11-19 at 21:05 +, Sam Fourman Jr. wrote: I am running a Fresh install of amd64 FreeBSD 8.0 RC3 when running firefox It locks up for a moment then is fine then when I load a new page it locks up again. here is the error I get in the console when running native firefox 3.5 what do I have to rebuild inorder to fix this? It really looks like this is Linux firefox, not native firefox. AFAIK, we don't have a native Flash 10 plug-in for FreeBSD yet. If this really is native Firefox, consider posting to freebsd-gecko. Joe Sam Fourman Jr. [sfour...@sam ~]$ firefox3 Gtk-Message: Failed to load module canberra-gtk-module: libcanberra-gtk-module.so: cannot open shared object file: No such file or directory Gtk-Message: Failed to load module gnomebreakpad: libgnomebreakpad.so: cannot open shared object file: No such file or directory Gtk-Message: Failed to load module canberra-gtk-module: libcanberra-gtk-module.so: cannot open shared object file: No such file or directory Gtk-Message: Failed to load module gnomebreakpad: libgnomebreakpad.so: cannot open shared object file: No such file or directory *** NSPlugin Wrapper *** ERROR: NPP_New() wait for reply: Message timeout Gtk-Message: Failed to load module canberra-gtk-module: libcanberra-gtk-module.so: cannot open shared object file: No such file or directory Gtk-Message: Failed to load module gnomebreakpad: libgnomebreakpad.so: cannot open shared object file: No such file or directory Gtk-Message: Failed to load module canberra-gtk-module: libcanberra-gtk-module.so: cannot open shared object file: No such file or directory Gtk-Message: Failed to load module gnomebreakpad: libgnomebreakpad.so: cannot open shared object file: No such file or directory Sam# uname -a FreeBSD Sam.PuffyBSD.Com 8.0-RC3 FreeBSD 8.0-RC3 #0: Wed Nov 18 22:22:44 UTC 2009 root@:/usr/obj/usr/src/sys/WORKSTATION amd64 Sam# pkg_info -xI linux linux-f10-atk-1.24.0 Accessibility Toolkit, Linux/i386 binary (Linux Fedora 10) linux-f10-cairo-1.8.0 Vector graphics library Cairo (Linux Fedora 10) linux-f10-curl-7.19.6 The command line tool for transferring files with URL synta linux-f10-cyrus-sasl2-2.1.22 RFC SASL (Simple Authentication and Security Layer) (L linux-f10-expat-2.0.1 Linux/i386 binary port of Expat XML-parsing library (Linux linux-f10-flashplugin-10.0r32 Adobe Flash Player NPAPI Plugin linux-f10-fontconfig-2.6.0 An XML-based font configuration API for X Windows (Linux Fe linux-f10-gtk2-2.14.7 GTK+ library, version 2.X (Linux Fedora 10) linux-f10-hicolor-icon-theme-0.5 A high-color icon theme shell from the FreeDesktop project linux-f10-jpeg-6b RPM of the JPEG lib (Linux Fedora 10) linux-f10-libssh2-0.18 The library implementing the SSH2 protocol (Linux Fedora 10 linux-f10-nspr-4.7.6 Netscape Portable Runtime (Linux Fedora 10) linux-f10-nss-3.12.2.0 Network Security Services (Linux Fedora 10) linux-f10-openldap-2.4.12_1 Lightweight Directory Access Protocol libraries (Linux Fedo linux-f10-openssl-0.9.8g The OpenSSL toolkit (Linux Fedora 10) linux-f10-pango-1.22.3 The pango library (Linux Fedora 10) linux-f10-png-1.2.37 RPM of the PNG lib (Linux Fedora 10) linux-f10-sqlite3-3.5.9_1 The library that implements an embeddable SQL database engi linux-f10-tiff-3.8.2 The TIFF library, Linux/i386 binary (Linux Fedora 10) linux-f10-xorg-libs-7.4_1 Xorg libraries (Linux Fedora 10) linux-firefox-3.0.15,1 Web browser based on the browser portion of Mozilla linux_base-f10-10_2 Base set of packages needed in Linux mode for i386/amd64 (L ___ 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 -- PGP Key : http://www.marcuscom.com/pgp.asc signature.asc Description: This is a digitally signed message part
Re: upgrading firefox
On Sun, 22 Nov 2009 04:13:01 + (GMT) Steven Seipel sseipel...@yahoo.es wrote: I have freebsd 7.2 with gnome. It has firefox 2.0.0.20. What will I need to do to upgrade to firefox 3.anything? I have tried pkg_add -r with all the versions listed on the ports page but it is always unable to fetch them. When I just typed pkg_add -r firefox it told me I already have version 2.0.0.20 installed. So what do I do to get a more recent version? Steve Have you tried pkg_add -r firefox3 ___ 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: there will be a log in apache access.log?
On Sun, Nov 22, 2009 at 05:54:12AM -0800, IT?? wrote: l install apache and svn .. and now l input http://192.168.0.100/svn/ in website . and it let me to input user name and password . and l did not konw the username and password ,so l quit ,close the website ... l know if l input the right ID and password there will be a record in apache access.log does anyone know if there will be a record in apache access.log to record this action if l input wrong ID or quit beside input nothing ??? just try it, what's the problem? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: there will be a log in apache access.log?
2009/11/22 Roman Neuhauser neuhau...@sigpipe.cz: On Sun, Nov 22, 2009 at 05:54:12AM -0800, IT?? wrote: l install apache and svn .. and now l input http://192.168.0.100/svn/ in website . and it let me to input user name and password . and l did not konw the username and password ,so l quit ,close the website ... l know if l input the right ID and password there will be a record in apache access.log does anyone know if there will be a record in apache access.log to record this action if l input wrong ID or quit beside input nothing ??? just try it, what's the problem? Is it _your_ box you're getting into, or are you worried someone else is going to see _their_ access log? Sorry to sound paranoid, but your question is seriously strange. Chris -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in a mailing list? ___ 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: there will be a log in apache access.log?
Hello, On Sun, Nov 22, 2009 at 8:54 AM, IT民工 perfectxi...@gmail.com wrote: l install apache and svn .. and now l input http://192.168.0.100/svn/ in website . and it let me to input user name and password . and l did not konw the username and password ,so l quit ,close the website ... l know if l input the right ID and password there will be a record in apache access.log does anyone know if there will be a record in apache access.log to record this action if l input wrong ID or quit beside input nothing ??? ___ 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 From my httpd-error.log with a failed username / password: [Sun Nov 22 15:46:12 2009] [error] [client 127.0.0.1] user test not found: / There are no correlating entries in httpd-access.log regarding the login attempts. HTH, -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: device hint - disable firewire or sbp driver
David Horn wrote: Would it be an option to have sbp disabled by default in the install CD's? Those without the problem can put sbp_load in loader.conf, those with the problem will have to kldload it later but at least they will be able to install. As per svn and cvs: r199112 | kensmith | 2009-11-09 16:39:42 -0500 (Mon, 09 Nov 2009) | 11 lines Changed paths: M /stable/8/sys/amd64/conf/GENERIC M /stable/8/sys/i386/conf/GENERIC M /stable/8/sys/ia64/conf/GENERIC M /stable/8/sys/powerpc/conf/GENERIC M /stable/8/sys/sparc64/conf/GENERIC Comment out the sbp(4) entry for GENERIC config files that contain it. There are known issues with this driver that are beyond what can be fixed for 8.0-RELEASE and the bugs can cause boot failure on some systems. It's not clear if it impacts all systems and there is interest in getting the problem fixed so for now just comment it out instead of remove it. Commit straight to stable/8, this is an 8.0-RELEASE issue. Head was left alone so work on it can continue there. Reviewed by:Primary misc. architecture maintainers (marcel, marius) Looks like sbp(4) is disabled on the 8.0 branch already. --Dave That's good to hear, thanks for the info Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
FreeBSD 7.2 Release under VirtualBox
I am trying to install FreebSD under VirtualBox 3.0 on an Ubuntu 9.10 machien. I just installed OpenBSD in the same environment with no issues. However, FreeBSD does not seem to be able to get networking working. I am trying to install from a minimal boot CD, and get the filesets from an ftp server. I tried letting the FreeBSD installer get an address uisng DHCPm and it failed. So I booted teh OpenBSD insatnce, and used it's setigs, except for IP address (namescerve, defailt router etc). But still no luck. Has anyone made this work? Any sugestions as to what else to ty? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
nanobsd (Freebsd 7.2) and GENERIC.hints
Is there any way of forcing a nanobsd build to use a file other than GENERIC.hints to create the /boot/device.hints? Using a target specific hints file is much simple and less error prone than other methods. Bruce ___ 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: rTorrent + FreeBSD + pf = freeze?
On Thu, Nov 19, 2009 at 04:08:53PM -0800, Peter Kieser wrote: This problem has been going on for at least the past 2 years. I've had the exact same issue with rtorrent locking up or restarting machines running FreeBSD, regardless of the hardware used. All I can say is that the machine that runs rtorrent itself doesn't crash (on me), no matter how much traffic it gets. BUT the FreeBSD router that NATs this traffic via pf does crash... and just as you've observed: more frequently lately than before. A crash once or twice a week is common now, while it was once every 4 to 6 months last year... That router also acts as a mail- and webserver, so it is not only dedicated to routing. Maybe that's significant. I don't know what it is, but it seems to happen more often when there's disk activity *on the router* than when the disks are mostly idle. Perhaps disk and net subsystems concurrently using a non-locked resource and killing each other? Have you tried to run rtorrent and the router on two different FreeBSD machines? Does it lock the router, or does it crash the rtorrent box only, or both? -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Restricting tar or pax to a single file system
On Sun, 22 Nov 2009 08:01:07 -0800 (PST), jaymax jayma...@gmail.com wrote: I think my reply went to the previous post, but here is The syntax here is confusing, should it be [ignoring other options] tar -c -W one-file-system -f tarfile2Becreated.tar / { From the man pages -W longopt=value Long options (preceded by --) are only supported directly on systems that have the getopt_long(3) function. The -W option can be used to access long options on systems that do not support this function. } Or is there another synopsis? Yes, there are a few alternative ways to phrase the same thing. For example: cd / tar -cf /backup/tarball.tar --one-file-system . tar -c --one-file-system -f /backup/tarball.tar . You can combine the options of tar in almost *any* order with a bit of care. For example, here's a small part of my incremental backup script: cd /home/keramida/.zfs/snapshot/today env TZ=UTC tar -c --one-file-system --newer-mtime '2009-11-20 00:00:00' \ -f '/backup/home.keramida.2009-11-20.tar' . ___ 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
Specific interface to default route
Dear all, I have two (ethernet) network interface with IP address within the same subnet, call it msk0 and nfe0. Interface msk0 have IP address 192.168.0.2 and nfe0 192.168.0.3 and default router IP address is 192.168.0.1. I want only nfe0 that can talk to default router while keeping msk0 reachable within subnet (answer to ping from hosts with same subnet and so on). Is it possible? What should I put in /etc/rc.conf file? Regards, Anthony M. Rasat Manager - Technical, Network and Support Division PT. Jawa Pos National Network Graha Pena Jawa Pos Group Building, 5th floor Jln. Raya Kebayoran Lama 12, Jakarta Selatan 12210 Indonesia.- Phone 02132185562 Phone 081574217035 Fax 02153651465 Web http://www.jpnn.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
How to 'cross compile' to produce Linux binaries
Could someone point me to what to read to learn about building Linux executables under FreeBSD? ___ 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: BTX Loader crashes -- Help wanted
In message 20091121015230.cf2c15dd.free...@edvax.de, Polytropon free...@edvax.dewrote: On Fri, 20 Nov 2009 15:48:34 -0800, Ronald F. Guilmette r...@tristatelogic.c om wrote: But I have one question. The author sez to do this: dd if=8.0-BETA1-amd64-memstick.img of=/dev/da0 bs=10240 conv=sync I just want to know what the effect of conv=sync and why it might be necessary. ... it appears that the data is ensured to be properly aligned with a possibly different block size on the source or target media. As far as I remember, not giving the bs= argument would result in a default block size of 512 bytes which may - but don't ask me why - lead to a non-functioning target USB stick. Actually, I already _did_ ask why. ___ 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
spamassassin question
Guys, my network guy suggests this is ONE way of creating a .spamassassin file. Is there a better way than this: mkdir /root/.spamassassin chmod 775 /root/.spamassassin chown root:spamd /root/.spamassassin what's the consensus, mail gurus? gary PS: Is there any other spam tool i can use in-concert-wirh spamassissim? I *despise* spam loathe it. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: spamassassin question
Gary, Its an old problem with /root/.spamassassin I dunt know why spamassassin still have it by default :( I spent a day or so to figure it out.. however, in your local.cf add the lines auto_whitelist_path /var/spool/spamd/.spamassassin/auto-whitelist bayes_path /var/spool/spamd/.spamassassin/bayes Save and Exit, Then: mkdir /var/spool/spamd/.spamassassin touch /var/spool/spamd/.spamassassin/auto-whitelist chown spamd .spamassassin chown spamd auto-whitelist You will need to set the right permissions then. And thats it. Marwan Sultan System Administrator Date: Sun, 22 Nov 2009 17:22:10 -0800 From: kl...@thought.org To: freebsd-questions@FreeBSD.ORG CC: Subject: spamassassin question Guys, my network guy suggests this is ONE way of creating a .spamassassin file. Is there a better way than this: mkdir /root/.spamassassin chmod 775 /root/.spamassassin chown root:spamd /root/.spamassassin what's the consensus, mail gurus? gary PS: Is there any other spam tool i can use in-concert-wirh spamassissim? I *despise* spam loathe it. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org _ Windows 7: I wanted simpler, now it's simpler. I'm a rock star. http://www.microsoft.com/Windows/windows-7/default.aspx?h=myidea?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_myidea:112009___ 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: Specific interface to default route
Trober wrote: Anthony wrote: Dear all, I have two (ethernet) network interface with IP address within the same subnet, call it msk0 and nfe0. Interface msk0 have IP address 192.168.0.2 and nfe0 192.168.0.3 and default router IP address is 192.168.0.1. I want only nfe0 that can talk to default router while keeping msk0 reachable within subnet (answer to ping from hosts with same subnet and so on). Is it possible? What should I put in /etc/rc.conf file? Hi Anthony! ### RC.CONF ifconfig_nfe0=inet 192.168.0.3 netmask 255.255.255.0 up # /24 ifconfig_msk0=inet 192.168.0.2 netmask 255.255.255.255 up # /32 defaultrouter=192.168.0.1 # Router ### RC.CONF The msk0 interface has /32 mask (according by aliases[1] settings). Only nfe0 talk with your router. Both interfaces can be reached by other hosts (in same network). [1]http://freebsd.org/doc/en/books/handbook/configtuning-virtual-hosts.html I hope to help you, Trober Wow. Thanks Trober. Regards, Anthony M. Rasat Manager - Technical, Network and Support Division PT. Jawa Pos National Network Graha Pena Jawa Pos Group Building, 5th floor Jln. Raya Kebayoran Lama 12, Jakarta Selatan 12210 Indonesia.- Phone 02132185562 Phone 081574217035 Fax 02153651465 Web http://www.jpnn.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: spamassassin question
On Mon, Nov 23, 2009 at 02:30:47AM +, Marwan Sultan wrote: Gary, Its an old problem with /root/.spamassassin I dunt know why spamassassin still have it by default :( I spent a day or so to figure it out.. however, i think everyone uwho uses spamassassim would be very grateful; i am, certain. thanks! in your local.cf add the lines auto_whitelist_path /var/spool/spamd/.spamassassin/auto-whitelist bayes_path /var/spool/spamd/.spamassassin/bayes just to be complete++, :-), you mean /usr/local/etc/mail/spamassassin/local.cf , is this correct?? Save and Exit, done! Then: mkdir /var/spool/spamd/.spamassassin touch /var/spool/spamd/.spamassassin/auto-whitelist chown spamd /var/spool/spamd/.spamassassin chown spamd /var/spool/spamd/.spamassassin/auto-whitelist would you check my tying to see if i've made any mistakes? You will need to set the right permissions then. another question: are these the same perms, 0755, as before [in /root]? i want to document and save these data in a local spamd howto file for the next time i need to go thru this morass... lastly, what format is used in the whitelist? is it similar to what i have in /etc/mail/access? - And thats it. Marwan Sultan System Administrator Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to 'cross compile' to produce Linux binaries
2009/11/22 Lorin Lund w...@infowest.com: Could someone point me to what to read to learn about building Linux executables under FreeBSD? http://wiki.freebsd.org/linux-xdev -- -- ___ 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: spamassassin question
Hi Gary, just to be complete++, :-), you mean /usr/local/etc/mail/spamassassin/local.cf , is this correct?? Yes, You are 100% Correct :) would you check my tying to see if i've made any mistakes? Again, Correct :) another question: are these the same perms, 0755, as before [in /root]? i want to document and save these data in a local spamd howto file for the next time i need to go thru this morass... Gary, Its a sensitive part! if I give you the wrong permission you will be exposed to attackers! I my self dunt have the right permission, because I didnot have enough time to look for it, however If you set the wrong permission and you run spamd you will see error in you log files as cannot create ..etc.. permission denied You will have to go back and change the permission.. and start spamd again..and check your log again..755 might be very good. after you set 0755 check your log..all errors should disappear. lastly, what format is used in the whitelist? is it similar to what i have in /etc/mail/access? Well, I never change the whitelist, my openwebmail generates the data Automaticaly. You will not need to touch the file, as your webmail client will do it. However to answer your question its as whitelist_from u...@xxx.xxx whitelist_from *...@xxx.xxx donot forget to change /usr/local/etc/rc.d/spamass-milter where it says owner and group to spamd So it run as spamd user instead of root. and this is in your /etc/rc.conf spamd_enable=YES spamass_milter_enable=YES spamd_flags=-u spamd -H /var/spool/spamd note that after -u there is spamd (which is the user) Good luck. Marwan. _ Hotmail: Trusted email with Microsoft's powerful SPAM protection. http://clk.atdmt.com/GBL/go/177141664/direct/01/ http://clk.atdmt.com/GBL/go/177141664/direct/01/ ___ 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
xinetd: bind argument
Hi, I've a question with regards to the bind argument in the xinetd configuration. Can we assign multiple IPs to it like this? service abc { ... .. bind = a.b.c.d p.q.r.s ... . . } Or like this: service abc { bind = a.b.c.d bind = w.x.y.z .. .. } I've seen the first setup work on and off. When it doesn't work, I've edited the file and re-arranged the IPs, and it works. At other times, the same setup does not work. What am I missing? The xinetd version is 2.3.14 on FreeBSD 7.2. Thanks, Madhu ___ 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