php5-extentsions broken
After installing the php5-extensions port, I get lots of the following errors when trying to start Apache: PHP Warning: PHP Startup: U\x89\xe5WVS\x83\xec\x14\xe8: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHPcompiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0 Apache and php are working fine - I can get to the phpinfo page without problems. Its just that the extensions aren't being found for somereason. I have treid adding their location to the extensions_dir directive in php.ini with no luck. I have done a portupgrade rRfo lang/php5 php5 which should upgrade everything related to php5 and it does, but somehow the extension are not being found. Any ideas? -- Mike Loiterman GrantAdler Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: php5-extentsions broken
Skylar Thompson mailto:[EMAIL PROTECTED] wrote: Mike Loiterman wrote: After installing the php5-extensions port, I get lots of the following errors when trying to start Apache: PHP Warning: PHP Startup: U\x89\xe5WVS\x83\xec\x14\xe8: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHPcompiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0 Apache and php are working fine - I can get to the phpinfo page without problems. Its just that the extensions aren't being found for somereason. I have treid adding their location to the extensions_dir directive in php.ini with no luck. I have done a portupgrade rRfo lang/php5 php5 which should upgrade everything related to php5 and it does, but somehow the extension are not being found. Any ideas? Is your extensions_dir variable set properly in php.ini? - Skylar Yes, I mentioned that in my original message. I think the problem was that I had debug turned off when I built php. For some reason, it needs to be on for some of my modules to work correctly. Others work fine with it off. Any ideas about this? -- Mike Loiterman GrantAdler Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sendmail version change with p2?
I just upgrade to 6.1 p2 with the Sendmail security update, but my Sendmail version remains unchanged at 3.13.6. Shouldn't it have been bumped to 3.13.7? How can I check that my Sendmail installation is safe from the new DOS problem? -- Mike Loiterman GrantAdler Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ports upgrade policy
This is my supfile: *default host=cvsup1.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs *default tag=RELENG_6_0 *default delete use-rel-suffix src-all *default tag=. ports-all doc-all I have been using it like this for years, obviously changing to the latest release tag. I haven't had problem and I'm not having problems, but my question is this: Is it advisable to sync my source to RELEASE, but to CURRENT for ports? Typically, I upgade my ports a few days after they get updated so I'm always running the latest version, but would it be better to sync both ports and source to RELEASE? Obviously, it depends, somewhat, on personal choice, but in terms of stablity and correctness which is better? -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Ports upgrade policy
Erik Trulsson mailto:[EMAIL PROTECTED] wrote: On Tue, Mar 14, 2006 at 04:18:13AM -0400, Duane Whitty wrote: Mike Loiterman wrote: This is my supfile: *default host=cvsup1.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs *default tag=RELENG_6_0 *default delete use-rel-suffix src-all *default tag=. ports-all doc-all I have been using it like this for years, obviously changing to the latest release tag. I haven't had problem and I'm not having problems, but my question is this: Is it advisable to sync my source to RELEASE, but to CURRENT for ports? Typically, I upgade my ports a few days after they get updated so I'm always running the latest version, but would it be better to sync both ports and source to RELEASE? Hi Mike, It would be nice I guess if ports were tagged like src but they are not. Basically HEAD is all there is vis-a-vis tags. You can specify a specific date however. Ports *are* tagged for each release, but they are not branched. Yes, I know, which is why I asked the question...which is better? -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Odd file created in /
I have a file in / called -P. It is a socket file I believe I created by mistake while trying to get mysql, spamassassin, or something similar to work. How can I check for sure to make sure it isn't something important? -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Odd file created in /
Ceri Davies mailto:[EMAIL PROTECTED] wrote: On 18/2/06 10:27, Mike Loiterman [EMAIL PROTECTED] wrote: I have a file in / called -P. It is a socket file I believe I created by mistake while trying to get mysql, spamassassin, or something similar to work. How can I check for sure to make sure it isn't something important? Check to see if anything has it open currently. netstat -a -f unix will do that for you. Then rename it. Then wait a week before unlinking it. Ceri Nothing had it open. Took me a second to figure out the -- option so that mv would rename it. :) How do I unlink it? -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Mysterious reboot
Olivier Nicole mailto:[EMAIL PROTECTED] wrote: /var/log/messages just shows a user connectig via pop, and then the next line is the machine booting. Does the reboot correspond to the rainstorm? Do you have UPS? If time matches and no UPS I'd highly suspect a micro power faillure, that other machines could over go, but that this specific machine could not handle. It could be enough that a capacitor in the power supply of the machine is drying out and the micro cut could not be filtered as well as it used to be. I'd not expect laptopn of TV to be affected by such micro shortage. Olivier I suppose the power could be an issue, but there is another machine plugged into the same surgeprotector that is EXTERMELY sensitive to power flucuations and it didn't go down and neither did anything else in my whole house. I don't think it was a power issue, but could be wrong. Looking through debug.log, it looks like right before the machine rebooted, I was hit with some sort of mini-DOS mail attack. At 23:27:54 my grey-list milter processed exactly 801 messages fom a variety of different ips, by 23:28:09 the machine had rebooted. Something similar happened around 01:34:46 when I got 796 messages from a variety of ips. I have throttling enabled in my mail config, and the machine is quite robust in terms of memory and specs, so I'm not sure why this happened. I also use a milter-greylist. I think the milter kicks in before the sendmail throttling, so that maybe why it crashed. Any ideas how to harden against more attacks? -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Mysterious reboot
Alex de Kruijff mailto:[EMAIL PROTECTED] wrote: On Thu, Feb 16, 2006 at 01:46:19AM -0600, Mike Loiterman wrote: Afte being up for more than two months, I just noticed that my ver reliable and stable server mysteriously rebooted. I've had the same hardware and system setup for more than a year and haven't ever experienced anything like this before. I haven't added any new hardware in a very long time. I did upgrade mysql this morning via portupgrade, however. The system appears to have crashed, as dmesg shows that the various filesystems weren't unmounted correctly upon reboot, but aside from that single error, nothing else points to what the problem was. /var/log/messages just shows a user connectig via pop, and then the next line is the machine booting. We are having a pretty good rainstorm, but nothing else seems to have lost power and I have several other machines in this space that did not go down (servers, TVs, XBOX, laptops, etc). The machine seems to have gone down around 11:23 PM, so I checked /etc/cron to see if I had scheduled a job to be run at that time, but there are no jobs scheduled to be run on or near this time. Where can I begin to look for more clues as to why this machine seems to have crashed? Where would a kernel core dump be or a mysql core dump? You can look at /var/log/messages and find core files with 'find / -name \*.core' I suspect the cause lies with your hardware. There might be something broken that causes your computer to reboot spontaneous when it gets busy or hot and other times it just goes oke. I just ran (/usr/ports/sysutils/stress/) stress -c 2 which floored the CPU for the last five hours, while compiling emacs over and over. No crashes. No problems. CPU load was over 8 at some points. No files found in the search for *.core. I've also been observing my system...even when mail load from these mini-attacks is heaviest, maybe 800 messages a second, the system load barly goes over idle. There appeas to have been two such attacks. It's a 2.8 ghz machine with 3 gigs of RAM, it should be well able to handle that load even for sustained periods of time. The only real explanation was some sort of power fluctuation. I'll continue to monitor it carefully, but there doesn't seem to be anyway to definitivly identify the cause, but the machine crashing under load is looking less and less likely. If there is a problem, I suspect it will show up again within the next week or so, otherwise I'll chalk it up to a random event in the unverse. -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Mysterious reboot
Wouter Spierenburg mailto:[EMAIL PROTECTED] wrote: Try adding the following to /etc/sysctl.conf: kern.maxfiles=65535 kern.maxfilesperproc=2 net.inet.tcp.delayed_ack=0 net.inet.ip.maxfragpackets=10 kern.ipc.somaxconn=2048 then 'cd' to /usr/src/sys/i386/conf cp GENERIC SERVER vi SERVER and add the following lines at the bottom of the file: options TCPDEBUG options RANDOM_IP_ID options TCP_DROP_SYNFIN options NMBCLUSTERS=65535 options NMBUFS=40960 save the file, and follow these steps: /usr/sbin/config -g SERVER cd ../../compile/SERVER make depend make make install #if all went well: reboot The system will then come back up with tuned parameters, allowing more in/outbound connections and better packethandling. Before I make these changes, I would like to just get a second opinion from the list about their value and what impact, if any, they might have on system stability, compatibility, etc. Wouter, please do not take offense to this! I sincerely appreciate your advice, but this is a production system, so I'm careful about what changes I make when I don't explicitly understand what is going on. I'm not familure with a few of those options. I also noticed that that you used the old (traditional) way of recompiling the kernel. Is that necessary or can I use the newer `make buildkernel KERNCONF=x make installkernel KERNCONF=x'. I'm simply more comfortable with that way... Thanks to all -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Mysterious reboot
Giorgos Keramidas mailto:[EMAIL PROTECTED] wrote: On 2006-02-16 14:32, Mike Loiterman [EMAIL PROTECTED] wrote: Wouter Spierenburg mailto:[EMAIL PROTECTED] wrote: Try adding the following to /etc/sysctl.conf: kern.maxfiles=65535 kern.maxfilesperproc=2 net.inet.tcp.delayed_ack=0 net.inet.ip.maxfragpackets=10 kern.ipc.somaxconn=2048 then 'cd' to /usr/src/sys/i386/conf cp GENERIC SERVER vi SERVER and add the following lines at the bottom of the file: options TCPDEBUG options RANDOM_IP_ID options TCP_DROP_SYNFIN options NMBCLUSTERS=65535 options NMBUFS=40960 save the file, and follow these steps: /usr/sbin/config -g SERVER cd ../../compile/SERVER make depend make make install #if all went well: reboot The system will then come back up with tuned parameters, allowing more in/outbound connections and better packethandling. Before I make these changes, I would like to just get a second opinion from the list about their value and what impact, if any, they might have on system stability, compatibility, etc. Wouter, please do not take offense to this! I sincerely appreciate your advice, but this is a production system, so I'm careful about what changes I make when I don't explicitly understand what is going on. I'm not familure with a few of those options. I'm not sure if the options are useful for your setup, so I'm not going to comment for or against them. Well, the server is an email/web server primarily. Not a huge load, but I want to be hardened against DOS attacks...would these help? -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Mysterious reboot
Olivier Nicole mailto:[EMAIL PROTECTED] wrote: I've also been observing my system...even when mail load from these mini-attacks is heaviest, maybe 800 messages a second, the system load barly goes over idle. There appeas to have been two such attacks. It's a 2.8 ghz machine with 3 gigs of RAM, it should be well able to handle that load even for sustained periods of time. Did you do some disk stress test? The hardware problem could be somwhere else than the MB. Or network if your anti-spam rely on some network check? It would be nice that you set-up your system (how?) so that it does not reboot in case of failure, so you'd have some information on the screen. Olivier Yes, I ran the unixbench port (2 instances of it) as well as the stress port for about 4 hours. I think the hardware is fine, I believe, at least at this point, that it was simply a micro-power failure. Its been up now around 20 hours. I'll continue to monitor it closely, but it looks like a fluke. -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mysterious reboot
Afte being up for more than two months, I just noticed that my ver reliable and stable server mysteriously rebooted. I've had the same hardware and system setup for more than a year and haven't ever experienced anything like this before. I haven't added any new hardware in a very long time. I did upgrade mysql this morning via portupgrade, however. The system appears to have crashed, as dmesg shows that the various filesystems weren't unmounted correctly upon reboot, but aside from that single error, nothing else points to what the problem was. /var/log/messages just shows a user connectig via pop, and then the next line is the machine booting. We are having a pretty good rainstorm, but nothing else seems to have lost power and I have several other machines in this space that did not go down (servers, TVs, XBOX, laptops, etc). The machine seems to have gone down around 11:23 PM, so I checked /etc/cron to see if I had scheduled a job to be run at that time, but there are no jobs scheduled to be run on or near this time. Where can I begin to look for more clues as to why this machine seems to have crashed? Where would a kernel core dump be or a mysql core dump? -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Natively supported inexpensive RAID cards
Gayn Winters mailto:[EMAIL PROTECTED] wrote: [mailto:[EMAIL PROTECTED] On Behalf Of Mike Loiterman Sent: Friday, February 03, 2006 11:57 PM To: freebsd-questions@freebsd.org Subject: Natively supported inexpensive RAID cards I'm looking to setup a 4 drive SATA RAID 5 file server for mp3, avi, and other media using 6.0-RELEASE. It appears that the supported SATA RAID cards listed in /stand/help/HARDWARE.TXT are all over $400.00. That's hard for to justify for this application, unless there are no other choices. I'd like to keep this simple, so if the price for that is $450 bucks, well, I guess I'll have to deal with that. But, I figured it wouldn't hurt to ask if are there any well supported SATA RAID cards (meaning setup automatically recognizes an array setup in the RAID card's BIOS as one drive) in the $100 to $200 range. I don't need anything other than 5, but other levels would be nice for future use. Even better would be a motherboard with onboard RAID that FreeBSD supported natively. If there aren't any such cards or motherboards, are there relatively easy work-arounds using less expensive cards? Have you considered software RAID5? -gayn Bristol Systems Inc. 714/532-6776 www.bristolsystems.com I have, and I use it for a RAID 1 server I'm running now. For this application I think hardware makes it more sense. My gut feel is that it will probably be faster, for RAID 5, to do it in hardware. Am I wrong? -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Dumping /usr to samba mounted drive
I'm having trouble dumping /usr to a samba mounted drive. The process dies over processing 4 gigs worth of data. My other partitions dump fine, but they're all less than 4 gigs. This is the error I'm getting: DUMP: Date of this level 0 dump: Fri Feb 3 03:31:05 2006 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/ar0s1f (/usr) to /mnt/backup/usr-dump-l0 DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 10943850 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: 6.73% done, finished in 1:09 at Fri Feb 3 04:45:29 2006 DUMP: 14.92% done, finished in 0:57 at Fri Feb 3 04:38:12 2006 DUMP: 22.98% done, finished in 0:50 at Fri Feb 3 04:36:27 2006 DUMP: 31.37% done, finished in 0:43 at Fri Feb 3 04:34:56 2006 DUMP: write error 4194320 blocks into volume 1 The same thing happens, although I get different errors, if I use bzip2 or gunzip to compress the partition as it is being dumped. It obviously gets a lot further since it's compressed, but it still dies right around 4 gigs. How can I fix this? Is this a samba limitation? -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Dumping /usr to samba mounted drive
Mike Loiterman mailto:[EMAIL PROTECTED] wrote: I'm having trouble dumping /usr to a samba mounted drive. The process dies over processing 4 gigs worth of data. My other partitions dump fine, but they're all less than 4 gigs. This is the error I'm getting: DUMP: Date of this level 0 dump: Fri Feb 3 03:31:05 2006 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/ar0s1f (/usr) to /mnt/backup/usr-dump-l0 DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 10943850 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: 6.73% done, finished in 1:09 at Fri Feb 3 04:45:29 2006 DUMP: 14.92% done, finished in 0:57 at Fri Feb 3 04:38:12 2006 DUMP: 22.98% done, finished in 0:50 at Fri Feb 3 04:36:27 2006 DUMP: 31.37% done, finished in 0:43 at Fri Feb 3 04:34:56 2006 DUMP: write error 4194320 blocks into volume 1 The same thing happens, although I get different errors, if I use bzip2 or gunzip to compress the partition as it is being dumped. It obviously gets a lot further since it's compressed, but it still dies right around 4 gigs. How can I fix this? Is this a samba limitation? -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E BTW, I'm running: FreeBSD 6.0-RELEASE Samba 2.2.12_2 And transfering to unix formated drived mounted under Mac OS X 10.4.4. Would upgrading to Samba 3.x help? -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Dumping /usr to samba mounted drive
Gayn Winters mailto:[EMAIL PROTECTED] wrote: [mailto:[EMAIL PROTECTED] On Behalf Of Mike Loiterman Sent: Friday, February 03, 2006 6:05 AM To: freebsd-questions@freebsd.org Subject: RE: Dumping /usr to samba mounted drive Mike Loiterman mailto:[EMAIL PROTECTED] wrote: I'm having trouble dumping /usr to a samba mounted drive. The process dies over processing 4 gigs worth of data. My other partitions dump fine, but they're all less than 4 gigs. This is the error I'm getting: DUMP: Date of this level 0 dump: Fri Feb 3 03:31:05 2006 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/ar0s1f (/usr) to /mnt/backup/usr-dump-l0 DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 10943850 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: 6.73% done, finished in 1:09 at Fri Feb 3 04:45:29 2006 DUMP: 14.92% done, finished in 0:57 at Fri Feb 3 04:38:12 2006 DUMP: 22.98% done, finished in 0:50 at Fri Feb 3 04:36:27 2006 DUMP: 31.37% done, finished in 0:43 at Fri Feb 3 04:34:56 2006 DUMP: write error 4194320 blocks into volume 1 The same thing happens, although I get different errors, if I use bzip2 or gunzip to compress the partition as it is being dumped. It obviously gets a lot further since it's compressed, but it still dies right around 4 gigs. How can I fix this? Is this a samba limitation? BTW, I'm running: FreeBSD 6.0-RELEASE Samba 2.2.12_2 And transfering to unix formated drived mounted under Mac OS X 10.4.4. Would upgrading to Samba 3.x help? -- Mike Loiterman Have you tried generating a file of size 4GB on your mac mini? http://www.freebsdforums.org/forums/showthread.php?p=203909#post203909 Changing the format of the drive to Mac OS Extended fixed the problem. UFS has a 4 gig file size limit. -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Dumping /usr to samba mounted drive
Gayn Winters mailto:[EMAIL PROTECTED] wrote: From: Mike Loiterman [mailto:[EMAIL PROTECTED] Sent: Friday, February 03, 2006 12:46 PM To: [EMAIL PROTECTED]; freebsd-questions@freebsd.org Subject: RE: Dumping /usr to samba mounted drive Gayn Winters mailto:[EMAIL PROTECTED] wrote: [mailto:[EMAIL PROTECTED] On Behalf Of Mike Loiterman Sent: Friday, February 03, 2006 6:05 AM To: freebsd-questions@freebsd.org Subject: RE: Dumping /usr to samba mounted drive Mike Loiterman mailto:[EMAIL PROTECTED] wrote: I'm having trouble dumping /usr to a samba mounted drive. The process dies over processing 4 gigs worth of data. My other partitions dump fine, but they're all less than 4 gigs. This is the error I'm getting: DUMP: Date of this level 0 dump: Fri Feb 3 03:31:05 2006 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/ar0s1f (/usr) to /mnt/backup/usr-dump-l0 DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 10943850 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: 6.73% done, finished in 1:09 at Fri Feb 3 04:45:29 2006 DUMP: 14.92% done, finished in 0:57 at Fri Feb 3 04:38:12 2006 DUMP: 22.98% done, finished in 0:50 at Fri Feb 3 04:36:27 2006 DUMP: 31.37% done, finished in 0:43 at Fri Feb 3 04:34:56 2006 DUMP: write error 4194320 blocks into volume 1 The same thing happens, although I get different errors, if I use bzip2 or gunzip to compress the partition as it is being dumped. It obviously gets a lot further since it's compressed, but it still dies right around 4 gigs. How can I fix this? Is this a samba limitation? BTW, I'm running: FreeBSD 6.0-RELEASE Samba 2.2.12_2 And transfering to unix formated drived mounted under Mac OS X 10.4.4. Would upgrading to Samba 3.x help? -- Mike Loiterman Have you tried generating a file of size 4GB on your mac mini? http://www.freebsdforums.org/forums/showthread .php?p=203909#post203909 Changing the format of the drive to Mac OS Extended fixed the problem. UFS has a 4 gig file size limit. Mike, I'm glad you got it working. What was Apple ever thinking with a 4GB limit? -gayn Did Apple develop the UFS spec or just implement it? -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Dumping /usr to samba mounted drive
Chuck Swiger mailto:[EMAIL PROTECTED] wrote: Mike Loiterman wrote: Gayn Winters mailto:[EMAIL PROTECTED] wrote: [ ... ] Changing the format of the drive to Mac OS Extended fixed the problem. UFS has a 4 gig file size limit. Mike, I'm glad you got it working. What was Apple ever thinking with a 4GB limit? -gayn Did Apple develop the UFS spec or just implement it? Apple's UFS implementation is a big-endian variant inherited from a mixture of Sun and NEXTSTEP code back in the late 80's and early 90's, later seasoned by BSD-4.4Lite. The tradeoffs between HFS+ and UFS are sufficiently complex that neither is a clear winner for general purpose uses, although UFS tends to do well for lots and lots of little files-- think a squid cache, maildir mail spool, tradspool INN layout of Usenet articles; HFS+ by contrast is Unicode-aware and thus supports international filenames sanely, and the B-tree data structure handles volume-wide operations more efficiently, with a lot less head motion, than the highly-recursive tree traversal that UFS mandates. If you're setting up very large filesystems, greater than 10 terabytes, the Xsan product is a solution that even a non-expert admin can get working without fighting too hard. I haven't had the hardware to try to configure a comparably large filesystem using UFS under FreeBSD, but anecdotes suggest that going above either 2TB or 4TB constitutes sailing into unknown waters... My setup is just a 160 Gig firewire drive I'm using as a backup for my server. I hate dealing with tapes, so this is a good solution for me. It's nothing near as complex as what you're describing. The regular Mac OS Extended filesystem seems to work just fine and suuports files up to 16 exabytes, I believe. -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Natively supported inexpensive RAID cards
I'm looking to setup a 4 drive SATA RAID 5 file server for mp3, avi, and other media using 6.0-RELEASE. It appears that the supported SATA RAID cards listed in /stand/help/HARDWARE.TXT are all over $400.00. That's hard for to justify for this application, unless there are no other choices. I'd like to keep this simple, so if the price for that is $450 bucks, well, I guess I'll have to deal with that. But, I figured it wouldn't hurt to ask if are there any well supported SATA RAID cards (meaning setup automatically recognizes an array setup in the RAID card's BIOS as one drive) in the $100 to $200 range. I don't need anything other than 5, but other levels would be nice for future use. Even better would be a motherboard with onboard RAID that FreeBSD supported natively. If there aren't any such cards or motherboards, are there relatively easy work-arounds using less expensive cards? -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Help backing up to networked drive
I would like to backup my server to a firewire drive connected to a Macintosh Mini. Both machines are on my local network and, of course, behind a secure firewall. Right now I'm using this script to take backups: #!/bin/sh /sbin/dump -0uanL -f - / | gzip -2 | ssh -c blowfish [EMAIL PROTECTED] dd of=/Volumes/Server-Backup/dump-root.gz \ /sbin/dump -0uanL -f - /tmp | gzip -2 | ssh -c blowfish [EMAIL PROTECTED] dd of=/Volumes/Server-Backup/dump-tmp.gz \ /sbin/dump -0uanL -f - /usr | gzip -2 | ssh -c blowfish [EMAIL PROTECTED] dd of=/Volumes/Server-Backup/dump-usr.gz \ /sbin/dump -0uanL -f - /var | gzip -2 | ssh -c blowfish [EMAIL PROTECTED] dd of=/Volumes/Server-Backup/dump-var.gz This is working fine, but I have to run the script mannually and enter the password. So my question are these: 1. Is there any other way of doing this so that I would not have to deal with the password issue from ssh? This is all taking place behind a secure firewall on my local network, so ssh is probably not necessary. 2. How can I use samba to mount the Mini's drive? mount_smbfs would only see the home share belonging to the user I was logging in with and not the /Volume directory on the Mac. Sym-links from the users /home to /Volumes didn't work correctly. How can I access the drives in /Volumes via samba? -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Help backing up to networked drive
Mike Loiterman mailto:[EMAIL PROTECTED] wrote: I would like to backup my server to a firewire drive connected to a Macintosh Mini. Both machines are on my local network and, of course, behind a secure firewall. Right now I'm using this script to take backups: #!/bin/sh /sbin/dump -0uanL -f - / | gzip -2 | ssh -c blowfish [EMAIL PROTECTED] dd of=/Volumes/Server-Backup/dump-root.gz \ /sbin/dump -0uanL -f - /tmp | gzip -2 | ssh -c blowfish [EMAIL PROTECTED] dd of=/Volumes/Server-Backup/dump-tmp.gz \ /sbin/dump -0uanL -f - /usr | gzip -2 | ssh -c blowfish [EMAIL PROTECTED] dd of=/Volumes/Server-Backup/dump-usr.gz \ /sbin/dump -0uanL -f - /var | gzip -2 | ssh -c blowfish [EMAIL PROTECTED] dd of=/Volumes/Server-Backup/dump-var.gz This is working fine, but I have to run the script mannually and enter the password. So my question are these: 1. Is there any other way of doing this so that I would not have to deal with the password issue from ssh? This is all taking place behind a secure firewall on my local network, so ssh is probably not necessary. 2. How can I use samba to mount the Mini's drive? mount_smbfs would only see the home share belonging to the user I was logging in with and not the /Volume directory on the Mac. Sym-links from the users /home to /Volumes didn't work correctly. How can I access the drives in /Volumes via samba? Actually, I take it back. The original script doesn't work. dd gives an error when I try to backup /usr saying that the file is too large...it dies at 4GB. -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Help backing up to networked drive
For those that are interested this is how got things to work: On the Mac Mini I edited /etc/smb.conf and put in this: [backup] path = /Volumes/Server-Backup writeable = yes Then I restarted Windows File Sharing by going to System Preferences-Sharing and then turning off Windows File Sharing and then turning it back on. Then, on my server, I mounted the Mini's drive with this command: /usr/sbin/mount_smbfs //[EMAIL PROTECTED]/backup /mnt/backup Now I'm using this script to do a level 0 dump: /sbin/dump 0aufL - / | bzip2 /mnt/backup/root-dump-l0.bz2 /sbin/dump 0aufL - /tmp | bzip2 /mnt/backup/tmp-dump-l0.bz2 /sbin/dump 0aufL - /usr | bzip2 /mnt/backup/usr-dump-l0.bz2 /sbin/dump 0aufL - /var | bzip2 /mnt/backup/var-dump-l0.bz2 Once I see that this is working well, I'll probably set up folders for a weekly level 0 and dailys level 9's. Thanks to Chuck for the hint on adding the drive in the Mini's smb.conf file. -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
USB removable drive as dump device?
Using 6.0-RELEASE I'm trying to use a USB removable drive as a dump device. The device is recognized and working corectly: Jan 17 18:12:55 eisenhower kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Jan 17 18:12:55 eisenhower kernel: da0: Maxtor 6Y160P0 YAR4 Fixed Direct Access SCSI-2 device Jan 17 18:12:55 eisenhower kernel: da0: 40.000MB/s transfers Jan 17 18:12:55 eisenhower kernel: da0: 156334MB (320173056 512 byte sectors: 255H 63S/T 19929C) These are the commands I used to create the device: # dd if=/dev/zero of=/dev/da0 bs=1k count=1 # bsdlabel -Bw da0 auto # bsdlabel -e da0 # newfs -d0 /dev/da0a # mkdir -p /backup # vi /etc/fstab # added an entry for /dev/da0a # mount /backup The device mounts correctly and I can write to /backup without problems. The issue is when I try to dump to the device: # dump 0uafL /dev/da0 / DUMP: Date of this level 0 dump: Tue Jan 17 19:04:22 2006 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/ar0s1a (/) to /dev/da0 DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 79952 tape blocks. DUMP: Cannot open output /dev/da0. DUMP: Do you want to retry the open?: (yes or no) no DUMP: The ENTIRE dump is aborted. The same thing happens with: # dump 0uafL /backup / Any ideas? -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
portupgrade errors
/phpmyfaq' (phpmyfaq-1.5.2) because a requisite package 'php4-zlib-4.4.1_3' (archivers/php4-zlib) failed (specify -k to force) --- Skipping 'databases/phpmyadmin' (phpMyAdmin-2.7.0.2) because a requisite package 'php4-zlib-4.4.1_3' (archivers/php4-zlib) failed (specify -k to force) ** Listing the failed packages (*:skipped / !:failed) ! www/apache20 (apache-2.0.55_2)(Makefile broken) * www/mod_php4 (mod_php4-4.4.1_3,1) * databases/adodb (adodb-4.68) * devel/php4-gettext (php4-gettext-4.4.1_3) * archivers/php4-bz2 (php4-bz2-4.4.1_3) * databases/php4-mysql (php4-mysql-4.4.1_3) * converters/php4-mbstring (php4-mbstring-4.4.1_3) * archivers/php4-zlib (php4-zlib-4.4.1_3) * sysutils/php4-posix (php4-posix-4.4.1_3) * www/php4-session (php4-session-4.4.1_3) * net/php4-xmlrpc (php4-xmlrpc-4.4.1_3) * www/eaccelerator (eaccelerator-0.9.4.r1_1) * security/php4-openssl (php4-openssl-4.4.1_3) * security/php4-mcrypt (php4-mcrypt-4.4.1_3) * devel/php4-pcre (php4-pcre-4.4.1_3) * textproc/php4-ctype (php4-ctype-4.4.1_3) * lang/php4-overload (php4-overload-4.4.1_3) * devel/php4-tokenizer (php4-tokenizer-4.4.1_3) * textproc/php4-xml (php4-xml-4.4.1_3) * www/drupal (drupal-4.6.5_1) * security/php4-mhash (php4-mhash-4.4.1_3) * graphics/php4-gd (php4-gd-4.4.1_3) * lang/php4-extensions (php4-extensions-1.0) * www/phpwiki (phpwiki-1.2.10_1) * graphics/phplot (phplot-4.4.6_2) * www/wordpress (wordpress-2.0.0,1) * www/phpSysInfo (phpSysInfo-2.5.1) * mail/squirrelmail (squirrelmail-1.4.5_2) * www/gallery2 (gallery2-2.0.2) * graphics/jpgraph (jpgraph-1.19) * print/pecl-pdflib (pecl-pdflib-2.0.4) * www/phpmyfaq (phpmyfaq-1.5.2) * databases/phpmyadmin (phpMyAdmin-2.7.0.2) --- Packages processed: 0 done, 251 ignored, 32 skipped and 1 failed What's sort of odd is that pkg_version doesn't show any ports that need upgrading. The emacs error has been around for a few weeks, but the apache error just happened today. Any ideas what I'm doing wrong? -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E
RE: portupgrade errors
Mike Loiterman mailto:[EMAIL PROTECTED] wrote: When I run portupgrade, I'm getting the following errors: # portupgrade -a ** Makefile possibly broken: www/apache20: Makefile, line 190: warning: duplicate script for target print-closest-mirrors ignored Makefile, line 197: warning: duplicate script for target print-closest-mirrors ignored apache-2.0.55_2 --- Skipping 'www/mod_php4' (mod_php4-4.4.1_3,1) because a requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k to force) --- Skipping 'databases/adodb' (adodb-4.68) because a requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k to force) --- Skipping 'devel/php4-gettext' (php4-gettext-4.4.1_3) because a requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k to force) --- Skipping 'archivers/php4-bz2' (php4-bz2-4.4.1_3) because a requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k to force) --- Skipping 'databases/php4-mysql' (php4-mysql-4.4.1_3) because a requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k to force) --- Skipping 'converters/php4-mbstring' (php4-mbstring-4.4.1_3) because a requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k to force) --- Skipping 'archivers/php4-zlib' (php4-zlib-4.4.1_3) because a requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k to force) --- Skipping 'sysutils/php4-posix' (php4-posix-4.4.1_3) because a requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k to force) --- Skipping 'www/php4-session' (php4-session-4.4.1_3) because a requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k to force) --- Skipping 'net/php4-xmlrpc' (php4-xmlrpc-4.4.1_3) because a requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k to force) --- Skipping 'www/eaccelerator' (eaccelerator-0.9.4.r1_1) because a requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k to force) --- Skipping 'security/php4-openssl' (php4-openssl-4.4.1_3) because a requisite package 'apache-2.0.55_2' (www/apache20) failed (specify - k to force) --- Skipping 'security/php4-mcrypt' (php4-mcrypt-4.4.1_3) because a requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k to force) --- Skipping 'devel/php4-pcre' (php4-pcre-4.4.1_3) because a requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k to force) --- Skipping 'textproc/php4-ctype' (php4-ctype-4.4.1_3) because a requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k to force) --- Skipping 'lang/php4-overload' (php4-overload-4.4.1_3) because a requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k to force) --- Skipping 'devel/php4-tokenizer' (php4-tokenizer-4.4.1_3) because a requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k to force) --- Skipping 'textproc/php4-xml' (php4-xml-4.4.1_3) because a requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k to force) --- Skipping 'www/drupal' (drupal-4.6.5_1) because a requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k to force) --- Skipping 'security/php4-mhash' (php4-mhash-4.4.1_3) because a requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k to force) ** Package origin of 'emacs' has been changed: 'editors/emacs' - 'editors/emacs19' ** No need to upgrade 'emacs-21.3_9' (= emacs-19.34b_1). (specify -f to force) --- Skipping 'graphics/php4-gd' (php4-gd-4.4.1_3) because a requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k to force) --- Skipping 'lang/php4-extensions' (php4-extensions-1.0) because a requisite package 'php4-zlib-4.4.1_3' (archivers/php4-zlib) failed (specify -k to force) --- Skipping 'www/phpwiki' (phpwiki-1.2.10_1) because a requisite package 'php4-zlib-4.4.1_3' (archivers/php4-zlib) failed (specify -k to force) --- Skipping 'graphics/phplot' (phplot-4.4.6_2) because a requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k to force) --- Skipping 'www/wordpress' (wordpress-2.0.0,1) because a requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k to force) --- Skipping 'www/phpSysInfo' (phpSysInfo-2.5.1) because a requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k to force) --- Skipping 'mail/squirrelmail' (squirrelmail-1.4.5_2) because a requisite package 'php4-gettext-4.4.1_3' (devel/php4-gettext) failed (specify -k to force) --- Skipping 'www/gallery2' (gallery2-2.0.2) because a requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k to force) --- Skipping 'graphics/jpgraph' (jpgraph-1.19) because a requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k to force) --- Skipping 'print/pecl-pdflib' (pecl-pdflib-2.0.4) because a requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k
Correct procedure for upgading from php4 to php5
What would be the correct way to upgrade from php4 to php5? I tried: # portupgrade -rRno /usr/ports/www/mod_php5 mod_php4-4.4.1_3,1 But that only shows that it would upgrade the mod_php4 port and skip everything else: --- Listing the results (+:done / -:ignored / *:skipped / !:failed) - lang/perl5.8 (perl-5.8.7) - converters/libiconv (libiconv-1.9.2_1) - textproc/expat2 (expat-1.95.8_3) - www/apache20 (apache-2.0.55_2) + www/mod_php5 (mod_php4-4.4.1_3,1) - databases/php4-mysql (php4-mysql-4.4.1_3) - devel/php4-tokenizer (php4-tokenizer-4.4.1_3) - devel/php4-gettext (php4-gettext-4.4.1_3) - archivers/php4-zlib (php4-zlib-4.4.1_3) - sysutils/php4-posix (php4-posix-4.4.1_3) - lang/php4-overload (php4-overload-4.4.1_3) - archivers/php4-bz2 (php4-bz2-4.4.1_3) - textproc/php4-xml (php4-xml-4.4.1_3) - security/php4-mcrypt (php4-mcrypt-4.4.1_3) - textproc/php4-ctype (php4-ctype-4.4.1_3) - security/php4-mhash (php4-mhash-4.4.1_3) - security/php4-openssl (php4-openssl-4.4.1_3) - databases/adodb (adodb-4.68) - graphics/phplot (phplot-4.4.6_2) - converters/php4-mbstring (php4-mbstring-4.4.1_3) - graphics/php4-gd (php4-gd-4.4.1_3) - graphics/jpgraph (jpgraph-1.19) - devel/php4-pcre (php4-pcre-4.4.1_3) - www/php4-session (php4-session-4.4.1_3) - www/eaccelerator (eaccelerator-0.9.4.r1_1) - www/phpSysInfo (phpSysInfo-2.3) - print/pecl-pdflib (pecl-pdflib-2.0.4) - www/phpwiki (phpwiki-1.2.10_1) - lang/php4-extensions (php4-extensions-1.0) - www/gallery2 (gallery2-2.0.2) - mail/squirrelmail (squirrelmail-1.4.5_2) - www/drupal (drupal-4.6.4) - databases/phpmyadmin (phpMyAdmin-2.7.0.1) How can I get it to upgrade the other php4 ports to their respective php5 versions? -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Correct procedure for upgading from php4 to php5
On Dec 19, 2005, at 8:41 PM, Kevin Kinsey wrote: Mike Loiterman wrote: What would be the correct way to upgrade from php4 to php5? I tried: # portupgrade -rRno /usr/ports/www/mod_php5 mod_php4-4.4.1_3,1 But that only shows that it would upgrade the mod_php4 port and skip everything else: --- Listing the results (+:done / -:ignored / *:skipped / !:failed) - lang/perl5.8 (perl-5.8.7) - converters/libiconv (libiconv-1.9.2_1) - textproc/expat2 (expat-1.95.8_3) - www/apache20 (apache-2.0.55_2) + www/mod_php5 (mod_php4-4.4.1_3,1) - databases/php4-mysql (php4-mysql-4.4.1_3) - devel/php4-tokenizer (php4- tokenizer-4.4.1_3) - devel/php4-gettext (php4- gettext-4.4.1_3) - archivers/php4-zlib (php4- zlib-4.4.1_3) - sysutils/php4-posix (php4- posix-4.4.1_3) - lang/php4-overload (php4- overload-4.4.1_3) - archivers/php4-bz2 (php4- bz2-4.4.1_3) - textproc/php4-xml (php4- xml-4.4.1_3) - security/php4-mcrypt (php4- mcrypt-4.4.1_3) - textproc/php4-ctype (php4- ctype-4.4.1_3) - security/php4-mhash (php4- mhash-4.4.1_3) - security/php4-openssl (php4- openssl-4.4.1_3) - databases/adodb (adodb-4.68) - graphics/phplot (phplot-4.4.6_2) - converters/php4- mbstring (php4-mbstring-4.4.1_3) - graphics/php4-gd (php4- gd-4.4.1_3) - graphics/jpgraph (jpgraph-1.19) - devel/php4-pcre (php4-pcre-4.4.1_3) - www/php4-session (php4-session-4.4.1_3) - www/eaccelerator (eaccelerator-0.9.4.r1_1) - www/phpSysInfo (phpSysInfo-2.3) - print/pecl-pdflib (pecl- pdflib-2.0.4) - www/phpwiki (phpwiki-1.2.10_1) - lang/php4-extensions (php4-extensions-1.0) - www/gallery2 (gallery2-2.0.2) - mail/squirrelmail (squirrelmail-1.4.5_2) - www/drupal (drupal-4.6.4) - databases/phpmyadmin (phpMyAdmin-2.7.0.1) How can I get it to upgrade the other php4 ports to their respective php5 versions? I assume lang/php4-extensions is installed? What if you use a comparable command on that target? Incidentally: as you probably know, several of the packages listed (e.g. squirrelmail, phpwiki, gallery, etc.) are independent of your PHP version and would only be upgraded if newer versions have been released, AFAIK. Kevin Kinsey -- A yawn is a silent shout. -- G. K. Chesterton I think at this point, I'll probably leave well enough. From what I've seen, I'm probably not going to be gaining much by upgrading. -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E
Re: Procedure for upgrading CPU
On Nov 21, 2005, at 7:36 AM, Andrew P. wrote: On 11/21/05, Mike Loiterman [EMAIL PROTECTED] wrote: I'm thinking of upgrading the CPU in my machine running 6.0- RELEASE with an SMP kernel. Is it a matter of powering down the machine, swapping chips and powering up? Is there anything else I would need to do ahead of time or after the upgrade? Will I need to recompile world, kernel or ports? I currently have a 2.8 GHz P4 Prescott (520) and I'm thinking of replacing it with a 3.6 GHz P4 Prescott (560J). Both are 32 bit LGA 775 chips. The motherboard is a SuperMicro P8SGA. -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] As long as you don't lose any CPU features (e.g. SSE3 or MMX), which is clearly your case, you're absolutely safe to just swap the chips. So would the same be true for a Pentium D - dual core or to move to a 64 bit capable chip? My kernel is already SMP enabled and running well. -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E
Procedure for upgrading CPU
I'm thinking of upgrading the CPU in my machine running 6.0-RELEASE with an SMP kernel. Is it a matter of powering down the machine, swapping chips and powering up? Is there anything else I would need to do ahead of time or after the upgrade? Will I need to recompile world, kernel or ports? I currently have a 2.8 GHz P4 Prescott (520) and I'm thinking of replacing it with a 3.6 GHz P4 Prescott (560J). Both are 32 bit LGA 775 chips. The motherboard is a SuperMicro P8SGA. -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems with php-4
Just finished upgrading to 6, so I rebuilt all my ports to use the new libraries with portupgrade. All built fine except for two: ** Listing the failed packages (*:skipped / !:failed) ! devel/pear-PEAR (pear-PEAR-1.3.5_1) (unknown build error) * databases/pear-DB (pear-DB-1.7.6,1) --- Packages processed: 171 done, 0 ignored, 1 skipped and 1 failed php4-DB depends on PEAR, so I fix PEAR, and I fix the other one...I hope. Anyway, when I try to rebuild php4-PEAR this is the error I get: ===Verifying install for pear in /usr/ports/devel/php4-pear This port requires the CLI or the CGI version of PHP, but you have already installed a conflicting PHP port without them. *** Error code 1 Stop in /usr/ports/devel/php4-pear. *** Error code 1 Stop in /usr/ports/archivers/pear-Archive_Tar. *** Error code 1 I have mod_php4 installed which is incomptaible with php4-cli / pgp4-cgi...so how can I get around this? -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Sendmail not listening correctly
(blacklist_recipients) FEATURE(local_lmtp) FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') dnl Uncomment to allow relaying based on your MX records. dnl NOTE: This can allow sites to use your server as a backup MX without dnl your permission. dnl FEATURE(relay_based_on_MX) dnl DNS based black hole lists dnl dnl DNS based black hole lists come and go on a regular basis dnl so this file will not serve as a database of the available servers. dnl For that, visit dnl http://directory.google.com/Top/Computers/Internet/Abuse/Spam/Blacklists/ dnl Uncomment to activate Realtime Blackhole List dnl information available at http://www.mail-abuse.com/ dnl NOTE: This is a subscription service as of July 31, 2001 dnl FEATURE(dnsbl) dnl Alternatively, you can provide your own server and rejection message: dnl FEATURE(dnsbl, `blackholes.mail-abuse.org', `550 Mail from ${client_addr} rejected, see http://mail-abuse.org/cgi-bin/lookup?; ${client_addr}') dnl Dialup users should uncomment and define this appropriately dnl define(`SMART_HOST', `your.isp.mail.server') dnl Uncomment the first line to change the location of the default dnl /etc/mail/local-host-names and comment out the second line. dnl define(`confCW_FILE', `-o /etc/mail/sendmail.cw') define(`confCW_FILE', `-o /etc/mail/local-host-names') dnl Enable for both IPv4 and IPv6 (optional) DAEMON_OPTIONS(`Name=IPv4, Family=inet') DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O') define(`confBIND_OPTS', `WorkAroundBroken') define(`confNO_RCPT_ACTION', `add-to-undisclosed') define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy') MAILER(local) MAILER(smtp) This is starting to get frustrating... - -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E -BEGIN PGP SIGNATURE- Version: PGP Desktop 9.0.2 (Build 2424) Comment: Secured by PGP 9.0.2 iQA/AwUBQzHfq2jZbUnRudGOEQJQNQCgntFbFVuE28Fa47pqwv4qkEZta6oAn3Wv XnCa3e0+9MQq6Mdr8qD0RjbM =ZiKn -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Sendmail not listening correctly
(blacklist_recipients) FEATURE(local_lmtp) FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') dnl Uncomment to allow relaying based on your MX records. dnl NOTE: This can allow sites to use your server as a backup MX without dnl your permission. dnl FEATURE(relay_based_on_MX) dnl DNS based black hole lists dnl dnl DNS based black hole lists come and go on a regular basis dnl so this file will not serve as a database of the available servers. dnl For that, visit dnl http://directory.google.com/Top/Computers/Internet/Abuse/Spam/Blacklists/ dnl Uncomment to activate Realtime Blackhole List dnl information available at http://www.mail-abuse.com/ dnl NOTE: This is a subscription service as of July 31, 2001 dnl FEATURE(dnsbl) dnl Alternatively, you can provide your own server and rejection message: dnl FEATURE(dnsbl, `blackholes.mail-abuse.org', `550 Mail from ${client_addr} rejected, see http://mail-abuse.org/cgi-bin/lookup?; ${client_addr}') dnl Dialup users should uncomment and define this appropriately dnl define(`SMART_HOST', `your.isp.mail.server') dnl Uncomment the first line to change the location of the default dnl /etc/mail/local-host-names and comment out the second line. dnl define(`confCW_FILE', `-o /etc/mail/sendmail.cw') define(`confCW_FILE', `-o /etc/mail/local-host-names') dnl Enable for both IPv4 and IPv6 (optional) DAEMON_OPTIONS(`Name=IPv4, Family=inet') DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O') define(`confBIND_OPTS', `WorkAroundBroken') define(`confNO_RCPT_ACTION', `add-to-undisclosed') define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy') MAILER(local) MAILER(smtp) This is starting to get frustrating... - -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E -BEGIN PGP SIGNATURE- Version: PGP Desktop 9.0.2 (Build 2424) Comment: Secured by PGP 9.0.2 iQA/AwUBQzA1xmjZbUnRudGOEQJvMwCeIkG/S3dYHf+FDOrWCuxdcqslyGQAn3Ul oukDl2hbvgs6aol3ZgtBvpQ2 =6GZl -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sendmail not listening correctly
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Using: FreeBSD 5.4-RELEASE Sendmail 8.13.3 I'm trying to setup my mail server, but sendmail is only listening on the local interface: # netstat -an | grep 25 tcp4 0 0 127.0.0.1.25 *.*LISTEN I can do: # telnet localhost 25 And sendmail answers correctly. But, if, from another machine within my network, # telnet 192.168.1.22 25 I get a connection refused. Additionally, the sendmail logs show nothing of the connectcion attempt. How can I get it to listen on all interfaces and why am I having to do this? I have setup sendmail on many other FreeBSD boxes and have never had this problem. - -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E -BEGIN PGP SIGNATURE- Version: PGP Desktop 9.0.2 (Build 2424) Comment: Secured by PGP 9.0.2 iQA/AwUBQy+P9GjZbUnRudGOEQLwiQCfdJGjVT8vjgyJGhQ6ciEJiJZhpSUAn3NK DFDTFa0x+P/MR+2l+Zz7bDOh =5qhT -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Sendmail not listening correctly
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sendmail is running # grep sendmail_submit_enable /etc/defaults/rc.conf sendmail_submit_enable=YES# Start a localhost-only MTA for mail submission - -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E -BEGIN PGP SIGNATURE- Version: PGP Desktop 9.0.2 (Build 2424) Comment: Secured by PGP 9.0.2 iQA/AwUBQy+XrWjZbUnRudGOEQIq1QCeJqqe4gM5qRiDhYA6LRkrHYO9iKMAnAiV GPBWBUHB4OKyFruLaQGIP1M5 =f1pT -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Sendmail not listening correctly
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 When I put any of the following combinations in rc.conf: sendmail_enable=YES sendmail_submit_enable=YES sendmail_enable=YES sendmail_submit_enable=NO sendmail_enable=YES I get the following errors in my messages.log NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: server SMTP socket wedged: exiting - -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E -BEGIN PGP SIGNATURE- Version: PGP Desktop 9.0.2 (Build 2424) Comment: Secured by PGP 9.0.2 iQA/AwUBQy+avmjZbUnRudGOEQKh+QCfTGQO4moTBmvE6sBrIB68YNGtedwAn3F0 NpW3bm/69JRIqISzaOCt1NES =L9QB -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Sendmail not listening correctly
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 First, keep in mind that these parameters only define how sendmail starts when the system is rebooted. Second, stop any sendmail processes. Third, start sendmail with the correct cf (config) file. It should be /etc/mail/freebsd.cf. It is created from /etc/mail/freebsd.mc. The former is for sendmail only (do not peek) and the latter is for you to read. When submit_only is ON, freebsd.submit.cf (generated from freebsd.submit.mc) is used. You should investigate the mc files and learn how to generate cf files from them. I tried rebooting and that's when I get those errors. I tried doing a: #cd /etc/mail make stop killall -9 sendmail The config file I'm using is made from $hostname.cf. That's where I make all my changes. I don't know why but somehow there is something else listening on 25 but I can't figure out what: # sockstat | grep sendmail # cd /etc/mail make start Starting: sendmail sendmail-clientmqueue. # sockstat | grep sendmail smmspsendmail 727 3 dgram - /var/run/log root sendmail 724 3 dgram - /var/run/logpriv root sendmail 724 4 tcp4 *:25 *:* root sendmail 724 5 tcp6 *:25 *:* # tail -f /var/log/maillog Sep 20 00:38:18 eisenhower sm-mta[724]: daemon MTA: problem creating SMTP socket Sep 20 00:38:23 eisenhower sm-mta[724]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Sep 20 00:38:23 eisenhower sm-mta[724]: daemon MTA: problem creating SMTP socket Sep 20 00:38:28 eisenhower sm-mta[724]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Sep 20 00:38:28 eisenhower sm-mta[724]: daemon MTA: problem creating SMTP socket Sep 20 00:38:33 eisenhower sm-mta[724]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Sep 20 00:38:33 eisenhower sm-mta[724]: daemon MTA: problem creating SMTP socket Sep 20 00:38:38 eisenhower sm-mta[724]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Sep 20 00:38:38 eisenhower sm-mta[724]: daemon MTA: problem creating SMTP socket Sep 20 00:38:38 eisenhower sm-mta[724]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: server SMTP socket wedged: exiting - -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E -BEGIN PGP SIGNATURE- Version: PGP Desktop 9.0.2 (Build 2424) Comment: Secured by PGP 9.0.2 iQA/AwUBQy+g6WjZbUnRudGOEQL8LQCfSuoZCCvz0AGj1dclCldTq8RYx88Anicn o2FjMQn8VCB5/2UkCcoRGcmI =tmEQ -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: $100 SATA RAID Card 5.3 compatible
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Danny Howard mailto:[EMAIL PROTECTED] wrote: On Tue, Mar 15, 2005 at 07:37:24PM -0600, Mike Loiterman wrote: I tried following the instructions at: http://people.freebsd.org/~rse/mirror/ and couldn't make it work. I ended up installing a minimal installation on one disk, reooting to the new install, doing atacontrol create RAID1 ad4 ad6, then rebooting to the install CD and installing into ar0. This seems to have worked. This all sounds extremely familiar. I did all of this, and it made me very quesy. So, I ripped it out and tried again. Is your solution better? You can deliver your own opinion, my resolution is at: http://dannyman.toldme.com/2005/01/24/freebsd-howto-gmirror-system/ Cheers, -danny I was able to make the atacontrol method work flawlessly via a simulated disk failure (formated it and did a atacontrol rebuild). Is gmirror more reliable? I still don't understand gmirror, how it works and how to properly set one up. That's probably why I'm resistant to working with it. - -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E -BEGIN PGP SIGNATURE- Version: PGP 8.1 iQA/AwUBQjji7mjZbUnRudGOEQIDWgCdGFxrHT2XUptfsltycaI0bYcK5SwAn1ml ncVpUJu0bC0UgsqV1VSMNbcY =tKU6 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: $100 SATA RAID Card 5.3 compatible
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Danny Howard mailto:[EMAIL PROTECTED] wrote: Mike Loiterman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Can anyone recommend a SATA RAID card that is compatible with 5.3? The 3ware ones listed in the hardware notes are pretty expensive...over a hundred dollars for the lowest end card. Is 5.3 compatible with any of the adpatec or promise cards? What kind of RAID do you want? For a simple system-level RAID1, skip the hardware and go with gmirror. -danny RAID1. I'm looking into gmirror, but it seems like it might be messy if one of the drives dies. - -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E -BEGIN PGP SIGNATURE- Version: PGP 8.1 iQA/AwUBQjd0+2jZbUnRudGOEQJIxgCeKQ20gfa3FhBC1UFtjo5Ecunob1AAn0C5 HmD3Rx0QdTB46Q/p5sn0yi0d =6L7V -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: $100 SATA RAID Card 5.3 compatible
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Danny Howard mailto:[EMAIL PROTECTED] wrote: On Tue, Mar 15, 2005 at 05:53:30PM -0600, Mike Loiterman wrote: Can anyone recommend a SATA RAID card that is compatible with 5.3? The 3ware ones listed in the hardware notes are pretty expensive...over a hundred dollars for the lowest end card. Is 5.3 compatible with any of the adpatec or promise cards? What kind of RAID do you want? For a simple system-level RAID1, skip the hardware and go with gmirror. RAID1. I'm looking into gmirror, but it seems like it might be messy if one of the drives dies. Mike, Messy how? You keep an eye on gmirror list and it will tell you if one of the disks has died. If a disk dies, you swap in an RMA, and rebuild the mirror. If swap in the RMA involves downtime, then gmirror will see the new disk at boot and DTRT. Or have you seen too many horror stories on the mailing lists? Currently, I have a whole bunch of systems with one-off 3ware or Adaptec controllers, and I don't know how to monitor them reliably. I tried doing a 3ware a month or two back, and there was this crazy race between how old the binary versus the kernel module versus the firmware was and I just gave up. Grr! As RAID1 solutions go, gmirror take a lot of the headache out of administration. IMO, YMMV, and I have daily backups ... I tried following the instructions at: http://people.freebsd.org/~rse/mirror/ and couldn't make it work. I ended up installing a minimal installation on one disk, reooting to the new install, doing atacontrol create RAID1 ad4 ad6, then rebooting to the install CD and installing into ar0. This seems to have worked. Is your solution better? - -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E -BEGIN PGP SIGNATURE- Version: PGP 8.1 iQA/AwUBQjeMnWjZbUnRudGOEQJc9QCg2HAycZ+65GrsJsdEAdinpX/oCOIAnAxn 4jrBbh1vGKr/aNeB93+2VxrP =9Q3N -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
HighPoint 1640 SATA RAID Card
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In my quest for a RAID1 setup, I also purchased a 1640 which, according to the HighPoint website, is compatible with 5.3, but I'm unable to get it work with my system. FreeBSD sees the drives as two individual disks instead of one large disk. This is after I created a RAID1 array in the 1640's BIOS. Are there instructions for getting this to work with FreeBSD anywhere? I'm using this with a SuperMicro P8SGA motheroard and an Intel P4 2.8 processor. Any ideas? - -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E -BEGIN PGP SIGNATURE- Version: PGP 8.1 iQA/AwUBQjedCWjZbUnRudGOEQJ4owCfQdLUTQu+p13FH1/MLM9JDUf/yKgAn0vY 2Vg8YcJfVNRGK1XiS6R/ir5b =e6zV -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
$100 SATA RAID Card 5.3 compatible
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Can anyone recommend a SATA RAID card that is compatible with 5.3? The 3ware ones listed in the hardware notes are pretty expensive...over a hundred dollars for the lowest end card. Is 5.3 compatible with any of the adpatec or promise cards? - -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E -BEGIN PGP SIGNATURE- Version: PGP 8.1 iQA/AwUBQjZi2WjZbUnRudGOEQKvAACcDcsjakeOJPhiYZm/tAsEdkcPZ+0AoP2c nGabh6KPUQ2IYDebz3jRrMHa =phU2 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Incorrect geometry
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 When I do a new install of FreeBSD 5.3-RELEASE I get an error saying the drive geometry is incorrect. In the next screen, I put in the correct geometry, as reported by the BIOS, but after I hit q, I get the same error. The drive is a brand new 160 SATA Segate. The geometry FreeBSD suggests yield 152 Gigs, slices correctly and functions perfectly. I'm plannning on reformating anyway as this is only a test run, but do I need to be conserned about the error? - -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E -BEGIN PGP SIGNATURE- Version: PGP 8.1 iQA/AwUBQjIwn2jZbUnRudGOEQLIQwCdF8XAOxDEPJ0HtCQrwUpJMuhJ8u4Ani+M RKEnJ+qPARPSXH6SXuIrq7Ir =zBSp -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Incorrect geometry
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kevin Kinsey mailto:[EMAIL PROTECTED] wrote: Mike Loiterman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 When I do a new install of FreeBSD 5.3-RELEASE I get an error saying the drive geometry is incorrect. In the next screen, I put in the correct geometry, as reported by the BIOS, but after I hit q, I get the same error. The drive is a brand new 160 SATA Segate. The geometry FreeBSD suggests yield 152 Gigs, slices correctly and functions perfectly. I'm plannning on reformating anyway as this is only a test run, but do I need to be conserned about the error? Isn't the rest of the error message using a more likely geometry? IANAE, but I believe FBSD is simply stating that it doesn't find the BIOS's numbers to be what it wants, so it's going to use its own. This would explain the effect you see in the second sentence above. As yield, slice, and function seems OK, I think go for it! is perfectly good advice in this instance. I've seen the error several times, too, and so far so good. I am willing to be corrected by my betters, though, of course. Kevin Kinsey It does say, using a more likely geometry. The numbers are vastly different then what the BIOS says, but as I said, the capacity seems correct and it functions normally. I just don't want to have any trouble down the road... - -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E -BEGIN PGP SIGNATURE- Version: PGP 8.1 iQA/AwUBQjJw02jZbUnRudGOEQIFgACghb4rW7h8yi7Gy51D427MDeIlfMQAn1b5 v4YVKUhIT9gwS6SZBMDDwYK0 =KtaI -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Issues with the SuperMicro P8SGA (915G chipset) Mobo?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anone using a SuperMicro P8SGA Mobo with the 915G chipset with 5.3? I'll be using it with a P4 2.8 LGA 775 520. I just purchased these and would like to know of any compatibility problems. Thanks. - -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E -BEGIN PGP SIGNATURE- Version: PGP 8.1 iQA/AwUBQi4D4GjZbUnRudGOEQI+jgCdE6YHErPsU0KNPFYolDNIn9Jbt+sAnjfK sRyP+jQ7990RYuLijPPpcvZQ =OTYT -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Issues with the SuperMicro P8SGA (915G chipset) Mobo?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anone using a SuperMicro P8SGA Mobo with the 915G chipset with 5.3? I'll be using it with a P4 2.8 LGA 775 520. I just purchased these and would like to know of any compatibility problems. Thanks. - - -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E - -BEGIN PGP SIGNATURE- Version: PGP 8.1 iQA/AwUBQi4D4GjZbUnRudGOEQI+jgCdE6YHErPsU0KNPFYolDNIn9Jbt+sAnjfK sRyP+jQ7990RYuLijPPpcvZQ =OTYT - -END PGP SIGNATURE- -BEGIN PGP SIGNATURE- Version: PGP 8.1 iQA/AwUBQi468WjZbUnRudGOEQJWAACgu3w1N84iREjLW4BA0DZddPNiI+wAoMKU f05FAuFmeZF0beT6hL2A1Hre =H6ib -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Portupgrade apache2 on 5.3-RELEASE
I'm running 5.3-RELEASE with a cvsup a few minutes old. I'm trying to upgrade my apache-2.0.49 port via portupgrade. This is the error I get: [05:30:27 [EMAIL PROTECTED]: /usr/local/etc]# portupgrade apache ** Port marked as IGNORE: www/apache2: : apr from ports (WITH_APR_FROM_PORTS) is no longer supported Any ideas about how to get around this? -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems setting up Identd
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm trying to get my identd server setup correctly so I can chat on IRC. Port 113 is open on my firewall, rc.conf is running inetd, and inetd has identd uncommented. This is the line in my inetd.conf file: auth stream tcp waitroot/usr/local/sbin/identd identd I have pidentd installed via ports but when I connect to EFNet...it says no ident was found. Further, none of the identd servers (pidentd, oidentd) seem to have a man page. This is incredibly frustrating. - -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key 0xD1B9D18E -BEGIN PGP SIGNATURE- Version: PGP 8.0.3 Comment: Digitally signed by Mike Loiterman iQA/AwUBP+Jz2GjZbUnRudGOEQLfHACfSDxIFCv5xH90J0g8mxZ8Gzh0jk4An1Xx fwFlGrONWO9Zt6MRWJnR9Tky =j47v -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Downgrading from current to release or stable?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is it possible or advisable to downgrade to stable or release from current? I'm running 5.1-current now, but I'm think I should probably switch to stable if possible. - -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key 0xD1B9D18E -BEGIN PGP SIGNATURE- Version: PGP 8.0.3 Comment: Digitally signed by Mike Loiterman iQA/AwUBP73t4GjZbUnRudGOEQLwIACgvOhGu4mELwyMtcQAnNtkQaKMe5gAnRDk SSU64sG1Fo/CNcrqkK+ix+3Q =0NUk -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Ssh missing 'login as' prompt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kevin Stevens mailto:[EMAIL PROTECTED] wrote: On Oct 31, 2003, at 22:25, Mike Loiterman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Whenever I try to ssh into my machie, it just goes straight to [EMAIL PROTECTED] password: by passing the traditional login as: . How can I turn that back on? Remove the client machine's public key from the server's ~/.ssh/authorized_keys2 file for that user id. KeS That works but only temporarily. The next time I login, it goes directly to the password prompt. Am I fooling myself? Is it any more secure to get a login as: prompt and then a password prompt as compared to just going directly to a password prompt? - -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-868-0071 Email: [EMAIL PROTECTED] PGP Key 0xD1B9D18E -BEGIN PGP SIGNATURE- Version: PGP 8.0.3 Comment: Digitally signed by Mike Loiterman iQA/AwUBP6V4FmjZbUnRudGOEQIM8wCeJx37Judo6ufAXyNihusxaJqm1coAniwL RDyrOAqxGAJDQiL6fSMQ0E6v =Y7y/ -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Ssh missing 'login as' prompt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel mailto:[EMAIL PROTECTED] wrote: ssh -l (username) (host) I understand that you can use the -l command to specifiy a user to login as. I want the person ssh'ing into the server to have to enter a valid username before they get a password prompt. - -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-868-0071 Email: [EMAIL PROTECTED] PGP Key 0xD1B9D18E -BEGIN PGP SIGNATURE- Version: PGP 8.0.3 Comment: Digitally signed by Mike Loiterman iQA/AwUBP6NbmWjZbUnRudGOEQLCnACg5PJPN/rJ4JZNMPA9wVi523jw9j0AoMvh 3pOP2GMsU0OiToK9juhz4O0g =idvR -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ssh missing 'login as' prompt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Whenever I try to ssh into my machie, it just goes straight to [EMAIL PROTECTED] password: by passing the traditional login as: . How can I turn that back on? - -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-868-0071 Email: [EMAIL PROTECTED] PGP Key 0xD1B9D18E -BEGIN PGP SIGNATURE- Version: PGP 8.0.3 Comment: Digitally signed by Mike Loiterman iQA/AwUBP6NR9GjZbUnRudGOEQJx9gCeKuoLvZblV5v6hHurszmf4tgRpxsAoMvJ Q4dSsbEqW8UO2CFYrYnvwWw2 =Z95m -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Rebuilding man page indicies
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 How do I rebuild the man page indicies by hand? One of the programs I'm using isn't picking up the right man page...it keeps picking an old version. I've removed all old versions, but man $program keeps showing the old version. Unless I missed one somewhere, I believe I need to rebuild the man page indicies. How do I do this? I've looked at makewhatis and whatis, but those don't seem to do exactly what I think needs to be done. I'm reluctant to mess with either until I know what they'll do. Thanks. - -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-868-0071 Email: [EMAIL PROTECTED] PGP Key 0xD1B9D18E -BEGIN PGP SIGNATURE- Version: PGP 8.0.2 Comment: This message has been digitally signed by Mike Loiterman iQA/AwUBP2+4Y2jZbUnRudGOEQJdJgCg0pZ5R7Imc/JDlL7URUI0BViKb3QAn1Op AV1ZHLTgyBcPOGjytVU8UgfU =H+5l -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SU not working on fresh CVSUP
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This is an issue for current but since I can't send to the current mailing list from this machine I figured I'd try here first: Just cvsup'd to current a few hours ago. Built and installed world and kernel without any problems. Now I get this error when I try to su : Jun 3 01:45:22 enola su: in openpam_load_module(): no pam_wheel.so found Bus error (core dumped) enola# Jun 3 01:45:22 enola kernel: pid 507 (su), uid 0: exited on signal 10 (c ore dumped) - -- Email: [EMAIL PROTECTED] PGP Key 0xD1B9D18E -BEGIN PGP SIGNATURE- Version: PGP 8.0.2 Comment: This message has been digitally signed by Mike Loiterman iQA/AwUBPtxHWmjZbUnRudGOEQIo+wCeKyvPdo2/TSpGT1rLtn0gqqh23YcAn2as annDBsc2qDdKrOpzH4L5KYew =UxPC -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Sendmail patch questions...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday, March 04, 2003 2:20 AM Matthew Seaman mailto:[EMAIL PROTECTED] wrote: On Tue, Mar 04, 2003 at 04:22:49AM +0200, Giorgos Keramidas wrote: PS: You can always upgrade to RELENG_4. Gregory Neil Shapiro, the maintainer of Sendmail on FreeBSD, has already merged the latest Sendmail version (8.12.8) to the RELENG_4 branch. Actually, according to what I can see in a quick trawl through cvsweb, he's MFC'd sendmail patches on all RELENG_x and RELENG_x_y branches back to and including RELENG_3: http://www.freebsd.org/cgi/cvsweb.cgi/src/contrib/sendmail/src/?sortby=dateonly_with_tag=RELENG_3 However, it seems that his modifications don't constitute a complete upgrade to sendmail-8.12.8 except on RELENG_4 and HEAD. Hence the confusion over the binary updates given in the original security alert. Your sendmail binary will be immune to this attack if you've built it out of a recently cvsup'd source tree or installed one of the binary patches so that: -- you're running sendmail-8.12.8 or better or -- the string 'Dropped invalid comments from header address' appears in the sendmail binary. Thanks to Claus Assmann for pointing out the second test. Cheers, Matthew Thanks Matt. Few questions though: 1. What is `BP'? 2. I appllied the patch and now I'm building world with my exsisting 4.4 sources. Is this not `safe' as cvsuping and then buidling world? I'm not sure I understand the implications of not cvsuping, especially since the patch has been applied to 8.11.6 in the 4.4 branch. - --- Randomly Generated Quote: A free society is one where it's safe to be unpopular. --Adlai E. Stevenson Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -BEGIN PGP SIGNATURE- Version: PGP 8.0 Comment: This message has been digitally signed by Mike Loiterman iQA/AwUBPmSYuGjZbUnRudGOEQJWPgCgvbrt9oAX6RJy/T4kHvX+aP+8v9AAnRDu mQLlUgh4bGNv8SB8ormwrzq9 =3Qur -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Make buildworld fails for 5.0
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm getting the following error in my: 'make buildworld' === gnu/usr.bin/cc/cc_int /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools/genattrtab /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config/i386/i386.md insn-attrtab.c Killed *** Error code 137 Stop in /usr/src/gnu/usr.bin/cc/cc_int. *** Error code 1 Stop in /usr/src/gnu/usr.bin/cc. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. I'm currently running 5.0-RELEASE #0 and I've cvsup'ed to '.'. - --- Randomly Generated Quote: Life is a series of very rude awakenings. Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -BEGIN PGP SIGNATURE- Version: PGP 8.0 Comment: This message has been digitally signed by Mike Loiterman iQA/AwUBPmVjp2jZbUnRudGOEQIAxACbBCCUKggWGf1zd2GL6c/9Uy1REn8AoOfE EcG15BNy6zb36Qt2ZaM3LsrQ =pbeQ -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Make buildworld fails for 5.0
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday, March 04, 2003 8:47 PM Andy Farkas mailto:[EMAIL PROTECTED] wrote: I'm getting the following error in my: 'make buildworld' === gnu/usr.bin/cc/cc_int /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools/genattrtab /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config/i386/i386.md insn-attrtab.c Killed *** Error code 137 Sounds like you're out of memory/swap or hit some other process limit. what does 'limits' and/or 'swapinfo' say? Anything in the logfiles? [20:42:37 [EMAIL PROTECTED]: /usr/src]# limits Resource limits (current): cputime infinity secs filesize infinity kb datasize 524288 kb stacksize 65536 kb coredumpsize infinity kb memoryuseinfinity kb memorylocked infinity kb maxprocesses 478 openfiles 957 sbsize infinity bytes vmemoryuse infinity kb [21:02:07 [EMAIL PROTECTED]: /usr/src]# swapinfo Device 1K-blocks UsedAvail Capacity Type /dev/ad2s1b 78008515362647266%Interleaved I don't know what to make of either of these commands. Which logs should I be looking at? Here is `tail' of /var/log/messages: Mar 3 18:14:50 little_boy kernel: swap_pager: out of swap space Mar 3 18:14:50 little_boy kernel: swap_pager_getswapspace: failed Mar 3 18:14:50 little_boy kernel: pid 40733 (genattrtab), uid 0, was killed: out of swap space Mar 3 20:09:38 little_boy kernel: swap_pager: out of swap space Mar 3 20:09:55 little_boy kernel: swap_pager_getswapspace: failed Mar 3 20:09:55 little_boy kernel: pid 58759 (genattrtab), uid 0, was killed: out of swap space Which seems that I am out of space, but I'm not sure why that is happening. My machine is old and slow, but I never had problems compiling 4.x? - --- Randomly Generated Quote: 'There are lies, damned lies, and statistics.' -Mark Twain Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -BEGIN PGP SIGNATURE- Version: PGP 8.0 Comment: This message has been digitally signed by Mike Loiterman iQA/AwUBPmVpjmjZbUnRudGOEQK4IwCg04FEx8LEtBs5/Nl4VMKITgMf6dsAn0Mn ZNwlHOrMTDGDx4D/cdRbLqFQ =kibk -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Sendmail patch questions...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Just applied the patch to /usr/src/contrib/sendmail/src I'm running sendmail 8.11.6 1. Is this the correct location for the patch? 2. Do I need to do a `make world' or can I just do a make install from with the /usr/src/contrib/sendmail directory and restart sendmail? Thanks... - --- Randomly Generated Quote: 'I like the word 'indolence'. It makes my laziness seem classy.' -- Bern Williams Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -BEGIN PGP SIGNATURE- Version: PGP 8.0 Comment: This message has been digitally signed by Mike Loiterman iQA/AwUBPmPqHWjZbUnRudGOEQIxuACcDbTnPBWb7aeao/X0nv0rkFJVdSkAoMSn 3vFfqEMYdkU5YCN6HXUUfaCn =pxNq -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Sendmail patch questions...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday, March 03, 2003 8:23 PM Giorgos Keramidas mailto:[EMAIL PROTECTED] wrote: On 2003-03-03 17:49, Mike Loiterman [EMAIL PROTECTED] wrote: Just applied the patch to /usr/src/contrib/sendmail/src I'm running sendmail 8.11.6 What patch did you apply? 1. Is this the correct location for the patch? Depends on the patch. If it's the one from www.sendmail.org for the 8.11.x versions of Sendmail, then yes... you applied it in the right part of the source tree. 2. Do I need to do a `make world' or can I just do a make install from with the /usr/src/contrib/sendmail directory and restart sendmail? It's probably better to do a full buildworld, to see if the patch breaks anything. Note though that even if a buildworld succeeds, you're effectively trying to backport the fixes to an older, unsupported branch of development. Without more testing it's not easy to answer questions like ``Will my Sendmail installation setup work without any sort of problem afterwards?'' - Giorgos PS: You can always upgrade to RELENG_4. Gregory Neil Shapiro, the maintainer of Sendmail on FreeBSD, has already merged the latest Sendmail version (8.12.8) to the RELENG_4 branch. Hrmm That seems like an awfull lot of upgrading for one patch (upgrading to RELENG_4). My system is extremely stable and I'd hate to rock the boat for this tiny patch. Seems like there is a better chance of something `breaking' during a full system upgrade rather then applying the patch and doing the buildworld. I've only got about two years of FreeBSD experience so I may be missing something. I certainly welcome input from more experienced admins. - --- Randomly Generated Quote: Too much of a good thing is *wonderful*. Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -BEGIN PGP SIGNATURE- Version: PGP 8.0 Comment: This message has been digitally signed by Mike Loiterman iQA/AwUBPmQ/qmjZbUnRudGOEQLXAACgrKEH6WsraeCi7sEIZA93GgZQYa4AnjxX vdGn4MpPwplQJXgK/FvZHTkR =BiXb -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Gd 2.0.11 can't find png headers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm trying to compile gd 2.0.11 but it can't seem to find the headers for PNG. This is strange since it finds the headers for JPEG, FreeType and XPM without any problem and they're all in the same place. I've tried different varations of --with-png=DIR none seem to allow it find the PNG headers. I've done many searches on google and google groups but none seem to offer any advice for this problem. I have png-1.2.5_1 installed on my FreeBSD 5.0 system. Thanks for the help. This is the section of the ./configure where it seems to get tripped up: checking for png_create_read_struct in -lpng... no configure: WARNING: libpng is required - see http://www.libpng.org/pub/png/ checking for freetype-config... /usr/local/bin/freetype-config checking for FT_Init_FreeType in -lfreetype... yes checking freetype/freetype.h usability... yes checking freetype/freetype.h presence... yes checking for freetype/freetype.h... yes checking whether it's freetype 2... yes checking for jpeg_set_defaults in -ljpeg... yes checking for XpmReadFileToXpmImage in -lXpm... yes ** Configuration summary for gd 2.0.11: Support for PNG library: no Support for JPEG library: yes This is a listing of my /usr/local/lib directory: [19:23:47 root@little_boy: /usr/local/lib]# ls apache2libexpat.so.4liblber.a libspgrove.so compat libfreetype.aliblber.so libspgrove.so.1 libcharset.a libfreetype.so liblber.so.2libstyle.so libcharset.so libfreetype.so.9 libldap.a libstyle.so.1 libcharset.so.1libgettextlib-0.11.5.so libldap.so libtiff.a libcups.a libgettextlib.so libldap.so.2libtiff.so libcups.so libgettextsrc-0.11.5.so libldap_r.a libtiff.so.4 libcups.so.2 libgettextsrc.so libldap_r.solibungif.a libcupsimage.a libgrove.so libldap_r.so.2 libungif.so libcupsimage.solibgrove.so.1libltdl.a libungif.so.5 libcupsimage.so.2 libiconv.a libltdl.so libz.a libdb3.a libiconv.so libltdl.so.1m3 libdb3.so libiconv.so.3libpng.amysql libdb3.so.3libintl.alibpng.so perl5 libdb3_cxx.a libintl.so libpng.so.5 perllocal.pod libdb3_cxx.so libintl.so.4 libruby.so python2.1 libdb3_cxx.so.3libjpeg.alibruby.so.16 ruby libexpat.a libjpeg.so libsp.so libexpat.solibjpeg.so.9 libsp.so.1 - --- Randomly Generated Quote: May I please be excused? My Brain is full. Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -BEGIN PGP SIGNATURE- Version: PGP 8.0 Comment: This message has been digitally signed by Mike Loiterman iQA/AwUBPlLdBGjZbUnRudGOEQJqBgCfSVAsFEGZ0ZRV7ksrX0IxC06KeLIAoIOM k1+SE17J/FGTOQVmfWLUQcGX =mQJS -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Apache built correctly?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday, February 05, 2003 10:31 AM [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Mike Loiterman [EMAIL PROTECTED] writes: On Tuesday, February 04, 2003 9:11 AM [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Mike Loiterman [EMAIL PROTECTED] writes: Absolutly nothing appears in the httpd-access.log file when I try to access the index.html. When I try to do http://localhost I get nothing. Just this: unable to connect to remote host. I've restarted apache many times with the same results. I restarted my machine with the same results. I can telnet into port 80 but Apache doesn't appear to answer. Something tells me that the daemon isn't running correctly or that Apache was installed incorrectly, although 'ps -aux | grep httpd' shows: What does doesn't appear to answer mean? The fact that you can telnet in tells you that it isn't a network-layer issue. Did you try a legitimate HTTP request? Well I telnet to 80 and it just says refused: [02:22:47 root@little_boy: /etc/mail]# telnet localhost 80 Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host Ah. So you *can't* telnet into port 80. That's different. Use sockstat(1) to see if anything is bound to port 80, and look at firewall rules to see if something's blocking it before it gets there. [13:41:19 root@little_boy: /etc/mail]# sockstat | grep 80 www httpd 30322 3 tcp6 *:80 *:* www httpd 30321 3 tcp6 *:80 *:* www httpd 30320 3 tcp6 *:80 *:* www httpd 30319 3 tcp6 *:80 *:* www httpd 30318 3 tcp6 *:80 *:* root httpd 30309 3 tcp6 *:80 *:* Hrmm...seems to be bound to thr right ports??? I'm not sure how to check the firewall rules, as this machine is already behind a firewall. Even so, wouldn't the http://localhost bypass any firewall stuff? - --- Randomly Generated Quote: 'Try to keep things in perspective. Fifty years from now, kids in history classes will be yawning over what panics us today.' -- Unknown Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -BEGIN PGP SIGNATURE- Version: PGP 8.0 Comment: This message has been digitally signed by Mike Loiterman iQA/AwUBPkFof2jZbUnRudGOEQJ/iQCfa3x7TM7tF7RQCgF+kN1wjxnuk8gAoOjI qmXBlK/oxeZBw08G6dnTXkYP =szb4 -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Apache built correctly?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday, February 05, 2003 10:31 AM [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Mike Loiterman [EMAIL PROTECTED] writes: On Tuesday, February 04, 2003 9:11 AM [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Mike Loiterman [EMAIL PROTECTED] writes: Absolutly nothing appears in the httpd-access.log file when I try to access the index.html. When I try to do http://localhost I get nothing. Just this: unable to connect to remote host. I've restarted apache many times with the same results. I restarted my machine with the same results. I can telnet into port 80 but Apache doesn't appear to answer. Something tells me that the daemon isn't running correctly or that Apache was installed incorrectly, although 'ps -aux | grep httpd' shows: What does doesn't appear to answer mean? The fact that you can telnet in tells you that it isn't a network-layer issue. Did you try a legitimate HTTP request? Well I telnet to 80 and it just says refused: [02:22:47 root@little_boy: /etc/mail]# telnet localhost 80 Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host Ah. So you *can't* telnet into port 80. That's different. Use sockstat(1) to see if anything is bound to port 80, and look at firewall rules to see if something's blocking it before it gets there. [13:41:19 root@little_boy: /etc/mail]# sockstat | grep 80 www httpd 30322 3 tcp6 *:80 *:* www httpd 30321 3 tcp6 *:80 *:* www httpd 30320 3 tcp6 *:80 *:* www httpd 30319 3 tcp6 *:80 *:* www httpd 30318 3 tcp6 *:80 *:* root httpd 30309 3 tcp6 *:80 *:* Hrmm...seems to be bound to thr right ports??? I'm not sure how to check the firewall rules, as this machine is already behind a firewall. Even so, wouldn't the http://localhost bypass any firewall stuff? - --- Randomly Generated Quote: Useless Invention: Brown undershorts. Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -BEGIN PGP SIGNATURE- Version: PGP 8.0 Comment: This message has been digitally signed by Mike Loiterman iQA/AwUBPkGTFGjZbUnRudGOEQLotgCcDS5LT030EiupOSQ7vOwQRa/ytJMAnA9R ehJvztUVn8vsxwsdbSxVuJKV =JogU -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Apache built correctly?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday, February 05, 2003 5:28 PM Matthew Emmerton mailto:[EMAIL PROTECTED] wrote: On Wednesday, February 05, 2003 10:31 AM [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Mike Loiterman [EMAIL PROTECTED] writes: On Tuesday, February 04, 2003 9:11 AM [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Mike Loiterman [EMAIL PROTECTED] writes: Absolutly nothing appears in the httpd-access.log file when I try to access the index.html. When I try to do http://localhost I get nothing. Just this: unable to connect to remote host. I've restarted apache many times with the same results. I restarted my machine with the same results. I can telnet into port 80 but Apache doesn't appear to answer. Something tells me that the daemon isn't running correctly or that Apache was installed incorrectly, although 'ps -aux | grep httpd' shows: What does doesn't appear to answer mean? The fact that you can telnet in tells you that it isn't a network-layer issue. Did you try a legitimate HTTP request? Well I telnet to 80 and it just says refused: [02:22:47 root@little_boy: /etc/mail]# telnet localhost 80 Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host Ah. So you *can't* telnet into port 80. That's different. Use sockstat(1) to see if anything is bound to port 80, and look at firewall rules to see if something's blocking it before it gets there. [13:41:19 root@little_boy: /etc/mail]# sockstat | grep 80 www httpd 30322 3 tcp6 *:80 *:* www httpd 30321 3 tcp6 *:80 *:* www httpd 30320 3 tcp6 *:80 *:* www httpd 30319 3 tcp6 *:80 *:* www httpd 30318 3 tcp6 *:80 *:* root httpd 30309 3 tcp6 *:80 *:* Hrmm...seems to be bound to thr right ports??? I'm not sure how to check the firewall rules, as this machine is already behind a firewall. Even so, wouldn't the http://localhost bypass any firewall stuff? It's bound to the right ports, but it's only listening on the IPv6 address -- not the IPv4 address. I'm not sure what the fix for this is, but this has been discussed on the list recently -- check the archives. Matt: You were 100% on the mark. For anyone that is interested -- just add the following lines in your httpd.conf file: Listen 0.0.0.0:80 Listen [::]:80 And it works perfectly. This is a known problem with Apache2 although it isn't well documented. Hopefully this will help someone else. - --- Randomly Generated Quote: My phone number is seventeen. I got one of the early ones. --George Carlin Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -BEGIN PGP SIGNATURE- Version: PGP 8.0 Comment: This message has been digitally signed by Mike Loiterman iQA/AwUBPkGmvGjZbUnRudGOEQJu5wCghdp1njU/6Y35/kZhXFv2r9VweNMAn0D/ uDnpEC797YOoAQ8WBKwBYDKZ =AraT -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Apache built correctly?
/HTTP_BAD_REQUEST.html.var #ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var #ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var #ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var #ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var #ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var #ErrorDocument 410 /error/HTTP_GONE.html.var #ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var #ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var #ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var #ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var #ErrorDocument 415 /error/HTTP_SERVICE_UNAVAILABLE.html.var #ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var #ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var #ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var #ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var #ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var # # The following directives modify normal HTTP response behavior to # handle known problems with browser implementations. # BrowserMatch Mozilla/2 nokeepalive BrowserMatch MSIE 4\.0b2; nokeepalive downgrade-1.0 force-response-1.0 BrowserMatch RealPlayer 4\.0 force-response-1.0 BrowserMatch Java/1\.0 force-response-1.0 BrowserMatch JDK/1\.0 force-response-1.0 # # The following directive disables redirects on non-GET requests for # a directory that does not include the trailing slash. This fixes a # problem with Microsoft WebFolders which does not appropriately handle # redirects for folders with DAV methods. # Same deal with Apple's DAV filesystem. # BrowserMatch Microsoft Data Access Internet Publishing Provider redirect-carefully BrowserMatch ^WebDrive redirect-carefully BrowserMatch ^WebDAVFS/1.[012] redirect-carefully # # Allow server status reports generated by mod_status, # with the URL of http://servername/server-status # Change the .example.com to match your domain to enable. # #Location /server-status #SetHandler server-status #Order deny,allow #Deny from all #Allow from .example.com #/Location # # Allow remote server configuration reports, with the URL of # http://servername/server-info (requires that mod_info.c be loaded). # Change the .example.com to match your domain to enable. # #Location /server-info #SetHandler server-info #Order deny,allow #Deny from all #Allow from .example.com #/Location # # Proxy Server directives. Uncomment the following lines to # enable the proxy server: # #IfModule mod_proxy.c #ProxyRequests On # #Proxy * #Order deny,allow #Deny from all #Allow from .example.com #/Proxy # # Enable/disable the handling of HTTP/1.1 Via: headers. # (Full adds the server version; Block removes all outgoing Via: headers) # Set to one of: Off | On | Full | Block # #ProxyVia On # # To enable the cache as well, edit and uncomment the following lines: # (no cacheing without CacheRoot) # #CacheRoot /usr/local/www/proxy #CacheSize 5 #CacheGcInterval 4 #CacheMaxExpire 24 #CacheLastModifiedFactor 0.1 #CacheDefaultExpire 1 #NoCache a-domain.com another-domain.edu joes.garage-sale.com #/IfModule # End of proxy directives. # # Bring in additional module-specific configurations # IfModule mod_ssl.c Include etc/apache2/ssl.conf /IfModule ### Section 3: Virtual Hosts # # VirtualHost: If you want to maintain multiple domains/hostnames on your # machine you can setup VirtualHost containers for them. Most configurations # use only name-based virtual hosts so the server doesn't need to worry about # IP addresses. This is indicated by the asterisks in the directives below. # # Please see the documentation at # URL:http://httpd.apache.org/docs-2.0/vhosts/ # for further details before you try to setup virtual hosts. # # You may use the command line option '-S' to verify your virtual host # configuration. # # Use name-based virtual hosting. # #NameVirtualHost * # # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for requests without a known # server name. # #VirtualHost * #ServerAdmin [EMAIL PROTECTED] #DocumentRoot /www/docs/dummy-host.example.com #ServerName dummy-host.example.com #ErrorLog /var/log/dummy-host.example.com-error_log #CustomLog /var/log/dummy-host.example.com-access_log common #/VirtualHost - --- Randomly Generated Quote: Try to explain a chocolate soda to today's youth. Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -BEGIN PGP SIGNATURE- Version: PGP 8.0 Comment: This message has been digitally signed by Mike Loiterman iQA/AwUBPj53S2jZbUnRudGOEQI/0wCfY+K0/1iyCwAnh5kLAVwy8mRSsTYAoI4A k5LR8ydGNbY21MK5/YHzWJX2 =mt2g -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: CD-ROM installtion problems.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday, January 20, 2003 9:35 PM John Bleichert mailto:[EMAIL PROTECTED] wrote: On Mon, 20 Jan 2003, Mike Loiterman wrote: Date: Mon, 20 Jan 2003 21:42:23 -0600 From: Mike Loiterman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: CD-ROM installtion problems. -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Just downloaded 5.0 and successfully burnt the discs. Unfortunately I have been unable to get my system to boot with the discs. Disc 1 works fine with others systems, however. I can boot the system with a windows disk without problems, so the CD-ROM drive appears to work. I can boot the system with the floppies, but when I try to install from the CD-ROM drive it says it there was an error mount /dev/adc0. I'm using a promise Ultar133TX2 ata adapter which is supported by FreeBSD according to the documentation. The card sees both the HD and the CD-ROM. I used Nero Burning ROM to burn the disc. I created an Image from the ISO. Did I burn the disc incorrectly? The ISO already *is* an image. If you get a directory listing of the CD in e.g. win32 do you see 1 enormous file or the BSD CD structure? If the disk was burned improperly, you'll see just 1 large file on the CD and not the correct file structure. HTH - JB # John Bleichert # http://vonbek.dhs.org/latest.jpg The files are listed correctly, i.e. the whole directory structure. One thing I thought of is the first question I'm asked after loading 5.0 from the floppies is if I want to load kernal modules from the driver disk. Do you think that has anything to do with it. Its 3:30 am here, so I'll wait till later this morning to try that, but wanted to get some feedback first. - --- Randomly Generated Quote: I arise in the morning torn between a desire to improve the world and a desire to enjoy the world. This makes it hard to plan the day. Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -BEGIN PGP SIGNATURE- Version: PGP 8.0 Comment: This message has been digitally signed by Mike Loiterman iQA/AwUBPi0QkGjZbUnRudGOEQInfgCgzZCsOKf/QgUecWdnJI8v/6Ml/EwAmweN 7Np/qgro8+DLXqEztl3RFNQr =ouSF -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
CD-ROM installtion problems.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Just downloaded 5.0 and successfully burnt the discs. Unfortunately I have been unable to get my system to boot with the discs. Disc 1 works fine with others systems, however. I can boot the system with a windows disk without problems, so the CD-ROM drive appears to work. I can boot the system with the floppies, but when I try to install from the CD-ROM drive it says it there was an error mount /dev/adc0. I'm using a promise Ultar133TX2 ata adapter which is supported by FreeBSD according to the documentation. The card sees both the HD and the CD-ROM. I used Nero Burning ROM to burn the disc. I created an Image from the ISO. Did I burn the disc incorrectly? Any ideas what is going on or how I can fix this? - --- Randomly Generated Quote: If today is the first day of the rest of your life, then what the hell was yesterday? Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -BEGIN PGP SIGNATURE- Version: PGP 8.0 Comment: This message has been digitally signed by Mike Loiterman iQA/AwUBPizBnmjZbUnRudGOEQIbDACeMcm6QwCop9lRptK2oIglD+xlwLsAoN5i 8qUhQjczaxag3Zxe2Gz9T6N4 =/aXn -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
ATA PCI Adapter questions
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm thinking of purchasing an ATA PCI Adapter so that I may access a large hard disk on a PC with an old BIOS. The BIOS has a limitation of 2 gigs and I have a 20 gig drive, so the card must have, obviously, on board BIOS for recognizing large drives. I searched through the release notes on 4_STABLE (http://www.freebsd.org/relnotes/4-STABLE/hardware/i386/x27.html#AEN33) but I'm wondering if there are there any pitfalls to installing one or using one? Also -- are any of the cards listed in the release notes inherently better then the others? Suggestions for other cards are appreciated. Thanks for your time. - --- Randomly Generated Quote: If rabbits feet are so lucky, what happened to the rabbit? Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -BEGIN PGP SIGNATURE- Version: PGP 8.0 Comment: This message has been digitally signed by Mike Loiterman iQA/AwUBPiSXAWjZbUnRudGOEQL36gCgjzQpl6SyTgTKCIruOZfutCjCQBwAn1ke UeGl+hDWDV44pJYNkg5Ls9K5 =741v -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Bios not recognizing correct HD size
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday, January 09, 2003 4:16 AM Paul Everlund mailto:[EMAIL PROTECTED] wrote: On Wed, 8 Jan 2003, Mike Loiterman wrote: On Wednesday, January 08, 2003 5:54 PM Stephen Hovey mailto:[EMAIL PROTECTED] wrote: I think you're right. So should I just define the drive correctlt in fdisk? If so, what would be the proper settings. usually a drive has em on the drive on something - a sticker/label sorta thing with head, cyl, sect, etc Ok I found out the proper numbers: 39704 cyls, 16 heads, 63 sectors. I defined it that way in the BIOS. When I get to the fdisk part of the install I did 'G'. I then set the geometry according to those numbers and told it to use the entire drive. When I go to define the slices, though, it still thinks the drive is only 2 gigs. What am I doing wrong? Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net Maybe this will work? Set it up in BIOS to be a 2 GB disk. Boot from the floppy/CD, and in fdisk you should give the proper numbers. Create two partitions. The first one to boot from, that should be less than 2 GB, and the second should be the rest of the disk. Now create your slices in the two partitions, and of course / should be on the first one. Maybe this layout could be sufficient for you? Partition 1 (2 GB): / 256 MB (swap) 2*RAM /var The rest of the available space... Partition 2 (18 GB): /usr 18 GB Also make sure the jumpers are correctly set on the drive. Sometimes the jumpers can be set to fake the disk size reported to the BIOS. Hope above information will make it work! Best regards, Paul I think trying to fool the BIOS into recognizing it is an exercise in futility. I think my best bet would be to buy and ATA Card with on board BIOS Would that work with BSD? - --- Randomly Generated Quote: 'Time is an illusion. Lunchtime doubly so.' -- Douglas Adams Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -BEGIN PGP SIGNATURE- Version: PGP 8.0 Comment: This message has been digitally signed by Mike Loiterman iQA/AwUBPh9ANWjZbUnRudGOEQIF0gCfSN+pLIizx+smR6Gl74imgYC0pjgAoMZC aP0XOcahfNJ3n6F5OJvsnA3X =Nmy7 -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Bios not recognizing correct HD size
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday, January 08, 2003 5:40 PM Stephen Hovey mailto:[EMAIL PROTECTED] wrote: I thought fbsd didnt use the bios when addressing a drive On Wed, 8 Jan 2003, Mike Loiterman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 PROBLEM I have an old Compaq machine that I'm trying to install a 20 gig drive into, but it's only recognizing the first 2112MB. Obviously this is a limitation of the BIOS. Aside from buying an PCI ATA card (the machine only has one PCI slot and I'm using it for my NIC), is there anyway to get this drive working on the exsisting system? CURRENT SETTINGS Compaq Presario 4504 Phoenix BIOS, not sure what version Maxtor Drive, not sure which model since there are no markings on the drive itself Drive is Primary Master and the Cylinder Limitation Jumper is set as well. Detection Type: Auto Cylinders: 4092 Heads: 16 Sectors 63 Multi-Sector Transfers: 16 Sectors LBA Mode Control: Enabled 32 Bit I/O: Disabled Transfer Mode: Fast PIO 4. I can put the drive into User Detection mode and adjust the Cylinders, Heads, and Sectors myself, but I don't know what settings to use. Thanks to all for help. - --- Randomly Generated Quote: Why do cats have canine teeth? Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -BEGIN PGP SIGNATURE- Version: PGP 8.0 Comment: This message has been digitally signed by Mike Loiterman iQA/AwUBPhy0sGjZbUnRudGOEQLmgwCfcF3+qfZOjbdlXFbk7/Tlc31sMXcAoIz0 UwEYoDeu6yyc1AY56JqfuaaF =aREs -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message I think you're right. So should I just define the drive correctlt in fdisk? If so, what would be the proper settings. - --- Randomly Generated Quote: I'm immortalso far. - Anon Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -BEGIN PGP SIGNATURE- Version: PGP 8.0 Comment: This message has been digitally signed by Mike Loiterman iQA/AwUBPhy29WjZbUnRudGOEQLwDwCg+kEZaAVvmXT9bSo/kcEqdF82ZbIAoOLu 9B4uyx/OSa+TKJPwfaem3Hjv =7gLP -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Epals (Undeliverable mail, return to sender)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday, January 06, 2003 6:45 AM [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: This is a multi-part message in MIME format... =_1042069519-15086-238 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: binary Your message could not be delivered to [EMAIL PROTECTED] because their mailbox is full. Try resending your message at a later date. Your orginal message is attached to this email. =_1042069519-15086-238 Content-Disposition: attachment Content-Transfer-Encoding: binary Content-Type: message/rfc822 Return-Path: [EMAIL PROTECTED] Received: from localhost (smtp2 [127.0.0.1]) by mail.epals.com (ePALS-PostMaster) with ESMTP id A3CAC3C5E7 for [EMAIL PROTECTED]; Wed, 8 Jan 2003 18:45:19 -0500 (EST) Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) by mail.epals.com (ePALS-PostMaster) with ESMTP id 26D273C5D5 for [EMAIL PROTECTED]; Wed, 8 Jan 2003 18:45:19 -0500 (EST) Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 4BAE955597; Wed, 8 Jan 2003 15:45:12 -0800 (PST) (envelope-from [EMAIL PROTECTED]) Received: by hub.freebsd.org (Postfix, from userid 538) id 3905F37B405; Wed, 8 Jan 2003 15:45:11 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with SMTP id 1D9942E800D; Wed, 8 Jan 2003 15:45:11 -0800 (PST) Received: by hub.freebsd.org (bulk_mailer v1.12); Wed, 8 Jan 2003 15:45:11 -0800 Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A4B437B401 for [EMAIL PROTECTED]; Wed, 8 Jan 2003 15:45:08 -0800 (PST) Received: from fat_man.ascendency.net (12-211-152-75.client.attbi.com [12.211.152.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82CE243ED4 for [EMAIL PROTECTED]; Wed, 8 Jan 2003 15:45:07 -0800 (PST) (envelope-from [EMAIL PROTECTED]) Received: from mike (user-119bct7.biz.mindspring.com [66.149.179.167]) (authenticated) by fat_man.ascendency.net (8.11.6/8.11.6) with ESMTP id h08NiKQ24471; Wed, 8 Jan 2003 17:44:20 -0600 (CST) (envelope-from [EMAIL PROTECTED]) Reply-To: [EMAIL PROTECTED] From: Mike Loiterman [EMAIL PROTECTED] To: 'Stephen Hovey' [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: Bios not recognizing correct HD size Date: Wed, 8 Jan 2003 17:40:37 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: [EMAIL PROTECTED] Sender: [EMAIL PROTECTED] List-ID: freebsd-questions.FreeBSD.ORG List-Archive: http://docs.freebsd.org/mail/ (Web Archive) List-Help: mailto:[EMAIL PROTECTED]?subject=help (List Instructions) List-Subscribe: mailto:[EMAIL PROTECTED]?subject=subscribe%20freebsd-questions List-Unsubscribe: mailto:[EMAIL PROTECTED]?subject=unsubscribe%20freebsd-question s X-Loop: FreeBSD.ORG Precedence: bulk =20 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday, January 08, 2003 5:40 PM Stephen Hovey mailto:[EMAIL PROTECTED] wrote: I thought fbsd didnt use the bios when addressing a drive =20 On Wed, 8 Jan 2003, Mike Loiterman wrote: =20 =20 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 =20 PROBLEM I have an old Compaq machine that I'm trying to install a 20 gig drive into, but it's only recognizing the first 2112MB. Obviously this is a limitation of the BIOS. Aside from buying an PCI ATA card (the machine only has one PCI slot and I'm using it for my NIC), is there anyway to get this drive working on the exsisting system?=20=20=20= =20 =20 =20 CURRENT SETTINGS Compaq Presario 4504 Phoenix BIOS, not sure what version Maxtor Drive, not sure which model since there are no markings on the drive itself Drive is Primary Master and the Cylinder Limitation Jumper is set as well.=20 =20 Detection Type: Auto Cylinders: 4092 Heads: 16 Sectors 63 Multi-Sector Transfers: 16 Sectors LBA Mode Control: Enabled 32 Bit I/O: Disabled Transfer Mode: Fast PIO 4. =20 I can put the drive into User Detection mode and adjust the Cylinders, Heads, and Sectors myself, but I don't know what settings to use.=20=20 =20 Thanks to all for help. =20 - --- Randomly Generated Quote: Why do cats have canine teeth? =20 Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net =20 =20 =20 -BEGIN PGP SIGNATURE- Version: PGP 8.0 Comment: This message has been digitally signed by Mike Loiterman =20 iQA/AwUBPhy0sGjZbUnRudGOEQLmgwCfcF3+qfZOjbdlXFbk7/Tlc31sMXcAoIz0
RE: Bios not recognizing correct HD size
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday, January 08, 2003 5:54 PM Stephen Hovey mailto:[EMAIL PROTECTED] wrote: I think you're right. So should I just define the drive correctlt in fdisk? If so, what would be the proper settings. usually a drive has em on the drive on something - a sticker/label sorta thing with head, cyl, sect, etc Ok I found out the proper numbers: 39704 cyls, 16 heads, 63 sectors. I defined it that way in the BIOS. When I get to the fdisk part of the install I did 'G'. I then set the geometry according to those numbers and told it to use the entire drive. When I go to define the slices, though, it still thinks the drive is only 2 gigs. What am I doing wrong? - --- Randomly Generated Quote: Time is nature's way of making sure that everything doesn't happen at once. Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -BEGIN PGP SIGNATURE- Version: PGP 8.0 Comment: This message has been digitally signed by Mike Loiterman iQA/AwUBPhy/yWjZbUnRudGOEQJuMQCfdGPiziwQl63XRoKBezC+Qgc//SUAoNk6 BQUYb3spQEflY3x6i4a2A71G =AUgk -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: du -sh inconsistant with df -h
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul: You hit the nail right on the head! I did a lsof +L1 and found stunnel taking up a huge (2148999) amount of space. Killed it, restarted it and all my space is back! Now, the question is why does it keep accumulating all that space and how can I prevent that from happening. Quick addendum: I had stunnel on debug level 7 which was logging a tremendous amount of information since it records each and every connection; I have many users check their mail via a tunneled pop connection every 1-3 minutes! As you can imagine, the log files were enormous. Wiping the logs and dialing the debug level down to 4 fixed the problem nicely. Hope this helps someone else. Happy holidays to all! -BEGIN PGP SIGNATURE- Version: PGP 8.0 Comment: This message has been digitally signed by Mike Loiterman iQA/AwUBPgPRl2jZbUnRudGOEQKsowCg+Yig3H1E+MfddfGQBIk1NQo08VkAn3Uz xDmnOSKmyg8ctznns37K14Jl =Oswk -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
du -sh inconsistant with df -h
This is strange. When I do: [11:49:09 root@fat_man: /var]# du -sh 7.0M. but when I do: [11:49:18 root@fat_man: /var]# df -h FilesystemSize Used Avail Capacity Mounted on /dev/ad0s1a97M55M34M62%/ /dev/ad0s1f 1.7G 1.2G 403M75%/usr /dev/ad0s1e19M 8.6M 9.2M48%/var procfs4.0K 4.0K 0B 100%/proc Where are the extra 1.6 megs at? I thought there must be a stray process running that had a lock on that amount of memory, but I couldn't find anything with top or via ps -aux. I use tripwire everynight to check file consistencies and I believe it's the problem, I can't figure out how or why. Rebooting the server fixes the problem and clears up the missing memory. ??? Please reply to [EMAIL PROTECTED] which is the address I am subscribed with, but since my isp hasn't corrected my reverse dns problem yet, I can't post from that address to *@freebsd.org. Thanks! _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Cracker attack...is my system compromised?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 -Original Message- From: Matthew Emmerton [mailto:[EMAIL PROTECTED]] Sent: Monday, November 25, 2002 4:48 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Cracker attack...is my system compromised? On to my question: The past few days have seen some strange activity in my log files. You're freaking out at normal error messages. 11/25/2002 Security Report: 25 02:14:46 fat_man sendmail[16217]: gAP8Ekh16217: SYSERR: putoutmsg (www.nakorinthias.gr): error on output channel sending 220 fat_man.ascendency.net ESMTP Sendmail 8.11.6/8.11.6; Mon, 25 Nov 2002 02:14:46 -0600 (CST): Broken pipe All this means is that www.nakorinthias.gr dropped a SMTP session without aborting or closing first. This usually occurs when the connection times out or gets dropped. 11/24/2002 Security Report 44:59 fat_man last message repeated 2 times Nov 23 16:23:03 fat_man sshd[80281]: warning: /etc/hosts.allow, line 23: host name/name mismatch: www.craftworks.co.jp != ns.craftworks.co.jp Nov 23 16:24:32 fat_man sshd[80292]: warning: /etc/hosts.allow, line 23: host name/name mismatch: www.craftworks.co.jp != ns.craftworks.co.jp This means that a host listed in /etc/hosts.allow doesn't resolve to the same name forwards and backwards. This is a DNS problem with [www|ns].craftworks.co.jp. arp: 192.168.1.1 moved from 00:04:5a:20:6e:b7 to 00:06:25:92:58:f5 on ep0 Nov 23 16:27:53 fat_man /kernel: arp: 192.168.1.1 moved from 00:04:5a:20:6e:b7 to 00:06:25:92:58:f5 on ep0 arp: 192.168.1.2 moved from 00:01:03:20:2f:75 to 00:06:25:10:e0:03 on ep0 Nov 23 16:57:41 fat_man /kernel: arp: 192.168.1.2 moved from 00:01:03:20:2f:75 to 00:06:25:10:e0:03 on ep0 arp: 192.168.1.2 moved from 00:06:25:10:e0:03 to 00:01:03:20:2f:75 on ep0 Nov 23 17:00:17 fat_man /kernel: arp: 192.168.1.2 moved from 00:06:25:10:e0:03 to 00:01:03:20:2f:75 on ep0 arp: 192.168.1.4 moved from 00:06:25:10:e0:03 to 00:80:c6:fa:9f:21 on ep0 Nov 23 18:24:50 fat_man /kernel: arp: 192.168.1.4 moved from 00:06:25:10:e0:03 to 00:80:c6:fa:9f:21 on ep0 arp: 192.168.1.4 moved from 00:80:c6:fa:9f:21 to 00:06:25:10:e0:03 on ep0 Nov 23 18:25:05 fat_man /kernel: arp: 192.168.1.4 moved from 00:80:c6:fa:9f:21 to 00:06:25:10:e0:03 on ep0 arp: 192.168.1.4 moved from 00:06:25:10:e0:03 to 00:80:c6:fa:9f:21 on ep0 Nov 23 18:27:51 fat_man /kernel: arp: 192.168.1.4 moved from 00:06:25:10:e0:03 to 00:80:c6:fa:9f:21 on ep0 arp: 192.168.1.4 moved from 00:80:c6:fa:9f:21 to 00:06:25:10:e0:03 on ep0 Nov 23 18:31:39 fat_man /kernel: arp: 192.168.1.4 moved from 00:80:c6:fa:9f:21 to 00:06:25:10:e0:03 on ep0 This means that you've got one machine (192.168.1.4) with two network cards plugged into the same hub. These messages are FreeBSD saying hey, traffic for this IP came from one NIC (00:06:25:10:e0:03) and now it's coming from another (00:80:c6:fa:9f:21).. This is a problem with your network setup. 11/23/2002 Daily run report fat_man.ascendency.net group diffs: 16a17 cyrus:*:60:daemon 30d30 cyrus:*:60:daemon Whats going on here? Have you cvsup'd -STABLE lately and run mergemaster, or have you reinstalled/upgraded the mail/cyrus port? This was discussed on -stable not too long ago. I just changed most of my passwords and changed the root password to an 18 digit alpha numeric string. I have SMTP-AUTH on and working all relays have been turned off. I checked my /etc/hosts, groups, passwd as well as last and everything appears to be secure. I have restricted sshd to only one particular IP. Firewalled off all unnecessary ports and removed everything possible from hosts.allow. I'm running 8.11.6 sendmail, but can't find the version of ssh. Do I need to do anything else? This appears to be a program running various probes to determine my systems security level. Am I wrong? It's nice to see that you've tightened up security, but you're freaking out wy too much. All of this is just normal error logging. -- Matt Thanks for the reassurance. I guess I can rest easy now.. ... Randomly Generated Quote: My life has Chinese music torture playing in the background. Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -BEGIN PGP SIGNATURE- Version: PGP 7.0.4 Comment: Message digitally signed by Mike Loiterman iQA/AwUBPeKp1GjZbUnRudGOEQKMkgCeP9fLOH4GASyMOZ4wo5ISI9lf44MAnjzi na1tinhngPPRVcMzuPWQSyRP =pcd3 -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Strange Group Diffs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Just found this in my daily run report and I'm wondering what it means. fat_man.ascendency.net group diffs: 16a17 cyrus:*:60:daemon 30d30 cyrus:*:60:daemon I'm concerned because I'm using SMTP-AUTH (via cyrus). Is someone messing with my mailserver? ... Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -BEGIN PGP SIGNATURE- Version: PGP 7.0.4 Comment: Message digitally signed by Mike Loiterman iQA/AwUBPd+F52jZbUnRudGOEQK6wQCgoIOsGprycu7wq9hTzR8B9Ik7AgIAnApP DMMnjyjXg9Ax8001gT+WpxgC =+fEf -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Strange Group Diffs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I also notice the following in daily mail report Checking for rejected mail hosts: 1 docserver.cac.washington.edu and in daily security report: about 50 or 60 swap_pager_getswapspace: failed snip swap_pager_getswapspace: failed swap_pager_getswapspace: failed pid 2773 (httpd), uid 80, was killed: out of swap space Nov 22 07:55:06 fat_man /kernel: pid 2773 (httpd), uid 80, was killed: out of swap space Nov 22 13:18:38 fat_man su: mike to root on /dev/ttyp0 swap_pager_getswapspace: failed and then about 20 or 30 more of the above I did the su to root at 13:18. I'm sure of that. I killed apache this moring as well as all the stray httpd processes and restarted the server without any problems. ... Randomly Generated Quote: If you make people think they are thinking, they'll love you; but if you really make them think, they'll hate you. --Don Marquis Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -Original Message- From: Ceri Davies [mailto:[EMAIL PROTECTED]] Sent: Saturday, November 23, 2002 7:49 AM To: Mike Loiterman Cc: [EMAIL PROTECTED] Subject: Re: Strange Group Diffs On Sat, Nov 23, 2002 at 07:43:04AM -0600, Mike Loiterman wrote: fat_man.ascendency.net group diffs: 16a17 cyrus:*:60:daemon 30d30 cyrus:*:60:daemon Somebody moved that entry from line 16 to line 30 of /etc/group. I'm concerned because I'm using SMTP-AUTH (via cyrus). Is someone messing with my mailserver? If you didn't do this, it's a possibility. If you've sysinstall or similar to reconfigure your system lately, then it's *possible* that this was done automatically. Ceri -- The vengeance of the All-Father brings your last day! -BEGIN PGP SIGNATURE- Version: PGP 7.0.4 Comment: Message digitally signed by Mike Loiterman iQA/AwUBPd+IqWjZbUnRudGOEQIQcACg5uLkhtWPUPmvbZWIn4oJnkQYDisAoLE8 e4Viyo9nOmXRTxn87ym11Kuv =ulm6 -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Strange Group Diffs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sorry one more post! I did add and delete a test user in the time span that the log covers. I just checked on cyrus is back to line 17 in /etc/group. ... Randomly Generated Quote: Try to explain a chocolate soda to today's youth. Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -Original Message- From: Ceri Davies [mailto:[EMAIL PROTECTED]] Sent: Saturday, November 23, 2002 7:49 AM To: Mike Loiterman Cc: [EMAIL PROTECTED] Subject: Re: Strange Group Diffs On Sat, Nov 23, 2002 at 07:43:04AM -0600, Mike Loiterman wrote: fat_man.ascendency.net group diffs: 16a17 cyrus:*:60:daemon 30d30 cyrus:*:60:daemon Somebody moved that entry from line 16 to line 30 of /etc/group. I'm concerned because I'm using SMTP-AUTH (via cyrus). Is someone messing with my mailserver? If you didn't do this, it's a possibility. If you've sysinstall or similar to reconfigure your system lately, then it's *possible* that this was done automatically. Ceri -- The vengeance of the All-Father brings your last day! -BEGIN PGP SIGNATURE- Version: PGP 7.0.4 Comment: Message digitally signed by Mike Loiterman iQA/AwUBPd+JUGjZbUnRudGOEQIQSACfYlDu1HB7U7DLRy1KMNqbAAT8sVsAoK3I KY2seLEfyMfeBr7HTIiB0PDJ =q6Ld -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Strange Group Diffs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ugh...sorry to bother you all again... I just realized that I installed Pine on my windoze box yesterday. Is it possible that that was messing with the cyrus user? ... Randomly Generated Quote: 'Do you love any, do you love none, do you love many, can you love one, Do you love me?' -- Suzanne Vega Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -Original Message- From: Ceri Davies [mailto:[EMAIL PROTECTED]] Sent: Saturday, November 23, 2002 8:02 AM To: Mike Loiterman Cc: [EMAIL PROTECTED] Subject: Re: Strange Group Diffs On Sat, Nov 23, 2002 at 07:57:36AM -0600, Mike Loiterman wrote: I did add and delete a test user in the time span that the log covers. I just checked on cyrus is back to line 17 in /etc/group. My bad - the line got moved from line 30 to line 17. In: 16a17 cyrus:*:60:daemon Out: 30d30 cyrus:*:60:daemon Ceri -- For the dwelling of my elders! -BEGIN PGP SIGNATURE- Version: PGP 7.0.4 Comment: Message digitally signed by Mike Loiterman iQA/AwUBPd+NIGjZbUnRudGOEQK1VQCfeYK80Qweh7rj8JVJeAE87rVFg4QAn2Gw aKuBKchGaATW0ulzuU4ADp5c =O/s/ -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Shared object libmysqlclient.so.10 not found
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 -Original Message- From: Mike Loiterman [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 7:51 PM To: 'twig les'; '[EMAIL PROTECTED]' Subject: RE: Shared object libmysqlclient.so.10 not found -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 No...it works fine. I can use mySQL without any problems. Would reinstalling mysqlclient help fix this? ... Randomly Generated Quote: MILLENNIUM, n. The period of a thousand years when the lid is to be screwed down, with all reformers on the under side. -- Ambrose Bierce Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -Original Message- From: twig les [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 7:49 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Shared object libmysqlclient.so.10 not found # dmesg -a snip sendmail /usr/libexec/ld-elf.so.1: Shared object libmysqlclient.so.10 not found Sendmail works fine (the fact that you're reading this is proof) after I: == I don't know why Sendmail would fail from this but I'll bet that if you try to use your mysql client you'll get a nasty surprise. == #cd /etc/mail #make start I think...hrm...missing library. So I do: #ldconfig -r snip 84:-lmysqlclient.10 = /usr/local/lib/mysql/libmysqlclient.so.10 so the library is there, but it seems it's not seeing it at startup. == I've had this happen a few times. Basically my lib wasn't in my PATH. Try doing a echo $PATH and see if BSD will find it by default. The quickest remedy for this was to copy the lib to a place that BSD *will* see it. == I've done a pretty extensive google search and I've found a few occurances of this. There are only two types of replies: nothing, or the poster is told to check /etc/ld.so.conf and add the location of the lib to that file. Unfortunately, I don't have a /etd/ld.so.conf and creating it does nothing. I only have /var/run/ld.so.hints and that appears to be a binary. Can anyone help me fix this? == We try and leave that funny ld.so.conf stuff to the Linux kids. ;-) == = --- If you give a man a fish, he can eat for a day If you bludgeon him to death, you can eat the fish yourself --- __ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com -BEGIN PGP SIGNATURE- Version: PGP 7.0.4 Comment: Message digitally signed by Mike Loiterman iQA/AwUBPdmZGGjZbUnRudGOEQIcMQCgw79pJGkC5nI4z9sRCoT9k0u1ZdQAnRo w mSKwMbKTZLakLegR89u09Gt2 =rxLD -END PGP SIGNATURE- For anyone interested, the solution was to put: ldconfig_paths=$ldconfig_paths /usr/local/lib/mysql into /etc/rc.conf. The key part is the $ldconfog_paths. Without that, all the other lib directories get ignored. I was just putting ldconfig_paths= /usr/local/lib/mysql which solved my initial problem but prevented the system from seeing the other lib directories. ... Randomly Generated Quote: Reality is a crutch for people who can't handle buttons Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -BEGIN PGP SIGNATURE- Version: PGP 7.0.4 Comment: Message digitally signed by Mike Loiterman iQA/AwUBPdtUUGjZbUnRudGOEQLghACgmPnV1SEeQyBnACamNagaeTIcb6AAniAb Ly8hm03fWsbQTPQw/V86zDO+ =kdyd -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Shared object libmysqlclient.so.10 not found
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 No...it works fine. I can use mySQL without any problems. Would reinstalling mysqlclient help fix this? ... Randomly Generated Quote: MILLENNIUM, n. The period of a thousand years when the lid is to be screwed down, with all reformers on the under side. -- Ambrose Bierce Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -Original Message- From: twig les [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 7:49 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Shared object libmysqlclient.so.10 not found # dmesg -a snip sendmail /usr/libexec/ld-elf.so.1: Shared object libmysqlclient.so.10 not found Sendmail works fine (the fact that you're reading this is proof) after I: == I don't know why Sendmail would fail from this but I'll bet that if you try to use your mysql client you'll get a nasty surprise. == #cd /etc/mail #make start I think...hrm...missing library. So I do: #ldconfig -r snip 84:-lmysqlclient.10 = /usr/local/lib/mysql/libmysqlclient.so.10 so the library is there, but it seems it's not seeing it at startup. == I've had this happen a few times. Basically my lib wasn't in my PATH. Try doing a echo $PATH and see if BSD will find it by default. The quickest remedy for this was to copy the lib to a place that BSD *will* see it. == I've done a pretty extensive google search and I've found a few occurances of this. There are only two types of replies: nothing, or the poster is told to check /etc/ld.so.conf and add the location of the lib to that file. Unfortunately, I don't have a /etd/ld.so.conf and creating it does nothing. I only have /var/run/ld.so.hints and that appears to be a binary. Can anyone help me fix this? == We try and leave that funny ld.so.conf stuff to the Linux kids. ;-) == = --- If you give a man a fish, he can eat for a day If you bludgeon him to death, you can eat the fish yourself --- __ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com -BEGIN PGP SIGNATURE- Version: PGP 7.0.4 Comment: Message digitally signed by Mike Loiterman iQA/AwUBPdmZGGjZbUnRudGOEQIcMQCgw79pJGkC5nI4z9sRCoT9k0u1ZdQAnRow mSKwMbKTZLakLegR89u09Gt2 =rxLD -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Shared object libmysqlclient.so.10 not found
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Just finished doing a make buildworld and make installworld. Everything seems to be up and running fine except I get this error in dmesg/startup: # dmesg -a snip sendmail /usr/libexec/ld-elf.so.1: Shared object libmysqlclient.so.10 not found Sendmail works fine (the fact that you're reading this is proof) after I: #cd /etc/mail #make start I think...hrm...missing library. So I do: #ldconfig -r snip 84:-lmysqlclient.10 = /usr/local/lib/mysql/libmysqlclient.so.10 so the library is there, but it seems it's not seeing it at startup. I've done a pretty extensive google search and I've found a few occurances of this. There are only two types of replies: nothing, or the poster is told to check /etc/ld.so.conf and add the location of the lib to that file. Unfortunately, I don't have a /etd/ld.so.conf and creating it does nothing. I only have /var/run/ld.so.hints and that appears to be a binary. Can anyone help me fix this? ... Randomly Generated Quote: Who is 'General Failure' and why is he reading my disk? Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -BEGIN PGP SIGNATURE- Version: PGP 7.0.4 Comment: Message digitally signed by Mike Loiterman iQA/AwUBPdamsWjZbUnRudGOEQLbrQCffCEgGGwGAOmwGw/0lMGlvVqx6XkAoKBh Xe5QTiNGMbQZ87tgWfozMGMO =Cv3/ -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Recompiling Sendmail?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 -Original Message- From: Giorgos Keramidas [mailto:keramida;freebsd.org] Sent: Friday, November 15, 2002 8:18 AM To: Mike Loiterman Cc: 'Anish Mistry'; [EMAIL PROTECTED] Subject: Re: Recompiling Sendmail? On 2002-11-13 23:55, Mike Loiterman [EMAIL PROTECTED] wrote: Anish Mistry [mailto:mistry.7;osu.edu] wrote: On Wednesday 13 November 2002 10:00 pm, Mike Loiterman wrote: I suppose this might be better suited to the comp.mail.sendmail, but I'm posting it here because I believe my error is ultimately rooted in my use faulty use of FreeBSD rather then incorrect use of Sendmail. Indeed. I'm trying to add SMTP AUTH to my base installation of Sendmail installation without breaking anything! I installed cyrus-sasl without any problems. Now I need to add, according to the Sendmail.readme included with the cyrus-sasl, the following lines to my /etc/make.conf file: # Add SMTP AUTH support to Sendmail SENDMAIL_CFLAGS+= -I/usr/local/include/sasl -DSASL - -D_FFR_UNSAFE_SASL SENDMAIL_LDFLAGS+= -L/usr/local/lib SENDMAIL_LDADD+=-lsasl I did that. Now the README says I need to Rebuild FreeBSD. I thought there would be a way around rebuilding the entire world when I just need to rebuild Sendmail You should really follow the instructions, and build world :) so I tried going into /usr/src/usr.sbin/sendmail and did a make all install but I got this error: This is how I do it: In make.conf: SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL1 SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl from a shell: cd /usr/src/usr.sbin/sendmail make cleandir make obj make make install This won't work either, if you don't have an old libsm library lying around in /usr/obj/usr/src/lib/libsm, and even in that case you should probably rebuild libsm anyway. I used my original config flags with your make commands and got this error: cc: /usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a: No such file or directory *** Error code 1 The sendmail installation that is part of the base system uses libsm.a which is not built when you cd into /usr/src/usr.sbin/sendmail, but is built separately from /usr/src/lib/libsm. The same libsm.a that is built as part of the buildworld process is then used to link sendmail and src/bin/rmail. The manual way out of this error that is stopping you is to build a clean copy of libsm.a and then rebuilt sendmail and rmail: # cd /usr/src/lib/libsm # make cleandir make cleandir # make obj make depend make all # cd /usr/src/usr.sbin/sendmail # make cleandir make cleandir # make obj make depend make all # cd /usr/src/bin/rmail # make cleandir make cleandir # make obj make depend make all All these steps and many more[1] will be taken care of if you use the recommended `make buildworld' procedure for upgrading. I hope this helps a bit, Giorgos. [1] Such as building the proper bits for the SSL support when this is required, and making sure that the changes to the libraries you have compiled don't cause build problems to the rest of the `world'. Thanks...your advice is probably the best. I'm doing a make buildworld right now. Hopefully the whole thing doesn't blow up! Yes, I did a full backup prior to starting. Also -- which .mc file do I use to add the additional commands to? I have hostname.domainname.mc, and freebsd.mc. Which one do I use? To add: TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5')dnl define(`confAUTH_MECHANISMS',`DIGEST-MD5 CRAM-MD5')dnl define(`confDONT_BLAME_SENDMAIL',`GroupReadableSASLFile')dnl define(`confRUN_AS_USER',`root:mail')dnl The Sendmail.readme says to add it to sendmail.mc. ... Randomly Generated Quote: 'When dictatorship is a fact, revolution becomes a right.' -- Victor Marie Hugo Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -BEGIN PGP SIGNATURE- Version: PGP 7.0.4 Comment: Message digitally signed by Mike Loiterman iQA/AwUBPdWC2WjZbUnRudGOEQKNmwCeLkkwjWHZYPl7hLvePf38ePBGKqMAn0No 7cL//ktVN3iC5CMJZcTGhZCg =I3Ft -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Recompiling Sendmail?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 -Original Message- From: Mark [mailto:admin;asarian-host.net] Sent: Friday, November 15, 2002 6:20 PM To: [EMAIL PROTECTED]; 'Giorgos Keramidas' Cc: 'Anish Mistry'; [EMAIL PROTECTED] Subject: Re: Recompiling Sendmail? - Original Message - From: Mike Loiterman [EMAIL PROTECTED] To: 'Giorgos Keramidas' [EMAIL PROTECTED] Cc: 'Anish Mistry' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, November 16, 2002 12:27 AM Subject: RE: Recompiling Sendmail? Thanks...your advice is probably the best. I'm doing a make buildworld right now. Hopefully the whole thing doesn't blow up! Yes, I did a full backup prior to starting. I thought make buildworld was obsoleted now since 4.7R? Anyway, let me know if, and how you succeeded. Then I will give it a whirl myself. :) - Mark Using 4.4-STABLE here. ... Randomly Generated Quote: Death is nature's way of saying `Howdy'. Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -BEGIN PGP SIGNATURE- Version: PGP 7.0.4 Comment: Message digitally signed by Mike Loiterman iQA/AwUBPdWPUGjZbUnRudGOEQLQrwCfa0vATjczZRRmkodoZpxrnKn1ykEAnAuz E3HnY2EqzhkaIWNmtg/7DlXf =0e9H -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: restore question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 There IS a program similar to Ghost with respect to making an image. It's called dd and it's already installed on your FBSD system. Run man 1 dd for options. Bear in mind that if you want an image of your whole disk, you'll need the 2nd one to be at least equal in size, but you will lose any part of the 2nd HD that is larger than HD #1 (I think Ghost does that too -- or used to). dd can be limited to imaging only a slice however. This questions comes up monthly and the archives has numerous postings over the past several months that will fill more details. Yes, the question comes up many times; yet the right answer keeps lacking. :) Before I asked, I had, of course, done a bit of searching. And found that there are many disadvantages to using dd. For one, using disk-blocks, instead of reading files sequentially, like tar and Ghost do, enhances the risk of data-corruption. For two, with dd you need to unmount filesystems first. Which makes it pretty useless on a production server. Yeah, like I can really afford to have my /usr slice be absent for half-an-hour. I think not. :) Actually, we are talking about backup, but the real issue is restore. Everybody can make a tar of the root system, or a dd image. Sure. Restoring it, however, in a manner that will yield you a bootable, instant runnable system, now that is another matter. And what to do with special cases like /dev? In all my perusing the net, I have yet to encounter one solution that said: This is how you can make a full system backup, with this image, that you can immediately restore on a blank harddisk, and have your system up and running again. Many suggestions I read about ways to backup. But, like I said, restoring is the real issue. I can backup /proc for sure; the wisdom of restoring it on a life system, however, is another matter. That is why the only clean way of doing this, would be to make a disk-image, like Ghost does. And Ghost, so unlike dd, does NOT use disk-blocks, but reads files sequentially. When making a disk image, Ghost basically just does several partition images, and then adds partition table info to the overall disk image. No need to zero out the disk first, like with dd, so as not to have it waste too much space. Still looking... - - - Mark I agree with Mark completely. I posted a similar question a while ago. I'm looking at it from the perspective of simply swapping out disks. For example I have an old 2 gig drive the I wash to replace with a new 20 gig drive. It appears to me, unfortunately, that the only way to really do this is to setup the new drive with proper slices and partitions as appropriate and then do a dump and restore onto the new drive. In terms of doing a restore, I've wanted a ghost type of program for a *long* time. There has to be an easier way? Perhaps this is troublesome because of the way FreeBSD operates in terms of slices and partitions rather then just partitions. I *believe* that the copy of Ghost I have will work on Linux boxes, but I could be mistaken. ... Randomly Generated Quote: 'We already *know* who your friends and family are.'-ATT Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -BEGIN PGP SIGNATURE- Version: PGP 7.0.4 Comment: Message digitally signed by Mike Loiterman iQA/AwUBPdXNAmjZbUnRudGOEQLrDQCg4Po/rcKkkW2Wgn/VYsfdVGWf5OcAniXK JQQp8mqiApELCKmCWZLjKvpn =U7+l -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Recompiling Sendmail?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yeah I thought about that, but wouldn't installing that break my exsisting default installed Sendmail? ... Randomly Generated Quote: My phone number is seventeen. I got one of the early ones. --George Carlin Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -Original Message- From: Mark [mailto:admin;asarian-host.net] Sent: Thursday, November 14, 2002 8:26 AM To: Anish Mistry; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Recompiling Sendmail? I dunno; the port library at freebsd.org has: sendmail-sasl-8.12.6_1 Seems like an all-in-one package. :) Maybe you could use that? - Mark - Original Message - From: Anish Mistry [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, November 14, 2002 6:30 AM Subject: Re: Recompiling Sendmail? On Wednesday 13 November 2002 10:00 pm, Mike Loiterman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I suppose this might be better suited to the comp.mail.sendmail, but I'm posting it here because I believe my error is ultimately rooted in my use faulty use of FreeBSD rather then incorrect use of Sendmail. I'm trying to add SMTP AUTH to my base installation of Sendmail installation without breaking anything! -BEGIN PGP SIGNATURE- Version: PGP 7.0.4 Comment: Message digitally signed by Mike Loiterman iQA/AwUBPdQmpmjZbUnRudGOEQJ7agCgtSdPaNkrLK5pVDuhx8aNKU/Iqo8An3HW oASa5WOGSE824qCQJllsvUdI =1b5u -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Recompiling Sendmail?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 -Original Message- From: Anish Mistry [mailto:mistry.7;osu.edu] Sent: Wednesday, November 13, 2002 11:30 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Recompiling Sendmail? On Wednesday 13 November 2002 10:00 pm, Mike Loiterman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I suppose this might be better suited to the comp.mail.sendmail, but I'm posting it here because I believe my error is ultimately rooted in my use faulty use of FreeBSD rather then incorrect use of Sendmail. I'm trying to add SMTP AUTH to my base installation of Sendmail installation without breaking anything! I installed cyrus-sasl without any problems. Now I need to add, according to the Sendmail.readme included with the cyrus-sasl, the following lines to my /etc/make.conf file: # Add SMTP AUTH support to Sendmail SENDMAIL_CFLAGS+= -I/usr/local/include/sasl -DSASL - -D_FFR_UNSAFE_SASL SENDMAIL_LDFLAGS+= -L/usr/local/lib SENDMAIL_LDADD+=-lsasl I did that. Now the README says I need to Rebuild FreeBSD. I thought there would be a way around rebuilding the entire world when I just need to rebuild Sendmail so I tried going into /usr/src/usr.sbin/sendmail and did a make all install but I got this error: This is how I do it: In make.conf: SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL1 SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl from a shell: cd /usr/src/usr.sbin/sendmail make cleandir make obj make make install then set your .mc file stuff, create a new sendmail.cf, and restart sendmail. -- Anish Mistry I used my original config flags with your make commands and got this error: cc: /usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a: No such file or directory *** Error code 1 I used your Sendmail config flags and did your make commands and got this error: cc: /usr/src/lib/libsmutil/libsmutil.a: No such file or directory *** Error code 1 ... Randomly Generated Quote: I used to love anchovies until I realized they were like eating an eyebrow. Now they just aren't the same. Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -BEGIN PGP SIGNATURE- Version: PGP 7.0.4 Comment: Message digitally signed by Mike Loiterman iQA/AwUBPdM65mjZbUnRudGOEQLZGACgi94jBZmv3hKPwBGSFIPjMoSsY1EAoLzX 095x3RMrk/vGgvKf8BQ6MD6I =EEQt -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Adding additional HD space
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The 10 GB Hard Disk should have a BIOS Limitation jumper that will make the BIOS think it is a 508 MB drive. Set that jumper, and the system should boot. I thought so too. I tried setting it, but I couldn't get it to boot. I guess the drive *could* be damaged, but I just pulled it out of a Windows box where it was working fine. It still has XP on it. Would that make a difference? I never reformatted it after I pulled it out. Once you have that drive in there, you could create the file system structure on it however you want, but place the / and /boot partitions below 500 MB so that the system will boot when you take out the old drive. Do you mean make the / and /boot partitions *less* then 500 MB or *below*. If you mean below, I'm not sure how to do that. Note that you will have to tell fdisk the correct geometry of the disk. I don't know how to do this or at least I don't remeber. Otherwise, create the partitions exactly how you have them on your 2 GB drive, making them larger as you wish, and dump + restore the files from one disk to the other. When you say dump + restore you mean do a level 0 dump and then a restore? Is that correct? ... Randomly Generated Quote: The moral of the story is: Kill the parents kill the children. Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -BEGIN PGP SIGNATURE- Version: PGP 7.0.4 Comment: Message digitally signed by Mike Loiterman iQA/AwUBPc7iZ2jZbUnRudGOEQLmGACg3Ql+Y6arFF74pECW1QUqTTqiCdQAoMx7 z0+lIzJj2pSAGxUP+w0eEbU1 =oMj+ -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message