who is showing impossible data
Hello people! I have a strange problem. So, I log into my freebsd server at my office in the morning and as always, first thing I do is who. And then I almost have a heart attack because I see two lines: ohyeah ttyp0Apr 18 08:41 (82.131.87.246) ohyeah ttyp1Sep 7 08:58 (82.131.87.246:S.) Here's finger: ohyeah Oh Yeah p0 Wed08:41 ohyeah Oh Yeah p1 8:15 Sep 7 2006 Oh that's nice. I always log out properly before I go to bed and this one process is from september 2006?! I'm sure it wasn't there yesterday. Now the strange part is that freebsd shows the same IP for that process as I'm using now, and I've had that IP from my ISP for like a month. auth.log is clean, too. My FreeBSD 4.8 server has been running for 222 days now, could it just be too tired and in need of a restart? Has anyone seen anything like this before? Please note that I'm not in the list, so if you want to send me a reply, please send also a copy directly to me at [EMAIL PROTECTED] Thanks in advance! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
who is showing impossible things (small update)
Hello people! I have a strange problem. So, I log into my freebsd server at my office in the morning and as always, first thing I do is who. And then I almost have a heart attack because I see two lines: ohyeah ttyp0Apr 18 08:41 (82.131.87.246) ohyeah ttyp1Sep 7 08:58 (82.131.87.246:S.) Here's finger: ohyeah Oh Yeah p0 Wed08:41 ohyeah Oh Yeah p1 8:15 Sep 7 2006 Oh that's nice. I always log out properly before I go to bed and this one process is from september 2006?! I'm sure it wasn't there yesterday. Now the strange part is that freebsd shows the same IP for that process as I'm using now, and I've had that IP from my ISP for like a month. auth.log is clean, too. My FreeBSD 4.8 server has been running for 222 days now, could it just be too tired and in need of a restart? Has anyone seen anything like this before? UPDATE: Sorry for sending the mail twice, but this might be important. Now I'm logged in to freebsd via two ssh connections, and 10 min ago it showed 3 lines with who. Now when I check I see only two, and one of them is the crazy crap from 2006! So it even doesn't show one of my logins anymore. Please note that I'm not in the list, so if you want to send me a reply, please send also a copy directly to me at [EMAIL PROTECTED] Thanks in advance! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
undefined reference to environ
Hi, when i link my application witj -lc (libc). i get the following errors /usr/lib/libc.a(getenv.o): In function `getenv': getenv.o(.text+0x19): undefined reference to `environ' getenv.o(.text+0x29): undefined reference to `environ' getenv.o(.text+0x63): undefined reference to `environ' /usr/lib/libc.a(getenv.o): In function `__findenv': getenv.o(.text+0xd5): undefined reference to `environ' getenv.o(.text+0xe2): undefined reference to `environ' /usr/lib/libc.a(getenv.o)(.text+0x113): more undefined references to `environ' follow /usr/lib/libc.a(getprogname.o): In function `_getprogname': getprogname.o(.text+0x4): undefined reference to `__progname' can any body help me what can be wrong..and where i cam dinf thease symbols. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: who is showing impossible things (small update)
On 4/18/07, Joel V. [EMAIL PROTECTED] wrote: Hello people! I have a strange problem. So, I log into my freebsd server at my office in the morning and as always, first thing I do is who. And then I almost have a heart attack because I see two lines: ohyeah ttyp0Apr 18 08:41 (82.131.87.246) ohyeah ttyp1Sep 7 08:58 (82.131.87.246:S.) Here's finger: ohyeah Oh Yeah p0 Wed08:41 ohyeah Oh Yeah p1 8:15 Sep 7 2006 Oh that's nice. I always log out properly before I go to bed and this one process is from september 2006?! I'm sure it wasn't there yesterday. Now the strange part is that freebsd shows the same IP for that process as I'm using now, and I've had that IP from my ISP for like a month. auth.log is clean, too. My FreeBSD 4.8 server has been running for 222 days now, could it just be too tired and in need of a restart? Has anyone seen anything like this before? UPDATE: Sorry for sending the mail twice, but this might be important. Now I'm logged in to freebsd via two ssh connections, and 10 min ago it showed 3 lines with who. Now when I check I see only two, and one of them is the crazy crap from 2006! So it even doesn't show one of my logins anymore. Please note that I'm not in the list, so if you want to send me a reply, please send also a copy directly to me at [EMAIL PROTECTED] Thanks in advance! Do you use screen? And in that case, do you have any old screens lying around, or can it be that you first started screen in 2006? The x.x.x.x:S seem to indicate that, at least on my box, when i type who, I see a user for each of my console inside the screen, with the IP of my box and :S after the IP-address. HTH! //Niclas -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is FTP install broken?
On 17 Apr 2007 at 17:18, Kris Kennaway boldly uttered: On Tue, Apr 17, 2007 at 01:45:44PM -0700, Philip J. Koenig wrote: Re: Kris's assertion, I guess I could have lived with that if it weren't for the fact that the installer doesn't give you any clue of this. Thought I was going to avoid the time to download and burn a couple of CD's, and now it's sucked up way more of my time than making those CD's ever would have... Thanks for the answers/input. No special casing happens for the snapshot builds, i.e. sysinstall is not specially modified to disable the FTP install option. It should be mentioned in the documentation; but for all I know it already is :) Kris Well I looked at all the docs I could find and nothing stood out. (BTW, there are still some other user interface errors in sysinstall, ie things that lead to unexpected results, but I can't remember specifics now.) -- Philip J. Koenig [EMAIL PROTECTED] Electric Kahuna Systems -- Computers Communications for the New Millenium ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Folder option + Text link on your home page
Dear Sir, I represent a start up company called Intellygence an online marketing firm that is into content management. I have just visited your website *[ www.freebsd.org http://astronomy.com/]*, and liked what I have seen. We would like a text link on your home page that leads to a content based folder hosted at your end. Our folder would contain content on a variety of topics. What I needed to know was how much would a text link + content folder cost us monthly? We are looking at long mutually beneficial business relationship that results in our combined growth. Looking forward to your response and an opportunity to do business With Regards Ajay ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ftpd and chmod
i use ftpd for anonymous read/write access using -l -m options in inetd.conf chmod isn't allowed (ftp clients says SITE CHMOD not supported), ftpd manual page says that ftpd do support SITE CHMOD. what's wrong? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Migrating from i386 to AMD64
Now.. Can I just use the same SMP kernel I have currently (assuming the correct drivers are loaded) for the X2 processor if I just want to run it in 32 bit mode? Or do I need to do a complete re-install/upgrade to the AMD64 platform version of FreeBSD? you have to reinstall completely. BUT - make a list of installed ports - make backup of all configuration files and data files - install FReeBSD/AMD64 AND this ports - THEN put all your config files and data files. and then it should work fine. and there is noticable speed difference compared to i386. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: who is showing impossible things (small update)
[re-add CC] On 4/18/07, Joel V. [EMAIL PROTECTED] wrote: Yep I had screen running. You think it could just be a zombified screen from 2006? I have irssi running in screen and it worked fine, and never before it had shown up like that with who... Changed passwords and restarted the server and now it seems to be okay. Please don't top-post... Reply below. -Original Message- From: Niclas Zeising [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 18, 2007 10:19 AM To: Joel V. Cc: freebsd-questions@freebsd.org Subject: Re: who is showing impossible things (small update) On 4/18/07, Joel V. [EMAIL PROTECTED] wrote: Hello people! I have a strange problem. So, I log into my freebsd server at my office in the morning and as always, first thing I do is who. And then I almost have a heart attack because I see two lines: ohyeah ttyp0Apr 18 08:41 (82.131.87.246) ohyeah ttyp1Sep 7 08:58 (82.131.87.246:S.) Here's finger: ohyeah Oh Yeah p0 Wed08:41 ohyeah Oh Yeah p1 8:15 Sep 7 2006 [SNIP] Do you use screen? And in that case, do you have any old screens lying around, or can it be that you first started screen in 2006? The x.x.x.x:S seem to indicate that, at least on my box, when i type who, I see a user for each of my console inside the screen, with the IP of my box and :S after the IP-address. HTH! //Niclas -- It's most likely a zombified screen, or it might be a regular screen. When you run who inside the screen you'll se a user for every terminal inside every attached screen. I think 2006 is the first time you started the screen. HTH! //Niclas -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: PPP and resolv.conf
-Original Message- From: RW [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 18, 2007 1:11 AM To: freebsd-questions@freebsd.org Cc: [EMAIL PROTECTED] Subject: Re: PPP and resolv.conf On Tue, 17 Apr 2007 14:48:25 +0800 Richard Simmonds [EMAIL PROTECTED] wrote: How can I stop ppp from modifying my /etc/resolv.conf? Everytime I establish a pppoe session, my resolv.conf file gets reconfigured to my ISPs DNS Servers. It's dhclient, not ppp that's modding the file. This is unlikely. PPP normally provides the dns server addresses itself, in which case the suggestion to remove enable dns from ppp.conf is correct. Well, as always, YMMV. If the connection is providing a dynamic address via dhcp, as my ADSL provider is, it appears to be dhclient that's updating resolv.conf so the setup as stated works for me. I have 'enable dns' in my ppp.conf file as well but my provider doesn't seem to be able to offer a dns server address correctly, which is why I run one locally on the network. I suspect it is probably a setup error on my part but I have neither the time or the inclination to tinker with it any more than I have to. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ftpd and chmod
Wojciech Puchar wrote: i use ftpd for anonymous read/write access using -l -m options in inetd.conf chmod isn't allowed (ftp clients says SITE CHMOD not supported), ftpd manual page says that ftpd do support SITE CHMOD. what's wrong? From the manual: Note: SITE requests are disabled in case of anonymous logins. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSD make vs. GNU make
On Tue, 2007-04-17 at 17:28 +0100, Soo-Hyun Choi wrote: Hi, This might be a dumb question, but would like get a clear idea about the differences between BSD make and GNU make. Why do I have to do 'gmake' in some cases instead of just plain 'make'? What's the differences? Thanks, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Slightly OT, but if the software you are building requires GNU make, the best solution is to rename the Makefile to GNUmakefile, which will be found and used by GNU make but not by BSD make. As many others said, GNU make has many many features and extensions over BSD make, to support autotools mainly. signature.asc Description: This is a digitally signed message part
Fwd: umass device produces errors /var/log/messages
-- Forwarded Message -- Subject: umass device produces errors /var/log/messages Date: Wednesday 18 April 2007 From: David Southwell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Some help would be appreciated: [EMAIL PROTECTED] /var/run]# camcontrol devlist USB2.0 CF CardReaderat scbus0 target 0 lun 0 (pass0,da0) USB2.0 CBO CardReaderat scbus0 target 0 lun 1 (pass1,da1) --- From /var/log/messages: Apr 18 03:27:03 dns1 kernel: Opened disk da1 - 6 Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): Medium not present Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): Unretryable error Apr 18 03:27:05 dns1 kernel: Opened disk da0 - 6 Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): SCSI Status: Check Condition Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): NOT READY asc:3a,0 Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): Medium not present Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): Unretryable error Apr 18 03:27:05 dns1 kernel: Opened disk da1 - 6 Would anyone be kind enought to tell me how I stop the repeated error messages and have the device set-up to use? Thanks in advance Thanks in advance David ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED] --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fwd: umass device produces errors /var/log/messages
I originally posted this in error to [EMAIL PROTECTED] where I have marked it as IGNORE. The question properly belongs here. On Wednesday 18 April 2007 03:35:22 David Southwell wrote: Some help would be appreciated: [EMAIL PROTECTED] /var/run]# camcontrol devlist USB2.0 CF CardReaderat scbus0 target 0 lun 0 (pass0,da0) USB2.0 CBO CardReaderat scbus0 target 0 lun 1 (pass1,da1) --- From /var/log/messages: Apr 18 03:27:03 dns1 kernel: Opened disk da1 - 6 Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): Medium not present Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): Unretryable error Apr 18 03:27:05 dns1 kernel: Opened disk da0 - 6 Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): SCSI Status: Check Condition Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): NOT READY asc:3a,0 Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): Medium not present Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): Unretryable error Apr 18 03:27:05 dns1 kernel: Opened disk da1 - 6 Would anyone be kind enought to tell me how I stop the repeated error messages and have the device set-up to use? Thanks in advance Thanks in advance David --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
slightly OT | Non-Matching MP processors...
This isn't really a FreeBSD specific problem, but this list has a number of people who administrate multi-CPU servers, so I thought it a logical place to ask. Does anyone else experienced this: Somewhat infrequently, the CPUs of a multi-socket system get out of synch and the BIOS complains about Warning: Non-matching MP processors, (even though the CPU's are an identical, matched pair of AMD Athlon 2200+). I've had this happen on a Tyan K7 S2468 mainboards (Phoenix Bios 4.0 Release 6.0), more than a few times. The problem seems to remedy itself without intervention, eventually, (several restarts later). Is this an issue for anyone else? Does it occur more frequently with more processors (4, 8)? What did you do to resolve or reproduce it? -Modulok- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Configuring Network In FreeBSD 6.2 Release
Hello sir, We have problem with how to configure the internet in FreeBSD 6.2 RELEASE and how to usr internet in this OS.Please guide us sir, THank U Regarda Dhananjaya Hiremath - Ahhh...imagining that irresistible new car smell? Check outnew cars at Yahoo! Autos. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Configuring Network In FreeBSD 6.2 Release
On 4/18/07, Dhananjaya hiremath [EMAIL PROTECTED] wrote: We have problem with how to configure the internet in FreeBSD 6.2 RELEASE and how to usr internet in this OS.Please guide us sir, The excellent FreeBSD Handbook should provide the information you need: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-setup.html You can also find the handbook in other languages: ftp://ftp.freebsd.org/pub/FreeBSD/doc/ -- Victor Engmark Quidquid latine dictum sit, altum videtur - What is said in Latin, sounds profound ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
IBM / FreeBSD Install problem
Server: IBM X3850 (88633SM) CPU X 4: 40K2522 HDD X 6: 40K1051 IBM ServeRAID 8i: 39R8729 We are attempting to install FreeBSD 6.2-RELEASE onto this machine and are running into a problem getting the operating system to recognise the RAID controller. As a result not finding any disks when it comes to installing the O/S. We have attempted various modifications to the boot process, including the loading of an aac module, which according to the BSD website, should provide support for this type of controller. When we attempt to boot to OS to install after making these above modifications, the boot loader advises that this module already appears to be loaded, which contradicts what I believe. In any respect, it doesn't work either way (with or without the module manually loaded). One side note (which i don't think is contributing) is that when I attempt to start the boot loader with ACPI enabled, it freezes with the message cpu id 38 too high. However if I boot the boot loader with ACPI disabled, this message dissapears. It _may_ be a possibility that a bi-product of disabling the ACPI is causing the RAID controller to have issues. This appears to be an issue because of the X4 CPU count ?? That's a quick summary of the problem we have, and the path(s) we have been down to date to attempt to fix it. Any help you can provide would be very much appreciated. We are at the position now where we are prepared to pay for consulting services to get it going. Dave Faulkner / Murray Taylor Bytecraft Systems -- Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein --- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --- ### This e-mail message has been scanned for Viruses by Bytecraft ### ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
pf message on dmesg
pfr_detach_table: refcount = 0. I am starting to see these at times. What do they mean? - My pf is not overworked and I have added sufficient table entries: set optimization aggressive set state-policy if-bound set timeout tcp.established 600 set timeout tcp.opening 30 set skip on lo0 set block-policy drop set require-order yes set limit { states 2, frags 1, src-nodes 2 } -JD -- J.D. Bronson Telecommunications Site Support Aurora West Allis Memorial Hospital Office: 414.978.8282 Fax: 414.977.5299 http://www.myspace.com/wrqz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Migrating from i386 to AMD64
Wojciech Puchar writes: you have to reinstall completely. BUT - make a list of installed ports - make backup of all configuration files and data files - install FReeBSD/AMD64 AND this ports - THEN put all your config files and data files. The easiest way to do this is to install to a new disk and mount the old disk (hardware) read-only. The backup /is/ the data; 100% accessible and 0% chance of accidentally deleting anything critical. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pf message on dmesg
In response to J.D. Bronson [EMAIL PROTECTED]: pfr_detach_table: refcount = 0. I am starting to see these at times. What do they mean? - My pf is not overworked and I have added sufficient table entries: I'm no expert, and the pf source code is painfully devoid of comments, but it seems as if this message is issued when a table is no longer referenced by any rules. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mt command questions
Sean Murphy [EMAIL PROTECTED] writes: I am learning about backing up to tape and have made quite a bit of progress with the mt command. I understand what the fsf option does. There are other options however and would like to understand them as well. I am looking at the man page and have tried googleing them with not a lot of luck. the fsr and fss options I understand they would fast forward but what is count records and count setmarks considered and how would I use them? In this context, count is a number. I haven't used mt(1) in quite a while, but I don't think I ever used more than one of {files, records, setmarks} on the same tape, andoffhand I can't think of a reason for doing so. If you only put one backup on a given tape, you wouldn't use any of them. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ACLs in a jail ... not usable?
On Wednesday 18 April 2007, Marc G. Fournier wrote: --On Tuesday, April 17, 2007 22:38:45 -0400 Anish Mistry [EMAIL PROTECTED] wrote: On Tuesday 17 April 2007, Marc G. Fournier wrote: Just want to make sure there isn't something I'm missing, but it apears ACLs aren't settable from within a jail? # setfacl -m g:mail:rwx Login.1 setfacl: acl_get_file() failed: Operation not supported ACLs work fine in jails. Are you sure you enabled ACLs on the filesystem? Great, knew it couldn't be *that* easy :( At what point do I have to enable them? I figured 'if getfacl worked, setfacl would too': # getfacl cvsupd.core #file:cvsupd.core #owner:0 #group:0 user::rw- group::--- other::--- Apparently not ... ? A quick look at tunefs, I see the -a option ... I take it -a enable is all I have to do to the file system to enable ACLs? Yes, or you could also add the acls options to your fstab. eg. /dev/mirror/gm0s1h /usr/jail/hosting ufs rw,userquota,groupquota,acls2 2 Thanks ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 -- Anish Mistry [EMAIL PROTECTED] AM Productions http://am-productions.biz/ pgpFtX7C81olg.pgp Description: PGP signature
Moving existing FreeBSD system to a new harddisk...
Hi, I have FreeBSD 6.2 installed on a Dell Latitude D400 laptop. The harddisk is 40G, with FreeBSD occupying about 25G, and remaining to Windows. I have received a replacement for this hard disk, which is a bigger capacity one - 80G. I have to move the existing FreeBSD system from the old to the new hard disk. I did find something here: http://www.freebsddiary.org/driveswap.php. Still, I'd like to hear someone's experience regarding the same. Thanks! Best, Amarendra ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IBM / FreeBSD Install problem
At 07:07 AM 4/18/2007, Murray Taylor wrote: Server: IBM X3850 (88633SM) CPU X 4: 40K2522 HDD X 6: 40K1051 IBM ServeRAID 8i: 39R8729 We are attempting to install FreeBSD 6.2-RELEASE onto this machine and are running into a problem getting the operating system to recognise the RAID controller. As a result not finding any disks when it comes to installing the O/S. We have attempted various modifications to the boot process, including the loading of an aac module, which according to the BSD website, should provide support for this type of controller. When we attempt to boot to OS to install after making these above modifications, the boot loader advises that this module already appears to be loaded, which contradicts what I believe. In any respect, it doesn't work either way (with or without the module manually loaded). One side note (which i don't think is contributing) is that when I attempt to start the boot loader with ACPI enabled, it freezes with the message cpu id 38 too high. However if I boot the boot loader with ACPI disabled, this message dissapears. It _may_ be a possibility that a bi-product of disabling the ACPI is causing the RAID controller to have issues. This appears to be an issue because of the X4 CPU count ?? That's a quick summary of the problem we have, and the path(s) we have been down to date to attempt to fix it. Any help you can provide would be very much appreciated. We are at the position now where we are prepared to pay for consulting services to get it going. Dave Faulkner / Murray Taylor Bytecraft Systems Are you creating an Array before you try the installation? What does the console show for the recognized hardware, and not recognized hardware? You can boot from CD and run dmesg to get this information. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PPP and resolv.conf
Richard Simmonds [EMAIL PROTECTED] writes: -Original Message- From: RW [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 18, 2007 1:11 AM To: freebsd-questions@freebsd.org Cc: [EMAIL PROTECTED] Subject: Re: PPP and resolv.conf On Tue, 17 Apr 2007 14:48:25 +0800 Richard Simmonds [EMAIL PROTECTED] wrote: How can I stop ppp from modifying my /etc/resolv.conf? Everytime I establish a pppoe session, my resolv.conf file gets reconfigured to my ISPs DNS Servers. It's dhclient, not ppp that's modding the file. This is unlikely. PPP normally provides the dns server addresses itself, in which case the suggestion to remove enable dns from ppp.conf is correct. Well, as always, YMMV. If the connection is providing a dynamic address via dhcp, as my ADSL provider is, it appears to be dhclient that's updating resolv.conf so the setup as stated works for me. I have 'enable dns' in my ppp.conf file as well but my provider doesn't seem to be able to offer a dns server address correctly, which is why I run one locally on the network. I suspect it is probably a setup error on my part but I have neither the time or the inclination to tinker with it any more than I have to. If DHCP is setting it, then use the prepend or supersede keywords on domain-name-servers in your dhclient.conf(5). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
every two weeks
Hi Every two weeks my Freebsd 5.3 box goes down. I'm running a webserver, databaase. No mail. Unfortunately it's 1100 miles from where I am and is quite the pain for my contact to go and start it up again. He says it's turned off and cold by the time he gets there. It's an old box for sure, hardware seems the likely culprit, but why up for two weeks and then down? It's the 4th time in well, about 8 weeks. Before that it was off for a long time because no one could get to it. It's in New Orleans. Anyone run into anything similar? It seems so un freebsd. What would be a good way to see what the last thing that happened was? Thanks for any insight. Please respond to me personally (as well as to the list if you like). Bagus John Bagus Haig [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: every two weeks
John Haig wrote: Hi Every two weeks my Freebsd 5.3 box goes down. I'm running a webserver, databaase. No mail. Unfortunately it's 1100 miles from where I am and is quite the pain for my contact to go and start it up again. He says it's turned off and cold by the time he gets there. It's an old box for sure, hardware seems the likely culprit, but why up for two weeks and then down? It's the 4th time in well, about 8 weeks. Before that it was off for a long time because no one could get to it. It's in New Orleans. Anyone run into anything similar? It seems so un freebsd. What would be a good way to see what the last thing that happened was? Thanks for any insight. Please respond to me personally (as well as to the list if you like). Hi John, Sounds like a potential PSU issue, is there anyone at the facility to test/replace it? Meanwhile, you may want to watch the temperatures while it is in operation, incase it is shutting down due to heat. HTH, Thanks, Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: every two weeks
On Wed, Apr 18, 2007 at 03:54:33PM +0100, Joe Holden wrote: John Haig wrote: Every two weeks my Freebsd 5.3 box goes down. Sounds like a potential PSU issue, is there anyone at the facility to test/replace it? How about a BIOS issue? Seems there is an option for periodic shutdowns in some. Also an option controlling the on/off state when power is restored after an outage. Whether to always power up, restore last state, or always remain off until the button is pushed. John asked about diagnostics as to what the machine was doing when it went down. Start by comparing the shutdown dates. Is there a pattern? When it restarts does it complain about an improper shutdown? Think this should be noted in /var/log/messages. Does a cleaning crew come around about the time the machine dies? Is the machine on a UPS? -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Moving existing FreeBSD system to a new harddisk...
On 18/04/07, Amarendra Godbole [EMAIL PROTECTED] wrote: Hi, I have FreeBSD 6.2 installed on a Dell Latitude D400 laptop. The harddisk is 40G, with FreeBSD occupying about 25G, and remaining to Windows. I have received a replacement for this hard disk, which is a bigger capacity one - 80G. I have to move the existing FreeBSD system from the old to the new hard disk. I did find something here: http://www.freebsddiary.org/driveswap.php. Still, I'd like to hear someone's experience regarding the same. Thanks! I recently replaced a dying Hard Disk with a newer and bigger one. To move the data to the new disk I used dump/restore, and stored the data on my server. 1. dumped all slices from the machine to the server 2. replaced the disks 3. did a basic FreeBSD install from CD ROM to get a proper disk layout and a boot manager. Because of this installation I got the same slices as on the old disk, just with a new size matching the new disks specification. So the slice names remained the same. 4. restored the previously dumped slices to the new disk BTW: As long as you don't remove/destroy the data on the original disk there's nothing desastrous that can be happen to you. If the method you choose doesn't work somehow, you can still create another backup of the original disk. From all possible and existing methods you should choose the one you feel most comfortable with, e.g. that you understand completely, and where you know the needed tools most. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Moving existing FreeBSD system to a new harddisk...
On 18/04/07, Amarendra Godbole [EMAIL PROTECTED] wrote: Hi, I have FreeBSD 6.2 installed on a Dell Latitude D400 laptop. The harddisk is 40G, with FreeBSD occupying about 25G, and remaining to Windows. I have received a replacement for this hard disk, which is a bigger capacity one - 80G. I have to move the existing FreeBSD system from the old to the new hard disk. I did find something here: http://www.freebsddiary.org/driveswap.php. Still, I'd like to hear someone's experience regarding the same. Thanks! Dan's process seems fairly sound, from having done this myself. I use pax(1)* on the filesystems rather than tar(1) on the archives, and I tend to only backup /home, /etc, /var (especially /var/db/pkg), and /root. If you do not make some dreadful error your old drive is the backup, at least until you can confirm the state of the new drive. *cd / pax -r -w -p e -X ./ /mnt \ pax -r -w -p e -X ./var /mnt etc etc for /usr /home and any other mountpoints (if I recall correctly. Note that with pax the -X flag is important in this case so it is not trying to copy /mnt into /mnt/mnt and into /mnt/mnt/mnt and so on) -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Why is dmidecode failing?
Hi gang, I am attempting to update the ports on my system. To that end: /usr/local/sbin/portupgrade -aruv fails: gmake[2]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.8.20070403/po' Making all in policy gmake[2]: Entering directory `/usr/ports/sysutils/hal/work/hal-0.5.8.20070403/policy' gmake[3]: Entering directory `/usr/ports/sysutils/hal/work/hal-0.5.8.20070403/policy' gmake[3]: Nothing to be done for `all-am'. gmake[3]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.8.20070403/policy' gmake[2]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.8.20070403/policy' gmake[2]: Entering directory `/usr/ports/sysutils/hal/work/hal-0.5.8.20070403' gmake[2]: Nothing to be done for `all-am'. gmake[2]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.8.20070403' gmake[1]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.8.20070403' === Installing for hal-0.5.8.20070403 === hal-0.5.8.20070403 depends on file: /usr/local/share/pciids/pci.ids - found === hal-0.5.8.20070403 depends on file: /usr/local/bin/python - found === hal-0.5.8.20070403 depends on executable: dmidecode - not found ===Verifying install for dmidecode in /usr/ports/sysutils/dmidecode === Vulnerability check disabled, database not found === Extracting for dmidecode-2.8 = MD5 Checksum OK for dmidecode-2.8.tar.bz2. = SHA256 Checksum OK for dmidecode-2.8.tar.bz2. === Patching for dmidecode-2.8 === Applying FreeBSD patches for dmidecode-2.8 === Configuring for dmidecode-2.8 === Building for dmidecode-2.8 cc -O2 -pipe -march=opteron -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-q ual -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef -c dmidecode.c -o dmidecode.o cc -O2 -pipe -march=opteron -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-q ual -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef -c dmiopt.c -o dm iopt.o cc -O2 -pipe -march=opteron -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef -c util.c -o util ..o cc dmidecode.o dmiopt.o util.o -o dmidecode cc -O2 -pipe -march=opteron -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-q ual -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef -c biosdecode.c - o biosdecode.o cc biosdecode.o util.o -o biosdecode cc -O2 -pipe -march=opteron -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-q ual -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef -c ownership.c -o ownership.o cc ownership.o util.o -o ownership cc -O2 -pipe -march=opteron -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-q ual -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef -c vpddecode.c -o vpddecode.o cc -O2 -pipe -march=opteron -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-q ual -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef -c vpdopt.c -o vp dopt.o cc vpddecode.o vpdopt.o util.o -o vpddecode === Installing for dmidecode-2.8 === Generating temporary packing list === Checking if sysutils/dmidecode already installed === dmidecode-2.8 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of sysutils/dmidecode without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/sysutils/dmidecode. *** Error code 1 Stop in /usr/ports/sysutils/hal. *** Error code 1 Stop in /usr/ports/devel/gnome-vfs. *** Error code 1 Stop in /usr/ports/devel/gnome-vfs. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.3468.10 env UPGRADE_ TOOL=portupgrade UPGRADE_PORT=gnome-vfs-2.16.3 UPGRADE_PORT_VER=2.16.3 make ** Fix the problem and try again. Now, I am not sure why hal does not think dmidecode is not installed, when obviously it is. Suggestions? I did not see any thing in /usr/ports/UPDATING, and the tidbits on hald do not seem to apply. pkgdb -F does not think anything is wrong... Thanks, Bruce p.s. This has been happening for about the last two weeks. -- I like bad! Bruce BurdenAustin, TX. - Thuganlitha The Power and the Prophet Robert Don Hughes ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mmap on freebsd vs linux
Hi All, i am looking into implementing a piece of the V4L interface. this involves mmap'ing from userspace into kernelspace. in mplayer, this is what is called: tvi_v4l2.c: priv-map[i].addr = mmap (0, priv-map[i].buf.length, PROT_READ | PROT_WRITE, MAP_SHARED, priv-video_fd,priv-map[i].buf.m.offset); the file descriptor parameter is the file descriptor of the opened capture device. the offset parameter should be filled in by the opened device. does mmap work on freebsd as it works on linux? ie: can i mmap any device? are there constraints on the device which should be met? regards, usleep ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Moving existing FreeBSD system to a new harddisk...
On Wed, 18 Apr 2007, Amarendra Godbole wrote: I have FreeBSD 6.2 installed on a Dell Latitude D400 laptop. The harddisk is 40G, with FreeBSD occupying about 25G, and remaining to Windows. I have received a replacement for this hard disk, which is a bigger capacity one - 80G. I have to move the existing FreeBSD system from the old to the new hard disk. I did find something here: http://www.freebsddiary.org/driveswap.php. Still, I'd like to hear someone's experience regarding the same. Thanks! The FAQ has the canonical way to do it: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW-HUGE-DISK As that says, the easiest way is to do a minimal install on the new disk and then use restore. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mmap on freebsd vs linux
[EMAIL PROTECTED] writes: does mmap work on freebsd as it works on linux? ie: can i mmap any device? are there constraints on the device which should be met? U ... man 2 mmap? Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
program/binary ip filtering
Hi All, This may not be the correct list to ask this question, so please point me in the right direction in that case. We are in the process of setting up a bastion host. One of the things we'd like to do is to filter packets not only at the ip layer, but by what program is listening on a particular port. Is this a possibility? A quick 5 minute Google didn't provide me with anything noticeable, but that my just be my noobness in the *BSD world. So play nice! ;-) Thanks for any suggestions! Kevin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Why is dmidecode failing?
In the last episode (Apr 18), Bruce Burden said: Hi gang, I am attempting to update the ports on my system. To that end: /usr/local/sbin/portupgrade -aruv fails: === Installing for hal-0.5.8.20070403 === hal-0.5.8.20070403 depends on file: /usr/local/share/pciids/pci.ids - found === hal-0.5.8.20070403 depends on file: /usr/local/bin/python - found === hal-0.5.8.20070403 depends on executable: dmidecode - not found This says that dmidecode isn't in your path. Make sure that /usr/local/sbin is in your path, since that's where dmidecode is installed. === Checking if sysutils/dmidecode already installed === dmidecode-2.8 is already installed This says that the dmidecode port is installed. If /usr/local/sbin/dmidecode doens't exist, try deinstalling and reinstalling the dmidecode port, in case something deleted the dmidecode binary on you. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Exercising ATA disks in hopes of revealing errors
On 17/04/07, Derek Ragona [EMAIL PROTECTED] wrote: At 11:56 AM 4/17/2007, Doug Poland wrote: Hello, I've just come into possesion of a bunch of 80GB ATA drives. I'd like to quickly and efficiently test each drive to see if it's free of errors and suitable for deployment in non-critical workstations. Using FreeBSD 6.x as a testing platform, what tools do people use to stress-test disk drives? I've searched ports and done some googling but nothing stands out. Use the manufacture's utilities to test the drives. Each manufacturer has bootable test and stress utilities. I have used this: http://www.ultimatebootcd.com/ AFIK, there isn't much in FreeBSD for this sort of low level diagnostics, ubcd boots faster, and given a decent junk machine, you can test 3 hard drives per reboot*. If you can hunt down a pci ata card, you can probably manage quite a few more. Having an 80-wire cable is nice for some of the diagnostics (if your junk machine isn't very old it will be pretty unlikely to have a 40 wire cable, so ignore this anyway). If you really want to use freebsd, the other suggestions to use ports/sysutils/smartmontools and dd (personally I use ports/sysutils/sdd for its -inull flag) are probably what I would follow. * Unless you can boot from a scsi cdrom. -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ftpd and chmod
manual page says that ftpd do support SITE CHMOD. what's wrong? From the manual: Note: SITE requests are disabled in case of anonymous logins. thanks. no way to change it? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ftpd and chmod
On Apr 18, 2007, at 9:54 AM, Wojciech Puchar wrote: manual page says that ftpd do support SITE CHMOD. what's wrong? From the manual: Note: SITE requests are disabled in case of anonymous logins. thanks. no way to change it? Permitting anonymous remote users to change permissions seems to be a remarkably bad idea. :-) If you really want to change permissions remotely, why not use SSH as an authenticated user? -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MS, Adobe competition heats up, Will Adobe wake and port Flash to BSD?
On 17/04/07, Abdullah Ibn Hamad Al-Marri [EMAIL PROTECTED] wrote: . . . Porting Flash to more OSes will sure will make adobe beats MS when it comes to web media. I hope they kill each other and take the whole retch-media enhanced web experience with them flaming into the pit of hell from which they came. But that's just my opinion. References: http://www.thebestpageintheuniverse.net/c.cgi?u=boiling_blood -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Execute command upon interface initialization?
On 4/17/07, Ido Admon [EMAIL PROTECTED] wrote: Hello list, I couldn't find any way to execute an arbitrary command upon network interface initialization. My situations is that I have and ethernet card that takes DHCP from a cables provider (not a fixed IP address) and I need to update a DynDNS hostname everytime it does (everytime the IP changes). I couldn't find a way to execute shell commands using the rc system or dhclient, what did I miss? You can use a '/etc/start_if.nic' file. If your NIC is fxp0 then a '/etc/start_if.fxp0' file will be run or sourced by the 'rc' system. In http://www.bsdforums.org/forums/showthread.php?t=34607 this type of file is used to set a MTU of 1492 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
completly remove (or modify) a port
Hello all, I have been trying to work with postfix from the ports collection. I need to rebuild it to include mysql support. I tried #make deinstall but a subsequent #make install doesn't give me the options screen. what is the way to either remove the stored configuration file, or to manually pass the parameters to make. A look at the Makefile and the other files in /usr/ports/mail/postfix didn't turn up any hints. Thanks, Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Best Open Source software to backup Cisco switches and routers
I am looking to automate the process of backing up my Cisco routers and switches config files and have come across RANCID. Is this what I should use on my FreeBSD server or is there something better? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: completly remove (or modify) a port
Hello: -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of Ray Sent: Wednesday, April 18, 2007 11:16 AM To: freebsd-questions@freebsd.org Subject: completly remove (or modify) a port Hello all, I have been trying to work with postfix from the ports collection. I need to rebuild it to include mysql support. I tried #make deinstall but a subsequent #make install doesn't give me the options screen. what is the way to either remove the stored configuration file, or to manually pass the parameters to make. A look at the Makefile and the other files in /usr/ports/mail/postfix didn't turn up any hints. Thanks, Ray 'make config' should do the trick. Regards, Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: completly remove (or modify) a port
In the last episode (Apr 18), Ray said: Hello all, I have been trying to work with postfix from the ports collection. I need to rebuild it to include mysql support. I tried #make deinstall but a subsequent #make install doesn't give me the options screen. what is the way to either remove the stored configuration file, or to manually pass the parameters to make. A look at the Makefile and the other files in /usr/ports/mail/postfix didn't turn up any hints. If you run make config, it'll bring up the options page again. You could also delete the cahed options file at /var/db/ports/postfix/options and run make. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: completly remove (or modify) a port
On 4/18/07, Ray [EMAIL PROTECTED] wrote: Hello all, I have been trying to work with postfix from the ports collection. I need to rebuild it to include mysql support. I tried #make deinstall but a subsequent #make install doesn't give me the options screen. make rmconfig Thanks, Ray -- Pietro Cerutti - ASCII Ribbon Campaign - against HTML e-mail and proprietary attachments www.asciiribbon.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: completly remove (or modify) a port
Ray [EMAIL PROTECTED] writes: I have been trying to work with postfix from the ports collection. I need to rebuild it to include mysql support. I tried #make deinstall but a subsequent #make install doesn't give me the options screen. make config what is the way to either remove the stored configuration file, or to manually pass the parameters to make. A look at the Makefile and the other files in /usr/ports/mail/postfix didn't turn up any hints. The hints are in man ports or alternatively in the Handbook section on installing ports. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: completly remove (or modify) a port
On 4/18/07, Ray [EMAIL PROTECTED] wrote: Hello all, I have been trying to work with postfix from the ports collection. I need to rebuild it to include mysql support. I tried #make deinstall but a subsequent #make install doesn't give me the options screen. try make config ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: completly remove (or modify) a port
what is the way to either remove the stored configuration file, or to manually pass the parameters to make. A look at the Makefile and the other files in /usr/ports/mail/postfix didn't turn up any hints. You can either: make rmconfig or just: make config Then re-build/install it. Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Best Open Source software to backup Cisco switches and routers
Hello: -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of Sean Murphy Sent: Wednesday, April 18, 2007 11:19 AM To: freebsd-questions@freebsd.org List Subject: Best Open Source software to backup Cisco switches and routers I am looking to automate the process of backing up my Cisco routers and switches config files and have come across RANCID. Is this what I should use on my FreeBSD server or is there something better? I guess it depends on what information is important to you. That is, if you just need a most recent copy of the configuration files then you could use tftp, ftp or scp to move the file off the router to the server. If you want to have a set of diffs indicating what changes were made when, plus have the ability to select from multiple revisions should you have to revert, then Rancid is definitely the way to go. Regards, Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: completly remove (or modify) a port
On Wednesday April 18, 2007 at 02:16:28 (PM) Ray wrote: Hello all, I have been trying to work with postfix from the ports collection. I need to rebuild it to include mysql support. I tried #make deinstall but a subsequent #make install doesn't give me the options screen. what is the way to either remove the stored configuration file, or to manually pass the parameters to make. A look at the Makefile and the other files in /usr/ports/mail/postfix didn't turn up any hints. Thanks, Ray cd to the postfix port you want to install make rmconfig make config If you want to check all of the dependencies: make config-recursive make deinstall make clean make install make clean -- Gerard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: completly remove (or modify) a port
Look in /var/db/ports. Removing the postfix directory or the options file in that directory should do the trick. jw --On Wednesday, April 18, 2007 12:16:28 -0600 Ray [EMAIL PROTECTED] wrote: Hello all, I have been trying to work with postfix from the ports collection. I need to rebuild it to include mysql support. I tried # make deinstall but a subsequent # make install doesn't give me the options screen. what is the way to either remove the stored configuration file, or to manually pass the parameters to make. A look at the Makefile and the other files in /usr/ports/mail/postfix didn't turn up any hints. Thanks, Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: program/binary ip filtering
In response to Kevin Hunter [EMAIL PROTECTED]: This may not be the correct list to ask this question, so please point me in the right direction in that case. We are in the process of setting up a bastion host. One of the things we'd like to do is to filter packets not only at the ip layer, but by what program is listening on a particular port. Is this a possibility? A quick 5 minute Google didn't provide me with anything noticeable, but that my just be my noobness in the *BSD world. So play nice! ;-) Are you saying that you want to have the packet filter check to see what application is listening on a particular port, then allow/deny access based on the name of the application? Do you not have control over what is run on this system? However, you might be able to accomplish this by using a pf table, then having a secondary script update the table based on the output of sockstat or some other similar hack. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: completly remove (or modify) a port
On Wednesday, 18 April, 2007 at 12:16:28 -0600, Ray wrote: Hello all, I have been trying to work with postfix from the ports collection. I need to rebuild it to include mysql support. I tried #make deinstall but a subsequent #make install doesn't give me the options screen. make rmconfig See man ports(7) Cheers, Nick. -- Please do not CC me on replies, I read the list and don't need the dupes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is FTP install broken?
On Wed, Apr 18, 2007 at 01:01:06AM -0700, Philip J. Koenig wrote: On 17 Apr 2007 at 17:18, Kris Kennaway boldly uttered: On Tue, Apr 17, 2007 at 01:45:44PM -0700, Philip J. Koenig wrote: Re: Kris's assertion, I guess I could have lived with that if it weren't for the fact that the installer doesn't give you any clue of this. Thought I was going to avoid the time to download and burn a couple of CD's, and now it's sucked up way more of my time than making those CD's ever would have... Thanks for the answers/input. No special casing happens for the snapshot builds, i.e. sysinstall is not specially modified to disable the FTP install option. It should be mentioned in the documentation; but for all I know it already is :) Kris Well I looked at all the docs I could find and nothing stood out. (BTW, there are still some other user interface errors in sysinstall, ie things that lead to unexpected results, but I can't remember specifics now.) Talk to re@ Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: program/binary ip filtering
At 2:42p -0400 18 Apr 2007, Bill Moran wrote: We are in the process of setting up a bastion host. One of the things we'd like to do is to filter packets not only at the ip layer, but by what program is listening on a particular port. Is this a possibility? Are you saying that you want to have the packet filter check to see what application is listening on a particular port, then allow/deny access based on the name of the application? Exactly. Do you not have control over what is run on this system? So perhaps our specific example might be prudent: kevin $: ssh bastion bastion $: ssh internalserver hang Relevant part of log: Apr 18 09:35:23 kappia ipmon[405]: 09:35:22.695348 fxp0 \ @0:4 b internalserver,22 - bastion,53136 PR tcp \ len 20 52 -AS IN It's blocking because we are dropping all packets not destined for port 22. Since ssh /from/ the bastion picks a random high port, it's dropping all the return packets to that random high port. How have others handled this type of scenario, where a hardening of a bastion host has been desired/necessary? However, you might be able to accomplish this by using a pf table, then having a secondary script update the table based on the output of sockstat or some other similar hack. We did not know about this utility. We'll check out your idea. Thank you for the pointer. We'll let the list know how it goes. :-) (Of course, if there's a standard, cut and dry solution, that'd be ideal!) Thanks Bill, Kevin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Exercising ATA disks in hopes of revealing errors
On Wed, Apr 18, 2007 at 11:46:50AM -0500, [EMAIL PROTECTED] wrote: On 17/04/07, Derek Ragona [EMAIL PROTECTED] wrote: At 11:56 AM 4/17/2007, Doug Poland wrote: Hello, I've just come into possesion of a bunch of 80GB ATA drives. I'd like to quickly and efficiently test each drive to see if it's free of errors and suitable for deployment in non-critical workstations. Using FreeBSD 6.x as a testing platform, what tools do people use to stress-test disk drives? I've searched ports and done some googling but nothing stands out. Use the manufacture's utilities to test the drives. Each manufacturer has bootable test and stress utilities. I have used this: http://www.ultimatebootcd.com/ That is packed full with nice stuff. Thanks AFIK, there isn't much in FreeBSD for this sort of low level diagnostics, ubcd boots faster, and given a decent junk machine, you can test 3 hard drives per reboot*. If you can hunt down a pci ata card, you can probably manage quite a few more. Having an 80-wire cable is nice for some of the diagnostics (if your junk machine isn't very old it will be pretty unlikely to have a 40 wire cable, so ignore this anyway). If you really want to use freebsd, the other suggestions to use ports/sysutils/smartmontools and dd (personally I use ports/sysutils/sdd for its -inull flag) are probably what I would follow. I don't have to run FreeBSD as the host, I just thought there would be some good tools to accomplish the task. The idea of a bootable CD-ROM is nice cause that gives me 4 empty ATA sockets for testing in my test machine. -- Regards, Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mt command questions
On Wed, Apr 18, 2007 at 09:10:30AM -0400, Lowell Gilbert wrote: Sean Murphy [EMAIL PROTECTED] writes: I am learning about backing up to tape and have made quite a bit of progress with the mt command. I understand what the fsf option does. There are other options however and would like to understand them as well. I am looking at the man page and have tried googleing them with not a lot of luck. the fsr and fss options I understand they would fast forward but what is count records and count setmarks considered and how would I use them? In this context, count is a number. I haven't used mt(1) in quite a while, but I don't think I ever used more than one of {files, records, setmarks} on the same tape, andoffhand I can't think of a reason for doing so. If you only put one backup on a given tape, you wouldn't use any of them. We often put a number of backups on one tape. It is convenient to make a fill dump on one day and then incremental dumps for other days. In that case, the full dump take a whole tape, but all the incrementals together take one tape. Also, when I want to make a system to install on several machines via tape, each file system becomes one backup. The count does refer to the number of operations to do. So, for example, if you have 5 files one one tape and you want to go to that last file to restore, then you would execute: mt -f /dev/nrsa0 fsf 4 to skip past the first four files to get to the last one. jerry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: program/binary ip filtering
In response to Kevin Hunter [EMAIL PROTECTED]: At 2:42p -0400 18 Apr 2007, Bill Moran wrote: We are in the process of setting up a bastion host. One of the things we'd like to do is to filter packets not only at the ip layer, but by what program is listening on a particular port. Is this a possibility? Are you saying that you want to have the packet filter check to see what application is listening on a particular port, then allow/deny access based on the name of the application? Exactly. Do you not have control over what is run on this system? So perhaps our specific example might be prudent: kevin $: ssh bastion bastion $: ssh internalserver hang Relevant part of log: Apr 18 09:35:23 kappia ipmon[405]: 09:35:22.695348 fxp0 \ @0:4 b internalserver,22 - bastion,53136 PR tcp \ len 20 52 -AS IN It's blocking because we are dropping all packets not destined for port 22. Since ssh /from/ the bastion picks a random high port, it's dropping all the return packets to that random high port. Your packet filter rules are wrong. Without knowing what product you're using, I can't say the exact way to fix it, but the generally rule is that you either need to write stateful rules (so that the initial connection creates a state that is then used to allow traffic in both directions) or you need to create two rules -- one to allow traffic out, the other to allow traffic in. Stateful filtering is generally considered to be more secure, but you then have concerns about properly maintaining state tables, which can be a problem on very busy servers. However, the problem you're describing now seems to be a completely different problem from the one described in the previous email. It's possible that I've misunderstood both of them. How have others handled this type of scenario, where a hardening of a bastion host has been desired/necessary? Again (unless I'm misunderstanding) through properly written filter rules. The current trend seems to be toward using stateful filtering. However, you might be able to accomplish this by using a pf table, then having a secondary script update the table based on the output of sockstat or some other similar hack. We did not know about this utility. We'll check out your idea. Thank you for the pointer. We'll let the list know how it goes. :-) (Of course, if there's a standard, cut and dry solution, that'd be ideal!) -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Exercising ATA disks in hopes of revealing errors
On Tue, Apr 17, 2007 at 01:06:53PM -0400, Bill Moran wrote: In response to Doug Poland [EMAIL PROTECTED]: Hello, I've just come into possesion of a bunch of 80GB ATA drives. I'd like to quickly and efficiently test each drive to see if it's free of errors and suitable for deployment in non-critical workstations. Check with the vendors, though. Many drive manufacturers have utilities you can download specifically to check their drives. Thanks, this seems like the way to go. I have a follow-up question if that's OK... I just used the Drive Fitness Test for IBM ATA drives on a particular disk and it finished without detecting errors. However, I see messages like this: Apr 16 22:51:44 seth kernel: ad3: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=1904935 Apr 16 22:52:02 seth kernel: ad3: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=8029031 Apr 16 23:35:30 seth kernel: ad3: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=2269287 Apr 16 23:37:22 seth kernel: ad3: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=3612007 Apr 16 23:48:17 seth kernel: ad3: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=1932123 Apr 17 21:12:25 seth kernel: ad3: FAILURE - SMART status=51READY,DSC,ERROR error=4ABORTED LBA=12734209 Apr 17 21:12:25 seth kernel: ad3: FAILURE - SMART status=51READY,DSC,ERROR error=4ABORTED LBA=12734214 in /var/log/messages. Do the kernel messages indicate a potential problem with this drive? Whom should I believe, FreeBSD or the disk diagnostics tool? -- Regards, Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: program/binary ip filtering
On Apr 18, 2007, at 12:17 PM, Kevin Hunter wrote: At 2:42p -0400 18 Apr 2007, Bill Moran wrote: We are in the process of setting up a bastion host. One of the things we'd like to do is to filter packets not only at the ip layer, but by what program is listening on a particular port. Is this a possibility? Are you saying that you want to have the packet filter check to see what application is listening on a particular port, then allow/ deny access based on the name of the application? Exactly. You should consider just how difficult it is to rename a malicious program to, say, ssh in order to get around such checking. (Answer: trivial.) If you really want to control traffic in this fashion, you should look towards what the industry calls deep packet inspection or mandatory usage of proxies for all permitted protocols, instead. Do you not have control over what is run on this system? So perhaps our specific example might be prudent: kevin $: ssh bastion bastion $: ssh internalserver hang Relevant part of log: Apr 18 09:35:23 kappia ipmon[405]: 09:35:22.695348 fxp0 \ @0:4 b internalserver,22 - bastion,53136 PR tcp \ len 20 52 -AS IN It's blocking because we are dropping all packets not destined for port 22. Since ssh /from/ the bastion picks a random high port, it's dropping all the return packets to that random high port. How have others handled this type of scenario, where a hardening of a bastion host has been desired/necessary? The main approaches are to use a stateful firewall ruleset, to explicitly permit return traffic via additional rules, or to simply permit established connections through. These options are arranged in rough order of how secure they are. I suspect that you are encountering a steep learning curve, and that some additional reading will help you make much better decisions about how to configure a firewall. Consider getting either or both of: Building Internet Firewalls, ISBN-10: 1565928717 http://www.oreilly.com/catalog/fire2/ Firewalls and Internet Security: Repelling the Wily Hacker, ISBN-10: 020163466X http://www.aw-bc.com/catalog/academic/product/0,1144,020163466X,00.html Regards, -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Exercising ATA disks in hopes of revealing errors
On Apr 18, 2007, at 12:37 PM, Doug Poland wrote: I just used the Drive Fitness Test for IBM ATA drives on a particular disk and it finished without detecting errors. However, I see messages like this: Apr 16 22:51:44 seth kernel: ad3: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=1904935 Apr 16 22:52:02 seth kernel: ad3: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=8029031 Apr 16 23:35:30 seth kernel: ad3: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=2269287 Apr 16 23:37:22 seth kernel: ad3: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=3612007 Apr 16 23:48:17 seth kernel: ad3: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=1932123 Apr 17 21:12:25 seth kernel: ad3: FAILURE - SMART status=51READY,DSC,ERROR error=4ABORTED LBA=12734209 Apr 17 21:12:25 seth kernel: ad3: FAILURE - SMART status=51READY,DSC,ERROR error=4ABORTED LBA=12734214 in /var/log/messages. Do the kernel messages indicate a potential problem with this drive? They seem to suggest more of a cabling problem or communications problem between the drive and motherboard than a problem within the drive itself. It could also indicate a problem with the ATA driver against your particular motherboard/chipset-- but without a dmesg or some hardware details, we can't do better than guess. Whom should I believe, FreeBSD or the disk diagnostics tool? Both. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
AMD64
Good day all. I am getting my (first) Athlon 64 x 2 today or tomorrow and was wondering whether I should stick with the reliable x86 or try the AMD64 port. Any performance penalties when running x86 FreeBSD on a 64-bit machine? Also what are the common problems, i.e. drivers, applications that are known not to work under the AMD64. This is going to be a desktop/workstation type system. Thanks in advance, Michael ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: program/binary ip filtering
At 3:46p -0400 18 Apr 2007, Chuck Swiger wrote: On Apr 18, 2007, at 12:17 PM, Kevin Hunter wrote: At 2:42p -0400 18 Apr 2007, Bill Moran wrote: Are you saying that you want to have the packet filter check to see what application is listening on a particular port, then allow/deny access based on the name of the application? Exactly. You should consider just how difficult it is to rename a malicious program to, say, ssh in order to get around such checking. (Answer: trivial.) If you really want to control traffic in this fashion, you should look towards what the industry calls deep packet inspection or mandatory usage of proxies for all permitted protocols, instead. Hrm. I was assuming that if I got into the nitty gritty, I could do more than just check the name of the binary, but perhaps not? Thanks for the warning. Do you not have control over what is run on this system? So perhaps our specific example might be prudent: [snip] It's blocking because we are dropping all packets not destined for port 22. Since ssh /from/ the bastion picks a random high port, it's dropping all the return packets to that random high port. How have others handled this type of scenario, where a hardening of a bastion host has been desired/necessary? The main approaches are to use a stateful firewall ruleset, to explicitly permit return traffic via additional rules, or to simply permit established connections through. These options are arranged in rough order of how secure they are. I have been given to understand that this approach does not lend itself to fine-tuning down the road, if such -- for /some/ reason -- were needed. . . .? I suspect that you are encountering a steep learning curve, You are /probably/ (read: definitely) correct. I am. :-) and that some additional reading will help you make much better decisions about how to configure a firewall. Consider getting either or both of: Building Internet Firewalls, ISBN-10: 1565928717 http://www.oreilly.com/catalog/fire2/ Firewalls and Internet Security: Repelling the Wily Hacker, ISBN-10: 020163466X http://www.aw-bc.com/catalog/academic/product/0,1144,020163466X, 00.html Will look into those. Thank you again. Kevin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Exercising ATA disks in hopes of revealing errors
On Wed, Apr 18, 2007 at 12:51:18PM -0700, Chuck Swiger wrote: On Apr 18, 2007, at 12:37 PM, Doug Poland wrote: I just used the Drive Fitness Test for IBM ATA drives on a particular disk and it finished without detecting errors. However, I see messages like this: Apr 16 22:51:44 seth kernel: ad3: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=1904935 Apr 16 22:52:02 seth kernel: ad3: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=8029031 Apr 16 23:35:30 seth kernel: ad3: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=2269287 Apr 16 23:37:22 seth kernel: ad3: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=3612007 Apr 16 23:48:17 seth kernel: ad3: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=1932123 Apr 17 21:12:25 seth kernel: ad3: FAILURE - SMART status=51READY,DSC,ERROR error=4ABORTED LBA=12734209 Apr 17 21:12:25 seth kernel: ad3: FAILURE - SMART status=51READY,DSC,ERROR error=4ABORTED LBA=12734214 Do the kernel messages indicate a potential problem with this drive? They seem to suggest more of a cabling problem or communications problem between the drive and motherboard than a problem within the drive itself. It could also indicate a problem with the ATA driver against your particular motherboard/chipset-- but without a dmesg or some hardware details, we can't do better than guess. Whom should I believe, FreeBSD or the disk diagnostics tool? Both Thanks for the response, I'm attaching a recent dmesg for this machine. The drive in question is: ad3: 8063MB IBM DHEA-38451 HP8OA20C at ata1-slave UDMA33 running on: FreeBSD seth..xxx 6.2-STABLE FreeBSD 6.2-STABLE #0: Thu Feb 22 10:19:42 CST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC-UNP-4BSD i386 -- Regards, Doug Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-STABLE #0: Thu Feb 22 10:19:42 CST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC-UNP-4BSD Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) processor (1403.19-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x644 Stepping = 4 Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR AMD Features=0xc0440800SYSCALL,b18,MMX+,3DNow+,3DNow real memory = 259981312 (247 MB) avail memory = 244875264 (233 MB) kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: AWARD AWRDACPI on motherboard acpi0: Power Button (fixed) Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x5008-0x500b on acpi0 cpu0: ACPI CPU on acpi0 acpi_button0: Power Button on acpi0 acpi_button1: Sleep Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff,0x480-0x48f,0x5000-0x50bf,0x50c0-0x50ff,0x290-0x297 on acpi0 pci0: ACPI PCI bus on pcib0 agp0: SiS 730 host to AGP bridge mem 0xd800-0xdbff at device 0.0 on pci0 atapci0: SiS 730 UDMA100 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x4000-0x400f at device 0.1 on pci0 ata0: ATA channel 0 on atapci0 ata1: ATA channel 1 on atapci0 isab0: PCI-ISA bridge at device 1.0 on pci0 isa0: ISA bus on isab0 ohci0: SiS 5571 USB controller mem 0xdc101000-0xdc101fff irq 11 at device 1.2 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: SiS 5571 USB controller on ohci0 usb0: USB revision 1.0 uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: SiS 5571 USB controller mem 0xdc102000-0xdc102fff irq 11 at device 1.3 on pci0 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: SiS 5571 USB controller on ohci1 usb1: USB revision 1.0 uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered pci0: multimedia, audio at device 1.4 (no driver attached) pcib1: PCI-PCI bridge at device 2.0 on pci0 pci1: PCI bus on pcib1 pci1: display, VGA at device 0.0 (no driver attached) rl0: RealTek 8139 10/100BaseTX port 0xec00-0xecff mem 0xdc103000-0xdc1030ff irq 11 at device 13.0 on pci0 miibus0: MII bus on rl0 rlphy0: RealTek internal media interface on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:0a:e6:21:01:c2 acpi_tz0: Thermal Zone on acpi0 fdc0: floppy drive controller port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: 1440-KB 3.5 drive on fdc0 drive 0 sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A ppc0: ECP parallel printer port port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on acpi0 ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/16 bytes threshold ppbus0: Parallel port bus on ppc0 plip0: PLIP network
Re: sendmail with dovecot with nologin account
I am using dovecot imap and I am having a problem directing mail to go to users in Maildir format when they do not have a login shell. It seems that the .procmailrc file is ignored and the mail is put in mbox format into /var/mail For mail-only users with-out a shell, what is the best way to direct mail to them in Maildir format within ~/Maildir - maybe directly from .forward? Hello David, We run dovecot + sendmail + procmail and also store mails in Maildirs. All of our 3500+ users don't have any access to the mailserver and it works like a charm. The trick is to keep things as simple as possible. No home directory for users nor any valid shell plus a global procmailrc file which is used for all of the users. For example, start by instructing sendmail to use procmail in the /etc/mail/`hostname`.mc FEATURE(`local_procmail')dnl Then make sure dovecot knows where the mail is stored: default_mail_env = maildir:/var/mail/%u Our example mail user has this entry in master.passwd(5) : example.user:encrypted password string:13431:231::0:0:Example User:/nonexistent:/sbin/nologin And the Global procmail configuration is very simple: cat /usr/local/etc/procmailrc # procmailrc # # $Id: procmailrc,v 1.1 2006/10/20 13:08:25 drobilla Exp $ # # System wide procmail(1) configuration file. # This configuration causes procmail(1) to deliver mail # to maildir format as the recipient's UID. DROPPRIVS = yes :0 /var/mail/$LOGNAME/ # EOF bad referenceA single file to rule them all/bad reference Sorry, couldn't resist :) Let me know if you need any help with this setup. Cheers, David -- David Robillard UNIX systems administrator Oracle DBA CISSP, RHCE Sun Certified Security Administrator Montreal: +1 514 966 0122 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Moving existing FreeBSD system to a new harddisk...
Hello, Hi, I have FreeBSD 6.2 installed on a Dell Latitude D400 laptop. The harddisk is 40G, with FreeBSD occupying about 25G, and remaining to Windows. I have received a replacement for this hard disk, which is a bigger capacity one - 80G. I have to move the existing FreeBSD system from the old to the new hard disk. I did find something here: http://www.freebsddiary.org/driveswap.php. Still, I'd like to hear someone's experience regarding the same. Thanks! Are you able to install that new disk while the old one is still in the machine and functional? If so, do the following: Let's assume the old disk is ad0 and the new one is ad1 and MS occupies the first slice (called primary partition) of each disk. So, FreeBSD then is currently in /dev/ad0s2 and you want to put it in /dev/ad1s2. First do the MS install on the new disk (if you intend to also dup it) and then use an appropriate utility to create room for the second slice (s2) on the drive. You may actually be able to first let FreeBSD fdisk break up the drive in to the required slices before installing MS - I haven't tried that. I don't know if MS will respect the slicing done by FreeBSD. It definitely will not respect the MBR that FreeBSD writes, so at the least, you need to do the install work on MS first and FreeBSD second, regardless of how the slicing is done. Just a note here. MS uses the term 'Primary Partition' for the same thing that FreeBSD calls a 'slice'. There can be up to 4 of these major divisions.MS and Linux allow you to replace one of the primary partitions with an 'extended partition', generally in slice 4 in which you can create subdivisions, also called partitions, but that are not 'primary'. FreeBSD allows the 4 primary divisions called slices. In FreeBSD you can subdivide any or each of the slices in to 'partitions' which are designated by letters a..h (except that 'c' is reserved, 'a' must be root if it is a boot device and 'b' is traditionally used for swap).It is easy to get the terms slice and partition scrambled and they have even been switched around in some of the man pages, though someone made a pass at cleaning it up a little while ago. Having said all that, now back to the story. Lets assume you now have your new with MS on slice (primary partition) 1 and have created an unknown type slice (primary partition) on slice 2. You might have managed that with fdisk or with Partition Magic or whatever. Use fdisk to mark that slice 2 (ad1s2) as FreeBSD type and bootable and to write out the FreeBSD MBR to the drive. Then use bsdlabel to edit the partition table for slice 2 and create the partitions you need and write out the boot sector for that slice. bsdlabel -w -B da0s1 bsdlabel -e da0s1 The first will write the boot sector and a stock partition table. The second will bring up an edit session that you can use to edit the partition table and create the partitions you want. Let's assume you want the following, a typical setup for a machine with all source and ports tree loaded and running a very small database. and this matches, except in size, your current structure on your old disk. In real life, use partitions that reproduce your actual old disk structure. a: root 384 MB b: swap 1 GB c: reserved lists size of entire slice d: /tmp 512 MB e: /usr 4 GB f: /var 4 GB g: /home All remaining space in the slice. ignore all the stuff above the comment line with head labels for #size offsetfstype [fsize bsize bps/cpg] Edit the sizes in the columns as follows: a: 78643204.2BSD 2048 16384 32776 b: 2572288 786432 swap c: 838860800unused0 0 # raw part, don't edit d: 1048576*4.2BSD 2048 16384 8 e: 8388608*4.2BSD 2048 16384 28552 f: 8388608*4.2BSD 2048 16384 28552 g:**4.2BSD 2048 16384 28552 You might sometime want to tinker with the numbers under fsize, bsize, etc but mostly they can be left alone. The large remainder partition my benefit, but probably the others are just right. I assumed a size for 'c:' at exactly 40 GB. It won't be. Just leave it at whatever the system thinks it is. Now write and exit the editor and your partitions are created. Run newfs on each partition except swap. newfs /dev/ad1s2a Probably all of the defaults are what you want, except for possibly that large remainder slice if you happen to either use very large files or need extra inodes. You will only know that from experience with your own situation so just go ahead and take the defaults and if either you run out of space with a huge number of inodes left unused or run out of inodes with disk space left unused, then you will later want to dump everything and re-newfs the partition and then restore it. All of this slice and partition and
Attempts to run 'fsck' fail can't stat device
My server lost power earlier today and now it doesnt boot. Any clues what I can do to recover from the following errors: s nip Server 'hostname' fails to mount /dev/da0s1g (/usr). Attempts to run 'fsck' fail (can't stat device /dev/da0s1g) snip --- cheers, Noah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MS, Adobe competition heats up, Will Adobe wake and port Flash to BSD?
[EMAIL PROTECTED] wrote: I hope they kill each other and take the whole retch-media enhanced web experience with them flaming into the pit of hell from which they came. But that's just my opinion. And this is the problem! Were it not your opinion, but something likely to happen, it would be so good... bye av. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Moving existing FreeBSD system to a new harddisk...
On Wed, Apr 18, 2007 at 05:46:50PM +0200, Christian Walther wrote: On 18/04/07, Amarendra Godbole [EMAIL PROTECTED] wrote: Hi, I have FreeBSD 6.2 installed on a Dell Latitude D400 laptop. The harddisk is 40G, with FreeBSD occupying about 25G, and remaining to Windows. I have received a replacement for this hard disk, which is a bigger capacity one - 80G. I have to move the existing FreeBSD system from the old to the new hard disk. I did find something here: http://www.freebsddiary.org/driveswap.php. Still, I'd like to hear someone's experience regarding the same. Thanks! I recently replaced a dying Hard Disk with a newer and bigger one. To move the data to the new disk I used dump/restore, and stored the data on my server. 1. dumped all slices from the machine to the server 2. replaced the disks 3. did a basic FreeBSD install from CD ROM to get a proper disk layout and a boot manager. Because of this installation I got the same slices as on the old disk, just with a new size matching the new disks specification. So the slice names remained the same. 4. restored the previously dumped slices to the new disk Just a comment here.You seem to be switching around the terms a little. You would dump a partition, not a slice. In FreeBSD, slices are the primary divisions, of which there can be up to 4 and the subdivisions of each slice, upon which filesystems are built are called partitions. It is popular to get these turned around. Even the man pages have goofed up in a couple of places. It is handy to refer to the division that gets dumped and restored as a 'filesystem' since by that time it has already been not only divided but new-fs into a read/write-able filesystem. By doing that, it reduces some of the opportunity for confusion in terms. Otherwise, what you explain here is reasonable. jerry BTW: As long as you don't remove/destroy the data on the original disk there's nothing desastrous that can be happen to you. If the method you choose doesn't work somehow, you can still create another backup of the original disk. From all possible and existing methods you should choose the one you feel most comfortable with, e.g. that you understand completely, and where you know the needed tools most. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mmap on freebsd vs linux
I'm not really an expert on this but here goes... On Wednesday 18 April 2007 18:05:44 [EMAIL PROTECTED] wrote: Hi All, i am looking into implementing a piece of the V4L interface. this involves mmap'ing from userspace into kernelspace. in mplayer, this is what is called: tvi_v4l2.c: priv-map[i].addr = mmap (0, priv-map[i].buf.length, PROT_READ | PROT_WRITE, MAP_SHARED, priv-video_fd,priv-map[i].buf.m.offset); the file descriptor parameter is the file descriptor of the opened capture device. the offset parameter should be filled in by the opened device. A device won't fill in anything. A driver must. does mmap work on freebsd as it works on linux? ie: can i mmap any device? are there constraints on the device which should be met? You can mmap anything, but only if you get a (frame-) buffer of known size will it be useful to actually do something with it. The mplayer code probably takes the offset from what it knows about capture size (which for PAL/NTSC is known if also the YUV output type is known). You also need some signalling to know when to read the (new) buffer data again. I'd also advise to cast the address to caddr_t and the offset to off_t types. Will probably help compiling on 64 bits archs. And using both PROT_READ and PROT_WRITE seems non-sensical. You only want to read the buffer not (directly) write to it, unless perhaps if it contains more than just the framedata. That would seem bad design to me though, if you have to write to the same buffer that also contains data that you absolutely dont want to overwrite. I'm not familiar with v4l but simple and working mmap examples for FreeBSD with bktr and for saa are here: http://freebsd.ricin.com/kbtv/kbtv-1.2.4/bt848/bt848.c and http://freebsd.ricin.com/kbtv/kbtv-1.2.4/saa/saa.c Scroll down to Framebuffer. The buffer size is determined by the frame pixel size and by which YUV type is being used. The latter determines how much data is used on average per pixel, so you can calculate the datasize. See how bktr has offset 0 while saa has offset SAA_MMAP_T0_OFFSET. Both are what they are because of how their drivers are organized. See mmap(2) for the nitty-gritty on mmap. In general: if it segfaults or spontaneously reboots you likely made a mistake with the buffer size or offset :) HTH, Dan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: AMD64
In response to Michael S [EMAIL PROTECTED]: I am getting my (first) Athlon 64 x 2 today or tomorrow and was wondering whether I should stick with the reliable x86 or try the AMD64 port. Any performance penalties when running x86 FreeBSD on a 64-bit machine? Performance is equivalent, except in a few corner cases. Keep in mind that there are some cases where amd64 is actually slower, so it's really a wash, unless you know you're specific application will benefit from 64 bit. Also what are the common problems, i.e. drivers, applications that are known not to work under the AMD64. This is going to be a desktop/workstation type system. Personally, I would stick with i386, unless you like to experiment. Last time I tried to run amd64 on a desktop, I had lots of trouble with misc problems here and there. Same machine running i386 is rock stable with no problems. My gut tells me that a lot of desktop apps and libraries aren't really mature from a 64-bit standpoint yet. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: AMD64
On Wednesday 18 April 2007 21:30:14 Michael S wrote: Good day all. I am getting my (first) Athlon 64 x 2 today or tomorrow and was wondering whether I should stick with the reliable x86 or try the AMD64 port. I'd try it but ... Any performance penalties when running x86 FreeBSD on a 64-bit machine? ... for some things it may ... Also what are the common problems, i.e. drivers, applications that are known not to work under the AMD64. This is going to be a desktop/workstation type system. ... there are quite a few 3rd party things that don't work or that need kludgy 32bits emulation. Flash comes to mind, also (MS/Real/..) media codecs. All the stuff we love to hate. Most importantly though, you can't use nvidia driver (32bit). I have a spare amd64 box with a nvidia based board (ASUS SLI something with the graphics card in a PCI Express slot, gforce4 IIRC) and I found I could only use plain (xorg) nv driver, and had to disable any hardware acceleration. Else it would just reboot randomly. I only use this machine to test kbtv on amd64. Moving the TV window around or resizing it is painfully slow (the video itself is OK but it eats a lot more CPU with non accelerated x rendering, up to 10%). Needless to say the machine is turned off most of the time... So I think what matters is whether these things matter to you :) I don't think the base system is any faster or slower. But it depends on what you're going to use it for. HTH, Dan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dump/restore corrupted filesystems
Roland Smith wrote: Sorry if I wasn't clear. Most all of the data is readable and complete if I mount the filesystem read-only. It just panics the box when mounted read/write, and fsck can't fix the damage. That might be worth filing a PR for, especially the panics. Exactly what is damaged? Garbage in files? Wrong inode counts? I've had unclean filesystems because of panics, but nothing fsck_ffs couldn't fix. You might want to check the hardware too. Use smartmontools in case of (S)ATA drives. Smart says that the drives are fine, as does the manufacturer's disk fitness tools. All the files that are readable contain correct data, but the files that are corrupt are totally not readable, and cannot even be removed manually: --8-- rsync: readlink /raid/Backup/Pizzabox/2007-02-23/cyberleo/secondlife/linux/SecondLife_i686_1_13_2_15/skins/xui/es failed: Bad file descriptor (9) rsync: readlink /raid/Backup/Pizzabox/2007-02-23/cyberleo/secondlife/linux/SecondLife_i686_1_13_2_15/skins/xui/fr failed: Bad file descriptor (9) --8-- fsck_ufs dies after about 30 minutes of grinding with the following: --8-- ** Phase 2 - Check Pathnames DIRECTORY CORRUPTED I=93409222 OWNER=1002 MODE=40755 SIZE=512 MTIME=Feb 10 00:49 2007 DIR=? UNEXPECTED SOFT UPDATE INCONSISTENCY SALVAGE? no MISSING '.' I=93409222 OWNER=1002 MODE=40755 SIZE=512 MTIME=Feb 10 00:49 2007 DIR=? UNEXPECTED SOFT UPDATE INCONSISTENCY CANNOT FIX, FIRST ENTRY IN DIRECTORY CONTAINS UNEXPECTED SOFT UPDATE INCONSISTENCY fsck_ufs: inoinfo: inumber -1170056596 out of range --8-- (full output is at http://home.cyberleo.net/cyberleo/workspace/Zip/Bugs/fbsd-20070320-corr/saba-fsck-raid.txt ) It's possible this might be a result of the odd interaction between geom_raid5 and UFS, as discovered in January ( http://www.nabble.com/geom_raid5-livelock--p8304142.html ), but I can't be sure. I've already chalked this up to just an unfortunate occurrence, as the circumstances that caused the corruption in the first place are likely either long gone or so obscure as to be nearly impossible for me to root out. Looking at /usr/src/sbin/dump/traverse.c, dump traverses the used inodes list and all directories. So if any of these is corrupt, your dump will be too. And if the contents of the inodes is corrupted, so will the dump. Thanks for this insight. I'll avoid dump/restore and just use manual copying for now. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net [EMAIL PROTECTED] Furry Peace! - http://www.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: AMD64
On Wed, Apr 18, 2007 at 04:41:46PM -0400, Bill Moran wrote: In response to Michael S [EMAIL PROTECTED]: I am getting my (first) Athlon 64 x 2 today or tomorrow and was wondering whether I should stick with the reliable x86 or try the AMD64 port. Any performance penalties when running x86 FreeBSD on a 64-bit machine? Performance is equivalent, except in a few corner cases. Keep in mind that there are some cases where amd64 is actually slower, so it's really a wash, unless you know you're specific application will benefit from 64 bit. Also what are the common problems, i.e. drivers, applications that are known not to work under the AMD64. This is going to be a desktop/workstation type system. Personally, I would stick with i386, unless you like to experiment. Last time I tried to run amd64 on a desktop, I had lots of trouble with misc problems here and there. Same machine running i386 is rock stable with no problems. My gut tells me that a lot of desktop apps and libraries aren't really mature from a 64-bit standpoint yet. I've been running amd64 on my desktop since 5.3 without any real problems. But I only picked hardware that had drivers available. Some things to keep in mind: 1) no binary nvidia graphics driver 2) no flash plugin 3) java is cumbersome. 4) no win32 codecs for mplayer ad 1) I've got a Radeon 9250 that's supported by the native Xorg DRI driver, so no problem. I don't like binary-only drivers anyway. ad 2) So no annoying flash ads either. :-) I can live with that. ad 3) I don't use it anyway. ad 4) Works fine without them, AFAICT. Stuff like emacs, firefox, gimp, sane, imagemagick, audacious and mplayer all work fine. I haven't tried openoffice, bacause it's huge with lots of dependencies and I prefer LaTeX anyway. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpiWg5CqrcS6.pgp Description: PGP signature
Re: dump/restore corrupted filesystems
On Wed, Apr 18, 2007 at 04:09:22PM -0500, CyberLeo Kitsana wrote: Roland Smith wrote: Sorry if I wasn't clear. Most all of the data is readable and complete if I mount the filesystem read-only. It just panics the box when mounted read/write, and fsck can't fix the damage. That might be worth filing a PR for, especially the panics. Exactly what is damaged? Garbage in files? Wrong inode counts? I've had unclean filesystems because of panics, but nothing fsck_ffs couldn't fix. You might want to check the hardware too. Use smartmontools in case of (S)ATA drives. Smart says that the drives are fine, as does the manufacturer's disk fitness tools. All the files that are readable contain correct data, but the files that are corrupt are totally not readable, and cannot even be removed manually: Given that, I would try to make a dump(8) of it. If dump dies on a particular file, try to exclude that file from the dump either by rm-ing it or setting a nodump flag and try again. You may not actually be able to do the rm or nodump flag though if you cannot mount it with write permission. You might be able to force it mounted without doing the fsck in single user. Note that tar allows you to specify exclusions. I usually don't suggest using tar for mass moves because it has weaknesses with hard links and might also not transfer flags and permissions correctly. But, if tar is what it takes, then use it. Good luck, jerry --8-- rsync: readlink /raid/Backup/Pizzabox/2007-02-23/cyberleo/secondlife/linux/SecondLife_i686_1_13_2_15/skins/xui/es failed: Bad file descriptor (9) rsync: readlink /raid/Backup/Pizzabox/2007-02-23/cyberleo/secondlife/linux/SecondLife_i686_1_13_2_15/skins/xui/fr failed: Bad file descriptor (9) --8-- fsck_ufs dies after about 30 minutes of grinding with the following: --8-- ** Phase 2 - Check Pathnames DIRECTORY CORRUPTED I=93409222 OWNER=1002 MODE=40755 SIZE=512 MTIME=Feb 10 00:49 2007 DIR=? UNEXPECTED SOFT UPDATE INCONSISTENCY SALVAGE? no MISSING '.' I=93409222 OWNER=1002 MODE=40755 SIZE=512 MTIME=Feb 10 00:49 2007 DIR=? UNEXPECTED SOFT UPDATE INCONSISTENCY CANNOT FIX, FIRST ENTRY IN DIRECTORY CONTAINS UNEXPECTED SOFT UPDATE INCONSISTENCY fsck_ufs: inoinfo: inumber -1170056596 out of range --8-- (full output is at http://home.cyberleo.net/cyberleo/workspace/Zip/Bugs/fbsd-20070320-corr/saba-fsck-raid.txt ) It's possible this might be a result of the odd interaction between geom_raid5 and UFS, as discovered in January ( http://www.nabble.com/geom_raid5-livelock--p8304142.html ), but I can't be sure. I've already chalked this up to just an unfortunate occurrence, as the circumstances that caused the corruption in the first place are likely either long gone or so obscure as to be nearly impossible for me to root out. Looking at /usr/src/sbin/dump/traverse.c, dump traverses the used inodes list and all directories. So if any of these is corrupt, your dump will be too. And if the contents of the inodes is corrupted, so will the dump. Thanks for this insight. I'll avoid dump/restore and just use manual copying for now. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net [EMAIL PROTECTED] Furry Peace! - http://www.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeMat 3.0 doesn't call functions and help
Il Sunday 15 April 2007 22:11:12 Thierry Thomas ha scritto: Le Lun 9 avr 07 à 16:39:49 +0200, Vittorio De Martino [EMAIL PROTECTED] écrivait : P.S. By the way, launching FreeMat as root the Help on line works whilst inv still doesn't work. Ciao Vittorio Hello, I have just upgraded FreeMAT to 3.1, which fixes the inv() problem, and which should fix this Help on line bug too; could you please check it? Yes, with the new version 3.1 inv now works fine. Unfortunately the Help on line still doesn't work. I think that something worsened because with this new port now I cannot use the help on line even as root (in the previous version Help online as root worked quite well). Ciao Vittorio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Working xorg.conf for Dell Latitude D820 laptop (NVidia Quadro NVS 120M GeForce Go 7400 512MB)?
On 4/12/07, Matt Kosht [EMAIL PROTECTED] wrote: Does anyone have a working xorg.conf for this combo working with FreeBSD 6.2? Specifically I would like the onboard LCD on the laptop to display at 1920x1200 and an attached external LCD at 1280x1024 both at 32 bit color at the same time. I think this may be called twinview (?). This configuration works fine in Windows XP so I know the hardware is capable of it. I have searched for this quite a bit, but haven't found one that does the 1920x1200 and the external display. Many advanced thanks and free virtual beers. I have a semi-working configuration of xorg now running FBSD 6.2 on the Dell Latitude D820 (NVidia Quadro NVS 120M GeForce Go 7400 512MB). I am able to run the laptop's built in display at the correct resolution and 24 bit color (forget my mindless request for 32 bit color). I copied/modded a ubuntu xorg.conf that supposedly did everything I needed to get this far. Issue #1 I have an external LCD display (1280x1024) attached that I would like to use (when at my desk anyway) as a 2nd display (this works just ducky in Windows XP). This still doesn't work and xorg doesn't seem to see make it available. Issue #2 I have installed/prodded/kicked the synaptics touchpad driver but it still doesn't work. It always comes up in dmesg as a glidepoint PS/2 mouse and xorg won't recognize it as anything but a PS/2 mouse which is unusable as the slightest touch sends the pointer sailing across the screen. I did manage to get an external USB mouse to work in the meantime but there's an minor issue with that as well (issue #3) Issue #3 the USB mouse when attached autostarts moused which makes it not work in X for some reason. If I kill moused it works just fine. I am have moused_enable=NO in /etc/rc.conf so I am not sure why it autostarts this anyway. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dump/restore corrupted filesystems
On Wed, Apr 18, 2007 at 04:09:22PM -0500, CyberLeo Kitsana wrote: Roland Smith wrote: Sorry if I wasn't clear. Most all of the data is readable and complete if I mount the filesystem read-only. It just panics the box when mounted read/write, and fsck can't fix the damage. That might be worth filing a PR for, especially the panics. Exactly what is damaged? Garbage in files? Wrong inode counts? I've had unclean filesystems because of panics, but nothing fsck_ffs couldn't fix. You might want to check the hardware too. Use smartmontools in case of (S)ATA drives. Smart says that the drives are fine, as does the manufacturer's disk fitness tools. That's at least some good news. --8-- rsync: readlink /raid/Backup/Pizzabox/2007-02-23/cyberleo/secondlife/linux/SecondLife_i686_1_13_2_15/skins/xui/es failed: Bad file descriptor (9) rsync: readlink /raid/Backup/Pizzabox/2007-02-23/cyberleo/secondlife/linux/SecondLife_i686_1_13_2_15/skins/xui/fr failed: Bad file descriptor (9) --8-- At least these files should be easy to replace, if necessary. fsck_ufs dies after about 30 minutes of grinding with the following: --8-- ** Phase 2 - Check Pathnames DIRECTORY CORRUPTED I=93409222 OWNER=1002 MODE=40755 SIZE=512 MTIME=Feb 10 00:49 2007 DIR=? UNEXPECTED SOFT UPDATE INCONSISTENCY Did these problems start after a crash? SALVAGE? no What happens if you tell it to try and salvage? Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgp5z4guQPOE6.pgp Description: PGP signature
Re: Working xorg.conf for Dell Latitude D820 laptop (NVidia Quadro NVS 120M GeForce Go 7400 512MB)?
I have a semi-working configuration of xorg now running FBSD 6.2 on the Dell Latitude D820 (NVidia Quadro NVS 120M GeForce Go 7400 512MB). I am able to run the laptop's built in display at the correct resolution and 24 bit color (forget my mindless request for 32 bit color). I copied/modded a ubuntu xorg.conf that supposedly did everything I needed to get this far. Issue #1 I have an external LCD display (1280x1024) attached that I would like to use (when at my desk anyway) as a 2nd display (this works just ducky in Windows XP). This still doesn't work and xorg doesn't seem to see make it available. Issue #2 I have installed/prodded/kicked the synaptics touchpad driver but it still doesn't work. It always comes up in dmesg as a glidepoint PS/2 mouse and xorg won't recognize it as anything but a PS/2 mouse which is unusable as the slightest touch sends the pointer sailing across the screen. I did manage to get an external USB mouse to work in the meantime but there's an minor issue with that as well (issue #3) Issue #3 the USB mouse when attached autostarts moused which makes it not work in X for some reason. If I kill moused it works just fine. I am have moused_enable=NO in /etc/rc.conf so I am not sure why it autostarts this anyway. Sorry I meant to attach my current xorg.conf and xorg log file here they are respectively: **xorg.conf # xorg.conf (Xorg X Window System server configuration file) Section ServerLayout Screen Screen 1 RightOf LCD Screen Identifier Default Layout Screen Default Screen 0 0 InputDeviceGeneric Keyboard InputDeviceMouse1 CorePointer EndSection Section Files FontPath /usr/X11R6/lib/X11/fonts/misc FontPath /usr/X11R6/lib/X11/fonts/cyrillic FontPath /usr/X11R6/lib/X11/fonts/100dpi/:unscaled FontPath /usr/X11R6/lib/X11/fonts/75dpi/:unscaled FontPath /usr/X11R6/lib/X11/fonts/Type1 FontPath /usr/X11R6/lib/X11/fonts/TTF FontPath /usr/X11R6/lib/X11/fonts/CID FontPath /usr/X11R6/lib/X11/fonts/100dpi FontPath /usr/X11R6/lib/X11/fonts/75dpi EndSection Section Module Load bitmap Load dbe Load ddc #Load evdev Load extmod Load freetype Load glx Load int10 Load record Load type1 Load vbe EndSection Section ServerFlags Option BlankTime 10 Option StandbyTime 20 Option SuspendTime 30 Option OffTime 60 EndSection Section InputDevice Identifier Generic Keyboard Driver keyboard Option CoreKeyboard Option XkbRules xorg Option XkbModel pc105 Option XkbLayout fr Option XkbVariant latin9 EndSection # synaptics touchpad #Section InputDevice # Identifier Mouse0 #Driver synaptics #Option Protocol psm #Option Device /dev/psm0 #Option SHMConfig on #EndSection #usb mouse Section InputDevice Identifier Mouse1 Driver mouse Option Protocol Auto Option Device /dev/ums0 Option ZAxisMapping 4 5 EndSection Section Monitor Identifier WUXGA Flat pannel ### Comment all HorizSync and VertSync values to use DDC: HorizSync30.0 - 75.0 VertRefresh 30.0 - 60.0 ModeLine [EMAIL PROTECTED] 83.9 1280 1312 1624 1656 800 816 824 841 ModeLine 1024x768 60.8 1024 1056 1128 1272 768 768 770 796 Option DPMS EndSection Section Monitor Identifier CRT ### Comment all HorizSync and VertSync values to use DDC: HorizSync30.0 - 70.0 VertRefresh 48.0 - 120.0 ModeLine 1024x768 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync Option DPMS EndSection Section Device # See /usr/share/doc/NVIDIA_GLX-1.0/README.txt # windows will not maximise over the fluxbox toolbar. A # drawback is bad positioning of windows. #Option MetaModes DFP-0: 1920x1200, CRT-0: [EMAIL PROTECTED] +0+20 # 3) Allows to quit the CRT area without scrolling (good to start # hidden things during a presentation). Maximisation however is # done w.r.t. the small area... #Option MetaModes DFP-0: 1920x1200, CRT-0: 1024x768 +0+20 #Option MetaModes DFP-0: 1920x1200, CRT-0: 1024x768 #Option TwinViewOrientation DFP-0 LeftOf CRT-0 # Not recommended but allow to plug in a monitor without restarting Identifier NVS-120M Driver nvidia VendorName NVIDIA Corporation BoardName 512MB Quadro NVS-120M TurboCache Option NoLogo true # TwinView Option TwinView # CRT=beamer with a Xnest fullscreen presentation. # 1) No offset. The Xnest window should be set hiding its
Re: Working xorg.conf for Dell Latitude D820 laptop (NVidia Quadro NVS 120M GeForce Go 7400 512MB)?
In response to Matt Kosht [EMAIL PROTECTED]: On 4/12/07, Matt Kosht [EMAIL PROTECTED] wrote: Does anyone have a working xorg.conf for this combo working with FreeBSD 6.2? Specifically I would like the onboard LCD on the laptop to display at 1920x1200 and an attached external LCD at 1280x1024 both at 32 bit color at the same time. I think this may be called twinview (?). This configuration works fine in Windows XP so I know the hardware is capable of it. I have searched for this quite a bit, but haven't found one that does the 1920x1200 and the external display. Many advanced thanks and free virtual beers. I have a semi-working configuration of xorg now running FBSD 6.2 on the Dell Latitude D820 (NVidia Quadro NVS 120M GeForce Go 7400 512MB). I am able to run the laptop's built in display at the correct resolution and 24 bit color (forget my mindless request for 32 bit color). I copied/modded a ubuntu xorg.conf that supposedly did everything I needed to get this far. Issue #1 I have an external LCD display (1280x1024) attached that I would like to use (when at my desk anyway) as a 2nd display (this works just ducky in Windows XP). This still doesn't work and xorg doesn't seem to see make it available. Issue #2 I have installed/prodded/kicked the synaptics touchpad driver but it still doesn't work. It always comes up in dmesg as a glidepoint PS/2 mouse and xorg won't recognize it as anything but a PS/2 mouse which is unusable as the slightest touch sends the pointer sailing across the screen. I did manage to get an external USB mouse to work in the meantime but there's an minor issue with that as well (issue #3) Issue #3 the USB mouse when attached autostarts moused which makes it not work in X for some reason. If I kill moused it works just fine. I am have moused_enable=NO in /etc/rc.conf so I am not sure why it autostarts this anyway. This last one is the only one I know anything about. If you configure X to use /dev/sysmouse, it will pick up on the device that moused creates. This may allow it to start working. Along this road may also lay a solution to #2, but I'm only guessing. If you absolutely can't get moused to work, comment out the lines in /etc/devd.conf that are causing it to autostart. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Attempts to run 'fsck' fail can't stat device
On Wed, Apr 18, 2007 at 01:05:45PM -0700, Noah Garrett Wallach wrote: My server lost power earlier today and now it doesnt boot. Any clues what I can do to recover from the following errors: s nip Server 'hostname' fails to mount /dev/da0s1g (/usr). Attempts to run 'fsck' fail (can't stat device /dev/da0s1g) snip --- Well, that was not an actual cut and paste of the errors (usually it's important not to paraphrase them, you might be misrepresenting what it is telling you). If it can't find the device, you need to work out where it went. Did the kernel find da0 at boot? If not, maybe the disk failed to spin up after the power failure (try rebooting again), or maybe it was damaged by a power surge. Kris pgpAr3k48TrTf.pgp Description: PGP signature
Re: AMD64
Hi, FreeBSD 6.x AMD64 runs for more than a year on my 'AMD Athlon 3000+' now. It runs very stable with one exception: accessing ext2/ext3 filesystems often hang the system completely. That is a phenomenon that I did not see with FreeBSD 6.x x86. Apart from that I am very happy with it. Regards, Cor On Wed, 18 Apr 2007 15:30:14 -0400 (EDT) Michael S [EMAIL PROTECTED] wrote: Good day all. I am getting my (first) Athlon 64 x 2 today or tomorrow and was wondering whether I should stick with the reliable x86 or try the AMD64 port. Any performance penalties when running x86 FreeBSD on a 64-bit machine? Also what are the common problems, i.e. drivers, applications that are known not to work under the AMD64. This is going to be a desktop/workstation type system. Thanks in advance, Michael ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: AMD64
On Thu, Apr 19, 2007 at 12:23:41AM +0200, [EMAIL PROTECTED] wrote: Hi, FreeBSD 6.x AMD64 runs for more than a year on my 'AMD Athlon 3000+' now. It runs very stable with one exception: accessing ext2/ext3 filesystems often hang the system completely. That is a phenomenon that I did not see with FreeBSD 6.x x86. Which PR is this documented in? Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Best Open Source software to backup Cisco switches and routers
On Apr 18, 2007, at 1:18 PMApr 18, 2007, Sean Murphy wrote: I am looking to automate the process of backing up my Cisco routers and switches config files and have come across RANCID. Is this what I should use on my FreeBSD server or is there something better? Thanks I don't know anything about RANCID, but I recently used expect and a shell-script wrapper to do the backups on 3 Cisco routers. I just setup a TFTP server on our backup machine and punched the correct holes in the firewall. There's a command you can run on the router itself to send the config off to a remote system. Additionally, the 'backup' is simply the same output you get when you run a show run command from the router's enable mode. HTH Eric Crist ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dump/restore corrupted filesystems
Jerry McAllister wrote: Smart says that the drives are fine, as does the manufacturer's disk fitness tools. All the files that are readable contain correct data, but the files that are corrupt are totally not readable, and cannot even be removed manually: Given that, I would try to make a dump(8) of it. If dump dies on a particular file, try to exclude that file from the dump either by rm-ing it or setting a nodump flag and try again. You may not actually be able to do the rm or nodump flag though if you cannot mount it with write permission. You might be able to force it mounted without doing the fsck in single user. Note that tar allows you to specify exclusions. I usually don't suggest using tar for mass moves because it has weaknesses with hard links and might also not transfer flags and permissions correctly. But, if tar is what it takes, then use it. Force-mounting the filesystem works just fine. It's when I try to modify any munged file that it panics the box, with ufs_dirbad or somesuch. I have been using rsync to recover readable data, which handles hard-links, permissions, sparse files, and et cetera. I figure it's best, as that's what is used to drop the differential backups onto the box in the first place. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net [EMAIL PROTECTED] Furry Peace! - http://www.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dump/restore corrupted filesystems
Roland Smith wrote: --8-- ** Phase 2 - Check Pathnames DIRECTORY CORRUPTED I=93409222 OWNER=1002 MODE=40755 SIZE=512 MTIME=Feb 10 00:49 2007 DIR=? UNEXPECTED SOFT UPDATE INCONSISTENCY Did these problems start after a crash? It's possible, but I cannot be absolutely certain. The machine is supposed to start itself up and shut itself down every day, running a total of about 4 hours a day, during the span when all other machines dump their backups. The only reason I noticed this failure was because it didn't power down one day. Investigation revealed that FSCK had failed and dropped to single user, with errors seen in the log. SALVAGE? no What happens if you tell it to try and salvage? This was a dry-run to get the error log. When I actually tried to repair the filesystem, fsck aborts shortly after, complaining that it cannot fix the filesystem, and cannot continue. Hence the current path of removing everything and re-newfs'ing. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net [EMAIL PROTECTED] Furry Peace! - http://www.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
IBM / FreeBSD Install problem
Server: IBM X3850 (88633SM) CPU X 4: 40K2522 HDD X 6: 40K1051 IBM ServeRAID 8i: 39R8729 We are attempting to install FreeBSD 6.2-RELEASE onto this machine and are running into a problem getting the operating system to recognise the RAID controller. As a result not finding any disks when it comes to installing the O/S. We have attempted various modifications to the boot process, including the loading of an aac module, which according to the BSD website, should provide support for this type of controller. When we attempt to boot to OS to install after making these above modifications, the boot loader advises that this module already appears to be loaded, which contradicts what I believe. In any respect, it doesn't work either way (with or without the module manually loaded). One side note (which i don't think is contributing) is that when I attempt to start the boot loader with ACPI enabled, it freezes with the message cpu id 38 too high. However if I boot the boot loader with ACPI disabled, this message dissapears. It _may_ be a possibility that a bi-product of disabling the ACPI is causing the RAID controller to have issues. This appears to be an issue because of the X4 CPU count ?? That's a quick summary of the problem we have, and the path(s) we have been down to date to attempt to fix it. Any help you can provide would be very much appreciated. We are at the position now where we are prepared to pay for consulting services to get it going. Dave Faulkner / Murray Taylor Bytecraft Systems -- Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein --- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --- ### This e-mail message has been scanned for Viruses by Bytecraft ### ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Chrooting Apache 2, PHP 5 and MySQL 5
Hi, can anybody direct me to the subjected topic? I tried to google it out, but only chrooting of old versions is explained. Regards Lubos --- avast! Antivirus on Lubnet Server: Odchozi zprava cista. Virova databaze (VPS): 000734-2, 18.04.2007 Testovano: 18.4.2007 23:57:13 avast! (c) copyright 1988-2007 ALWIL Software. http://www.avast.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Chrooting Apache 2, PHP 5 and MySQL 5
Lubomir Matousek [EMAIL PROTECTED] wrote: Hi, can anybody direct me to the subjected topic? I tried to google it out, but only chrooting of old versions is explained. This isn't exactly the answer to your question, but as an alternative you could jail Apache and whatever else you wanted to install with it: http://people.collaborativefusion.com/~wmoran/howtos/sshdinjail.html -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
IBM / FreeBSD Install problem - more
OK -- at present I cannot get a 6.2 install disk to get anywhere further. Trying FreeSBIE 2.0.1 (aka 6.2) I can get a boot with set hint.acpi.0.disabled=1 set acpi_load=NO boot -v However it doesnt find the bge card nor has it found an fxp card we have tried, so I cant get to dmesg output off the machine What i have seen is that the ServeRAID 8i controller say it is on PCI bus 1:2:0 Nowhere in the boot log is pcib1 or any mention of the physical pci bus 1 Just to test I booted an IBM pizza box x305 with the FreeSBIE disk in the same fashion, and up comes its bge i/f, the boot -v logs show pcib0 , pcib1 , pcib2 along with their associated physical busses. Any help greatly welcomed --- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --- ### This e-mail message has been scanned for Viruses by Bytecraft ### ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FW: IBM / FreeBSD Install problem - more part 2
BTW we have also successfully booted the 'offending box' with FC4 and it all came up ok. This should rule out hardware issues I hope. Is there a way to force a (re)scan of the other PCI busses ?? Or is there a hint.??? line I can add? mjt -Original Message- From: Murray Taylor Sent: Thursday, 19 April 2007 11:26 AM To: FreeBSD Mailing List; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: IBM / FreeBSD Install problem - more OK -- at present I cannot get a 6.2 install disk to get anywhere further. Trying FreeSBIE 2.0.1 (aka 6.2) I can get a boot with set hint.acpi.0.disabled=1 set acpi_load=NO boot -v However it doesnt find the bge card nor has it found an fxp card we have tried, so I cant get to dmesg output off the machine What i have seen is that the ServeRAID 8i controller say it is on PCI bus 1:2:0 Nowhere in the boot log is pcib1 or any mention of the physical pci bus 1 Just to test I booted an IBM pizza box x305 with the FreeSBIE disk in the same fashion, and up comes its bge i/f, the boot -v logs show pcib0 , pcib1 , pcib2 along with their associated physical busses. Any help greatly welcomed --- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --- ### This e-mail message has been scanned for Viruses by Bytecraft ### ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: IBM / FreeBSD Install problem
From: Derek Ragona [mailto:[EMAIL PROTECTED] Sent: Wednesday, 18 April 2007 11:34 PM To: Murray Taylor; FreeBSD Mailing List Cc: [EMAIL PROTECTED] Subject: Re: IBM / FreeBSD Install problem At 07:07 AM 4/18/2007, Murray Taylor wrote: Server: IBM X3850 (88633SM) CPU X 4: 40K2522 HDD X 6: 40K1051 IBM ServeRAID 8i: 39R8729 We are attempting to install FreeBSD 6.2-RELEASE onto this machine and are running into a problem getting the operating system to recognise the RAID controller. As a result not finding any disks when it comes to installing the O/S. We have attempted various modifications to the boot process, including the loading of an aac module, which according to the BSD website, should provide support for this type of controller. When we attempt to boot to OS to install after making these above modifications, the boot loader advises that this module already appears to be loaded, which contradicts what I believe. In any respect, it doesn't work either way (with or without the module manually loaded). One side note (which i don't think is contributing) is that when I attempt to start the boot loader with ACPI enabled, it freezes with the message cpu id 38 too high. However if I boot the boot loader with ACPI disabled, this message dissapears. It _may_ be a possibility that a bi-product of disabling the ACPI is causing the RAID controller to have issues. This appears to be an issue because of the X4 CPU count ?? That's a quick summary of the problem we have, and the path(s) we have been down to date to attempt to fix it. Any help you can provide would be very much appreciated. We are at the position now where we are prepared to pay for consulting services to get it going. Dave Faulkner / Murray Taylor Bytecraft Systems Are you creating an Array before you try the installation? What does the console show for the recognized hardware, and not recognized hardware? You can boot from CD and run dmesg to get this information. -Derek The array is already created... The hardware for the RAID array _and_ the bge interface are not found. Murray Taylor Special Projects Engineer Bytecraft Systems P: +61 3 8710 2555 F: +61 3 8710 2599 D: +61 3 9238 4275 E: [EMAIL PROTECTED] -- Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein --- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --- ### This e-mail message has been scanned for Viruses by Bytecraft ### ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Why is dmidecode failing?
On Wed, Apr 18, 2007 at 11:15:16AM -0500, Dan Nelson wrote: In the last episode (Apr 18), Bruce Burden said: === Installing for hal-0.5.8.20070403 === hal-0.5.8.20070403 depends on file: /usr/local/share/pciids/pci.ids - found === hal-0.5.8.20070403 depends on file: /usr/local/bin/python - found === hal-0.5.8.20070403 depends on executable: dmidecode - not found This says that dmidecode isn't in your path. Make sure that /usr/local/sbin is in your path, since that's where dmidecode is installed. Sigh. So simple. So obvious. So infuriating when it does not work! Thank you, I do not normally have /usr/local/ sbin in my path, obviously. Bruce -- I like bad! Bruce BurdenAustin, TX. - Thuganlitha The Power and the Prophet Robert Don Hughes ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[solution] Re-installing Windows *after* FreeBSD
Hi, I recently came across a problem where I had to re-install Windows XP on my laptop, which already had FreeBSD on the second slice. I am sure many must have faced this issue, and hence I am posting this solution that I adopted to re-install Windows (okay, here I already have two slices, first for Windows and second for FreeBSD). Typical disk setup: 40G HDD on Dell Latitude D400 laptop. First slice (partition on Windows parlance) of 15G and second slice of 25G for FreeBSD. Pre-condition: Windows slice already exists. This procedure typically applies to re-installing Windows. Steps: 1. Re-install Windows in a normal way, making sure you don't touch the FreeBSD slice of the machine. Since Win does not honor the MBR, it will install its own MBR after the installation, thus hiding FreeBSD. 2. After step 1., boot the machine from FreeBSD boot CD-ROM (CD 1) of your release. Mine is FreeBSD 6.2-RELEASE 3. In sysinstall, go to the Fixit mode, and select the option for live FreeBSD system. You will now get a prompt something like: Fixit# 4. Run the following command: boot0cfg -B ad0 This command re-installs the boot0 boot manager on disk ad0. It will properly detect both OSes', and re-install the MBR appropriately. 5. Reboot. You will now be greeted with the very famous prompts: F1 DOS F2 FreeBSD Hope this helps. Similar thing (re-installing grub) can be done for Windows and Linux dual-boot, when Win kicks off grub. -Amarendra ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Moving existing FreeBSD system to a new harddisk...
On 4/19/07, Jerry McAllister [EMAIL PROTECTED] wrote: Let's assume the old disk is ad0 and the new one is ad1 and MS occupies the first slice (called primary partition) of each disk. So, FreeBSD then is currently in /dev/ad0s2 and you want to put it in /dev/ad1s2. [...] Thanks all for the replies. It has given me enough confidence to try swapping disks. I will post my findings once I move over to the new disk. -Amarendra ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
dhcpd assign duplicated IP address
I am not sure if I understood DHCP correctly. I have this configuration in my /usr/local/etc/dhcpd.conf (Using FreeBSD 6.1): subnet 218.193.55.192 netmask 255.255.255.192 { range 218.193.55.194 218.193.55.254; option routers 218.193.55.193; } [snip] host sappho.realss.com { hardware ethernet 80:00:20:B0:99:31; fixed-address 218.193.55.196; option routers 218.193.55.193; } And I think this means the DHCP server should not assign IP address 218.193.55.196 to any hosts that do not have MAC address of 80:00:20:B0:99:31. But today a Windows user come with a notebook and he got assigned 218.193.55.196 IP address (and he complain he cannot surf the web). Check /var/db/dhcpd/dhcpd.leases and there is: lease 218.193.55.196 { starts 4 2007/04/19 01:49:23; ends 4 2007/04/19 11:49:23; tstp 4 2007/04/19 11:49:23; binding state active; next binding state free; hardware ethernet 00:c0:9f:73:0d:0a; uid \001\000\300\237s\015\012; client-hostname dawnlinux; } So the question is, did I misconfigured dhcpd.conf or what's the reason dhcpd is assigning an IP address it should not? Thanks a lot in advance! My dhcpd.conf is attached. P.S. In recent days we some times got another network problem and I'm not sure if it's related to this DHCP server behavior. It happens on both Linux and Windows hosts that a host suddenly is no longer accessible (Ping no response). Check 'arp -a' on other hosts shows the host being accessed have wrong Mac Address. e.g. yesterday 218.193.55.195 suddenly become in-accessible, this host is Linux and we got this behavior on a nearby host: sappho # arping 218.193.55.195 Unicast reply from 218.193.55.195 [00:0F:EA:4B:82:58] 0.638ms Unicast reply from 218.193.55.195 [00:0F:EA:4B:82:58] 0.637ms Sent 113 probes (1 broadcast(s)) Received 113 response(s) sappho # arp -a 218.193.55.195 ? (218.193.55.195) at 00:02:2A:C1:53:87 [ether] on eth0 arping reply is different from arp cache. This host become accessible the next day. Strange. Are these two problems related? -- Zhang Weiwu Real Softservice http://www.realss.com +86 592 2091112 option domain-name realss.com; # when ADSL is online, we use schools' name server because it's fast; # when ADSL is offline, clients who failed to reach schools' name server will try # China Telcom's name server option domain-name-servers 210.34.0.14, 210.34.0.18, 202.101.103.55, 202.101.103.54; option subnet-mask 255.255.255.0; default-lease-time 36000; max-lease-time 72000; # our DHCP server is the only one used here. authoritative; # ad-hoc DNS update scheme - set to none to disable dynamic DNS updates. ddns-update-style none; # this subnet does not only cover our office, but also the whole office building # our office is assigned 218.193.55.194 to 218.193.55.198 which is not enough # we simply occupy up to 218.193.55.202 and use this DHCP server to suggest # all other computers in this office building to use the rest IP address space; subnet 218.193.55.192 netmask 255.255.255.192 { range 218.193.55.194 218.193.55.254; # HITACHI PC with Pentium II processor # FreeBSD 6.1 # host 218.193.55.198 is the gateway of our office which routes packets to # ChinaTelcom if target IP address is not in CERNET # we don't want to share this gateway so we assign the rest of computers to # use school's gateway option routers 218.193.55.193; } host emerson.realss.com { # Gentoo Linux 2006.1 # 1. Development server of Real SS (a copy of the productional server); # 2. SVN server of all our projects # 2.1 SVN server of our groupware product running on Apache; # 2.2 SVN server for our small projects running on svn port; hardware ethernet 00:11:11:9d:ae:9c; fixed-address 218.193.55.194; option routers 218.193.55.198; } host joe.realss.com { # 1. Multi-seat compuater in the office; # SuSE 10.1 # 2. Offer free Internet cafe for the campus to test multi-user system; # 3. have a lot of tools for users and developers; hardware ethernet 00:0f:ea:4b:82:58; fixed-address 218.193.55.195; option routers 218.193.55.198; } host sappho.realss.com { # Ultrasparc U5 with additional 160GB IDE HDD # Gentoo Linux 2006.1 # 1. Public ftp server offering download of free-opensource software; # 2. Public rsync server offering gentoo portage rsync; # 3. Music Play Daemon runs on this host for the office; # 4. Print server for the office # note the below hw addr is not correct, sappho don't use dhcp hardware ethernet 80:00:20:B0:99:31; fixed-address 218.193.55.196; # It's important sappho.realss.com use the default router of CERNET # it is serving CERNET as well as fast networks OUTSIDE cernet option routers 218.193.55.193; } host www.linasp.com { # Mr Zhu Chenglin's PC # Windows XP hardware ethernet 00:90:27:58:9F:B5; fixed-address 218.193.55.197; option routers 218.193.55.198; } host ushang.net { # Shang Wenbin's PC # Debian Linux
Re: dhcpd assign duplicated IP address
On Apr 18, 2007, at 9:24 PM, Zhang Weiwu wrote: I am not sure if I understood DHCP correctly. I have this configuration in my /usr/local/etc/dhcpd.conf (Using FreeBSD 6.1): subnet 218.193.55.192 netmask 255.255.255.192 { range 218.193.55.194 218.193.55.254; option routers 218.193.55.193; } [snip] host sappho.realss.com { hardware ethernet 80:00:20:B0:99:31; fixed-address 218.193.55.196; option routers 218.193.55.193; } And I think this means the DHCP server should not assign IP address 218.193.55.196 to any hosts that do not have MAC address of 80:00:20:B0:99:31. No, it doesn't mean that. You have configured dhcpd to have two ways of assigning the address 218.193.55.196. One is through the dynamic mechanism and the other is through the fixed address. You should set your fixed address to be outside of your dynamic pool range. Cheers, -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FW: IBM / FreeBSD Install problem - more
OK -- at present I cannot get a 6.2 install disk to get anywhere further. Trying FreeSBIE 2.0.1 (aka 6.2) I can get a boot with set hint.acpi.0.disabled=1 set acpi_load=NO boot -v However it doesnt find the bge card nor has it found an fxp card we have tried, so I cant get to dmesg output off the machine What i have seen is that the ServeRAID 8i controller say it is on PCI bus 1:2:0 Nowhere in the boot log is pcib1 or any mention of the physical pci bus 1 Just to test I booted an IBM pizza box x305 with the FreeSBIE disk in the same fashion, and up comes its bge i/f, the boot -v logs show pcib0 , pcib1 , pcib2 along with their associated physical busses. Any help greatly welcomed --- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --- ### This e-mail message has been scanned for Viruses by Bytecraft ### ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]