Re: CPAN hanging on ExtUtils::MakeMaker even if installed
I want to thank everyone who helped me out. I can confirm that the original issue (infinite delay and 100% CPU use while installing ExtUtils::MakeMaker from CPAN) is gone after upgrading to Perl 5.12. For some reason, the upgrade to 5.14 didn't work. Using portupgrade -o lang/perl-5.14 perl-5.8.9 (or something similar, but I can't remember it now) just reinstalled Perl 5.8. Using portupgrade -o lang/perl-5.12 perl-5.8.9 (or something similar) did work, though. I ended up using the www/rt40 port. Its nice to know that someone is putting in the effort on a port. Thanks to Matthew for that. And now I'm back to upgrading security/amavisd-new and mail/p5-Mail-SpamAssassin and other Perl based ports. :) I'm really glad that portupgrade exists on FreeBSD. Thanks all! Jaime -- Network Administrator Cairo-Durham Central School District http://cns.cairodurham.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CPAN hanging on ExtUtils::MakeMaker even if installed
On Wed, Feb 22, 2012 at 4:26 AM, Matthew Seaman matt...@freebsd.org wrote: Speaking as the rt40 port maintainer, I feel you may be making your life unnecessarily difficult here. The port won't touch your data: it does precisely nothing to the database. It does let you set default values for DB connection parameters at install time, but that's not required and you can just use the normal configuration files to the same effect. I had no idea. I assumed that it could only attempt to setup a new DB. Thank you. That will be a big help. Does the rt40 port make a new MySQL database by the name of rt4? My current data is in a MySQL database named rt3, which is why I ask. How would you recommend getting the migrated data over to the new version? As a side note, it seems that I've put off the Apache 1.3.x to 2.x upgrade for far too long. The rt40 port requires p5-Log-Dispatch which requires some Apache port. Since apache13 was deprecated in November, I'll have to upgrade Apache itself first. I'm thinking that I'll do that today and go with the apache22 port. I'm open to advise on the Apache upgrade if anyone has any. Hmmm... well, the port doesn't use 'make fixdeps' because it's the ports job to ensure that all the required dependencies are fulfilled. That is very good news. Thank you. However, if I try it manually, everything works just fine. This is on a system with only the version of E::MM that comes bundled with perl-5.12 (which is version 6.56). The make fixdeps output looks completely different though -- what version of RT are you trying to use? RT 4.0.5. Perl 5.8.9. Thanks so much for the help. Its one of the great things about the open source community that I'm not at the mercy of a help desk that say things like OK, why don't you go ahead and reinstall it, then? Jaime -- Network Administrator Cairo-Durham Central School District http://cns.cairodurham.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CPAN hanging on ExtUtils::MakeMaker even if installed
On Feb 22, 2012, at 11:40 AM, Matthew Seaman m.sea...@infracaninophile.co.uk wrote: The remaining port (lang/perl5.8) hasn't been modified in 7 months, and I believe it may well be deprecated and removed fairly soon. Good to know. What version comes with FreeBSD if you don't install a port of Perl? Is there some way to just yank the installed port and revert to the default installed version? I'm only running 5.8.9 because once upon a time I wanted to use a port (possibly RT) that required it. So I installed it from the ports as a way to run the latest version available at that time. Thanks, Jaime___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Upgrading very old installation
I'm running a FreeBSD 6.x server that hasn't been updated in about 1.5 years. atlas:~uname -mprs FreeBSD 6.4-RELEASE-p8 i386 i386 What is the recommended way to upgrade it to something current? Should I upgrade it to the most recent 6.x and then to 7.x and then to 8.x? Or should I use a more direct route, upgrading it straight to the 8-RELEASE branch? I've been using the cvsup/make method of upgrades for years and only used freebsd-upgrade once. I'm not sure if either method can handle a 6.x to 8.x upgrade. I also have a bunch of ports in this server (e.g. apache, postfix, etc.) Once the OS is updated, should I just portupgrade them all? Thanks in advance, Jaime -- Network Administrator Cairo-Durham Central School District http://cns.cairodurham.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Dell R210 no disks found
On Thu, May 26, 2011 at 4:18 PM, Steve Polyack kor...@comcast.net wrote: I'm assuming these have the PERC H200 cards in them. If so, you will need the mps(4) driver which is only available in FreeBSD 8-STABLE built sometime after the 8.2 release. You can find ISO snapshots of 8-STABLE builds here http://pub.allbsd.org/FreeBSD-snapshots/. Search the list archives for PERC H200 for more information. I made a DVD from the ISO and then it booted. I had to destroy the RAID array, unfortunately. It looks 8-STABLE can see the disks as /dev/da0 and /dev/da1, but it can't see the array. My next issue is this: I can use the DVD to install 8.2-RELEASE, but not 8-STABLE. However, 8.2-RELEASE can't boot, sinc eit doesn't have the driver for the HDs. Am I missing something? Thanks, Jaime Kikpole -- Network Administrator Cairo-Durham Central School District http://cns.cairodurham.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: RAM needed for DHCP + router?
On Thu, May 26, 2011 at 7:46 PM, Chris Hill ch...@monochrome.org wrote: I'm looking to build a NAT / DHCP box for a lab network for my company. My question is, how do I estimate the amount of RAM the machine will need? FWIW, I can tell you some experiences that I've had. Example #1: At one time, I had as many as 600-800 desktops and laptops receiving DHCP leases and DNS resolution from a single FreeBSD (5.x?) server. It was an old Dell desktop that a college had discarded/donated. I think it was something like 800MHz and 1GB of RAM. From what I remember seeing in top, uptime, et. al. it was like the server was bored. It was barely doing anything. Example #2: I'm currently running a school district with about 800 computers, some iPads and Nooks, a few dozen network printers, streaming video off of at least 3 DVRs, and whatever people bring in (unauthorized... we'll be fixing that shortly). So let's call it around 1000 - 1300 nodes. The entire thing is running through a FreeBSD system with two 100Mbps cards. I use IPFW to hijack certain TCP ports and redirect them into DansGuardian. This makes a transparent proxy. DG and Squid and BIND and ClamAV and snmpd, the Xymon client all run on this box. It acts as a secondary DNS resolver, secondary DNS server for internal addresses, web proxy, web content analysis and filtering, and more. Its 8GB of RAM and a 2.0GHz dual core CPU. Its doing the job just fine. No complaints. Every employee uses web-based services every day. We even use a fair amount of streaming video. Again, this works well. I've even heard of people managing to use NetFlix on occasion. It will saturate our Internet bandwidth before this server goes down. I have the graphs to prove it. Since you are talking about the box doing NAT, you may find yourself wanting a web proxy service and/or internal DNS resolver at some point. The NAT and DHCP services are, in my experience, not going to be a big deal. Configuring BIND to offer internal DNS resolution would add very little to your load. I would be really surprised if any desktop PC that you found for $500-$1000 wasn't up to the task. That said, here is the important part: This is going to be a single-point-of-failure for your institution. If it goes down for any reason, your entire business is off-line. That includes everything from bad hardware to a routine software upgrade (FreeBSD or a port). Do yourself a HUGE favor and build a redundancy system of some kind. For example, I'm currently trying to replace the DansGuardian/Squid/DNS server I listed above with a pair of servers using CARP http://www.freebsd.org/doc/handbook/carp.html. That way, I can upgrade the OS whenever I want and the district's 800 authorized computers (and 50-200 unauthorized computers, phones, tablets, etc.) keep working. Seriously. Make it redundant. Its the most important lesson a systems administrator must learn. Well, that and scripting. OK, and documentation. :) Hope that helps, Jaime -- Network Administrator Cairo-Durham Central School District http://cns.cairodurham.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Dell R210 no disks found
I am attempting to install FreeBSD 8.2 amd64 from a CD onto a Dell R210 server. When I boot and run fdisk from sysinstall (under Custom), it tells me No disks found! and then points me to the hardware guide. Nothing in the hardware guide really seems to apply. Any one else get FreeBSD installed on an R210? Is there a BIOS setting that I need to check or something? I've spent about a week on this and will need to return both R210s soon if I can't get them working. Thanks, Jaime Kikpole -- Network Administrator Cairo-Durham Central School District http://cns.cairodurham.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Hardware suggestions
My thanks to everyone for their replies. I guess that I wasn't specific enough about my needs, though. I don't need a tiny chassis. In fact, I need a proxy for around 750-900 computers, so an Atom system or the like wouldn't work for me. I just have no rack space left. Fortunately, I might have found a way around this. So if you have any pre-built servers to recommend, I'd greatly appreciate it. For example, I'm currently reviewing the Dell PowerEdge T310's specs. Nate: Thanks. I read the handbook's entry on CARP last night. It looks easier than I had previously thought. I've started setting up a VMware environment of 2 FreeBSD systems and a unix desktop to try it out as a way to build a fail-over proxy. Looks like I'd have to stop using my current in-line design, though. Currently, I have a FreeBSD box between my network as a whole and the Internet connection. It acts as a router, a firewall, and a transparent proxy. CARP would require the system to not be in-line, because a failed system would mean no router. Did I understand that correctly? Thanks to all, Jaime -- Network Administrator Cairo-Durham Central School District http://cns.cairodurham.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Hardware suggestions
I'm looking for new hardware for my web filter (FreeBSD + dansguardian + squid). Can anyone suggest good (or warn about bad) models of hardware for this? I'm looking for a small tower or compact chassis (not rack mount) with two ethernet interfaces. I'd like RAID-1 as well, if possible. I can spend anywhere from $1,000 to $3,500. My current system works well (2.0GHz, dual core, 8GB RAM, RAID-1, two 160GB disks, 3 100Mbps NICs), but I want to replace it with two identical boxes. Right now, its a single point of failure. So I'm hoping to rsync configs between two systems that are on line at all times. Then, if I need up upgrade software or the hardware breaks, I can just swap the box. Any pointers on this project are appreciated, especially what models of computers would work well with FreeBSD. Thanks in advance, Jaime -- Network Administrator Cairo-Durham Central School District http://cns.cairodurham.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Hardware suggestions
On Tue, Apr 26, 2011 at 12:34 PM, Chris Brennan xa...@xaerolimit.net wrote: Just out of curiosity, why not rack-mounted boxed? Space issues. They'll have to either fit on a shelf in one of two rooms, depending on the outcome of some other things. Any thoughts on brand or model? Thanks, Jaime -- Network Administrator Cairo-Durham Central School District http://cns.cairodurham.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Formatting a tape?
I have a DLT tape drive in a FreeBSD system. With one of the tapes, I can get tar -cvpf /dev/sa0 -C / . to work. With all the other tapes, I can't. Is there some kind of formatting process that I need to do? I tried mt fsf 1 from this page: http://www.freebsd.org/doc/en/books/handbook/backups-tapebackups.html This didn't seem to work, though. Any help is appreciated, Jaime -- To affect the quality of the day, that is the highest of arts. -- Henry David Thoreau Tone of voice in email is misunderstood 50% of the time. Source: http://www.howtoweb.com/cgi-bin/insider.pl?zone=214061 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Formatting a tape?
I assume that this is a fresh tape? Do other tapes from the same batch work? Thanks for the reply. Yes, 10 new tapes. All Sony brand DLTape VS1 on the box. (Only one t. Damn marketers.) They all have this symptom. What happens if you use dd to try and write to the tape? I'll give it a try. I've only used tar and mt so far. Thanks, Jaime -- To affect the quality of the day, that is the highest of arts. -- Henry David Thoreau Tone of voice in email is misunderstood 50% of the time. Source: http://www.howtoweb.com/cgi-bin/insider.pl?zone=214061 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Formatting a tape?
On Thu, Mar 19, 2009 at 1:39 PM, Andrew Hamilton-Wright and...@qemg.org wrote: What happens if you use dd to try and write to the tape? The command dd if=/dev/zero of=/dev/sa0 count=8 should print out: 8+0 records in 8+0 records out I tried this and the output was: 8+0 records in 8+0 records out 4096 bytes transferred in 0.036611 secs (111879 bytes/sec) So then I tried my backup script (which is basically a tar command) and got this on the console: (sa0:ahc0:0:6:0): Unexpected busfree in Data-out phase SEQADDR == 0x86 (sa0:ahc0:0:6:0): lost device (sa0:ahc0:0:6:0): failed to write terminating filemark(s) (sa0:ahc0:0:6:0): tape is now frozen- use an OFFLINE, REWIND, or MTEOM command to clear this state. (sa0:ahc0:0:6:0): removing device entry On the ssh terminal / standard output, I got this: tar: Write error: Input/output error Now camcontrol devlist doesn't show the tape drive, even though it did before. So I use camcontrol rescan all and it comes back. On console, it says: sa0 at ahc0 bus 0 target 6 lun 0 sa0: QUANTUM DLT-V4 0A00 Removable Sequential Access SCSI-2 device sa0: 160.000MB/s transfers (80.000MHz, offset 96, 16 bit) So then I try: mt -f /dev/sa0 rewind mt: /dev/sa0: Device not configured atlas:jkikpolecamcontrol devlist SEAGATE ST373207LW 0004 at scbus0 target 0 lun 0 (pass0) SEAGATE ST373207LW 0004 at scbus0 target 1 lun 0 (pass1) SEAGATE ST373207LW 0004 at scbus0 target 2 lun 0 (pass2) LaCie BigDisk Extreme+ 3.AA at scbus1 target 0 lun 0 (da0,pass3) WTF? Its gone again. On console, I get: (sa0:ahc0:0:6:0): lost device (sa0:ahc0:0:6:0): removing device entry I'm going to tinker some more and see if I can get this drive working again. I'll also try another tape. (Its worth noting that I DID manage to get a tape working thanks to mt -f /dev/sa0 fsf 1 mt -f /dev/sa0 rewind.) More info later. Thanks for the help Jaime ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Formatting a tape?
On Thu, Mar 19, 2009 at 2:18 PM, Michael L. Squires mi...@siralan.org wrote: Have you looked at /var/log/messages? I've found error messages written there when trying to write to a tape which showed that I needed to change the block size. Good idea, but sadly there is nothing useful there. The following happened during my tinkering with mt, tar, and dd: Mar 19 14:06:32 atlas kernel: sa0 at ahc0 bus 0 target 6 lun 0 Mar 19 14:06:32 atlas kernel: sa0: QUANTUM DLT-V4 0A00 Removable Sequential Access SCSI-2 device Mar 19 14:06:32 atlas kernel: sa0: 160.000MB/s transfers (80.000MHz, offset 96, 16bit) Mar 19 14:23:46 atlas kernel: (sa0:ahc0:0:6:0): Unexpected busfree in Data-out phase Mar 19 14:23:46 atlas kernel: SEQADDR == 0x86 Mar 19 14:23:46 atlas kernel: (sa0:ahc0:0:6:0): lost device Mar 19 14:23:46 atlas kernel: (sa0:ahc0:0:6:0): failed to write terminating filemark(s) Mar 19 14:23:47 atlas kernel: (sa0:ahc0:0:6:0): tape is now frozen- use an OFFLINE, REWIND or MTEOM command to clear this state. Mar 19 14:23:47 atlas kernel: (sa0:ahc0:0:6:0): removing device entry Mar 19 14:27:37 atlas kernel: sa0 at ahc0 bus 0 target 6 lun 0 Mar 19 14:27:37 atlas kernel: sa0: QUANTUM DLT-V4 0A00 Removable Sequential Access SCSI-2 device Mar 19 14:27:37 atlas kernel: sa0: 160.000MB/s transfers (80.000MHz, offset 96, 16bit) Mar 19 14:29:19 atlas kernel: (sa0:ahc0:0:6:0): lost device Mar 19 14:29:19 atlas kernel: (sa0:ahc0:0:6:0): removing device entry Jaime ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Formatting a tape?
On Thu, Mar 19, 2009 at 7:37 PM, Warren Block wbl...@wonkity.com wrote: And the device acts flaky. That screams SCSI termination problem to me. That would also be consistent with most/all of the tapes failing, because it's not the tapes. I've checked the termination more times than I can remember. (No exaggeration. Problem had been on-going for months.) Its OK. I have one bent pin on one of the two ports on the SCSI cable, but it (1) isn't the one being used and (2) doesn't touch any other pins. Its just an unusable port on the cable, not a source of ... cross contamination, I guess you could say. So I am pretty sure that we're OK on the SCSI chain. I *am* starting to wonder about the tape drive itself, though. What do you think? Thanks again, Jaime ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
MSI nettop supported?
I'm considering getting one of MSI's nettop computers to run a small server in my home. I was wondering if anyone could tell me if it would run FreeBSD or not? There is a model with Linux pre-installed, so I'm hopeful. I just figured I'd ask before spending a few hundred dollars. :) http://msicomputer.com/product/p_spec.asp?model=Wind_Nettop_CS120class=npc Also, I have no prior experience with FreeBSD's wifi support or using Compact Flash or SD cards. (Despite using FreeBSD since version 2.2.1!) Any pointers? Many thanks in advance to any help you guys can offer. Jaime -- To affect the quality of the day, that is the highest of arts. -- Henry David Thoreau Tone of voice in email is misunderstood 50% of the time. Source: http://www.howtoweb.com/cgi-bin/insider.pl?zone=214061 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: shell commands - exclusion
On Wed, Feb 4, 2009 at 9:35 AM, t-u-t marshc...@gmail.com wrote: if i have say one (or even two) single file/directories among many others, and i want to perform any said function like cp, mv, rm, etc.. , to all other files except that one or two, is there a way to do that in a single command? e.g rm -r * {-except foo1 foo15} I'm just shooting in the dark here, but what about this? ls | grep -v foo1 | grep -v foo15 | xargs rm -rf Remember the Unix pipe and the grep and xargs commands. It can solve a lot of things by stringing together a lot of smaller commands. I think that this might be one of those situations. Good luck, Jaime -- To affect the quality of the day, that is the highest of arts. -- Henry David Thoreau Tone of voice in email is misunderstood 50% of the time. Source: http://www.howtoweb.com/cgi-bin/insider.pl?zone=214061 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Quantum tape drive
I am trying to replace an older DLT tape drive (which doesn't like to eject tapes any more) with a new Quantum DLT-4 drive. Its connected by internal SCSI and seems to be set up right. But after DAYS of running a tar command, its still not done backing up 60GB. The old drive could backup 70-80GB in about 7 hours. I changed my backup script to include a -v flag in the tar command, and it now lists hundreds or possibly thousands of files. But it never even gets to /home before I killed the process (after 9 hours in this case). Any suggestions? If it helps, the backup script and output from camcontrol follows. However, this script is the same one that worked on the other drive. A quick test with a Knoppix disk suggested that the backups ran faster in Linux. Not positive of this, but it might be true. $ cat /etc/periodic/daily/910.backups #!/bin/sh # echo echo Tape archives: dow=`/bin/date +%w` if test $dow -gt 1; then echo Beginning backup. /usr/bin/uptime /usr/bin/tar -cvpX /usr/local/etc/backups/skiplist-relative.txt -f /dev/sa0 -C / . /usr/bin/uptime else echo Today is a weekend. Skipping backups. fi $ camcontrol devlist SEAGATE ST373207LW 0004 at scbus0 target 0 lun 0 (pass0) SEAGATE ST373207LW 0004 at scbus0 target 1 lun 0 (pass1) SEAGATE ST373207LW 0004 at scbus0 target 2 lun 0 (pass2) LaCie BigDisk Extreme+ 3.AA at scbus1 target 0 lun 0 (da0,pass3) QUANTUM DLT-V4 0A00 at scbus2 target 4 lun 0 (sa0,pass4) Any help is greatly appreciated. Thanks in advance, Jaime ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Quantum tape drive
On Wed, Jan 28, 2009 at 3:23 PM, Dan Nelson dnel...@allantgroup.com wrote: In the last episode (Jan 28), Jaime said: /usr/bin/tar -cvpX /usr/local/etc/backups/skiplist-relative.txt -f /dev/sa0 -C / . If nothing else, I suggest bumping up your blocksize. The default for tar (10k) is pretty small for modern tape drives. Try -b 128 (for a 64k block size). Another optimization would be to put a buffering program in between tar and your tape drive to decouple disk reads from tape writes. misc/team, misc/buffer, and misc/cstream in ports are good for this. Thanks. Would this decrease the ability of other Unixes being able to read the tape? For example, using pax (which can read tar archives) or GNU's tar? Sadly, I forgot to mention something in my last message. Sorry. When reading from the tape using tar (bsdtar from FreeBSD 6.2 -- and, yes, I'm preparing a cvsup as I write this :) ) the tape drive's Alarm and Fault LEDs are lit up and then camcontrol devlist no longer shows the tape drive. After I wrote to the tape via a quick boot into Knoppix, I found that FreeBSD's tar command could list the files on the tape. So maybe that is in the past now. Maybe not. I should have mentioned it earlier. Sorry. Any other thoughts before I try to OS update and the larger block size? Jaime ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Quantum tape drive
On Wed, Jan 28, 2009 at 4:27 PM, David Kelly dke...@hiwaay.net wrote: You list -v as a tar option. Is tar sticking on a file? I just added that to my script in order to see what was going on. I didn't use it a week ago. I'm dumping straight to the tar drive. Look at the tar command again and you'll see /dev/sa0 in there. :) Another question is whether or not tar could be getting caught in a hard link or symbolic link infinite loop? Look for duplicates in the output. uniq(1) should be of assistance. Perhaps uniq needs a sort(1) to preprocess, I forget? Not a bad thought. However, I'm certain that there is no recursion going on. The delays are happening too early on for that. Also, this script works well if I target an external HD but never finishes on the tape. Thanks for the idea. I hadn't considered it before. Jaime ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Quantum tape drive
On Wed, Jan 28, 2009 at 4:51 PM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: When reading from the tape using tar (bsdtar from FreeBSD 6.2 -- and, yes, I'm preparing a cvsup as I write this :) ) the tape drive's Alarm and Fault LEDs are lit up and then camcontrol devlist no longer shows the tape drive. TERMINATION PROBLEM I was thinking of that... I shut down the server and checked the usual suspects (terminator on the cable, SCSI IDs, etc.) but didn't find anything out of place. Also, the same command in Knoppix (Linux) using /dev/st0 (the Linux equivalent of /dev/sa0) appeared to write to the tape and then list the items on that tape. I didn't see how long it would take, though. In retrospect, maybe I should have let that run longer. :( How certain are you that its a termination problem? Thanks, Jaime ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Looking for a Good FreeBSD and General Unix Backup System
On Wed, Jan 28, 2009 at 6:51 PM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: dump is perfect. period. Is it possible to pull out individual files? A fellow sysadmin asked me that years ago and I didn't have an answer for him. Thanks, Jaime ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: tar dies on making tape backup
On Jul 24, 2006, at 10:23 PM, Micah wrote: To save you some time, from my notes: #finds all files modified before 1971 find / ! -newermt 1971-01-01 20:30 I missed the part about ! in the command. Thanks for the reply. I would have been at this for at least an hour of, What the heck? Its all 'newer than' comparisons? How did that guy do it? :) The command found a number of files claiming to have a date of 1903 and 1933. They were all files that I migrated over from the last server via tar czvpf archivename -C original-directory commands. I don't know if this has anything to do with it. I'm mentioning it in case someone comes across our posts in a search and they need to find the solution to this same problem. Thanks a bunch, Jaime ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tar dies on making tape backup
On Jul 25, 2006, at 9:03 AM, Derek Ragona wrote: Using tar with a SDLT I set the blocksize at 1024 and use ASCII headers (-c) Thanks for the advice. I hadn't thought about block size. Why do you use the ASCII headers? Jaime ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
tar dies on making tape backup
I'm attempting to use tar to feed my filesystem(s) to a DLT tape drive. I've done this with FreeBSD 3 through 5 and DAT (DDS-3 and DDS-4) tapes for years. The command now appears to work for a while and then dies with this message about 2.5 hours into the process: archive_write_pax_header: 'x' header failed?! This can't happen. Any idea what this means? I'm using: $ uname -a FreeBSD atlas.cairodurham.org 6.1-STABLE FreeBSD 6.1-STABLE #0: Wed Jun 28 11:27:09 EDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/ src/sys/SMP i386 This is my first FreeBSD 6.x system, my first SMP kernel, and my first DLT drive on a FreeBSD system. Using Google, I couldn't find any answers that were useful. (Just a few dead threads from various forums and mailing lists.) Thanks in advance, Jaime ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tar dies on making tape backup
On Jul 24, 2006, at 7:24 PM, Micah wrote: I had the same problem recently and Google told me to look for files with malformed dates. I used find to search for files dated before Jan 1, 1970, and found one dated 1901. As soon as I touched the problematic file, tar worked. Many thanks. When I get to work tomorrow, I'll use find. I'll have to check the man page for the right parameters (I don't usually search by date) but I think that I can handle that. ;) Anyway, like I said, the help is much appreciated. Jaime ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to update sources?
On Jul 13, 2006, at 1:41 AM, Ivakin E. Dmitriy 83432 wrote: But you know, this PC is single machine with FreeBSD. I think it'll be good choice to update source if I can download it from web-site as tar archive (for example, like ports tree). Sorry, but I don't know how to do that. I was just making an educated guess before. Jaime ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.1-RELEASE-i386 man broken?
On Jul 13, 2006, at 11:48 AM, Nick Withers wrote: Unfortunately (or at least as I understand it), the contents of /etc/manpath.config don't matter if you have the MANPATH environment variable set. Is this true if you set it to $MANPATH:/usr/local/additional/path ? Come to think of it, this might be the source of David's issue. Jaime ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
IMAP crashing on message move
When trying to move a message from my INBOX folder to another folder, I usually (4 out of 5?) find that the imapd process has crashed. SquirrelMail is nice enough to tell me this: ERROR: Connection dropped by IMAP server. Query: COPY 18238,18255 mail/Trash Looking in /var/log/messages, I find lines like this: Jul 11 21:28:47 atlas kernel: pid 81702 (imapd), uid 1001: exited on signal 11 This is using FreeBSD 6.1-Stable built from sources a few days ago and the ports for imap-uw, cclient, squirrelmail, php5-imap, etc. built from ports updated yesterday afternoon. I've seen the above error in /var/log/messages for a few other UIDs, too. So I know its not just me. This is a new server. The old server was working OK with these same files in /home (I moved the data over using a tar czpf archive.tar.gz -C /home . command.) and FreeBSD 5.x and imap-uw, et. al. built from ports as well. The most significant change that I can find is the move from php4 to php5, but that shouldn't cause the imapd process to fail, right? Any thoughts, tips, advice, etc. is greatly appreciated. Jaime ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to update sources?
On Jul 12, 2006, at 1:57 AM, Ivakin E. Dmitriy 83432 wrote: I need upgrade my OS to new release. But this computer not connected to Internet and I don't have possibility to download new image. Also there is no way to connect it to Internet in the future. How I can do it? Could you take a removable HD to another FreeBSD box that has an Internet connection? If so, you could cvsup to a src directory on the HD and then use something like rsync or tar to move the files over. Just check the man pages for information about preserving ownership and permissions. This idea is just for brainstorming. I've never tried it with FreeBSD. I've tried things resembling it with MacOS X. Good luck, Jaime ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IMAP crashing on message move
On Wed, 12 Jul 2006, Gábor Kövesdán wrote: Jaime wrote: Looking in /var/log/messages, I find lines like this: Jul 11 21:28:47 atlas kernel: pid 81702 (imapd), uid 1001: exited on signal 11 Are you using any CFLAGS in /etc/make.conf? I don't remember changing anything in there. Checking, I find this: atlas:~more /etc/make.conf # added by use.perl 2006-06-28 12:34:45 PERL_VER=5.8.8 PERL_VERSION=5.8.8 atlas:~more /etc/defaults/make.conf /etc/defaults/make.conf: No such file or directory Doesn't look like it to me. Did I miss anything? Btw, do you use the stock compiler or something from ports? I used whatever was in FreeBSD 6.1-STABLE early last week. I generally don't like to screw around with optional stuff when I don't have to. :) I suggest you to rebuild everything related with stock compiler and without any CFLAGS set. You can do this comfortably with portupgrade -f. Based on the above, do you still think that I need to do this? Thanks, Jaime___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Full-time position for a Software Engineer with strong Perl Web application opportunity in Sunnyvale
Hello Gallery, We have a full-time opportunity in Sunnyvale CA for a Senior Software Engineer. The ideal candidate must have strong Perl experience developing web applications Please send me your resume if you would like to be considered. If you are not available feel free to refer me to some one that is. Job description As a Software Engineer you will be designing, developing, and maintaining Web-based database-driven applications. You will be taking advantage of your skills to help us design and build applications used to deliver content and functionality for our users. Primary Responsibilities: Develop applications using Java, Perl, JSP, XML, XSL Design, write, and maintain object-to-relational software layer and database schemas Work with business users to gather requirements and organize requirements into development tasks Write design specifications, programming specifications, and documentation Prioritize and resolve maintenance issues and provide operational support for the user of our business systems Qualifications Qualifications* Master?s degree in Computer Science or related field 5+ years industry experience Working knowledge of ?server-side? Java and Relational Databases Applicable Object Oriented programming and web design/development experience Strong problem solving, data analysis, design, and testing skills Very effective verbal and written communication skills Quick learner, eager to leverage new technologies in a dynamic team environment Hands on experience with: o building applications using Java, JSP and related technology (Tomcat or similar application server). o XML, XSL, XSLT and related tools. o Working knowledge of Ant o programming Web-based application in Perl and good knowledge of applicable libraries and modules. In depth knowledge of Unix and very good knowledge of network related issues. Good understanding of TCP/IP and HTTP protocols. Experience with concurrent development process; good knowledge of tools and techniques used to manage development branches. Good understanding of databases, tools and techniques used for object to relational mapping, experience in performance tuning Regards, Jaime Jaime Mendoza - VP COO GoAhead Solutions, LLC 400 Oyster Point Blvd, Suite 407 South San Francisco, CA 94080 Direct. 650-873-7255 Cell.415-271-9117 [EMAIL PROTECTED] Fax. 650-873-7257 http://www.goaheadsolutions.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
apache13-modperl mod_php4?
Is it possible to use the mod_php4 port (which seems to use DSO installation) and its add on parts (e.g. php4-mysql, php4-imap, etc.) with the apache13-modperl port? It seems that one of my webapps (RequestTracker, http://www.bestpractical.com/rt) needs to have mod_perl installed statically, not as a DSO. I'd rather avoid manual compiles if I can help it. (I can do them. Its the future uninstalls/upgrades that worry me.) Other webapps that I use are based on PHP, so I need the mod_php4 module installed, too. Any help is appreciated. Thanks in advance, Jaime P.S. - It seems that the RequestTracker ports in FreeBSD install the mod_perl DSO even though the documentation on RT explicitly advises against this. If anyone else out there got RT to work smoothly with the mod_perl port installed, please contact me. I'd love to know how you did it. Mine appears to have a memory leak. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Sorry
Thanks to everybody for the information shared. I have much reading to do but at least its in the right direction Kind regards Jaime Moss -Original Message- From: Kevin D. Kinsey, DaleCo, S.P. [mailto:[EMAIL PROTECTED] Sent: 28 October 2004 12:53 To: Jaime Moss Cc: [EMAIL PROTECTED] Subject: Re: Sorry Jaime Moss wrote: I am looking at non Microsoft platforms for a mail server. Does FreeBSD have one in it ? I will also be looking at Linux. What is the differnce between FreeBSD and Linux? Kind regards Jaime Moss Hee hee, one is a devil armed with a big pitchfork, and the other a helpless penguin. So FreeBSD wins every time. Jokes? aside, you've been told some good stuff. One more hopefully-soon-to-be-canonical piece I like, although it may not click with you if you're not familiar with either Linux or *BSD, is Matt Fuller's rant at: http://www.over-yonder.net/~fullermd/rants/bsd4linux/bsd4linux1.php Kevin Kinsey DaleCo, S.P. --- [This E-mail scanned for viruses by Declude Virus and Jaywalk Interactive] [Mail is also scanned to reduce SPAM using statistical and other methods] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sorry
I am looking at non Microsoft platforms for a mail server. Does FreeBSD have one in it ? I will also be looking at Linux. What is the differnce between FreeBSD and Linux? Kind regards Jaime Moss ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
3Com Card
http://www.rednetwork.com.br/barra.jpg Hello, Please, could you tell me if there is any network interface cards that are incompatible with the free BSD system? The card i am heaving problems with is a 3Com 3C2000-T. Thanks, Pedro Jaime Técnico Fone: 11 - 5504-1493 Fax: 11 - 5504-9399 www.rednetwork.com.br http://www.rednetwork.com.br/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: uname weirdness after kernel/OS update
The following is my most recent email message to someone who was helping me with a very odd uname issue. I hope that this reporting of the final events (oh-god-pleaselet-this-be-done-and-over-with) helps someone else some day. The offer that I make at the end of my message is genuine. If a FreeBSD expert (Greg? *nudge*) wants the /boot files, they can have them. Jaime -- Forwarded message -- Date: Mon, 29 Dec 2003 15:05:07 -0500 (EST) From: [EMAIL PROTECTED] To: T Kellers [EMAIL PROTECTED] Subject: Re: compiled kernel file After lots of various ideas, including kernels compiled on different boxes (e.g. the one that you sent) nothing seemed to work. Then, I noticed that not everything in / was being listed when I typed ls at the boot manager. This is when I started getting creative. I used sysinstall's disk slice editor to put a new MBR onto the drive and removed /boot. The next attempt to boot refused to mount any of my SCSI drives and it showed a few files in / that were different than they should be. For example, /proc was missing, /homes (an older attempt to make home directories exist on /homes/students and /homes/staff left this directory behind) was back -- even though I thought that I removed it -- and /home was gone, and the most recent etc-*.tar.gz backup of /etc (which I made before the 12/23/03 cvsup) was missing. It was as if I suddenly took a trip backwards in time for this partition by at least a few months. My best guess is that someone had hidden the real / partition and put their own partition (or disk image?) in its place, using a compromised boot loader. This would explain why using ls at the boot loader produced a different list of files than ls at the single-user shell showed. It also explains why new kernels wouldn't load, making uname give bad results on a new kernel. It was reporting data about the kernel that the cracker had given it! I again removed /boot, /usr/src, and /usr/obj, just in case these were violated, too. I did a new cvsup, make buildworld, make buildkernel, make installkernel, and rebooted into single user mode. The / partition was the way I had left it, not the way it was when the symptoms were noticed. So I kept going and did a make installworld and a mergemaster and then rebooted again. Everything seems to be working well now. uname now says: zeus:jkikpoleuname -a FreeBSD zeus.cairodurham.org 4.9-STABLE FreeBSD 4.9-STABLE #0: Mon Dec 29 13:46:57 EST 2003 root@:/usr/obj/usr/src/sys/ZEUS i386 I have changed my root password a few weeks ago. I just removed the toor password (in vipw, I replaced the cypher with a *). My next step is to change the password of any account in the wheel group. I honestly think that someone had broken into this box and made some really creative cracks. I'm not sure about back doors at this point. Using chkrootkit doesn't show anything out of place. (An occasional possible LKM trojan report, but its not consistent and various people claim that apache can cause false positives on that test.) If ANY of the above rings some bells for you, please let me know. Any advice on securing this box would be appreciated, too. Unfortunately, formatting the drive and reinstalling the OS is not an option at this time. :( Feel free to pass this report along to FreeBSD report along to any FreeBSD power-user that can make the OS better by reading this. I'd be happy to provide assorted files off the system (including any of the /boots that I still have) if they will help. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
uname weirdness after kernel/OS update
I was previously running 4.9-PRERELEASE. I used cvsup to download new source code and compile the OS, as I've done many times over the years that I've used FreeBSD. Now, uname -a will show me 4.9-PRERELEASE and Aug 26, 2003 instead of 4.9-RELEASE or 4.9-STABLE and any of the December dates that I've attempted to compile a new kernel. I've tried mv /usr/src /usr/src.old and a new cvsup. I've tried rm -rf /usr/obj/* (after the chflags command) and that didn't help. I've even tried using /stand/sysinstall to install a new bin and crypto binary set, then recompile the kernel. Still no luck. Does anyone have any idea what is going on? Thanks in advance, Jaime ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: uname weirdness after kernel/OS update
On Fri, 26 Dec 2003, Kent Stewart wrote: On Friday 26 December 2003 11:05 am, Jaime wrote: Are you sure that you are building and installing a kernel. That would be about the only thing that wouldn't update your boot message. I am completely certain. I've used make buildkernel KERNCONF=... and make installkernel KERNCONF=... as well as the older /usr/sbin/config method. An ls -l / shows a newer time stamp. Jaime ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: uname weirdness after kernel/OS update
On Fri, 26 Dec 2003, Erik Trulsson wrote: And you did reboot as well, so as to actually use the new kernel? Yes. (Just asking since you didn't say explicitly that you had done that.) Fair enough. We all would have felt pretty dumb if it was something that obvious and yet we didn't check. :) FWIW, I've been using the make-world process since 1997. The only other time that I've ever had a problem (including several years of updating the box in question) was when I had bad hardware. Jaime ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: uname weirdness after kernel/OS update
On Fri, 26 Dec 2003, T Kellers wrote: Did you do a make kernel KERNCONF=YOURKERNELFILE, too? Yes. I followed the directions in the /usr/src/UPDATING file that I have followed at least 8 times previously and successfully on this very same server over the last few years. cvsup -g -L 2 stable-supfile (after editing) cd /usr/src make buildworld make buildkernel KERNCONF=ZEUS make installkernel KERNCONF=ZEUS reboot (single user) make installworld mergemaster reboot I have tried simple kernel recompiles since then. I am currently in the process of recompiling the entire OS via a third instance of the above procedure. I have to ask simple questions; the problem, if not simple, is flat-out weird. I understand. Its just frustrating. Let's start from the other end, though. From where does uname draw its data? With that information, I might be able to track down the problem. Jaime ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: uname weirdness after kernel/OS update
On Fri, 26 Dec 2003, Tim Kellers wrote: I'm building world/kernel on a spare box right now to see if it shakes an idea or two loose. I'm also wondering if your /usr/src files are actually building a new world, too. Trying to think of what might break if you are running a STABLE world with a pre-release kernel. Top is the classic utility that breaks when your world and kernel don't match, but I'm not sure if that will happen if you don't cross version boundaries. Well, I've compiled with 4.9-RELEASE binaries and 4.9-STABLE (12/24/03) binaries and had no observable effects. Likewise, the symptoms were first noticed when the world and kernel were the same. They have repeted themselves within every combination that I've tried. FWIW, I tried rm -rf /usr/obj and recompile, but that didn't improve things. I also tried mv /usr/src /usr/src.old and then re-cvsup and recompile. That didn't help, either. Jaime ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPFW via command problem
On Sunday, December 14, 2003, at 01:49 AM, Ian Moore wrote: # Allow outgoing pings ${fwcmd} add pass icmp from any to any icmptypes 8 out via ${oif} ${fwcmd} add pass icmp from any to any icmptypes 0 in via ${oif} where I have defined ${oif} as oif=xl1 where xl1 is my external interface The above lines don't allow pings to the outside world, but if I comment out via ${oif} then it does allow them. I'd have to know more about your firewall to be certain, but it looks kind of like you've over-looked the IFPW rules that would be needed by your internal interface. If the external interface allows pings but the internal doesn't, then it won't let pings pass through the box. They will be stopped at the internal interface on their way from your internal workstation to the firewall. Hope that helps, Jaime ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Page faults every few days
On Sunday, December 14, 2003, at 01:40 AM, Gautam Gopalakrishnan wrote: On Sun, Dec 14, 2003 at 12:19:19AM -0500, Jaime wrote: Its probably SpamAssassin, which is run against every incoming message. This causes it to have lots of copies in memory at once and to run/quit very often. I don't think that updating Perl will help (I don't see why a user-space process would interfere with kernel resource management.) and I has updated SpamAssassin several times since the problem began. You probably know, maybe spamd is better than invoking so many perl instances This is actually what I'm doing. However, spamd is a perl process. zeus:jkikpoleps auxww|grep spamd root 822 0.0 3.8 21112 9924 ?? Is Tue09AM 2:15.08 /usr/local/bin/spamd -a -c -d (perl5.00503) Odd For once we have less than 5 spamd processes running concurrently. I guess that is what happens at a public school as nearly 3am on a Sunday morning. :) Jaime ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Page faults every few days
On Sun, 14 Dec 2003, Kent Stewart wrote: Well, there is this piece of info in /usr/src/UPDATING 20030904: Between August 9th and August 30th, a bug existed in the i386 virtual memory system which could cause panics under load. Anyone running a kernel built between those dates is advised to update at the earliest possible convenience. How'd I miss that?! OK, this is very useful and I really appreciate it. Its just that I was sure that: 1) The panics started before then 2) I read UPDATING I'm obviously wrong on #2, so now I'm less certain about #1. I'll get on this a.s.a.p. and see what it does. Thanks, Jaime ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Page faults every few days
I have a server that has been experiencing kernel panics every few weeks for months. Lately, it seems to happen anywhere from once every two weeks up to 3 times in the same week. It is always a page fault. I've replaced the drive with the swap partition on it, the RAM, the mother board, the IDE cable, the IDE controller (on that mother board), the CPU, and a few other parts in the last 12 months. I *think* that these page faults have been happening since before the most current cvsup/make-world process, but I can't be 100% certain that more than one happened. I've removed the vinum RAID-5 system that used to manage /home, but that didn't help the stability at all. (Though it made rebooting a lot quicker and less prone to failure.) I'm running out of ideas. What information I do have is listed below. Any help would be appreciated. I don't even know how to do any useful diagnostics in order to isolate the problem. Thanks in advance, Jaime zeus# uname -a FreeBSD zeus.cairodurham.org 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #9: Tue Aug 26 14:01:09 EDT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ZEUS i386 zeus# pwd /usr/local/crash zeus# whoami root zeus# ls -l total 1585106 -rw-r--r-- 1 root wheel 2 Dec 9 09:11 bounds -rw-r--r-- 1 root wheel2324353 Nov 12 08:01 kernel.0 -rw-r--r-- 1 root wheel2324353 Nov 12 15:05 kernel.1 -rw-r--r-- 1 root wheel2324353 Nov 18 11:54 kernel.2 -rw-r--r-- 1 root wheel2324353 Dec 2 10:22 kernel.3 -rw-r--r-- 1 root wheel2324353 Dec 5 07:35 kernel.4 -rw-r--r-- 1 root wheel2324353 Dec 9 09:11 kernel.5 -rw--- 1 root wheel 268369920 Nov 12 08:01 vmcore.0 -rw--- 1 root wheel 268369920 Nov 12 15:05 vmcore.1 -rw--- 1 root wheel 268369920 Nov 18 11:54 vmcore.2 -rw--- 1 root wheel 268369920 Dec 2 10:22 vmcore.3 -rw--- 1 root wheel 268369920 Dec 5 07:35 vmcore.4 -rw--- 1 root wheel 268369920 Dec 9 09:11 vmcore.5 zeus# gdb -k kernel.0 vmcore.0 GNU gdb 4.18 (FreeBSD) Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-unknown-freebsd... (no debugging symbols found)... IdlePTD at phsyical address 0x0036f000 initial pcb at physical address 0x002dc240 panicstr: page fault panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address = 0x13 fault code = supervisor read, page not present instruction pointer = 0x8:0xc022cb68 stack pointer = 0x10:0xcca0fe48 frame pointer = 0x10:0xcca0fe50 code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags= interrupt enabled, resume, IOPL = 0 current process = 91607 (perl5.00503) interrupt mask = none trap number = 12 panic: page fault syncing disks... 54 1 done Uptime: 2d20h1m1s dumping to dev #ad/0x20001, offset 1572992 dump ata0: resetting devices .. done 255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 --- #0 0xc016b1ba in dumpsys () (kgdb) quit zeus# gdb -k kernel.1 vmcore.1 GNU gdb 4.18 (FreeBSD) Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-unknown-freebsd...(no debugging symbols found)... IdlePTD at phsyical address 0x0036f000 initial pcb at physical address 0x002dc240 panicstr: page fault panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual
Re: Page faults every few days
On Sunday, December 14, 2003, at 12:10 AM, paul beard wrote: On Dec 13, 2003, at 8:50 PM, Jaime wrote: current process = 26642 (perl5.00503) any idea what perl-based job is running and if moving to a newer perl version would have any effect at all? Its probably SpamAssassin, which is run against every incoming message. This causes it to have lots of copies in memory at once and to run/quit very often. I don't think that updating Perl will help (I don't see why a user-space process would interfere with kernel resource management.) and I has updated SpamAssassin several times since the problem began. It was a good thought though. I wondered the same thing myself when this whole mess started. Jaime ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ping: sendto: No buffer space available
On Wednesday, June 18, 2003, at 07:17 AM, Loz wrote: Sounds familiar - a friend had a Linux box cracked over the weekend... apparently russian script kiddies using a php gallery exploit. Sorry I don't have any more details, but I do know that in his case at least nothing else was compromised. He found all the answers he needed on Google. So only his Gallery install was compomised? Or was there a more direct effect, e.g. a backdoor or rootkit install? Thanks in advance, Jaime ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Networking/Routing
On Wed, 18 Jun 2003, Bryan W. Maxwell wrote: But my serial line only allows me to ping 192.168.2.2, the otherside is connected to a micropic web server and its address is 192.168.2.3. Thats when it returns, the ping: sendto: Network dropped connection on reset. I believe that a reset is usually when a remote host looks at the connection and then decides to disconnect from it. For example, this can be caused with ipfw rules. Also, double check your routing tables (netstat -rn) on each host. Jaime ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ping: sendto: No buffer space available
I've been noticing for a few days that my network's performance is less than good. When I checked on it, I found that the firewall attempting to ping the ISP's DNS resolver would have hiccups. The ISP claims that there is nothing wrong on the T-1 line and that there is a problem on the ethernet interface of the router (which leads to the firewall). The pings will run just fine for several minutes at a time and then begin to output this: ping: sendto: No buffer space available This will go on for anywhere from 15 seconds to 5 minutes, during which we're effectively not connected to the Internet at all. An occasional ping will work, but only about 1 in 20 and it seems random. Then, just as suddenly, the connection will work again. I'm not completely sure what this means, but I found the following command in the mailing list archives: cerberus# sysctl -a | grep intr_qu net.inet.ip.intr_queue_maxlen: 50 net.inet.ip.intr_queue_drops: 6987 Does anyone have any suggestions or tips? Thanks in advance, Jaime -- To affect the quality of the day, that is the highest of arts. - Henry David Thoreau, _Where_I_Live_ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: restrictive ipfw ruleset and ftp
On Tue, 17 Jun 2003, Andrew Thomson wrote: how can i handle passive ftp though? i can let 21 out, but when the remote ftp server says use this x high port.. i block that because it's not in my list. so what can i do to get around this.. IIRC, FTP sends its replies on TCP port 20. I can't recall if that is port 20 on the remote or local host, though. A little experimentation and you'll probably figure it out. (hint: netstat -nf inet) Good luck, Jaime ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ping: sendto: No buffer space available
On Tue, 17 Jun 2003, lbland wrote: I don't know, but it may be a router loop problem in the ISP router tables. Those tables can change dynamically and can cause intermittent issues like you explained. I had three pings going at the same time. One to the ISP's DNS resolver, one to the far end of the T-1, and one to the ethernet interface on the router at my site. The router and firewall are on opposite ends of the same cable. When the pings to the DNS resolver gave the No buffer space message, so did the other two pings. This means that the break down is not any further up stream than the router. I'm now running pings to a host on the same LAN as the firewall. The next time that the No buffer space message appears on the pings to the DNS resolver, I'll check the pings to the internal host. If they have the same problem, then I'm experiencing an OS level issue of some kind. OK, it happened while I was typing this. :) Results: internal host remained ping-able while the other three pings were all giving No buffer space messages. This is starting to sound like some kind of packet over-load on the public side of my FreeBSD/ipfw based firewall. Does anyone have any advice on how to confirm this? bash-2.05b$ uname -a FreeBSD cerberus.cairodurham.org. 4.7-STABLE FreeBSD 4.7-STABLE #0: Sat Oct 12 12:54:03 EDT 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CERBERUS i386 Thanks in advance, Jaime ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
bad file descriptor
Can anyone explain this? It looks like I can't delete a given file. This file has been causing weird errors with just about everything, including tar, rm, ls -l, etc. It resides on a vinum RAID-5 array, which is the only strange thing I can think of about it. zeus# ls #pico29506# .login .shrc cdtashirt.jpg .addressbook.login_conf .spamassassin cdtashirtstitch.jpg .addressbook.lu .mail_aliases December 2002 Newsletter.docs dead.letter .aspell.en.prepl.mailrc Documents mail .aspell.en.pws .pinerc Lawrence.JPG mbox .aspell.english.prepl .profileOctober 2002 Newsletter.doc public_html .aspell.english.pws .qmail.backup.from.cyrusOctober 2002 Newsletter.doc. .cshrc .rhosts acker zeus# rm #pico29506# rm: #pico29506#: Bad file descriptor zeus# whoami root Thanks in advance, Jaime To affect the quality of the day, that is the highest of arts. - Henry David Thoreau, _Where_I_Live_ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ping: sendto: No buffer space available
On Tue, 17 Jun 2003, Bill Moran wrote: What make/model of NIC are you using? cerberus# ifconfig -a fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 10.0.3.2 netmask 0xff00 broadcast 10.0.3.255 ether 00:e0:81:21:45:8c media: Ethernet autoselect (10baseT/UTP) status: active fxp1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 10.1.1.1 netmask 0x broadcast 10.1.255.255 ether 00:e0:81:21:45:8d media: Ethernet autoselect (100baseTX full-duplex) status: active lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500 ppp0: flags=8010POINTOPOINT,MULTICAST mtu 1500 sl0: flags=c010POINTOPOINT,LINK2,MULTICAST mtu 552 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet 127.0.0.1 netmask 0xff00 The interface in question is 10.0.3.2. That interface has worked fine for over a year. That driver is in use on several other systems for several years each. No problems until now. The only time I've ever seen this, the only thing that solved the problem was swapping the network card out for a better one. That's not to say it isn't a driver problem, as the new network card used a different driver as well. I think that the NIC is on the logic board. I can try to install a PCI card and use that in its place to see if the problem goes away. Should I bother? FWIW, a reboot of the system did not help. Jaime ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bad file descriptor
On Tue, 17 Jun 2003, heikki soerum wrote: zeus# rm #pico29506# rm: #pico29506#: Bad file descriptor zeus# whoami root # is usually an special character, I usually delete such files with Midnight Commander (mc shell), another possibility might be to not use but rather use an \ backslash before every special character. I tried that first. That didn't work, either. :( Jaime ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ping: sendto: No buffer space available
On Tue, 17 Jun 2003, Bill Moran wrote: I think that the NIC is on the logic board. I can try to install a PCI card and use that in its place to see if the problem goes away. Should I bother? I would. There are two possibilities that I would consider here: a) The NIC has gone flaky with age b) Newer drivers don't talk to that particular NIC as well as the old Did you notice this starting to happen after a particular upgrade? You may be able to correlate this with a particular update to the driver by looking at dates in the cvs logs. Nope. The problem is only a few days old and the OS is 4.7-Stable. I think that the last update was in February or so. This is hearsay, and I have no personal experience with it, but I've seen lots of complaints across the lists about onboard cards that use the fxp driver not being very good. I've never had (nor heard of) any problems with the PCI versions. Hrm An interesting thought Another possibility is hardware ... have you added any hardware or changed any BIOS settings? There's the possibility of interrupt problems. No. The system was up for more than 2 months before the problems began. I'm just shooting out ideas for you to work with. Please distill everything I've said through your own experience. i.e. take it with a grain of salt, as I don't _know_ what your problem is. I always try to take email list advice this way. :) Never helped for me either. You may want to check, but in my experience the output of 'netstat -m' will also tell you that you have plenty of network buffers available. bash-2.05b$ netstat -m 144/768/26624 mbufs in use (current/peak/max): 139 mbufs allocated to data 5 mbufs allocated to packet headers 138/572/6656 mbuf clusters in use (current/peak/max) 1336 Kbytes allocated to network (6% of mb_map in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines That was durring normal operation. The following are at the tail end of one of the outages: bash-2.05b$ netstat -m 477/768/26624 mbufs in use (current/peak/max): 386 mbufs allocated to data 91 mbufs allocated to packet headers 384/572/6656 mbuf clusters in use (current/peak/max) 1336 Kbytes allocated to network (6% of mb_map in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines bash-2.05b$ netstat -m 476/768/26624 mbufs in use (current/peak/max): 387 mbufs allocated to data 89 mbufs allocated to packet headers 385/572/6656 mbuf clusters in use (current/peak/max) 1336 Kbytes allocated to network (6% of mb_map in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines bash-2.05b$ netstat -m 182/768/26624 mbufs in use (current/peak/max): 149 mbufs allocated to data 33 mbufs allocated to packet headers 147/572/6656 mbuf clusters in use (current/peak/max) 1336 Kbytes allocated to network (6% of mb_map in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines bash-2.05b$ netstat -m 156/768/26624 mbufs in use (current/peak/max): 153 mbufs allocated to data 3 mbufs allocated to packet headers 151/572/6656 mbuf clusters in use (current/peak/max) 1336 Kbytes allocated to network (6% of mb_map in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines bash-2.05b$ netstat -m 135/768/26624 mbufs in use (current/peak/max): 134 mbufs allocated to data 1 mbufs allocated to packet headers 132/572/6656 mbuf clusters in use (current/peak/max) 1336 Kbytes allocated to network (6% of mb_map in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines bash-2.05b$ netstat -m 144/768/26624 mbufs in use (current/peak/max): 139 mbufs allocated to data 5 mbufs allocated to packet headers 136/572/6656 mbuf clusters in use (current/peak/max) 1336 Kbytes allocated to network (6% of mb_map in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines It looks like something is causing it to pile up packets in the buffers temporarily. Any thoughts? In the mean time, I will see if I can dig up a PCI ethernet card. Thanks, Jaime ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installing SquidGuard on FreeBSD 4.4
On Tue, 17 Jun 2003, Simon-Pierre Butsana wrote: I am trying to install SquidGuard on a FreeBSD server but this doesn't work. I succeeded in installing SquidCache that works fine. Can you advice me in getting a successful installation of SquidGuard on FreeBSD 4.4? Alternatively, can you advice me a access controller and redirector working fine with FreeBSD 4.4? SquidGuard uses squid. I would actually recommend adding DansGuardian to your filters. That is how I do things. DansGuardian loads the SquidGuard files and speaks to squid, squid does the web site retrieval and caching, nad some ipfw rules handle redirection and prevent anyone from accessing squid directly. (Accessing squid directly would circumvent DansGuardian.) There are lots of docs on the web that detail this. Most of the settings in the squid configuration files are OK in their default form. I think that I changed about a half dozen settings at most. Good luck, Jaime ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Networking/Routing
On Tue, 17 Jun 2003, Bryan W. Maxwell wrote: Im trying to set up my home system as 192.168.2.0, but somehow the local loop lo0 is still on 127.0.0.1. This is by definition. lo0 shouldn't ever be anything but 127.0.0.1. Also, you might want to use 192.168.0.2 instead of 192.168.2.0. Jaime ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ping: sendto: No buffer space available
FWIW, I think that I found the problem. With the help of our ISP, we've found that one of my servers has been dumping so many packets out to the Internet that our router was dropping packets. I've unplugged it at this point and we do not have the same symptoms at this time. The clues to a crack are evident, too. A process /usr/sbin/nscd is running on the box according to top and ps, but the file does not exist. Further more, I never told such a process to execute. Shortly after a reboot, a netstat command showed a connection to 37303 on a remote host. I was the only person logged in and I did not initiate that connection. Obviously, I'll be taking steps to find the crack and remote it. :) If anyone wants to suggest something to check, I'd appreciate it. Jaime -- To affect the quality of the day, that is the highest of arts. - Henry David Thoreau, _Where_I_Live_ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cron wacking out
root: not found Jun 17 00:20:00 silver-fox /usr/sbin/cron[247]: (root) CMD (root^I/usr/libexec/atrun) I'm guessing, but it sounds a lot like cron is trying to execute root as a command. The ^I is probably a control character that go into a file somewhere by accident. You might want to cvsup/make-world in order to get correct files in place. BTW, when I last saw something like this, it was a bunch of ^L control characters scattered through my system's source code. The system in question had a bad mother board. I don't know if you have a problem like that, but you should keep your eyes open for an abundance of control characters in random places in random files. Even after cvsup-ing new source code files, I still had these ^L characters everywhere. So, look for a clue like that. Wow, that happened to me back when I was updating from 2.2.5 to 2.2.7. :) Thanks for the chance at nostalgia. :) Jaime ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ping: sendto: No buffer space available
On Tuesday, June 17, 2003, at 09:36 PM, Bill Moran wrote: I found a web page that claims that nscd is a Debian program called name service cache daemon. (Cache only DNS server?) So if it's connecting to any port other than DNS, it's probably a trojan pretending to be nscd. I think that I found the same page. I agree with your assessment. The IP address that it is attempting to connect to is not found via traceroute and is registered to what appears to be a Russian ISP. How odd I'll be grabbing new source code and recompiling everything tomorrow. The box was running 4.7-Stable anyway. :) The troubling part is that the process claims to be /usr/sbin/nscd, but that file doesn't exist. I'll have to see how they did that with lsof, mergemaster, etc. Jaime ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reverse DNS and single IP address space
On Thursday, March 27, 2003, at 07:50 PM, Greg 'groggy' Lehey wrote: Is that easier than nslookup 1.2.3.4? Oops! I forgot that nslookup has a command line more. I usually use it when I want an interactive mode. :) Unfortunately, most of it was wrong :-( To be fair, the question was lacking critical background data. In addition, its a broad topic and people may have assumed that he knew the significance of the IP address that he mentioned (which is part of the default named.conf and meant only as an example). Heck, after fixing DNS issues on a backbone ISP for 8 months, I forgot how complex DNS issues seem to the average Joe. Jaime ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
kernel panics, lots of them
I have a box that has been having problems for months. Originally, there were problems that were corrected by replacing the mother board. Since then, and I'm not sure when this began, there have been kernel panics after several days of uptime. They can be after one day or three weeks, but they keep happening. So far, I've replaced an IDE cable and a boot time error disappeared, replaced RAM with no benefits, and cvsup'ed/make-world'ed with no benefits. I'm not sure what is causing the problems. Any suggestions of what I should do next? I still have 14 kernel panic dumps if anyone can think of tests that I should be running. Most of the panics appear to be page faults, but two of them were lockmgr issues. I'm considering replacing the mother board and/or the whole computer. Unfortunately, this is a fairly major server at my school (staff email, assorted web-based apps, web site, intranet, etc.) so I am trying to keep outage frequency and duration to a minimum. Any help is appreciated. TIA, Jaime ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Diagnois network issues (packet sniffing, bandwidth testing, etc.)
I have some issues at work which might be network issues. For example, I sometimes see slow response times on file sharing. Can anyone suggest a set of tools on FreeBSD (preferably in the ports, but I can use make if I have to) to look for problems like extra protocols, ethernet collisions, bandwidth utilization, etc.? At worse, I'm going to spend $1500 on EtherPeek and run it on an iBook. I just think that there is probably something more useful and/or less expensive on FreeBSD. Thanks in advance, Jaime ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kernel panics, lots of them
On Thu, 27 Mar 2003, Chuck Swiger wrote: [EMAIL PROTECTED] wrote: I have a box that has been having problems for months. Originally, there were problems that were corrected by replacing the mother board. What kind of problems did you have? And what hardware? It's quite possible to damage the CPU or even the power supply if the motherboard fails badly enough. At the moment, i.e. with the new mother board, RAM, and cable, It has: P3 600MHz 256MB RAM (was 1 stick, now 2) Tyan mother board (Trinity 400) SCSI PCI card using sym0 driver (can't remember which card) 4 SCSI 18GB hard drives 1 SCSI DDS-4 DAT tape drive 1 EIDE 10GB hard drive 1 ethernet interface using fxp driver (Interl EtherExpress Pro/100) 1 PCI VGA card (can't remember what kind) 1 SCSI cable 1 80-pin EIDE cable There is memtest and cpuburn in the ports; try running those and see whether you can get the system to crash. Just to verify before I run these programs in the middle of the work day: The purpose of these programs is to try to crash the system, right? :) Thanks, Jaime ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reverse DNS and single IP address space
On Thu, 27 Mar 2003, James Earl wrote: Or, do I even need to worry about reverse DNS entries since my ISP already has them setup? They have probably done the reverse lookup already. IIRC, the reverse DNS for a single IP address can not be handed off to you by the ISP without some interesting tricks. The ISP that my job uses allowed us to do reverse DNS for our 16 IPs, but they did some interesting tricks with CNAME records to do it. The catch of this is that the reverse and forward lookups are unlikely to match. For example, you might want www.example.com -- 1.2.3.4 and 4.3.2.1.in-addr.arpa -- www.example.com. However, the ISP has already set up 4.3.2.1.in-addr.arpa -- customer15.dialup.isp.com. This would mean that your DNS wouldn't be www.example.com--1.2.3.4--www.example.com (as it should be) but would be www.example.com--1.2.3.4--customer15.dialup.isp.com. This isn't tragic in most situations, but its not perfect. Talk to your ISP for details. Good luck, Jaime ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reverse DNS and single IP address space
I'm assuming if I can use nslookup [ip-address] to get my hostname, that reverse DNS on the ISP is setup properly. Is this an okay assumption? If you know enough about nslookup, then yes. I'd suggest host -v 1.2.3.4, though. Its a bit easier. :) Jaime ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
fsck problem
I have a RAID-5 array on /home via vinum. This morning, the server (running 4.8-PRERELEASE, compiled last week) wouldn't allow anyone to login via ssh, imap, or console. So I had someone reboot the server via control-alt-delete. Then it said that not all processes would dia, use ps axl. Of course, since we couldn't login, this was pointless advise. :) We then used the reset button on the chassis. As I type, the server is in single user mode. The fsck commands result in: CAN NOT READ: BLK 16 I've looked at http://docs.freebsd.org/44doc/smm/03.fsck/paper.html and found its information less than encouraging. Since its said to seek a guru, I was hoping that someone here could help my poor little school district. If this wasn't on vinum, I would assume that my next step would be to assume a dead drive and remove it and move on. However, this is a vinum array. I'm not sure how it could be a bad drive if the array is composed of 4 drives. Any help, pointers, etc. would be GREATLY appreciated. My entire school district is effectively dead in the water until this server is running again. TIA, Jaime To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: add user with shell account
On Mon, 24 Feb 2003, default013 wrote: I'm working on a script that will automate making shell accounts and I guess I'm a bit stumped on how one enters the encrypted password into the deal. If anyone knows any resources where I might find this kind of info or has some suggestions for me it would be very much appreciated. If you don't mind learning a new language, check out Expect. Its an extention to TCL that allows the language to script/automate command line programs such as the adduser command. Alternately, look at man 8 pw and /usr/share/skel. These should get you started. Once upon a time, I took the adduser script that came with FreeBSD and was written in perl (in C now) and hacked it to do what I wanted. You could take that approach, too. Good luck, Jaime -- To affect the quality of the day, that is the highest of arts. - Henry David Thoreau, _Where_I_Live_ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
PHP port bug?
I think that I have found a problem with installing the mod_php4 port. It has not set the time zone correctly for me for quite some time. Consider the following: HTMLBODYPRE ?php echo GMT:. gmdate( D, j M Y H:i:s ) . BR; echo Local: . date( D, j M Y H:i:s ) . BR; echo Z: . date( Z ) . BR; echo O: . date( O ) . BR; echo T: . date( T ) . BR; echo Env:. getenv(TZ); ? /PRE /BODY/HTML Which is outputting: GMT: Tue, 24 Dec 2002 14:14:51 Local: Tue, 24 Dec 2002 14:14:51 Z: 0 O: + T: GMT Env: US/Eastern This is on the following system: zeus:jkikpoleuname -a FreeBSD zeus.cairodurham.org 4.7-STABLE FreeBSD 4.7-STABLE #7: Tue Nov 19 20:26:25 EST 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ZEUS i386 Meanwhile, on another system that is running: [jaime:jaime] uname -a FreeBSD malkav.snowmoon.com 4.6-RC FreeBSD 4.6-RC #2: Tue Jun 4 13:32:21 EDT 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MALKAV i386 I get the following output for the same script: GMT: Tue, 24 Dec 2002 14:16:56 Local: Tue, 24 Dec 2002 09:16:56 Z: -18000 O: -0500 T: EST Env: This means that the FBSD 4.7 system with the mod_php4 port version 4.2.3 is not understanding that its time zone is EST. For some reason, it has an environment variable of US/Eastern which the FBSD 4.6 system running mod_php4 version 4.2.1 does not. Despite that environment variable, the actual time zone that the mod_php4 binary understands itself to be in is still GMT. This causes all kinds of fun with my web mail systems. ;) Any advise or pointers would be appreciated. I've tried to RTFM (and even the freshports.org CVS system and a little of the source code) but have had no luck figuring this out. Can anyone else even reproduce this error? Thanks in advance, Jaime To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Timezone and/or imapd
I'm running FreeBSD 4.7 on a server named zeus and 4.4 on a server named malkav. On both computers, I'm running qmail and imap-uw of the same version from the ports collection. Both are in EST timezone and date shows the same time (and EST) on both of them. Using the same IMAP clients in both cases, the server named zeus will show a message's time as being 5 or 10 hours in the future compaired to that message in malkav. Can anyone suggest something to look at which may be causing this problem? Remember, I'm in timezone -0500, but one of the servers will display five or ten hours into the future, depending on the software involved. Thanks in advance, Jaime To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Timezone and/or imapd
Just to provide some additional detail: Received: (qmail 4260 invoked from network); 21 Nov 2002 03:40:03 - Received: from localhost (127.0.0.1) by localhost with SMTP; 21 Nov 2002 03:40:03 - Date: Wed, 20 Nov 2002 22:40:03 -0500 (EST) That is the SMTP headers relating to date/time-stamps in a message which is being incorrectly displayed. The server is in EST, so the time should be displayed as 10:40pm. Instead, it displays as either 3:40am or 8:40am, depending on the email client involved. For example, in SquirrelMail 1.2.9, the message list will show a time of 8:40am and the message itself will show a time of 3:40am. That is with Personal Information set to Your current timezone = Same as server. Any ideas? TIA, Jaime To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
FTP prob in PHP 4.2.3/install older version?
I've found that PHP 4.2.3 seems to have a problem with ftp_* functions. I have a web-app called SquirrelMail with a plugin that uses FTP to manage your .procmailrc and SpamAssassin settings. The plugin works about 5-10% of the time. This web-app on an older box running PHP 4.2.1 seems to not have the problems that it does in PHP 4.2.3. So I was wondering if there was a way to install an older version of this port. If I install mod_php4 via the packages, it doesn't come with FTP support. I've already CVSup-ed my /usr/ports directory and my backup of the old version is over a year old. (My last make world went from FreeBSD 4.4 to 4.7.) Does anyone have any ideas? I need to make sure that at least IMAP, FTP, and MySQL support are compiled into mod_php4. Thanks in advance, Jaime -- Network Administrator Cairo-Durham Central School District To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message