Re: Booting from vinum RAID 1: How should I edit my disk label?
On Sun, 2003-12-28 at 22:21, Greg 'groggy' Lehey wrote: On Sunday, 28 December 2003 at 20:27:37 -0800, Micheas Herman wrote: Hi, I am following 13.9.2 Making a Vinum-based Root Volume Accessible to the Bootstrap from the FreeBSD Handbook. (/dev/vinum/root is mounted at /newroot ) ... Subdisk root.p1.s0: Size:146664960 bytes (139 MB) State: up Plex root.p1 at offset 0 (0 B) Drive vinumdrive3 (/dev/ad7s1d) at offset 135680 (132 kB) # disklabel -e /dev/ad7s1 gives; # /dev/ad7s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 9216000 149667844.2BSD 2048 16384 28552 b: 20942848 241827844.2BSD 2048 16384 28552 c: 451265220unused0 0 # raw part, don't edit d: 28672004.2BSD0 0 0 That's wrong. It should be of type Vinum. It also looks very short. It's 138M of a 120G hard drive, which is probably about 60M more than I'll use. (assuming that I don't put more in root than I did with FreeBSD 4.x) e: 4194304 2867204.2BSD 2048 16384 28552 f: 4194304 44810244.2BSD 2048 16384 28552 g: 4194304 86753284.2BSD 2048 16384 28552 h: 2097152 128696324.2BSD 2048 16384 28552 I am not sure what my disklabel -e /dev/ad7s1 should look like. That depends on what you're trying to do. I suspect that the entire disk label is bogus. all my vinum volumes are working fine with two exceptions, 1 the swap volume (known problem, at some point in the future I will cvsup, make world, etc and it will be fixed, let me know if there is any data you would like from this system) and I would like to boot from the root volume. which is currently d: Can I just: 1. s/4.2BSD/vinum/ 2. transpose a: and d: (if I do this will I have to rm and recreate the volumes? Not a problem I just can't figure it out) 3. Do I then just reboot? It would seem that I need to install a boot loader some which way. With /stand/sysinstall fdisk? or something else? Take a look at http://www.vinumvm.org/cfbsd/vinum.pdf and see if that makes any more sense. It's basically trying to tell you the same thing. Thanks, I've printed it out and will read it over. (probably many times) Micheas Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. -- Micheas Herman email: [EMAIL PROTECTED] Free Print Shop web: http://www.FreePrintShop.org phone: (415)648-3222fax: (415)648-3222 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ghostview missing libc.so.4?
Thanks for the tip - I installed compat4 and lilypond runs fine now. If I remember correctly the compats were installed by default in earlier versions weren't they? Anyway, thanks, Chip Matthew Seaman wrote: On Sat, Dec 27, 2003 at 10:33:34PM -0800, paul beard wrote: On Dec 27, 2003, at 10:27 PM, Chip Wiegand wrote: Mine has libc.so.5. No wonder the app is failing, it specifically wants .4 and is too dumb to work with anything newer. I'm getting real frustrated with this again, I'd like to move away from MS but it's not easy to do when the apps I need don't even work properly. You could fake it out with a symlink, but the Real Solution may be to rebuild whatever that file is part of, which I assume means a buildworld. No -- don't do that. Shlib version numbers are changed for a reason. Instead either install the misc/compat4x port or else set COMPAT4X=yes in /etc/make.conf and rebuild your world. This will let you run apps compiled for 4.x on a 5.x system. I'm only running 4.9: I assume you're on 5.x if you have a higher file number? Yes -- for libc the shlib version number is the same as the major version number of the OS. Cheers, Matthew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Booting from vinum RAID 1: How should I edit my disk label?
On Sun, 2003-12-28 at 23:10, Micheas Herman wrote: On Sun, 2003-12-28 at 22:21, Greg 'groggy' Lehey wrote: On Sunday, 28 December 2003 at 20:27:37 -0800, Micheas Herman wrote: Hi, I am following 13.9.2 Making a Vinum-based Root Volume Accessible to the Bootstrap from the FreeBSD Handbook. (/dev/vinum/root is mounted at /newroot ) ... Subdisk root.p1.s0: Size:146664960 bytes (139 MB) State: up Plex root.p1 at offset 0 (0 B) Drive vinumdrive3 (/dev/ad7s1d) at offset 135680 (132 kB) # disklabel -e /dev/ad7s1 gives; # /dev/ad7s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 9216000 149667844.2BSD 2048 16384 28552 b: 20942848 241827844.2BSD 2048 16384 28552 c: 451265220unused0 0 # raw part, don't edit d: 28672004.2BSD0 0 0 That's wrong. It should be of type Vinum. It also looks very short. Could this be correct for ad6s1 and ad7s1? they are about 20G each a: 9216000 14966784vinum 2048 16384 28552 b: 20942848 24182784vinum 2048 16384 28552 c: 45126522 0unused 0 0 # raw part, don't edit d: 286439281vinum0 0 0 ^^^^^ -changes e: 4194304 286720vinum 2048 16384 28552 f: 41943044481024vinum 2048 16384 28552 g: 41943048675328vinum 2048 16384 28552 h: 2097152 12869632vinum 2048 16384 28552 # df -h FilesystemSize Used Avail Capacity Mounted on /dev/ad2s1a 135M54M70M43%/ devfs 1.0K 1.0K 0B 100%/dev /dev/vinum/home90G12K83G 0%/home /dev/vinum/tmp4.3G 3.4M 3.9G 0%/tmp /dev/vinum/usr1.9G 954M 866M52%/usr /dev/vinum/usrports 1.9G 516M 1.3G28%/usr/ports /dev/vinum/usrlocal 1.9G71M 1.7G 4%/usr/local /dev/vinum/var9.7G 1.0M 8.9G 0%/var /dev/vinum/root 135M54M70M44%/newroot The only downside that i see from reading The Vinum Volume Manager is that startup and shutdown will take longer, but I don't see that being much more than a once a month activity at the most. 1-200 days will be a much more frequent time between booting for this system. It's 138M of a 120G hard drive, which is probably about 60M more than I'll use. (assuming that I don't put more in root than I did with FreeBSD 4.x) e: 4194304 2867204.2BSD 2048 16384 28552 f: 4194304 44810244.2BSD 2048 16384 28552 g: 4194304 86753284.2BSD 2048 16384 28552 h: 2097152 128696324.2BSD 2048 16384 28552 -- Micheas Herman email: [EMAIL PROTECTED] Free Print Shop web: http://www.FreePrintShop.org phone: (415)648-3222fax: (415)648-3222 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ghostview missing libc.so.4?
You sound like you're running 5.x. You will need to install the compat4x distribution to get FreeBSD-4.x compatibility libraries. You sound lik you should be running 4.x anyway -- 5.x is still a strange mix of bleeding edge and stable -- but it *is* called -CURRENT for a reason. Matt On Sat, 27 Dec 2003, Chip Wiegand wrote: Mine has libc.so.5. No wonder the app is failing, it specifically wants .4 and is too dumb to work with anything newer. I'm getting real frustrated with this again, I'd like to move away from MS but it's not easy to do when the apps I need don't even work properly./rant -- Chip paul beard wrote: On Dec 27, 2003, at 8:17 PM, chip wrote: I just installed ghostview and when I try to open a .ps file I get the error that libc.so.4 is missing. If this is a dependency then why wasn't it installed with ghostscript or ghostview? What do I need to do to fix this? There is no one port for libc.so.4. This is what I have for libc (which I think is pretty darn integral to your system): what does ls -l /usr/lib/libc.so* show? lrwxr-xr-x 1 root wheel 9 Nov 22 23:04 /usr/lib/libc.so - libc.so.4 -r--r--r-- 1 root wheel 578964 Nov 22 23:04 /usr/lib/libc.so.4 -- Paul Beard www.paulbeard.org/ paulbeard [at] mac.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] . ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dual Boot WinXP + FreeBSD
Hello I would recommend creating a Fat 32 partion for transferring files between FreeBSD and XP. This will work as long as you have not used all (four per drive) of your primary partions. but when the instalation begun, I realized it couldn´t read mu NTFS drives so I thought the instalation wouldn´t work, then I ask you guys: You are deleting the Linux ext* filesystem and replacing it with the FreeBSD UFS? FreeBSD can read the unformatted partions. On Saturday 27 December 2003 05:14 pm, Julio Cesar wrote: Hello everyone This is my first post here and I wanted to say that I looked for this info everywhere but didn´t find that´s why I´m making this simple question. I´m right now using Win XP but till yesterday I used to run a dual boot system (RedHat 9/XP) but I decided to send RH to Hell and replace it to FreeBSD but when the instalation begun, I realized it couldn´t read mu NTFS drives so I thought the instalation wouldn´t work, then I ask you guys: 1. Can I have another dual boot on my machine with XP (NTFS) and FreeBSD? 2. Where can I read more about the process of instalation to keep my XP partition alive? Thank You Julio Cesar MCP ID #3092980 PGP KEY ID 0x7086BA80 (81) 9139-0024 [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
binaries newsgroup downloader
Hi, I am using freeBSD 5.1 I'm am looking for a newgroup binary downloader. The glitter port package says broken link when i type make install. Do you know an alternative GUI program I can used? I appreciate your help. Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ghostview missing libc.so.4?
On Sun, Dec 28, 2003 at 10:04:17PM -0800, Chip Wiegand wrote: Thanks for the tip - I installed compat4 and lilypond runs fine now. If I remember correctly the compats were installed by default in earlier versions weren't they? Only in the sense that today's compat lib was yesterday's latest libc version. The default has always been that the compat libraries were not installed for as long as I've been using FreeBSD -- which is as far back as FreeBSD-2.2.8 Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
vinum swap no longer working.
** Reply to note from Micheas Herman [EMAIL PROTECTED] Sun, 28 Dec 2003 20:00:04 -0800 # # swapon /dev/vinum/swap swapon: /dev/vinum/swap: Operation not supported by device # Is this a 5.2 bug or do I have vinum incorrectly configured? I am using RAID 1 if that matters. Can't help you, but I'm just curious... What is the point in mirroring a swap partition? Isn't this slowing the system down? bye Thanks av. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Incremental backup solution. was: What logs etc do I need tocheckfrequently?
This solution sounds nice, I can even imagine setting up an additional machine (on the same location though) to have a somewhat galvanic isolation between the disks. Only fire, earthquake and a neutronbomb would affect such a backup solution. However, I could use a push in the right direction when it comes to how to configure and what software to use for achieving the incremental backup tasks. Could you hint me in how your system is doing this in a more detailed way? Cheers, Joachim --- | On Sun, 2003-12-28 at 10:27, Robert Huff wrote: | There are systems that will put 160 GB (uncompressed) on a | single tape ... they'll just run you $3000-3500. | If, on the other hand, you think of it as a yearly full dump | (split over multiple tapes) plus monthly incrementals then a DLT | 8000 ($1000 ??) at 40 GB (uncompressed) will do just fine. | | | Robert Huff | | I'd like to throw in my (home) solution here. | | I have had a dedicated file server on my home network for years. It | serves out files to clients on the network via SMB and HTTP. This | machine stores all of my permanent (and not so permanent) data and has | two large identical disks. Only the first is used. The other is used | strictly to back up the information on the first. A cron job runs a | script at 7AM every morning which powers up the backup disk, mounts it, | performs an incremental backup and then powers down the backup disk | again until the next morning. | | The moral: Buy double the amount of disk space that you think you'll | need or settle for half of what you can afford. Then force yourself to | use one half only to back up the other half. Disk-to-disk backup is | probably the best way to go for the home user. It's cheap and it's easy, | but it won't break the bank. Reliability is probably significantly less | than a $3k tape solution, but careful monitoring of the system and quick | response to potential problems can mitigate this to a large degree. | | Pretty soon I plan to move the backup disk to a separate machine on the | network that gets powered up each day by some kind of external timer. | The machine will power up, contact the file server, do an incremental | backup, then shut itself off. This would put me just one step short of a | complete daily off-site backup, all with hardware that is considered by | most to be obsolete. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Please help. Can't see HD
On Sun, Dec 28, 2003 at 08:54:06PM -0500, Francisco Reyes wrote: Upgraded to stable like so many countless times. All was fine after reboot. After a few more reboots while troubleshooting why a port was not coming up at bootup the machine froze right after loading the kernel... at the part with the spinning lines... |/-\ == like those.. H... This is pretty drastic. The boot loader is failing to read the kernel from the disk. This part of the boot process really precedes anything that could be fixed using fsck(8), contrary to what others have said. It's not bad advice, just that there are some more basic things to fix first. There are two possibilities I can think of: i) Your hard drive has bitten the dust. There's nothing you can do to fix the drive. The disklabel seems to be right on a bad spot of the disk and unless the disk has sufficient spare blocks you can't remap that location. In any case you'ld have to have a record of the previous disklabel so that you could recreate it. ii) You've been fiddling with the disk addressing mode in the BIOS and somehow left it in a different mode to what it was before. In this case, you should be able to try the various modes one by one until you get back to the one that works. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: setting login.conf doesn't limit my users
On Sun, Dec 28, 2003 at 12:32:20PM -0500, Lowell Gilbert wrote: Jez Hancock [EMAIL PROTECTED] writes: To the OP - it may help if you paste in the contents of your login caps file /etc/login.conf or detail exactly what it is you're trying to cap/restrict. Indeed. There are some limits that aren't implemented, but if the users can change a limit, that's not what's happening here. Of course, users can always *lower* their limits, and they can raise their soft limits up to a maximum of the hard limit (that's what the distinction is for). This is it eh - there are some limits that can't be set - I remember having to use 'idled' from the ports to monitor the idle times of users and if they get to 1hr of idle time, auto-log them out as it were via idled (the login.conf setting to do this didn't work!!!). There are a few others but I forget what they are now (password expiry perhaps is one?). :P -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ http://jez.hancock-family.com/ - personal weblog http://ipfwstats.sf.net/- ipfw peruser traffic logging ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Incremental backup solution. was: What logs etc do I need tocheckfrequently?
On Mon, Dec 29, 2003 at 10:35:49AM +0100, Joachim Dagerot wrote: This solution sounds nice, I can even imagine setting up an additional machine (on the same location though) to have a somewhat galvanic isolation between the disks. Only fire, earthquake and a neutronbomb would affect such a backup solution. Before certain events in New York, we used to talk about hypothetical jumbo jets when considering our disaster plans. Secure off-site backups are a necessity. Take care thought that the off-site location really is secure. I did hear that some of the businesses in the World Trade Center had considered the other tower as a suitable location for their off-site backups. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: The best Anti spam - Anti virus email solution
On Sun, Dec 28, 2003 at 09:31:36AM -0500, Brent Bailey wrote: Hello, Im looking for you thoughts and opinions on Anti -Spam and Anti virus solutions for email servers. Im getting ready to implement a email server solution for an ISP. Im very use to sendmail as ive been able to compile sendmail to do rbl checks and use access.db and procmail filtering and spamassassin and it seems to work pretty good..although there does seem to be a small amount of false positives I suppose this is going to happen to some extent. So im looking to this mailing list to get your opinions and thoughts on this. Im more than open to the idea of useing something other than sendmail :-) You may have more joy asking on freebsd-isp if this is indeed for an ISP setup. I've heard that clamd(?) is supposed to be good for virus scanning on the OSS side or sophos for a paid solution, although how these scale for ISP performance I don't know. You already mentioned spamassassin which I think is fairly standard, but again I don't know how it would scale for large numbers of users. Also you'd have to consider your privacy policy and whether you want to completely drop all mail very likely to be spam or whether you just want to rewrite the 'subject:' header to indicate that the mail might be spam. As an ISP user I'm not sure I'd like my ISP to just delete emails automaticaly on my behalf (even though as a mail server admin I do know that dropping mails that have an SA score of over say 30 are very very unlikely to contain spam). Again this is something to think about in your privacy policy I suppose. -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ http://jez.hancock-family.com/ - personal weblog http://ipfwstats.sf.net/- ipfw peruser traffic logging ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mutt + E-Mail count
On Sun, Dec 28, 2003 at 03:46:27PM -0600, Bryan Cassidy wrote: Is there anyway when viewing your folders inside of Mutt to view the amount of e-mails instead of the size of the total e-mails? Try asing on the mutt-users list - I'm not sure you can do what you want though if I understand you correctly. If you do find out let me know though! :P -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ http://jez.hancock-family.com/ - personal weblog http://ipfwstats.sf.net/- ipfw peruser traffic logging ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Incremental backup solution. was: What logs etc do I need tocheckfrequently?
| Before certain events in New York, we used to talk about hypothetical | jumbo jets when considering our disaster plans. Secure off-site | backups are a necessity. Take care thought that the off-site location | really is secure. I did hear that some of the businesses in the World | Trade Center had considered the other tower as a suitable location | for their off-site backups. I know a company whom's(?) office burned down to the ground. They where saved by the secretary who forgot to put the backup-tape in the safety box, instead she brought it in her handbag. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vinum swap no longer working.
On Mon, 2003-12-29 at 07:30, Andrea Venturoli wrote: ** Reply to note from Micheas Herman [EMAIL PROTECTED] Sun, 28 Dec 2003 20:00:04 -0800 # # swapon /dev/vinum/swap swapon: /dev/vinum/swap: Operation not supported by device # Is this a 5.2 bug or do I have vinum incorrectly configured? I am using RAID 1 if that matters. Can't help you, but I'm just curious... What is the point in mirroring a swap partition? Isn't this slowing the system down? bye Thanks av. If you lose your swap partition when it is in an unmountable state you may well suffer a kernel panic (hard crash). With drive warranties down to one year I have minimal confidence in my new drives. In theory it should also increase performance of reading from the swap file so performance will depend on what type of use your swap partition gets. It may be a wash, slow your system down noticeably, or speed your system up noticeably. If you really care you need to benchmark it under the loads that you will put your computer under. Micheas ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Micheas Herman email: [EMAIL PROTECTED] Free Print Shop web: http://www.FreePrintShop.org phone: (415)648-3222fax: (415)648-3222 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fwd: Re: Please help. Can't see HD
On Mon, 29 Dec 2003 17:09, Francisco Reyes wrote: On Mon, 29 Dec 2003 14:57:13 +1030, Malcolm Kay wrote: How big was the image you copied to the disk? -- that should tell you how much of your drive is overwritten. The image was about 4MB. Before or after decompression; It probably doesn't matter anyway. If you were using the slice partition for BSD (not necessarily slice slice 1; but) the first one physically after the MBR then then it is likely you have overwritten the disklabel and a substantial part of the 'a' or root partition whether 4Mb is the compressed or expanded size. And without some form of dual boot we can guess that this is the only slice carrying a file-system (or systems). Given that the above assumptions are valid we are lead to the conclusion that the first sector of the BSD slice has gone along with the disklabel information and a substantial prt of the root file system. It is probable your disklabel has also disappeared, so you probably need to reconstruct both the slice table in the MBR and the disklabel in the first slice. With some vague recollections of what you did originally to install FBSD it is possible that some lucky guesses might work. How would I go about that? OK; how did you install initially? Was the whole disk used for BSD? Did you follow the defaults during installation? If both the latter questions are answered in the affirmative then you might go back to installation and try to create the same slices, partitions and mount points. It looks as though the root partition has been destroyed but you might hope that the rest are intact. Make sure that you mark the 'a' partition for a new file system and all others as already existing. The partitions are marked 'Y' or 'N' in the installation menu but I can't remember which is which -- read the help explanation. Proceed with a minimum installation and you should (with luck) retain anything you have added to the non-root partitions. After booting into the recreated system you'll need to recreate users with their original UIDs. You can see what these are by using ls -l in the user directories /usr/home/{user-name} when the numericl uid will be displayed instead of the user name.] If either of the questions were answered in the negative we'll need to look for a different approach and some more difficult guesses! If you can find the first sector of a slice carrying an installed file system then this might hold a copy of the slice table allowing reconstruction of the original MBR with some confidence. How? Hopefully as above. Other than not playing around with dd how can one safeguard from something like this in the future? Only issue instructions as 'root' when you are fully awake and thinking clearly about what you are doing and then double chheck evry command before hitting Enter. Keep operation under user root to an absolute minimum. You are unlikely to be permitted to create this degree of havoc as an ordinary user. Is there a way to backup the disklable and slice info? Yes, disklabel and fdisk have facilities for outputting their current state and this can be redirected to file and then stored on your backup media or a floppy disk. I do this on a regular basis for a number of machines under my control. I also include a copy of /etc/fstab and the output from df. After all this is cleared I am also going to check what is the best way to keep a working copy of my entire system. On windows I have a program, driveimage, which I use to every night keep an image of the entire disk while the system is on. Has saved me many times.. In my opinion dump and restore are the best backup and recovery mechanisms for BSD. But to duplicate, in its entirety, the original setup you need to also save fdisk and disklabel information. Disk images are unreasonably expensive in time since they also backup empty space, require a physically identical disk for recovery and can give some difficlties as the image is usually of an open file system which checks out as unclean. Malcolm Kay ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Error when installing CVSUP-WITHOUT-GUI port
I had CVSUP-WITHOUT-GUI installed before and have used it many times. I went to go use it today and it wasn't anywhere to be found. I then went to install it again and got these messages/errors. mail# pwd /usr/ports/net mail# cd cvsup-without-gui mail# make install === Extracting for cvsup-without-gui-16.1h Checksum mismatch for cvsup-snap-16.1h.tar.gz. === Refetch for 1 more times files: cvsup-snap-16.1h.tar.gz cvsup-snap-16.1h.tar.gz doesn't seem to exist in /usr/ports/distfiles/. Attempting to fetch from http://www.t.ring.gr.jp/archives/FreeBSD/development/CVSup/snapshots/. fetch: cvsup-snap-16.1h.tar.gz: local modification time does not match remote Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. fetch: cvsup-snap-16.1h.tar.gz: local modification time does not match remote Couldn't fetch it - please try to retrieve this port manually into /usr/ports/distfiles/ and try again. *** Error code 1 Stop in /usr/ports/net/cvsup-without-gui. *** Error code 1 Stop in /usr/ports/net/cvsup-without-gui. mail# The file 'cvsup-snap-16.1h.tar.gz' file does exist in /usr/ports/distfiles. I don't know why it would be giving me this error when trying to install. Any ideas or suggestions ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Error when installing CVSUP-WITHOUT-GUI port
On Monday 29 December 2003 02:28 am, Michael A. Alestock wrote: I had CVSUP-WITHOUT-GUI installed before and have used it many times. I went to go use it today and it wasn't anywhere to be found. I then went to install it again and got these messages/errors. mail# pwd /usr/ports/net mail# cd cvsup-without-gui mail# make install === Extracting for cvsup-without-gui-16.1h Checksum mismatch for cvsup-snap-16.1h.tar.gz. === Refetch for 1 more times files: cvsup-snap-16.1h.tar.gz cvsup-snap-16.1h.tar.gz doesn't seem to exist in /usr/ports/distfiles/. Attempting to fetch from http://www.t.ring.gr.jp/archives/FreeBSD/development/CVSup/snapshots/. fetch: cvsup-snap-16.1h.tar.gz: local modification time does not match remote Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. fetch: cvsup-snap-16.1h.tar.gz: local modification time does not match remote Couldn't fetch it - please try to retrieve this port manually into /usr/ports/distfiles/ and try again. *** Error code 1 Stop in /usr/ports/net/cvsup-without-gui. *** Error code 1 Stop in /usr/ports/net/cvsup-without-gui. mail# The file 'cvsup-snap-16.1h.tar.gz' file does exist in /usr/ports/distfiles. I don't know why it would be giving me this error when trying to install. Any ideas or suggestions You missed the checkum mismatch. Rm the tarball and let it fetch it again. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mutt + E-Mail count
On Sun, Dec 28, 2003 at 03:46:27PM -0600, Bryan Cassidy wrote: Is there anyway when viewing your folders inside of Mutt to view the amount of e-mails instead of the size of the total e-mails? Yes. http://www.mutt.org/doc/manual/manual-6.html#index_format Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: Error when installing CVSUP-WITHOUT-GUI port
On Mon, 2003-12-29 at 11:28, Michael A. Alestock wrote: fetch: cvsup-snap-16.1h.tar.gz: local modification time does not match remote Either a) Remove file from /usr/ports/distfiles and try again or b) Fetch file manually into /usr/ports/distfiles ... in addition to (if checksum announced in ports is wrong, which sometimes happen) possibly either a) making new checksum with `make makesum` or b) remove distinfo file. HTH -- Jakob Breivik Grimstveit, http://www.grimstveit.no/~jakob, +47 48298152 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fwd: Re: Please help. Can't see HD
On Mon, 29 Dec 2003 14:57:13 +1030 Malcolm Kay [EMAIL PROTECTED] probably wrote: On Mon, 29 Dec 2003 14:39, Francisco Reyes wrote: On Mon, 29 Dec 2003 14:27:01 +1030, Malcolm Kay wrote: This is likely your problem source!!! /dev/rad[n] is an alias of /dev/ad[n]; that is it refers to IDE drive n. (Historically they had somewhat different meanings but even then still refered to the same physical device -- the 'r' means raw) If n was 2 you have over written the beginning of ad2. Well I guess the good news is that the HD is probably ok then. :-) Yes; should be. In FAT I seem to recall there are two copies of the boot sector. Does FreeBSD has anything like that? I seem to recall some options or utilities under MS-DOS that did something like that, but think this was mainly for floppies. Certainly there are duplicate copies of the FAT allocation tables, but these are next to one another on the disk so don't really protect against this sort of calamity. I guess the nearest thing in FreeBSD is mutiple copies of the superblocks within the file system, but unless you can reconstruct the slice table(partition in MS terms) I don't believe it will help. If what I did trashed the first sectors would that have affected all mount points? How big was the image you copied to the disk? -- that should tell you how much of your drive is overwritten. It is probable your disklabel has also disappeared, so you And the superblock, and some large piece of data. probably need to reconstruct both the slice table in the MBR and the disklabel in the first slice. With some vague recollections of what you did originally to install FBSD it is possible that some lucky guesses might work. For the `slice table' (MBR) sysutils/gpart could be of some help. Not sure about the disklabel, though. If you can find the first sector of a slice carrying an installed file Where `find' might mean # hd /dev/ad6s1 | grep 54 19 01 00 if looking for a ufs1 filesystem or # hd /dev/ad6s1 | grep 19 01 54 19 for ufs2. (see the archive for details; in the discussion the method seemed to work) system then this might hold a copy of the slice table allowing reconstruction of the original MBR with some confidence. Malcolm Kay ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- DoubleF Vote for ME -- I'm well-tapered, half-cocked, ill-conceived and TAX-DEFERRED! pgp0.pgp Description: PGP signature
named and 127.0.0.2
Hello, I have a bind9 named running on the 4.x stable branch, and have noticed that it seems to be sending udp packets to 127.0.0.2:52 about once every 10 seconds or so (ipfw is denying and logging the traffic). Google has not shed any light on the subject. I've grepped all through /etc/, and have found no references to 127.0.0.2, and I certainly don't remember configuring anything (ever) with that particular address. What could be the cause of this mysterious bind behavior? --- McClain Looney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: login ID and Password Problems
Flem I understand your frustration. But your post is poorly written when it comes to describing your problem. It almost sounds like you have never used an Unix like operating system before. For your info, during the install process you are asked to enter the password to be used for the root account. 'root' is the master/god like powered account used to configure the operating system. That's the account you should be using to gain access to you newly installed system the first time. When the system finishes booting there is the login prompt, you should respond with the word root and for the password try purdue112 or whatever password you entered during the install. Why don't you repost and this time explain to the readers how you got this GIVEN LOGIN: koolfd PASSWORD: fdwill4u2 SYSTEM MANAGEMENT PWD: purdue112 It would go along way to understanding just how much of an newbe you are. Check this out for some helpful reading http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of F. D. Williams Sent: Monday, December 29, 2003 1:10 AM To: [EMAIL PROTECTED] Subject: login ID and Password Problems Hello: For six and nights almost non-stop, I've loaded and unloaded (formatted the HDD) due to some bug (s) of sorts in this program. Even through the Christmas holidays I've been busy with FreeBSD v5.1 and at the current moment this problem still persists. This login/password business really sucks. More than 80 hours at this installation has produced nothing but a headache. The current prompt reading at the console shows the characteristics: Dec 28 23:51:41 K7502000PRO.cfl.rr.com login: 5 LOGIN FAILURES ON ttyv0 GIVEN LOGIN: koolfd PASSWORD: fdwill4u2 SYSTEM MANAGEMENT PWD: purdue112 After all this time spent at this installation, I am beginning to have second thoughts about this software. When I reboot the system it goes right into the program and pauses at the six options screen, where I would normally type in the correct digit to continue the boot process. All hell breaks loose right at the login prompt. Moreover, when I go into the program to change the settings, it says that the item has not be initialized, i.e., it will not allow any changes to the password, etc. I have never, ever, spent as much time as this with an install. What's up? I made a purchase at CompUSA a fews days ago and saw a copy of this program on the shelf..$59.95. Why should it buy this product off the shelf, only to be confronted with the current (login) problem? If you have a solution to this login problem, I will continue the process of getting it to work. However, the clock on the wall says time is running out. Furthermore, I really don't know what the program looks like. Until it is configured correctly and booting, I have the faintest idea what it looks like. Originally, I thought the real problem was with the four HDDs attached to the system. With that many drives attached, it posed a problem for me because I could hardly identify the correct one for the install. With your disk id scheme, I decided to unplug three of the drives and use a single one, which proved to be less confusing. As a new user of this system, it has been a tremendous undertaking working with this program. Everything is new and different, as opposed to MS-DOS/Windows. Nevertheless, as a new comer, I find the program very interesting. I would appreciate any suggestions in resolving this login/password problem Thanks in advance Regards, Flem D. Williams Email: [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: setting login.conf doesn't limit my users
Jez Hancock [EMAIL PROTECTED] writes: This is it eh - there are some limits that can't be set - I remember having to use 'idled' from the ports to monitor the idle times of users and if they get to 1hr of idle time, auto-log them out as it were via idled (the login.conf setting to do this didn't work!!!). There are a few others but I forget what they are now (password expiry perhaps is one?). Idle time isn't implemented, password expiration is. -- Lowell Gilbert, embedded/networking software engineer, Boston area: resume/CV at http://be-well.ilk.org:8088/~lowell/resume/ username/password public ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fwd: Re: Please help. Can't see HD
On Mon, 29 Dec 2003 20:53:06 +1030, Malcolm Kay wrote: OK; how did you install initially? Was the whole disk used for BSD? Did you follow the defaults during installation? If both the latter questions are answered in the affirmative then you might go back to installation and try to create the same slices, partitions and mount points. I thought I had recorded my partition sizes, but I had not saved them. I found enough data in my backups so the data loss is minimal. At this stage I want to concentrate on improving my backups for the next time. Is there a way to backup the disklable and slice info? Yes, disklabel and fdisk have facilities for outputting their current state and this can be redirected to file and then stored on your backup media or a floppy disk. I do this on a regular basis Could you share the commands please? In my opinion dump and restore are the best backup and recovery mechanisms for BSD. I will work on a dump/restore mechanism. I will do that weekly. Have a database running which may not backup well. On weekends I can shutdown everything for the dump process. I plan to dump to a file in the second HD if that is possible. I also just bought a DVD burner to backup to it essential data to take offsite besides the copy on the second HD. Thanks for the advice. If I had only had a backup of the disk info this whole experience would have been less problematic. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
DSS for freeBSD
Hi, I received responses from the lister that there is a port, and also it's possible to use the source code for DSS 5 and run it on freeBSD 5.1. I found a port in /usr/ports, but when i run it, it ask me to go to apple web site to download freebsd version of DSS. However freeBSD version of DSS is not there. I've downloaded the source, but I want to learn how I could make it work with freeBSD 5.1. I rather not mess up my system, so I would like to know what changes I need to make to make DSS work. please contact me off the list if you can. the volume of traffic is massive, i rarely reads the digest. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What logs etc do I need to checkfrequently?
As you with good memories know, I lost 3000 pictures of my first sons first year this month. I did have a RAID-5 system with fresh disks, however, shit happens and I have a feeling that this could have been avoided if I read my log files better. As has been mentioned, if you have critical or irreplaceable data, back it up.If your partitions are too large for any backup system you can use, then make a scheme for breaking the data in to more manageable sized partitions - use more partitions and even more slices and disk devices if needed. Those huge raid partitions are nice for some things, but have their drawbacks. You can get backup devices - LTO and high end DLT that hold up to 160 or more uncompressed, so that is a good single sized partition. They are expensive, but not compared to losing your data. Also, you are supposed to be able to use more than one tape in a backup. I don't know how well that works in FreeBSD dump/restore. I don't have a big enough disk under FreeBSD to make it go to more than one tape yet. But, I have successfully dumped partitions that needed up to 10 DAT tapes before on other UNIX systems. jerry So basically, ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kern.maxfiles questions
paul beard [EMAIL PROTECTED] writes: Is there some way to find out what's tying up the file descriptors? fstat(1) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
troubles with my nvidia card after update
my problem is (after upgrade kernel from 4.8.RC1 to 4.9.RELEASE): can´t shutdown my kde 3.1.xx: (EE) NVIDIA(0): Failed to destroy the primary surface i have allready insatlled and reinstalled the newest NVIDIA-Driver for FreeBSD. my graficcard is MSI GeForce4 Ti4200 64MB. i know, that´s not the best choice for freebsd but i needed it for windows. please, could anybody help me? thanks, michael ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: halt while booting: recovering vi editor sessions /kv
Kai Vermehr [EMAIL PROTECTED] writes: While booting I get the message recovering vi editor sessions and the booting process is halted for a couple of minutes. I'm new to FreeBSD so I don't know where to look. Booting is resumed and some time later I get a message that sendmail is starting -- again taking a long time ... Any ideas how to fix this? The saved sessions are (by default) in /var/tmp/vi.recover. If you don't need to recover the sessions, clean the directory out. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Help with Mylex Acceleraid250(DAC960) install
Hello, I am trying to install FreeBSD4.9 (or 5.1 even) on a system that uses a Mylex Acceleraid250 (DAC960 driver) without success. The install CD hangs when it attempts to spin up the drives on the raid, waiting 15 seconds for scsi devices to settle is the last message on the screen. I found that there is a similar problem with RH9, but that they have a work around, which involves recompiling the kernel and remaking the installation CDs. I have the instructions for RH9, but I was hoping to be able to use FreeBSD. If I can't get it installed though, I will have to go to RedHat instead. http://www.techonthenet.com/linux/rh9_update.htm is the instructions, it is just a simple changing of two kernel options. Is this possibly the same reason that I cannot install FreeBSD? The two kernel options to be changed are the following: # CONFIG_X86_UP_APIC is not set # CONFIG_X86_UP_IOAPIC is not set Change them to: CONFIG_X86_UP_APIC=y CONFIG_X86_UP_IOAPIC=y If so, are there instructions like the RH ones? I have never used FreeBSD before, I have used RH7 and 8. Since RH is not really offering itself free anymore, I thought I would give FreeBSD a try, and it also appears that FreeBSD is abit more current in its packages than RH has been. I do have another machine I can install onto to make the changes. Since this system is going to be a mail server for the company, we want to be able use RAID for the entire system including boot. The system is fully up to date on bios and firmware for both MB and raid card. Thank you, Mike ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: install problems on old Compaq Armada 4110
Hello, Ok, I have manually tweaked all of the drivers by using the set hint.driver options to match my hardware and the OpenBSD boot disk dmesg, and I am still having the same problem. This is on 5.2-RC1. The 4.9 install stops at the same place as well. I have tried this with the PCMCIA NIC ejected. It would be possible for me to connect to the machine through a serial cable to get a dmesg and show where the install hangs if it would help. If this is a dumb question that is documented and I just need to RTFM, let me know... Thanks for any pointers, Lincoln Rutledge System Administrator Luper, Neidenthal, and Logan lnlattorneys.com -Original Message- From: Rutledge, Lincoln Sent: Wednesday, December 24, 2003 10:01 AM To: '[EMAIL PROTECTED]' Subject: install problems on old Compaq Armada 4110 Howdy, I am experiencing lockups when trying to install FreeBSD on a Compaq Armada 4110 laptop. I have tried disabling ACPI support in the boot sequence per the install doc. When the first color installer screen comes up requesting modules from a driver floppy, I am unable to respond because the keyboard does not respond. I tried an OpenBSD boot disk, which worked, so I mounted a floppy and redirected the OpenBSD dmesg to a file: snipped ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fwd: Re: Please help. Can't see HD
On Tue, 30 Dec 2003 01:12, Francisco Reyes wrote: On Mon, 29 Dec 2003 20:53:06 +1030, Malcolm Kay wrote: OK; how did you install initially? Was the whole disk used for BSD? Did you follow the defaults during installation? If both the latter questions are answered in the affirmative then you might go back to installation and try to create the same slices, partitions and mount points. I thought I had recorded my partition sizes, but I had not saved them. I found enough data in my backups so the data loss is minimal. At this stage I want to concentrate on improving my backups for the next time. Is there a way to backup the disklable and slice info? Yes, disklabel and fdisk have facilities for outputting their current state and this can be redirected to file and then stored on your backup media or a floppy disk. I do this on a regular basis Could you share the commands please? # fdisk ad2 ad2.fdisk # disklabel ad2s1 ad2s1.disklabel In my opinion dump and restore are the best backup and recovery mechanisms for BSD. I will work on a dump/restore mechanism. I will do that weekly. Have a database running which may not backup well. On weekends I can shutdown everything for the dump process. I plan to dump to a file in the second HD if that is possible. I also just bought a DVD burner to backup to it essential data to take offsite besides the copy on the second HD. Thanks for the advice. If I had only had a backup of the disk info this whole experience would have been less problematic. If you have dumps of all partitions then the slicing and partitioning sizes are not too important so long as thay are big enough. Just use say 'fdisk -BI ad2' to set it up with one slice for BSD. Then use disklabel on ad2s1 first to obtain a skeleton file then fill in the partitions and sizes you want and write it back with # disklabel -R -B ad2s1 prototypelabel Now create file systems in the partitions to be mounted (newfs). You should now be able to restore your backups to each partition in turn. Malcolm Kay ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: install problems on old Compaq Armada 4110
Check the laptop system bio's and disable plug-n-play option and disable boot virus check option, and remove all plug-in devices from your laptop before doing the install. Stay with FBSD 4.9 as it's the stable production version. There is an mailing list called FreeBSD-mobile which is just for laptop questions, you may have better luck asking your question there. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Rutledge, Lincoln Sent: Monday, December 29, 2003 10:35 AM To: [EMAIL PROTECTED] Subject: RE: install problems on old Compaq Armada 4110 Hello, Ok, I have manually tweaked all of the drivers by using the set hint.driver options to match my hardware and the OpenBSD boot disk dmesg, and I am still having the same problem. This is on 5.2-RC1. The 4.9 install stops at the same place as well. I have tried this with the PCMCIA NIC ejected. It would be possible for me to connect to the machine through a serial cable to get a dmesg and show where the install hangs if it would help. If this is a dumb question that is documented and I just need to RTFM, let me know... Thanks for any pointers, Lincoln Rutledge System Administrator Luper, Neidenthal, and Logan lnlattorneys.com -Original Message- From: Rutledge, Lincoln Sent: Wednesday, December 24, 2003 10:01 AM To: '[EMAIL PROTECTED]' Subject: install problems on old Compaq Armada 4110 Howdy, I am experiencing lockups when trying to install FreeBSD on a Compaq Armada 4110 laptop. I have tried disabling ACPI support in the boot sequence per the install doc. When the first color installer screen comes up requesting modules from a driver floppy, I am unable to respond because the keyboard does not respond. I tried an OpenBSD boot disk, which worked, so I mounted a floppy and redirected the OpenBSD dmesg to a file: snipped ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Finding USB CF writer/reader
How do I find the /dev name for a usb CF writer? I just messed up my primary HD and have spent most of yesterday and today just restoring because I used the wrong device name to dd an image to. :-( I am basically working on setting up a soekris machine and need to write to a CF card an image of M0n0wall. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
troubles with cvsd buildroot
Hello, I'm trying to use the cvsd port to to get a chrooted cvs server running under 5.1. I've installed the port and created the cvsd user and group, with the home directory of /home/cvsd. The command i used was: pw useradd cvsd -c Cvs Server Daemon -u 1015 -s /sbin/nologin -m -h - I then manually removed the dot files from that directory as this user won't be logging in. I then copied cvsd.conf.sample to cvsd.conf and edited it. I changed RootJail to /home/cvsd the Uid and Gid fields to cvsd, and uncommented the listen line. When i went to run cvsd-buildroot /home/cvsd I got errors about not being able to find libraries, below is the output from the command. It says that the build was successful, but i'm a little worried about it not being able to make the /dev devices and the fact that it couldn't find libraries, and manually atempting to run the binary placed in the location yielded no output. creating directory structure under /home/cvsd... done. installing binaries... cvs. locating libnsl.so... not found (probably not fatal) locating libnss_compat.so... not found (probably not fatal) locating ld-elf.so... /usr/libexec/ld-elf.so.1 locating libnss_compat.so.2... not found (probably not fatal) locating libnss_files.so.2... not found (probably not fatal) locating /usr/libexec/ld.so... not found (probably not fatal) locating /usr/lib/ld.so.1... not found (probably not fatal) locating nss_files.so.1... not found (probably not fatal) installing libraries...ldd: /home/cvsd/bin/cvs: Permission denied /home/cvsd/bin/cvs: exit status 1 ld-elf.so.1. creating /home/cvsd/dev devices... FAILED (unable to use devices) adding users to /home/cvsd/etc/passwd... root nobody cvsd. making /home/cvsd/etc/pwd.db...done. fixing ownership... done. chrooted system created in /home/cvsd if your cvs binary changes (new version) you should rerun cvsd-buildroot Advice appreciated. Thanks. Dave. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Incremental backup solution. was: What logs etc do I need tocheckfrequently?
On Mon, 2003-12-29 at 04:35, Joachim Dagerot wrote: This solution sounds nice, I can even imagine setting up an additional machine (on the same location though) to have a somewhat galvanic isolation between the disks. Only fire, earthquake and a neutronbomb would affect such a backup solution. However, I could use a push in the right direction when it comes to how to configure and what software to use for achieving the incremental backup tasks. Could you hint me in how your system is doing this in a more detailed way? Cheers, Joachim I'd be glad to. First, it's actually a Linux system, though there's nothing particularly Linux-specific about it except the device names and the method of spinning down the backup disk after the job. The cornerstone of the solution is the rdiff-backup program (http://rdiff-backup.stanford.edu/ or in ports at /sysutils/rdiff-backup). rdiff-backup is a python script that mirrors one directory to another. It can do incremental backups and it can do them either locally or remotely. It's really a slick piece of software and I'm continually surprised that it doesn't get more publicity. First, there's the (trivial) script /usr/local/sbin/backup-share.sh. This is run by a daily cron job to backup directories on the disk that contain Important Data. Mine is very specific to my system. It is *not* pretty and I plan to overhaul it sometime soon to include error handling and an external config file. #!/bin/bash # script to automatically back up the important stuff on /nfs/share prog=/usr/local/bin/rdiff-backup src=/nfs/share dst=/backup/share budirs=code emu images media music school software text webpage mount /backup for dir in $budirs do $prog $src/$dir $dst/$dir done umount /backup # put backup drive in sleep mode since we won't be needing # it again for the next 24 hours or so hdparm -qY /dev/hdd A note about the last line: it appears that FreeBSD can only spin-down SCSI disks on command. (See camcontrol(8).) The best way to power down IDE disks seems to be just setting a suspend timeout in the power management section of your BIOS. Once the disk is unmounted, FreeBSD won't touch it thereafter and the system should put it in suspend mode automatically. The crontab entry looks like this: # backup selected dirs in /nfs/share @ 0730 daily 30 07 * * * sh /usr/local/sbin/backup-share.sh That's really about it. Like I said before, moving the backup disk to a separate machine would be trivial. If there are any questions, I'd be glad to answer them. Charles Ulrich -- http://bityard.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: The FreeBSD Diary: 2003-12-07 - 2003-12-27
On Sun, Dec 28, 2003, Dan Langille wrote: On 28 Dec 2003 at 3:17, Dev Tugnait wrote: * Dan Langille ([EMAIL PROTECTED]) wrote: The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to [EMAIL PROTECTED] with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives http://www.freebsd.org/search/search.html#mailinglists and/or The FreeBSD Diary http://www.freebsddiary.org/. quick question why do you keep mailing the same thing voer and over again? Why do you not use spell checking? ;-) The message is posted by a cron job. The purpose of the message is to inform, and to reduce the load on the mailing list. For what it's worth, I asked the list some time ago (years perhaps) if it was acceptable to post such a message. -- Dan Langille : http://www.langille.org/ And for some of us, me, it is nice to be reminded of these pages. They have proven to be extremely helpful. Thanks Dan for it! -- Bob ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: install problems on old Compaq Armada 4110
Hi, Okay, the BIOS settings you describe don't exist on this old thing, and I did eject the NIC. I have played some more with the device settings, and I noticed something that may help get this working: In the OpenBSD dmesg, the keyboard controller is at isa port 0x60, while the setting in the hint line was 0x060. I tried 0x60 with the same result :( I guess PCs probably all see the keyboard at the same place, hard coded into the specification, and I don't know how those settings are read by the kernel. However, through very slow reboots from the floppy set, I have noticed while the kernel is booting this message: atkbd0 attach returned 6 I am not a programmer, but that sounds bad. The onboard keyboard is dead, so I am using an external PS/2 keyboard through the PS/2 Keyboard/Mouse port. Does this help? Thanks, Lincoln Rutledge System Administrator Luper, Neidenthal, and Logan lnlattorneys.com -Original Message- From: fbsd_user [mailto:[EMAIL PROTECTED] Sent: Monday, December 29, 2003 10:52 AM To: Rutledge, Lincoln; [EMAIL PROTECTED] Subject: RE: install problems on old Compaq Armada 4110 Check the laptop system bio's and disable plug-n-play option and disable boot virus check option, and remove all plug-in devices from your laptop before doing the install. Stay with FBSD 4.9 as it's the stable production version. There is an mailing list called FreeBSD-mobile which is just for laptop questions, you may have better luck asking your question there. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Rutledge, Lincoln Sent: Monday, December 29, 2003 10:35 AM To: [EMAIL PROTECTED] Subject: RE: install problems on old Compaq Armada 4110 Hello, Ok, I have manually tweaked all of the drivers by using the set hint.driver options to match my hardware and the OpenBSD boot disk dmesg, and I am still having the same problem. This is on 5.2-RC1. The 4.9 install stops at the same place as well. I have tried this with the PCMCIA NIC ejected. It would be possible for me to connect to the machine through a serial cable to get a dmesg and show where the install hangs if it would help. If this is a dumb question that is documented and I just need to RTFM, let me know... Thanks for any pointers, Lincoln Rutledge System Administrator Luper, Neidenthal, and Logan lnlattorneys.com -Original Message- From: Rutledge, Lincoln Sent: Wednesday, December 24, 2003 10:01 AM To: '[EMAIL PROTECTED]' Subject: install problems on old Compaq Armada 4110 Howdy, I am experiencing lockups when trying to install FreeBSD on a Compaq Armada 4110 laptop. I have tried disabling ACPI support in the boot sequence per the install doc. When the first color installer screen comes up requesting modules from a driver floppy, I am unable to respond because the keyboard does not respond. I tried an OpenBSD boot disk, which worked, so I mounted a floppy and redirected the OpenBSD dmesg to a file: snipped ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Installation failure with version 4.9
After many attempts, I am giving up. Brand new motherboard with AMD DURON, 128 MB of DDR memory with Western Digital hard disk 64AA. Following instructions, the farther I could get is with the following messages: (1) Unable to swap to /dev/ad0s/b, device not configure or invalid argument (2) Unable to make new root file system on /dev/ad0s1a I am using only one operating system, the intended FreeBSD with one slice and 3 partitions, a root of 4 gig, a SWAP of 512 mg, and the rest for /home. Shall I try with another release? Regards ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
trouble installing rpm-4.0.4.tar.gz
shalom, I have a question which I hope that you can help me with. I just tried to intstall rpm-4.0.4.tar.gz on my system[freebsd 4.8] and have not been able to get it to ./configure let alone make. Is there a special dir, ( /usr/compat/linux?), or dependencies that are required to compile the tarball? My main reason for trying top install a package manager is that I've had problems with gmetadom[lastest] and various other tarballs with limited success. I am attempting to teach myself about unix and could just use a pointer in the right direction. Thank you for your time... [EMAIL PROTECTED] - Do you Yahoo!? Yahoo! Photos - Get your photo on the big screen in Times Square ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Websites inside jails - backing up
5.1 Currently I have a few virtual websites running off one instance of apache... I have a few public IPs available, and would like to create jails to house the websites. I tested this by creating a jail, putting it on one of the extra IP addresses, and running apache from within the jail... works fine. Right now, to backup a website (currently on the host server) I copy the important things to a temp directory, including (and most importantly) the htdocs directory, create an iso, then burn to a CDRW. But what about when the site is within a jail? I notice I can get to /path/to/jail/path/to/htdocs, so can I similarly just copy the appropriate files/directories for backup purposes? Or is there something magical about being inside the jail that makes this difficult or improper? Thanks, Chris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: trouble installing rpm-4.0.4.tar.gz
Shalom Frederick, Why not use ports? Try to cd to /usr/ports/archivers/rpm and type 'make install'. That should do the trick. (Although the ported version of RPM is not of the 4.x branch). Could you possibly send a longer description of the problem? (not able to ./configure) is not a very clear description... Gilad. Frederick Thomas wrote: shalom, I have a question which I hope that you can help me with. I just tried to intstall rpm-4.0.4.tar.gz on my system[freebsd 4.8] and have not been able to get it to ./configure let alone make. Is there a special dir, ( /usr/compat/linux?), or dependencies that are required to compile the tarball? My main reason for trying top install a package manager is that I've had problems with gmetadom[lastest] and various other tarballs with limited success. I am attempting to teach myself about unix and could just use a pointer in the right direction. Thank you for your time... [EMAIL PROTECTED] - Do you Yahoo!? Yahoo! Photos - Get your photo on the big screen in Times Square ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kern.maxfiles questions
On Dec 29, 2003, at 7:24 AM, Lowell Gilbert wrote: Is there some way to find out what's tying up the file descriptors? fstat(1) Of course. I had been thinking of that in terms of files, not file handles. D'oh. -- Paul Beard www.paulbeard.org/ paulbeard [at] mac.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Can't login to machine any more!
Yeah, I ran across this with a google search yesterday. I found that the account expiration dates for all my accounts were set to December 1969 somehow. Changing this fixed it, but I was having some other issues regarding logging in and out with X that were still unresolved, so I'm in the process now of doing a fresh install. Wonder if this has anything to do with the 2bil(?) bug concerning the number of seconds since 1970. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Installation failure with version 4.9
Sounds like you are trying to customize the slices during the install process and you are getting it wrong. Use the A option to auto config the slices for you with an default slice config that works and you should be all right from there. You sound like newbe who needs to get an base install completed and some experience under your belt before you start customizing the install process. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Claude Fournier Sent: Monday, December 29, 2003 12:32 PM To: [EMAIL PROTECTED] Subject: Installation failure with version 4.9 After many attempts, I am giving up. Brand new motherboard with AMD DURON, 128 MB of DDR memory with Western Digital hard disk 64AA. Following instructions, the farther I could get is with the following messages: (1) Unable to swap to /dev/ad0s/b, device not configure or invalid argument (2) Unable to make new root file system on /dev/ad0s1a I am using only one operating system, the intended FreeBSD with one slice and 3 partitions, a root of 4 gig, a SWAP of 512 mg, and the rest for /home. Shall I try with another release? Regards ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installation failure with version 4.9
On Mon, 29 Dec 2003 12:31:40 -0500, Claude Fournier wrote: I am using only one operating system, the intended FreeBSD with one slice and 3 partitions, a root of 4 gig, a SWAP of 512 mg, and the rest for /home. Shall I try with another release? Did you try with a smaller root slice? If you trying from CD it will not take you long. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Websites inside jails - backing up
On Mon, 29 Dec 2003 11:44:15 -0600, Chris wrote: But what about when the site is within a jail? I notice I can get to /path/to/jail/path/to/htdocs, so can I similarly just copy the appropriate files/directories for backup purposes? Or is there something magical about being inside the jail that makes this difficult or improper? Hopefully others with some actual jail experience will reply, but in the mean time.. My understanding of a jail is basically a way to limit access to certain directories and processes. If you have a user which can see inside the jail I think that should be fine for backup purposes. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
kern.maxfiles problem resolved
I figured this out last night but not before I had one spell of catatonia on my system. I used mrtg to graph the increase in file descriptor usage and it made nice straight line, not a curve. That looked suspicious. I also set up a simple while loop in my shell to keep an eye on this. (while [ 1 ] ; do sysctl kern.maxfiles; sleep 60; done ). When that stopped updating at about 6600 files (the max is set at 16384), I rebooted (console was dead). In the process of looking at this, I had noticed that there were a few nmbd (samba) processes in the process table: I expect to see one or two, but not 10 or more. I watched this after rebooting, and sure enough, new processes were spawning ever couple of minutes, and this with no logins to the samba shares. What struck me as odd about this is that the abuse of the file table was being blamed on the wrong UID (80): nmbd doesn't run as the www user, so even if I had been more clueful about fstat, there's a good chance I would have been looking in the wrong places. I killed the samba processes, deinstalled samba, refreshed from cvs and, noting that the version was the same (2.2.8a), I reinstalled with portinstall -P. That seemed to do it. Now openfiles are sitting in the low 200s . . . . I've posted this on my weblog with the relevant image (didn't want to send an attachment to the list). http://www.paulbeard.org/movabletype/archives/001347.html -- Paul Beard www.paulbeard.org/ paulbeard [at] mac.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installation failure with version 4.9
On Mon, 29 Dec 2003 12:31:40 -0500, Claude Fournier wrote: I am using only one operating system, the intended FreeBSD with one slice and 3 partitions, a root of 4 gig, a SWAP of 512 mg, and the rest for /home. Shall I try with another release? I would definitely put more stuff (like maybe /usr and /var) in something other than root for reasons down the road. But there shouldn't be any technical reason that those numbers won't work and if there is room for that on the disk. jerry Did you try with a smaller root slice? If you trying from CD it will not take you long. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DSS for freeBSD
Hi, I received responses from the lister that there is a port, and also it's possible to use the source code for DSS 5 and run it on freeBSD 5.1. I found a port in /usr/ports, but when i run it, it ask me to go to apple web site to download freebsd version of DSS. However freeBSD version of DSS is not there. I've downloaded the source, but I want to learn how I could make it work with freeBSD 5.1. I rather not mess up my system, so I would like to know what changes I need to make to make DSS work.-- -- It looks like the port is out of date. The Apple website has version 5 of the code but the FreeBSD port is stil pointing to 4.1. __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
using Affix instead of BlueZ on 5.1
Hello All, I was wondering if any of you had been using the Affix Bluetooth stack instead of BlueZ on FreeBSD 5.1. It has a built in interface for Ethereal and I'd like to be able to decode traffic. Please let me know if anyone has made the switch successfully. Scott ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: The FreeBSD Diary: 2003-12-07 - 2003-12-27
On Mon, 29 Dec 2003 11:35:48 -0500 Bob Collins [EMAIL PROTECTED] wrote: And for some of us, me, it is nice to be reminded of these pages. They have proven to be extremely helpful. Do you mean we should send a monthly message to this list to remind people the most helpful URLs ? I guess it would be better to bookmark it... That said, I think this message is helpful for new comers. Should maybe contain other helpful URLs such as onlamp.com *I think*. Regards -Pierrick Brossin http://www.swissgeeks.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How can I automatically mount a windows-xp share from a freeBSD box using windows username andpassword?
I can't get smb_mount and smbutil login to work as I would like to. I know this question has been touched earlier this year, but no answer came up at that point. So basically, has anyone been able to mount a windows share from a script in freeBSD? If yes, how did you do? Regards, Joachim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: The FreeBSD Diary: 2003-12-07 - 2003-12-27
Pierrick Brossin [EMAIL PROTECTED] writes: Do you mean we should send a monthly message to this list to remind people the most helpful URLs ? I guess it would be better to bookmark it... Remember that when the reminder for the FreeBSD Diary first started getting posted, each message included a list of the new topics since the previous message. Now that it's pretty much a static site, the usefulness of periodic postings is substantially lower. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I automatically mount a windows-xp share from a freeBSD box using windows username andpassword?
On Dec 29, 2003, at 10:58 AM, Joachim Dagerot wrote: I know this question has been touched earlier this year, but no answer came up at that point. So basically, has anyone been able to mount a windows share from a script in freeBSD? If yes, how did you do? I have done it in Mac OS X so the procedure should be similar: you need to use .nmbrc to store your authentication details, but it should just work. man nsmbrc for more specifics. -- Paul Beard www.paulbeard.org/ paulbeard [at] mac.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: binaries newsgroup downloader
- Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 29, 2003 9:59 AM Subject: binaries newsgroup downloader Hi, I am using freeBSD 5.1 I'm am looking for a newgroup binary downloader. The glitter port package says broken link when i type make install. Do you know an alternative GUI program I can used? If you don't need the gui, you can use newsgrab Leif ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I automatically mount a windows-xp share from a freeBSD box using windows usernameandpassword?
--- | | On Dec 29, 2003, at 10:58 AM, Joachim Dagerot wrote: | | I know this question has been touched earlier this year, but no answer | came up at that point. So basically, has anyone been able to mount a | windows share from a script in freeBSD? If yes, how did you do? | | | I have done it in Mac OS X so the procedure should be similar: you need | to use .nmbrc to store your authentication details, but it should just | work. | | man nsmbrc for more specifics. My system keeps telling me that theres no such entry. However I found an example under /usr/share/examples/smbfs nad copied/renamed it to /root/ I edited the file and changed all values to reflect my system. Then I tried mount_smbfs //[EMAIL PROTECTED]/sharename /mountpoint and still it asks for a password. Any advice is welcome. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I automatically mount a windows-xp share from a freeBSD box using windows usernameandpassword?
On Monday 29 December 2003 01:31 pm, Joachim Dagerot wrote: --- | On Dec 29, 2003, at 10:58 AM, Joachim Dagerot wrote: | I know this question has been touched earlier this year, but no answer | came up at that point. So basically, has anyone been able to mount a | windows share from a script in freeBSD? If yes, how did you do? | | I have done it in Mac OS X so the procedure should be similar: you need | to use .nmbrc to store your authentication details, but it should just | work. | | man nsmbrc for more specifics. My system keeps telling me that theres no such entry. However I found an example under /usr/share/examples/smbfs nad copied/renamed it to /root/ I edited the file and changed all values to reflect my system. Then I tried mount_smbfs //[EMAIL PROTECTED]/sharename /mountpoint and still it asks for a password. Any advice is welcome. You're missing the -N option. See man mount_smbfs. Andrew Gould ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Websites inside jails - backing up
On Mon, Dec 29, 2003 at 11:44:15AM -0600, Chris wrote: But what about when the site is within a jail? I notice I can get to /path/to/jail/path/to/htdocs, so can I similarly just copy the appropriate files/directories for backup purposes? Or is there something magical about being inside the jail that makes this difficult or improper? Your base environment will be able to access the contents of all of your jails no problem. Shouldn't be any problems making backups. The only possible problem I can think of that you might run into is if you have UIDs in the jail(8) that don't exist in the base system, but you'ld have to choose a pretty incompetent backup system if it couldn't cope with that. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: named and 127.0.0.2
I have a bind9 named running on the 4.x stable branch, and have noticed that it seems to be sending udp packets to 127.0.0.2:52 about once every 10 seconds or so (ipfw is denying and logging the traffic). Google has not shed any light on the subject. 127.0.0.2 is often returned by RBLs, when an address is blocked (a.k.a. listed as spam source): http://www.spamhaus.org/sbl/howtouse.html http://www.mail-abuse.org/rbl/usage.html Quoth the previous URL (mail-abuse.org): The theory of operation is simple. Given a host address in its dotted-quad form, reverse the octets and check for the existence of an ``A RR'' at that node under the blackholes.mail-abuse.org node. So if you get an SMTP session from [192.5.5.1] you would check for the existence of: 1.5.5.192.blackholes.mail-abuse.org. IN A 127.0.0.2 We chose to use an ``A RR'' because that's what Sendmail makes easy to do. The choice of [127.0.0.2] as the target address was arbitary but will not change. As it happens, we supply a bogus MAPS RBLSM entry for [127.0.0.2] so that mail transport developers have something to test against. If an ``A RR'' is found by this mechanism, then there will also be a ``TXT RR'' at the same DNS node. The text of this record will be suitable for use as a reason text for a bounced mail notification. Currently the text is constant and currently there is no way to use it from Sendmail, but there it is anyway. Perhaps you have a mail filter installed, which queries one of those RBLs, and then tries to do a reverse DNS lookup for 127.0.0.2? I've grepped all through /etc/, and have found no references to 127.0.0.2, and I certainly don't remember configuring anything (ever) with that particular address. What could be the cause of this mysterious bind behavior? See above. -- Cordula's Web. http://www.cordula.ws/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Burning DVD-R's
Due to inevitable code and data bloat, I need to begin burning DVD-R's instead of CD-R's. However, the man page for FreeBSD's burncd(8) utility doesn't mention whether (or how) FreeBSD is capable of doing this on the Memorex ATAPI drive I have at hand. Can anyone tell me (a) whether FreeBSD can burn DVD-R's; (b) whether it wil work with this drive; and (c) what commands are required to do the burning? All info much appreciated. --Brett Glass ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I automatically mount a windows-xp share from a freeBSDbox using windows usernameandpassword?
Hi, On my 5.1 system the example file its in /usr/share/examples/smbfs/dot.nsmbrc You need to create your own /root/.snmbrc and add the authentication details there. My .nsmbrc file looks like this and it works without asking for password: [NTSERVER:ADMINISTRATOR] # use persistent password cache for user 'administrator' password=myplaintextpassword And then when I issue the following command as root it doesnt ask for a password mount_smbfs -I 192.168.1.2 //[EMAIL PROTECTED]/docs /mnt Good luck, Marian - Original Message - From: Joachim Dagerot [EMAIL PROTECTED] To: paul beard [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, December 29, 2003 9:31 PM Subject: Re: How can I automatically mount a windows-xp share from a freeBSDbox using windows usernameandpassword? --- | | On Dec 29, 2003, at 10:58 AM, Joachim Dagerot wrote: | | I know this question has been touched earlier this year, but no answer | came up at that point. So basically, has anyone been able to mount a | windows share from a script in freeBSD? If yes, how did you do? | | | I have done it in Mac OS X so the procedure should be similar: you need | to use .nmbrc to store your authentication details, but it should just | work. | | man nsmbrc for more specifics. My system keeps telling me that theres no such entry. However I found an example under /usr/share/examples/smbfs nad copied/renamed it to /root/ I edited the file and changed all values to reflect my system. Then I tried mount_smbfs //[EMAIL PROTECTED]/sharename /mountpoint and still it asks for a password. Any advice is welcome. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Burning DVD-R's
drive I have at hand. Can anyone tell me (a) whether FreeBSD can burn DVD-R's; (b) whether it wil work with this drive; and (c) what commands are required to do the burning? All info much appreciated. Check this link. It might help you. http://www.whiterose.net/~mrpink/freebsd/dvdr.php ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: uname weirdness after kernel/OS update
The following is my most recent email message to someone who was helping me with a very odd uname issue. I hope that this reporting of the final events (oh-god-pleaselet-this-be-done-and-over-with) helps someone else some day. The offer that I make at the end of my message is genuine. If a FreeBSD expert (Greg? *nudge*) wants the /boot files, they can have them. Jaime -- Forwarded message -- Date: Mon, 29 Dec 2003 15:05:07 -0500 (EST) From: [EMAIL PROTECTED] To: T Kellers [EMAIL PROTECTED] Subject: Re: compiled kernel file After lots of various ideas, including kernels compiled on different boxes (e.g. the one that you sent) nothing seemed to work. Then, I noticed that not everything in / was being listed when I typed ls at the boot manager. This is when I started getting creative. I used sysinstall's disk slice editor to put a new MBR onto the drive and removed /boot. The next attempt to boot refused to mount any of my SCSI drives and it showed a few files in / that were different than they should be. For example, /proc was missing, /homes (an older attempt to make home directories exist on /homes/students and /homes/staff left this directory behind) was back -- even though I thought that I removed it -- and /home was gone, and the most recent etc-*.tar.gz backup of /etc (which I made before the 12/23/03 cvsup) was missing. It was as if I suddenly took a trip backwards in time for this partition by at least a few months. My best guess is that someone had hidden the real / partition and put their own partition (or disk image?) in its place, using a compromised boot loader. This would explain why using ls at the boot loader produced a different list of files than ls at the single-user shell showed. It also explains why new kernels wouldn't load, making uname give bad results on a new kernel. It was reporting data about the kernel that the cracker had given it! I again removed /boot, /usr/src, and /usr/obj, just in case these were violated, too. I did a new cvsup, make buildworld, make buildkernel, make installkernel, and rebooted into single user mode. The / partition was the way I had left it, not the way it was when the symptoms were noticed. So I kept going and did a make installworld and a mergemaster and then rebooted again. Everything seems to be working well now. uname now says: zeus:jkikpoleuname -a FreeBSD zeus.cairodurham.org 4.9-STABLE FreeBSD 4.9-STABLE #0: Mon Dec 29 13:46:57 EST 2003 root@:/usr/obj/usr/src/sys/ZEUS i386 I have changed my root password a few weeks ago. I just removed the toor password (in vipw, I replaced the cypher with a *). My next step is to change the password of any account in the wheel group. I honestly think that someone had broken into this box and made some really creative cracks. I'm not sure about back doors at this point. Using chkrootkit doesn't show anything out of place. (An occasional possible LKM trojan report, but its not consistent and various people claim that apache can cause false positives on that test.) If ANY of the above rings some bells for you, please let me know. Any advice on securing this box would be appreciated, too. Unfortunately, formatting the drive and reinstalling the OS is not an option at this time. :( Feel free to pass this report along to FreeBSD report along to any FreeBSD power-user that can make the OS better by reading this. I'd be happy to provide assorted files off the system (including any of the /boots that I still have) if they will help. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSD Usenet server
Chris wrote: On Sunday 28 December 2003 02:59 pm, Ion-Mihai Tetcu wrote: morgoth.gw.com Thank you folks for the speedy reply! Now, allow me to expand on my quest - how about an nntp server that anyone can access. Check http://www.gmane.org/ (newsserver is news.gmane.org). Dejan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I automatically mount a windows-xp share from a freeBSD box using windows username andpassword?
Joachim, .nsmbrc: (note the capitilization) # First, define a workgroup. [default] workgroup=BLAH nbns=192.168.1.21 username=me # The 'FSERVER' is an NT server. [WIN2KSERVER] charsets=koi8-r:cp866 addr=192.168.1.68 [WIN2KSERVER:ME] password=smbutil password goes here script: /sbin/mount_smbfs //[EMAIL PROTECTED]/backups /mnt Hope this helps, Jeanne On Mon, 29 Dec 2003 19:58:52 +0100 Joachim Dagerot [EMAIL PROTECTED] wrote: I can't get smb_mount and smbutil login to work as I would like to. I know this question has been touched earlier this year, but no answer came up at that point. So basically, has anyone been able to mount a windows share from a script in freeBSD? If yes, how did you do? Regards, Joachim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Backup Server
I'm actually looking for a decent way to backup data on two servers to my local machine (which isn't accessible from the public). So obviously, I would need some sort of client app on my local machine to connect to the two remote BSD machines and backup the files I need locally. With rsync, it appears that my machine would need to run the server software, and the two servers would run clients. That just wouldn't work. Anyone have any ideas? tar plus maybe wget? Thanks, Matt On Mon, 2003-12-29 at 00:01, Nicholas Basila wrote: On Sunday 28 December 2003 03:26 pm, Matt Juszczak wrote: I read somewhere about the AMANDA project. Is that any good for a situation like this? Well, Amanda is certainly good for the backup of the data. The main site's here: http://www.amanda.org/ and Curtis Preston put part of his O'Reilly book online: http://www.backupcentral.com/amanda.html But... Amanda would not be a great choice because it's really a backup system and you'd end up having to write scripts to restore from dump files created by Amanda to the backup server filesystem. If you're going to that trouble, it would be easier to use rsync. Again, I think shared scsi or fibre channel would be the way to go. I'm not sure how well FreeBSD supports shared scsi/fibre channel drive sharing ( I know it supports some fibre channel adapters), however. If it does work well, you could have a central RAID array running RAID 10 and have the master DB server run with the drive mounted. If the master had problems, the backup/secondary could take over. You would have one set of data to contend with, and consequently, synchronization would not be an issue. My only concern would be filesystem writes and soft depends in general. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Burning DVD-R's
On Dec 29, 2003, at 2:57 PM, Brett Glass wrote: Due to inevitable code and data bloat, I need to begin burning DVD-R's instead of CD-R's. However, the man page for FreeBSD's burncd(8) utility doesn't mention whether (or how) FreeBSD is capable of doing this on the Memorex ATAPI drive I have at hand. Can anyone tell me (a) whether FreeBSD can burn DVD-R's; (b) whether it wil work with this drive; and (c) what commands are required to do the burning? All info much appreciated. Yes, FreeBSD can burn DVD-R's. Please see /usr/ports/sysutils/dvd+rw-tools. This port should work fine with an ATAPI burner such as your unit, but you may need to rebuild the kernel with: device atapicam The command used is called growisofs and invokes mkisofs as needed as a dependency. The manpage includes the following examples: To master and burn an ISO9660 volume with Joliet and Rock-Ridge exten- sions on a DVD: growisofs -Z /dev/dvd -R -J /some/files To append more data to same DVD: growisofs -M /dev/dvd -R -J /more/files Make sure to use the same options for both inital burning and following sessions. To use growisofs to write a pre-mastered ISO-image to a DVD: growisofs -dvd-compat -Z /dev/dvd=image.iso where image.iso represents an arbitrary object in the filesystem, such as file, named pipe or device entry. Nothing is growing here and com- mand name is not intuitive in this context. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Backup Server
On Dec 29, 2003, at 3:21 PM, Matthew Juszczak wrote: With rsync, it appears that my machine would need to run the server software, and the two servers would run clients. That just wouldn't work. While one can run rsync as a daemon (which might not be suitable for your purposes given what you've said), it's also possible to invoke rsync via SSH from either the client or the server... -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
help
Hi I am new to freebsd and unix. I would like you to help me if you can, i need some tutorials or documets on unix commands and so and how to use bsd without X just the shell can you give me information on websites which offer this service thank you! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installation failure with version 4.9
Thank you all for the support I tried multiple partitions with no avail. For example: ad0s1a (/) 128 MB ad0s1b (swap) 432 MB ad0s1e (/var) 256 MB ad0s1f (/tmp) 256 MB ad0s1g (/usr) 5077 MB I tried another route and just install with success redhat 7.1, this is LINUX, not my favorite. It is running OK. Retried FreeBSD and same messages: (1) Unable to swap to /dev/ad0s1b invalid argument (device not configure) (2) Unable to make new root file system on /dev/ad0s1a (3) Couldn't make filesystems properly In the BIOS the hard disk is configured as having 13328 cylinders x 15 heads x 63 sectors as per specifications from Western Digital. I tried using these parameters. Did not work. After installing REDHAT, the parameters used were 784 cylinders x 255 heads x 63 sectors. I left those settings to re-install FreeBSD, did not work. The partition looks like this OFFSET**SIZE(ST)*END*NAME*PTYPE*DESC*SUBTYPE*FLAGS* 063***62-**6***UNUSED**0- 63*12594897*12594959**ad0s13***FREEBSD*165**CA=* It appear that the installation is not capable of formatting the hard disk properly... Anyway I am loading release 4.8 and will try with this older version instead. - Original Message - From: Francisco [EMAIL PROTECTED] To: Claude Fournier [EMAIL PROTECTED] Sent: Monday, December 29, 2003 10:18 AM Subject: Re: Installation failure with version 4.9 On Mon, 29 Dec 2003, Claude Fournier wrote: No, unfortunately I did not try a smaller root slice. I was following advise from Greg Lehey The Complete FreeBSD published by O'Reilly who suggested to part with custom practice. I tried the suggested Auto slice without success As somene else suggested on the list there are reasons why some people recommend multiple partitions. It's almost a religious argument.. If Auto slice did not work then you have other problems. Did you get a warning or error when doing the space allocation? For example an error about geometry? You left the list out in your reply.. feel free to CC the list again so others can also comment. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Burning DVD-R's
At 01:42 PM 12/29/2003, Charles Swiger wrote: Yes, FreeBSD can burn DVD-R's. Please see /usr/ports/sysutils/dvd+rw-tools. I've taken a look at this port. Unfortunately, it's REALLY hard to figure out the documentation (which consists of a few Web pages written in very contorted -- almost unreadable -- English). From what I can tell, though, this software is really meant to work with DVD+R, which records a little more than half as fast as DVD-R. I need the speed, and so need to make sure it really works with DVD-R. Also, it looks as if this port runs on top of another utility called cdrecord, which itself runs on top of an ATAPI-to-SCSI shim. I'm worried that this ziggurat of utilities will not be anywhere near as reliable as a simple utility that goes directly to the ATAPI drive. The code is also GPLed. I'm looking, if at all possible, for an all-BSD solution. Does such exist? The man page for FreeBSD's burncd command hints that it can can write DVDs, but doesn't say how. --Brett ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fuzzy out of focus console w/new flatscreen monitor on bootup
I am using GRUB to boot into Freebsd 4.9 Stable. I recently purchased a new flatscreen monitor and when I boot up the console appears to be very fuzzy. I installed the NVIDIA driver and put the proper settings into the XF86Config and it's clear and in 1600x1200 for X windows. While researching, I found that in Linux, folks have used a switch in grub vga=795 when booting their kernel that gets the console to be much clearer. It doesn't appear that Freebsd supports that switch in grub. Any way to get the equiv switch so the console is clean? Thanks, -Troy ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DVD Burning -- Doh!
Mark Woodson wrote: On Tuesday 23 December 2003 03:10 pm, Eric van Gyzen wrote: I have: - FreeBSD 5.1-RELEASE - HP DVD Writer 300i (ATAPI, using ATAPICAM) - Imation DVD-R media I'm trying: # growisofs -speed=1 -Z /dev/cd0=/tmp/foo.iso :-[ Unit won't start: 40901 ] :-( /dev/cd0: unsupported MMC profile 10 I'd suggest googling unsupported MMC profile 10 and read through the threads that brings up. It appears to have something to do with incompatible media/firmware combos. Boy, do I feel dumb. Upon closer inspection of TFM (of RTFM fame), I realized that this drive only supports DVD+R/RW media. I popped in an Imation DVD+R media and -- Holy Smoke! -- it burned on the first try. *sigh* -- Eric van GyzenSr. Systems Programmer http://www.stat.duke.edu/~vangyzen/ ISDS, Duke University ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ports package names changing?
Is there an project in progress to change the ports and package names that you select on to include the version number as an suffix on the name? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
5.2 where is /kernel.GENERIC
Looking for where the kernel.GENERIC file lives. In 4.9 it's at the start of the directory tree structure, easy to find and manage with other version of the kernel.XX I have created. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Bluetooth tools for BSD
Hello All, I was wondering if anyone had been trying out various tools such as bluesniff and redfang, for instance. I've run into issues getting them to compile and work on 5.1. Has anyone been able to accomplish this and if not, can anyone recommend other tools for BT Sniffing. I'd hate to have to install Linux just to use a few tools. Scott R ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Backup Server
--- Charles Swiger [EMAIL PROTECTED] wrote: On Dec 29, 2003, at 3:21 PM, Matthew Juszczak wrote: With rsync, it appears that my machine would need to run the server software, and the two servers would run clients. That just wouldn't work. While one can run rsync as a daemon (which might not be suitable for your purposes given what you've said), it's also possible to invoke rsync via SSH from either the client or the server... -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re[2]: Websites inside jails - backing up
Thanks for the input I think I can plan on using the same backup method with the jails, with confidence... Chris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.2 where is /kernel.GENERIC
On Mon, 29 Dec 2003, fbsd_user wrote: Looking for where the kernel.GENERIC file lives. In 4.9 it's at the start of the directory tree structure, easy to find and manage with other version of the kernel.XX I have created. Hi fbsd_user. The generic kernel configuration is in /usr/src/sys/arch/conf/GENERIC -Adam Bozanich ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I automatically mount a windows-xp share from a freeBSD box using windows username andpassword?
On Dec 29, 2003, at 10:58 AM, Joachim Dagerot wrote: I know this question has been touched earlier this year, but no answer came up at that point. So basically, has anyone been able to mount a windows share from a script in freeBSD? If yes, how did you do? I see this has been answered already, but there is a wealth of good information here: http://www.google.com/search?q=nsmbrcie=UTF-8oe=UTF-8 -- Paul Beard www.paulbeard.org/ paulbeard [at] mac.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Backup Server
--- Charles Swiger [EMAIL PROTECTED] wrote: On Dec 29, 2003, at 3:21 PM, Matthew Juszczak wrote: With rsync, it appears that my machine would need to run the server software, and the two servers would run clients. That just wouldn't work. While one can run rsync as a daemon (which might not be suitable for your purposes given what you've said), it's also possible to invoke rsync via SSH from either the client or the server... -- -Chuck install rsync from the ports on all machines and on the clients do a /usr/local/bin/rsync -azRv --delete /etc backup_server:/backup/ (modify command to your needs..see man rsync) in a cron job or from command line. This command will use rsync-over-ssh from the client to the backup_server. It will ask for a password unless you set up keys for auto-login with ssh. __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Backup Server
But there would only be one client .. the machine behind my firewall...connecting to the two servers, which are publically available. -Matt On Mon, 2003-12-29 at 17:19, Dave McCammon wrote: --- Charles Swiger [EMAIL PROTECTED] wrote: On Dec 29, 2003, at 3:21 PM, Matthew Juszczak wrote: With rsync, it appears that my machine would need to run the server software, and the two servers would run clients. That just wouldn't work. While one can run rsync as a daemon (which might not be suitable for your purposes given what you've said), it's also possible to invoke rsync via SSH from either the client or the server... -- -Chuck install rsync from the ports on all machines and on the clients do a /usr/local/bin/rsync -azRv --delete /etc backup_server:/backup/ (modify command to your needs..see man rsync) in a cron job or from command line. This command will use rsync-over-ssh from the client to the backup_server. It will ask for a password unless you set up keys for auto-login with ssh. __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Burning DVD-R's
On Dec 29, 2003, at 4:18 PM, Brett Glass wrote: At 01:42 PM 12/29/2003, Charles Swiger wrote: Yes, FreeBSD can burn DVD-R's. Please see /usr/ports/sysutils/dvd+rw-tools. I've taken a look at this port. Unfortunately, it's REALLY hard to figure out the documentation (which consists of a few Web pages written in very contorted -- almost unreadable -- English). The man page for growisofs is the primary documentation; it's not a gem, but neither does it strike me as being far less understandable than man burncd, man mkisofs, or other documentation related to this topic. From what I can tell, though, this software is really meant to work with DVD+R, which records a little more than half as fast as DVD-R. I need the speed, and so need to make sure it really works with DVD-R. Meaning what? You want to make sure the software really works with DVD-R, but you are not willing to test the software yourself? Hmm... Also, it looks as if this port runs on top of another utility called cdrecord, which itself runs on top of an ATAPI-to-SCSI shim. dvd+rw-tools depends on mkisofs (aka sysutils/cdrtools). For ATAPI burner devices, it will use ATAPI/CAM. I'm worried that this ziggurat of utilities will not be anywhere near as reliable as a simple utility that goes directly to the ATAPI drive. Your concern could be resolved by verifying the data after you burn it to DVD, which, come to think of it, is a really fine idea when using any type of backup or archival mechanism. The code is also GPLed. I'm looking, if at all possible, for an all-BSD solution. Is the license actually a genuine concern, or are you inventing excuses? Sigh. FreeBSD contains lots of GPL'ed code: see /usr/src/gnu and /usr/src/contrib! -- -Chuck PS: You're welcome to use whatever software you want, of course, but the problem you want to solve and issues you raised aren't particularly congruent. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cyrus-sasl2 with DB3 support
I've been wrestling with cyrus-sasl2 for quite some time. It appears that it's not linking properly with DB-3 support. I have tried a number of options of building the port. What are the proper switches to link to DB-3? make --with-bdb=db3 install clean make --with-bdb=db3 --with-dblib=berkeley install clean etc... when I do an LDD on libsasldb.so all I get is one library. server# ldd /usr/local/lib/sasl2/libsasldb.so /usr/local/lib/sasl2/libsasldb.so: libc.so.4 = /usr/lib/libc.so.4 (0x28069000) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Does FreeBSD allow one to use the Floppy Drive on a SunBlade 100 ?
I am looking for a replacement OS that I can put on my SunBlade 100. Currently I am using Solaris 9. I have looked at Debian and OpenBSD and both OS's cannot use the floppy drive. I have Googled and I know that FreeBSD 4.9 cannot utilize the floppy drive as well as (I think) 5.0. Does 5.1 change this ? TIA Greg ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Burning DVD-R's
On Mon, Dec 29, 2003 at 05:31:21PM -0500, Charles Swiger wrote: On Dec 29, 2003, at 4:18 PM, Brett Glass wrote: At 01:42 PM 12/29/2003, Charles Swiger wrote: Yes, FreeBSD can burn DVD-R's. Please see /usr/ports/sysutils/dvd+rw-tools. I've taken a look at this port. Unfortunately, it's REALLY hard to figure out the documentation (which consists of a few Web pages written in very contorted -- almost unreadable -- English). The man page for growisofs is the primary documentation; it's not a gem, but neither does it strike me as being far less understandable than man burncd, man mkisofs, or other documentation related to this topic. I agree (for whatever that is worth :-) From what I can tell, though, this software is really meant to work with DVD+R, which records a little more than half as fast as DVD-R. I need the speed, and so need to make sure it really works with DVD-R. Meaning what? You want to make sure the software really works with DVD-R, but you are not willing to test the software yourself? Hmm... Well I tried it and it does work with DVD-RW :-) And while the documentation could use some improvement it does state you can use DVD-R. Also, it looks as if this port runs on top of another utility called cdrecord, which itself runs on top of an ATAPI-to-SCSI shim. dvd+rw-tools depends on mkisofs (aka sysutils/cdrtools). For ATAPI burner devices, it will use ATAPI/CAM. I use the shim with no problems at all. I'm worried that this ziggurat of utilities will not be anywhere near as reliable as a simple utility that goes directly to the ATAPI drive. Well that all depends on your philosophy regarding tools. Your concern could be resolved by verifying the data after you burn it to DVD, which, come to think of it, is a really fine idea when using any type of backup or archival mechanism. An excellent suggestion. I'm paranoid when doing my backups. After I do them I do a restore -N. If you want to be really check things do an actual restore to a different location and do md5sum's to compare the files. Marc -- Marc Wiz [EMAIL PROTECTED] Yes, that really is my last name. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Backup Server
On Mon, 29 Dec 2003 17:28:44 -0500 Matthew Juszczak [EMAIL PROTECTED] wrote: But there would only be one client .. the machine behind my firewall...connecting to the two servers, which are publically available. -Matt Why not (from the client box)? ssh remotehost cd /path/to/dir; tar -czf - dir_name | cat backup.tgz ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Backup Server
On Dec 29, 2003, at 5:28 PM, Matthew Juszczak wrote: But there would only be one client .. the machine behind my firewall...connecting to the two servers, which are publically available. No problem. Set up a cron job on your machine behind it's firewall, which does something like: 1 1 * * * /usr/local/bin/rsync -az --delete -e ssh server1:/stuff /PATH_TO_BACKUPS/server1/ 1 2 * * * /usr/local/bin/rsync -az --delete -e ssh server2:/more_stuff /PATH_TO_BACKUPS/server2/ 1 3 * * * # run backup script like Amanda, dump, etc here... -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Backup Server
Or even just create the tars on the machines nightly and have my box just go in and download them? -Matt On Mon, 2003-12-29 at 17:41, David Varieur wrote: On Mon, 29 Dec 2003 17:28:44 -0500 Matthew Juszczak [EMAIL PROTECTED] wrote: But there would only be one client .. the machine behind my firewall...connecting to the two servers, which are publically available. -Matt Why not (from the client box)? ssh remotehost cd /path/to/dir; tar -czf - dir_name | cat backup.tgz ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: 5.2 where is /kernel.GENERIC
You are talking about the kernel source. I am talking about the /kernel.GENERIC binary execution file. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Adam Bozanich Sent: Monday, December 29, 2003 5:15 PM To: fbsd_user Cc: [EMAIL PROTECTED] ORG Subject: Re: 5.2 where is /kernel.GENERIC On Mon, 29 Dec 2003, fbsd_user wrote: Looking for where the kernel.GENERIC file lives. In 4.9 it's at the start of the directory tree structure, easy to find and manage with other version of the kernel.XX I have created. Hi fbsd_user. The generic kernel configuration is in /usr/src/sys/arch/conf/GENERIC -Adam Bozanich ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vinum swap no longer working.
On Mon, Dec 29, 2003 at 10:30:14AM -0500, Andrea Venturoli wrote: Can't help you, but I'm just curious... What is the point in mirroring a swap partition? Isn't this slowing the system down? - yes, this is a bug in 5.2. greg lehey is working on it (i think so) - mirroring swap _is_ useful because it's an backend store for memory pages. if you lose your swap partition and the kernel wants to page in, you or better the kernel will have a problem. haven't tried that but i think the machine will panic. hth, toni -- Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at lieber gar nicht, als dass man verurteile. | Toni Schmidbauer -- Rudolf Steiner| pgp0.pgp Description: PGP signature
Re: Does FreeBSD allow one to use the Floppy Drive on a SunBlade 100 ?
On Dec 29, 2003, at 3:05 PM, fbsd_user wrote: I have Googled and I know that FreeBSD 4.9 cannot utilize the floppy drive as well. You are complete wrong. I have been using FBSD since 4.2 and the floppy has been working for me. I think the OP means on his specific hardware, the SunBlade 100. No one would dispute using a floppy on x86 hardware. -- Paul Beard www.paulbeard.org/ paulbeard [at] mac.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: 5.2 where is /kernel.GENERIC
On Mon, 29 Dec 2003, fbsd_user wrote: You are talking about the kernel source. I am talking about the /kernel.GENERIC binary execution file. Ooh, sorry. kernel co. are in /boot/kernel. If you want to back it up, use cd /boot ; cp -R kernel kernel.GENERIC and issue 'boot kernel.GENERIC' from the boot prompt if you want to use it later. -Adam ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.2 where is /kernel.GENERIC
On Dec 29, 2003, at 3:08 PM, fbsd_user wrote: You are talking about the kernel source. I am talking about the /kernel.GENERIC binary execution file. locate kernel.GENERIC and see what it turns up. find / -name kernel.GENERIC -print cd / ls -l kernel* -- Paul Beard www.paulbeard.org/ paulbeard [at] mac.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Does FreeBSD allow one to use the Floppy Drive on a SunBlade 100 ?
-Original Message- I am looking for a replacement OS that I can put on my SunBlade 100. Currently I am using Solaris 9. I have looked at Debian and OpenBSD and both OS's cannot use the floppy drive. I have Googled and I know that FreeBSD 4.9 cannot utilize the floppy drive as well as (I think) 5.0. Does 5.1 change this ? TIA Greg On Mon, 29 Dec 2003 18:05:40 -0500 fbsd_user [EMAIL PROTECTED] wrote: I have Googled and I know that FreeBSD 4.9 cannot utilize the floppy drive as well. You are complete wrong. I have been using FBSD since 4.2 and the floppy has been working for me. According to http://www.freebsd.org/releases/5.0R/hardware-sparc64.html, 1.44 Mbyte floppy drives are not supported. http://www.freebsd.org/releases/5.1R/hardware-sparc64.html doesn't say anything about floppy drives that I could find, but it says that Sun Blade 100 is Fully Supported. I suppose can infer from that that floppy drive support on the Sun Blade 100 made it in between 5.0 and 5.1. -Chris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
kernel: feeder_init(0xc4827380) on feeder_rate returned 12 ??
Hi, I got this on the system console. I wasn't doing anything unusual. Google returned nothing; any hints ? it/# uname -v FreeBSD 5.1-RELEASE-p11 #0: Fri Dec 12 02:15:32 EET 2003 root@:/usr/obj/usr/src/sys/IT1 Dec 30 00:25:14 it kernel: feeder_init(0xc4827380) on feeder_rate returned 12 Dec 30 00:25:15 it kernel: feeder_init(0xc6314d80) on feeder_rate returned 12 Dec 30 00:42:20 it kernel: feeder_init(0xc63ddb00) on feeder_rate returned 12 Dec 30 00:42:20 it kernel: feeder_init(0xc4970e40) on feeder_rate returned 12 Dec 30 00:42:21 it kernel: feeder_init(0xc63eb740) on feeder_rate returned 12 Dec 30 00:42:21 it kernel: feeder_init(0xc6345dc0) on feeder_rate returned 12 Dec 30 00:47:18 it kernel: feeder_init(0xc5b5ae80) on feeder_rate returned 12 Dec 30 00:47:18 it kernel: feeder_init(0xc65d6480) on feeder_rate returned 12 -- IOnut Unregistered ;) FreeBSD user ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
rdiff-backup and windows fileshare
I'm probably stupid or so, but I continue getting Errno 2: no such file or directory when I'm trying to run rdiff-backup on a freeBSD directory but saving it to a mounted windows share. Yes, I am using the --windows-mode option. I have a feeling that it's something with the zero-length semaphore files. But it's just a feeling. For a while I thought it was the network that was too slow, but I can't even copy an existing backup to the windows share. So my backup solution is to do a rdiff-backup to another hard drive and then do a tar:ing it and saving it to the windows machine. I don't even know if the rdiff-backup directory would be intact after I untar it if something is crashing. So, what am I asking? Well, first: Is it possible at all to have rdiff-backup saving to a mounted windows share (without using cygwin)? Is there any other backup programs that would support this? Tanks, Joachim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]