Right way to mount/edit dd of a disk?
Hi, I have a Linux dd file thats an image of the entire disk. If I use the fdisk-linux and do : # fdisk -ul some-big-3.5.0_Update_2-103909.i386.dd You must set cylinders. You can do this from the extra functions menu. Disk some-big-3.5.0_Update_2-103909.i386.dd: 0 MB, 0 bytes 64 heads, 32 sectors/track, 0 cylinders, total 0 sectors Units = sectors of 1 * 512 = 512 bytes Disk identifier: 0x Device Boot Start End Blocks Id System some-big-3.5.0_Update_2-103909.i386.dd18192 1535999 763904 5 Extended some-big-3.5.0_Update_2-103909.i386.dd4 * 3281914080 4 FAT16 32M some-big-3.5.0_Update_2-103909.i386.dd58224 106495 49136 6 FAT16 some-big-3.5.0_Update_2-103909.i386.dd6 106528 204799 49136 6 FAT16 some-big-3.5.0_Update_2-103909.i386.dd7 204832 430079 112624 fc Unknown some-big-3.5.0_Update_2-103909.i386.dd8 430112 1535999 552944 6 FAT16 Partition table entries are not in disk order It looks like a good filesystem. So then I : mdconfig -a -t vnode -f some-big-3.5.0_Update_2-103909.i386.dd -u 0 mount -t msdos /dev/md0s5 /mnt to be able to get the dd5 on /mnt. I then edited the files I wanted, replaced them, and copied back to /mnt. I did umount /mnt and copied the dd file back to where it needed to be. It seems it didn't like it, and I'm trying to find out if editing it the way I did wasn't quite allowed. Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [freebsd-questions] Re: Right way to mount/edit dd of a disk?
mount -t msdos /dev/md0s5 /mnt to be able to get the dd5 on /mnt. I then edited the files I wanted, replaced them, and copied back to /mnt. I did umount /mnt and copied the dd file back to where it needed to be. did you mdconfig -d before copying image? Well, turns out the problem I had was elsewhere with something else, but I was slowly coming back around to having to deal with this again. (Apparently FreeBSD's tar can actually create a tar that a Linux system doesn't like...) No, I didn't. That would probably have been a good idea no matter what. Will do so in the future. But otherwise my procedure seemed sane? Thanks! Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Machine locking up
Hi, We had a power failure at the datacenter we colocate at, and all our servers went down. One is acting up ever since. It rebooted but wasn't accessible. I tried to log in via our KVM and got the login/pass, but when it did the /etc/motd and rest it locked up. CTRL-C and CTRL-\ didn't do anything. The remote KVM could C-A-D and the machine rebooted. Once it rebooted it seemed ok, but then locked up again while in use. The odd thing was I remembered to try CTRL-T, and got : load: 0.00 cmd: login 1188 [sysctl lock] 0.00u 0.00s 0% 176k on the session I was trying to log in on, and on the session I was doing a tail, I saw : load: 0.00 cmd: tail 2013 [proctree] 0.00u 0.00s 0% 0k I could tab between VTYs, but logins wouldn't accept input, and I couldn't C-A-D this time around. I could telnet to a special port on it for monitoring and get a reply, but SSH/sendmail didn't reply. Its a FreeBSD 5.5 (I can't upgrade it, sorry) Any clues what to look for? Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [freebsd-questions] Re: Machine locking up
Hi, Might be on track there. The default background_fsck is on and the first time I didn't see any of the fsck syslog messages. On the second reboot, I see them all. Oddly, on the reboot I see the first one done in 12 minutes from the boot, yet the prior boot went over an hour before it locked up. I did run into some oddness though. I found it was doing the final fsck on a 1.1TB filesystem, so I wandered into '/mountpoint/.snap' and did an ls -lt. It hung. When I did a CTRL-T, it told me it was in a spinlock. I ran top and found I had 1/2 a dozen processes also in spinlock. I was patient this time (And had other multiple VTYs logged in) so I waited it out. All of a sudden all the spinlocks stopped, the processes and ls completed, but it still was in pass 5 at 95%. It sat there for a while before finally sending the output to syslog and KNOCK KNOCK things are doing fair. I'm letting the system have it easy for a few days before I put a load back onto it (4 SETI). The 2nd part to recompile kernel/world... I don't worry too much doing that. Its the install part that gives me the willies. I've done that before on a system that was acting up and on reboot it just acted dead. I remember I had to hand copy some libraries over after remaking AGAIN and things started to pick up. But scary as heck. The system finally died totally about a month later. Thanks, Tuc I suggest you reboot in single user mode and fsck -fy the mount points you use. If the problem persists - you might recompile the kernel and world. Regards, Ivailo Tanusheff Tuc at T-B-O-H.NET [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 24.09.2008 10:56 To freebsd-questions@freebsd.org cc Subject Machine locking up Hi, We had a power failure at the datacenter we colocate at, and all our servers went down. One is acting up ever since. It rebooted but wasn't accessible. I tried to log in via our KVM and got the login/pass, but when it did the /etc/motd and rest it locked up. CTRL-C and CTRL-\ didn't do anything. The remote KVM could C-A-D and the machine rebooted. Once it rebooted it seemed ok, but then locked up again while in use. The odd thing was I remembered to try CTRL-T, and got : load: 0.00 cmd: login 1188 [sysctl lock] 0.00u 0.00s 0% 176k on the session I was trying to log in on, and on the session I was doing a tail, I saw : load: 0.00 cmd: tail 2013 [proctree] 0.00u 0.00s 0% 0k I could tab between VTYs, but logins wouldn't accept input, and I couldn't C-A-D this time around. I could telnet to a special port on it for monitoring and get a reply, but SSH/sendmail didn't reply. Its a FreeBSD 5.5 (I can't upgrade it, sorry) Any clues what to look for? Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [freebsd-questions] Re: Port Management on a larger scale
Or you could mount /usr/local from a single NFS server on all others, keeping them automatically in sync but that might strain the NFS server and make it a single point of failure which is undesirable. Maybe it would be better to use the Coda filesystem in this case.=20 In theory this sounded great when I first did it, but now, not so great. 1) I have to keep all the machines on the same OS release. 2) Taking down or a failure of the NFS server pulls EVERY other system with it. 3) Working with lockd/statd can be problematic at times. 4) NFS on FreeBSD varies (I'M TOLD) between versions as to effectiveness, issues, etc. 5) I've run into issues where some programs are just NOT happy running over NFS (hylafax for me for example. POTENTIALLY a locking issue, but running a locking tester shows everything fine, but it just for the life of it won't work over NFS for me atleast). Since this is a personal system, I put up with it. When I get the time/energy I'm going to break all the systems apart. Tuc/TBOH ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
bind94 security update (UNOFFICIAL)
Hi, For anyone looking to update the bind94 port due to the recent frenzy, you can : 1) Update the Makefile : From : PORTREVISION= 1 To : PORTREVISION= 2 From : ISCVERSION= 9.4.2 To : ISCVERSION= 9.4.2-P1 2) Drop this into distinfo : MD5 (bind-9.4.2-P1.tar.gz) = 87b80edd9872cb017053866c81ca9be8 SHA256 (bind-9.4.2-P1.tar.gz) = eeeb8f89fe6d88b250ad85ee21cfde6f8ac6f425c70c6705352b3fa8c4c4ee84 SIZE (bind-9.4.2-P1.tar.gz) = 6451654 MD5 (bind-9.4.2-P1.tar.gz.asc) = 72310b7045d9806b913835c55ba5388b SHA256 (bind-9.4.2-P1.tar.gz.asc) = c84b6446416ff1096ec5bfb1c731d31f984b312b45a3d2064a922a6b50b6162d SIZE (bind-9.4.2-P1.tar.gz.asc) = 479 THIS IS NOT THE OFFICIAL FREEBSD PORTS UPGRADE PATH OR MAINTAINER... This is a stop gap until MAINTAINER= [EMAIL PROTECTED] does it officially. I have not contacted him about it yet admittedly. I have tested this on a 4.10, 5.5, and 7.0 system and it works fine. Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [freebsd-questions] Re: bind94 security update (UNOFFICIAL)
David, You are very wise to ask If you look at the changes, there are NO changes to what FTP site the binary is picked up from, there are NO additional files inserting patches, etc. I have only changed the PORTREVISION so that portupgrade and the likes will notice it, and the distinfo since there is a new binary and asc. If you check the make, it actually uses the .asc file to verify the contents. Had I added any FTP/HTTP sites, additional patches, etc I wouldn't have even published this. But in my opinion, since I only bump the revision and give new checksums for files that are taken off a previous distribution site, I don't feel people are in danger of taking them over. As dougb says, its just as easy to officially D/L it from the source site and compile by hand. I was just doing this in the hopes that people wanted a make;make install or portupgrade ... could have it quickly. Tuc For those like me who don't know any better. How can I confirm your suggestion will not be introducing addition problems or people into the equation? Thanks, David Quoting Tuc at T-B-O-H.NET [EMAIL PROTECTED]: Hi, For anyone looking to update the bind94 port due to the recent frenzy, you can : 1) Update the Makefile : From : PORTREVISION= 1 To : PORTREVISION= 2 From : ISCVERSION= 9.4.2 To : ISCVERSION= 9.4.2-P1 2) Drop this into distinfo : MD5 (bind-9.4.2-P1.tar.gz) = 87b80edd9872cb017053866c81ca9be8 SHA256 (bind-9.4.2-P1.tar.gz) = eeeb8f89fe6d88b250ad85ee21cfde6f8ac6f425c70c6705352b3fa8c4c4ee84 SIZE (bind-9.4.2-P1.tar.gz) = 6451654 MD5 (bind-9.4.2-P1.tar.gz.asc) = 72310b7045d9806b913835c55ba5388b SHA256 (bind-9.4.2-P1.tar.gz.asc) = c84b6446416ff1096ec5bfb1c731d31f984b312b45a3d2064a922a6b50b6162d SIZE (bind-9.4.2-P1.tar.gz.asc) = 479 THIS IS NOT THE OFFICIAL FREEBSD PORTS UPGRADE PATH OR MAINTAINER... This is a stop gap until MAINTAINER= [EMAIL PROTECTED] does it officially. I have not contacted him about it yet admittedly. I have tested this on a 4.10, 5.5, and 7.0 system and it works fine. Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] This message was sent using IMP, the Internet Messaging Program. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [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: bind94 security update (UNOFFICIAL)
Hi, But Dingo, can YOU be trusted to trust me? ;) BTW: There are 2 ways to tell if your DNS is vulnerable : 1) I PREFER the command line written by Michael C. Toren : http://michael.toren.net/code/noclicky/ Though you need per, Net::DNS and LWP. 2) If you can use a GUI browser on the machine you have DNS itself running on : http://www.doxpara.com/ NEITHER site is mine. Tuc because the source download comes from ISC, he is correct in the proceedure, and I trust him :) On Thu, Jul 10, 2008 at 12:29 AM, David Alanis [EMAIL PROTECTED] wrote: For those like me who don't know any better. How can I confirm your suggestion will not be introducing addition problems or people into the equation? Thanks, David Quoting Tuc at T-B-O-H.NET [EMAIL PROTECTED]: Hi, For anyone looking to update the bind94 port due to the recent frenzy, you can : 1) Update the Makefile : From : PORTREVISION= 1 To : PORTREVISION= 2 From : ISCVERSION= 9.4.2 To : ISCVERSION= 9.4.2-P1 2) Drop this into distinfo : MD5 (bind-9.4.2-P1.tar.gz) = 87b80edd9872cb017053866c81ca9be8 SHA256 (bind-9.4.2-P1.tar.gz) = eeeb8f89fe6d88b250ad85ee21cfde6f8ac6f425c70c6705352b3fa8c4c4ee84 SIZE (bind-9.4.2-P1.tar.gz) = 6451654 MD5 (bind-9.4.2-P1.tar.gz.asc) = 72310b7045d9806b913835c55ba5388b SHA256 (bind-9.4.2-P1.tar.gz.asc) = c84b6446416ff1096ec5bfb1c731d31f984b312b45a3d2064a922a6b50b6162d SIZE (bind-9.4.2-P1.tar.gz.asc) = 479 THIS IS NOT THE OFFICIAL FREEBSD PORTS UPGRADE PATH OR MAINTAINER... This is a stop gap until MAINTAINER= [EMAIL PROTECTED] does it officially. I have not contacted him about it yet admittedly. I have tested this on a 4.10, 5.5, and 7.0 system and it works fine. Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [freebsd-questions] Re: OT: anyone been crazy enough to mirror wikipedia?
Actually . . . if things get that bad, you're going to need some firepower to protect your garden (and everything else you don't want taken from you by force). To properly protect a garden, you'd need to make it a community farm, with community members who have and will use firearms to protect it (and your Wikipedia mirror). And where better to get knowledge on constructing firepower (and gardening for that matter) than wikipedia ;) All part of my integrated plan...did I mention we are going to occupy our local library as well? Guys, you seem to be jumping the gun a bit. Theres plenty of time until 03:14:07 UTC on Tuesday, January 19, 2038. (http://en.wikipedia.org/wiki/Year_2038_problem) Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [freebsd-questions] Re: Fixing a RAID
Ryan Coleman wrote: Ryan Coleman wrote: Oh, I completely forgot to ask... Does the RAID still operate even though one disk is bad? After all, that is the purpose of RAID-5. stripe, with parity. One fails, the other two (or N) keep right on going... Or, is it a RAID-5 card that you put into operation as a RAID-0 span? If the latter is the case, good luck ;) No, I'm not that stupid. :) My old job, we had the big LaCie drives and one of the 4 250Gs in it would fail and they were f*ed. I went to replace the drive right away so I wouldn't be in that situation. When I went to rebuild in the BIOS it failed at 2%, no matter what 250G drive I put in to fill the spot. I had that happen on a 4 disk (36G each) raid-5 (I forget the controller). No matter what disk I put in to replace a failed one, it wouldn't take. 3 drives, exact model, different production dates... None took. I futzed and futzed and finally decided to declare the cage bad and think of backout procedures. About 2 hours after I had set another machine up to take its place, it started giving spurious errors and fell over. I pulled the machine out of the datacenter, cleared out the raid config, and went to rebuild with just the 3 drives. Wouldn't build a fresh raid-5 from just the 3 disks. After the Which one of these things is not like the other, I found that apparently one of the disks still was working, but causing heck if I put another disk in the slot next to it. A year later, and I finally decided to buy a few more disks off ebay to see if my final theory is right. I win (hopefully) the auction in 5 days... If the cage really is bad, I previously sourced a new case/cage, and decided even though its a 4G Dual Xenon system I probably could get a new system cheaper thats faster. Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: External USB disk won't mount
Chuck Robey wrote: I saw a mail yesterday about something nearly like this, from nej, except with him, the umass device wasn't reporting anything at all, no device when he plugged it in. I sent him a little piece of usb driver code that resets his usb buss, just to experiment and see if that got his devices correctly detected, but he didn't yet reply, I don't know if it worked for him. I don't have something like that to experiment with. With yours, you obviously have a da2 ... that only means you have a direct-access disk devide #2 being detected. The next step is to figure oout what kind of formatting you have. Hopefully, it's been fdisk'ed to where it has partitions, so do this (as root): /sbin/fdisk /dev/da2, and in fdisk, give the 'p' command, this will print out the formatting for any partitions. Likely it's either one of the various Microsoft things, or a Linux one, or even a FreeBSD one. Depending on what you see, you either directly give a mount command next, to the right partition, or maybe you use bsdlable to find out what the disk-labelling is (if it's a FreeBSD disk). Hi Chuck, The next line in my post after where you snipped was: (The disk is from another FreeBSD system so is UFS2 and da2s1f is /usr on the other system) It contains a running FBSD 7.0 system - it's out of a spare box I was using for testing and it mounts/reads/writes fine using the other USB enclosure I borrowed. There's just something screwy about the enclosure I've bought (typical eh?) Sounds like issues I had with a USB stick that I had from a 5.4 system and tried to put onto a 7.0 system. (Posted in freebsd-current early April.)I had data integrity issues, couldn't re-format it on the new system, would mount but as soon as I used it the kernel would panic, etc. Bring it back to the 5.4 system, things were peachy. Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [freebsd-questions] PHP crashing on FBSD-6.3
I am continuing to have a problem with PHP crashing. It will not even print out its version number without a dump. This is an example of the crash: ~ $ php -v PHP 5.2.6 with Suhosin-Patch 0.9.6.2 (cli) (built: May 24 2008 13:55:49) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies Segmentation fault: 11 (core dumped) Try to rebuild with debug and then run under gdb maybe? Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [freebsd-questions] Re: Quick+easy port redirect
In the last episode (Mar 28), Tuc at T-B-O-H.NET said: Is there a quick/easy (cookbook?) way to do port redirects. Basically I want that anything that leaves a specific interface to any ip on port 80 go to 192.168.0.1 port 87. I'm using ipfw for some other things so it has to work and play well with that. Make sure options IPFIREWALL_FORWARD is in your kernel config: ipfw add 500 forward 192.168.0.1 tcp from any to any 80 Note that this is a routing-style forward. The source and destination addresses are unchanged, so you will likely need another ipfw fwd rule at the destination machine to capture the traffic and force-forward it to 127.0.0.1:87 (or wherever you want it to go). If you're planning on passing the traffic to squid, there's a big FAQ section with some alternate methods: http://wiki.squid-cache.org/SquidFaq/InterceptionProxy Hi, I tried that (Well, 192.168.0.1,87) and it seem to have any effect, as you said that its a routing style forward. It hits my router and that ignores it and keeps on processing normally. I really am looking for a NAT type situation here. I already use the InterceptionProxy wiki to get it to pass it to Squid, thats been running great. My problem is when my primary Wireless Broadband goes down, it needs to take satellite. When it takes satellite, to get a Web acceleration thing going, I need to force it to the satellite modem port 80. SO, as clunky as it is, I used a rule that anything outbound on tun1 (OpenVPN over the satellite) goes to 127.0.0.1,87, which rinetd outta ports sends it to 192.168.0.1,87. Thanks, Tuc I ended up ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Quick+easy port redirect
Hi, Is there a quick/easy (cookbook?) way to do port redirects. Basically I want that anything that leaves a specific interface to any ip on port 80 go to 192.168.0.1 port 87. I'm using ipfw for some other things so it has to work and play well with that. Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cant get system to 0% idle
Hi, I have 2 systems, Dual Xenon's, both bought at the same time (1 serial number away from each other). At one time both ran 5.3, and both could get 0% idle ([EMAIL PROTECTED], 4 processes). I've upgraded one to 5.5, and now find ever since then I can't get the system below about 19% idle. (I've even used benchmarks/ubench). Short of the typical Upgrade to 7 which I can't do (And for those jokers out there, can't go to 6 either) Any ideas why this is happening? Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [freebsd-questions] Re: Unable to compile anything from ports
This clearly points at a compiler bug, with the VIA cpu, but since world/kernel build cleanly and anything else bugs out quite early, I would suspect an optimization bug. This may have nothing to do with it, but little story... We used to buy whiteboxed machines, and as a test we would build world and compile perl. One time world was fine, perl failed, and would always seem to fail in the same spot. The company replaced every part and narrowed it down to the power supply. Once they changed that out, perl compiled fine. The next box had the same problems, perl stopped compiling in the same place, and found out they re-used the power supply. Changed it out, perl compiled. We convinced them to throw away the power supply (I'm sure someone else ended up with it). May be nothing of the sort, but just wanted to relay a weird experience we ran into. Tuc/TBOH ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [freebsd-questions] Any experience using cellphone as a modem on FreeBSD?
I have Motorola cellphone with data package on it and FreeBSD laptop. It would be very nice to have internet everywhere. Anybody uses/used cellphone this way? I know internet connectivity can go through the special cable and maybe through Bluetooth. I guess from FreeBSD side it should look like USB modem. I did this with a Motorola StarTAC , a Treo 600, and a Treo 650. The StarTAC cable was serial only, so I just used it as a normal modem. Loved it. The 600 I used both serial and USB, and serial while slower was more reliable. The 650 I did USB and it seemed ok. Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [freebsd-questions] Re: who wrote this
Randomly found this : http://xkcd.com/261/ Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [freebsd-questions] Re: Website
On Sun, 18 Nov 2007 16:34:56 + Frank Shute [EMAIL PROTECTED] wrote: On Sun, Nov 18, 2007 at 09:41:51AM -0600, Chris wrote: ... seems to be going bonkers?! -- Best regards, Chris Your post is a little short of information. http://www.catb.org/~esr/faqs/smart-questions.html HTH Not at all. I assume most on this list are intelligent enough to click on a browser and head to the FBSD site to see it's not functioning. Now as to the cause - who knows. In the mean time you might be able to get to what you want from wwwfe.freebsd.org Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Want to upgrade sendmail in next OS release
I can afford the time to start/stop sendmail here and there, but I have to schedule the maintenance window to upgrade this particular machine. I see. I'd still go for the maintenance window option, unless there is a _very_ pressing need to upgrade Sendmail *today* because of a security update, but you have a point :) Absolutely going to do the proper bring to the next level on it as soon as I can schedule a good maintenance window. % The following files make up the sendmail build/install/runtime % infrastructure in FreeBSD: % % Makefile.inc1 % bin/Makefile % bin/rmail/Makefile % contrib/sendmail/ % [...] As for the merging myself CRINGE. I was just hoping I could cvsup , rebuild what was necessary as if it was a sendmail security alert, and go. I didn't realize everything that went into the point to get it to that point, and what could be missed/broken/etc. Interesting bits of that list are: lib/libmilter/Makefile lib/libsm/Makefile lib/libsmdb/Makefile lib/libsmutil/Makefile libexec/mail.local/Makefile libexec/smrsh/Makefile usr.bin/vacation/Makefile usr.sbin/editmap/Makefile usr.sbin/mailstats/Makefile usr.sbin/makemap/Makefile usr.sbin/praliases/Makefile usr.sbin/sendmail/Makefile usr.sbin/mailwrapper/Makefile I did recompile sm/smutil . We currently aren't actively using milters (Wrote one previously, but not using it anymore), and the libsmdb is possibly something that could have bitten me. As for the rest of the stuff, not parts that either I needed, or felt were critical enough to the process. But something to be very aware of next time, even for another program. For future upgrades of Sendmail, it would probably be a good idea to upgrade the libraries *first* and only when you are done building the new libraries to install everything. The libsm and libsmutil appeared not to by dynamic but static libs, so compiling them first brought me to be able to compile sendmail itself. I did a test to see if it would compile without it, it wouldn't. My instructions DID have me build them first though. It may be possible to build everything with MAKEOBJDIRPREFIX='/usr/obj', and install in one go when you are done with everything, but that's something you should probably experiment a bit with -- preferrably in a test machine, before you do the same on a live system. Isn't /usr/obj where things go anyway? I'm confused as to why your telling me. If your trying to get to that I should have done a buildworld, but then just a make install in certain directories.. Then yes, it was probably bad form, but I couldn't see making tar to be able to compile sendmail. :) In the mean time, I got bored, so I did just that. Seems to be working fine, has processed about 15K emails since. Neat :) Still didn't solve my issue.. Turns out to be an issue with /dev/console and the kernel. I tried to post here about it, but no replies... So took it to arch where I found alot of discussion of it via Google. Thanks for all the insight, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Want to upgrade sendmail in next OS release
Tuc at T-B-O-H.NET wrote: I'd like to upgrade my sendmail version in advance of upgrading to the next release of the OS. I was wondering if I . I don't want to build out of ports because it is set up not to override the base install. I ran into the same problem years ago, with sendmail from ports installing into the /usr/local path, and creating two different versions on the same system, and generally making a Big Mess of itself. What I was afraid of. And I'll admit there is a bunch of ASSUME factor here. When I get on a machine running a certain OS, I have certain expectations of whats base install, and what other has been installed. If I want sendmail, I'd go to /etc/mail . If it was /usr/local/etc/mail, I'd probably sit there for a few edits of the sendmail.cf in there or something until I realized .. OH, on THIS machine its in /usr/local/etc/mail. I hate wasting time. :) But from some posts here a couple months ago, and reading the Makefile, I ~THINK~ it [the port] is now set up to replace the stock sendmail and install into the regular system paths. I'm only like 90% on this, but hopefully someone else will confirm: I think the port will do what you want. From the Makefile : .if exists(${DESTDIR}/etc/mail/mailer.conf) ${PREFIX} == /usr pre-everything:: @${ECHO_CMD} # @${ECHO_CMD} # You can't override the base sendmail this way. @${ECHO_CMD} # your version FreeBSD use mailwrapper. @${ECHO_CMD} # @${ECHO_CMD} # Please install with normal PREFIX @${ECHO_CMD} # and activate the port version with @${ECHO_CMD} # cd ${PORTSDIR}/mail/sendmail make mailer.conf @${ECHO_CMD} # @${FALSE} .endif So atleast for /usr/ports/mail/sendmail, the answer is No. (Unless, I'm reading it wrong, then its either YES, or DEFINITE MAYBE.) Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Want to upgrade sendmail in next OS release
Hi, I'd like to upgrade my sendmail version in advance of upgrading to the next release of the OS. I was wondering if I cvsup the version of the OS I want, then do : # cd /usr/src/lib/libsm # make obj make depend make # cd /usr/src/lib/libsmutil # make obj make depend make # cd /usr/src/usr.sbin/sendmail # make obj make depend make make install if that would be enough? Later on, when I can afford to reboot the machine, I'll go through the : # 1. `cd /usr/src' (or to the directory containing your source tree). # 2. `make buildworld' # 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # 5. `reboot'(in single user mode: boot -s from the loader prompt). # 6. `mergemaster -p' # 7. `make installworld' # 8. `mergemaster' # 9. `reboot' Procedure. I don't want to build out of ports because it is set up not to override the base install. Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
/dev/console and syslog
Hi, I'm having an issue where if I have syslog output something to /dev/console, it comes back to syslog again as a kernel: message. I've verified that this is definitely something with /dev/console, since even if I do : valhalla# echo STRAIGHT TO CONSOLE /dev/console I can : valhalla# grep STRAIGHT TO CONSOLE /var/log/spool Oct 21 16:12:07 valhalla kernel: STRAIGHT TO CONSOLE Is there a way from syslog to write to the console but NOT have it come back to syslog as a kernel: ? Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: syslog marking sendmail output as kernel:
So something IS sending it twice, once at pri 22, no flags, then once at 166 flags 17. (Unless by some configuration flukeyness its reprocessing the line). So IMHO its not getting something improperly terminated. Its getting the line twice at different pri/flags causing it to prepend the Oct 16 00:00:25 valhalla kernel: to the already formatted Oct 16 21:29:00 valhalla sm-mta[31804]: l9H1Srwd031804: SYSERR(root): collect: I/O error on connection from [61.177.142.218], from=[EMAIL PROTECTED] The question is is it because of some weird syslog config, or is it sendmail (8.13.1)? I found the answer, now I just need to know if there is something I can do about. I found out through trail/error/LOTS of Googling that it ISN'T sendmail thats the problem. AND its not syslogd... Its apparently the kernel. On the ARCH list, about a year+1/2 ago, they were talking about things, and PHK made the following comment : Spitting things out on /dev/console today will more likely than not, print stuff on a syscons or serial port which nobody looks at. For that reason, we added a hack to the kernel to make all stuff that went to /dev/console be sent to syslogd(8) So, its the kernel forwarding things BACK to syslogd. Anyone know how to write to the console WITHOUT this happening, or without syslog repeating it? Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Want to upgrade sendmail in next OS release
On 2007-10-21 11:28, Tuc at T-B-O-H.NET [EMAIL PROTECTED] wrote: Hi, I'd like to upgrade my sendmail version in advance of upgrading to the next release of the OS. Why? I can afford the time to start/stop sendmail here and there, but I have to schedule the maintenance window to upgrade this particular machine. # cd /usr/src/lib/libsm # make obj make depend make # cd /usr/src/lib/libsmutil # make obj make depend make # cd /usr/src/usr.sbin/sendmail # make obj make depend make make install This can be done only if you manage to upgrade Sendmail sources and their build-glue manually, by following *exactly* the same process that Gregory Shapiro (our native Sendmail maintainer) uses to do it. So where do I find that? I took those instructions from previous FreeBSD Security announcements against sendmail. You are also missing some parts of Sendmail above, like: /usr/src/bin/rmail /usr/src/usr.bin/vacation /usr/src/etc/sendmail rmail - 99% of delivery is procmail, but good point. vacation - Not used etc/sendmail - I don't use default mc's, and don't mind running older cf's on a newer version. The change between 8.13 and 8.14 wasn't enough for us to need to. The upgrade process used by Gregory Shapiro and the normal 'buildworld' cycle takes care of all that and more. Why would you want to circumvent it, and risk breaking Sendmail? See above... In the mean time, I got bored, so I did just that. Seems to be working fine, has processed about 15K emails since. Turns out it didn't fix my problem I originally thought it might, but in the time since also I've learned what the problem was. (Kernel hack to output /dev/console to syslog. Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: syslog marking sendmail output as kernel:
On Oct 16, 2007, at 6:01 PM, Matt Emmerton wrote: There must be somewhere in the kernel where we're writing to the syslog with an empty error string. The syslog routines expect a newline-terminated character string, so the lack of a newline causes the next entry to be on the same line as the (non-existant) kernel message. Actually, syslog should be just fine without getting a trailing newline; from the manpage: The message is identical to a printf(3) format string, except that `%m' is replaced by the current error message. (As denoted by the global variable errno; see strerror(3).) A trailing newline is added if none is present. Hi Chuck, I'm still not convinced thats the issue. I did a -d on syslog and came up with. With a syslog.conf of : *.err;kern.debug;auth.notice;mail.crit /dev/console *.emerg * *.debug /var/log/spool the syslog is seeing : logmsg: pri 22, flags 0, from valhalla, msg Oct 16 21:29:00 sm-mta[31804]: l9H1Srwd031804: SYSERR(root): collect: I/O error on connection from [61.177.142.218], from=[EMAIL PROTECTED]^M Logging to CONSOLE /dev/console^M Logging to FILE /var/log/spool^M logmsg: pri 166, flags 17, from valhalla, msg Oct 16 21:29:00 valhalla sm-mta[31804]: l9H1Srwd031804: SYSERR(root): collect: I/O error on connection from [61.177.142.218], from=[EMAIL PROTECTED]^M Logging to FILE /var/log/spool^M So something IS sending it twice, once at pri 22, no flags, then once at 166 flags 17. (Unless by some configuration flukeyness its reprocessing the line). So IMHO its not getting something improperly terminated. Its getting the line twice at different pri/flags causing it to prepend the Oct 16 00:00:25 valhalla kernel: to the already formatted Oct 16 21:29:00 valhalla sm-mta[31804]: l9H1Srwd031804: SYSERR(root): collect: I/O error on connection from [61.177.142.218], from=[EMAIL PROTECTED] The question is is it because of some weird syslog config, or is it sendmail (8.13.1)? Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
syslog marking sendmail output as kernel:
Hi, I'm seeing in the logs : Oct 16 00:00:25 valhalla sm-mta[69206]: l9G40Kf5069206: SYSERR(root): collect: I /O error on connection from bd0614db.virtua.com.br, from=[EMAIL PROTECTED] om Oct 16 00:00:25 valhalla kernel: Oct 16 00:00:25 valhalla sm-mta[69206]: l9G40Kf 5069206: SYSERR(root): collect: I/O error on connection from bd0614db.virtua.com .br, from=[EMAIL PROTECTED] I understand there isn't a problem with the first one, but then its logging the second as a kernel: entry. My syslog.conf is : *.err;kern.debug;auth.notice;mail.crit /dev/console *.emerg * *.debug /var/log/spool Is there a way to stop that second entry? It keeps tripping my syslog monitoring program. Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: syslog marking sendmail output as kernel:
I understand there isn't a problem with the first one, but then its logging the second as a kernel: entry. My syslog.conf is : *.err;kern.debug;auth.notice;mail.crit /dev/console *.emerg * *.debug /var/log/spool Is there a way to stop that second entry? It keeps tripping my syslog monitoring program. What release are you running? (Show the output of uname -a) Its a 5.3 system It's just a formatting issue. Oct 16 00:00:25 valhalla sm-mta[69206]: l9G40Kf5069206: SYSERR(root): snip Oct 16 00:00:25 valhalla kernel: added newline Oct 16 00:00:25 valhalla sm-mta[69206]: l9G40Kf5069206: SYSERR(root): snip There must be somewhere in the kernel where we're writing to the syslog with an empty error string. The syslog routines expect a newline-terminated character string, so the lack of a newline causes the next entry to be on the same line as the (non-existant) kernel message. The trouble will be tracking this down. But look at it again... Oct 16 00:02:32 valhalla sm-mta[69570]: l9G42RKM069570: SYSERR(root): collect: I/O error on connection from dsl-189-133-2-240.prod-infinitum.com.mx, from=[EMAIL PROTECTED] Oct 16 00:02:32 valhalla kernel: Oct 16 00:02:32 valhalla sm-mta[69570]: l9G42RKM069570: SYSERR(root): collect: I/O error on connection from dsl-189-133-2-240.prod-infinitum.com.mx, from=[EMAIL PROTECTED] I didn't wrap the lines this time. Its the SAME message. Once normal, ONCE logged as kernel. I would believe something is KNOWINGLY outputting it twice. If it was 2 DIFFERENT messages, I could see it was completely a lack of new line issue. But why would it log the sm-mta output, then *something* part log a kernel message, THEN re-log out the sm-mta message? I tried to tcpdump port 514 to see if I can see sendmail doing it, but it looks like since its on the local machine it might be using syslogs char special device. How would I debug that (Short of running syslog in debug mode) Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: syslog marking sendmail output as kernel:
It's just a formatting issue. Oct 16 00:00:25 valhalla sm-mta[69206]: l9G40Kf5069206: SYSERR(root): snip Oct 16 00:00:25 valhalla kernel: added newline Oct 16 00:00:25 valhalla sm-mta[69206]: l9G40Kf5069206: SYSERR(root): snip There must be somewhere in the kernel where we're writing to the syslog with an empty error string. The syslog routines expect a newline-terminated character string, so the lack of a newline causes the next entry to be on the same line as the (non-existant) kernel message. The trouble will be tracking this down. But look at it again... Oct 16 00:02:32 valhalla sm-mta[69570]: l9G42RKM069570: SYSERR(root): collect: I/O error on connection from dsl-189-133-2-240.prod-infinitum.com.mx, from=[EMAIL PROTECTED] Oct 16 00:02:32 valhalla kernel: Oct 16 00:02:32 valhalla sm-mta[69570]: l9G42RKM069570: SYSERR(root): collect: I/O error on connection from dsl-189-133-2-240.prod-infinitum.com.mx, from=[EMAIL PROTECTED] I didn't wrap the lines this time. Its the SAME message. Once normal, ONCE logged as kernel. I would believe something is KNOWINGLY outputting it twice. If it was 2 DIFFERENT messages, I could see it was completely a lack of new line issue. But why would it log the sm-mta output, then *something* part log a kernel message, THEN re-log out the sm-mta message? I tried to tcpdump port 514 to see if I can see sendmail doing it, but it looks like since its on the local machine it might be using syslogs char special device. How would I debug that (Short of running syslog in debug mode) Sorry to reply to my own message... But I did some debug on syslog. Here is what it sees : logmsg: pri 22, flags 0, from valhalla, msg Oct 16 21:29:00 sm-mta[31804]: l9H1Srwd031804: SYSERR(root): collect: I/O error on connection from [61.177.142.218], from=[EMAIL PROTECTED]^M Logging to CONSOLE /dev/console^M Logging to FILE /var/log/spool^M logmsg: pri 166, flags 17, from valhalla, msg Oct 16 21:29:00 valhalla sm-mta[31804]: l9H1Srwd031804: SYSERR(root): collect: I/O error on connection from [61.177.142.218], from=[EMAIL PROTECTED]^M Logging to FILE /var/log/spool^M So something IS sending it twice, once at pri 22, no flags, then once at 166 flags 17. So its not getting something improperly terminated. Its getting the line twice at different pri/flags causing it to prepend the Oct 16 00:00:25 valhalla kernel: to the already formatted Oct 16 21:29:00 valhalla sm-mta[31804]: l9H1Srwd031804: SYSERR(root): collect: I/O error on connection from [61.177.142.218], from=[EMAIL PROTECTED] Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is Apache rotatelogs efficienct for real world use?
Hi all, Is Apache rotatelogs suitable for handling large volumes of access logs, i.e. around 50K requests per hour at _peak_ time which is 1.2M requests per day. According to Apache website (http://httpd.apache.org/docs/1.3/logs.html#rotation) this becomes about 120MB in size per day. Does somebody have similar experience with rotatelogs? Would you direct me to the proper tool in case it's not efficient enough ? TIA, Bahman We've used /usr/ports/sysutils/cronolog pretty much since the author first wrote it. Something to consider. Tuc/TBOH ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Server rebooting itself
I tried installing 'mbmon' port, but when I run mbmon -d I get: mbmon -d InitMBInfo: Operation not permitted This program needs setuid root!! The SUID flag is set, and I'm running it from root. I am wondering if there is a possible power supply issue, or something like that. ODD STORY... We used to buy servers custom built for us. One of my requirements was it had to be put on the net for me to check remotely. SOMEHOW I got the idea to compile perl to put the machine through its paces. (Don't remember how/why/etc). Once machine I was doing it on and all of a sudden the compile fails. WEIRD. So I try a few more times.. Dies in the same place every time. SHRUG. The integrator swaps this, that, the other things, to the point only 2 things weren't swapped. Case and power supply. Swaps the power supply, thing builds fine. Next machine, it starts failing again. I asked if he used the power supply from last time and he told me YES. I offered to BUY the power supply and throw it in the garbage. SO, long story short (TOO LATE), WEIRD WEIRD STUFF can happen with a seemingly good power supply. Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: time issue
Hello, I recently noticed that my clock was running a few minutes slow, even thoug= h I have ntpd running on the box. Now I'm seeing this on occasion.=20 Aug 24 20:17:10 kanga dovecot: Time just moved backwards by 105 seconds. Th= is might c ause a lot of problems, so I'll just kill myself now. http://wiki.dovecot.org/TimeMov edBackwards Does this suggest a hardware clock issue? Hi, Do you do an ntpdate at boot, or just run ntpd? If just ntpd, you should consider ntpdate, that way the major adjustment is done before most anything else is started up and your dovecot probably will stop committing hara-kiri. Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Donation Manager Needed
Hi, I know its REALLY bad form to feed the trolls, but I found this seriously funny... ESPECIALLY when you look up the WHOIS record for this and it mentions Lagos, Nigeria. Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mplayer, vlc, gimp issues in the past week
mplayer foo.flv results in it crashing with: X11 error: BadAccess (attempt to access private resource denied) MPlayer interrupted by signal 6 in module: decode_video Hey, I started getting that too. The only thing *I* linked it to was I had installed nsplayer. Weird that they'd be associated, but was the only thing I changed recently. As soon as I exit my web browser that stops. Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flash
Very simple. Step 1 Install Linux compatibility layer Step 2 In your rc.conf file type linux_enable=yes Step 3 UNINSTALL linuxpluginwrapper-20051113_8 if you installed in the past Step 4 Install nspluginwrapper-0.9.91.4_2 Step 5 Install Flush 7 from ports Step 6 when you type about:plugin into your Firefox it should list Flush Ok, so now that you've gotten my flash to work... :) (THANKS!) How about Java ;) Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Embedded in 3rd Party Applications and Appliances?
A better approach in my opinion would be to look at specific use cases; the FreeBSD web site includes some information of that sort. One example not listed there is that Juniper Networks routers control plane (JunOS, I think) is based on FreeBSD. I believe NetApp filers are, or atleast at one time were based on FreeBSD. Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dell Wireless All-In-One 966 Printer
There are wireless print servers and access points with printer ports that will let you make most non-host-based printers wireless. Costs more, but gives more choices. The openprinting.org site is a good place to check printer compatibility. Be *VERY* careful if you decide to purchase one. They are very strict about what printers THEY will and won't work with and in exactly what capacity. I bought one companies wireless version, only to be told the printer was only supported on the wired one. I purchased the wired one and it was an ever loving SOB to get working. I ended up just attaching it to a Winderz PC and making the Winderz a print server. Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade modifys EVERY +CONTENTS now?
On Mon, Aug 06, 2007 at 02:01:51AM -0400, Tuc at T-B-O-H.NET wrote: On Mon, Aug 06, 2007 at 12:49:31AM -0400, Tuc at T-B-O-H.NET wrote: On Sun, Aug 05, 2007 at 11:10:42PM -0400, Tuc at T-B-O-H.NET wrote: Hi, I've noticed that recent version(s?) of portupgrade seem to update the +CONTENTS of *EVERY* package on my system, not just the ones it used to actually make a difference to. Is there a way to revert to the old behaviour? With 915 ports (WAS only around 600 before the recent Xorg upgrade) its a killer. On my Soekris with a CF drive, and only 57 ports, its still killing that CF chip. Please show us how you came to this conclusion. Kris script output from a recent update : --- Upgrade of sysutils/bsdstats started at: Mon, 23 Jul 2007 10:52:00 -0400 --- Upgrading 'bsdstats-5.3' to 'bsdstats-5.3_4' (sysutils/bsdstats) OK? [yes] --- Build of sysutils/bsdstats started at: Mon, 23 Jul 2007 10:52:09 -0400 --- Building '/usr/ports/sysutils/bsdstats' === Cleaning for bsdstats-5.3_4 === Vulnerability check disabled, database not found === Extracting for bsdstats-5.3_4 === Patching for bsdstats-5.3_4 === Configuring for bsdstats-5.3_4 --- Build of sysutils/bsdstats ended at: Mon, 23 Jul 2007 10:52:10 -0400 (cons umed 00:00:00) --- Updating dependency info --- Modifying /var/db/pkg/Hermes-1.3.3_2/+CONTENTS Is it actually writing to these files, or just examining them to see whether they need to be updated? Kris I was truthfully only going by what I believed it was saying, that it was really modifying them. I upgraded fetchyahoo tonite after I emailed this, and if I do an ls -lt in /var/db/pkg I see : -rw-r--r-- 1 root wheel 15891456 Aug 6 00:59 pkgdb.db drwxr-xr-x 2 root wheel 512 Aug 6 00:59 fetchyahoo-2.10.9 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Compress-Zlib-2.005 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Crypt-SSLeay-0.56 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-IO-Compress-Zlib-2.005 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-libwww-5.805 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 openssl-0.9.8e_1 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Authen-SASL-2.10_1 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Digest-MD5-2.36 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-MIME-Tools-5.420_1,2 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Net-1.21,1 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Compress-Raw-Zlib-2.005 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Digest-HMAC-1.01 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-GSSAPI-0.24 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-HTML-Parser-3.56 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-HTML-Tagset-3.10 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-IO-Compress-Base-2.005 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Convert-BinHex-1.119 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Digest-1.15 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-IO-stringy-2.110 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-MIME-Base64-3.07 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Mail-Tools-1.74 (etc) drwxr-xr-x 2 root wheel 512 Aug 6 00:58 bsdstats-5.3_4 drwxr-xr-x 2 root wheel 512 Aug 6 00:58 Hermes-1.3.3_2 drwxr-xr-x 2 root wheel 512 Aug 6 00:58 ImageMagick-6.3.3.5_1 drwxr-xr-x 2 root wheel 512 Aug 6 00:58 ORBit-0.5.17_3 drwxr-xr-x 2 root wheel 512 Aug 6 00:58 ORBit2-2.14.8 drwxr-xr-x 2 root wheel 512 Aug 6 00:58 OpenEXR-1.4.0 drwxr-xr-x 2 root wheel 512 Aug 6 00:58 OpenSP-1.5.2 drwxr-xr-x 2 root wheel 512 Aug 6 00:58 Xaw3d-1.5E_2 drwxr-xr-x 2 root wheel 512 Aug 6 00:58 aalib-1.4.r5_3 I thought the timestamp of a directory only changes if a file was added or modified in the directory. If I do the ls -lt */\+CONTENTS, I see : -rw-r--r-- 1 root wheel2386 Aug 6 00:59 fetchyahoo-2.10.9/+CONTENTS -rw-r--r-- 1 root wheel1113 Aug 6 00:59 xset-1.0.2/+CONTENTS -rw-r--r-- 1 root wheel 976 Aug 6 00:59 xsetmode-1.0.0/+CONTENTS -rw-r--r-- 1 root wheel1003 Aug 6 00:59 xsetpointer-1.0.0/+CONTENTS -rw-r--r-- 1 root wheel1204 Aug 6 00:59 xsetroot-1.0.1/+CONTENTS -rw-r--r-- 1 root wheel1597 Aug 6 00:59 xsm-1.0.1/+CONTENTS -rw-r--r-- 1 root wheel1149 Aug 6 00:59 xstdcmap-1.0.1/+CONTENTS -rw-r--r-- 1 root wheel5124 Aug 6 00:59 xterm-228/+CONTENTS -rw-r--r-- 1 root wheel1157 Aug 6 00:59 xtrans-1.0.3/+CONTENTS -rw-r--r-- 1 root wheel3097 Aug 6 00:59 xtrap-1.0.2/+CONTENTS -rw-r--r-- 1
Re: Re[2]: portupgrade modifys EVERY +CONTENTS now?
On August 06, 2007 at 02:55AM Tuc at T-B-O-H.NET wrote: [snip} Ok. But I part of my question to people , and reason for posting it here, is the old Is anyone else seeing this. When/if you use portupgrade, does it do the same for you? Or is it just something that I happened some how to inherit on atleast 2 of my machines? I have noticed the same behavior. I have some 815 ports installed; however, I had not noticed any significant deterioration in performance. Ok, so someone else is seeing it... Its not performance I'm worried about though. For the laptop, its just sitting and watching it go through 915 files for an update to a small program that doesn't rely on anything but perl. For my Soekris, it IS bothersome. CF cards have a limited life, and all those rewrites decrease it. So I guess its the new way it does it then. Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
portupgrade modifys EVERY +CONTENTS now?
Hi, I've noticed that recent version(s?) of portupgrade seem to update the +CONTENTS of *EVERY* package on my system, not just the ones it used to actually make a difference to. Is there a way to revert to the old behaviour? With 915 ports (WAS only around 600 before the recent Xorg upgrade) its a killer. On my Soekris with a CF drive, and only 57 ports, its still killing that CF chip. Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firewall rules / Proper directory
I've made a /etc/rc.firewall.local I may rename it in the future to stand out more, but we'll see how it goes for now. Neat. Have fun with the new firewall ruleset then. Thanks. I wish it wasn't necessary, but the server runs MySQL and if I turn TCPwrappers on, someone just trying to connect a few times creates a DOS on it. I've tried before to bring this up with the MySQL people with no luck. Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Firewall rules / Proper directory
Hi, I'm developing firewall rules for a machine, and I'm wondering what the standard is for putting my version of an ipfw firewall_script? I'd normally drop it onto /usr/local/etc somewhere, but my /u/l/e is an NFS filesystem, and according to rcorder it starts ipfw WAY before the nfsclient. I don't want to stomp on /etc/rc.firewall, I like having it as a reference and one less thing to have to worry about mergemaster overwriting. Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firewall rules / Proper directory
On 2007-08-02 12:36, Tuc at T-B-O-H.NET [EMAIL PROTECTED] wrote: Hi, I'm developing firewall rules for a machine, and I'm wondering what the standard is for putting my version of an ipfw firewall_script? I usually save my rules in '/etc/pf.conf' or '/etc/ipfw.rules'. It's not like the '/etc' directory is a please do not touch area. Thanks... I always DO try to keep things out of /etc if at all possible, I regard that as system space, and if I do trespass into it its usually a file or directory previously allocated for that (/etc/rc.conf, /etc/mail/*). I've made a /etc/rc.firewall.local I may rename it in the future to stand out more, but we'll see how it goes for now. Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPv6 Tunnel Brokers?
I second that recommendation. The ISP in question is Hurricane Electric and the process is 100% web driven. It took me less than a day to get a gif tunnel up and an ipv6 /64 assignment. They are FAIRLY response to service issues (I had problems getting to FTP1.FREEBSD.ORG for a bit, and within 8 hours of putting a ticket in it was resolved). They also show exact configuration for 1/2 a dozen different OS/routers. Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Xorg upgrade (wrong library) issue [more info]
Hi, And yes, I did do according to the instructions : Script started on Mon Jul 23 00:05:00 2007 himinbjorg# setenv XORG_UPGRADE yes himinbjorg# portupgrade -Rfi libXft --- Session started at: Mon, 23 Jul 2007 00:05:34 -0400 --- Reinstallation of x11/xproto started at: Mon, 23 Jul 2007 00:05:38 -0400 --- Reinstalling 'xproto-7.0.10' (x11/xproto) OK? [yes] --- Build of x11/xproto started at: Mon, 23 Jul 2007 00:05:42 -0400 So not sure why I'm running into this and the rest of the world didn't. If the path to the old one is before the new one, no one should have gotten it to work... Or did I do something wrong or have a special situation? Thanks, Tuc Tuc at T-B-O-H.NET wrote: snip himinbjorg# ldd work/bdftopcf-1.0.1/bdftopcf work/bdftopcf-1.0.1/bdftopcf: libXfont.so.1 = /usr/X11R6/lib/libXfont.so.1 (0x2808) libc.so.5 = /lib/libc.so.5 (0x280e6000) WHY when the cc step is stating -L/usr/local/lib is it bring the Xfont from /usr/X11R6/lib? Because /usr/X11R6 is a symlink to /usr/local, drwxr-xr-x 16 root wheel 512 Jul 22 22:02 /usr/X11R6 Not yet... I haven't finished the upgrade. I'm still mid upgrade. I won't go any further until I find out whats happening. So thats not the case. and both appear in the library path hints, so the first one listed gets used when resolving the library paths at runtime. So how did everyone else in the world get away without running into this? I see that it initially was put into /usr/X11R6 as part of xorg-libraries-6.9.0 . The additional Xfont came about because : 1) portupgrade was upgrading xorg-fonts-encodings-6.9.0_1 to encodings-1.0.2,1 2) portupgrade then realized it needed mkfontscale so started to work on that 3) mkfontscale needed libfontenc 4) With those 2 resolved, it then went for bdftopcf 5) bdftopcf needed libXfont So at this point it was installing libXfont when it already had the one from xorg-libraries-6.9.0 there, hence the problem apparently started. (Hint: 'strings /var/run/ld-elf.so.hints' and 'ldconfig -r') Ok, so what do I do now? I'm mid build, I don't have X installed or running, and I have atleast 1894 font files that are incorrect at the current moment I still don't get why I ran into this and others didn't. Did I miss a step that would have removed the xorg-libraries? Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Xorg upgrade (wrong library) issue
Hi, I'm following the directions to upgrade Xorg (REALLY I AM, PROMISE!) and I'm seeing this fly by my screen : /usr/local/bin/bdftopcf -t lubR12-ISO8859-13.bdf | gzip lubR12-ISO8859-13.pcf.gz /libexec/ld-elf.so.1: /usr/X11R6/lib/libXfont.so.1: Undefined symbol serverClient /usr/local/bin/ucs2any lubR14.bdf /usr/local/lib/X11/fonts/util/map-ISO8859-13 ISO8859-13 Writing 192 characters into file 'lubR14-ISO8859-13.bdf'. /usr/local/bin/bdftopcf -t lubR14-ISO8859-13.bdf | gzip lubR14-ISO8859-13.pcf.gz /libexec/ld-elf.so.1: /usr/X11R6/lib/libXfont.so.1: Undefined symbol serverClient /usr/local/bin/ucs2any lubR18.bdf /usr/local/lib/X11/fonts/util/map-ISO8859-13 ISO8859-13 Writing 192 characters into file 'lubR18-ISO8859-13.bdf'. /usr/local/bin/bdftopcf -t lubR18-ISO8859-13.bdf | gzip lubR18-ISO8859-13.pcf.gz /libexec/ld-elf.so.1: /usr/X11R6/lib/libXfont.so.1: Undefined symbol serverClient /usr/local/bin/ucs2any lubR19.bdf /usr/local/lib/X11/fonts/util/map-ISO8859-13 ISO8859-13 Writing 192 characters into file 'lubR19-ISO8859-13.bdf'. I won't go any further as I'm sure this is indicating a problem. But where/how? -r-xr-xr-x 1 root wheel 5308 Jul 23 13:18 /usr/local/bin/bdftopcf /usr/local/bin/bdftopcf: libXfont.so.1 = /usr/X11R6/lib/libXfont.so.1 (0x2807f000) libc.so.5 = /lib/libc.so.5 (0x280e5000) Looks like its picking up libXfont.so.1 from the /usr/X11R6 : -rwxr-xr-x 1 root wheel 424992 Oct 26 2006 /usr/X11R6/lib/libXfont.so.1 and not from the local : -rwxr-xr-x 1 root wheel 432705 Jul 23 13:18 /usr/local/lib/libXfont.so.1 What could cause it? How do I fix it mid build? Is there anything else I should be looking at? Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Xorg upgrade (wrong library) issue [more info]
Hi, I'm following the directions to upgrade Xorg (REALLY I AM, PROMISE!) and I'm seeing this fly by my screen : /usr/local/bin/bdftopcf -t lubR12-ISO8859-13.bdf | gzip lubR12-ISO8859-13.pcf.gz /libexec/ld-elf.so.1: /usr/X11R6/lib/libXfont.so.1: Undefined symbol serverClient /usr/local/bin/ucs2any lubR14.bdf /usr/local/lib/X11/fonts/util/map-ISO8859-13 ISO8859-13 Writing 192 characters into file 'lubR14-ISO8859-13.bdf'. So I went to x11-fonts/bdftopcf. I set my XORG_UPGRADE variable (Just incase) and did : === Vulnerability check disabled, database not found === Extracting for bdftopcf-1.0.1 = MD5 Checksum OK for xorg/app/bdftopcf-1.0.1.tar.bz2. = SHA256 Checksum OK for xorg/app/bdftopcf-1.0.1.tar.bz2. === Patching for bdftopcf-1.0.1 === bdftopcf-1.0.1 depends on file: /usr/local/libdata/pkgconfig/xfont.pc - found === bdftopcf-1.0.1 depends on executable in : pkg-config - found === Configuring for bdftopcf-1.0.1 configure: WARNING: you should use --build, --host, --target checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking if xorg-macros used to generate configure is at least 1.1... yes, 1.1.5 checking for i386-portbld-freebsd5.5-gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking for i386-portbld-freebsd5.5-pkg-config... no checking for pkg-config... /usr/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for BDFTOPCF... yes checking build system type... i386-portbld-freebsd5.5 checking host system type... i386-portbld-freebsd5.5 configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands === Building for bdftopcf-1.0.1 make all-am if cc -DHAVE_CONFIG_H -I. -I. -I.-I/usr/local/include -I/usr/local/include/freetype2 -O -pipe -MT bdftopcf-bdftopcf.o -MD -MP -MF .deps/bdftopcf-bdftopcf.Tpo -c -o bdftopcf-bdftopcf.o `test -f 'bdftopcf.c' || echo './'`bdftopcf.c; then mv -f .deps/bdftopcf-bdftopcf.Tpo .deps/bdftopcf-bdftopcf.Po; else rm -f .deps/bdftopcf-bdftopcf.Tpo; exit 1; fi cc -O -pipe -o bdftopcf bdftopcf-bdftopcf.o -L/usr/local/lib -lXfont sed -e 's|__vendorversion__|bdftopcf 1.0.1 X Version 11|' -e 's|__xorgversion__|bdftopcf 1.0.1 X Version 11|' -e 's|__xservername__|Xorg|g' -e 's|__xconfigfile__|xorg.conf|g' -e 's|__projectroot__|/usr/local|g' -e 's|__apploaddir__||' -e 's|__appmansuffix__|1|g' -e 's|__libmansuffix__|3|g' -e 's|__adminmansuffix__|8|g' -e 's|__miscmansuffix__|7|g' -e 's|__filemansuffix__|5|g' bdftopcf.man bdftopcf.1 himinbjorg# ldd work/bdftopcf-1.0.1/bdftopcf work/bdftopcf-1.0.1/bdftopcf: libXfont.so.1 = /usr/X11R6/lib/libXfont.so.1 (0x2808) libc.so.5 = /lib/libc.so.5 (0x280e6000) WHY when the cc step is stating -L/usr/local/lib is it bring the Xfont from /usr/X11R6/lib? Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Xorg upgrade (wrong library) issue [more info]
Tuc at T-B-O-H.NET wrote: snip himinbjorg# ldd work/bdftopcf-1.0.1/bdftopcf work/bdftopcf-1.0.1/bdftopcf: libXfont.so.1 = /usr/X11R6/lib/libXfont.so.1 (0x2808) libc.so.5 = /lib/libc.so.5 (0x280e6000) WHY when the cc step is stating -L/usr/local/lib is it bring the Xfont from /usr/X11R6/lib? Because /usr/X11R6 is a symlink to /usr/local, drwxr-xr-x 16 root wheel 512 Jul 22 22:02 /usr/X11R6 Not yet... I haven't finished the upgrade. I'm still mid upgrade. I won't go any further until I find out whats happening. So thats not the case. and both appear in the library path hints, so the first one listed gets used when resolving the library paths at runtime. So how did everyone else in the world get away without running into this? I see that it initially was put into /usr/X11R6 as part of xorg-libraries-6.9.0 . The additional Xfont came about because : 1) portupgrade was upgrading xorg-fonts-encodings-6.9.0_1 to encodings-1.0.2,1 2) portupgrade then realized it needed mkfontscale so started to work on that 3) mkfontscale needed libfontenc 4) With those 2 resolved, it then went for bdftopcf 5) bdftopcf needed libXfont So at this point it was installing libXfont when it already had the one from xorg-libraries-6.9.0 there, hence the problem apparently started. (Hint: 'strings /var/run/ld-elf.so.hints' and 'ldconfig -r') Ok, so what do I do now? I'm mid build, I don't have X installed or running, and I have atleast 1894 font files that are incorrect at the current moment I still don't get why I ran into this and others didn't. Did I miss a step that would have removed the xorg-libraries? Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: plz help!
Second, is there some special reason you would want to install the 4.8 version?It is long ago obsolete. I would suggest installing 6.2-RELEASE unless there is a very good reason to go with 4.8. Older laptops for one... :) (Actually, mine can go to 5.4 ... Once I try 5.5, it locks up on the ata1 probe) Tuc/TBOH ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ata1 probe causes lockup
Hi, Having a problem installing 5.5 on a Toshiba 2805-S301 laptop. (I *HAVE* to load 5.5 on it for various reasons). I can load 5.4 perfectly, but as soon as I go to 5.5, the kernel won't boot. If I boot in 5.4 with verbose, I get Jun 10 12:12:18 gevjon kernel: atapci0: Intel PIIX4 UDMA33 controller port 0xfff0-0x,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 5.1 on pci0 Jun 10 12:12:18 gevjon kernel: atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xfff0 Jun 10 12:12:18 gevjon kernel: ata0: channel #0 on atapci0 Jun 10 12:12:18 gevjon kernel: atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0 Jun 10 12:12:18 gevjon kernel: atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6 Jun 10 12:12:18 gevjon kernel: ata0: reset tp1 mask=03 ostat0=50 ostat1=00 Jun 10 12:12:18 gevjon kernel: ata0-master: stat=0x50 err=0x01 lsb=0x00 msb=0x00 Jun 10 12:12:18 gevjon kernel: ata0-slave: stat=0x00 err=0x01 lsb=0x00 msb=0x00 Jun 10 12:12:18 gevjon kernel: ata0: reset tp2 stat0=50 stat1=00 devices=0x1ATA_MASTER Jun 10 12:12:18 gevjon kernel: ata0: [MPSAFE] Jun 10 12:12:18 gevjon kernel: ata1: channel #1 on atapci0 Jun 10 12:12:18 gevjon kernel: atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170 Jun 10 12:12:18 gevjon kernel: atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376 (5.5 STOPS HERE) Jun 10 12:12:18 gevjon kernel: ata1: reset tp1 mask=03 ostat0=50 ostat1=00 Jun 10 12:12:18 gevjon kernel: ata1-master: stat=0x00 err=0x01 lsb=0x14 msb=0xeb Jun 10 12:12:18 gevjon kernel: ata1-slave: stat=0x00 err=0x01 lsb=0x14 msb=0xeb Jun 10 12:12:18 gevjon kernel: ata1: reset tp2 stat0=00 stat1=00 devices=0xcATAPI_SLAVE,ATAPI_MASTER Jun 10 12:12:18 gevjon kernel: ata1: [MPSAFE] Jun 10 12:12:18 gevjon kernel: uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0xff80-0xff9f irq 11 at device 5.2 on pci0 Jun 10 12:12:18 gevjon kernel: uhci0: Reserved 0x20 bytes for rid 0x20 type 4 at 0xff80 Jun 10 12:12:18 gevjon kernel: uhci0: [GIANT-LOCKED] Jun 10 12:12:18 gevjon kernel: usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0 Jun 10 12:12:18 gevjon kernel: usb0: USB revision 1.0 Jun 10 12:12:18 gevjon kernel: uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Jun 10 12:12:18 gevjon kernel: uhub0: 2 ports with 2 removable, self powered Jun 10 12:12:18 gevjon kernel: pci0: bridge at device 5.3 (no driver attached) Any idea how to get 5.5 to get past that atapci0: Reserved part? Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to replace perl-threaded with perl?
Hi, I installed lang/perl5.8 and set it to be threaded. I'm having problems getting mod_perl working, and I know at one time atleast that it was because of using threaded perl. How do I portupgrade and tell it to : 1) Uninstall perl-threaded-5.8.8 2) Install perl 5.8 3) Make sure no previous shared libs are saved 4) Recompile everything that depended previously on perl-threaded and now depends on perl 5.8 I looked at portupgrade, and for #1/#2 I see the -o syntax, but am not sure if it works correctly in this instance. For #3, it would be the -u syntax, correct? And then for #4 be -fr? Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fresh OS/Perl{Threaded}/Apache 1.3.37/modperl segfault
Hi, Installed a fresh 5.5-R-p12 (I *NEED* to run 5.5, sorry) with apache+mod_ssl+mod_deflate-1.3.37+2.8.28 perl-threaded-5.8.8 mod_perl-1.30 When I try to start it I get a segfault. The backtrace is : (gdb) bt #0 0x286e9350 in Perl_newSVpvn () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so #1 0x2873e1bd in PerlIO_open () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so #2 0x2868736a in S_open_script () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so #3 0x28684267 in S_parse_body () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so #4 0x286837fe in perl_parse () from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so #5 0x2861ddb4 in perl_startup () from /usr/local/libexec/apache/libperl.so #6 0x2861d82a in perl_module_init () from /usr/local/libexec/apache/libperl.so #7 0x0805683e in ap_init_modules () #8 0x0805f5df in main () Is this because I'm using threaded perl? Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ports wrangling
Hi, I have a machine in the midst of taking a dirt nap. I bought a replacement and want to start loading all my ports on it. I have a few questions. Is there a way to get a report of what my first level ports are (Those that don't depend on anyone, and aren't depended by anyone), then my second level ports (Those that depend on others, but aren't depended on), etc. Is there a way to get a report per port what files were ACTUALLY installed and where? (Or do I just do a find -newer) ? Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to get watchdogd from biting me!?
Hi, I'm starting it with : watchdogd -s 15 -t 120 -e logger I'm gonna hurl And sometimes within a few minutes it reboots, and other times its hours... But at no time was the system inactive (I've been on it 3 of 4 reboots) and its never logged that for me either. What am I doing wrong?? Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Is there a way from serial TTY to get system attention?
Hi, I have a Soekris 4801 I bought about a year + 1/2 ago. It runs FreeBSD (5.5) off a CF card with a USB flash to help it. It ran great for 10 months, but over the last 8 months its been locking up on me. I put that in quotes because I'm not sure if its the OS or the unit. I do see POWER onand the NET light blinking. No ERROR or DISK. When I try to serial tty in, I get nothing. Is there any way anyone knows to find out if the OS has gone south, or the unit is not operating properly. Is there some sort of key sequence to ask FreeBSD if its running or to give SOME sort of life or something? My only access to it is via a serial TTY. Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD on IDE Flash disk drive
Hello Derek, You will want the swap to some other device such a a regular hard drive. A flash drive can get worn out cells and fail. Also when just reading the flash drive? I would like to write to it only when it is absolutely necessary (configuration change). I think 2 million configuration changes should be enough? If it lasts only year, no problem I can exchange it every now and then. I just hope it is more damage-proof than ordinary hard drives (for example at power outages). Bye, Nejc The answer is NO... (IMNSHO) I have a few Soekris servers running FreeBSD 5.5 at a *REMOTE* location (When I say remote, I don't mean the next city, or next state, or even a few states away... I mean a few states away *AND* you need a 4WD to drive 9 miles to get to it. Its ~500 feet from the Atlantic Ocean in an area without any paved roads). I have CF cards in them for the primary, the more durable/rugged of the SanDisk line and USB for swap/ports/squid data. It is *STILL* only rated for about 10K R/W operations. I also find when the facility DOES lose power (We are still building it out) that the CF and USB seem MUCH MORE prone to having issues coming back. I had thought to use CF/USB because they wouldn't crash and be more tolerant of bad conditions (heat and salt air humidity). I'm pretty much giving up and switching to notebook IDE drives the next time I am there. Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Enable type 28 (SHM) in base NTPD
Hi, I'm trying to enable the type 28 clock, SHM, in the FreeBSD 5.X base package. It seems to have only a few clocks available, and thats not one. I've been google'n for 1/2 an hour with no luck. Should I just install from ports? Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems with 5.5-REL FTP install
Hi, I'm running into a problem trying to install 5.5-RELEASE from FTP. I've tried a few sites, and none of them seem to have the crypto package. Is there something I can do to supplement/replace this need? Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with 5.5-REL FTP install
On Sat, Nov 18, 2006 at 02:31:36PM -0500, Tuc at T-B-O-H.NET wrote: Hi, =20 I'm running into a problem trying to install 5.5-RELEASE from FTP. I've tried a few sites, and none of them seem to have the crypto package. Is there something=20 I can do to supplement/replace this need? Why do you think you need it? crypto has been an integral part of the base for some time now. Don't look at me! I select the Minimal install and sysinstall seems to be going after it. :) Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with 5.5-REL FTP install
On Sat, Nov 18, 2006 at 03:15:40PM -0500, Tuc at T-B-O-H.NET wrote: On Sat, Nov 18, 2006 at 02:31:36PM -0500, Tuc at T-B-O-H.NET wrote: Hi, =3D20 I'm running into a problem trying to install 5.5-RELEASE from FTP. I've tried a few sites, and none of them seem to have the crypto package. Is there something=3D20 I can do to supplement/replace this need? =20 Why do you think you need it? crypto has been an integral part of the base for some time now. =20 Don't look at me! I select the Minimal install and sysinstall seems to be going after it. :) sysinstall from what version? I suspect not 5.5 :-) Oh. Ok. :-/ Yea, its 5.3. I'm trying to install to a CF card and my 5.5 system locks when I do. I run FreeSBIE (5.3) it works fine. I guess I'll install 5.3 and then upgrade to 5.5 . :-/ I hate to do all these CF writes. Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: win32 codecs not fixed?
Yousef Adnan Raffah wrote: I have tried to portsnap this morning in order to see if the security issue with the multimedia/win32-codecs was resolved, which seems like it is not. What does usually happen when such a thing is happening, does the package/port stay restricted until the developer/port owner fix the security issue or does something else happens? Run portaudit -F to fetch the most current database. The Issue has been removed some time ago by adding the option to not install quicktime (see http://www.freshports.org/multimedia/win32-codecs ) Probably needs to remove /var/db/ports/win32-codecs/options and then reconfigure it w/o Quicktime. Then it won't give the error anymore. Is there a better way to have a port forget its previous options? Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Extra line from quoting
Hi, I run a cvsup and if there is any output, I send an email to myself. For some reason, in recent weeks I'm getting an email with just a blank line. The command is : /usr/local/bin/cvsup -g -L 2 -h $(/usr/local/bin/fastest_cvsup -c us -Q) /usr/local/etc/ports-supfile /usr/local/machine/logs/updateports.log 21 I can do it with backticks too, and that too does it. If I do each command on its own, I don't get it. Any idea what/where this is happening? Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
TAP usage questions
Hi, I need to use a TAP interface for a project. Right now I have the item using the TAP configured with A.B.C.2 and tap0 as A.B.C.1, with net.inet.ip.forwarding: 1 set in sysctl. So now I have the ability to route to the item on the .2 without issue. But now I want to have the IP of the item to be in the same subnet at my wi0. Is there a way to do this without much hassle? Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Tunnels to Cisco through NAT?
On Oct 20, 2006, at 10:42 AM, Tuc at T-B-O-H.NET wrote: Is anyone aware of a tunnel between FreeBSD and Cisco that can go through a NAT on the Cisco side? If you update the Cisco firmware with the latest IOS+VPN version, you ought to gain proper NAT-T support which will work with most IPSEC/ VPN implementations. Otherwise, if you only need to implement a single VPN tunnel, you can use something like OpenVPN, which only needs you to forward a single UDP port (1194)... Ok, I've : 1) Updated the IOS to c2500-ik8os-l.122-32 2) I've installed ipsec-tools on FreeBSD after applying the NAT-T patch (freebsd6-natt.diff) to 5.5-RELEASE-p8 and recompiling. 3) Set up on FreeBSD : ifconfig gre0 unplumb ifconfig gre0 create ifconfig gre0 192.168.4.1 192.168.4.2 netmask 0x link1 up ifconfig gre0 tunnel 192.136.64.116 69.28.185.2 4) Set up on Cisco : interface Tunnel0 ip address 192.168.4.2 255.255.255.0 tunnel source Ethernet0 tunnel destination 192.136.64.116 ! interface Ethernet0 ip address 69.28.185.2 255.255.255.240 So now I can ping across the GRE, which is really nice. So now the next part is getting IPSEC over it And I'm again stuck. I'm trying to use : http://www.cisco.com/en/US/tech/tk583/tk372/technologies_configuration_example09186a0080094bff.shtml as a reference, but there seems to be alot more going on that really confuses me. Has anyone gone this route? Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fatal error 'Spinlock called when not threaded.'
Hi, Thanks... Any idea where to look for the answer? I did find references, but to UPDATING that didn't exist. Wondered how all of a sudden items I haven't recompiled in a while started having it. Thanks, Tuc This is a FAQ; you have something linked to two thread libraries. Kris On Wed, Oct 25, 2006 at 12:18:57PM -0400, Tuc at T-B-O-H.NET wrote: Hi, =20 Out of no where I started to get : =20 Fatal error 'Spinlock called when not threaded.' at line 87 in file /usr/= src/lib /libpthread/thread/thr_spinlock.c (errno =3D 0) =20 On alot of programs. I thought it had to do with GTK/GNOME so I did : =20 pkgdb -Ff portupgrade -rf pkg-config\* =20 as per the 20061014 instructions. I got to ORBit2.0 and it did it again. The compile was called as : =20 configure:22617: cc -o conftest -O -pipe -I/usr/local/include -L/usr/lo= cal/lib conftest.c -pthread -Wl,--export-dynamic -L/usr/local/lib -lgobject-2.0 = -lgthre ad-2.0 -lgmodule-2.0 -lglib-2.0 -liconv5 =20 and gave : =20 Fatal error 'Spinlock called when not threaded.' at line 87 in file /usr/= src/lib /libpthread/thread/thr_spinlock.c (errno =3D 0) =20 =20 If I look at all the libraries : =20 -lgobject-2.0 : New as of Oct 25 09:53 -lgthread-2.0 : New as of Oct 25 09:53 -lgmodule-2.0 : New as of Oct 25 09:53 -lglib-2.0: New as of Oct 25 09:53 =20 So I'm stuck now... Help =20 My /etc/libmap.conf only does mapping by file, not generically : =20 [/usr/X11R6/lib/linux-flashplugin7/libflashplayer.so] [/usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so] [/usr/local/Acrobat7/Browser/intellinux/nppdf.so] [/usr/X11R6/lib/linux-mozilla/plugins/nphelix.so] [/usr/local/jdk1.4.2/jre/lib/i386/libJ3D.so] [/usr/local/jdk1.4.2/jre/lib/i386/libj3daudio.so] [/usr/local/jdk1.4.2/jre/lib/i386/libJ3DUtils.so] [/usr/local/jdk1.4.2/jre/lib/i386/libmlib_jai/libmlib_jai.so] [/usr/local/jdk1.4.2/jre/lib/i386/libclib_jiio.so] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems compiling : libtool: link: cannot find the library `/usr/X11R6/lib/libpangocairo-1.0.la'
Hi, Trying to compile wireshark (Which I had running previously) and I get : libtool: link: cannot find the library `/usr/X11R6/lib/libpangocairo-1.0.la' or unhandled argument `/usr/X11R6/lib/libpangocairo-1.0.la' The reason it can't find it is its in /usr/local/lib now. But why is wireshark thinking its in /usr/X11R6/lib? I saw something about GNOME trying to change the location of libraries, but I don't know what it is that might be telling it the wrong location. Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems compiling : libtool: link: cannot find the
On 27/10/2006 00:37, Tuc at T-B-O-H.NET wrote: Hi, =20 Trying to compile wireshark (Which I had running previously) and I get : =20 libtool: link: cannot find the library `/usr/X11R6/lib/libpangocairo-1.= 0.la' or unhandled argument `/usr/X11R6/lib/libpangocairo-1.0.la' =20 The reason it can't find it is its in /usr/local/lib now. But why is wireshark thinking its in /usr/X11R6/lib? I saw something about GNOME trying to change the location of libraries, but I don't know what it is that might be telling it the wrong location. I've seen that few times already, basically some gnome's libraries weren't upgraded properly (not only pango). For a quick fix you can either find out which one is to blame or upgrade everything on which broken port depends, in case of wireshark: # portupgrade -fR wireshark Ok, thanks, will try that(See below) The proper method, however, is described in /usr/ports/UPDATING (20061014) and use that if you're not sure what above quick method can brake ;) I've done it twice already... I'm on my third time, but this time I'm scripting the session since when I do 3 or 4 of them fail. 2-3 from fetch issues, and one for an uninstall issue. I need to find out better why the uninstall/fetch issues are happening and then progress from there. Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems compiling : libtool: link: cannot find the library
On Thu, 26 Oct 2006, Tuc at T-B-O-H.NET wrote: Hi, Trying to compile wireshark (Which I had running previously) and I get : libtool: link: cannot find the library `/usr/X11R6/lib/libpangocairo-1.0.la' or unhandled argument `/usr/X11R6/lib/libpangocairo-1.0.la' The reason it can't find it is its in /usr/local/lib now. But why is wireshark thinking its in /usr/X11R6/lib? I saw something about GNOME trying to change the location of libraries, but I don't know what it is that might be telling it the wrong location. Thanks, Tuc You've got some pre-GNOME-2.16 librar{y/ies} which references /usr/X11R6/lib/libpangocairo-1.0.la. Just check which one (I had some non-port and had to use grep: grep -l /usr/X11R6/lib/libpango `find /usr/X11R6/lib /usr/local/lib -name *.la` ) and reinstall it. BTW, you can get this error with other libs (GTK2, for one) as well. Hope this helps, Vladimir Hi, Thank you very much, thats a great way to do it. I've never used the grep -l . The list of what it found is below. I have a feeling that the gtk-2.0 is the one thats failing the uninstall. Perhaps then other ones are skipped because of it. Thanks, Tuc himinbjorg# grep -l /usr/X11R6/lib/libpango `find /usr/X11R6/lib /usr/local/lib -name *.la` /usr/X11R6/lib/gaim/docklet.la /usr/X11R6/lib/gaim/gaim-remote.la /usr/X11R6/lib/gaim/gestures.la /usr/X11R6/lib/gaim/ticker.la /usr/X11R6/lib/gaim/history.la /usr/X11R6/lib/gaim/iconaway.la /usr/X11R6/lib/gaim/notify.la /usr/X11R6/lib/gaim/spellchk.la /usr/X11R6/lib/gaim/timestamp.la /usr/X11R6/lib/libgtk-x11-2.0.la /usr/X11R6/lib/gtk-2.0/2.4.0/loaders/svg_loader.la /usr/X11R6/lib/gtk-2.0/2.4.0/immodules/im-xim.la /usr/X11R6/lib/gtk-2.0/2.4.0/immodules/im-am-et.la /usr/X11R6/lib/gtk-2.0/2.4.0/immodules/im-cedilla.la /usr/X11R6/lib/gtk-2.0/2.4.0/immodules/im-cyrillic-translit.la /usr/X11R6/lib/gtk-2.0/2.4.0/immodules/im-inuktitut.la /usr/X11R6/lib/gtk-2.0/2.4.0/immodules/im-ipa.la /usr/X11R6/lib/gtk-2.0/2.4.0/immodules/im-thai-broken.la /usr/X11R6/lib/gtk-2.0/2.4.0/immodules/im-ti-er.la /usr/X11R6/lib/gtk-2.0/2.4.0/immodules/im-ti-et.la /usr/X11R6/lib/gtk-2.0/2.4.0/immodules/im-viqr.la /usr/X11R6/lib/gtk-2.0/2.4.0/engines/libpixmap.la /usr/X11R6/lib/gtk-2.0/2.4.0/engines/libclearlooks.la /usr/X11R6/lib/gtk-2.0/2.4.0/engines/libcrux-engine.la /usr/X11R6/lib/gtk-2.0/2.4.0/engines/libhcengine.la /usr/X11R6/lib/gtk-2.0/2.4.0/engines/libindustrial.la /usr/X11R6/lib/gtk-2.0/2.4.0/engines/liblighthouseblue.la /usr/X11R6/lib/gtk-2.0/2.4.0/engines/libmetal.la /usr/X11R6/lib/gtk-2.0/2.4.0/engines/libmist.la /usr/X11R6/lib/gtk-2.0/2.4.0/engines/libredmond95.la /usr/X11R6/lib/gtk-2.0/2.4.0/engines/libsmooth.la /usr/X11R6/lib/gtk-2.0/2.4.0/engines/libthinice.la /usr/X11R6/lib/gtk-2.0/2.4.0/engines/libsvg.la /usr/X11R6/lib/gtk-2.0/modules/libgail.la /usr/X11R6/lib/libglade/2.0/libcanvas.la /usr/X11R6/lib/libglade-2.0.la /usr/X11R6/lib/libgailutil.la /usr/X11R6/lib/librsvg-2.la /usr/X11R6/lib/libgtkhtml-2.la /usr/X11R6/lib/libgtkspell.la /usr/X11R6/lib/libgnomecanvas-2.la /usr/X11R6/lib/libgimpwidgets-2.0.la /usr/X11R6/lib/libgimpui-2.0.la /usr/X11R6/lib/libgdk-x11-2.0.la ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fatal error 'Spinlock called when not threaded.'
On Thu, Oct 26, 2006 at 06:33:09PM -0400, Tuc at T-B-O-H.NET wrote: Hi, =20 Thanks... Any idea where to look for the answer? I did find references, but to UPDATING that didn't exist. Wondered how all=20 of a sudden items I haven't recompiled in a while started having it. You had old packages linked against an old version of the library from a previous revision of FreeBSD, and they only broke when your recent update changed one of them to link to both versions. FreeBSD himinbjorg.tucs-beachin-obx-house.com 5.5-RELEASE-p2 FreeBSD 5.5-RELEASE-p2 #0: Tue Jun 20 15:27:48 EDT 2006 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/HIMINBJORG53noagp i386 As you see, I haven't updated my base OS in 4 months. portupgrade -fa is the most convenient way to solve this. That scares me to no ever loving end. I usually end up with issues. I'm doing a portupgrade -rf pkg-config\* for the 3rd time right now. It hasn't worked properly the other 2 times. Some packages had fetch errors, and one had uninstall issues. Whenever I've done an upgrade before, ruby and perl usually end up broken pretty bad. Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fatal error 'Spinlock called when not threaded.'
Hi, Out of no where I started to get : Fatal error 'Spinlock called when not threaded.' at line 87 in file /usr/src/lib /libpthread/thread/thr_spinlock.c (errno = 0) On alot of programs. I thought it had to do with GTK/GNOME so I did : pkgdb -Ff portupgrade -rf pkg-config\* as per the 20061014 instructions. I got to ORBit2.0 and it did it again. The compile was called as : configure:22617: cc -o conftest -O -pipe -I/usr/local/include -L/usr/local/lib conftest.c -pthread -Wl,--export-dynamic -L/usr/local/lib -lgobject-2.0 -lgthre ad-2.0 -lgmodule-2.0 -lglib-2.0 -liconv5 and gave : Fatal error 'Spinlock called when not threaded.' at line 87 in file /usr/src/lib /libpthread/thread/thr_spinlock.c (errno = 0) If I look at all the libraries : -lgobject-2.0 : New as of Oct 25 09:53 -lgthread-2.0 : New as of Oct 25 09:53 -lgmodule-2.0 : New as of Oct 25 09:53 -lglib-2.0: New as of Oct 25 09:53 So I'm stuck now... Help My /etc/libmap.conf only does mapping by file, not generically : [/usr/X11R6/lib/linux-flashplugin7/libflashplayer.so] [/usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so] [/usr/local/Acrobat7/Browser/intellinux/nppdf.so] [/usr/X11R6/lib/linux-mozilla/plugins/nphelix.so] [/usr/local/jdk1.4.2/jre/lib/i386/libJ3D.so] [/usr/local/jdk1.4.2/jre/lib/i386/libj3daudio.so] [/usr/local/jdk1.4.2/jre/lib/i386/libJ3DUtils.so] [/usr/local/jdk1.4.2/jre/lib/i386/libmlib_jai/libmlib_jai.so] [/usr/local/jdk1.4.2/jre/lib/i386/libclib_jiio.so] Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: GRE to Cisco
On 10/24/06, Tuc at T-B-O-H.NET [EMAIL PROTECTED] wrote: Hi, I was wondering if anyone has used GRE tunnel extensively. I'm trying to connect a FreeBSD system to a Cisco router. For testing ONLY I'm trying to do it to two devices on the same subnet. When I bring the gre up, I can't ping the other side. I have my FreeBSD at 192.168.3.21 and gre0 looks like : gre0: flags=9051UP,POINTOPOINT,RUNNING,LINK0,MULTICAST mtu 1476 tunnel inet 192.168.3.21 -- 192.168.3.149 inet6 fe80::212:3fff:fedd:58b2%gre0 prefixlen 64 scopeid 0x7 inet 192.168.3.21 -- 192.168.3.149 netmask 0x My Cisco is at 192.168.3.149 and looks like : interface Tunnel0 ip unnumbered Ethernet0 tunnel source Ethernet0 tunnel destination 192.168.3.21 ! interface Ethernet0 ip address 192.168.3.149 255.255.255.0 Ideas? I'm not very experienced with this, but if your routing table lists 192.168.3.149 as reachable through the tunnel, then the tunnel itself can't function, naturally. It looks like the man page and lack of sleep made this a disaster... I've changed things around : FREEBSD: ifconfig wi0 192.168.3.21 netmask 255.255.255.0 up ifconfig gre0 unplumb ifconfig gre0 create ifconfig gre0 192.168.4.1 192.168.4.2 netmask 0xff00 link0 up ifconfig gre0 tunnel 192.168.3.21 192.168.3.149 Cisco: interface Tunnel0 ip address 192.168.4.2 255.255.255.0 tunnel source Ethernet0 tunnel destination 192.168.3.21 ! interface Ethernet0 ip address 192.168.3.149 255.255.255.0 But still can't ping 192.168.4.2 . Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
GRE to Cisco
Hi, I was wondering if anyone has used GRE tunnel extensively. I'm trying to connect a FreeBSD system to a Cisco router. For testing ONLY I'm trying to do it to two devices on the same subnet. When I bring the gre up, I can't ping the other side. I have my FreeBSD at 192.168.3.21 and gre0 looks like : gre0: flags=9051UP,POINTOPOINT,RUNNING,LINK0,MULTICAST mtu 1476 tunnel inet 192.168.3.21 -- 192.168.3.149 inet6 fe80::212:3fff:fedd:58b2%gre0 prefixlen 64 scopeid 0x7 inet 192.168.3.21 -- 192.168.3.149 netmask 0x My Cisco is at 192.168.3.149 and looks like : interface Tunnel0 ip unnumbered Ethernet0 tunnel source Ethernet0 tunnel destination 192.168.3.21 ! interface Ethernet0 ip address 192.168.3.149 255.255.255.0 Ideas? Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Tunnels to Cisco through NAT?
Hi, Is anyone aware of a tunnel between FreeBSD and Cisco that can go through a NAT on the Cisco side? Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Tunnels to Cisco through NAT?
On Oct 20, 2006, at 10:42 AM, Tuc at T-B-O-H.NET wrote: Is anyone aware of a tunnel between FreeBSD and Cisco that can go through a NAT on the Cisco side? If you update the Cisco firmware with the latest IOS+VPN version, you ought to gain proper NAT-T support which will work with most IPSEC/ VPN implementations. Otherwise, if you only need to implement a single VPN tunnel, you can use something like OpenVPN, which only needs you to forward a single UDP port (1194)... Hi, Thanks for the reply. I guess my question wasn't phrased exact enough... The long of it is that I have a low end Cisco router sitting at a location behind a consumer grade broadband router, connected to a satellite connection. The satellite does not allow direct TCP inbound connections, so anything I use has to be OpenVPN. I have a Soekris box with FreeBSD 5.5 running OpenVPN via UDP to a server in the datacenter, and it works fine and good. The issue is I want to set up another tunnel (The cisco is actually a 2509, 8 port serial. This new tunnel is for when the Soekris is down to be able to administer it via the serial port). So I'm looking for an application where if you want to think in reverse... The FreeBSD box needs to be able to get to the Cisco through a NAT (And only via UDP). Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSDstats Project v2.0 ...
To enable the port, edit or create /etc/periodic.conf and add this line: monthly_statistics_enable=yes Shouldn't it be /etc/periodic.conf.local since its not part of the base? Thats where I've put other things that install periodics that aren't part of the base. Tuc/TBOH ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nologin: Attempted login by root on UNKNOWN
Tuc at T-B-O-H.NET wrote: Jul 18 14:21:02 asgard nologin: Attempted login by root on UNKNOWN Jul 18 14:21:02 asgard kernel: Jul 18 14:21:02 asgard nologin: Attempted login by root on UNKNOWN I'm not sure who/what/where to start looking. Ideas? Hey Darek, Good to hear from NYI. :) Heh, are you a customer, or just familiar with the company? NYIIX peer and 25B compatriot. SSH is TCPWrapper'd, and only *1* machine in the entire datacenter can access it (Typical jump box configuration). http://lists.debian.org/debian-wnpp/2006/05/msg00092.html Confused a bit by this reference, but its been a long day. Does root have /bin/nologin for the shell? No. If it does, then the UNKNOWN would refer to the terminal, Just the way the 'nologin' binary is set to log to syslog. Basically means that someone tried to log in as root, but before they could even provide a password, the nologin binary kicked them off. That's why the terminal type is set to UNKNOWN because it hadn't been set yet. Are you sure? If I ssh to the machine as tuc, then su to root I see : $ id uid=1001(tuc) gid=1001(tuc) groups=1001(tuc), 0(wheel) $ su - spamd Password: su: Sorry $ su - Password: asgard# su - spamd This account is currently not available. asgard# grep nologin /var/log/spool Jul 19 01:52:47 asgard nologin: Attempted login by tuc on /dev/ttyp0 Jul 19 01:52:47 asgard kernel: Jul 19 01:52:47 asgard nologin: Attempted login by tuc on /dev/ttyp0 In my example, shouldn't it be saying spamd since thats who I tried to log on as? You'll have to figure out how that person is getting access as apparently they are reaching the box. I'm just not seeing it. netstat isn't showing any TCP connections out of the ordinary... Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nologin: Attempted login by root on UNKNOWN
Tuc at T-B-O-H.NET wrote: Jul 18 14:08:47 asgard nologin: Attempted login by root on UNKNOWN Something running *as* root is trying to su to an account which has /bin/nologin as a shell e.g. # su avahi cartman nologin: Attempted login by alex on /dev/ttyp7 avahi:*:558:558:Avahi Daemon User:/nonexistent:/sbin/nologin Thats what I was thinking... If it were running detached from a terminal (in the background; started from an rc script) then it would have no terminal to report, hence UNKNOWN. Makes sense. :) Tracking down what, is another matter. ps uagx and kill processes one by one until the message stops! Or try ktracing suspects for a less drastic approach. I'm pretty sure it has to do with my sendmail. Why all of a sudden its done this I'm not sure. I shut down sendmail for an hour and the messages stopped. When I started it back up, it started again. I'm running : sendmail / procmail / SpamAssassin If I was to ktrace sendmail, what would I be looking for? What options do I pass to it to get all the sub processes? Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nologin: Attempted login by root on UNKNOWN
Jul 18 14:21:02 asgard nologin: Attempted login by root on UNKNOWN Jul 18 14:21:02 asgard kernel: Jul 18 14:21:02 asgard nologin: Attempted login by root on UNKNOWN I'm not sure who/what/where to start looking. Ideas? Hey Darek, Good to hear from NYI. :) I believe that I've seen this before. If I remember correctly, the UNKNOWN part happens because the connection was closed before sshd or the system got info on the client's host. This is probably not very accurate, but the overall result was that it was not cause for concern. The only thing that this shows is that ssh is open to anyone, so you might want to close it with a firewall, or within /etc/ssh/sshd_config with the AllowUsers directive. Also within that file, you probably should have PermitRootLogin set to no. SSH is TCPWrapper'd, and only *1* machine in the entire datacenter can access it (Typical jump box configuration). Also look at the output of 'last' and 'last -f /var/log/wtmp.0 ... wtmp.N' just to make sure root didn't log in. Nope, root didn't. Its just really weird that all of a sudden it started @1:30 today and hasn't stopped since. Tuc/TBOH ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nologin: Attempted login by root on UNKNOWN
Jul 18 14:08:47 asgard nologin: Attempted login by root on UNKNOWN Jul 18 14:08:47 asgard kernel: Jul 18 14:08:47 asgard nologin: Attempted login by root on UNKNOWN Jul 18 14:21:02 asgard nologin: Attempted login by root on UNKNOWN Jul 18 14:21:02 asgard kernel: Jul 18 14:21:02 asgard nologin: Attempted login by root on UNKNOWN I'm not sure who/what/where to start looking. Ideas? What does /var/log/auth.log show? Nothing since I send everything to a single file and a syslog server. *.debug /var/log/spool *.debug @syslog.t-b-o-h.net *.err;kern.debug;auth.notice;mail.crit /dev/console *.emerg * Tuc/TBOH ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Possible to go from 5.5 to 5.4?
Tuc wrote: Hi, I recently upgraded from 5.4 to 5.5, and now if I leave it in X for a few minutes it ends up locking up, usually when the screen blanks on its own. I wanted to go backwards to see if that behaviour goes away. I wasn't sure if there was a risk doing this. Thanks, Tuc Have you tried recompiling X? That might help. Take a look at sysutils/portupgrade, if you haven't used that before. I think going backward is unwise, there must be a better way. Complete recompile of X, and anything supporting X, as well as nvidia driver and reboot Still happening.. Suggestions where/what to do next, or guidance for going back to 5.4? Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Possible to go from 5.5 to 5.4?
On Fri, Jun 16, 2006 at 05:08:30PM -0400, Scott Tuc Ellentuch at T-B-O-H wrote: 6) portupgrade -Ri of anything that was xorg*, nvidia* If you didn't use -f for nvidia-driver then it may not have rebuilt. Well, my nvidia-driver was out of date as is. So I didn't need to do an -f. Same with alot of my xorg*. I probably should have been smarter (TOO LATE!!) to upgrade my nvidia first, run for a while THEN go to 5.5 . So it did get rebuilt. And when I portdowngraded and then portupgraded -f'd it, (I did mention that, right?) it would have re-installed it anyway. Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]