php4 sessions not built by default?
Just trying to access some session variables via the PHP4 and for some odd reason it doesn't appear as if the function exists. Is this not built in PHP4 by default? And if so, how may I remedy the issue? Thanks, -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Stored hard drive failure?
Hey folks, I thought a saw a thread on something like this but I can't seem to find it so I figure I might as well ask and see what turns up. The scenario: I use a hard drive to mirror my main hard drive. I then pull the alternate hard drive off the system and store it for later use should the primary drive fail, or the system as a whole fails. How long can the hard drive sit on the shelf before some sort of natural cause that prevents it from spinning up properly? To prevent the above type of failure should the hard drive be spun up to test its integrity? If the drive is to be spun up how often should something like this be done? Any other ideas that might shed light on hard drives failing once put in to storage would be great. I do remember one user responded that on occasion the HD needed a sort of tap at or near the drive spindle to jiggle it lose should it become stuck for some reason. Thanks. ~Mr Anderson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Stored hard drive failure?
On Oct 5, 2005, at 1:13 AM, K Anderson wrote: Hey folks, I thought a saw a thread on something like this but I can't seem to find it so I figure I might as well ask and see what turns up. The scenario: I use a hard drive to mirror my main hard drive. I then pull the alternate hard drive off the system and store it for later use should the primary drive fail, or the system as a whole fails. How long can the hard drive sit on the shelf before some sort of natural cause that prevents it from spinning up properly? How long are you storing them for? I would think that the data on the disk would quickly become out of date and stale before any physical issues would arise. --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php4 sessions not built by default?
On Oct 5, 2005, at 12:26 AM, K Anderson wrote: - Original Message - From: Garrett Cooper [EMAIL PROTECTED] To: FreeBSD Questions freebsd-questions@freebsd.org Sent: Tuesday, October 04, 2005 11:48 PM Subject: php4 sessions not built by default? Just trying to access some session variables via the PHP4 and for some odd reason it doesn't appear as if the function exists. Is this not built in PHP4 by default? And if so, how may I remedy the issue? Thanks, -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Take a gander at http://us3.php.net/manual/en/ref.session.php I found this... Installation Session support is enabled in PHP by default. If you would not like to build your PHP with session support, you should specify the --disable- session option to configure. To use shared memory allocation (mm) for session storage configure PHP --with-mm[=DIR] . Might want to check out some of the examples on the php web site to see if they work. Also, I looked in /usr/ports/lang/php4-extensions and saw it was a meta-port for ctype, mysql, overload, pcre, posix, session (h!), tokenizer, xml and zlib (I wish the portmakers would put the old php installation functionality back in place because, IMHO, it is a pain in the arse to have to go to each port separately and add it in as far as PHP is concerned. I liked the old functionality of php4 install when it asked what modules were to be included.) I know this is a smidge off topic but how in the world do you portupgrade a meta-port? Hope that helps you. ~Mr. Anderson I finally found a webpage describing that *right* before you sent the message to me, compiled everything, but still session handling fails because it claims that the functions cannot be found. Any clues? I really do appreciate the help! -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php4 sessions not built by default?
Garrett Cooper wrote: Just trying to access some session variables via the PHP4 and for some odd reason it doesn't appear as if the function exists. Is this not built in PHP4 by default? And if so, how may I remedy the issue? Thanks, -Garrett Hi Garrett, Yeah, I think you are right that it doesn't install session support by default. I remember running into this myself. The solution is to install the lang/php4-extensions port if you don't already have it installed. That port will give you options to install all kinds of php extensions that you might need including session support. If you already have the lang/php4-extensions port installed and you need a different way to install session support, install the www/php4-session port directly. - Sam ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Stored hard drive failure?
- Original Message - From: Chad Leigh -- Shire.Net LLC [EMAIL PROTECTED] To: K Anderson [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Wednesday, October 05, 2005 12:20 AM Subject: Re: Stored hard drive failure? On Oct 5, 2005, at 1:13 AM, K Anderson wrote: Hey folks, I thought a saw a thread on something like this but I can't seem to find it so I figure I might as well ask and see what turns up. The scenario: I use a hard drive to mirror my main hard drive. I then pull the alternate hard drive off the system and store it for later use should the primary drive fail, or the system as a whole fails. How long can the hard drive sit on the shelf before some sort of natural cause that prevents it from spinning up properly? How long are you storing them for? I would think that the data on the disk would quickly become out of date and stale before any physical issues would arise. Thanks for your response, Not sure how long I'm storing them (See above question where I asked -- How long can the HD sit on the shelf... and the other questions seemed to be editted out). But you're right the info could become out-of-date unless when I did patch management then I would pull the stored HD off the shelf and hope that it didn't fail because of non-use and re-mirror the main drive then stored the secondary back on the shelf. But then that really doens't hit the other two questions that were editted out. Perhaps if somebody had experience with doing the very scenario I thought of. I know HDs can be touchy but how touchy can they get if they are just sitting on the shelf waiting for resuse and me going, darn that HD is bad now that it sat on the shelf for X number of [days|weeks|months|years]. ~Mr. Anderson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which MySQL version best to use and with/without linux threads?
On 10/5/05, Emanuel Strobl [EMAIL PROTECTED] wrote: Am Mittwoch, 5. Oktober 2005 02:17 CEST schrieb Peter Wemm: On Friday 30 September 2005 06:22 am, Olaf Greve wrote: Then, I'm currently configuring a second beast, ee, server. :) Being an AMD-64 19 server, running FreeBSD 5.4-Release AMD64. On it, I instinctively installed the latest MySQL 4.0.x version (being 4.0.26) and it works flawlessly with the data from my current production machine. The only problem is that linuxthreads doesn't exist on FreeBSD/amd64. You have to use one of the native thread libraries. Your choices on 5.4 are not that great. I'd suggest libthr on 6.0 as the closest match to linuxthreads, but I don't recall if it is available on 5.4. I have a feeling it isn't. I have a feeling your choices are libc_r or libpthread (kse). libpthread should smoke libc_r Smoke of brakes or smoke of the engine? for disk IO performance in general. But modern libthr (on 6.0+) should give it a serious run for its money. Please! Not all readers are native enlish speaking, it sounds nice but it doesn't help clarifying anything. I guess libthr is the favourite choice but I only guess since I never heard of smoking thread libraries nor of run for money. I'm suffering from the list's english enough, please don't use phrases... :) -Harry Oh, come on http://dictionary.com/ http://dictionary.reference.com/search?q=smoke http://dictionary.reference.com/search?q=for%20one%27s%20money Spend some time looking words up. It's worth it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php4 sessions not built by default?
On Oct 5, 2005, at 12:36 AM, Sam Nilsson wrote: Garrett Cooper wrote: Just trying to access some session variables via the PHP4 and for some odd reason it doesn't appear as if the function exists. Is this not built in PHP4 by default? And if so, how may I remedy the issue? Thanks, -Garrett Hi Garrett, Yeah, I think you are right that it doesn't install session support by default. I remember running into this myself. The solution is to install the lang/php4-extensions port if you don't already have it installed. That port will give you options to install all kinds of php extensions that you might need including session support. If you already have the lang/php4-extensions port installed and you need a different way to install session support, install the www/ php4-session port directly. - Sam Still no dice. Do I need to restart any services or something? -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Stored hard drive failure?
On Wed, 5 Oct 2005 00:44:36 -0700, K Anderson [EMAIL PROTECTED] said: Not sure how long I'm storing them (See above question where I asked -- How long can the HD sit on the shelf... and the other questions seemed to be editted out). But you're right the info could become out-of-date unless when I did patch management then I would pull the stored HD off the shelf and hope that it didn't fail because of non-use and re-mirror the main drive then stored the secondary back on the shelf. But then that really doens't hit the other two questions that were editted out. Perhaps if somebody had experience with doing the very scenario I thought of. I know HDs can be touchy but how touchy can they get if they are just sitting on the shelf waiting for resuse and me going, darn that HD is bad now that it sat on the shelf for X number of [days|weeks|months|years]. See the thread: http://www.freebsd.org/cgi/getmsg.cgi?fetch=642921+0+/usr/local/www/db/text/2005/freebsd-questions/20050911.freebsd-questions I have definitely noticed a higher failure rate among drives that have been stored for a number of months. I can't give you any hard numbers, nor should you really believe them even if I did, because this depends on age of the drive, model, design, etc. If you are serious about data redundancy, why not simply set up RAID 1 volumes? They will provide much better redundancy, at a minimal extra cost, and with less work required on your part to maintain the mirrors. Sandy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php4 sessions not built by default?
- Original Message - From: Garrett Cooper [EMAIL PROTECTED] To: FreeBSD Questions freebsd-questions@freebsd.org Sent: Wednesday, October 05, 2005 12:58 AM Subject: Re: php4 sessions not built by default? On Oct 5, 2005, at 12:36 AM, Sam Nilsson wrote: Garrett Cooper wrote: Just trying to access some session variables via the PHP4 and for some odd reason it doesn't appear as if the function exists. Is this not built in PHP4 by default? And if so, how may I remedy the issue? Thanks, -Garrett Hi Garrett, Yeah, I think you are right that it doesn't install session support by default. I remember running into this myself. The solution is to install the lang/php4-extensions port if you don't already have it installed. That port will give you options to install all kinds of php extensions that you might need including session support. If you already have the lang/php4-extensions port installed and you need a different way to install session support, install the www/ php4-session port directly. - Sam Still no dice. Do I need to restart any services or something? Did you shutdown apache then restart it? Also, for giggles find your extensions.ini file (might be found in /usr/local/etc/php) and see if you have a line that says extension=session.so. If not then add it. Shut down apache and then restart it. Hope that helps. ~Mr. Anderson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: about linux emulation
On 10/5/05, K Anderson [EMAIL PROTECTED] wrote: - Original Message - From: Antoine Solomon [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Tuesday, October 04, 2005 7:14 AM Subject: about linux emulation Is it possible to chroot into a fully functional linux environment on freebsd? -- Hi Antoine, I don't know if this fully answers your question as I barely understand the chroot process myself. I wanted to install Coldfusion on FreeBSD (Ain't gonna work but I tried). First it complained about FreeBSD not being supported so I'm like yah so. But what next? I was putzing around someplace and found something that went in the lines like this chroot /compat/linux/ /bin/bash And to my surprise I was chrooted. I then re-ran the install process for Coldfusion and it didn't complain until the very end where it said can't find 'ps' and some other little gizmo (I think it was top). I was bummed because it seems that ps and top are not part of the linux emulation. Admittedly I'm using linux_base-rh-7.3. But anyway I was chrooted. One last thing in the path there is also a linux chroot. So my guess is that you could chroot with success but wont know until you use some application that requires some missing element, in my case 'ps' and 'top.' Hope that helps. ~Mr. Anderson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hmm. I was wondering if one could make FC4/RHEL environment running in a jail/chroot on FreeBSD. I'm sure that 80% of linux programs would run almost without a hitch. Just imagine it: virtual linux box 0wn3d by FreeBSD :-) If someone knows about a how-to, please post it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Stored hard drive failure?
On Wed, 5 Oct 2005, K Anderson wrote: - Original Message - From: Chad Leigh -- Shire.Net LLC [EMAIL PROTECTED] To: K Anderson [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Wednesday, October 05, 2005 12:20 AM Subject: Re: Stored hard drive failure? On Oct 5, 2005, at 1:13 AM, K Anderson wrote: Hey folks, I thought a saw a thread on something like this but I can't seem to find it so I figure I might as well ask and see what turns up. The scenario: I use a hard drive to mirror my main hard drive. I then pull the alternate hard drive off the system and store it for later use should the primary drive fail, or the system as a whole fails. How long can the hard drive sit on the shelf before some sort of natural cause that prevents it from spinning up properly? Two weeks ago I found an old hd on my shelf, which still booted 4.7 -RELEASE properly. But I wonder if some kind of RAID 1 solution wouldn't be more suitable for your situation: you use two hd's anyway and they would be kept in sync automatically. Regards, Uli. How long are you storing them for? I would think that the data on the disk would quickly become out of date and stale before any physical issues would arise. Thanks for your response, Not sure how long I'm storing them (See above question where I asked -- How long can the HD sit on the shelf... and the other questions seemed to be editted out). But you're right the info could become out-of-date unless when I did patch management then I would pull the stored HD off the shelf and hope that it didn't fail because of non-use and re-mirror the main drive then stored the secondary back on the shelf. But then that really doens't hit the other two questions that were editted out. Perhaps if somebody had experience with doing the very scenario I thought of. I know HDs can be touchy but how touchy can they get if they are just sitting on the shelf waiting for resuse and me going, darn that HD is bad now that it sat on the shelf for X number of [days|weeks|months|years]. ~Mr. Anderson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] * * Peter Ulrich Kruppa - Wuppertal - Germany * * ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Stored hard drive failure?
- Original Message - From: Sandy Rutherford [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Cc: K Anderson [EMAIL PROTECTED] Sent: Wednesday, October 05, 2005 1:01 AM Subject: Re: Stored hard drive failure? On Wed, 5 Oct 2005 00:44:36 -0700, K Anderson [EMAIL PROTECTED] said: Not sure how long I'm storing them (See above question where I asked -- How long can the HD sit on the shelf... and the other questions seemed to be editted out). But you're right the info could become out-of-date unless when I did patch management then I would pull the stored HD off the shelf and hope that it didn't fail because of non-use and re-mirror the main drive then stored the secondary back on the shelf. But then that really doens't hit the other two questions that were editted out. Perhaps if somebody had experience with doing the very scenario I thought of. I know HDs can be touchy but how touchy can they get if they are just sitting on the shelf waiting for resuse and me going, darn that HD is bad now that it sat on the shelf for X number of [days|weeks|months|years]. See the thread: http://www.freebsd.org/cgi/getmsg.cgi?fetch=642921+0+/usr/local/www/db/text/2005/freebsd-questions/20050911.freebsd-questions I have definitely noticed a higher failure rate among drives that have been stored for a number of months. I can't give you any hard numbers, nor should you really believe them even if I did, because this depends on age of the drive, model, design, etc. If you are serious about data redundancy, why not simply set up RAID 1 volumes? They will provide much better redundancy, at a minimal extra cost, and with less work required on your part to maintain the mirrors. Sandy Sandy, Thanks that's the thread I was looking for. The reason I asked the question was to find out about powered down hard drives. Got a friend who does a scheme with a drive and leaves it powered down but I didn't want to sound like a loon when I asked him how often does he spin the drive up to test its integrity. Right about the RAID 1 thing though. Thanks again Sandy. ~Mr. Anderson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php4 sessions not built by default?
On Oct 5, 2005, at 1:02 AM, K Anderson wrote: - Original Message - From: Garrett Cooper [EMAIL PROTECTED] To: FreeBSD Questions freebsd-questions@freebsd.org Sent: Wednesday, October 05, 2005 12:58 AM Subject: Re: php4 sessions not built by default? On Oct 5, 2005, at 12:36 AM, Sam Nilsson wrote: Garrett Cooper wrote: Just trying to access some session variables via the PHP4 and for some odd reason it doesn't appear as if the function exists. Is this not built in PHP4 by default? And if so, how may I remedy the issue? Thanks, -Garrett Hi Garrett, Yeah, I think you are right that it doesn't install session support by default. I remember running into this myself. The solution is to install the lang/php4-extensions port if you don't already have it installed. That port will give you options to install all kinds of php extensions that you might need including session support. If you already have the lang/php4-extensions port installed and you need a different way to install session support, install the www/ php4- session port directly. - Sam Still no dice. Do I need to restart any services or something? Did you shutdown apache then restart it? Also, for giggles find your extensions.ini file (might be found in /usr/local/etc/php) and see if you have a line that says extension=session.so. If not then add it. Shut down apache and then restart it. Hope that helps. ~Mr. Anderson Thought about that just a second ago, and it doesn't seem like restarting Apache helped. Here's my extensions.ini file... it has session.so in it, but hopefully there weren't any additional files that were needed by the extension other than php4. [EMAIL PROTECTED] cat /usr/local/etc/php/extensions.ini extension=pcre.so extension=session.so Interesting stuff when I ran the PHP script via a terminal: [EMAIL PROTECTED] php index.php PHP Warning: Function registration failed - duplicate name - preg_match in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - preg_match_all in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - preg_replace in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - preg_replace_callback in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - preg_split in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - preg_quote in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - preg_grep in Unknown on line 0 PHP Warning: pcre: Unable to register functions, unable to load in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_name in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_module_name in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_save_path in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_id in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_regenerate_id in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_decode in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_register in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_unregister in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_is_registered in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_encode in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_start in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_destroy in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_unset in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_set_save_handler in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_cache_limiter in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_cache_expire in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_set_cookie_params in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_get_cookie_params in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_write_close in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_commit in Unknown on line 0 PHP Warning: session: Unable to register functions, unable to load in Unknown on line 0 HTML HEAD Segmentation fault (core dumped) [EMAIL PROTECTED] I have no idea what the core dump line implies, but it's definitely
Re: php4 sessions not built by default?
Garrett Cooper wrote: On Oct 5, 2005, at 12:36 AM, Sam Nilsson wrote: Garrett Cooper wrote: Still no dice. Do I need to restart any services or something? -Garrett Restart Apache, if that's what you're running. If this doesn't work, check the value for extension_dir in php.ini, which IIRC is now located under /usr/local/etc . . . HTH, KDK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: about linux emulation
- Original Message - From: Andrew P. [EMAIL PROTECTED] To: K Anderson [EMAIL PROTECTED] Cc: Antoine Solomon [EMAIL PROTECTED]; freebsd-questions@freebsd.org Sent: Wednesday, October 05, 2005 1:04 AM Subject: Re: about linux emulation On 10/5/05, K Anderson [EMAIL PROTECTED] wrote: - Original Message - From: Antoine Solomon [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Tuesday, October 04, 2005 7:14 AM Subject: about linux emulation Is it possible to chroot into a fully functional linux environment on freebsd? -- Hi Antoine, I don't know if this fully answers your question as I barely understand the chroot process myself. I wanted to install Coldfusion on FreeBSD (Ain't gonna work but I tried). First it complained about FreeBSD not being supported so I'm like yah so. But what next? I was putzing around someplace and found something that went in the lines like this chroot /compat/linux/ /bin/bash And to my surprise I was chrooted. I then re-ran the install process for Coldfusion and it didn't complain until the very end where it said can't find 'ps' and some other little gizmo (I think it was top). I was bummed because it seems that ps and top are not part of the linux emulation. Admittedly I'm using linux_base-rh-7.3. But anyway I was chrooted. One last thing in the path there is also a linux chroot. So my guess is that you could chroot with success but wont know until you use some application that requires some missing element, in my case 'ps' and 'top.' Hope that helps. ~Mr. Anderson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hmm. I was wondering if one could make FC4/RHEL environment running in a jail/chroot on FreeBSD. I'm sure that 80% of linux programs would run almost without a hitch. Just imagine it: virtual linux box 0wn3d by FreeBSD :-) If someone knows about a how-to, please post it. Andrew, You could probably test it out by having another primary drive and install FC4. Then back that up on to tape, then boot up FreeBSD then chroot in to the Linux emulation area then untar the FC4 install on top of the emulation. It's a good theory but I'm not privy to the inner workings of the how's and why's of linux emulation on freebsd. ~Mr Anderson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php4 sessions not built by default?
- Original Message - From: Garrett Cooper [EMAIL PROTECTED] To: FreeBSD Questions freebsd-questions@freebsd.org Sent: Wednesday, October 05, 2005 1:15 AM Subject: Re: php4 sessions not built by default? On Oct 5, 2005, at 1:02 AM, K Anderson wrote: - Original Message - From: Garrett Cooper [EMAIL PROTECTED] To: FreeBSD Questions freebsd-questions@freebsd.org Sent: Wednesday, October 05, 2005 12:58 AM Subject: Re: php4 sessions not built by default? On Oct 5, 2005, at 12:36 AM, Sam Nilsson wrote: Garrett Cooper wrote: Just trying to access some session variables via the PHP4 and for some odd reason it doesn't appear as if the function exists. Is this not built in PHP4 by default? And if so, how may I remedy the issue? Thanks, -Garrett Hi Garrett, Yeah, I think you are right that it doesn't install session support by default. I remember running into this myself. The solution is to install the lang/php4-extensions port if you don't already have it installed. That port will give you options to install all kinds of php extensions that you might need including session support. If you already have the lang/php4-extensions port installed and you need a different way to install session support, install the www/ php4- session port directly. - Sam Still no dice. Do I need to restart any services or something? Did you shutdown apache then restart it? Also, for giggles find your extensions.ini file (might be found in /usr/local/etc/php) and see if you have a line that says extension=session.so. If not then add it. Shut down apache and then restart it. Hope that helps. ~Mr. Anderson Thought about that just a second ago, and it doesn't seem like restarting Apache helped. Here's my extensions.ini file... it has session.so in it, but hopefully there weren't any additional files that were needed by the extension other than php4. [EMAIL PROTECTED] cat /usr/local/etc/php/extensions.ini extension=pcre.so extension=session.so Interesting stuff when I ran the PHP script via a terminal: [EMAIL PROTECTED] php index.php PHP Warning: Function registration failed - duplicate name - preg_match in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - preg_match_all in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - preg_replace in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - preg_replace_callback in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - preg_split in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - preg_quote in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - preg_grep in Unknown on line 0 PHP Warning: pcre: Unable to register functions, unable to load in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_name in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_module_name in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_save_path in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_id in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_regenerate_id in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_decode in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_register in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_unregister in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_is_registered in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_encode in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_start in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_destroy in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_unset in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_set_save_handler in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_cache_limiter in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_cache_expire in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_set_cookie_params in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_get_cookie_params in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - session_write_close in Unknown on line 0 PHP Warning: Function registration failed - duplicate name
Re: php4 sessions not built by default?
On Oct 5, 2005, at 1:14 AM, Kevin Kinsey wrote: Garrett Cooper wrote: On Oct 5, 2005, at 12:36 AM, Sam Nilsson wrote: Garrett Cooper wrote: Still no dice. Do I need to restart any services or something? -Garrett Restart Apache, if that's what you're running. If this doesn't work, check the value for extension_dir in php.ini, which IIRC is now located under /usr/local/etc . . . HTH, KDK That did the trick. Thanks! -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ipfw: ALLOWing by mac address
Hello all, I'd like your feedback on a problem I have with allowing access through the ipfw firewall via mac addresses. Andrew has a good point on mac address spoofing. I agree with him on the security concern, but for the situation that I am setting up, that's ok. But I really need to open the firewall via mac address. Let me detail my setup: dc0 is the interface to the Internet vr0 is the interface to the managed network I tried to read up on ipfw rules on mac, and I got something like this: allow ip from any to any MAC any 00:90:d1:00:80:00/33 It does not work of course, but ipfw accepted the command. Basically I need the client with the mac address to be able to go pass the firewall in totality. Can anyone enlighten me on the correct format? Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPFW logging and dynamic rules
On Thu, Sep 29, 2005 at 11:45:42AM -0400, Bob Johnson wrote: In FreeBSD 5.4R, I tried an IPFW configuration that includes something like this (plus a lot of other rules): check-state deny tcp from any to any established allow log tcp from any to ${my-ip} dst-port 22 setup limit src-addr 3 + other rules that use keep-state When I do this, _every_ ssh packet is logged, in both directions. To get it to log ONLY the initial connection, I had to give up on using dynamic rules for ssh and instead do something like: allow log tcp from any to ${my-ip} dst-port 22 setup allow tcp from any to ${my-ip} dst-port 22 established allow tcp from ${my-ip} 22 to any established check-state deny tcp from any to any established + other rules that use keep-state So now I have lost the per-host ssh limit rule I wanted to include, and I am filtering packets on flags that can be spoofed (established) rather than the actual dynamic state of the connection. Am I wrong to believe there is an advantage to this? Is there some way to get the first version to log only the initial packet while still retaining the dynamic limit src-addr rule? Yes you could use count instead of allow. check-state count log tcp from any to ${my-ip} dst-port 22 limit src-addr 3 allow tcp from any to ${my-ip} dst-port 22 setup limit src-addr 3 -- Alex Please copy the original recipients, otherwise I may not read your reply. Howto's based on my ppersonal use, including information about setting up a firewall and creating traffic graphs with MRTG http://www.kruijff.org/alex/FreeBSD/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PID 0
I am having a problem with Apache/PHP that results in Apache running as PID 0, which I cannot kill without restarting the server (or rather I don't know how else to do it). I am running FreeBSD 5.2, with Apache 1.3.33 and PHP5.0.5. Firstly does anyone know of a way to get rid of processes running as PID 0 without a reboot? Would cut the diagnosis of this problem in two. Secondly, is PID 0 in FreeBSD 5.2 something special or the mark of an error. I think the root of the bug is with PHP, and am following that up on the appropriate mailing list. If anyone else has come across something like this I'd be interested to hear. Dunx ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Password
On Tue, 4 Oct 2005 18:36:28 -0700 (PDT) sulie halim [EMAIL PROTECTED] wrote: i am new to freebsd, and now working as an administrator of my college system, which using freebsd. my question is, if i have 50 users in the systems, how can i view all their usernames and passwords? you can't (unless they use really weak passwords and you want to spend time running password-crackers like john) this because i always have problems of them forgot thier passwords, and they can't log in to the systems. until now, what i did was, delete their usernames, and create new ones because i didn't know what their passwords either. so any other alternative? no need to delete accounts 1) login as root 2) type : passwd username you can also set up usermin and provide them with the change password option in usermin after you've reset their password to a temporary new one -- grtjs, albi gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to best set-up a small local 'sync' network next to the live network?
Hi, At present I'm in the last stages of configuring my new (primary) web server. As soon as I'm done with it, I want to place the machine at the server farm, connect it to the present live server, take the later one off-line for an hour or so, hook it up via local network to the new primary server, rsync the necessary files, and update the MySQL DB. Once that's done, I'll simply swap the external (i.e. world) IP addresses of both machines, and then the new primary server should be pretty much up and running. Now, what I'd like to do, is: make the current live server a fall-back machine (connected to the outside world, but normally never mapped via DNS entries, unless the primary server goes down, and I assign the IP address of the live machine to the fall-back machine). What I'd like to do as a strategy is the following: Primary server: - Runs FreeBSD 5.4-Release AMD64 - Connected to outside world via NIC 1 @ a real IP address; say 123.45.67.89, publicly available as webserver incl. DNS mappings, etc. - Connected via a cross-wire cable to fall-back machine via NIC 2 ; using address 192.168.1.1 Fall-back server: - Runs FreeBSD 5.2.1-Release i386 - Connected to outside world via NIC 1 @ a real IP address; say 123.45.67.88, privately available by IP address only (mainly for SSH access, serves as fall-back and staging machine) - Connected via a cross-wire cable to primary server machine via NIC 2 ; using address 192.168.1.2 Now, the machines are (obviously) not the same hardware wise, nor OS wise. I may (or may not) decide to install FreeBSD 5.4-release i386 on the fall-back server, or I may just leave that as is. The things I'm wondering about are the following: -How can I best set-up such a dual network configuration, such that one network will not interfere with the other? -Can I somehow 'force' the machines to automatically interpret anything in the 192.168.1.x range to be local, and hence automatically use NIC 2, instead of using the NIC 1 adapter (which handles my outside world traffic)? -Is it sufficient to set-up the Rsync daemon on the primary machine to only allow connections from 192.168.1.2, and to run as root, such that I can easily use the cross-wire as a kind of direct tunnel to perform the syncing? -What is the nicest MySQL replication mechanism? Presently I use a mechanism that dumps the MySQL DB instances, and will then push them over an SSH tunnel to the fall-back machine, directly loading them into the MySQL DB on that machine. Is MySQL's master-slave syncing perhaps a better choice? Cheers, and thank in advance for any and all replies! Olafo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
bruteforceblocker + PF
Hello, i'm trying to install the bruteforceblocker script to stop ssh attacks, but i'm having a problem with PF because it seems not to block the attacker ip. The machine is connected to internet and has some needed services for the LAN, so i want to log and block only outside attacks. The bruteforceblocker script seems to be working, because i can read the initial time of it at /var/log/auth.log, so i think the problem may be at my pf configuration. Any help? Thanks a lot /etc/pf.conf table bruteforce persist file /var/log/bruteforce # options set block-policy return set loginterface $ext_if # scrub scrub in all # filter rules block all pass quick on lo0 all pass in on bge0 from 10.200.62.0/24 to 10.200.62.17 pass out on bge0 from 10.200.62.17 to 10.200.62.0/24 block in log quick inet proto tcp from bruteforce to any port ssh This is my conf of bruteforceblocker my $logfile = '/var/log/auth.log'; # file where this script will log to my $pfctl = '/sbin/pfctl';# pfctl binary my $table = 'bruteforce'; # pf table my $tablefile = '/var/log/bruteforce';# file where table persist my $max_attempts= 3;# number of max allowed fails my $timeout = 3600; # number of seconds after resetting of ip my %count = (); # number of failed tries my %time= (); # last modified time ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
/: write failed, filesystem is full
Hello, I have a problem with the filesystem. I am always getting those /: write failed, filesystem is full errors. If I have a look on df the root has 109% Capacity. How could that be? I had a file in /root with 3.3G that I have now deleted but with no success. The df output is as before. I am using Raid1(Mirror) with two 80Gig ST380011A/3.04 HDs. df -h FilesystemSize Used Avail Capacity Mounted on /dev/ar0s1a 4.9G 4.9G -400.7M 109%/ devfs 1.0K 1.0K 0B 100%/dev /dev/ar0s1d21G 2.5G16G13%/usr /dev/ar0s1e 3.9G 555M 3.1G15%/var /dev/ar0s1f43G 885M39G 2%/www my disk usage: du -hd1 1.5K./dev 2.5G./usr 555M./var 885M./www 2.4M./stand 1.5M./etc 2.0K./cdrom 2.0K./dist 7.3M./bin 18M./boot 2.0K./mnt 2.0K./proc 18M./root 21M./sbin 24K./tmp 76K./cgb 4.0G. The du output does not agree with the df output. Where are the 4.9Gig of / ? What can I do? Somebody had this problem before? Thanks, Joachim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /: write failed, filesystem is full
On Wed, 5 Oct 2005, jojo wrote: Hello, I have a problem with the filesystem. I am always getting those /: write failed, filesystem is full errors. If I have a look on df the root has 109% Capacity. How could that be? I had a file in /root with 3.3G that I have now deleted but with no success. The df output is as before. I am using Raid1(Mirror) with two 80Gig ST380011A/3.04 HDs. The filesystem always reserves a bit of space above 100%. Normal users can fill the filesystem up to 100%, and the root user can go to 110% (if I remember orrectly). Hence the 109%. du -hd1 1.5K./dev 2.5G./usr 555M./var 885M./www 2.4M./stand 1.5M./etc 2.0K./cdrom 2.0K./dist 7.3M./bin 18M./boot 2.0K./mnt 2.0K./proc 18M./root 21M./sbin 24K./tmp 76K./cgb 4.0G. The du output does not agree with the df output. Where are the 4.9Gig of / ? What can I do? Somebody had this problem before? As you can see, the contents of /var, /www and /usr are also counted, which are on another file system. You might try du -hx / in order to see only the contents of / and the directories on that file system. Anyway, it seems as if your 3.3G file hasn't disappeared, since there is still 4.0G in the root directory...What kind of file was it? Yours, Jaap Boender ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /: write failed, filesystem is full
On Wed, 5 Oct 2005, jojo wrote: Hello, I have a problem with the filesystem. I am always getting those /: write failed, filesystem is full errors. If I have a look on df the root has 109% Capacity. How could that be? I had a file in /root with 3.3G that I have now deleted but with no success. The df output is as before. I am using Raid1(Mirror) with two 80Gig ST380011A/3.04 HDs. http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq /disks.html#DISK-MORE-THAN-FULL Regards, Uli. df -h FilesystemSize Used Avail Capacity Mounted on /dev/ar0s1a 4.9G 4.9G -400.7M 109%/ devfs 1.0K 1.0K 0B 100%/dev /dev/ar0s1d21G 2.5G16G13%/usr /dev/ar0s1e 3.9G 555M 3.1G15%/var /dev/ar0s1f43G 885M39G 2%/www my disk usage: du -hd1 1.5K./dev 2.5G./usr 555M./var 885M./www 2.4M./stand 1.5M./etc 2.0K./cdrom 2.0K./dist 7.3M./bin 18M./boot 2.0K./mnt 2.0K./proc 18M./root 21M./sbin 24K./tmp 76K./cgb 4.0G. The du output does not agree with the df output. Where are the 4.9Gig of / ? What can I do? Somebody had this problem before? Thanks, Joachim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] * * Peter Ulrich Kruppa - Wuppertal - Germany * * ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /: write failed, filesystem is full
On Wed, 5 Oct 2005, Jaap Boender wrote: Anyway, it seems as if your 3.3G file hasn't disappeared, since there is still 4.0G in the root directory...What kind of file was it? Oh, wait, I read you wrongly. The file from /root has disappeared all right (only 18M in there). The 4.0G you read includes the total of everything below it, such as the /usr and /www and so on. If you only want the / file system, try the -x option, as I said. Sorry, Jaap ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help!!!!!
On 10/4/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I lost all the pasword for root, admin, etc at FreeBsd 3 and I don't know who to change it. and I can't access, anyone could assist me? http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#FORGOT-ROOT-PW -- Dmitry Mityugov, St. Petersburg, Russia I ignore all messages with confidentiality statements We live less by imagination than despite it - Rockwell Kent, N by E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Stored hard drive failure?
At Wed, 5 Oct 2005 it looks like K Anderson composed: Hey folks, I thought a saw a thread on something like this but I can't seem to find it so I figure I might as well ask and see what turns up. The scenario: I use a hard drive to mirror my main hard drive. I then pull the alternate hard drive off the system and store it for later use should the primary drive fail, or the system as a whole fails. How long can the hard drive sit on the shelf before some sort of natural cause that prevents it from spinning up properly? Well, this may or may not be of any help but are these stored drives kept in a hermetic seal? I just bought a 'de-humidifier' for my room (not for computer reasons but now I'm glad for that reason) and I was SHOCKED to see that after 24-hours it had collected 1/2 gallon of water out of the air and it was just an average day out here in San Francisco, no rain nor fog. I would imagine that it would affect the drives I have stored in boxes in my house too. -- Bill Schoolcraft PO Box 210076 San Francisco, CA 94121 http://billschoolcraft.com ~ You do best what you like most. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
how to recompile a port in a clean maneer?
Hi there, I'm newby to FreeBSD. I'm using FreeBSD 4.11-RELEASE #0 and here is my wish: I would like to fetch the sources for an old port release ( I know I can grab it from ftp-archive.freebsd.org http://ftp-archive.freebsd.org but I don't know how to fetch the sources with freebsd command line tools), change the makefile and/or patch the source, recompile and possibly make a package (.tgz) to be installed somewhere else. My specific questions are: * how to fetch the source code of a port? and especially from another release? * how to unpack, change the makefile, compile? * how to package it again? I've gone through various manuals, without any success so far (at least I've got cvsup installed, that's maybe a start...) Thanks Eric ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.4 reboots when I plug in a flash drive?
Brian John [EMAIL PROTECTED] writes: Lowell Gilbert wrote: Brian John [EMAIL PROTECTED] writes: Parv wrote: in message [EMAIL PROTECTED] , wrote Brian John thusly... I just got a 128MB USB flash drive. When I plug it in in FreeBSD, the box promptly reboots! What would cause this? I don't know the cause. Have you tried booting FreeBSD from power-off state w/ the flash drive already inserted? That may solve your booting problem, but will not make use of the drive any easier. Which version if FreeBSD are you using? Which of the [ueo]hci drivers come up in dmesg(8) on instertion of the USB drive? - Parv Ok, I tried booting up with the drive installed. If I leave it installed while it is booting up, it eventually reboots. However, I was able to unplug it during boot and look at dmesg. It says this over and over again: umass0: vendor 0x10d6 USB 2.0(FS) FLASH DISK, rev 1.10/1.00, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: USB2.0 (FS) FLASH DISK 1.00 Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 119MB (245473 512 byte sectors: 64H 32S/T 119C) umass0: BBB reset failed, STALLED umass0: BBB bulk-in clear stall failed, STALLED umass0: BBB bulk-out clear stall failed, STALLED (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: BBB reset failed, STALLED umass0: BBB bulk-in clear stall failed, STALLED umass0: BBB bulk-out clear stall failed, STALLED umass0: BBB reset failed, STALLED umass0: BBB bulk-in clear stall failed, STALLED umass0: BBB bulk-out clear stall failed, STALLED umass0: BBB reset failed, STALLED umass0: BBB bulk-in clear stall failed, STALLED umass0: BBB bulk-out clear stall failed, STALLED umass0: BBB reset failed, STALLED umass0: BBB bulk-in clear stall failed, STALLED umass0: BBB bulk-out clear stall failed, STALLED umass0: BBB reset failed, STALLED umass0: BBB bulk-in clear stall failed, STALLED umass0: BBB bulk-out clear stall failed, STALLED umass0: at uhub2 port 1 (addr 2) disconnected (da0:umass-sim0:0:0:0): lost device (da0:umass-sim0:0:0:0): removing device entry Opened disk da0 - 5 umass0: detached I am running FreeBSD 5.4. Does this shed some light on the problem? Only a little. Do you have udbp(4) in your kernel? Can you try booting 6.0 with the flash unit plugged in and see if it still has problems? I could try it, but I don't want to have to roll 6.0 back to 5.4 afterward if it doesn't work. Upgrading to 6.0 is a major change and I only have 1 PC. I am still kind of a novice, how easy is it to upgrade to 6.0 and how stable is it? You don't need to install it to your hard drive; just boot the install disk and see if it gets all of the way through the kernel loading. I see that I have the line with udbp commented out in my kernel config. Should I rebuild with it uncommented? #device udbp# USB Double Bulk Pipe devices You could try that. I was meaning to read up on that USB feature, but unfortunately I can't find the specs for it at the moment. I don't actually know whether it might be relevant. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Error upgrading KDE with portupgrade
Hi all, I have recently upgraded from FreeBSD 5.3-RELEASE to 5.4-STABLE using cvsup. I then upgraded installed ports using portupgrade -a (after running make fetchindex and pkgdb -F). Worked for most ports. But I have a hard time upgrading KDE from 3.3 to 3.4. Some ports in the KDE set upgraded OK, but kdebase among others didn't want to upgrade from 3.3.0_4 to 3.4.2_2. Tried : #portupgrade kdebase then #portupgrade -p kdebase The package itself donloads OK but I get the following at the end of the job : Good - your configure finished. Start make now /usr/bin/sed -i.bak -e [EMAIL PROTECTED]@Exec=ElectricEyes@ /usr/ports/x11/kdebase3/work/kdebase-3.4.2/kappfinder/apps/Graphics/ElectricEyes.desktop /usr/bin/sed -i.bak -e 's/444/644/g' /usr/ports/x11/kdebase3/work/kdebase-3.4.2/kdesktop/init/Templates/Makefile === Building for kdebase-3.4.2_2 gmake all-recursive gmake[1]: Entering directory `/usr/ports/x11/kdebase3/work/kdebase-3.4.2' Making all in libkonq gmake[2]: Entering directory `/usr/ports/x11/kdebase3/work/kdebase-3.4.2/libkonq' Making all in pics gmake[3]: Entering directory `/usr/ports/x11/kdebase3/work/kdebase-3.4.2/libkonq/pics' gmake[3]: Nothing to be done for `all'. gmake[3]: Leaving directory `/usr/ports/x11/kdebase3/work/kdebase-3.4.2/libkonq/pics' Making all in favicons gmake[3]: Entering directory `/usr/ports/x11/kdebase3/work/kdebase-3.4.2/libkonq/favicons' /usr/X11R6/bin/moc ./favicons.h -o favicons.moc if /bin/sh ../../libtool --silent --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wno-non-virtual-dtor -DNDEBUG -DNO_DEBUG -O2 -O -pipe -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -MT favicons.lo -MD -MP -MF .deps/favicons.Tpo -c -o favicons.lo favicons.cpp; \ then mv -f .deps/favicons.Tpo .deps/favicons.Plo; else rm -f .deps/favicons.Tpo; exit 1; fi favicons.cpp:269: error: visibility arg must be one of default, hidden, protected orinternal gmake[3]: *** [favicons.lo] Error 1 gmake[3]: Leaving directory `/usr/ports/x11/kdebase3/work/kdebase-3.4.2/libkonq/favicons' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/x11/kdebase3/work/kdebase-3.4.2/libkonq' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/x11/kdebase3/work/kdebase-3.4.2' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/x11/kdebase3. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade2850.0 make DEPENDS_TARGET=package ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! x11/kdebase3 (kdebase-3.3.0_4)(unknown build error) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed # Any clue what's going on ? Thanks for your help. Edward ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Replacing a failing HD
Yes, I guess I should mention that the drives were on the same machine, actually the same bus and/or channel. I have also done this on Solaris. I believe it was Solaris 8, but it works just the same. I am not sure if it would work over a network. Just make sure you dd the disk as a whole as in /dev/daX and not by the slice. -Bob Charlie Schluting wrote: I have used dd to image a drive many times before in freebsd. It works like a champion and will boot up just fine. I may have misunderstood your mail but if not then it will work. Well, maybe my weird over ssh calling a setuid program that calls a script dd was flawed somehow. I'll do it again with both drives in the same machine. Thanks for the response! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /: write failed, filesystem is full
On 10/5/05, P.U.Kruppa [EMAIL PROTECTED] wrote: On Wed, 5 Oct 2005, jojo wrote: Hello, I have a problem with the filesystem. I am always getting those /: write failed, filesystem is full errors. If I have a look on df the root has 109% Capacity. How could that be? I had a file in /root with 3.3G that I have now deleted but with no success. The df output is as before. I am using Raid1(Mirror) with two 80Gig ST380011A/3.04 HDs. http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq /disks.html#DISK-MORE-THAN-FULL As well as http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DU-VS-DF i.e. read sections 9.23 and 9.26 of the FAQ. Or just reboot. Crude, and not very informative, but it will fix it. - Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Security logs
Hello, I tried to get this information by myself (lists, google, man pages), but I can't find something that answer totally to my question : Is there a file where informations about how many users had attempted to log into the system, successfully or not? If not, is there a way to store these informations somewhere, by activating some security routines or putting some script around? Thanks a lot everyone, -- Léo Lapousterle - Paris, France. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: twa kernel panic under heavy load
Dan Rue [EMAIL PROTECTED] writes: Greetings, I am running a 3ware 9500 SATA raid card in a 12x300GB raid 50 configuration. Too often, I am seeing reboots during high I/O (rsync) operations. [EMAIL PROTECTED]:~$ uname -a FreeBSD leopard.claimlynx.com 5.4-SECURITY FreeBSD 5.4-SECURITY #0: Thu Jun 30 02:25:52 UTC 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 This is logged in /var/log/messages just before the reboot: Oct 1 23:15:49 leopard kernel: twa0: Missing expected status bit(s) 2000MC_RDY Oct 1 23:15:49 leopard kernel: twa0: SCSI cmd = 0x2a: ERROR: (0x03:0x0001) Oct 1 23:15:49 leopard last message repeated 239 times Oct 1 23:15:50 leopard kernel: a: ERROR: (0x03: 0x0001) Oct 1 23:15:50 leopard kernel: twa0: SCSI cmd = 0x2a: ERROR: (0x03:0x0001) Here is dmesg identifying the controller: 3ware device driver for 9000 series storage controllers, version: 2.50.02.012 twa0: 3ware 9000 series Storage Controller port 0xb800-0xb8ff mem 0xfb80-0xfbff,0xfc5ffc00-0xfc5ffcff irq 24 at device 2.0 on pci2 twa0: 12 ports, Firmware FE9X 2.06.00.009, BIOS BE9X 2.03.01.051 Is this somethign that has been worked on in 5-STABLE or 6? Would a kernel dump be helpful? Please aim me at the appropriate list or people that would know. The driver was imported from 3ware's own code on their website, and a new version was imported since the 5.4 release was branched. Your problem may or may not have been fixed, but debugging it on the old code base is definitely not worth anyone's time. Definitely upgrade and see what happens. Good luck. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Security logs
Have you tried the last command. This will give you a list of attempts. Good Luck John ___ Leo Lapousterle wrote: Hello, I tried to get this information by myself (lists, google, man pages), but I can't find something that answer totally to my question : Is there a file where informations about how many users had attempted to log into the system, successfully or not? If not, is there a way to store these informations somewhere, by activating some security routines or putting some script around? Thanks a lot everyone, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Fwd: Re: music on FreeBSD
Any live Grateful Dead recording would work, no copyright, no licensing issues, etc There has to be at least 1 deadhead in the FreeBSD family. Bob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary W. Swearingen Sent: Tuesday, October 04, 2005 9:34 PM To: Escape Velocity Cc: Danny Pansters; freebsd-questions@freebsd.org Subject: Re: Fwd: Re: music on FreeBSD I've had a few more thoughts on the matter. If core wants the music and the only question is licensing, maybe core and you could agree on a custom license which allows anyone to copy it unmodified (which must include being copied as a single file from any web site) or including it unmodified in a compilation or other derivative work (eg, FreeBSD), but not if that work consists predominately of music. It would be easier if you could just allow all uses in unmodified form (I think there's such a CCL), and better if you could allow generic translations of digital format. OTOH, I'm guessing core could find someone to donate some music under a BSD-type license, without a lot of effort. Or get some non-proprietary music off an out-of-copyright record or movie which is probably on the web somewhere already. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPFW logging and dynamic rules
How about using snort and guardian.Guardian.pl will add a ipfw rule each time it sees an alert from Snort. You'll need to adjust the snort rules for what you want to alert on but its a pretty safe and lightweight asset. (just my novice 2 cents...) John Alex de Kruijff wrote: On Thu, Sep 29, 2005 at 11:45:42AM -0400, Bob Johnson wrote: In FreeBSD 5.4R, I tried an IPFW configuration that includes something like this (plus a lot of other rules): check-state deny tcp from any to any established allow log tcp from any to ${my-ip} dst-port 22 setup limit src-addr 3 + other rules that use keep-state When I do this, _every_ ssh packet is logged, in both directions. To get it to log ONLY the initial connection, I had to give up on using dynamic rules for ssh and instead do something like: allow log tcp from any to ${my-ip} dst-port 22 setup allow tcp from any to ${my-ip} dst-port 22 established allow tcp from ${my-ip} 22 to any established check-state deny tcp from any to any established + other rules that use keep-state So now I have lost the per-host ssh limit rule I wanted to include, and I am filtering packets on flags that can be spoofed (established) rather than the actual dynamic state of the connection. Am I wrong to believe there is an advantage to this? Is there some way to get the first version to log only the initial packet while still retaining the dynamic limit src-addr rule? Yes you could use count instead of allow. check-state count log tcp from any to ${my-ip} dst-port 22 limit src-addr 3 allow tcp from any to ${my-ip} dst-port 22 setup limit src-addr 3 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /: write failed, filesystem is full
On Wed, 5 Oct 2005, Jaap Boender wrote: Anyway, it seems as if your 3.3G file hasn't disappeared, since there is still 4.0G in the root directory...What kind of file was it? It was a output file from tcpdump ( /root/test.txt ) Oh, wait, I read you wrongly. The file from /root has disappeared all right (only 18M in there). The 4.0G you read includes the total of everything below it, such as the /usr and /www and so on. If you only want the / file system, try the -x option, as I said. Sorry, Jaap Hi, ok now I did: cd / du -xhcd1 512B./dev 2.0K./usr 2.0K./var 2.0K./www 2.4M./stand 1.5M./etc 2.0K./cdrom 2.0K./dist 7.3M./bin 18M./boot 2.0K./mnt 2.0K./proc 18M./root 21M./sbin 24K./tmp 76K./cgb 68M. 68Mtotal Anyway - I can´t see the 4,9Gig. df -h FilesystemSize Used Avail Capacity Mounted on /dev/ar0s1a 4.9G 4.9G -400.7M 109%/ devfs 1.0K 1.0K 0B 100%/dev /dev/ar0s1d21G 2.5G16G13%/usr /dev/ar0s1e 3.9G 555M 3.1G15%/var /dev/ar0s1f43G 885M39G 2%/www Thanks, Joachim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipfw: ALLOWing by mac address
On 10/5/05, Foo Ji-Haw [EMAIL PROTECTED] wrote: Hello all, I'd like your feedback on a problem I have with allowing access through the ipfw firewall via mac addresses. Andrew has a good point on mac address spoofing. I agree with him on the security concern, but for the situation that I am setting up, that's ok. But I really need to open the firewall via mac address. Let me detail my setup: dc0 is the interface to the Internet vr0 is the interface to the managed network I tried to read up on ipfw rules on mac, and I got something like this: allow ip from any to any MAC any 00:90:d1:00:80:00/33 It does not work of course, but ipfw accepted the command. Basically I need the client with the mac address to be able to go pass the firewall in totality. Can anyone enlighten me on the correct format? Thanks in advance. Thanks for the credit :-) see man ipfw, particularly the PACKET FLOW section Try this: allow ip from any to any layer2 out MAC any 00:90:d1:00:80:00/33 allow ip from any to any layer2 in MAC 00:90:d1:00:80:00/33 any allow ip from any to any layer2 via trusted-if deny ip from any to any layer2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Password
Hi there, i am new to freebsd, and now working as an administrator of my college system, which using freebsd. my question is, if i have 50 users in the systems, how can i view all their usernames and passwords? this because i always have problems of them forgot thier passwords, and they can't log in to the systems. until now, what i did was, delete their usernames, and create new ones because i didn't know what their passwords either. so any other alternative? Passwords are encripted and not stored in the clear by the system. Do not do anything to change that. The root user is able to arbitrarily change any user's password, so if some user forgets, then just set their password to something, tell them and have them, then change it when they first log in with it. jerry help me. Thanks. __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Installation problem - device node
I am trying to install freebsd on a computer with 2 hard disks. This message comes up when it tries to start creating the file system: Unable to find device node for /dev/X in /dev. Install then fails. Has anyone got an idea what is causing this as I am a 'newbie' to freeBSD. Regards Peter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Error upgrading KDE with portupgrade
edward wrote: Hi all, I have recently upgraded from FreeBSD 5.3-RELEASE to 5.4-STABLE using cvsup. I then upgraded installed ports using portupgrade -a (after running make fetchindex and pkgdb -F). Worked for most ports. But I have a hard time upgrading KDE from 3.3 to 3.4. Some ports in the KDE set upgraded OK, but kdebase among others didn't want to upgrade from 3.3.0_4 to 3.4.2_2. Tried : #portupgrade kdebase then #portupgrade -p kdebase The package itself donloads OK but I get the following at the end of the job : Good - your configure finished. Start make now /usr/bin/sed -i.bak -e [EMAIL PROTECTED]@Exec=ElectricEyes@ /usr/ports/x11/kdebase3/work/kdebase-3.4.2/kappfinder/apps/Graphics/ElectricEyes.desktop /usr/bin/sed -i.bak -e 's/444/644/g' /usr/ports/x11/kdebase3/work/kdebase-3.4.2/kdesktop/init/Templates/Makefile === Building for kdebase-3.4.2_2 gmake all-recursive gmake[1]: Entering directory `/usr/ports/x11/kdebase3/work/kdebase-3.4.2' Making all in libkonq gmake[2]: Entering directory `/usr/ports/x11/kdebase3/work/kdebase-3.4.2/libkonq' Making all in pics gmake[3]: Entering directory `/usr/ports/x11/kdebase3/work/kdebase-3.4.2/libkonq/pics' gmake[3]: Nothing to be done for `all'. gmake[3]: Leaving directory `/usr/ports/x11/kdebase3/work/kdebase-3.4.2/libkonq/pics' Making all in favicons gmake[3]: Entering directory `/usr/ports/x11/kdebase3/work/kdebase-3.4.2/libkonq/favicons' /usr/X11R6/bin/moc ./favicons.h -o favicons.moc if /bin/sh ../../libtool --silent --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wno-non-virtual-dtor -DNDEBUG -DNO_DEBUG -O2 -O -pipe -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -MT favicons.lo -MD -MP -MF .deps/favicons.Tpo -c -o favicons.lo favicons.cpp; \ then mv -f .deps/favicons.Tpo .deps/favicons.Plo; else rm -f .deps/favicons.Tpo; exit 1; fi favicons.cpp:269: error: visibility arg must be one of default, hidden, protected orinternal gmake[3]: *** [favicons.lo] Error 1 gmake[3]: Leaving directory `/usr/ports/x11/kdebase3/work/kdebase-3.4.2/libkonq/favicons' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/x11/kdebase3/work/kdebase-3.4.2/libkonq' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/x11/kdebase3/work/kdebase-3.4.2' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/x11/kdebase3. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade2850.0 make DEPENDS_TARGET=package ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! x11/kdebase3 (kdebase-3.3.0_4)(unknown build error) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed # Any clue what's going on ? Thanks for your help. Edward Search /usr/ports/UPDATING. Don't know if your error is caused by that, but you should follow the upgrade procedure outlined there. Micah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Security logs
Leo Lapousterle wrote: Hello, I tried to get this information by myself (lists, google, man pages), but I can't find something that answer totally to my question : Is there a file where informations about how many users had attempted to log into the system, successfully or not? If not, is there a way to store these informations somewhere, by activating some security routines or putting some script around? Thanks a lot everyone, Does /var/log/auth.log have what you need? Micah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which MySQL version best to use and with/without linux threads?
Am Mittwoch, 5. Oktober 2005 02:17 CEST schrieb Peter Wemm: On Friday 30 September 2005 06:22 am, Olaf Greve wrote: Then, I'm currently configuring a second beast, ee, server. :) Being an AMD-64 19 server, running FreeBSD 5.4-Release AMD64. On it, I instinctively installed the latest MySQL 4.0.x version (being 4.0.26) and it works flawlessly with the data from my current production machine. The only problem is that linuxthreads doesn't exist on FreeBSD/amd64. You have to use one of the native thread libraries. Your choices on 5.4 are not that great. I'd suggest libthr on 6.0 as the closest match to linuxthreads, but I don't recall if it is available on 5.4. I have a feeling it isn't. I have a feeling your choices are libc_r or libpthread (kse). libpthread should smoke libc_r Smoke of brakes or smoke of the engine? for disk IO performance in general. But modern libthr (on 6.0+) should give it a serious run for its money. Please! Not all readers are native enlish speaking, it sounds nice but it=20 doesn't help clarifying anything. I guess libthr is the favourite choice=20 but I only guess since I never heard of smoking thread libraries nor of=20 run for money. I'm suffering from the list's english enough, please=20 don't use phrases... :) Harry You are right of course. Slang and idiomatic expressions generally do not help communications across cultures or language backgrouns. But, I would add that English is a very 'subjective' language (no pun intended) and as such is highly context based. Many expressions, including many standard expressions can only be understood from the context in which they are used. This can make things difficult, but it can also make it easy because you can usually guess the meaning from the context, even if you do not know the phrase or the word. I have seen stories told in which one word (a nonsense sylable) was used to substitute for every verb and noun and most of the adjectives and adverbs and it was still possible to understand the story with a little guessing. In fact there used to be a kids TV cartoon that did essentially that called the Smurfs. So, although it is better to use clear language, don't panic when you see something. Take a good guess and you will probably be right. As for MySQL version, pick one. It will work. jerry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Error upgrading KDE with portupgrade
On Wednesday 05 October 2005 14:36, edward wrote: Hi all, I have recently upgraded from FreeBSD 5.3-RELEASE to 5.4-STABLE using cvsup. I then upgraded installed ports using portupgrade -a (after running make fetchindex and pkgdb -F). Worked for most ports. But I have a hard time upgrading KDE from 3.3 to 3.4. Some ports in the KDE set upgraded OK, but kdebase among others didn't want to upgrade from 3.3.0_4 to 3.4.2_2. Tried : #portupgrade kdebase then #portupgrade -p kdebase The package itself donloads OK but I get the following at the end of snip error message Any clue what's going on ? Thanks for your help. Edward Hi there, It seems as if your problems are dealt with in the file /usr/ports/UPDATING. I have pasted the most relevant informational messsge here, but there is at least one other entry for KDE which postdates this one. Generally, the UPDATING file is my first port of call if there are any errors in upgrades. I hope this helps .nbco 20050320: AFFECTS: users of x11/kde3, x11/kdelibs3, x11/kdebase3, x11-themes/kdeartwork3, www/akregator, x11-themes/phase, multimedia/kdemultimedia3 AUTHOR: [EMAIL PROTECTED] In KDE 3.4, a number of files were moved between ports, some ports were added, one port has been removed and some applications formerly available in their own ports were incorporated into KDE. This means that you will have to take some precautions to update your KDE installation. A simple portupgrade -a will not work. Portupgrade -R kde can fail as well, depending on what parts of KDE you have currently installed. We therefore recommend sticking to the following procedure. The procedure requires you to have sysutils/portupgrade installed and you to be the superuser (or using sudo). We recommend not being logged in to a KDE session on the machine you're performing the upgrade on. If you choose to perform the update while being logged in to KDE, expect erratic behavior and crashes from applications launched until you log out and back in. 1.) Delete installed packages which conflict with the updated KDE ports. pkg_deinstall -f kdeartwork-\[0-9\]\* kdebase-\[0-9\]\* \ kdebase-konqueror-nsplugins-\[0-9\]\* kdewebdev-\[0-9\]\* \ kde-\[0-9\]\* akregator\* phase\* 2.) Now update the remaining KDE ports. portupgrade -O arts\* kde\* \*kde-i18n\* or, if you want to update KDE along with other updated ports: portupgrade -a 3.) Reinstall the KDE ports you deleted in step 1. portinstall -O kdebase kdeartwork kdewebdev Changes in detail: - www/akregator is now included into deskutils/kdepim3. - x11-themes/phase is now included in x11-themes/kdeartwork3. - www/konqueror-nsplugins has been removed and is now integrated into In mDNSResponder 98_1, mdnsd is no longer started by default due to a switch to an rc.subr startup script. To start it, you must add add mdnsd_enable=YES to your /etc/rc.conf or other suitable configuration file. 20050320: AFFECTS: users of x11/kde3, x11/kdelibs3, x11/kdebase3, x11-themes/kdeartwork3, www/akregator, x11-themes/phase, multimedia/kdemultimedia3 AUTHOR: [EMAIL PROTECTED] In KDE 3.4, a number of files were moved between ports, some ports were added, one port has been removed and some applications formerly available in their own ports were incorporated into KDE. This means that you will have to take some precautions to update your KDE installation. A simple portupgrade -a will not work. Portupgrade -R kde can fail as well, depending on what parts of KDE you have currently installed. We therefore recommend sticking to the following procedure. The procedure requires you to have sysutils/portupgrade installed and you to be the superuser (or using sudo). We recommend not being logged in to a KDE session on the machine you're performing the upgrade on. If you choose to perform the update while being logged in to KDE, expect erratic behavior and crashes from applications launched until you log out and back in. 1.) Delete installed packages which conflict with the updated KDE ports. pkg_deinstall -f kdeartwork-\[0-9\]\* kdebase-\[0-9\]\* \ kdebase-konqueror-nsplugins-\[0-9\]\* kdewebdev-\[0-9\]\* \ kde-\[0-9\]\* akregator\* phase\* 2.) Now update the remaining KDE ports. portupgrade -O arts\* kde\* \*kde-i18n\* or, if you want to update KDE along with other updated ports: portupgrade -a 3.) Reinstall the KDE ports you deleted in step 1. portinstall -O kdebase kdeartwork kdewebdev Changes in detail: - www/akregator is now included into deskutils/kdepim3. - x11-themes/phase is now included in x11-themes/kdeartwork3. - www/konqueror-nsplugins has been removed and is now integrated into x11/kdebase3. - Juk has been split
Re: Security logs
jmulkerin, Have you tried the last command. This will give you a list of attempts. It would fit perfectly my needs if it could show me not only the successful attempts, like it seems actually... Thanks, I'll find a way to show me bad attempts too... :) -- Léo Lapousterle - Paris, France. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Security logs
Micah, Does /var/log/auth.log have what you need? Woa, I didn't know about that one :) Can we configure which service to log or not in there? Thanks everyone for your solutions, -- Léo Lapousterle - Paris, France. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
how to recompile a port in a clean maneer?
Hi there, I'm newby to FreeBSD. I'm using FreeBSD 4.11-RELEASE #0 and here is my wish: I would like to fetch the sources for an old port release ( I know I can grab it from ftp-archive.freebsd.org but I don't know how to fetch the sources with freebsd command line tools), change the makefile and/or patch the source, recompile and possibly make a package (.tgz) to be installed somewhere else. My specific questions are: * how to fetch the source code of a port? and especially from another release? * how to unpack, change the makefile, compile? * how to package it again? I've gone through various manuals, without any success so far (at least I've got cvsup installed, that's maybe a start...) Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Stored hard drive failure?
On Oct 5, 2005, at 1:44 AM, K Anderson wrote: - Original Message - From: Chad Leigh -- Shire.Net LLC [EMAIL PROTECTED] To: K Anderson [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Wednesday, October 05, 2005 12:20 AM Subject: Re: Stored hard drive failure? On Oct 5, 2005, at 1:13 AM, K Anderson wrote: How long can the hard drive sit on the shelf before some sort of natural cause that prevents it from spinning up properly? How long are you storing them for? I would think that the data on the disk would quickly become out of date and stale before any physical issues would arise. Thanks for your response, Not sure how long I'm storing them (See above question where I asked -- How long can the HD sit on the shelf... and the other questions seemed to be editted out). But you're right the info could become out-of-date unless when I did patch management then I would pull the stored HD off the shelf and hope that it didn't fail because of non-use and re-mirror the main drive then stored the secondary back on the shelf. But then that really doens't hit the other two questions that were editted out. Perhaps if somebody had experience with doing the very scenario I thought of. I know HDs can be touchy but how touchy can they get if they are just sitting on the shelf waiting for resuse and me going, darn that HD is bad now that it sat on the shelf for X number of [days|weeks|months| years]. I somewhat regularly retrieve used HDs off the shelf for use in some test or project or another and never have had a problem with a relatively modern HD (like built in the last 5 years) not working, even after sitting on a shelf for 1-2 years. Is your data going to be good after 1-2 years? If you are talking weeks or months sitting there that should not be an issue with modern HD mechanisms Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with Acroread7 port
Now acroread7 runs, but during start it prints in an error-message dialog the following message: There was an error while loading the plug-in 'PPKLite.api.' The plug-in failed to initialize. Oddly, this message is shown only when I start Acroread7 under root. Another problem is the behaviour of Firefox + Acroread Plug-in. When I try to access ot to load from the disk *.PDF documents, Firefox freezes when the initialization window of Acroread7 stops on: Loading EWH.api... Than the firefox window is not responding. What causes this problem? Best Regards, Vladimir ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Security logs
Leo Lapousterle wrote: Micah, Does /var/log/auth.log have what you need? Woa, I didn't know about that one :) Can we configure which service to log or not in there? Thanks everyone for your solutions, Check out syslog, specifically syslog.conf. By default my auth.log shows failed/succesful SSH logins, console logins, and SU's. HTH, Micah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which MySQL version best to use and with/without linux threads?
On Wednesday, October 05, 2005, at 07:31AM, Greg 'groggy' Lehey [EMAIL PROTECTED] wrote: On Monday, 3 October 2005 at 10:37:21 -0800, Peter A. Giessel wrote: On 10/3/2005 09:41, Jared Kuolt seems to have typed: There really isn't any reason not to anymore since everything is backwards compatible. I've found that Dovecot 1.0a3 has a problem with 4.1.x, Can you give more details? Sure, FreeBSD 4.11, I upgraded Dovecot to 1.0a3 from the ports collection using Portmanager (portmanager -u), fixed the configuration files (as they had changed from Dovecot 0.99), and Dovecot couldn't login to MySQL anymore. I turned on logging on MySQL and Dovecot: *** Dovecot Log *** dovecot: Oct 02 17:21:50 Error: auth-worker(default): mysql: Connect failed to localhost (aukebay): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) - waiting for 1 seconds before retry dovecot: Oct 02 17:24:34 Error: auth-worker(default): mysql: Connect failed to localhost (aukebay): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) - waiting for 5 seconds before retry dovecot: Oct 02 17:24:34 Error: auth-worker(default): sql(user,192.168.0.16): Password query failed: Not connected to database dovecot: Oct 02 17:41:41 Warning: Killed with signal 15 dovecot: Oct 02 17:41:47 Error: auth-worker(default): mysql: Connect failed to localhost (aukebay): Access denied for user 'abbc'@'localhost' (using password: YES) - waiting for 1 seconds before retry dovecot: Oct 02 17:43:13 Warning: Killed with signal 15 dovecot: Oct 02 17:43:19 Error: auth-worker(default): mysql: Connect failed to localhost (aukebay): Access denied for user 'abbc'@'localhost' (using password: YES) - waiting for 1 seconds before retry *** End Log Snipet *** *** dovecot_info log *** dovecot: Oct 02 17:21:48 Info: Dovecot v1.0.alpha3 starting up dovecot: Oct 02 17:24:47 Info: imap-login: Disconnected: user=user, method=PLAIN, rip=192.168.0.16, lip=192.168.0.16, TLS dovecot: Oct 02 17:41:45 Info: Dovecot v1.0.alpha3 starting up dovecot: Oct 02 17:43:18 Info: Dovecot v1.0.alpha3 starting up dovecot: Oct 03 08:53:55 Info: Dovecot v1.0.alpha3 starting up dovecot: Oct 03 08:53:56 Info: auth-worker(default): mysql: Connected to localhost (aukebay) *** end dovecot_info Snipet *** *** MySQL Log 4.1.14 *** 051002 17:41:47 1 Connect Access denied for user 'abbc'@'localhost' (using password: YES) 051002 17:42:08 2 Connect [EMAIL PROTECTED] on 051002 17:42:10 2 Quit 051002 17:43:19 3 Connect Access denied for user 'abbc'@'localhost' (using password: YES) *** End Log Snipet *** *** MySQL Log after downgrading (4.0.26) *** 051003 8:53:56 5 Connect [EMAIL PROTECTED] on aukebay 051003 9:03:59 5 Quit *** End Log Snipet *** The 17:42:08 connection is when I: # mysql -u abbc -p logged in from the command line using the password in the dovecot config file. I didn't touch the dovecot config file after downgrading, and I used the same .sql file to populate the database with both version of MySQL, so the password was unchanged. If there are any details that you need that I'm leaving out that I can provide, please let me know. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Stored hard drive failure?
If you're really serious (to borrow a phrase), you'll do backup to several different media and maybe different formats. With RAID or backup to an always-powered second HDD, you can loose all of your disks if the case power supply or MB fails in certain ways. (I know someone who lost a disk when the MB failed.) Or if someone steals your computer or in a fire. With removable HDD, you risk physical damage either from lack of use or shock. FYI, I kept a 45 GB IBM and a 80 GB Seagate drive in a outside storage shed which got hot, cold, and damp for 10 months and they work fine. I guess I've been lucky because I've had only one failure from about 15 lightly-used disks and have occasionally reused 5- to 10-year-old disks for short durations after years on the shelf. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FW: Sata drives and FBSD
Hi all, I have had an issue (as many others have) trying to get STABLE, or even CURRENT running on a box with an ICH6R RAID controller. After install (which appears to be successful), when I reboot it just sits there with a blinking cursor in the top left of the screen. I've tried this numerous times over the past couple months to no avail. Today, I tried another box using a 200GB Sata drive w/o RAID, and the exact same thing happens. I've tried all manner of things to no avail. If someone can shed some light on this issue, I would most appreciate it. Tks, Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sata drives and FBSD
Hi all, I have had an issue (as many others have) trying to get STABLE, or even CURRENT running on a box with an ICH6R RAID controller. After install (which appears to be successful), when I reboot it just sits there with a blinking cursor in the top left of the screen. I've tried this numerous times over the past couple months to no avail. Today, I tried another box using a 200GB Sata drive w/o RAID, and the exact same thing happens. I've tried all manner of things to no avail. If someone can shed some light on this issue, I would most appreciate it. Tks, Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Sata drives and FBSD
I have had an issue (as many others have) trying to get STABLE, or even CURRENT running on a box with an ICH6R RAID controller. After install (which appears to be successful), when I reboot it just sits there with a blinking cursor in the top left of the screen. I've tried this numerous times over the past couple months to no avail. Today, I tried another box using a 200GB Sata drive w/o RAID, and the exact same thing happens. I've tried all manner of things to no avail. If someone can shed some light on this issue, I would most appreciate it. I'm sorry if this message comes in multiple copies. I was having problems with my server being rejected by FBSD MX's, and there may be a couple queued. Steve Tks, Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FW: Sata drives and FBSD
This message failed to go through twice, so I'll try one more time: Hi all, I have had an issue (as many others have) trying to get STABLE, or even CURRENT running on a box with an ICH6R RAID controller. After install (which appears to be successful), when I reboot it just sits there with a blinking cursor in the top left of the screen. I've tried this numerous times over the past couple months to no avail. Today, I tried another box using a 200GB Sata drive w/o RAID, and the exact same thing happens. I've tried all manner of things to no avail. If someone can shed some light on this issue, I would most appreciate it. Tks, Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How do you patch a driver?
Thanks Chuck, Add: options IPFIREWALL_FORWARD options IPFIREWALL_DIVERT ...to your kernel config file. This is mostly documented here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-ipfw.html Thanks for the tip. Unfortunately, the IPFIREWALL_FORWARD was not mentioned in the link you gave me (which I visited prior). Otherwise I wouldn't have lost 2 nights working on this. But that's over now. I'm working on another stumbling block on ipfw. Also note that ipfw forwarding alone may not do what you expect, unless you make special efforts on the machine being forwarded to, to recognize the additional IP addresses. You might find using the redirect_host or redirect_port directives to natd more appropriate for your purposes. Thanks for your concern. For my purposes, it's only a gateway. The NAT router is further down the road. Appreciate the tip anyway. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FW: Sata drives and FBSD
Hi all, I have had an issue (as many others have) trying to get STABLE, or even CURRENT running on a box with an ICH6R RAID controller. After install (which appears to be successful), when I reboot it just sits there with a blinking cursor in the top left of the screen. I've tried this numerous times over the past couple months to no avail. Today, I tried another box using a 200GB Sata drive w/o RAID, and the exact same thing happens. I've tried all manner of things to no avail. If someone can shed some light on this issue, I would most appreciate it. Tks, Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: FW: Sata drives and FBSD
-Original Message- From: albi [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 05, 2005 12:53 PM To: Steve Bertrand Subject: Re: FW: Sata drives and FBSD hi, This message failed to go through twice, so I'll try one more time: i've since it 2x already, stop it :-) I have had an issue (as many others have) trying to get STABLE, or even CURRENT running on a box with an ICH6R RAID controller. After install (which appears to be successful), when I reboot it just sits there with a blinking cursor in the top left of the screen. I've tried this numerous times over the past couple months to no avail. Today, I tried another box using a 200GB Sata drive w/o RAID, and the exact same thing happens. perhaps a silly question, did you set it in the BIOS to boot from RAID-device rather than IDE ? I've tried all different methods of boot procedure, disabling IDE entirely, disabling RAID...all on both boxes. Tks for the suggestion though! Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Sata drives and FBSD
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Bertrand Sent: Wednesday, October 05, 2005 7:45 AM To: freebsd-questions@freebsd.org Subject: Sata drives and FBSD Hi all, I have had an issue (as many others have) trying to get STABLE, or even CURRENT running on a box with an ICH6R RAID controller. After install (which appears to be successful), when I reboot it just sits there with a blinking cursor in the top left of the screen. I've tried this numerous times over the past couple months to no avail. Today, I tried another box using a 200GB Sata drive w/o RAID, and the exact same thing happens. I've tried all manner of things to no avail. If someone can shed some light on this issue, I would most appreciate it. Tks, Steve ICH6R isn't supported under 5.4, at least with hardware RAID. You could try the newest 6.0 stable. See man ata. On the other hand, I seem to recall getting ICH6R to run without RAID under 5.4. You might want to publish a dmesg. Regards, -gayn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Pam and multiple requiste satements!
Im trying to configure pam to auth *twice* with pam_ldap (since pam_ldap seems incapable of using multiple filters), anyway i have the pam conf file listed below but even if I set either of the queried attributes to false (basicly using 2 queries for access control) it seems that as long as one of them authenticates properly then it goes through as ok, I had looked at using pam_if with pam_deny as another way of doing this but pam_if seems to have gone away long ago. So, the question, is there any I can force pam to authticate against both of these and fail if either does ? - Mike Woods Systems Administrator ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /: write failed, filesystem is full
On 10/5/05, jojo [EMAIL PROTECTED] wrote: On Wed, 5 Oct 2005, Jaap Boender wrote: Anyway, it seems as if your 3.3G file hasn't disappeared, since there is still 4.0G in the root directory...What kind of file was it? It was a output file from tcpdump ( /root/test.txt ) Something still has the file open. Even though the file no longer has a directory entry, its disk space can't be released until nothing has it open. Either tcpdump or some program you were using to view the file must still have it open. If you get tired of looking for the culprit, a reboot will guarantee it gets closed. If you want to solve the mystery, fstat should help. - Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Pam and multiple requiste satements!
Im trying to configure pam to auth *twice* with pam_ldap (since pam_ldap seems incapable of using multiple filters), anyway i have the pam conf file listed below but even if I set either of the queried attributes to false (basicly using 2 queries for access control) it seems that as long as one of them authenticates properly then it goes through as ok, I had looked at using pam_if with pam_deny as another way of doing this but pam_if seems to have gone away long ago. So, the question, is there any I can force pam to authticate against both of these and fail if either does ? authrequisite /mail/pam_ldap/enabled/lib/pam_ldap.so debug authrequisite /mail/pam_ldap/imap/lib/pam_ldap.so debug use_first_pass account required /mail/pam_ldap/imap/lib/pam_ldap.so no_warn Both instances of pam_ldap are configured to use seperate config files with different pam_filter settings. - Mike Woods Systems Administrator ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD and Intel Hyperthreading technology.
Hello, I have an Intel P4 2.8Ghz processor with Hyperthreading (HT). The dmesg displays a message saying HT is present and 2 logical CPUs present.I tried toggling the setting in BIOS but no difference. How does the FBSD(v5.4 stable) kernel deal with HT ? Do the internal workings( maybe locking, per processor data or other things) change as compared to a simple non-HT processor ? or does it use employ SMP methods to deal with the 2 logical CPUs presented by a HT processor ? I want to do kernel programming on FBSD and my project partners have non-HT CPUs.How much difference will HT make ? can it be avoided ? TIA. Regards, Pranav Peshwe --- One of the greatest victories you can gain over someone is to beat him at politeness. - Josh Billings ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Dell PowerEdge w/ Intel AFT / Broadcom BASP
All: This may be better for freebsd-cluster@freebsd.org, but that list is kind of ghost town, and this question is more a standards-based: Does anyone deploy Dell Poweredge in a HA configuration utilizing these features? http://www.intel.com/network/connectivity/resources/technologies/load_balancing.htm http://www1.us.dell.com/content/topics/global.aspx/power/en/ps1q03_bhutani?c=uscs=555l=ens=biz http://www.broadcom.com/drivers/faq_drivers.php#55 Do we know what underlying standards and protocols compose these technologies? 802.3ad, Cisco FEC? Intel AFT claims to provide redundancy over a team of NICs. ALB claims link aggregation; but they don't specify if they're doing it in hardware or sofware (see Below) Broadcom BASP claims the same, given different terminology and vendor. I'm looking for a fault tolerant configuration for a HA cluster. Load balancing and/or link aggregation is not required. I need to be able to team two NICs into one Virtual NIC. Each NIC connects to two redundant managed switches, on which the connecting switch ports exist in the same VLAN (which is then ISL/802.1q trunked between them). Essentially the same ethernet segment. I see ng_one2many(4), but the man page doesn't really state what standard that uses. It seems to be all in-kernel magic (LACP and 802.3.ad aren't mentioned in the man page); will this meet the above requirements? There were some ng_one2many(4) patches a while back to add more intellegence, (FEC/802.3ad heartbeat like control protocol) http://marc.theaimsgroup.com/?t=10769597742r=1w=2 ...but no mention of them ever being commited. I see ng_fec(4) also, but I don't think that Cisco Ethernet Channel can occur between two switches and one server (correct me if I'm wrong). I question the Hardware v.s. Software issue on the Intel NICs becase the Dell PowerEdges Severs that happen to have Intel NIC Chipsets using em(4) (many have Broadcom), seem to automatically try to team NICs when they're connected to unmanaged PowerConnect switches, breaking ng_one2many logic. They constantly alternate MAC addresses between the primary ethernet, the secondary ethernet, and a 3rd 1-byte-off Virtual MAC. This automatic attempt to team seems like a hardware feature. If it was a software feature, in theory it wouldn't try to team w/o being instructed to? On the other hand, *managed* Dell PowerConnect switches feature something called LAG, which the docs describe as 802.3ad / LACP. I haven't tried ng_one2many on non-Dell or Dell Managed switches to see if the MAC address bouncing problem persists, but I'll try that today. So the big question: *) Is the Windows/Linux-only software for configuring teams of NICs, described in the URLs below, designed to configure a hardware level feature that might have more intellegent link failure detection than ng_many2one? (I.e., other than just lost carrier, say, STP storm detection or excessive packet error thresholds). Or is it software? *) If it is a hardware feature, could our em(4) driver be adapted or could it possibly be configured using OpenManage via the Intel IPMI/DMI/SMI whatever? *) Can Cisco FEC or 802.3ad provide reundancy between two switches and one server w/ two NICs? Will NetGraph ever have a 802.3ad module? *) What combination of Switch and NIC related teaming / failover technology are known to be compatible with FreeBSD ? TIA, ~BAS ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is it possible to mount MSDOS partitions on the 5.4 fixit floppy?
Tom Norris [EMAIL PROTECTED] writes: I need to mount a msdos partition on from is FreeBSD 5.4 fixit floppy(this machine doesn't have a CD Drive :\), but when I run the command: mount -t msdos /dev/da0 /mnt/usb-msd I get: mount: exec mount_msdos not found in /sbin:/usr/sbin: No such file or directory. Where could I go to get this binary? Could I pull it off of another FreeBSD machine I have kicking around or will the machine running fixit get angry at me? I think you will need to build a statically linked version. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD and Intel Hyperthreading technology.
On Oct 5, 2005, at 11:48 AM, Pranav Peshwe wrote: Hello, I have an Intel P4 2.8Ghz processor with Hyperthreading (HT). The dmesg displays a message saying HT is present and 2 logical CPUs present.I tried toggling the setting in BIOS but no difference. How does the FBSD(v5.4 stable) kernel deal with HT ? Do the internal workings( maybe locking, per processor data or other things) change as compared to a simple non-HT processor ? or does it use employ SMP methods to deal with the 2 logical CPUs presented by a HT processor ? I want to do kernel programming on FBSD and my project partners have non-HT CPUs.How much difference will HT make ? can it be avoided ? I would suspect that if you do not run an SMP kernel it won't matter Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Hidden spot on hard drives?
the company where I work (with Windows) is evaluating a copy protection product that stores info somewhere on the HDD where the user cannot touch it, a format will not erase it, and Norton Ghost will not find it. 1. Any idea where this info could be stored? 2. Any way the same thing could be done under FreeBSD? Thanks, jm -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hidden spot on hard drives?
On Oct 5, 2005, at 12:44 PM, Jonathon McKitrick wrote: the company where I work (with Windows) is evaluating a copy protection product that stores info somewhere on the HDD where the user cannot touch it, a format will not erase it, and Norton Ghost will not find it. If the product can touch it, the user can touch it. After all, the product is run by the user. Chad 1. Any idea where this info could be stored? 2. Any way the same thing could be done under FreeBSD? Thanks, jm -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Stored hard drive failure?
- Original Message - From: Gary W. Swearingen [EMAIL PROTECTED] To: K Anderson [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Wednesday, October 05, 2005 9:18 AM Subject: Re: Stored hard drive failure? If you're really serious (to borrow a phrase), you'll do backup to several different media and maybe different formats. With RAID or backup to an always-powered second HDD, you can loose all of your disks if the case power supply or MB fails in certain ways. (I know someone who lost a disk when the MB failed.) Or if someone steals your computer or in a fire. With removable HDD, you risk physical damage either from lack of use or shock. FYI, I kept a 45 GB IBM and a 80 GB Seagate drive in a outside storage shed which got hot, cold, and damp for 10 months and they work fine. I guess I've been lucky because I've had only one failure from about 15 lightly-used disks and have occasionally reused 5- to 10-year-old disks for short durations after years on the shelf. Good feedback, thanks. Yep, best laid plans can go off the beaten path. ~Mr. Anderson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Darn that eu_ES.ISO8859-1/LC_MESSAGES
Hey folks, Although I found a fix for my issue, I thought I would post my experience so here it goes. I've got a annoying problem here. Everytime I make the world (using the instrctions at FreeBSD.org) I get Errcode 71s and Error Code 1s. Error code 71 happens at install: /usr/share/locale/eu_ES.ISO8859-1/LC_MESSAGES: No such file or directory It first starts with /usr/src/share/msgdef I then go in to the Makefile and remove the offending target of eu_ES.ISO8859-1 I looked in /usr/share/locale and there isn't a (dir) for the above locale but there is a link of that name that points to something else but I can't CD in to it (It says it's not a directory) and it's right it's not a directory. But it exists as a file (I'm thinking about deleting it next time I rebuild the world to see if something kicks it back in to place but I'll save that for later). The processes I followed were make buildworld make kernel KERNCONF=MSMOUSE-IIVi make installkernel KERNCONF=MSMOUSE-IIVi reboot mergemaster -p make installworld edit offending Makefile by removing any reference to eu_ES.ISO8859-1 (usually at the top of the Makefile) make installworld Note - I'm currently remaking after the first edit and I noticed in there a message that said something like eu_ES.ISO8859-1 expected (dir) found link. and repeat edit offending Makefile and make installworld until the errors go away. editting /usr/src/share/numericcdef Makefile now. Bah, forget it I'm going to rename the links to the eu_ES-thingy and see if it corrects itself. renaming errant links ran mergemaster -p running make installworld No errors. Yay! Should I even submit a pr on this? Seems I found the fix. Delete the darn links (or at least rename them to something else just to test the theory, then delete if proved). ~Mr. Anderson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hidden spot on hard drives?
Jonathon McKitrick wrote: the company where I work (with Windows) is evaluating a copy protection product that stores info somewhere on the HDD where the user cannot touch it, a format will not erase it, and Norton Ghost will not find it. 1. Any idea where this info could be stored? 2. Any way the same thing could be done under FreeBSD? Thanks, jm # dd if=/dev/zero of=/dev/zero Will overwrite the entire drive. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hidden spot on hard drives?
On Wed, Oct 05, 2005 at 11:55:18AM -0700, Joe S wrote: : Jonathon McKitrick wrote: : the company where I work (with Windows) is evaluating a copy protection : product that stores info somewhere on the HDD where the user cannot touch : it, : a format will not erase it, and Norton Ghost will not find it. : : 1. Any idea where this info could be stored? : 2. Any way the same thing could be done under FreeBSD? : : Thanks, : : jm : : # dd if=/dev/zero of=/dev/zero : : Will overwrite the entire drive. Thanks. What I was wondering is if there is a way to do the same copy protection in FreeBSD, where I could store the data in the same place on the drive where the user cannot access it. jcm -- If you cannot do something well, learn to enjoy doing it poorly. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hidden spot on hard drives?
: # dd if=/dev/zero of=/dev/zero : : Will overwrite the entire drive. I thought that value of 'of' is device on which the drive is. Reads from /dev/zero give zeroes and writes to it do nothing. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hidden spot on hard drives?
On Wed, Oct 05, 2005 at 11:55:18AM -0700, Joe S wrote: : Jonathon McKitrick wrote: : the company where I work (with Windows) is evaluating a copy protection : product that stores info somewhere on the HDD where the user cannot touch : it, : a format will not erase it, and Norton Ghost will not find it. : : 1. Any idea where this info could be stored? : 2. Any way the same thing could be done under FreeBSD? : : Thanks, : : jm : : # dd if=/dev/zero of=/dev/zero : : Will overwrite the entire drive. Thanks. What I was wondering is if there is a way to do the same copy protection in FreeBSD, where I could store the data in the same place on the drive where the user cannot access it. Normal, average users yes. But as the above stated... dd will let me (as root) get to any part of the disk I want. If you're users don't have root access, then just make it a normal file owned by root, chmod 400. I seem to remember some software put it's license key in the boot sector (this was way back when and I might be not remembering correctly). But even that can be read using dd... not sure how I'd do it with windows, but I'm sure it's possible. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bruteforceblocker + PF
On 10/5/05, Enrique Ayesta Perojo [EMAIL PROTECTED] wrote: Hello, i'm trying to install the bruteforceblocker script to stop ssh attacks, but i'm having a problem with PF because it seems not to block the attacker ip. The machine is connected to internet and has some needed services for the LAN, so i want to log and block only outside attacks. The bruteforceblocker script seems to be working, because i can read the initial time of it at /var/log/auth.log, so i think the problem may be at my pf configuration. Any help? Thanks a lot /etc/pf.conf table bruteforce persist file /var/log/bruteforce # options set block-policy return set loginterface $ext_if # scrub scrub in all # filter rules block all pass quick on lo0 all pass in on bge0 from 10.200.62.0/24 to 10.200.62.17 pass out on bge0 from 10.200.62.17 to 10.200.62.0/24 block in log quick inet proto tcp from bruteforce to any port ssh I'm going to assume this is just a small part of your pf.conf, because the part you show doesn't allow any internet access. Maybe you should show us your entire pf.conf. Do your rules display as expected? # pfctl -s rules Did you reload pf after you edited pf.conf? # pfctl -f /etc/pf.conf Are you testing this from outside the 10.200.x.x network? In your auth.log do you see bruteforceblocker messages such as: 220.92.126.217 was logged with total count of 1. when an ssh login fails? And then after $max_attempts is exceeded you should see: IP 202.92.126.217 reached the maximum number of failed attempts!!! Adding IP to the firewall... -- Noel Jones ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /: write failed, filesystem is full
Hi all, ok, the problem is solved. tcpdump was still open and used the file as Bob already said. Sorry for my stupidity :) Thanks to all, Joachim Something still has the file open. Even though the file no longer has a directory entry, its disk space can't be released until nothing has it open. Either tcpdump or some program you were using to view the file must still have it open. If you get tired of looking for the culprit, a reboot will guarantee it gets closed. If you want to solve the mystery, fstat should help. - Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hidden spot on hard drives?
I seem to remember some software put it's license key in the boot sector (this was way back when and I might be not remembering correctly). But even that can be read using dd... not sure how I'd do it with windows, but I'm sure it's possible. It's impossible with Windows NT, but possible with any MSDOS-based Windows. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
fxp0 problem with 6Beta?
I have a small LAN at home consisting of 192.168.0.5 (a single PIII) which runs 5.4 stable and 192.168. 0.7 (a dual PIII) which runs 6Beta4 connected with a Netgear router at 192.168.0.1. 192.168.0.7 has nothing on it, no firewall even, aside from 6Beta (with debugging turned off in the kernel) and cvsup. From 192.168.0.7 I can find and login to 192.168.0.5 and external computers using ssh. From 192.168.0.5 I can login to external computers using ssh but there is no sign of 192.168.0.7, pinging fails and the Netgear router can't see it. Any suggestions? Below is dmesg for 192.168.0.7 Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.0-BETA4 #0: Sun Sep 11 16:48:29 BST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BOX7BRUCE Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel Pentium III (731.02-MHz 686-class CPU) Origin = GenuineIntel Id = 0x683 Stepping = 3 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX, FXSR,SSE real memory = 536870912 (512 MB) avail memory = 515887104 (491 MB) MPTable: COMPAQ Workstation FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 1 cpu1 (AP): APIC ID: 0 ioapic0: Changing APIC ID to 8 ioapic0: Assuming intbase of 0 ioapic0 Version 2.0 irqs 0-23 on motherboard npx0: [FAST] npx0: math processor on motherboard npx0: INT 16 interface cpu0 on motherboard cpu1 on motherboard pcib0: MPTable Host-PCI bridge pcibus 0 on motherboard pci0: PCI bus on pcib0 agp0: Intel 82840 host to AGP bridge mem 0xf800-0xfbff at device 0.0 on pci0 pcib1: MPTable PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 pcib2: MPTable PCI-PCI bridge at device 30.0 on pci0 pci2: PCI bus on pcib2 fxp0: Intel 82559 Pro/100 Ethernet port 0x5400-0x543f mem 0xfdc0-0xfdc00fff,0xfdd0-0xfd df irq 18 at device 2.0 on pci2 miibus0: MII bus on fxp0 inphy0: i82555 10/100 media interface on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:02:a5:53:cb:3f ahc0: Adaptec aic7892 Ultra160 SCSI adapter port 0x5000-0x50ff mem 0xfde0-0xfde00fff irq 19 at device 7.0 on pci2 ahc0: [GIANT-LOCKED] aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs pci2: display, VGA at device 11.0 (no driver attached) isab0: PCI-ISA bridge at device 31.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel ICH UDMA66 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x6460-0x646f at device 31.1 on pci0 ata0: ATA channel 0 on atapci0 ata1: ATA channel 1 on atapci0 uhci0: Intel 82801AA (ICH) USB controller port 0x6440-0x645f irq 19 at device 31.2 on pci0 uhci0: [GIANT-LOCKED] usb0: Intel 82801AA (ICH) USB controller on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: serial bus, SMBus at device 31.3 (no driver attached) pci0: multimedia, audio at device 31.5 (no driver attached) pmtimer0 on isa0 orm0: ISA Option ROMs at iomem 0xc-0xc7fff,0xc8000-0xc97ff,0xe-0xe on isa0 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse, device ID 3 fdc0: Enhanced floppy controller at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: [FAST] fd0: 1440-KB 3.5 drive on fdc0 drive 0 ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/13 bytes threshold ppbus0: Parallel port bus on ppc0 plip0: PLIP network interface on ppbus0 lpt0: Printer on ppbus0 lpt0: Interrupt-driven port ppi0: Parallel I/O on ppbus0 sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 unknown: PNP0401 can't assign resources (port) unknown: PNP0501 can't assign resources (port) unknown: PNP0501 can't assign resources (port) unknown: PNP0700 can't assign resources (port) unknown: PNP0c01 can't assign resources (memory) unknown: PNP0303 can't assign resources (port) unknown: PNP0f13 can't assign resources (irq) Timecounters tick every 1.000 msec acd0: CDROM Compaq CRD-8402B/1.01 at ata0-master PIO4 Waiting 5 seconds for SCSI devices to settle da0 at ahc0 bus 0 target 0 lun 0 da0: COMPAQ BD00975CC6 HPB6 Fixed Direct Access SCSI-3 device da0: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled da0: 8678MB (17773524 512 byte sectors: 255H 63S/T 1106C) SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/da0s1a ___
Re: fxp0 problem with 6Beta?
What do the outputs of ifconfig fpx0, arp -an, tcpdump -i fxp0 -n and netstat -s look like? ~BAS On Wed, 5 Oct 2005, Bdrawyah wrote: I have a small LAN at home consisting of 192.168.0.5 (a single PIII) which runs 5.4 stable and 192.168. 0.7 (a dual PIII) which runs 6Beta4 connected with a Netgear router at 192.168.0.1. 192.168.0.7 has nothing on it, no firewall even, aside from 6Beta (with debugging turned off in the kernel) and cvsup. From 192.168.0.7 I can find and login to 192.168.0.5 and external computers using ssh. From 192.168.0.5 I can login to external computers using ssh but there is no sign of 192.168.0.7, pinging fails and the Netgear router can't see it. Any suggestions? Below is dmesg for 192.168.0.7 Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.0-BETA4 #0: Sun Sep 11 16:48:29 BST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BOX7BRUCE Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel Pentium III (731.02-MHz 686-class CPU) Origin = GenuineIntel Id = 0x683 Stepping = 3 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX, FXSR,SSE real memory = 536870912 (512 MB) avail memory = 515887104 (491 MB) MPTable: COMPAQ Workstation FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 1 cpu1 (AP): APIC ID: 0 ioapic0: Changing APIC ID to 8 ioapic0: Assuming intbase of 0 ioapic0 Version 2.0 irqs 0-23 on motherboard npx0: [FAST] npx0: math processor on motherboard npx0: INT 16 interface cpu0 on motherboard cpu1 on motherboard pcib0: MPTable Host-PCI bridge pcibus 0 on motherboard pci0: PCI bus on pcib0 agp0: Intel 82840 host to AGP bridge mem 0xf800-0xfbff at device 0.0 on pci0 pcib1: MPTable PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 pcib2: MPTable PCI-PCI bridge at device 30.0 on pci0 pci2: PCI bus on pcib2 fxp0: Intel 82559 Pro/100 Ethernet port 0x5400-0x543f mem 0xfdc0-0xfdc00fff,0xfdd0-0xfd df irq 18 at device 2.0 on pci2 miibus0: MII bus on fxp0 inphy0: i82555 10/100 media interface on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:02:a5:53:cb:3f ahc0: Adaptec aic7892 Ultra160 SCSI adapter port 0x5000-0x50ff mem 0xfde0-0xfde00fff irq 19 at device 7.0 on pci2 ahc0: [GIANT-LOCKED] aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs pci2: display, VGA at device 11.0 (no driver attached) isab0: PCI-ISA bridge at device 31.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel ICH UDMA66 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x6460-0x646f at device 31.1 on pci0 ata0: ATA channel 0 on atapci0 ata1: ATA channel 1 on atapci0 uhci0: Intel 82801AA (ICH) USB controller port 0x6440-0x645f irq 19 at device 31.2 on pci0 uhci0: [GIANT-LOCKED] usb0: Intel 82801AA (ICH) USB controller on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: serial bus, SMBus at device 31.3 (no driver attached) pci0: multimedia, audio at device 31.5 (no driver attached) pmtimer0 on isa0 orm0: ISA Option ROMs at iomem 0xc-0xc7fff,0xc8000-0xc97ff,0xe-0xe on isa0 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse, device ID 3 fdc0: Enhanced floppy controller at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: [FAST] fd0: 1440-KB 3.5 drive on fdc0 drive 0 ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/13 bytes threshold ppbus0: Parallel port bus on ppc0 plip0: PLIP network interface on ppbus0 lpt0: Printer on ppbus0 lpt0: Interrupt-driven port ppi0: Parallel I/O on ppbus0 sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 unknown: PNP0401 can't assign resources (port) unknown: PNP0501 can't assign resources (port) unknown: PNP0501 can't assign resources (port) unknown: PNP0700 can't assign resources (port) unknown: PNP0c01 can't assign resources (memory) unknown: PNP0303 can't assign resources (port) unknown: PNP0f13 can't assign resources (irq) Timecounters tick every 1.000 msec acd0: CDROM Compaq CRD-8402B/1.01 at ata0-master PIO4 Waiting 5 seconds for SCSI devices to settle da0 at ahc0 bus 0 target 0 lun 0 da0: COMPAQ BD00975CC6 HPB6 Fixed Direct Access SCSI-3 device da0: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled da0: 8678MB (17773524 512 byte sectors: 255H
libGL error
Hi people I am using a radeon 9200 128MB in my FreeBSD 6.0BETA4 working perfect i am using DRM :-).the output of glxinfo said direct rendering: Yes and i have a lot of FPS with glxgears. but i am using a program(pymol to see molecules etc) that is using indirect render not direct renderand then is very slow.. the program use indirect rendering because this error tha i saw when put the enviroment variable LIBGL_DEBUG to verbose libGL error: dlopen /usr/X11R6/lib/modules/dri/r200_dri.so failed (/usr/X11R6/lib/modules/dri/r200_dri.so: Undefined symbol _glapi_Dispatch) libGL error: unable to find driver: r200_dri.so other programs like VMD(similar to pymol) works with dirent renderin without problem. How can i solve this? Thanks Osmany ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
5-Stable: DMA count reg bogus distorts sound (ESS-Solo)
Hi, I'm running 5-Stable as of Sept. 24th. My sound card is an ESS Solo-1 (integrated in the motherboard). I load the modules sound.ko and snd_solo.ko. When using realplayer or mplayer, sound is very much distorted; also, the console gets an endless stream of these kind of messages: DMA count reg bogus: 4ff4 4ff4 Any idea what this means and what I can do about this to solve the distortion of the sound? The dmesg output of the PC is here: http://surfion.snu.ac.kr/~lahaye/dmesg.boot Thanks, Rob. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fxp0 problem with 6Beta?
On Wed, 5 Oct 2005, Bdrawyah wrote: What do the outputs of ifconfig fpx0, arp -an, tcpdump -i fxp0 -n and netstat -s look like? ~BAS arp -an ? (192.168.0.1) at 00:0f:b5:16:dd:b6 on fxp0 [ethernet] You should see an ARP entry for .07 from .05 and vice versa when you ping each other (regardless if the ICMP makes it or not) tcpdump -i fxp0 -n tcpdump: (no devices found) /dev/bpf0: Permission denied This command will produce much more interesting results if you run it as root or via sudo(8). ...unless that error indicates that you compiled w/o BPF. ~BAS ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fxp0 problem with 6Beta?
What do the outputs of ifconfig fpx0, arp -an, tcpdump -i fxp0 -n and netstat -s look like? ~BAS arp -an ? (192.168.0.1) at 00:0f:b5:16:dd:b6 on fxp0 [ethernet] You should see an ARP entry for .07 from .05 and vice versa when you ping each other (regardless if the ICMP makes it or not) From either .07 or .05 arp -an gives just 192.168.0.01 tcpdump -i fxp0 -n tcpdump: (no devices found) /dev/bpf0: Permission denied This command will produce much more interesting results if you run it as root or via sudo(8). ...unless that error indicates that you compiled w/o BPF. ~BAS -- Should have read man tcpdump prior to running it! As root: tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on fxp0, link-type EN10MB (Ethernet), capture size 96 bytes 23:10:40.704329 802.1d config 8000.00:0f:b5:16:dd:b6.8001 root 8000.00:0f:b5:16: dd:b6 pathcost 0 age 0 max 6 hello 2 fdelay 0 23:10:42.704385 802.1d config 8000.00:0f:b5:16:dd:b6.8001 root 8000.00:0f:b5:16: dd:b6 pathcost 0 age 0 max 6 hello 2 fdelay 0 23:10:44.704501 802.1d config 8000.00:0f:b5:16:dd:b6.8001 root 8000.00:0f:b5:16: dd:b6 pathcost 0 age 0 max 6 hello 2 fdelay 0 ^C 3 packets captured 3 packets received by filter 0 packets dropped by kernel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
OT: New design
I see the site is sporting a new design. I like it. -- Best regards, Chris Don't force it, get a bigger hammer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to recompile a port in a clean maneer?
Eric Devolder wrote: [ ... ] My specific questions are: * how to fetch the source code of a port? and especially from another release? cd /usr/ports/mail/postfix # or whatever port you want make fetch If you want to fetch a different version of the port, you can change the Makefile in the port's directory, along with anything else that may be needed (the patches under files will need to be adjusted, if any, etc). * how to unpack, change the makefile, compile? make extract cd work cd _path_ # this depends on the port and version, then edit files # cd back to the top-level port directory make * how to package it again? make package -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: New design
Chris wrote: I see the site is sporting a new design. I like it. *Much* better. =) More professional like FreeBSD should be... Does anyone know whatever became of the FreeBSD logo contest? Did they get a new logo or did no one win? Just curious! -- Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: New design
(Followup set to -www.) in message [EMAIL PROTECTED], wrote Jordan Michaels thusly... *Much* better. =) More professional like FreeBSD should be... Not really. Near the area around Based on BSD UNIX, i see in Opera red title Based on... and black blurb on dark brown background color (specified in Opera by me), making it hard to read. Then there are also the links in red, of course, on dark background, making it hard to read. It would be more thoughtful merciful of the web site designers/operators to define a background color w/ enough contrast too. Alternatively, it would be equally merciful not to specify any colors; let the user agent handle it. - Parv -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: New design
Parv wrote: (Followup set to -www.) in message [EMAIL PROTECTED], wrote Jordan Michaels thusly... *Much* better. =) More professional like FreeBSD should be... Not really. Near the area around Based on BSD UNIX, i see in Opera red title Based on... and black blurb on dark brown background color (specified in Opera by me), making it hard to read. Then there are also the links in red, of course, on dark background, making it hard to read. I dunno - I dont see a dark brown background where you say it is. It's white to me. Again, the links in red on a dark background? Mayb try out Firefox. I see a heck of a lot of white background where you say its either brown or dark. -- Best regards, Chris Please don't steal, the IRS hates competition! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: New design
On Wed, Oct 05, 2005 at 04:05:13PM -0700, Jordan Michaels wrote: Chris wrote: I see the site is sporting a new design. I like it. *Much* better. =) More professional like FreeBSD should be... Does anyone know whatever became of the FreeBSD logo contest? Did they get a new logo or did no one win? Just curious! http://docs.freebsd.org/cgi/getmsg.cgi?fetch=615424+0+archive/2005/freebsd-questions/20050904.freebsd-questions -- Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- | /\ ASCII Ribbon | Jonathan Glaschke - Lorenz-Görtz-Straße 71, | \ / Campaign Against | 41238 Mönchengladbach, Tel: 02166-265876 | XHTML In Mail | Mobil: 0162-3390789, ICQ: 231021883 | / \ And News | http://jonathan-glaschke.de/ pgpiL6IqAqSKQ.pgp Description: PGP signature
Re: X Windows on Toshiba Tecra M1
I would make sure that it is set to that native resolution of the LCD. On Tue, 04 Oct 2005 07:37:34 -0700 jmulkerin [EMAIL PROTECTED] wrote: Just installed Freebsd 5.4 on a Toshiba Tecra M1. Anyone know the right parameters for the Video?All I get is lines and then fades to mostly dark gray. I've searched the FAQ and the internet and haven't found anything that gives me a clue yet. Thanks John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems with SATA drive on a Shuttle
Hi. I'm having problems with FBSD 5.4-S on a machine I built. It is a Shuttle XPC with SATA150 drives. This is typical of the messages I get: initiate_write_filepage: already started ad5: WARNING no status, reselecting device ad5: timeout sending command=ca ad5: error issuing WRITE_DMA command I found some hits on the mailing list indicating a possible hardware problem. I have replaced both SATA drives and switched the SATA connections from the secondary socket to the primary socket. (The drive controller is built into the motherboard.) This happens on both drives but the one with the / filesystem is hit harder with this. I have swap partitions on both drives. Nothing has helped. I'm considering installing Suse Linux on the machine to see of it is a software problem with FreeBSD. I've also thought about trying one of the 6.0-BETAs to see if that makes a difference. Any ideas would be welcome. Thanks... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: New design
Great design! Congratulations! On Wed, 05 Oct 2005 17:43:20 -0500, Chris [EMAIL PROTECTED] said: I see the site is sporting a new design. I like it. -- Best regards, Chris Don't force it, get a bigger hammer. ___ -- http://www.fastmail.fm - Email service worth paying for. Try it for free ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Problems with SATA drive on a Shuttle
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, October 05, 2005 4:37 PM To: freebsd-questions@freebsd.org Subject: Problems with SATA drive on a Shuttle Hi. I'm having problems with FBSD 5.4-S on a machine I built. It is a Shuttle XPC with SATA150 drives. This is typical of the messages I get: initiate_write_filepage: already started ad5: WARNING no status, reselecting device ad5: timeout sending command=ca ad5: error issuing WRITE_DMA command I found some hits on the mailing list indicating a possible hardware problem. I have replaced both SATA drives and switched the SATA connections from the secondary socket to the primary socket. (The drive controller is built into the motherboard.) This happens on both drives but the one with the / filesystem is hit harder with this. I have swap partitions on both drives. Nothing has helped. I'm considering installing Suse Linux on the machine to see of it is a software problem with FreeBSD. I've also thought about trying one of the 6.0-BETAs to see if that makes a difference. Any ideas would be welcome. Thanks... It does matter what controller you have on your m'board. See man ata. Also, 6.0 is far better than 5.4 IMHO for this support at least. -gayn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fxp0 problem with 6Beta?
-- Should have read man tcpdump prior to running it! As root: tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on fxp0, link-type EN10MB (Ethernet), capture size 96 bytes 23:10:40.704329 802.1d config 8000.00:0f:b5:16:dd:b6.8001 root 8000.00:0f:b5:16: What you want to do is run this on one machine while you try to ping that machine (on which are running) from another machine. Something strange going on in your network if your clients aren't ARP'ing each other. What kind of router did you say? Maybe reset to defaults if the problem persists? ~BAS dd:b6 pathcost 0 age 0 max 6 hello 2 fdelay 0 23:10:42.704385 802.1d config 8000.00:0f:b5:16:dd:b6.8001 root 8000.00:0f:b5:16: dd:b6 pathcost 0 age 0 max 6 hello 2 fdelay 0 23:10:44.704501 802.1d config 8000.00:0f:b5:16:dd:b6.8001 root 8000.00:0f:b5:16: dd:b6 pathcost 0 age 0 max 6 hello 2 fdelay 0 ^C 3 packets captured 3 packets received by filter 0 packets dropped by kernel l8* -lava x.25 - minix - bitnet - plan9 - 110 bps - ASR 33 - base8 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: New design
On October 5, 2005 07:57 pm, Hamza Eraldi wrote: Great design! Congratulations! On Wed, 05 Oct 2005 17:43:20 -0500, Chris [EMAIL PROTECTED] said: I see the site is sporting a new design. I like it. -- Best regards, Chris Don't force it, get a bigger hammer. ___ Agreed, but it's missing a direct link to the ports. Nicolas. -- FreeBSD 7.0-CURRENT #0: Sat Oct 1 11:51:38 EDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A PGP? : http://www.clkroot.net/security/nb_root.asc pgpegYimRT7sO.pgp Description: PGP signature