Re: ghostview missing libc.so.4?
In the last episode (Dec 27), Chip Wiegand said: 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 Somehow you managed to install a FreeBSD 4 package onto a FreeBSD 5 system. pkg_delete it, then run pkg_add -r ghostview to fetch the correct package from ftp.freebsd.org, or cd into /usr/ports/print/ghostview and run make install if you want to build it yourself. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
kern.maxfiles questions
I'm still having some issues with file descriptors being used up. Symptomatically, my http listener will become sluggish and some cgi processes I use will time out. The logs have a raft of these messages: Dec 27 22:46:13 red /kernel: kern.maxfiles limit exceeded by uid 80, please see tuning(7). Dec 27 22:47:12 red /kernel: kern.maxfiles limit exceeded by uid 1004, please see tuning(7). I can't even query sysctl, but after stopping httpd and postfix (the processes being run by those UIDs) I can finally get this information. [/usr/home/paul]:: sysctl kern.openfiles kern.maxfiles kern.openfiles: 257 kern.maxfiles: 4040 and on further examination I am finding some swap shortages (this machine has 512 Mb of real memory but only the same amount of swap). what tunables can be twiddled, assuming swap doesn't solve this? FreeBSD red.paulbeard.org 4.9-RELEASE FreeBSD 4.9-RELEASE #3: Sun Dec 21 14:01:26 PST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/RED i386 -- 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]
Taking a snapshot of a UFS filesystem
Hi All, In the December 2003, Sys Admin magazine (www.sysadminmag.com), there was an article (pg 17), about doing Oracle DB Backups using UFS Snapshots. This was implemented using a facility built into Solaris. I have read about other snapshot products for MS Windows NTFS etc. Is there a way to do snapshot backups using FreeBSD's UFS? Hmm, after writing the above, I thought I should at least google for 'freebsd snapshot backup'. Well, low and behold, there it is in 5.0+ Cool! OK, I will remod my question, is there any talk of having the snapshot feature being retro fitted to 4.x stable? (or is there some other util/port out there that does this?) Cheers, Paul PS. FreeBSD never ceases to amaze me ;-) ___ [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?
Dan Nelson wrote: In the last episode (Dec 27), Chip Wiegand said: 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 Somehow you managed to install a FreeBSD 4 package onto a FreeBSD 5 system. pkg_delete it, then run pkg_add -r ghostview to fetch the correct package from ftp.freebsd.org, or cd into /usr/ports/print/ghostview and run make install if you want to build it yourself. Still one problem with doing that - after pkg_delete ghostview and pkg_add -r ghostview I get these errors - cannot find ghostscipt in your path - install your favorite version of ghostscript, otherwise the program is useless warning: package 'ghostview-1.5 ' requires 'imake-4.3.0' but found 'imake-4.3.0_2' warning: package 'ghostview-1.5 requires 'freetype2-2.1.4_1' but found 'freetype2-2.1.5._1' warning: package 'ghostview-1.5 requires 'fontconfig-2.2.0' but found 'fontconfig-2.2.90_3' warning: package 'ghostview-1.5 requires 'XFree86-libraries-4.3.0_5' but found 'XFree86-libraries-4.3.0_6' I have ghostscript-gnu-7.07_4 installed. This is really messed up. -- Chip ___ [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?
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. I'm only running 4.9: I assume you're on 5.x if you have a higher file number? Yep, I installed 5.1. -- Chip -- 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]
The FreeBSD Diary: 2003-12-07 - 2003-12-27
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/. -- Dan Langille - DVL Software Limited The FreeBSD Diary - http://www.FreeBSDDiary.org/ - practical examples FreshPorts- http://www.FreshPorts.org/ - the place for ports FreshSource - http://www.FreshSource.org/ - the place for source ___ [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
quick question why do you keep mailing the same thing voer and over again? * 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/. -- Dan Langille - DVL Software Limited The FreeBSD Diary - http://www.FreeBSDDiary.org/ - practical examples FreshPorts- http://www.FreshPorts.org/ - the place for ports FreshSource - http://www.FreshSource.org/ - the place for source ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-newbies To unsubscribe, send any mail to [EMAIL PROTECTED] ---++--- -GnuPGPVer 1.2.3-- pub 1024D/B9046473 2003-11-21 Dev Tugnait (Freebsd) [EMAIL PROTECTED] Key fingerprint = F690 6725 1930 6FBE C05A FE4D 6CB1 34C1 B904 6473 sub 1024g/F8F019DF 2003-11-21 -- ___ [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 tocheckfrequently?
| 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. | | I'm sorry that you lost data. | | While you may have been able to notice the problem with the RAID-5 array in | time to do something, what you ought to do to avoid losing more data sometime | in the future involves making good backups-- not poring over the system log | files, not configuring RAID. I realise you are right. The thing is that this is a home system and I have (had!) around 230 GB of data that was non-replicable. I am not aware of a deasent backup system that can handle that amount of data. I will post another question about this later on. Thanks for your answers! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: missing /usr/libexec/ld-elf.so.1 ... not found
On Sat, Dec 27, 2003 at 05:53:30PM -0500, Peter Leftwich wrote: On Sat, 27 Dec 2003, Matthew Seaman wrote: On Sat, Dec 27, 2003 at 12:34:17AM -0500, Peter Leftwich wrote: The problem I now have is that I would like to mount_msdos a regular floppy then copy (cp or cpio?) a file from it called ld-elf.so.1 to the mounted partition which contains FreeBSD 4.7-RELEASE on my hard disk. Typing just mount is not found. Oddly enough, typing help or cd /bin then ./help says Permission denied. I cannot locate a mount binary, however, I found mount_nfs and mount_mfs so would either of those work for mounting both an msdos floppy then my 4.7 partition? Then must I use cpio to copy A:\ld-elf.so.1 over to the 4.7 partition?? You can write the file direct to the floppy device /dev/fd0 as if it was a tape. No need to mount any sort of filesystem. Since you have cpio(1) available use: # cd /usr/libexec Now, will the command above change to my live system's /usr/libexec directory, or a pretend one that exists only in RAM (ie. the way that the emergency holographic shell exists in a /ramdisk if you will)? This is assuming that you have another FreeBSD box which works properly, and that you can copy the ld-elf.so.1 file from. The intention is that you use a different floppy than the ones you use to boot from, and swap them in and out as required. # echo ./ld-elf.so.1 | cpio -o /dev/fd0 When you say write the file direct do you mean that my system's / root directory may also be directly written to, without having to first mount it??! Not like this: writing direct to a block device like this will destroy any filesystem already on the device. That's generally not what you want, but it can be permissible in extremis to trash some floppy disks... Then to extract the file: # cd /usr/libexec # cpio -i /dev/fd0 My apologies. This all seems a little scary, and does not sound proper... Absolutely. It is both scary and improper. 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: ghostview missing libc.so.4?
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 -- 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: 1024x768 on a toshiba 8100 tecra in a text (Non X) Console screen
All my previous attempts to send this message failed cause my ISP's SMTP server is blocked: The following message to [EMAIL PROTECTED] was undeliverable. The reason for the problem: 5.1.0 - Unknown address error 554-'Service unavailable; Client host +[212.123.84.81] blocked using bl.spamcop.net; Blocked - see +http://www.spamcop.net/bl.shtml?212.123.84.81' So I'm sending this through yahoo's webmail service (sorry if line wrap looks bad). The text of the orignal reply was: From vidcontrol(1) manpage: [...] modeSelect a new video mode. The modes currently recognized are: 80x25, 80x30, 80x43, 80x50, 80x60, 132x25, 132x30, 132x43, 132x50, 132x60, VGA_40x25, VGA_80x25, VGA_80x30, VGA_80x50, VGA_80x60, VGA_90x25, VGA_90x30, VGA_90x43, VGA_90x50, VGA_90x60, EGA_80x25, EGA_80x43, VESA_132x25, VESA_132x43, VESA_132x50, VESA_132x60. The raster text mode VESA_800x600 can also be cho- sen. See Video Mode Support below. [...] It seems that you can't set 1024x768 VESA mode, only 800x600. Furthermore, to achieve this you have to recompile your kernel with the SC_PIXEL_MODE option. See section 'Video Mode Support', as suggested in the above snippet. Francesco Casadei __ Yahoo! Mail: 6MB di spazio gratuito, 30MB per i tuoi allegati, l'antivirus, il filtro Anti-spam http://it.yahoo.com/mail_it/foot/?http://it.mail.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 1024x768 on a toshiba 8100 tecra in a text (Non X) Console screen
Hi, I seems indeed that only the VESA_800x600 can be set. I had hopes that this would not be the case.. Anyway right know I am having too many system freezes when trying to start X.. most of the time starting X will just freeze the whole system. But that is another issue since I am using 5.2 RC2 and this is not the right place to discuss this. I use FreeBSD for server (Proxy, DNS, DHCP etc) purposes for I am used to it an knows how to tweak it for very high performance. I work the whole day with a text interface so I want something different when at home. I want it to be easy enough to setup without the need to recompile or set any special settings in for instance device.hints or loader.conf. I used to use Apple for this and later on Windows.. Greetings, Lucio On 0, Francesco Casadei [EMAIL PROTECTED] wrote: :On Sat, Dec 27, 2003 at 11:59:24AM +0100, List Man wrote: snip : I want to be able to use my full screen in text (Not X) mode. Right now the : standard resolution is 640x480 and I would like to get it to 1024x768. : : When I do a vidcontrol -i mode I get plenty of resolution options : presented. : : One of them : : 261 (0x105) 0x000f G 1024x768x8 18x16 0xa 64k 64k 0xf000 8192k : : vidcontrol -g 1024x768x8 will not give me error messages but the screen resolution : doesn't change. : : This is a piece of my dmesg output : : VESA: v2.0, 8192k memory, flags:0x0, mode table:0xc0a01c82 (122) : VESA: S3 Incorporated. M7 BIOS : : In case some of you might wonder where you can get splash screens, this is where I got : mine : http://www.baldwin.cx/splash/. : snip : :From vidcontrol(1) manpage: : :[...] : modeSelect a new video mode. The modes currently recognized are: : 80x25, 80x30, 80x43, 80x50, 80x60, 132x25, 132x30, 132x43, : 132x50, 132x60, VGA_40x25, VGA_80x25, VGA_80x30, VGA_80x50, : VGA_80x60, VGA_90x25, VGA_90x30, VGA_90x43, VGA_90x50, VGA_90x60, : EGA_80x25, EGA_80x43, VESA_132x25, VESA_132x43, VESA_132x50, : VESA_132x60. The raster text mode VESA_800x600 can also be cho- : sen. See Video Mode Support below. :[...] : :It seems that you can't set 1024x768 VESA mode, only 800x600. :Furthermore, to achieve this you have to recompile your kernel with the :SC_PIXEL_MODE option. : :See section 'Video Mode Support', as suggested in the above snippet. : : Francesco Casadei : -- :wq! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ip addressing in freebsd
1. in freebsd we can have two ip address for a single host like 2.0.0.1 17.0.0.1 by using ifconfig but why can't we assign two ip like 2.0.0.1 2.0.0.2 (i know that both r in same network) 2 so where is the problem in resolving the ip addressing of the host 3 where i can find more about this (links) 4. where is the code of the ip resolution in thekernel niraj Yahoo! India Matrimony: Find your partner online.Post your profile. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ip addressing in freebsd
At 07:21 AM 12/28/2003, you wrote: 1. in freebsd we can have two ip address for a single host like 2.0.0.1 17.0.0.1 by using ifconfig but why can't we assign two ip like 2.0.0.1 2.0.0.2 (i know that both r in same network) 2 so where is the problem in resolving the ip addressing of the host 3 where i can find more about this (links) 4. where is the code of the ip resolution in thekernel niraj You can do this. You setup aliases in rc.conf: ifconfig_bge0=inet 2.0.0.1 netmask 255.255.255.0 ifconfig_bge0_alias0=inet 2.0.0.2 netmask 255.255.255.255 ( you need a 32bit mask on any aliases especially ones on the same subnet) then, if you do this you will see ARP complaints. To quiet that up add this to your sysctl.conf: net.link.ether.inet.log_arp_wrong_iface=0 Hope this helps! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SCSI Emulation
Hi, I am using FreeBSD 5.1 Is scsi emulation available in freeBSD 5.1? If yes, How? If not, is there a way I can use cdrecord with an IDE cdrw drive? If both answers to these two questions is NO , do you know if freeBSD will support SCSI emulation in their future releases? I appreciate your feedback. David Velez ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
The best Anti spam - Anti virus email solution
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 :-) -- Brent Bailey CCNA Bmyster LLC Computer Networking and Webhosting Network Engineer, Webmaster, President http://www.bmyster.com [EMAIL PROTECTED] 207-247-8330 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ip addressing in freebsd
On Sun, 28 Dec 2003, niraj kumar wrote: 1. in freebsd we can have two ip address for a single host like 2.0.0.1 17.0.0.1 by using ifconfig but why can't we assign two ip like 2.0.0.1 2.0.0.2 (i know that both r in same network) In your rc.conf: ifconfig_fxp0=...2.0.0.1 ifconfig_fxp0_alias0=...2.0.0.2 netmask 255.255.255.255 ifconfig_fxp0_alias1=...2.0.0.3 netmask 255.255.255.255 See /etc/defaults/rc.conf for more examples. 3 where i can find more about this (links) http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ chapters on networking and setup 4. where is the code of the ip resolution in thekernel http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ chapters on the kernel and references for the OS internals. DW ___ [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!
Matt Juszczak wrote: Maybe you can find something here? http://mail.gnome.org/archives/gnome-doc-list/2001-July/msg00170.html - Original Message - From: Trey Sizemore [EMAIL PROTECTED] To: Micheal Patterson [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, December 27, 2003 6:40 PM Subject: Re: Can't login to machine any more! Micheal Patterson wrote: - Original Message - From: Trey Sizemore [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, December 27, 2003 6:10 PM Subject: Can't login to machine any more! Just recently I can no longer login to my machine. When I get to the gdm screen and enter my username and password I get: The system administrator has disabled your account. This happens with both my normal account and THE ROOT ACCOUNT! Is this recoverable and, if so, how? Thanks. You should be able to boot up in single user mode and correct this problem. I'm not sure what would cause it though. Logged into single user mode and ran: #grep root /etc/passwd It showed the shell to be /bin/sh Did a reboot and tried to login with gdm again and got the same message. Sorry, missed the gdm part. Thought you were locked out of shell. -- Micheal Patterson Network Administration TSG Incorporated 405-917-0600 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. Thanks for the info, everyone! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SCSI Emulation
[EMAIL PROTECTED] wrote: Hi, I am using FreeBSD 5.1 Is scsi emulation available in freeBSD 5.1? If yes, How? If not, is there a way I can use cdrecord with an IDE cdrw drive? If both answers to these two questions is NO , do you know if freeBSD will support SCSI emulation in their future releases? I appreciate your feedback. David Velez If you want to use a graphical front-end to burn CD's DVD's, then you will normally need to add atapicam in your kernel config and then rebuild the kernel. burncd can be used (as I understand it) without atapicam. The following section of the manual goes into more detail about all this and should answer all your questions: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html HTH! ___ [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 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? 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/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 1024x768 on a toshiba 8100 tecra in a text (Non X) Console
Anyway right know I am having too many system freezes when trying to start X.. most of the time starting X will I'm entering this message from a KDE Konsole screen running on a Tecra 8100 under 5.2-CURRENT of 12/22. I usually use the 8100 in a docking station with an external monitor, but the few times I've run the laptop out of the dock I've had no problems. My XF86Config file has Section Device Identifier Card0 Driver savage VendorName S3 Inc. BoardName 86C270-294 Savage/MX-MV BusID PCI:1:0:0 EndSection for the video hardware. Mike Squires ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Log Rotation
In particular, Im looking to see if there is a FreeBSD way in rotating PostgreSQL logs. Any advise would be appreciated. Thanks ___ [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 tocheckfrequently?
Joachim Dagerot writes: I realise you are right. The thing is that this is a home system and I have (had!) around 230 GB of data that was non-replicable. I am not aware of a deasent backup system that can handle that amount of data. 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 ___ [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
Hi Julio, i have installed freebsd along side NTFS systems for some time now and they do work. you need to make sure in /stand/sysinstall that u have your partitions, slices etc set up correctly,(I mean set up the way that u think is correct). For Example, even though the XP slice that i have is the 3rd slice on my box(FreeBsd 5-Current, then RH9 Then WinXp) the device name for my xp slice still reads /dev/ad0s1. Though this dont seem right it works, i thought that it should read /dev/ad0s3. So to try and answer your questions. 1. Can I have another dual boot on my machine with XP (NTFS) and FreeBSD? yes u can, remember that u can mount the xp slice for READ not Write. You can only read from the ntfs. man mount for more information. (for people who wish to correct me, there are some way to write to the ntfs, i know but as a general rule dont write to this file system type.) 2. Where can I read more about the process of instalation to keep my XP partition alive? u can read more in the handbook. if u do not tamper with your xp partition durring /stand/systinstall then the partition will not be bothered. (just remember what the device name is when you are using fips). What boot loader are u planning on using? i have tried BOOTMAGIC,FREEBSDs boot loader and also i have used grub (which is available in the ports). With grub i was not able to boot fbsd when my fbsd slice was formated with ufs2. this might have been fixed though. have fun. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Backup Server
On Friday 26 December 2003 12:30 pm, samy lancher wrote: Hello all, I have a 4.5 FreeBSD server. It is our Email, web and database server. I would like to setup a backup server so that when the main server goes down the backup server takes over its job. Could some one please tell me the best way to setup a backup server and also suggest some good documentation. In order to keep the data synchronized, you could possibly used some sort of shared scsi or fibre channel drive/array. You'd have to write a script that would run on the backup and tell it to mount the drive and startup the databases when the server was down. Shared scsi might be the easiest, but you'll have to buy some Y-terminated scsi cables so that the main machine won't reset the scsi bus on the backup machine when it (the main machine) goes down. Nicholas Thanks in advance, Naveen. - Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard ___ [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: What logs etc do I need tocheckfrequently?
On Sunday 28 December 2003 10:27 am, Robert Huff wrote: Joachim Dagerot writes: I realise you are right. The thing is that this is a home system and I have (had!) around 230 GB of data that was non-replicable. I am not aware of a deasent backup system that can handle that amount of data. There are systems that will put 160 GB (uncompressed) on a single tape ... they'll just run you $3000-3500. Even better: the LTO2 will do 200GB uncompressed quite quickly. Here's one on e-bay for $3k: http://cgi.ebay.com/ws/ eBayISAPI.dll?ViewItemitem=2775174028category=3756 Nicholas 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 ___ [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: ghostview missing libc.so.4?
On Sun, Dec 28, 2003 at 12:09:13AM -0800, Chip Wiegand wrote: Still one problem with doing that - after pkg_delete ghostview and pkg_add -r ghostview I get these errors - Those are warnings, not errors. Kris pgp0.pgp Description: PGP signature
Re: Taking a snapshot of a UFS filesystem
On Sun, Dec 28, 2003 at 03:48:49PM +0800, Paul Hamilton wrote: OK, I will remod my question, is there any talk of having the snapshot feature being retro fitted to 4.x stable? (or is there some other util/port out there that does this?) It's unlikely the extensive changes will be back-ported to 4.x. Kris pgp0.pgp Description: PGP signature
arp -d -a fail on freebsd5.2 rc2
I install FreeBSD 5.2 RC1 from ISO disk 1(full vertion).The arp -d -a command not work and reboot the computer, but the command arp -d hostname work. - http://gsm.ABV.bg - ! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: A Challenge... NAT for PPP dial in user
That's for that, I've added an entry to my rc.conf - ppp_nat=NO. Hopefully that will stop ppp trying to use nat... Thanks, D From: Lowell Gilbert [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: Drew Robertson [EMAIL PROTECTED] Subject: Re: A Challenge... NAT for PPP dial in user Date: 26 Dec 2003 09:45:52 -0500 Drew Robertson [EMAIL PROTECTED] writes: I've been playing around with this for a while. I have a FreeBSD 4.8 box set as a gateway on my home LAN. I have 1 pc downstairs, and a few dial up users... FreeBSD box has 2 network cards, 1 for internal, 1 for external internet using cable 1 56k modem. Very simple problem... when a dial in user connects to the FreeBSD gateway/router using PPP, NAT stops working on the PC downstairs and won't work on the dial in PC either... I have complete LAN access (telnet, ssh, samba, ping etc) on both the dial in PC and the downstairs PC, but somewhere my config is preventing everyone from being able to access the internet at once. In rc.conf, I have my Gateway_enable=YES, defaultrouter=192.168.1.1, router_enable=yes, proxyarp_all=yes... PPP.conf is simple... enable pap enable passwdauth set ifaddr 192.168.1.1 192.168.1.100-192.168.1.199 255.255.255.0 add HISADDR 255.255.255.0 MYADDR accept dns set dns 203.2.75.132 enable proxy In natd.conf interface tl0 sameports yes dynamic yes I'm running a firewall, but it is open for the TUN0 interface... I also have a divert natd (8668) allow all from any to any out via tl0 All other PC's on the LAN are windows clients... the one downstairs I was able to just set a default gateway and it was up and running on the internet, unfortunately it isn't done like that on a dial in setup on windows... I can't use DHCP for the clients, as I'm not supposed to have internet sharing running... Do I need to have an add statement in the PPP.conf, or do i have to enable proxyall rather than enable proxy?? Worst thing about this is I can't find enough doco on it on the net... I'll write my own when I get it done... I think that natd(8) and the NAT from ppp(8) are stepping on each other's toes. Try not enabling NAT in ppp(8) at all, and letting natd(8) take care of it. It's the same outside interface, after all; it should just work. -- Lowell Gilbert, embedded/networking software engineer, Boston area: resume/CV at http://be-well.ilk.org:8088/~lowell/resume/ username/password public _ Get less junk mail with ninemsn Premium. Click here http://ninemsn.com.au/premium/landing.asp ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
updates + acpi
Hello I want to start using FreeBSD after using debian unstable for a year :) So I installed FreeBSD 5.1 about 2 months ago. I installed gaim and figured out that this version of gaim didn't support msn. So I wanted to upgrade my ports tree, but because my laptop is 300 mhz, I do not want to recompile my whole ports tree. I looked at freebsd-update but couldn't figure out how it worked. I also looked at PACKAGESITE and PACKAGEROOT, but that only grabs the latest packages instead of updating the whole ports system. (I'm missing the apt-get update/upgrade tools:) Could somebody show me how to update the ports. Further, I want to use acpi, but it gives the following error while it tries to mount my drive: setrootbyname failed ffs_mountroot: can't find rootvp Root mountfailed: 6 After that I get something like this: Manual root filesystem specification: fstype:device Mount device using filesystem fstype e.g. ufs:/dev/ad0s1a ? List valid diskboot devices empty line Abort manual input mountroot It's not possible to mount the filesytem :( If I disable acpi than my system will boot normally. So has anyone encounterd this problem, and if not, how can I get my dmesg output to put in a bug report. This is on a toshiba portege 3020ct. Regards, Roland van Laar ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: updates + acpi
The MiP RvL wrote: Hello I want to start using FreeBSD after using debian unstable for a year :) So I installed FreeBSD 5.1 about 2 months ago. I installed gaim and figured out that this version of gaim didn't support msn. So I wanted to upgrade my ports tree, but because my laptop is 300 mhz, I do not want to recompile my whole ports tree. I looked at freebsd-update but couldn't figure out how it worked. I also looked at PACKAGESITE and PACKAGEROOT, but that only grabs the latest packages instead of updating the whole ports system. (I'm missing the apt-get update/upgrade tools:) Could somebody show me how to update the ports. Roland - if you're just looking for the latest version of gaim, chances are that 'pkg_add -r gaim' will do what you want. That should add the latest package from the master packages repository. Otherwise, check out the section of the handbook dealing with updating the ports tree with cvsup, and manually install gaim again. (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html) as far as you're acpi problem, there are a number of documented problems with 5.1, many will be fixed with 5.2, but i have not been following those discussions close enough to know if your machine is effected by the known issues or something new. ~j -- Jonathan T. Sage Lighting Scenic Design Professional Web Design [HTTP://www.theatre.msu.edu] [EMAIL PROTECTED] [PGP: 182C CF3F 93A9 1DAA 2EBE D4D5 A159 96D9 452E A7F1] pgp0.pgp Description: PGP signature
Is my HD failing?
For some reason lately my computer has had a bad problem with lag. So when I went to investigate it I found the items listed below in my Dmesg logs. Could this possibly be a HD failing? ad0s1g is mounted as /usr in my fstab config file. Suggestions would be welcome. Contents of my dmesg logs: -- ad0: READ command timeout tag=0 serv=0 - resetting ata0: resetting devices .. ata0-slave: ATA identify retries exceeded done ad0: READ command timeout tag=0 serv=0 - resetting ata0: resetting devices .. done ad0: READ command timeout tag=0 serv=0 - resetting ata0: resetting devices .. ata0-slave: ATA identify retries exceeded done ad0: READ command timeout tag=0 serv=0 - resetting ata0: resetting devices .. ata0-slave: ATA identify retries exceeded done ad0: READ command timeout tag=0 serv=0 - resetting ata0: resetting devices .. ata0-slave: ATA identify retries exceeded done ad0: READ command timeout tag=0 serv=0 - resetting ata0: resetting devices .. ata0-slave: ATA identify retries exceeded done ad0: READ command timeout tag=0 serv=0 - resetting ata0: resetting devices .. done ad0: READ command timeout tag=0 serv=0 - resetting ata0: resetting devices .. ata0-slave: ATA identify retries exceeded done ad0: READ command timeout tag=0 serv=0 - resetting ata0: resetting devices .. ata0-slave: ATA identify retries exceeded done ad0s1g: hard error writing fsbn 108194783 of 50836384-50836607 (ad0s1 bn 108194783; cn 6734 tn 207 sn 32) trying PIO mode ad0: DMA problem fallback to PIO mode ad0: DMA problem fallback to PIO mode ad0: DMA problem fallback to PIO mode ad0: DMA problem fallback to PIO mode ad0: DMA problem fallback to PIO mode ad0: DMA problem fallback to PIO mode ad0: DMA problem fallback to PIO mode ad0: DMA problem fallback to PIO mode ad0: DMA problem fallback to PIO mode ad0: DMA problem fallback to PIO mode ad0: DMA problem fallback to PIO mode ad0: DMA problem fallback to PIO mode ad0: DMA problem fallback to PIO mode ad0s1g: hard error writing fsbn 108194991 of 50836384-50836607 (ad0s1 bn 108194991; cn 6734 tn 210 sn 51) status=61 error=04 ad0s1g: hard error writing fsbn 144479183 of 68978464-68978719 (ad0s1 bn 144479183; cn 8993 tn 105 sn 23) status=61 error=04 ad0s1g: hard error writing fsbn 15592783 of 4535264-4535519 (ad0s1 bn 15592783; cn 970 tn 154 sn 31) status=61 error=04 ad0s1g: hard error writing fsbn 149161103 of 71319424-71319679 (ad0s1 bn 149161103; cn 9284 tn 216 sn 35) status=61 error=04 ad0s1g: hard error writing fsbn 138246799 of 65862272-65862527 (ad0s1 bn 138246799; cn 8605 tn 118 sn 40) status=61 error=04 ad0s1g: hard error writing fsbn 29878511 of 11678240-11678271 (ad0s1 bn 29878511; cn 1859 tn 217 sn 5) status=61 error=04 ad0s1g: hard error writing fsbn 149341071 of 71409408-71409663 (ad0s1 bn 149341071; cn 9296 tn 13 sn 12) status=61 error=04 ad0s1g: hard error writing fsbn 140011215 of 66744480-66744735 (ad0s1 bn 140011215; cn 8715 tn 75 sn 15) status=61 error=04 ad0: read interrupt arrived earlyad0s1g: hard error writing fsbn 134306063 of 63892000-63892063 (ad0s1 bn 134306063; cn 8360 tn 42 sn 17) status=61 error=04 ad0: read interrupt arrived earlyad0s1g: hard error writing fsbn 125199887 of 59338816-59339071 (ad0s1 bn 125199887; cn 7793 tn 84 sn 50) status=61 error=04 ad0s1g: hard error writing fsbn 133059823 of 63268800-63269023 (ad0s1 bn 133059823; cn 8282 tn 150 sn 43) status=61 error=04 ad0s1g: hard error writing fsbn 135392783 of 64435360-64435423 (ad0s1 bn 135392783; cn 8427 tn 206 sn 50) status=61 error=04 ad0s1g: hard error writing fsbn 112606927 of 53042336-53042591 (ad0s1 bn 112606927; cn 7009 tn 116 sn 34) status=61 error=04 ad0s1g: hard error writing fsbn 117554511 of 55516128-55516383 (ad0s1 bn 117554511; cn 7317 tn 109 sn 39) status=61 error=04 ad0s1g: hard error writing fsbn 126822767 of 60150368-60150399 (ad0s1 bn 126822767; cn 7894 tn 89 sn 50) status=61 error=04 --- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: arp -d -a fail on freebsd5.2 rc2
On Sunday 28 December 2003 17:24, Zh Zhechev wrote: I install FreeBSD 5.2 RC1 from ISO disk 1(full vertion).The arp -d -a command not work and reboot the computer, but the command arp -d hostname work. I cannot confirm that for RC2. It's working here. -Harry - http://gsm.ABV.bg - ĆƧƄƬĆØ Ć±Ć„Ć£Ć Ć¬Ć„Ć«Ć®Ć¤ĆØĆæ Ć§Ć Ć²Ć¢Ć®Ćæ Ć²Ć„Ć«Ć„Ć“Ć®Ć ! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: signature
Re: Screensaver issue
Jesse Sheidlower [EMAIL PROTECTED] writes: I recently spent some time with portupgrade, fixing a bunch of messed-up dependencies and ensuring that my GNOME was fully updated to 2.4. When I was done, most things were pretty much the same, but now my screen turns off after about five minutes or so. This is not apparently related to xscreensaver, which is set not to go on until 30 minutes pass. Are there other screensavers that might be running, or some other explanation for the screen turning off after such a short time? Any mouse movement or keyboard touch turns it on again. Check xset q. My guess would be you have DPMS enabled. -- 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: Screensaver issue
Jesse Sheidlower [EMAIL PROTECTED] writes: I recently spent some time with portupgrade, fixing a bunch of messed-up dependencies and ensuring that my GNOME was fully updated to 2.4. When I was done, most things were pretty much the same, but now my screen turns off after about five minutes or so. This is not apparently related to xscreensaver, which is set not to go on until 30 minutes pass. Are there other screensavers that might be running, or some other explanation for the screen turning off after such a short time? Any mouse movement or keyboard touch turns it on again. Check xset q. My guess would be you have DPMS enabled. another possibility is to check /etc/rc.conf, it could be a system screensave (*_saver.ko). Unlikly since it just now showed up, but you may wish to check anyway ~j -- Jonathan T. Sage Lighting Scenic Design Professional Web Design [HTTP://www.theatre.msu.edu] [EMAIL PROTECTED] [PGP: 182C CF3F 93A9 1DAA 2EBE D4D5 A159 96D9 452E A7F1] pgp0.pgp Description: PGP signature
Re: setting login.conf doesn't limit my users
Jez Hancock [EMAIL PROTECTED] writes: I don't think this is true - whether or not login is called is dependent on the shell set for each user - I may be wrong though :P. On further inspection, I see that login(1) is not being called, but login(3) seems to be. The shell in use shouldn't matter, because the shell itself should be run under the user's limits. All I *do* know is that I use sshd to login regularly and the login capabilities I set in /etc/login.conf do take effect ok. Yes, you're right. 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). ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is my HD failing?
Dragoncrest [EMAIL PROTECTED] writes: For some reason lately my computer has had a bad problem with lag. So when I went to investigate it I found the items listed below in my Dmesg logs. Could this possibly be a HD failing? ad0s1g is mounted as /usr in my fstab config file. Suggestions would be welcome. Sure looks like a drive failure. Get a good backup, replace the drive cable, and try manufacturer's diagnostics, but you're probably going to need a new drive very soon. -- 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: Log Rotation
Gerard Samuel [EMAIL PROTECTED] writes: In particular, Im looking to see if there is a FreeBSD way in rotating PostgreSQL logs. Any advise would be appreciated. newsyslog(8) is part of the base system... -- 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: Is my HD failing?
Awe crap. And I just got this bloody thing fixed!! :( Dragoncrest [EMAIL PROTECTED] writes: For some reason lately my computer has had a bad problem with lag. So when I went to investigate it I found the items listed below in my Dmesg logs. Could this possibly be a HD failing? ad0s1g is mounted as /usr in my fstab config file. Suggestions would be welcome. Sure looks like a drive failure. Get a good backup, replace the drive cable, and try manufacturer's diagnostics, but you're probably going to need a new drive very soon. -- 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: ghostview missing libc.so.4?
On Sun, 28 Dec 2003, Chip Wiegand wrote: Still one problem with doing that - after pkg_delete ghostview and pkg_add -r ghostview I get these errors - cannot find ghostscipt in your path - install your favorite version of ghostscript, otherwise the program is useless warning: package 'ghostview-1.5 ' requires 'imake-4.3.0' but found 'imake-4.3.0_2' warning: package 'ghostview-1.5 requires 'freetype2-2.1.4_1' but found 'freetype2-2.1.5._1' warning: package 'ghostview-1.5 requires 'fontconfig-2.2.0' but found 'fontconfig-2.2.90_3' warning: package 'ghostview-1.5 requires 'XFree86-libraries-4.3.0_5' but found 'XFree86-libraries-4.3.0_6' I have ghostscript-gnu-7.07_4 installed. The 'I can't find ghostscript (gs) in your search path.' message appears to be bogus -- I get the same message, but ghostview runs just fine after the install ( and gs *is* in my path, /usr/local/bin/gs). -- David Fleck [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Log Rotation
On Sunday 28 December 2003 12:36 pm, Lowell Gilbert wrote: Gerard Samuel [EMAIL PROTECTED] writes: In particular, Im looking to see if there is a FreeBSD way in rotating PostgreSQL logs. Any advise would be appreciated. newsyslog(8) is part of the base system... Yes, Im familiar with newsyslog, but Im not sure how it will play with rotating PostgreSQL's log file, as PostgreSQL seems to need some extra TLC when rotating the log while PostgreSQL is running. http://www.postgresql.org/docs/7.3/interactive/logfile-maintenance.html Ill have to let that sink in the brain, before I try messing with it. ___ [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?
Chuck Swiger wrote: Joachim Dagerot wrote: 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. I'm sorry that you lost data. While you may have been able to notice the problem with the RAID-5 array in time to do something, what you ought to do to avoid losing more data sometime in the future involves making good backups-- not poring over the system log files, not configuring RAID. So basically, a) I get a mail each time my a cron-event fires, this happens every 30 min so the mailbox are quite loaded, not very funny going through. If you can, change the cron task to not generate output unless there is a problem that you should know about. Failing that, append /dev/null 21 to the line in your crontab, which will discard the output, meaning you won't get mail from cron. a1) Is it possible to only get a mail with critical information, where and what do I need to do to achieve this? My comments above should help you reduce the amount of junk mail you get from cron. b1) Where will information about ongoing disk-problems appear? How can I see that there is a flaky disk in a non-rebooted system? /var/log/messages. The system will complain quite noticably in the face of hardware errors, and should log one or more lines for every bad sector it runs into. On the other hand, depending on the hard drive to fail gradually is risky: hard drives can fail catestrophically without giving significant warning. Some failure modes-- stiction in particular-- can sometimes be worked around on a temporary basis long enough to recover data without heroic measures (ie, paying a data recovery company a few grand). It's important to realize that while RAID modes which provide fault-tolerance do improve availability (ie, they can save your data if a drive goes), RAID is not a substitute for backups. In particular, RAID-5 or RAID-1 doesn't help a bit if someone deletes or overwrites a file In addition to the questions above, is there something else I need to tune/install/setup/configurare to get a very reliable system that report critical data to me but where non-critical data is filtered out? /etc/syslog.conf defines the configuration of system logging, and it is worth reviewing that to understand what is being logged and where. Just to add my .02c here- all of the above is excellent advise, and I think someone else already mentioned logcheck, which can be useful for other thins as well (port scanning, Nimda attacks (which are STILL out there), and others)I guess my only disagreement here is about RAID or disk vs tape backups. At this point, it's generally more inexpensive to buy a secondary disk, or even a RAID setup. than to go with tape. Tape itself isn't a guaranteed medium by any means...meaning there have been times I've gone to backup from tape to then find out it was a less than full backup or data was corrupted on the tape. I won't even get into tape drive issues where you write data on one unit and a different tape drive won't read the same tapes, other than to say it happens. If you've got data that doesn't change often (ie like your pictures), and only grows, you've got a few options: 1. Set up a RAID-5 array. IMPORTANT- designate at least one hot spare! If your main use is for backup, you can go with an older SCSI solution, but if so, I _highly_ recommend using a RAID enclosure (with backplane, not a 'homemade' cabled setup- older SCSI (scsi2, UW, etc) is pretty picky about cable length, and using an external cabled enclosure can cause read or write errors and other issues (dropping a drive offline). Fiber channel or older scsi hardware RAID solutions can be had on eBay for pennies on the dollar right now.. Note that I'm talking about hardware RAID here...software RAID is slower (generally), and IMHO just not as reliable...yet. You can use the setup as a 'live data logical drive,' and if you're overly paranoid, do a scheduled tar archive (or other means of backup, but with tar you can add the incrementals to your archive) to the drives, or to an alternate drive, as well. 2. Buy a secondary IDE disk, sized at least 2x the size of your data to allow for growth. Do NOT use this drive for anything other than backup, eg mount the drive as /backup and only use it for (cronned) data dumps. You'll only be writing and reading to the drive occasionally, and as such, you should have a reasonably decent length of time the drive will work for, meaning it's likely to get replaced during upgrades years from now before the drive itself fails. Large IDE disks are getting insanely inexpensive... DLT drives in the 15gb(uncompressed) range are $100, but as usual, become progressively more expensive as you go larger in size, woth a 40gb running
Re: Dynamic DNS Updates
Jud wrote: On Sun, 28 Dec 2003 02:02:53 +0100 (CET), Cordula's Web [EMAIL PROTECTED] wrote: If you decide to use a provider like dyndns.org, you can use the ipcheck port (http://ipcheck.sf.net) to keep your IP address and hostname in sync. Or use ddclient: /usr/ports/dns/ddclient Works perfectly for me (with dyndns.org). That makes two votes on both counts (ddclient and www.dyndns.org). Jud ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] DynDNS has changed their pricing- if you're registering more than one domain it becomes over-priced for their service. I'd wanted to use DynDNS as I've used them in the past, but needed to provide service for 5+ domains...didn't see any 'bulk' discounts, so emailed them to find out you have to pay the price 'per domain.' So I found an alternate, .changeip.com . Not the most active website out there, but no problems as of yet Scott ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Log Rotation
Gerard Samuel wrote: On Sunday 28 December 2003 12:36 pm, Lowell Gilbert wrote: Gerard Samuel [EMAIL PROTECTED] writes: In particular, Im looking to see if there is a FreeBSD way in rotating PostgreSQL logs. Any advise would be appreciated. newsyslog(8) is part of the base system... Yes, Im familiar with newsyslog, but Im not sure how it will play with rotating PostgreSQL's log file, as PostgreSQL seems to need some extra TLC when rotating the log while PostgreSQL is running. http://www.postgresql.org/docs/7.3/interactive/logfile-maintenance.html Ill have to let that sink in the brain, before I try messing with it. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Just a guess here, but what the problem likely is is that Postgres keeps a file descriptor open to it's logfile, which means that 'simple' log rotation, eg just moving the original logfile to a backup name or gzipped file will break the logging as pg won't have a valid file descriptor any more. This one's bit a project I worked on forever ago (on a production system! :-( ) running Solaris and Sybase... The easy solution is to see if any of the log rotation scripts have the 'right' behavior...if not, you can write your own script to do it, test it by rotating the logs and then intentionally doing something to produce log output (depending on your log level)...if you get the log output, everything's happy. What it should be doing is this (and a side effect is you shouldn't run into log problems on other apps either): 1. Copy the log file locally, using whatever naming convention you want, eg logname.(massaged date/time stamp like $(date | cut -f' ')) 2. Truncate the existing log via cat /dev/null original logfile . This allows the logging progam to continue to log without an invalid fd.. 3. gzip or move the copied logfile to wherever, gzip it etc.. This is a simple solution, and has the potential to lose a few log entries due to the time from the completion of the original log copy until the original log file truncation is completed, but should be fine for home, non critical or low usage (meaning not logging 1000 messages/minute) log filesthere's probably a better way to do this, probably logging via a pipe, but I don't know the specifics offhand... HTH, Scott ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Log Rotation
Scott W [EMAIL PROTECTED] writes: Just a guess here, but what the problem likely is is that Postgres keeps a file descriptor open to it's logfile, which means that 'simple' log rotation, eg just moving the original logfile to a backup name or gzipped file will break the logging as pg won't have a valid file descriptor any more. This one's bit a project I worked on forever ago (on a production system! :-( ) running Solaris and Sybase... The easy solution is to see if any of the log rotation scripts have the 'right' behavior...if not, you can write your own script to do it, test it by rotating the logs and then intentionally doing something to produce log output (depending on your log level)...if you get the log output, everything's happy. Postgres knows how to use syslog(8) for its logging, which is another option also quite simple... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
I'm on Vacation
Hello , I'm currently in the pacific with chix stuck on my dick ___ [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?
Joachim Dagerot wrote: [ ... ] I realise you are right. The thing is that this is a home system and I have (had!) around 230 GB of data that was non-replicable. I am not aware of a deasent backup system that can handle that amount of data. There are three main alternatives: 1) hard drives -- get another HD or two and back up all data from your main filesystem daily via cron (perhaps locally, perhaps to a second machine); very cheap but iffy reliability...more of a hot spare solution than a true backup solution, but reasonably effective. 2) DVD burner -- cheap, limited media capacity but you can burn 20-odd DVD's (modulo achieved compression ratio) in a sane amount of time 3) tape-- main candidates are probably sDLT (up to 320GB per tape capacity) or maybe Ultrium (LTO?)...expensive (~ $3000+), best reliability by far, and best support for incremental backups to conserve media costs -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Log Rotation
On Sunday 28 December 2003 01:24 pm, Scott W wrote: This is a simple solution, and has the potential to lose a few log entries due to the time from the completion of the original log copy until the original log file truncation is completed, but should be fine for home, non critical or low usage (meaning not logging 1000 messages/minute) log filesthere's probably a better way to do this, probably logging via a pipe, but I don't know the specifics offhand... Seems ok to me, as its for a home setup. But its always nice to know on what to do on a production system, when one gets thrown to the wolves. Thanks for the tip... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Log Rotation
On Sunday 28 December 2003 01:34 pm, Lowell Gilbert wrote: Postgres knows how to use syslog(8) for its logging, which is another option also quite simple... True. I have to investigate this option... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Log Rotation
On Sun, Dec 28, 2003 at 01:24:02PM -0500, Scott W wrote: The easy solution is to see if any of the log rotation scripts have the 'right' behavior...if not, you can write your own script to do it, test it by rotating the logs and then intentionally doing something to produce log output (depending on your log level)...if you get the log output, everything's happy. What it should be doing is this (and a side effect is you shouldn't run into log problems on other apps either): 1. Copy the log file locally, using whatever naming convention you want, eg logname.(massaged date/time stamp like $(date | cut -f' ')) 2. Truncate the existing log via cat /dev/null original logfile . This allows the logging progam to continue to log without an invalid fd.. 3. gzip or move the copied logfile to wherever, gzip it etc.. And it does help to check the documenation for the particular program doing the logging to see if it has a way of switching the logs via some external condition (e.g. a signal) or whether you can specify when it should rotate the log. Another possibility (although somewhat of a hack) is to stop the program, rotate the log and then start the program up again. Perhaps not for a 24x7 environment but it does work. 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: I'm on Vacation
Out of the ether, [EMAIL PROTECTED] spewed forth the following bitstream: Hello , I'm currently in the pacific with chix stuck on my dick Of all the away messages that I've seen sent back to mailing lists, this has to be the worst (at least the most embarassing). AlanC -- An armed society is a polite society. Manners matter when a man may have to back-up his actions with his life. -Robert Heinlein pgp0.pgp Description: PGP signature
Re: Log Rotation
On Sun, Dec 28, 2003 at 01:03:14PM -0500, Gerard Samuel wrote: Yes, Im familiar with newsyslog, but Im not sure how it will play with rotating PostgreSQL's log file, as PostgreSQL seems to need some extra TLC when rotating the log while PostgreSQL is running. http://www.postgresql.org/docs/7.3/interactive/logfile-maintenance.html Ill have to let that sink in the brain, before I try messing with it. http://www.cronolog.org/ -- configure postgresql to log to stdout or stderr and pipe the data into cronolog. It will generate logfiles based on the time date, but you'll have to write a script to deal with the oldest log files. It's in ports as sysutils/cronolog 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
I'm on Vacation
Hello , I'm currently in the pacific with chix stuck on my dick ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Backup Server
I read somewhere about the AMANDA project. Is that any good for a situation like this? On Friday 26 December 2003 12:30 pm, samy lancher wrote: Hello all, I have a 4.5 FreeBSD server. It is our Email, web and database server. I would like to setup a backup server so that when the main server goes down the backup server takes over its job. Could some one please tell me the best way to setup a backup server and also suggest some good documentation. In order to keep the data synchronized, you could possibly used some sort of shared scsi or fibre channel drive/array. You'd have to write a script that would run on the backup and tell it to mount the drive and startup the databases when the server was down. Shared scsi might be the easiest, but you'll have to buy some Y-terminated scsi cables so that the main machine won't reset the scsi bus on the backup machine when it (the main machine) goes down. Nicholas Thanks in advance, Naveen. - Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard ___ [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]
BSD Usenet server
Hiya everyone, Is there a *BSD Usenet server out there that someone is running so I can point my news reader to it? -- Best regards, Chris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mutt + E-Mail count
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? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSD Usenet server
On Sunday 28 December 2003 21:36, Chris wrote: Hiya everyone, Is there a *BSD Usenet server out there that someone is running so I can point my news reader to it? Well, any newsserver should have various bsd groups. But if you're looking for a Mailinglist-News Gateway, there was something in muc But this was provided by camelot which no longer exists, so I don't know if these groups still get feeded. -Harry pgp0.pgp Description: signature
Re: I'm on Vacation
someone want to unsubscribe this dill-hole. Alan B. Clegg wrote: Out of the ether, [EMAIL PROTECTED] spewed forth the following bitstream: Hello , I'm currently in the pacific with chix stuck on my dick Of all the away messages that I've seen sent back to mailing lists, this has to be the worst (at least the most embarassing). AlanC ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSD Usenet server
On Sun, 28 Dec 2003 14:36:31 -0600 Chris [EMAIL PROTECTED] wrote: Hiya everyone, Is there a *BSD Usenet server out there that someone is running so I can point my news reader to it? morgoth.gw.com -- IOnut Unregistered ;) FreeBSD user ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I'm on Vacation
On Sunday 28 December 2003 02:51 pm, Sean Hafeez wrote: someone want to unsubscribe this dill-hole. I agree - I never did understand why someone would do something like this. There are such things as email accounts that are free. I never was one for using company resources for personal email. And that's from an admin point of view and see this sorta thing every day. Just my .02 -- Best regards, Chris ___ [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 tocheckfrequently?
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. 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: BSD Usenet server
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. -- Best regards, Chris ___ [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 tocheckfrequently?
On Sun, 28 Dec 2003 16:14:47 -0500 C. Ulrich [EMAIL PROTECTED] wrote: 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. So why not use a cheap IDE RAID controller and do RAID1 ? I think it would be much safer, and reduce the amount of time needed to restore the system once a hard drive fails. We use RAID1 with a spare drive on our web and email servers here, and there's no downtime each time a drive fails, having put all the drives on hot-swap bays on a promise fasttrack controller. Greetings -- Stucchi Massimiliano | Gruppo Utenti FreeBSD Italia WillyStudios.com | http://www.gufi.org [EMAIL PROTECTED] | [EMAIL PROTECTED] People who make no mistakes do not usually make anything pgp0.pgp Description: PGP signature
Couple of hardware questions
Hi folks, I got some question concerning FreeBSD 5.1 and later: 1) Does FreeBSD supports HyperThreating? 2) If so, do I need to compile the kernel with dual CPU support then? 3) Are Serial-ATA Controllers fully supported by FreeBSD? 4) Is Dual Channel DDR supported by FreeBSD? Or is there no support required For Dual Channel DDR? Well, that's about it, thanks in advantage. Cheers, Jorn ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Floppy utility w/ DOS-like syntax
If I recall correctly, I have installed a little utility (on 4.3) that mounts, reads from and writes to an ordinary DOS-formatted floppy and uses a DOS-like syntax. I don't remember what it's called or how to find it. I tried the Handbook, the FAQ and pkg_info. Any ideas? Thanks, Ken Seggerman ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Couple of hardware questions
On Sun, 28 Dec 2003 23:09:29 +0100 Jorn Argelo [EMAIL PROTECTED] wrote: Hi folks, I got some question concerning FreeBSD 5.1 and later: 1) Does FreeBSD supports HyperThreating? Yes. 2) If so, do I need to compile the kernel with dual CPU support then? Don't remember. See NOTES. 3) Are Serial-ATA Controllers fully supported by FreeBSD? Depending on the specific type and what you mean by fully. 4) Is Dual Channel DDR supported by FreeBSD? Or is there no support required For Dual Channel DDR? None AFAIK. Notes: see http://www.freebsd.org/releases/5.1R/hardware.html and the mailling list archives of, at least, questions and current. -- IOnut Unregistered ;) FreeBSD user ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kern.maxfiles questions
Some updates to this. The machine was unresponsive this AM so I had to reboot it. I'm used to 90-100 day uptimes (as the power company permits) so this is quite unusual. On Dec 27, 2003, at 11:03 PM, paul beard wrote: [/usr/home/paul]:: sysctl kern.openfiles kern.maxfiles kern.openfiles: 257 kern.maxfiles: 4040 I raised the kern.maxfiles to 16383 and am monitoring it with mrtg (http://www.paulbeard.org/mrtg/red/red-openfiles.html). Already it's at almost 3000 (from less than 300 when I first noted it), so I assume I'll hit 4040 before too long. and on further examination I am finding some swap shortages (this machine has 512 Mb of real memory but only the same amount of swap). I actually only have 256 Mb of RAM with a half gig swap partition. I added another 512 Mb swap file and I am monitoring swap vs real mem usage as well (http://www.paulbeard.org/mrtg/red/red-mem.html). if this is all I need to do, I guess that's OK, but I'm still not sure why it became an issue all of a sudden. Is there some way to find out what's tying up the file descriptors? -- 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: Floppy utility w/ DOS-like syntax
On Sun, Dec 28, 2003 at 05:24:52PM -0500, Ken Seggerman wrote: If I recall correctly, I have installed a little utility (on 4.3) that mounts, reads from and writes to an ordinary DOS-formatted floppy and uses a DOS-like syntax. I don't remember what it's called or how to find it. I tried the Handbook, the FAQ and pkg_info. emulators/mtools perhaps? -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Floppy utility w/ DOS-like syntax
You do not need any special port application to do that, You can config FBSD to allow that function by doing this. Edit /etc/fstab and add this line /dev/fd0/a msdos rw,noauto,longnames 0 0 Then as root issue this command mkdir /a Reboot your system Now put an msdos formatted floppy in the drive and issue this command mount /a cd /a Now just use regular FBSD commands to do what ever you want. When you are done do this cd / umount /a When you take FBSD files to windows, use word to read them and there will not be any line feeds at the end of each sentence. When you move an windows file to FBSD, each line in the file will have line feeds at the end of each line. FBSD has very simple port/package named unix2dos. Install the package it's so much easier to install that way. It has two commands unix2dos and dos2unix for stripping off the junk at the ends of each line. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ken Seggerman Sent: Sunday, December 28, 2003 5:25 PM To: [EMAIL PROTECTED] Subject: Floppy utility w/ DOS-like syntax If I recall correctly, I have installed a little utility (on 4.3) that mounts, reads from and writes to an ordinary DOS-formatted floppy and uses a DOS-like syntax. I don't remember what it's called or how to find it. I tried the Handbook, the FAQ and pkg_info. Any ideas? Thanks, Ken Seggerman ___ [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]
halt while booting: recovering vi editor sessions /kv
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? thanks! -- 'K:) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Quota
Is quota an auto load binary module or does it have to be compiled into the kernel? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Floppy utility w/ DOS-like syntax
On Sun, 28 Dec 2003, Erik Trulsson wrote: On Sun, Dec 28, 2003 at 05:24:52PM -0500, Ken Seggerman wrote: ... I tried the Handbook, the FAQ and pkg_info. emulators/mtools perhaps? YES! That's it. Thank you. Ken Seggerman ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Floppy utility w/ DOS-like syntax
Thanks, so much! This stuff is coming back to me. Ken On Sun, 28 Dec 2003, fbsd_user wrote: You do not need any special port application to do that, You can config FBSD to allow that function by doing this. Edit /etc/fstab and add this line /dev/fd0/a msdos rw,noauto,longnames 0 0 Then as root issue this command mkdir /a Reboot your system Now put an msdos formatted floppy in the drive and issue this command mount /a cd /a Now just use regular FBSD commands to do what ever you want. When you are done do this cd / umount /a When you take FBSD files to windows, use word to read them and there will not be any line feeds at the end of each sentence. When you move an windows file to FBSD, each line in the file will have line feeds at the end of each line. FBSD has very simple port/package named unix2dos. Install the package it's so much easier to install that way. It has two commands unix2dos and dos2unix for stripping off the junk at the ends of each line. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ken Seggerman Sent: Sunday, December 28, 2003 5:25 PM To: [EMAIL PROTECTED] Subject: Floppy utility w/ DOS-like syntax If I recall correctly, I have installed a little utility (on 4.3) that mounts, reads from and writes to an ordinary DOS-formatted floppy and uses a DOS-like syntax. I don't remember what it's called or how to find it. I tried the Handbook, the FAQ and pkg_info. Any ideas? Thanks, Ken Seggerman ___ [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: Quota
On Mon, 2003-12-29 at 00:26, fbsd_user wrote: Is quota an auto load binary module or does it have to be compiled into the kernel? http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/quotas.html doesn't specify anything about loadable modules, so I assume that you have to recompile your kernel to be able to use quotas. -- 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: halt while booting: recovering vi editor sessions /kv
If the first one or two DNS server entries are not working you will see this behavior. On Dec 28, 2003, at 15:23, Kai Vermehr wrote: 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? thanks! -- 'K:) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Doug ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
please help me
hi i have dedicated server on internet(linux server) i have full access to this and i have freebsd 5.1 i want freebsd computer scheduleally connect to this server get many of the file that exist in this such ftp path : ftp://servername/pub(this ftp path is example) by using cron. please guide me about this regards, [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: ftp mirroring (was: please help me)
hello - on a side note, when posting to questions@, a descriptive subject will help get you your answer faster. if you know the filenames of the files you wish to retrieve, take a look at 'man fetch' if you are looking to pull full directory trees or even just a full directory, there are a number of ports that have this functionality. rsync is an option that works via ssh, and fget (usr/ports/ftp/fget) appears to do something similar via ftp. hope this helps, good luck ~j siavash mahjoob wrote: hi i have dedicated server on internet(linux server) i have full access to this and i have freebsd 5.1 i want freebsd computer scheduleally connect to this server get many of the file that exist in this such ftp path : ftp://servername/pub(this ftp path is example) by using cron. please guide me about this regards, [EMAIL PROTECTED] -- Jonathan T. Sage Lighting Scenic Design Professional Web Design [HTTP://www.theatre.msu.edu] [EMAIL PROTECTED] [PGP: 182C CF3F 93A9 1DAA 2EBE D4D5 A159 96D9 452E A7F1] pgp0.pgp Description: PGP signature
Re: BSD Usenet server
On Sun, Dec 28, 2003 at 03:21:10PM -0600, 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. pubnews.gradwell.com allows public read-only access to Usenet[*], and also happens (to the best of my knowledge) to run on FreeBSD. If you want posting access, you can get it for Ā£20.00 p.a. See http://www.gradwell.com/usenet/ Cheers, Matthew [*] Except for the binaries groups. -- 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
Please help. Can't see HD
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.. Upon bootup I am able to get the boot prompt if I press space bar, but the only thing I am able to do is 'boot kernel'. Booting from a CD I was able to see the HD, but it lost it's label information. I went and purchased a new HD and am in the process of restoring most of my data from a second HD I have on that machine just for backup purposes. I still have a couple of things that are not backed up and would like to try and recover. Is there a way to recover the label info? I don't know if the HD is dying or whether the filesystem/HD boot sector is messed up. If I go using /stand/sysinstall and try the partition option it tells me that the disk geometry is wrong, but I also got the same for the new HD I installed today. After pressing OK the HD lists the entire HD space as free. Any suggestions? ___ [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, 28 Dec 2003 20:54:06 -0500 Francisco Reyes [EMAIL PROTECTED] 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.. Upon bootup I am able to get the boot prompt if I press space bar, but the only thing I am able to do is 'boot kernel'. Booting from a CD I was able to see the HD, but it lost it's label information. I went and purchased a new HD and am in the process of restoring most of my data from a second HD I have on that machine just for backup purposes. I still have a couple of things that are not backed up and would like to try and recover. Is there a way to recover the label info? I don't know if the HD is dying or whether the filesystem/HD boot sector is messed up. newfs -N will *probably* give the alternate superblocks so that you could do a fsck_ufs -b. -- IOnut Unregistered ;) FreeBSD user ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 4.9, 5.1 boot failure after install
On Sat, 27 Dec 2003 02:53 am, [EMAIL PROTECTED] wrote: Hello, I had 4.9 release working and did a clean install of 5.1 release over the 4.9 and ended up with boot failure after install. Using allBSD partition and standard MBR I get a missing operating system error. If I use the FreeBSD boot I just get default F1 and a beep. Now trying to install the 4.9 gives the same results. I'm using a Mylex DAC960ptl (accelraid 250) with the primary disk setup as JBOD. I set the bootable disk as active but everytime I go back to config fdisk the flag is not set. I then upgraded and flashed the RAID card, reformatted the disks and tried a 4.9 install, again with the same results. Is there an issue with the DAC card geometry or BIOS? Or a subtle quirk that isn't documented yet? thanks, Dan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I have had a similar problem. I also couldnt get it to make the system bootable using the install cd. I got around it by using the live filesystem cd. I dont know how that they are different but it seemed to write out the changes when I asked not like as in the install disk. ___ [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 tocheckfrequently?
On Sun, 2003-12-28 at 16:30, Massimiliano Stucchi wrote: So why not use a cheap IDE RAID controller and do RAID1 ? I think it would be much safer, and reduce the amount of time needed to restore the system once a hard drive fails. We use RAID1 with a spare drive on our web and email servers here, and there's no downtime each time a drive fails, having put all the drives on hot-swap bays on a promise fasttrack controller. Greetings You could, and it would definitely give you an increase in the availability of the machine as you mention. One disk goes down, simply mount the good one and press on. What it doesn't give you, however, is a proper backup solution. Backups protect not only against disk failures but also mitigate the following: * Accidental or hasty deletions * Security compromise * Catastrophic overall system failure (such as a power surge that takes out everything connected to the motherboard). This, of course, depends on the backups being isolated from the system, which mine currently are not. RAID will not help you in any of these situations. My incremental backup solution allows me to retrieve an exact copy of the contents of the file server as it looked at any point in time, from when the very first backup was made (about two years ago) to the present. This has saved me more times than I care to remember. 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]
mplayer problem
Hi all, I'm running the Freebsd 4.9 with mplayer 0.91 and mplayerplug-in for the ports tree and mozilla 1.4. I tried to view the spiderman trailer from apple's website, medium screem no problem, but when I try to choose large screen or full screen, I get a black display, and the following message (repeated 20 times) shows up on my terminal: ImageCodecbandDecompress cress=0xFFCE ( -0x32) -50 It works fine with medium screen. Thank you. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Complex quoting task in tcsh
I'm writing a tcsh script and I can't figure out how to escape that #. I tried all possible variations, and it always says I have a syntax error. Here's one: if ($line =~ #*) Or is there another way to find out if the line starts with a hash mark? Regards, Daniela ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fwd: Re: Please help. Can't see HD
On Sun, 28 Dec 2003 20:54:06 -0500, Francisco Reyes wrote: Is there a way to recover the label info? I don't know if the HD is dying or whether the filesystem/HD boot sector is messed up. More info.. When starting /stand/sysinstall it shows: ad2: raw partition size != slice size ad2: start 0, end 78168359, size 78165360 ad2c: start 0, end 10239, size 10240 This after upgrading to 4.9 stable as of 12-29-2003. The other thing I did today which I don't know if is related. I enabled USB today and was writing to a CF card in preparation to install M0n0wall on a soekris machine. After installing USB support and seen the card I did: gzcat net45xx-pbxrxxx.img | dd of=/dev/rad[n] bs=16k Where the xxx were the version for the image and [n] was 1... /dev/rad1 (or was it.. 0..). Isn't that the CF card writer? I got the number after looking at camcontrol and usbdevs (can't remember which one from)... Did I messed up the drive when writing that image? ___ [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 Mon, 29 Dec 2003 04:06:27 +0200, Ion-Mihai Tetcu wrote: On Sun, 28 Dec 2003 20:54:06 -0500 Francisco Reyes [EMAIL PROTECTED] wrote: Is there a way to recover the label info? I don't know if the HD is dying or whether the filesystem/HD boot sector is messed up. newfs -N will *probably* give the alternate superblocks so that you could do a fsck_ufs -b. Could you elaborate a little? Looked at man page for newfs and it says it just gives info of newfs without doing operation. How will that be used? I am not familiar with the tools to manage disks. I usually have used /stand/systinstall to prepare HDs and allocate mount points. ___ [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
On Sunday 28 December 2003 09:50 am, Brian Black wrote: Hi Julio, i have installed freebsd along side NTFS systems for some time now and they do work. you need to make sure in /stand/sysinstall that u have your partitions, slices etc set up correctly,(I mean set up the way that u think is correct). For Example, even though the XP slice that i have is the 3rd slice on my box(FreeBsd 5-Current, then RH9 Then WinXp) the device name for my xp slice still reads /dev/ad0s1. Though this dont seem right it works, i thought that it should read /dev/ad0s3. So to try and answer your questions. 1. Can I have another dual boot on my machine with XP (NTFS) and FreeBSD? yes u can, remember that u can mount the xp slice for READ not Write. You can only read from the ntfs. man mount for more information. (for people who wish to correct me, there are some way to write to the ntfs, i know but as a general rule dont write to this file system type.) 2. Where can I read more about the process of instalation to keep my XP partition alive? u can read more in the handbook. if u do not tamper with your xp partition durring /stand/systinstall then the partition will not be bothered. (just remember what the device name is when you are using fips). What boot loader are u planning on using? i have tried BOOTMAGIC,FREEBSDs boot loader and also i have used grub (which is available in the ports). With grub i was not able to boot fbsd when my fbsd slice was formated with ufs2. this might have been fixed though. FWIW, I currently run a laptop with almost this exact configuration. I have Windows XP Home (preinstalled when purchased) on one side and FreeBSD 4.9 on the other. I used Partition Magic to shrink my live XP file system and I use the Boot Magic (comes with PM if you buy retail) and everything works great. I have tried GRUB, but I never could get it working right, but I didn't try very hard. I used the FreeBSD boot manager for about 5 years and it worked OK, no matter how I had hard disks and partitions and OSes configured. I only went to Boot Magic because I have ignorant people that need to use my computer sometimes and the ?? prompt for an OS with ntfs was too confusing. Oh well. HTH Eric Crist AdTech Integrated Systems, Inc ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dynamic DNS Updates
On Sunday 28 December 2003 12:11 pm, Scott W wrote: So I found an alternate, .changeip.com . I would recommend TZO Corp, www.tzo.com. I've used them in the past. It updates using a simple shell script. They even offer a free 30-day trial with a *.tzo.com subdomain. HTH Eric Crist AdTech Integrated Systems, Inc ___ [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 13:29, Francisco Reyes wrote: On Sun, 28 Dec 2003 20:54:06 -0500, Francisco Reyes wrote: Is there a way to recover the label info? I don't know if the HD is dying or whether the filesystem/HD boot sector is messed up. More info.. When starting /stand/sysinstall it shows: ad2: raw partition size != slice size ad2: start 0, end 78168359, size 78165360 ad2c: start 0, end 10239, size 10240 This after upgrading to 4.9 stable as of 12-29-2003. The other thing I did today which I don't know if is related. I enabled USB today and was writing to a CF card in preparation to install M0n0wall on a soekris machine. After installing USB support and seen the card I did: gzcat net45xx-pbxrxxx.img | dd of=/dev/rad[n] bs=16k 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. Where the xxx were the version for the image and [n] was 1... /dev/rad1 (or was it.. 0..). Isn't that the CF card writer? I got the number after looking at camcontrol and usbdevs (can't remember which one from)... Did I messed up the drive when writing that image? The scsii / usb devices appear under names such as da[n] or rda[n]. Yes; I think you did. Likely you will need to reconfigure your drive and reinstall from your backup. Malcolm Kay ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
vinum swap no longer working.
This may belong on current, I upgraded to 5.2 from 5.1 and my kernel (GENERIC) now refuses to use /dev/vinum/swap as my swap device. # # 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. Micheas -- 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 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. :-) In FAT I seem to recall there are two copies of the boot sector. Does FreeBSD has anything like that? If what I did trashed the first sectors would that have affected all mount points? ___ [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 Sunday, 28 December 2003 at 20:00:04 -0800, Micheas Herman wrote: This may belong on current, I upgraded to 5.2 from 5.1 and my kernel (GENERIC) now refuses to use /dev/vinum/swap as my swap device. # 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? This is a 5.2 bug. It was last mentioned here a day or two ago, and I'm currently chasing it. I am using RAID 1 if that matters. No, it doesn't make any difference. It's a (transitory) casualty of the transition to GEOM. 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. pgp0.pgp Description: PGP signature
Re: Please help. Can't see HD
On Sun, 28 Dec 2003 22:07:00 -0500 Francisco Reyes [EMAIL PROTECTED] wrote: On Mon, 29 Dec 2003 04:06:27 +0200, Ion-Mihai Tetcu wrote: On Sun, 28 Dec 2003 20:54:06 -0500 Francisco Reyes [EMAIL PROTECTED] wrote: Is there a way to recover the label info? I don't know if the HD is dying or whether the filesystem/HD boot sector is messed up. newfs -N will *probably* give the alternate superblocks so that you could do a fsck_ufs -b. Could you elaborate a little? Looked at man page for newfs and it says it just gives info of newfs without doing operation. How will that be used? I am not familiar with the tools to manage disks. I usually have used /stand/systinstall to prepare HDs and allocate mount points. it/usr/ports/audio/xmms-kde# newfs -N ad3 /dev/ad3: 38166.7MB (78165360 sectors) block size 16384, fragment size 2048 using 208 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. super-block backups (for fsck -b #) at: 160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624, 3010976, 3387328, 3763680, 4140032, 4516384, 4892736, After which you could do a fsck_ufs -b 752864 device_node (first time with -n also) and see if one of the alternate superblocks fits. -- IOnut Unregistered ;) FreeBSD user ___ [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: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 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. 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. Malcolm Kay ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Booting from vinum RAID 1: How should I edit my disk label?
Hi, I am following 13.9.2 Making a Vinum-based Root Volume Accessible to the Bootstrap from the FreeBSD Handbook. Here is where I am at: (/dev/vinum/root is mounted at /newroot ) # cat /newroot/boot/loader.conf # the following two lines so we can boot from vinum. vinum_load=YES vinum.autostart=YES # vinum l -rv root Volume root:Size: 146664960 bytes (139 MB) State: up Flags: open 2 plexes Read policy: round robin Plex root.p0: Size: 146664960 bytes (139 MB) Subdisks:1 State: up Organization: concat Part of volume root Plex root.p1: Size: 146664960 bytes (139 MB) Subdisks:1 State: up Organization: concat Part of volume root Subdisk root.p0.s0: Size:146664960 bytes (139 MB) State: up Plex root.p0 at offset 0 (0 B) Drive vinumdrive2 (/dev/ad6s1d) at offset 135680 (132 kB) 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 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. Any help would be appreciated. I don't want to redo the last seven hours of setting up this server. (mostly waiting on gcc but still,) Micheas -- 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: vinum swap no longer working.
On Sun, 2003-12-28 at 20:13, Greg 'groggy' Lehey wrote: On Sunday, 28 December 2003 at 20:00:04 -0800, Micheas Herman wrote: This may belong on current, I upgraded to 5.2 from 5.1 and my kernel (GENERIC) now refuses to use /dev/vinum/swap as my swap device. # 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? This is a 5.2 bug. It was last mentioned here a day or two ago, and I'm currently chasing it. I am using RAID 1 if that matters. No, it doesn't make any difference. It's a (transitory) casualty of the transition to GEOM. 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. Thanks, This is my first server using vinum so I'm not quite sure what is my mistake and what is a bug. (Everything else so far has been my mistakes) Micheas -- 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: Backup Server
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: Complex quoting task in tcsh
Daniela, This isn't the answer you would like, but tcsh is generally considered a bad language for writing scripts*. It's an excellent command-line shell, but scripts are not its strong point. One reason is the one you've just run into - quoting is a little flakey, especially when you try to do something tricky. For 'basic' scripts, either sh(1) or ksh(1) is usually the way to go. As an example, here's your line-checking question, using sh and FreeBSD commands: cat somefile | while read LINE ; do if echo $LINE | grep -q '^#' ; then # do something with $LINE fi done For more complex work, perl or python are usually recommended. On the other hand, if you just want to filter the comments out of a file, put grep -v '^#' at the start of your pipeline. * Csh Programming Considered Harmful (1996) http://www.perl.com/pub/a/language/versus/csh.html - Original Message - From: Daniela [EMAIL PROTECTED] Subject: Complex quoting task in tcsh I'm writing a tcsh script and I can't figure out how to escape that #. I tried all possible variations, and it always says I have a syntax error. Here's one: if ($line =~ #*) Or is there another way to find out if the line starts with a hash mark? Regards, Daniela ___ [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: login ID and Password Problems
On Monday 29 December 2003 12:10 am, F. D. Williams wrote: 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 It would certainly help if you mentioned all the hardware your involved with. A copy of the output from dmesg (then again, if you can't login, I guess you can't do that either). Anyways - when you are promted for the root password on install, please make certain that your caps key isnt on etc. Unix IS case sensitive. And we'll also assume you are logging in as root. -- Best regards, Chris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]