Re: iwn driver on 7.1
2009/1/18 Brandon Gooch jamesbrandongo...@gmail.com I have a working driver for the Intel 4965, aka iwn(4), loaded on my Lenovo X300 running FreeBSD 7.1-RELEASE (amd64). Wonderfull to say the least ! Seeing that you run successfully 7.1 on a X300 is excellent ! Did you manage to get suspend/resume aka hibernation working somehow ? Thanks Eriam ___ 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: PATH used by www user
Hi Frank, thanks for your responce, the PATH isn't set within the perl script with ENV (and the script is identical on both systems). I've already asked the question on the perl mailing list and came to the conclusion the difference was something at the UNIX level on FreeBSD. There are various ways I can easily work around it, but it just seemed so basic I wanted to know how it was being set :S thanks, Andy. Quoting Frank Shute fr...@shute.org.uk: User www doesn't have a shell, profile hence PATH. I don't know how your path is being set but it depends on perl how your script looks. Look at Env(3) the other perldocs. If you want to do it quick, call traceroute with the path in your scripts e.g: system /usr/sbin/traceroute $some_host; There's probably a perl module with a traceroute in it but I'm afraid I don't know it offhand. This message was sent using IMP, the Internet Messaging Program. ___ 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: Upgrading Jails
On Fri, Jan 16, 2009 at 06:06:49AM -0800, David Allen wrote: I have a test system where I've accumulated a large number of jails. To update them (I'm not using the method outlined in the Handbook), I'd like to avoid mounting /usr/src and /usr/obj within each and then jexec-ing a shell but instead, perform everything on the host system directly. Would the following be appropriate? Why bother with updating each jail and waste diskspace when you can have ezjail (sysutils/ezjail) to create and update your jails in one go? -- Oliver PETER, email: oli...@peter.de.com, ICQ# 113969174 If it feels good, you're doing something wrong. -- Coach McTavish ___ 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: PATH used by www user
On Mon, Jan 19, 2009 at 09:16:12AM +, Andy Smith wrote: Quoting Frank Shute fr...@shute.org.uk: User www doesn't have a shell, profile hence PATH. I don't know how your path is being set but it depends on perl how your script looks. Look at Env(3) the other perldocs. If you want to do it quick, call traceroute with the path in your scripts e.g: system /usr/sbin/traceroute $some_host; There's probably a perl module with a traceroute in it but I'm afraid I don't know it offhand. Hi Frank, thanks for your responce, the PATH isn't set within the perl script with ENV (and the script is identical on both systems). I've already asked the question on the perl mailing list and came to the conclusion the difference was something at the UNIX level on FreeBSD. There are various ways I can easily work around it, but it just seemed so basic I wanted to know how it was being set :S thanks, Andy. Hi Andy, I had to look at the Camel book although it isn't explicit, it seems like the script inherits the environment of the calling process i.e Apache in this case. Apache sets the environment with SetEnv (or at least 1.3 does, I don't run 2*) as it can't inherit one from user www since it doesn't have one. So have you had a look at httpd.conf and .htaccess on each machine? BTW, one machine uses an old PATH with /usr/X11R6/bin in it. That disappeared some time ago. That may or may not be a clue. In short, I think this is probably an Apache question you might have more informative answers from there. Sorry I can't be more helpful but quite a few Apache people run FreeBSD and they're likely to be more help than I am. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: gnome-keyring
Peter Boosten wrote: Mitja wrote: Update of gnome-keyring: [snip] Stop in /usr/ports/security/gnome-keyring. I think this might be the solution to your problem (from /usr/ports/UPDATING): quote 20090110: AFFECTS: users of GNOME and GTK+ AUTHOR: gn...@freebsd.org GNOME has been updated to 2.24.x. You have to deinstall a few ports first before using portupgrade or portmaster in order to successfully upgrade your GNOME installation. After successfully upgrade, you have to reinstall gnome-session so the gnome.desktop session file is properly installed. Portupgrade users: # pkgdb -Ff (Answer yes to unregister gail while keeping gtk20.) (Answer yes to unregister fast-user-switch-applet while keeping gdm.) # pkg_deinstall -fO gtkmm-2.12\* # portupgrade -aOW # portupgrade -f gnome-session Portmaster users: # pkg_delete -f gtkmm-2.12\* # portmaster -a # portmaster gnome-session /quote Peter oh, sorry, i replied to the poster only, not group. this was related to perl update, and seems it would affect most ports that use perl to build, not just gnome-keyring. in UPDATING 20090113: AFFECTS: users of lang/perl5.8 AUTHOR: s...@freebsd.org lang/perl5.8 has been updated to 5.8.9. You should update everything depending on perl. The easiest way to do that is to use perl-after-upgrade script supplied with lang/perl5.8. Please see its manual page for details rgds ___ 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: gnome-keyring
On Sunday 18 January 2009 21:58:43 Peter Boosten wrote: Mitja wrote: Update of gnome-keyring: [snip] Stop in /usr/ports/security/gnome-keyring. I think this might be the solution to your problem (from /usr/ports/UPDATING): quote 20090110: AFFECTS: users of GNOME and GTK+ AUTHOR: gn...@freebsd.org GNOME has been updated to 2.24.x. You have to deinstall a few ports first before using portupgrade or portmaster in order to successfully upgrade your GNOME installation. After successfully upgrade, you have to reinstall gnome-session so the gnome.desktop session file is properly installed. Portupgrade users: # pkgdb -Ff (Answer yes to unregister gail while keeping gtk20.) (Answer yes to unregister fast-user-switch-applet while keeping gdm.) # pkg_deinstall -fO gtkmm-2.12\* # portupgrade -aOW # portupgrade -f gnome-session Portmaster users: # pkg_delete -f gtkmm-2.12\* # portmaster -a # portmaster gnome-session /quote Peter It was perl-after-upgrade -f Thank you. -- Mitja __ They say when you play a Microsoft CD backwards you can hear satanic messages...but that's nothing, if you play it forward it will install Windows! ** http://www.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: PATH used by www user
Hi Frank, thanks a lot for looking into it. Yes one server is an older FreeBSD 6.1, the other 7.0 so they certainly aren't identical servers. But they do have same version of apache (2.2.9) and same version of the perl script, and as far as I can tell same config for default PATH etc. I had a look and there doesnt appear to be anything setting the path in the apache conifg, perhaps it could be a compiled in default path?! I'll ask the apache experts and see if they can help, thanks again, Andy. Quoting Frank Shute fr...@shute.org.uk: Hi Andy, I had to look at the Camel book although it isn't explicit, it seems like the script inherits the environment of the calling process i.e Apache in this case. Apache sets the environment with SetEnv (or at least 1.3 does, I don't run 2*) as it can't inherit one from user www since it doesn't have one. So have you had a look at httpd.conf and .htaccess on each machine? BTW, one machine uses an old PATH with /usr/X11R6/bin in it. That disappeared some time ago. That may or may not be a clue. In short, I think this is probably an Apache question you might have more informative answers from there. Sorry I can't be more helpful but quite a few Apache people run FreeBSD and they're likely to be more help than I am. This message was sent using IMP, the Internet Messaging Program. ___ 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
monitor DG965 montherbaord
Hiya folks I want to monitor the fans and temperatures on a Intel DG965 motherbaord. I have added the coretamp driver to get temps from the dual core CPU, but so far I cannot find a way to get the motherboard temperatures. I normally use mbmon for this, works well on other (older) motherboards. FreeBSD 7R -- DA Fo rsythNetwork Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/ ___ 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
/ mounted read-only after error in /etc/rc.conf
I made a typing error when chanign /etc/rc.conf (linux_enable=YES) when rebooting the system, the boot stops /etc/rc.conf: 22: Syntax error: Unterminated quote string Enter full pathname of shell or RETURN for /bin/sh: # this leaves me with /dev/ds0s1a on / (ufs, local, read-only) since / is read-only I can not edit /etc/rc.conf to correct the error. How to solve this? ___ 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: / mounted read-only after error in /etc/rc.conf
Pieter Donche wrote: I made a typing error when chanign /etc/rc.conf (linux_enable=YES) when rebooting the system, the boot stops /etc/rc.conf: 22: Syntax error: Unterminated quote string Enter full pathname of shell or RETURN for /bin/sh: # this leaves me with /dev/ds0s1a on / (ufs, local, read-only) since / is read-only I can not edit /etc/rc.conf to correct the error. How to solve this? Try: # mount -u / Which will try to re-mount the / partition as read/write. Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
/ mounted read-only after error in /etc/rc.conf
Pieter Donche writes: I made a typing error when chanign /etc/rc.conf (linux_enable=YES) when rebooting the system, the boot stops /etc/rc.conf: 22: Syntax error: Unterminated quote string Enter full pathname of shell or RETURN for /bin/sh: # this leaves me with /dev/ds0s1a on / (ufs, local, read-only) since / is read-only I can not edit /etc/rc.conf to correct the error. How to solve this? 1) boot to single user mode 2) (if necessary) mount /usr by hand to get access to favorite editor 3) edit rc.conf 4) re-boot Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Recommendations on reliable home fileserver hardware?
Clifton Royston wrote: I'd consider running a Mac Mini (tiny, silent, s/b reliable) if it weren't for needing 2+ drives for mirroring. this would work fine with gmirror using usb/firewire drives. there is also the droboshare. great little fileserver. aopen cubes run great. i've had one since 2005, runs quiet with two fans. they fully support freebsd and it can be more than a fileserver. its about the size of a two slice toaster. it runs below 25db of noise. I'm comfortable either building my own system, or buying a packaged system if it offers better value. Any advice would be welcomed. -- Clifton ___ 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
swap_pager_getswapspace(7): failed
Здравствуйте, Questions. Jan 19 17:00:01 kes kernel: swap_pager_getswapspace(7): failed Jan 19 17:00:01 kes kernel: swap_pager_getswapspace(16): failed Jan 19 17:00:01 kes kernel: swap_pager_getswapspace(16): failed Jan 19 17:00:01 kes kernel: swap_pager_getswapspace(4): failed How to detect which process eat all swap space? -- С уважением, KES mailto:kes-...@yandex.ru ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
freebsd-update fetching files failed
a funny thing happened on wat to 7.1 today (from 7.0-p6): # freebsd-update upgrade -r 7.1-RELEASE Looking up update.FreeBSD.org mirrors... 2 mirrors found. Fetching metadata signature for 7.0-RELEASE from update2.FreeBSD.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. Inspecting system... done. The following components of FreeBSD seem to be installed: ... Does this look reasonable (y/n)? y Fetching metadata signature for 7.1-RELEASE from update2.FreeBSD.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. Inspecting system... done. Fetching files from 7.0-RELEASE for merging... done. Preparing to download files... done. Fetching 17537 patches.102030405060708090100 ... 412041304140. done. Applying patches... done. Fetching 12842 files... failed. failed? at this point i couldn't think of anything else to do but try again: # freebsd-update upgrade -r 7.1-RELEASE Looking up update.FreeBSD.org mirrors... 2 mirrors found. Fetching metadata signature for 7.0-RELEASE from update2.FreeBSD.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. Inspecting system... done. The following components of FreeBSD seem to be installed: ... Does this look reasonable (y/n)? y Fetching metadata signature for 7.1-RELEASE from update2.FreeBSD.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. Inspecting system... done. Fetching files from 7.0-RELEASE for merging... done. Preparing to download files... done. Fetching 7292 patches.102030405060708090100110 ... 20302040205020602070208020902100.. done. Applying patches... done. Fetching 5549 files... done. Attempting to automatically merge changes in files... done. so i'm assuming a network error during the download of the fetching files in the first attempt. but... it seems odd. if 17537 patches were downloaded...done, i.e. sucessfully, how come the second attempt downloads an additional 7292 patches? the road continues... The following file could not be merged automatically: /etc/hosts Press Enter to edit this file in vi and resolve the conflicts manually... so then i go through the manual merging of config files and later i am asked to confirm the changes: The following changes, which occurred between FreeBSD 7.0-RELEASE and FreeBSD 7.1-RELEASE have been merged into /etc/hosts: ... Does this look reasonable (y/n)? n i answered 'n' and freebsd-update turned its back on me like a huffy teenager. if it didn't want to know the truth, why did it ask? a parting message to suggest what i might do next would have been welcome. ___ 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: Experience with DELL PowerEdge 2900
On Sun, Jan 18, 2009 at 06:59:02PM +0100, Tobias Daub wrote: Hi There, I'm pretty new to UNIX/FreeBSD and I'm going to install and administrate FreeBSD on a DELL PowerEdge 2900. Does anybody have experience with that machine, or are there any known problems, for example: - Perc RAID Controller - attaching an APC to the machine and configuring the corresponding software - ACPI Should be no serious problem. I have loaded up a few 2950-s, same thing in a rack mount. The only problem I had was figuring out the device name for the disks. It has been more than a year, so my memory is fogging a little. But, it seems like dmesg showed both the individual disk devices and the raid device and you could address them either way and I errantly addressed the disk instead of the raid when I first tried to do something with them. Once I figured out what was happening by studying the dmesg more carefully, all was well. The only other thing is that the DRAC is less than hoped for if you got it with one. It really wants to live in MS land and seems to want for security. It was like the people building those DRACs have never heard of anything but MS 'networking' stuff, barely know that the internet exists or that wide open, non-protected connections in to the heart of your system might actually be attacked by some unfriendly entity. I have heard that the code for them has been updated a few times, so it might be a little better, but I won't hold my breath. Anyway, the DRACs don't affect the operation of the rest of the machine as long as you leave them unplugged from the net. So, 2900 should run FreeBSD just fine. jerry Thanks alot! Tobias ___ 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: Embedded scripting language advice sought
On Sun, Jan 18, 2009 at 06:41:59PM -0500, Linda Messerschmidt wrote: For a project I'm working on, I need to find an scripting language, and I have a long wishlist: Oh Oh, you're going to start a religious war now. Well, good luck and be ready to take everything you hear with a shovelful of salt or preferrably maybe something either mindnumbing or psychodelic. jerry - able to be easily embedded in a C++ application - real object-oriented with inheritance (preferably multiple inheritance) - able to implement object methods in C++ where needed - sandbox operation (e.g. ability to suppress any file I/O system libraries, but keep math and string libraries) - thread-safe, or, at least able to have multiple coexisting execution contexts in one running process - relatively user-friendly syntax (i.e. (not (lisp (based - has to build and embed on FreeBSD This is a mathematical model, and the goal is to write certain high-performance parts in C++, but to provide the user a command-line style interface where they can explore interactively, examine/tweak data values, etc, and then override certain behavior by subclassing from the C++ base classes using the scripting language to see how it affects the next model iteration. One thread is handling the model calculations, and one handles the user's exploration, with appropriate synchronization when changes are made. (We are doing this already, but since the code is C++, only the data can be edited while it's running and inspection is limited to our hacky pseudo-language.) The obvious choice for this was Lua; it hits a lot of the marks, but not all of them and not all well. I got as far as creating a Lua object in C++ that exposes some core functionality, which is great, but when it comes to inheritance, and especially multiple inheritance, Lua's object model wasn't thrilling me. Also, it uses setjmp for error handling, which I'm worried will mess around with C++ exceptions; they are already fragile enough in threaded applications. I do like Lua, but I'd really rather find an embedded scripting language designed from the start to support OO, if one exists. Are there other alternatives I should look at? Lua is to C as __ is to C++? I tried to give Guile a look but a quick poll of the users vetoed the syntax. Lua is clearly ahead in the user-friendly department. I also wondered if Python would be a good choice, but I'm just not sure about how well it handles having new code generated more or less on the fly in the middle of a running application. I somewhat suspect that if it were done in Python, it would end up being a Python app with C++ add-ins, rather than a C++ app with an embedded scripting language. That isn't a deal-breaker, of course, as long as it works; results matter. That's not exactly lightweight though, and I'm not sure if (or how) Python sandboxes. One last wouldn't it be nice wish... If the user creates something they particularly like on the fly, compositing up an object a piece at a time on the command line, it would be just grand if the scripting language were able to reproduce a class definition for that arbitrary object that could be saved or tweaked for later reference and reuse. If not, we'll just have to abstract the editing process enough to keep one ourselves, which would probably be a bit user-unfriendly but hardly the end of the world. But with a wishlist this long and exotic, I'm afraid the question here is not whether something can do it all, but how disappointed I'm going to be. :-( I'm grateful for any language suggestions or feedback. Is Lua as close as we can get? Python? Other?! Thanks! -LM ___ 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: Experience with DELL PowerEdge 2900
Jerry McAllister wrote: On Sun, Jan 18, 2009 at 06:59:02PM +0100, Tobias Daub wrote: Hi There, I'm pretty new to UNIX/FreeBSD and I'm going to install and administrate FreeBSD on a DELL PowerEdge 2900. Does anybody have experience with that machine, or are there any known problems, for example: - Perc RAID Controller - attaching an APC to the machine and configuring the corresponding software - ACPI Should be no serious problem. I have loaded up a few 2950-s, same thing in a rack mount. The only problem I had was figuring out the device name for the disks. It has been more than a year, so my memory is fogging a little. But, it seems like dmesg showed both the individual disk devices and the raid device and you could address them either way and I errantly addressed the disk instead of the raid when I first tried to do something with them. Once I figured out what was happening by studying the dmesg more carefully, all was well. in my case, it shows a list of devices daX-daXn then the raid device as the total space, of course this is only if the raid was configured in the bios to begin with. #http://lh5.ggpht.com/_0o9aKBCt5DY/RuME-dMAV0I/AC0/6EqgQQmDa0Q/office1.jpg# both of my 2900s run freebsd perfectly, all cores supported and 64G ram each. my drac worked fine as well... ymmv. i did have to rebuild the kernel and specify the number of cpu with the 6.x branch, 7R also. 8 runs great. esx also runs great and you could run your freebsd system in that, i've done that on one of the 2900s. also worthy of note is that freebsd will run excellent even in vmware workstation as long as you have a fair amount of ram. using these machines to their full potential is an excellent idea, virt does that pretty well. The only other thing is that the DRAC is less than hoped for if you got it with one. It really wants to live in MS land and seems to want for security. It was like the people building those DRACs have never heard of anything but MS 'networking' stuff, barely know that the internet exists or that wide open, non-protected connections in to the heart of your system might actually be attacked by some unfriendly entity. I have heard that the code for them has been updated a few times, so it might be a little better, but I won't hold my breath. Anyway, the DRACs don't affect the operation of the rest of the machine as long as you leave them unplugged from the net. So, 2900 should run FreeBSD just fine. jerry Thanks alot! Tobias ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Recommendations on reliable home fileserver hardware?
On Mon, Jan 19, 2009 at 10:13 AM, michael michael.copel...@gmail.com wrote: Clifton Royston wrote: I'd consider running a Mac Mini (tiny, silent, s/b reliable) if it weren't for needing 2+ drives for mirroring. this would work fine with gmirror using usb/firewire drives. there is also the droboshare. great little fileserver. aopen cubes run great. i've had one since 2005, runs quiet with two fans. they fully support freebsd and it can be more than a fileserver. its about the size of a two slice toaster. it runs below 25db of noise. I'm comfortable either building my own system, or buying a packaged system if it offers better value. Any advice would be welcomed. -- Clifton As a heads up, if you do this, do NOT use the Western Digital MyBooks...I tried this...and gave up and got a D-Link NAS. The MyBooks sleep after no activity, and I was getting serious corruption. --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ 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
Advice for dump/restore over SSH
Hi everyone, I'm having difficulties trying to clone a FreeBSD 7.1 PC to another exact same PC over SSH. There is my the things I tried: I found that link http://devpit.org/wiki/Dump_and_Restore_over_SSH which seemed exactly what I wanted. The problem is that FreeSBIE is not working on this PC (Dell Vostro 220 Slim). It seems to be a problem with the disk controler (can't mount the / partition). So, I decided to install a minimal FreeBSD 7.1 on the PC to be cloned. I'm trying to dump/restore the /usr partition but I got warnings with the files already being present and it finally crashed SSHd just after transfering /usr/lib/libssl.so. After that, there is nothing to do with the PC, SSHd refuse to restart (segmentation fault). The other soon to be a problem is to dump/restore the / partition (the kernel and the others currently used files). My question is how do you clone PC over SSH (it would be too much a PITA to open each case to plug the HD directly in the source PC). Thanks a lot for sharing, Martin ___ 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: Advice for dump/restore over SSH
On Mon, Jan 19, 2009 at 12:34:26PM -0500, FreeBSD wrote: My question is how do you clone PC over SSH (it would be too much a PITA to open each case to plug the HD directly in the source PC). Would it have to be ssh? Why not just use netcat [nc(1)] if both machines are on your local network? Try something like: destination machine, booted e.g. from CD newfs /dev/foo mount /dev/foo /mntroot cd /mntroot nc -l 65000| restore -rvf - source machine dump -0 -a -C 8 -L -u -f - / | nc dest 65000 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) pgpAvBJ2iBcr8.pgp Description: PGP signature
Re: Advice for dump/restore over SSH
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roland Smith wrote: On Mon, Jan 19, 2009 at 12:34:26PM -0500, FreeBSD wrote: My question is how do you clone PC over SSH (it would be too much a PITA to open each case to plug the HD directly in the source PC). Would it have to be ssh? Why not just use netcat [nc(1)] if both machines are on your local network? Try something like: destination machine, booted e.g. from CD newfs /dev/foo mount /dev/foo /mntroot cd /mntroot nc -l 65000| restore -rvf - source machine dump -0 -a -C 8 -L -u -f - / | nc dest 65000 Roland Your answer is perfectly correct, but a couple of reasons makes me want to point up a tried true tool like rsync. It'll do what the man wants while using ssh to cover security, give really nice running feedback (if the user likes that sort of thing, I do), and because it's basically a lot less general a tool than netcat, it's a bunch simpler for an occaisonal user to figure out the parameters on ... it's made precisely for this sort of job. Of course, it happens to be true that, if you are going to really spend the time to learn one of them, your time'd probably be better spent with netcat, it's got many more things it can do, but like I said, for an occaisonal user, well, I wouldn't have recommended that. Of course, a not terribly big shell script could make nc look like rsync. Reverse isn't true. Just wanted to offer a simpler option. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkl0v5MACgkQz62J6PPcoOlZdACfXxFS+7SclI6Il/6fXYOgd6Vl JsYAn2MhB/5x9VH4JvnVwxWsDHi8SF4N =jKWP -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: Advice for dump/restore over SSH
On Mon, Jan 19, 2009 at 12:34:26PM -0500, FreeBSD wrote: I'm having difficulties trying to clone a FreeBSD 7.1 PC to another exact same PC over SSH. There is my the things I tried: I found that link http://devpit.org/wiki/Dump_and_Restore_over_SSH which seemed exactly what I wanted. The problem is that FreeSBIE is not working on this PC (Dell Vostro 220 Slim). It seems to be a problem with the disk controler (can't mount the / partition). So, I decided to install a minimal FreeBSD 7.1 on the PC to be cloned. I'm trying to dump/restore the /usr partition but I got warnings with the files already being present and it finally crashed SSHd just after transfering /usr/lib/libssl.so. After that, there is nothing to do with the PC, SSHd refuse to restart (segmentation fault). It sounds like you're trying to restore onto the non-empty /usr partition while running programs from that partition. I don't think that is ever likely to work, and I'm not surprised that your sshd crashes and won't restart when you've replaced some-but-not-all of its files. You should restore non-incremental dump backups onto a file system made freshly empty with newfs, which you can do if you bring the system up in single-user mode or boot it from other media like a live CD. This is why the FreeSBIE CD is an essential part of the plan at the link you posted. You will probably have to start again from scratch on the PC you're cloning onto; find some media you can boot it from, or install it to where you can bring it up in single-user and run some listener which is simpler than sshd. -- Clifton -- Clifton Royston -- clift...@iandicomputing.com / clift...@lava.net President - I and I Computing * http://www.iandicomputing.com/ Custom programming, network design, systems and network consulting services ___ 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: disabling queuewarn DSN when mailhub delivers to specific host
On Jan 18, 2009, at 12:53 AM, Scott Aitken wrote: If my exchange server is down for whatever reason, after confTO_QUEUEWARN expires my mailhub sends the sender a delay DSN. Because I consider this mail to have already been accepted into my network, and has been delivered locally at least, can I configure sendmail to NOT send the DSN? Add: define(`confTO_QUEUEWARN', `6d')dnl ...to your sendmail.mc and rebuild sendmail.cf; this will change the DSN warning period to be longer than the (standard) bounce time, so no warning DSNs will be generated until the final bounce. This is not considered to be good practice, as most people would like a warning that the email they tried to send has not been delivered to the intended recipient sooner than that. (Most people seem to want email to resemble IM in terms of speed, so even a delay of a few minutes bothers some) Specifically I would like to do this on a per-host basis (ie, turn it off when delays to the exchange server occur, but not for other (future) servers). I don't believe you can configure different timeouts for different destinations short of setting up multiple sendmail installations with different configs. I would still like delay DSNs sent from other mail Internet servers to get though to my local users too. Not a problem, aside from the fact that any DSNs someone else sends are going to be delayed just like all other mail if your Exchange server is down... Regards, -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
DUMP: read error: Bad address
Hi folks-- I have an amd64 machine with two drives. I've got my system set up on ad8, and I'm building a RAID0 array using gvinum that will span ad8 and ad10. So for now, I have partitions on ad8 plus a set of volumes on ad10 that I want to move all my data to. Today I was doing a test move of all the data, using dump | restore like this: # dump -0aL -f - /var | ( cd /mnt/var restore -rf - ) I got about a dozen messages like this: DUMP: read error from /dev/ad8s1d: Bad address: [block 10992192]: count=5120 What is causing this message, and is it a cause for alarm? Here's my bsdlabel for ad8s1: # /dev/ad8s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 104857604.2BSD 2048 16384 8 b: 4123872 1048576 swap c: 4882795470unused0 0 # raw part, don't edit d: 104857600 51724484.2BSD 2048 16384 28528 e: 2097152 1100300484.2BSD 2048 16384 28528 f: 376152347 1121272004.2BSD 2048 16384 28528 Thanks in advance for any help. 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
@Scott Aitken, was: disabling queuewarn DSN when mailhub delivers to specific host
Scott, both of the email addresses you mentioned are undeliverable: Begin forwarded message: From: mailer-dae...@mail-out3.apple.com (Mail Delivery System) Date: January 19, 2009 10:19:18 AM PST To: cswi...@mac.com Subject: Undelivered Mail Returned to Sender This is the mail system at host mail-out3.apple.com. I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to postmaster. If you do so, please include this problem report. You can delete your own text from the attached returned message. The mail system freebsd-list...@thismonkey.com: host server-03.thismonkey.com[202.10.7.253] said: 550 5.7.1 freebsd-list...@thismonkey.com... Relaying denied (in reply to RCPT TO command) Reporting-MTA: dns; mail-out3.apple.com X-Postfix-Queue-ID: 004E94D12D0D X-Postfix-Sender: rfc822; cswi...@mac.com Arrival-Date: Mon, 19 Jan 2009 10:19:02 -0800 (PST) Final-Recipient: rfc822; freebsd-list...@thismonkey.com Original-Recipient: rfc822;freebsd-list...@thismonkey.com Action: failed Status: 5.7.1 Remote-MTA: dns; server-03.thismonkey.com Diagnostic-Code: smtp; 550 5.7.1 freebsd-list...@thismonkey.com... Relaying denied From: Chuck Swiger cswi...@mac.com Date: January 19, 2009 10:19:01 AM PST To: freebsd-list...@thismonkey.com Subject: Re: disabling queuewarn DSN when mailhub delivers to specific host You should note that your sending address, sc...@thismonkey.com, bounces: -- This is the mail system at host mail-out4.apple.com. I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to postmaster. If you do so, please include this problem report. You can delete your own text from the attached returned message. The mail system sc...@thismonkey.com: host server-03.thismonkey.com[202.10.7.253] said: 550 5.7.1 sc...@thismonkey.com... Relaying denied (in reply to RCPT TO command) Reporting-MTA: dns; mail-out4.apple.com X-Postfix-Queue-ID: D16794F3F139 X-Postfix-Sender: rfc822; cswi...@mac.com Arrival-Date: Mon, 19 Jan 2009 10:17:06 -0800 (PST) Final-Recipient: rfc822; sc...@thismonkey.com Original-Recipient: rfc822;sc...@thismonkey.com Action: failed Status: 5.7.1 Remote-MTA: dns; server-03.thismonkey.com Diagnostic-Code: smtp; 550 5.7.1 sc...@thismonkey.com... Relaying denied From: Chuck Swiger cswi...@mac.com Date: January 19, 2009 10:17:06 AM PST To: Scott Aitken sc...@thismonkey.com Cc: freebsd-questions@freebsd.org Subject: Re: disabling queuewarn DSN when mailhub delivers to specific host ___ 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: Experience with DELL PowerEdge 2900
On Sun, Jan 18, 2009 at 06:59:02PM +0100, Tobias Daub wrote: Hi There, I'm pretty new to UNIX/FreeBSD and I'm going to install and administrate FreeBSD on a DELL PowerEdge 2900. Does anybody have experience with that machine, or are there any known problems, for example: - Perc RAID Controller - attaching an APC to the machine and configuring the corresponding software I don't use a Dell but I use an APC smartUPS 750 which works fine. It's monitored over usb and it uses sysutils/apcupsd installed from ports. I'm sure your Dell will work fine with any smart APC and apcupsd. - ACPI Thanks alot! Tobias Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Advice for dump/restore over SSH
On Mon, Jan 19, 2009 at 12:59:47PM -0500, Chuck Robey wrote: Your answer is perfectly correct, but a couple of reasons makes me want to point up a tried true tool like rsync. It'll do what the man wants while using ssh to cover security, give really nice running feedback (if the user likes that sort of thing, I do), and because it's basically a lot less general a tool than netcat, it's a bunch simpler for an occaisonal user to figure out the parameters on ... it's made precisely for this sort of job. I love rsync for making backups of huge partitions with slowly changing data. It's absolutely brilliant for that. But in this situation I would not recommend it: 1) The dump/restore combo is the _only_ alternative that supports all the features of UFS2 without special options (e.g. flags, ACLs). 2) Rsync will leave old crap on the destination drive, unless you specifiy the --delete option to rsync, or if you wipe the destination drive beforehand, in which case rsync's overhead is useless. 3) Rsync will not tranfers file flags unless compiled with a patch, which is _not_ the default. 4) nc is wickedly fast. When transferring files between my laptop and desktop it easily saturates the 100 Mbit link between them :) 5) Rsync is in ports, which kinda sucks if you have a broken install and need to start from a boot/rescue CD. Dump, restore and nc are part of the base system. 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) pgpEHKeGHaIxb.pgp Description: PGP signature
Port 7070
I just ran a netcat (nc -z) on my production servers and found an unusual response: Connection to 7070 port [tcp/arcp] succeeded! I checked on all my production and test servers (7.0 stable as of quite some time ago) and got the same response. I can't figure out why that port is open. It always returns a reset when a connection is opened. netstat -an does not return any 7070 entries. sockstat does not show any 7070 entries. There is no 7070 entry in /etc/services. ktrace of inetd shows nothing. tcpdump on the server shows the SYN and RST packets only. tcpdump on the client machine shows a complete TCP negotiation completion followed by a termination. The client is going across the internet. Running the client on a machine on the servers LAN shows that the port is not open. And tcpdump from both shows only a SYN followed by a RST. This indicates that some router between the original client and the servers is accepting the connection and then forwarding it on. This doesn't happen on other ports (although there may be a couple others I haven't chased down yet though). The only router we have in the path is a Cisco 2501 running a 2000 vintage IOS with nothing like that in its configuration. Its a simple pass everything through setup. Any ideas what is happening here? ___ 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 fetching files failed
Tom Worster wrote: a funny thing happened on wat to 7.1 today (from 7.0-p6): # freebsd-update upgrade -r 7.1-RELEASE Have you tried freebsd-update -r 7.0-RELEASE upgrade? I am not sure it makes a difference, but at any rate, as far as I know, this is the right syntax. -- Tore ___ 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
Mailman moderator against ldap....
Hi guys... I have a question regarding mailman We have it installed in our freebsd and we have lots of lists for which all we (admins) are owners and the person who requests the list is the moderator...So our implementation is using phpchain and creating password for moderator...send it to him/her and save the random admin pass for us in phpchain I was wondering if there is a way to include ldap in this...so we can remove this phpchain and moderator pass...Instead use the ldap credentials Any hints, suggestions appreciated Cheers, ___ 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: Heimdal 0.6.3 in FreeBSD 7.1
Is there any chance that a more recent version of heimdal would be included in a future release of FreeBSD? The current version is pretty archaic. Meanwhile, you can always install the security/heimdal port. http://www.freebsd.org/cgi/url.cgi?ports/security/heimdal/pkg-descr heimdal-1.0.1 A popular BSD-licensed implementation of Kerberos 5 Long description : Sources : Changes : Download Maintained by: sh...@freebsd.org Also listed in: ipv6 Requires: libtool-1.5.26 HTH, DA+ -- David Robillard UNIX team leader Oracle DBA CISSP, RHCE, SCSA SCSECA Montreal: +1 514 966 0122 If you receive something that says Send this to everyone you know, then please pretend you don't know me. ___ 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
Webinar: Learning About CRM
Your invitation to join our webinar: Everything you always wanted to know about CRM (But Were Afraid to Ask) Thu, Jan 22, 2009 No cost to attendees, but space is limited. Sign up here: http://online.intelestream.net/em/link.php?M=384123N=205L=39F=T Intelestream's Chief Operating Officer Richard Baldwin will address five key aspects of CRM with which all businesses should be familiar: - Defining CRM and why businesses use it - CRM processes involving sales, marketing, customer support, e-commerce, and reporting - Implementation best practices and encouraging user adoption - Customizations, maintenance, and enhancement - Overview of the CRM marketplace: matching specific business needs with the right CRM platform There will be a question and answer session focusing on the specific business case scenarios of attendees. More about Intelestream To learn more about Intelestream, go to www.intelestream.net Click this link to unsubscribe: http://online.intelestream.net/em/unsubscribe.php?M=384123C=485bf30db6d31bf5795154416466427fL=8N=205 ___ 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 fetching files failed
On 1/19/09 4:00 PM, Tore Lund t...@next.online.no wrote: Tom Worster wrote: a funny thing happened on wat to 7.1 today (from 7.0-p6): # freebsd-update upgrade -r 7.1-RELEASE Have you tried freebsd-update -r 7.0-RELEASE upgrade? I am not sure it makes a difference, but at any rate, as far as I know, this is the right syntax. i was following these instructions: http://www.freebsd.org/releases/7.1R/announce.html but your suggestion is in line with the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading -freebsdupdate.html#FREEBSDUPDATE-UPGRADE in any case, repeating the command got me there in the end. or so it seems. ___ 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: Experience with DELL PowerEdge 2900
Le 18/01/2009 à 18:59:02+0100, Tobias Daub a écrit Hi There, I'm pretty new to UNIX/FreeBSD and I'm going to install and administrate FreeBSD on a DELL PowerEdge 2900. Does anybody have experience with that machine, or are there any known problems, for example: - Perc RAID Controller - attaching an APC to the machine and configuring the corresponding software - ACPI I've many 2900 running with FreeBSD 7.1 -- Perc Raid Controller works fine, you got many information in the syslog, for example when the patrol (something the Perc does to check the status) is launch you got Jan 17 03:00:06 xxx kernel: mfi0: 7535 (285476400s/0x0020/info) - Patrol Read started Jan 17 09:42:11 xxx kernel: mfi0: 7624 (285500525s/0x0020/info) - Patrol Read complete of course you have all information about the status of your raid. With some little script like zgrep mfi /var/log/message in your crontab you can known when one disk is in failure. Perhaps you going to have some problem when you installing the raid volume because the FreeBSD installer (in 7.0) cannot make a primary partition on the raid volume. So you just need to make the newfs directly on the all volume For example : /dev/mfid0s1a 507630220220 246800 47%/ /dev/mfid0s1e 16244334 4091194 10853594 27% /usr /dev/mfid0s1d 507630 9194 457826 2%/tmp /dev/mfid0s1f9135182 916088312760 1%/var /dev/mfid0s1g 32493962784484 29109962 3% /share /dev/mfid13545005696 399709368 2861695874 12% /databases is the only problem I found. But it's not big problem. -- APC it's very easy to use cd /usr/ports/sysutils/apcupsd make install and configure the apcupsd that's all. -- ACPI : well what's you want to known ? For me when I push the button on the server FreeBSD make clean shutdown, when I use shutdown -p now FreeBSD make clean poweroff. It's all I need... HTH Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Téléphone : 01 45 07 76 26 Heure local/Local time: Lun 19 jan 2009 23:03:55 CET ___ 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
Question in regards root
Hi, Just wondering if you can help. The permissions have been changed and now I can no longer login as root, it comes up and says login: Could not determine audit condition. I am wondering if there is a command to get around this to become root so I can make the changes to the permissions etc? Hope you can help. Thank you, Trevor ___ 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
Installing FreeBSD 7.1 on a Dell Inspiron 530s - HELP!
Hi, I just got a new Dell Inspiron 530s, and am having some trouble getting FreeBSD 7.1 installed on it. When I boot up from the CD, after it detects all of the disks, I start getting messages like: acd0: TIMEOUT - READ_BIG retrying (1 retry left) and so on. Google results suggested that I disable ACPI from the boot menu. This works insofar as I get to the installation menu; however, when I go to partition the disk, it says that no disks were found. Is there a way I can disable ACPI, but set some boot-time variables to help the system find the disk controller? I'm in the process of creating a LiveCD to see if acpidump might help isolate just what the problem is, but if anyone has some advice in the meantime, I'd greatly appreciate it. Thanks, Patrick ___ 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: Installing FreeBSD 7.1 on a Dell Inspiron 530s - HELP!
Booting in safe-mode doesn't have the TIMEOUT - READ_BIG messages, but instead I get an interrupt storm detected. The LiveCD didn't work because when I boot with ACPI disabled, no disks are detected which means that I cannot mount the LiveCD. :( On Mon, Jan 19, 2009 at 2:19 PM, patrick gibblert...@gmail.com wrote: Hi, I just got a new Dell Inspiron 530s, and am having some trouble getting FreeBSD 7.1 installed on it. When I boot up from the CD, after it detects all of the disks, I start getting messages like: acd0: TIMEOUT - READ_BIG retrying (1 retry left) and so on. Google results suggested that I disable ACPI from the boot menu. This works insofar as I get to the installation menu; however, when I go to partition the disk, it says that no disks were found. Is there a way I can disable ACPI, but set some boot-time variables to help the system find the disk controller? I'm in the process of creating a LiveCD to see if acpidump might help isolate just what the problem is, but if anyone has some advice in the meantime, I'd greatly appreciate it. Thanks, Patrick ___ 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: Advice for dump/restore over SSH
On Mon, Jan 19, 2009 at 05:43:56PM -0500, Freebsd wrote: Sounds pretty interesting to me but i couldn't test right now. As nc is in /usr/bin how will i not face the same problem as with ssh? Can you point me to a freebsd live cd that has nc included? The 7.0-RELEASE livefs CD that I had lying around has nc on it. As does the 6.1-RELEASE disc 1 that I also found. So I think all install/lifefs images have nc. I suggest that you get e.g. 7.1-RELEASE-i386-livefs.iso or 7.1-RELEASE-amd64-livefs.iso (depending on your hardware architecture) from your nearest ftp mirror. 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) pgpGjcCcNeCeh.pgp Description: PGP signature
Re: Question in regards root
On Tue, 20 Jan 2009 08:48:08 +1100 (EST), Trevor Smolinski ad...@hellotoslev.com wrote: Hi, Just wondering if you can help. The permissions have been changed and now I can no longer login as root, it comes up and says login: Could not determine audit condition. I am wondering if there is a command to get around this to become root so I can make the changes to the permissions etc? This error is returned by the auditon() system call when your kernel returns ENOSYS (No such system call) for the auditon() call. It looks like you are running a kernel that does not support auditing but a /usr/bin/login binary that includes audit(4) related calls. If you recently rebuild your kernel to remove AUDIT support, you should install an up to date userland too. ___ 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: Advice for dump/restore over SSH
Le 09-01-19 à 12:46, Roland Smith rsm...@xs4all.nl a écrit : On Mon, Jan 19, 2009 at 12:34:26PM -0500, FreeBSD wrote: My question is how do you clone PC over SSH (it would be too much a PITA to open each case to plug the HD directly in the source PC). Would it have to be ssh? Why not just use netcat [nc(1)] if both machines are on your local network? Try something like: destination machine, booted e.g. from CD newfs /dev/foo mount /dev/foo /mntroot cd /mntroot nc -l 65000| restore -rvf - source machine dump -0 -a -C 8 -L -u -f - / | nc dest 65000 Roland -- Sounds pretty interesting to me but i couldn't test right now. As nc is in /usr/bin how will i not face the same problem as with ssh? Can you point me to a freebsd live cd that has nc included? Thanks a lot for your help Martin___ 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
You've received A Hallmark E-Card!
[1]Hallmark.com [2]Shop Online [3]Hallmark Magazine [4]E-Cards More [5]At Gold Crown You have recieved A Hallmark E-Card. Hello! You have recieved a Hallmark E-Card. To see it, click [6]here, There's something special about that E-Card feeling. We invite you to make a friend's day and [7]send one. Hope to see you soon, Your friends at Hallmark Your privacy is our priority. Click the Privacy and Security link at the bottom of this E-mail to view our policy. [8]Hallmark.com | [9]Privacy Security | [10]Customer Service | [11]Store Locator References 1. http://www.hallmark.com/ 2. http://www.hallmark.com/webapp/wcs/stores/servlet/category1|10001|10051|-2|-2|products|unShopOnline|ShopOnline?lid=unShopOnline 3. http://www.hallmark.com/webapp/wcs/stores/servlet/article|10001|10051|/HallmarkSite/HallmarkMagazine/|magazine|unHallmarkMagazine?lid=unHallmarkMagazine 4. http://www.hallmark.com/webapp/wcs/stores/servlet/category1|10001|10051|-1020!01|-102001|ecards|unEcardandMore|E-Cards?lid=unEcardandMore 5. http://www.hallmark.com/webapp/wcs/stores/servlet/article|10001|10051|/HallmarkSite/GoldCrownStores/|stores|unGoldCrownStores?lid=unGoldCrownStores 6. http://www.infernoonline.com/ 7. http://www.hallmark.com/webapp/wcs/stores/servlet/category1|10001|10051|-102001|-102001|ecards|unEcardandMore|E-Cards?lid=unEcardandMore 8. http://www.hallmark.com/ 9. http://www.hallmark.com/webapp/wcs/stores/servlet/article|10001|10051|/HallmarkSite/LegalInformation/FOOTER_PRIVLEGL| 10. http://hallmark.custhelp.com/?lid=lnhelp-Home%20Page 11. http://go.mappoint.net/Hallmark/PrxInput.aspx?lid=lnStoreLocator-Home%20Page ___ 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.1 Install -- acd0: TIMEOUT - READ_BIG retrying (1 retry left)
(Sorry for the repost, but in retrospect, I thought a subject detailing the actual problem would garner more responses.) Hi, I just got a new Dell Inspiron 530s, and am having some trouble getting FreeBSD 7.1 installed on it. When I boot up from the CD, after it detects all of the disks, I start getting messages like: acd0: TIMEOUT - READ_BIG retrying (1 retry left) and so on. Google results suggested that I disable ACPI from the boot menu. This works insofar as I get to the installation menu; however, when I go to partition the disk, it says that no disks were found. Is there a way I can disable ACPI, but set some boot-time variables to help the system find the disk controller? I'm in the process of creating a LiveCD to see if acpidump might help isolate just what the problem is, but if anyone has some advice in the meantime, I'd greatly appreciate it. ... time passes ... Booting in safe-mode doesn't have the TIMEOUT - READ_BIG messages, but instead I get an interrupt storm detected. The LiveCD didn't work because when I boot with ACPI disabled, no disks are detected which means that I cannot mount the LiveCD. :( Has anyone found a way to work around this sort of issue before? Thanks, Patrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 7.1 Install -- acd0: TIMEOUT - READ_BIG retrying (1 retry left)
On a side note, Open Solaris seems to install just fine. Sigh... FreeBSD is obviously my first choice, so hopefully there will be a solution to this problem... On Mon, Jan 19, 2009 at 5:07 PM, patrick gibblert...@gmail.com wrote: (Sorry for the repost, but in retrospect, I thought a subject detailing the actual problem would garner more responses.) Hi, I just got a new Dell Inspiron 530s, and am having some trouble getting FreeBSD 7.1 installed on it. When I boot up from the CD, after it detects all of the disks, I start getting messages like: acd0: TIMEOUT - READ_BIG retrying (1 retry left) and so on. Google results suggested that I disable ACPI from the boot menu. This works insofar as I get to the installation menu; however, when I go to partition the disk, it says that no disks were found. Is there a way I can disable ACPI, but set some boot-time variables to help the system find the disk controller? I'm in the process of creating a LiveCD to see if acpidump might help isolate just what the problem is, but if anyone has some advice in the meantime, I'd greatly appreciate it. ... time passes ... Booting in safe-mode doesn't have the TIMEOUT - READ_BIG messages, but instead I get an interrupt storm detected. The LiveCD didn't work because when I boot with ACPI disabled, no disks are detected which means that I cannot mount the LiveCD. :( Has anyone found a way to work around this sort of issue before? Thanks, Patrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 7.1 Install -- acd0: TIMEOUT - READ_BIG retrying (1 retry left)
patrick wrote: (Sorry for the repost, but in retrospect, I thought a subject detailing the actual problem would garner more responses.) Hi, I just got a new Dell Inspiron 530s, and am having some trouble getting FreeBSD 7.1 installed on it. When I boot up from the CD, after it detects all of the disks, I start getting messages like: acd0: TIMEOUT - READ_BIG retrying (1 retry left) and so on. Google results suggested that I disable ACPI from the boot menu. This works insofar as I get to the installation menu; however, when I go to partition the disk, it says that no disks were found. Is there a way I can disable ACPI, but set some boot-time variables to help the system find the disk controller? I'm in the process of creating a LiveCD to see if acpidump might help isolate just what the problem is, but if anyone has some advice in the meantime, I'd greatly appreciate it. ... time passes ... Booting in safe-mode doesn't have the TIMEOUT - READ_BIG messages, but instead I get an interrupt storm detected. The LiveCD didn't work because when I boot with ACPI disabled, no disks are detected which means that I cannot mount the LiveCD. :( Has anyone found a way to work around this sort of issue before? Thanks, Patrick ___ 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 Change your Bios. Virus Warning=, set this option to disable. It’s a firmware check of the hard drive boot sector looking for MS/Windows boot virus. This will stop FBSD booting from the install CDROM or finding the hard drive. plug-n-play=, set this option to disable. FBSD is not sensitive to Microsoft plug-n-play standard and may refuse to install, or cause PCI cards not to be found. Disable or set to auto any BIOS option to assign IRQ numbers to PCI expansion slots. Operating system type=, set to ‘other’ or any Unix type of operating system, don’t set to MS/Windows. Disable all power management options. Open your box and check that the cdrom reader device is not slave on ribbon with no master. Freebsd assumes the motherboard primary ide controller has hard disk on master nipple and cdrom or another hard disk on slave nipple. The motherboard secondary ide controller can not have empty master nipple with an device on the slave nipple. If this is what you have, move the slave device to the master nipple and change the device jumper pin to indecate master. ___ 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
kvm switch
Do you have a kvm switch that does mouse and keyboard emulation and know that it works with freebsd? I have an iogear kvm switch from around the last time I asked this question here years back, that has usually worked with linux, netbsd, openbsd, macos and windows. Back then to work with freebsd, each time I switched away and back I would login remotely and issue a command to get freebsd to recognize the keyboard again. The newer version of my kvm switch says it has mouse and keyboard emulation, but I can't get a straight answer out of them if that means the OS can tell that they keyboard has disconnected or not. Do you know? Or do you know of a KVM switch, that does that and is suitable for an impoverished person's home computing needs? Also, I read someone's comment on newegg that the mouse emulation only emulates 2 buttons. Do you know if that is true? Kendall ___ 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: kvm switch
Hi, Do you have a kvm switch that does mouse and keyboard emulation and know that it works with freebsd? I have been using Aten KVM switches for years and been very happy with them. On FreeBSD, the machine is only in console mode, pure TTY. But there are a couple of Linux boxes connected to the KVM, using some type of X window. Switching from one machine to another and back does not need to reissue any command. To my knowledge it works with 3 button mouses (all mouses nowdays have 3 buttons). They have a complete range, from 2 to 8 (or 16?) ports, high end allowing cascading up to 256 CPU on one screen. I have been using only 8 ports, but I beleive their 2 ports are just as reliable. They come with PS/2 or USB keyboard and mouse, I have used only PS/2 so far. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: kvm switch
We use a Belkin OmniView Pro3, 8 port model. It handles PS/2 and USB and works fine with FreeBSD (and Windows). I've never seen it screw up the mouse or keyboard through hundreds of changes. http://www.newegg.com/Product/Product.aspx?Item=N82E16817394048 (4 port model) You buy cables as you need them in pairs of PS/2 or USB. One cable supports two computers. At 11:16 PM 1/19/2009, you wrote: Do you have a kvm switch that does mouse and keyboard emulation and know that it works with freebsd? I have an iogear kvm switch from around the last time I asked this question here years back, that has usually worked with linux, netbsd, openbsd, macos and windows. Back then to work with freebsd, each time I switched away and back I would login remotely and issue a command to get freebsd to recognize the keyboard again. The newer version of my kvm switch says it has mouse and keyboard emulation, but I can't get a straight answer out of them if that means the OS can tell that they keyboard has disconnected or not. Do you know? Or do you know of a KVM switch, that does that and is suitable for an impoverished person's home computing needs? Also, I read someone's comment on newegg that the mouse emulation only emulates 2 buttons. Do you know if that is true? Kendall ___ 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 Brad Mettee PC HotShots, Inc. Baltimore, MD (410) 426-7617 - Let us bring out the *Power* of your PCs. - - Custom Business Software Solutions since 1991 - visit http://www.pchotshots.com for information about our company. ___ 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: Advice for dump/restore over SSH
On Tue, Jan 20, 2009 at 2:03 AM, Roland Smith rsm...@xs4all.nl wrote: On Mon, Jan 19, 2009 at 05:43:56PM -0500, Freebsd wrote: Sounds pretty interesting to me but i couldn't test right now. As nc is in /usr/bin how will i not face the same problem as with ssh? Can you point me to a freebsd live cd that has nc included? The 7.0-RELEASE livefs CD that I had lying around has nc on it. As does the 6.1-RELEASE disc 1 that I also found. So I think all install/lifefs images have nc. I suggest that you get e.g. 7.1-RELEASE-i386-livefs.iso or 7.1-RELEASE-amd64-livefs.iso (depending on your hardware architecture) from your nearest ftp mirror. Hi Roland, While still on this topic... Now that FreeBSD went DVD, does one still need the X.Y-RELEASE-i386{amd64}-livefs.iso still, or the DVD had a complete livefs functionality as well? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ The only time a woman really succeeds in changing a man is when he is a baby. - Natalie Wood ___ 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: Advice for dump/restore over SSH
On Tue, Jan 20, 2009 at 9:13 AM, Odhiambo Washington odhia...@gmail.comwrote: On Tue, Jan 20, 2009 at 2:03 AM, Roland Smith rsm...@xs4all.nl wrote: On Mon, Jan 19, 2009 at 05:43:56PM -0500, Freebsd wrote: Sounds pretty interesting to me but i couldn't test right now. As nc is in /usr/bin how will i not face the same problem as with ssh? Can you point me to a freebsd live cd that has nc included? The 7.0-RELEASE livefs CD that I had lying around has nc on it. As does the 6.1-RELEASE disc 1 that I also found. So I think all install/lifefs images have nc. I suggest that you get e.g. 7.1-RELEASE-i386-livefs.iso or 7.1-RELEASE-amd64-livefs.iso (depending on your hardware architecture) from your nearest ftp mirror. Hi Roland, While still on this topic... Now that FreeBSD went DVD, does one still need the X.Y-RELEASE-i386{amd64}-livefs.iso still, or the DVD had a complete livefs functionality as well? I take this question back! I've just read http://www.freebsd.org/releases/6.4R/announce.html and it says the DVD is all one needs - has everything, including livefs. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ The only time a woman really succeeds in changing a man is when he is a baby. - Natalie Wood ___ 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