Re: php4-gd
On Sat, Nov 21, 2009 at 01:23:39PM +0100, Ruben de Groot wrote: On Sat, Nov 14, 2009 at 11:39:34PM +0100, Roman Neuhauser typed: more like: you should have upgraded to PHP5 two years ago. PHP4 is dead, baby. it's dead... Like COBOL and FORTRAN are dead? ;) no, these languages are still alive (though not very hip). PHP4 has been abandoned by its sole vendor (the PHP project). there's no PHP4-2008, won't be. http://en.wikipedia.org/wiki/Fortran#Fortran_2008 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Glassfish v3 server: Admin port in use
On Sat, Nov 21, 2009 at 03:01:55PM +0100, Frank Staals wrote: Hey everyone, I'm trying to deploy a Glassfish v3 server on my workstation since I need to do some jsf-developement. However when I try to start the server it keeps telling me the admin port I'm trying to use is allready in use by an other process, no matter what port I use. However I'm 100% certain there is nothing running on the port it should use (sockstat confirms that). Has anyone seen this type of behaviour and/or knows how to fix it ? I'm running FreeBSD 8.0-RC1 with jdk16 installed from ports. Full log is here: http://fstaals.net/junk/glassfish.txt this from https://glassfish.dev.java.net/downloads/v3-preview.html : For supported operating systems except MacOS, the minimum required version is 1.6.0_13. this from your log: fr...@rena# java -version java version 1.6.0_03-p4 that might be related. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: there will be a log in apache access.log?
On Sun, Nov 22, 2009 at 05:54:12AM -0800, IT?? wrote: l install apache and svn .. and now l input http://192.168.0.100/svn/ in website . and it let me to input user name and password . and l did not konw the username and password ,so l quit ,close the website ... l know if l input the right ID and password there will be a record in apache access.log does anyone know if there will be a record in apache access.log to record this action if l input wrong ID or quit beside input nothing ??? just try it, what's the problem? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: php4-gd
On Tue, Nov 10, 2009 at 06:59:16AM +, Matthew Seaman wrote: Arek Czereszewski wrote: I have on some web servers php4-gd port installed and I am totally confused. Portaudit says Affected package: php4-gd-4.4.9 Basically, if you're running PHP4 on a public site then you should be making plans to upgrade to PHP5 ASAP. more like: you should have upgraded to PHP5 two years ago. PHP4 is dead, baby. it's dead... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Tracking commit messages from cli
On Sun, Nov 08, 2009 at 08:06:13PM +0100, Troels Kofoed Jacobsen wrote: With pkg_version I can easily see which installed ports has newer versions available, but what I miss is a way to see what has changed. The reason for this is that commit messages often say that only the pkg-plist has changed or something that does not make me want to update. ... I know freshports exist, but I would rather not have to open a web browser. Does such a program exist or do I have to write my own. sorry to point out the obvious, but why not use svn (or cvs)? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD-8.0-RC2 problems
On Fri, Nov 06, 2009 at 05:33:00PM +0530, Masoom Shaikh wrote: Hello, Last Saturday I installed 8.0-RC2 from source by compiling on 7.1 installation. building and installing was smooth as always has been. Then I pkg_add'ed xorg and KDE4, this was painless too. I am very disappointed with my experience problem # 1 The problem is KDE4 is not able to display anti aliased fonts. i don't use kde, sorry. problem # 2 I observed that both FreeBSD8.0-RC1 and FreeBSD8.0-RC2, simply freeze due to no reason. The pain is I don't get a core dump. When it freezes the only option is to hard boot by reseting the power. This might need more information to guess the cause. I will give basic info. This is Dell Inspiron 1525 Laptop, with Intel Core2. My suspect mostly goes to wpi driver, no proof, just my gut feeling. it might be the kbdmux, or hald. these two things were troublemakers during my recent upgrade from 7.x to 9.0. kbdmux is in GENERIC, but causes missed interrupts, which may make the machine appear dead. hald is used by xorg. hald may spin busily when it's out of sync with the kernel. problem # 3 starting with 8.0 wpi driver no longer is the interface, wlanX is to be created. this is not news, but every time I manually create the wlan0 interface and spawn wpa_supplicant. This shuould be automatic, as I have followed the guidelines of rc.conf(5). I can provide output of rc_debug=YES if someone is willing. my wlan0 is created for wpi0 (I start the wifi with /etc/rc.d/wpa_supplicant onestart wlan0): wlans_wpi0=wlan0 ifconfig_wlan0=NOAUTO DHCP WPA what's in your rc.conf? How can i install all files under /etc from the source ? cd /usr/src mergemaster -i ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: incorrect info in mysql docs
On Sun, Oct 25, 2009 at 06:21:11PM +, Chris Whitehouse wrote: http://dev.mysql.com/doc/refman/5.1/en/automatic-start.html On FreeBSD, [...] you should install the mysql.server script as /usr/local/etc/rc.d/mysql.server.sh to enable automatic startup. That's not actually right is it? My mysql is started by /usr/local/etc/rc.d/mysql-server. rc(8) says *.sh is for older style startup scripts or for scripts that are to be read into the current shell. yup, third-party documentation tends to be stale. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: I hate to bitch but bitch I must
On Fri, Oct 16, 2009 at 07:27:42PM -0400, PJ wrote: Polytropon wrote: On Fri, 16 Oct 2009 17:54:23 -0400, PJ af.gour...@videotron.ca wrote: but from man tunefs: BUGS This utility should work on active file systems. What in hades does this mean--just above it says cannot be run on active file systems. ??? It should. This means: Don't try that. :-) My printer isn't printing! But it should. No, it is not printing! Yes, but it should. :-) Aha! Gotcha! Whoever wrote that has made an unintentionnal booboo. It is a subtle difference and is indicative that whoever wrote it is not a native english user... the meaning is clearly should be executed, done, carried out, performed - should work means it can be carried out - I think the author meant to say should not be done Dunno, maybe it's because E is my SL, but I fail to see the problem here. The meaning is clearly (SECTION BUGS, ffs) The friggin program should have a feature it's currently lacking. That's not to say I haven't had my share of gripes with man pages, it's just that if you ignore the man page structure and associated meaning, you're in for trouble. Just like with any message. -- roman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: webalizer package installation
# [EMAIL PROTECTED] / 2005-04-04 20:24:00 +0530: Hello, Hello, please keep this on questions@ thanks a lot for info .. Previously there was no ports directory under /usr So I downloded all 12,### ports from net and extract them under /usr now when I cd /usr/ports/graphics/gd or cd /usr/ports/graphics/png and give command make it gives following error -bash-2.05b# pwd /usr/ports/graphics/png -bash-2.05b# make /usr/sbin/sysctl: not found /usr/ports/Mk/bsd.port.mk, line 1030: warning: /usr/sbin/sysctl -n kern.osreldate returned non-zero status umm, how did you install the system? why does bsd.port.mk think that sysctl is in /usr/sbin? -- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW. Cause you weren't THERE. http://bash.org/?255991 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: webalizer package installation
# [EMAIL PROTECTED] / 2005-04-03 19:13:04 +0530: I am trying to install webalizer. I am newbie and I have tried a lot. But it is giving me error .. Hello, please don't post to many lists at once. If in doubt, check the charters at http://www.freebsd.org/doc/en/books/handbook/eresources.html#ERESOURCES-MAIL checking for main in -lpng... no configure: error: png library not found... please install Png. checking for libgd.so... (cached) no configure: error: gd library not found... please install gd. This is output of a configure script, how are you exactly installing webalizer? 1) How to install gd and png libraries? Can you provide me url? How to check they are installed or not? I'll answer a question of how to install webalizer instead. Either: pkg_add -r webalizer or: cd /usr/ports/www/webalizer make install clean 2) I also want to install a JAVA on freeBSD. What are the packages requires, how to install them. I know pkg_add command. Will this help? http://www.freebsd.org/doc/en/articles/java-tomcat/index.html Other documentation might be helpful, too: http://www.freebsd.org/docs.html 3) How to check what packages are install on the system and how to resolve dependacies. Documentation on the packaging system in FreeBSD can be found in the Handbook (file:///usr/share/doc/handbook/ or http://www.freebsd.org/doc/en/books/handbook/), and in ports(7) and pages referenced from there. -- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW. Cause you weren't THERE. http://bash.org/?255991 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PHP 4.3.4_6 make failed
# [EMAIL PROTECTED] / 2004-02-10 07:55:38 +0800: I was compiling PHP 4.3.4_6 but the configure script failed with this message: checking for Apache 1.x module support via DSO through APXS... Sorry, I was not able to successfully run APXS. Possible reasons: 1. Perl is not installed; 2. Apache was not compiled with DSO support (--enable-module=so); 3. 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs I confirmed that Perl has been installed, apache was compiled with DSO support, and I also modified the Makefile to include --with-apxs=/usr/local/sbin/apxs are you sure you have apache13, not apache2, installed? -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: help with system loging
# [EMAIL PROTECTED] / 2004-01-28 02:59:50 -0800: Currently saslauthd is logging in two places, however, I cannot figure out how to turn off its logging or have it log just to auth.log rather than messages and auth.log. here is what I have for /var/log/messages *.notice;authpriv.none;kern.debug;mail.crit;news.err /var/log/messages I guess it's the auth facility messages you get logged in /var/log/messages. If this is true, add auth.none into the line somewhere after the *.notice -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New to FreeBSD 4.9 questions about configuration
# [EMAIL PROTECTED] / 2004-01-10 15:12:42 -0800: On Friday 09 January 2004 03:42 pm, you wrote: # [EMAIL PROTECTED] / 2004-01-09 12:57:26 -0800: Mounting root from ufs:/dev/ad0s2a ad0s2a: UDMA ICRC error writing fsbn 42387790 of 4160-4163 (ad0s2 bn 42387790; cn 2638 tn 132 sn 4) retrying ad0s2a: UDMA ICRC error writing fsbn 42387790 of 4160-4163 (ad0s2 bn 42387790; cn 2638 tn 132 sn 4) retrying ad0s2a: UDMA ICRC error writing fsbn 42387790 of 4160-4163 (ad0s2 bn 42387790; cn 2638 tn 132 sn 4) retrying ad0s2a: UDMA ICRC error writing fsbn 42379502 of 16-19 (ad0s2 bn 42379502; cn 2638 tn 0 sn 32) retrying ad0s2a: UDMA ICRC error writing fsbn 42379502 of 16-19 (ad0s2 bn 42379502; cn 2638 tn 0 sn 32) retrying ad0s2a: UDMA ICRC error writing fsbn 42379502 of 16-19 (ad0s2 bn 42379502; cn 2638 tn 0 sn 32) retrying ad0s2a: UDMA ICRC error writing fsbn 42379502 of 16-19 (ad0s2 bn 42379502; cn 2638 tn 0 sn 32) falling back to PIO mode in bois the hard drives pio mode is set to auto I have the options of auto,and pio mode 1-5, I have tried to play with this abit but no diference how do I either make the hard drive work with the udma mode or configure the kernal to stay at pio mode in the first place? this error has several possible reasons, one of them being a crappy cable: http://lists.freebsd.org/pipermail/freebsd-questions/2003-November/025669.html after checking the cable to the hard drive it was the 80 wire 40 pin, in good shape I pulled everything but the hard drive and booted, it fixed it, the cdrom that I had setup as the slave on the ide0 bus seems to be conflicting, so I set up the cdrom and zip on the second bus and marked the ide0 slave as not installed in bios. The UDMA ICRC errorer is gone and I now have UDMA 100 everything related to storage works well now :) aha. speed of both devices on the same cable is limited to the speed of the slowest device, IOW a hard disk (normally UDMA) + CDROM (normally PIO) on one disk means both run in PIO. I'm not sure wheter the ATA code could handle this more gracefully... -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New to FreeBSD 4.9 questions about configuration
# [EMAIL PROTECTED] / 2004-01-09 12:57:26 -0800: I changed /etc/ttys ie. #ttyv8/usr/X11R6/bin/xdm -nodaemon xterm off secure ttyv8 /usr/local/bin/kdmxterm on secure it woks as expected but with respect to the /etc/ttys right before X starts I am getting a message refering to abnormal helper termination error code 0 it doesn't seem to be hurting antthing, can I fix it? google. this is a common problem, the warning is benign. Mounting root from ufs:/dev/ad0s2a ad0s2a: UDMA ICRC error writing fsbn 42387790 of 4160-4163 (ad0s2 bn 42387790; cn 2638 tn 132 sn 4) retrying ad0s2a: UDMA ICRC error writing fsbn 42387790 of 4160-4163 (ad0s2 bn 42387790; cn 2638 tn 132 sn 4) retrying ad0s2a: UDMA ICRC error writing fsbn 42387790 of 4160-4163 (ad0s2 bn 42387790; cn 2638 tn 132 sn 4) retrying ad0s2a: UDMA ICRC error writing fsbn 42379502 of 16-19 (ad0s2 bn 42379502; cn 2638 tn 0 sn 32) retrying ad0s2a: UDMA ICRC error writing fsbn 42379502 of 16-19 (ad0s2 bn 42379502; cn 2638 tn 0 sn 32) retrying ad0s2a: UDMA ICRC error writing fsbn 42379502 of 16-19 (ad0s2 bn 42379502; cn 2638 tn 0 sn 32) retrying ad0s2a: UDMA ICRC error writing fsbn 42379502 of 16-19 (ad0s2 bn 42379502; cn 2638 tn 0 sn 32) falling back to PIO mode in bois the hard drives pio mode is set to auto I have the options of auto,and pio mode 1-5, I have tried to play with this abit but no diference how do I either make the hard drive work with the udma mode or configure the kernal to stay at pio mode in the first place? this error has several possible reasons, one of them being a crappy cable: http://lists.freebsd.org/pipermail/freebsd-questions/2003-November/025669.html I stiil need to set up the printer Apollo p-2600 havnt even tried yet. ISTR there's a chapter on printing in the Handbook, did you read it? and last but not least cdburner software when I had linux going.but gave up trying to keep up with it, I had K3B who do I beg to port this?? a colleague of mine (a Mandraker) uses k3b, and from the look of it it's just a gui frontend to cdrecord... try [EMAIL PROTECTED] BTW you might do yourself a favor by sending one question/topic per message. people usually give up on long messages just because they're long (and you get to be able to use a more descriptive subject :) -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: All the possible Kernel options
# [EMAIL PROTECTED] / 2004-01-05 07:53:02 -0500: This week-end I was trying to get my Atapi CDRW to burn something and noticed I needed the CAM support enabled for it. Reading the handbook gave me the necessary option for the kernel : *device atapicam *It worked but I remember posting a question about where to find all the different options for the Kernel. The response was easy and located into the /sys/i386/conf/NOTES file (under 5.x). The thing is I couldn't find any trace of the Device atapicam in either GENERIC or NOTES. Is this normal or is there any other hidden options I should be aware of ? take a look at (IIRC) /sys/conf/NOTES -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: buildworld: ENCODING GB18030 is not supported by libc
# [EMAIL PROTECTED] / 2004-01-03 13:18:58 -0500: Roman Neuhauser [EMAIL PROTECTED] writes: I just got this failure on a FreeBSD freepuppy.bellavista.cz 4.8-STABLE FreeBSD 4.8-STABLE #3: Tue Aug 26 12:34:53 CEST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FREEPUPPY2_5 i386 in a buildworld of freshly updated /usr/src. UPDATING, marc.theaimsgroup.com, and google are quiet about the message. what's up? You don't mention what you cvsup'd *to*, but it may not matter... [EMAIL PROTECTED] /usr/src 1029:1 sudo make update -- Running /usr/local/bin/cvsup -- Parsing supfile /usr/local/etc/cvsup/supfiles/standard-supfile Connecting to cvsup.cz.FreeBSD.org Connected to cvsup.cz.FreeBSD.org Server software version: SNAP_16_1h Negotiating file attribute support Exchanging collection information Establishing multiplexed-mode data connection Running Updating collection src-all/cvs ^CCleaning up ... Interrupted [EMAIL PROTECTED] /usr/src 1030:130 grep tag= /usr/local/etc/cvsup/supfiles/standard-supfile *default release=cvs tag=RELENG_4 Did you run mergemaster -p? Preferably one built from the new sources? not before now. cvsupped again, ran mergemaster -p (nothing special, just some variables in /etc/make.conf), got the same failure. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
buildworld: ENCODING GB18030 is not supported by libc
I just got this failure on a FreeBSD freepuppy.bellavista.cz 4.8-STABLE FreeBSD 4.8-STABLE #3: Tue Aug 26 12:34:53 CEST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FREEPUPPY2_5 i386 in a buildworld of freshly updated /usr/src. UPDATING, marc.theaimsgroup.com, and google are quiet about the message. what's up? mklocale -o zh_CN.GB18030.out /usr/src/share/mklocale/zh_CN.GB18030.src ENCODING GB18030 is not supported by libc *** Error code 1 Stop in /usr/src/share/mklocale. *** Error code 1 Stop in /usr/src/share. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DOS of named
# [EMAIL PROTECTED] / 2003-12-16 22:01:33 +0100: PS: BTW, is there a search engine on freebsd.org for the archives or do I have to stay with google, which becomes less usable each day?) another option is marc.theaimsgroup.com -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: awk question, maybe
# [EMAIL PROTECTED] / 2003-12-15 16:30:33 -0700: i would like to do something like df | awk '{print $1}' to capture all the current file systems. But I would like to strip off the first and last lines, since these are generally -- not needed. the goal is to write a generalized script that can feed dump with all the file systems on a box. I would use mount(8) instead: its output doesn't include any headers, but you'll still want to pass through only local filesystems, so it doesn't really matter: [EMAIL PROTECTED] ~ 1006:0 mount | awk '/\/dev\/(ad|da)/ {print $1}' /dev/ad0s1a /dev/ad0s1e [EMAIL PROTECTED] ~ 1007:0 df | awk '/\/dev\/(ad|da)/ {print $1}' /dev/ad0s1a /dev/ad0s1e -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: newbie ports question
# [EMAIL PROTECTED] / 2003-12-03 17:46:49 -0500: AFAIK the subject's accurate, best I could do anyway. Hmm, I failed to find your question in the message. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Urgent Installation problems (CD)
# [EMAIL PROTECTED] / 2003-12-04 07:03:39 +0800: Thank you for your time. I burned the .iso for i386 (release 5.1) on the CD and configured the BIOS to boot from the CD but it won't boot from it. I have also tried using the floppy to install it but it can't detect the .iso in the CD. Are there other files that must be burned to the CD. Does the CD contain an .iso file, or its contents? It should be the latter. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php4...
# [EMAIL PROTECTED] / 2003-11-30 21:48:49 +0100: On Sunday 30 November 2003 21:13, Gary Kline wrote: On Sun, Nov 30, 2003 at 01:40:07PM +0100, Melvyn Sopacua wrote: On Sunday 30 November 2003 08:54, Gary Kline wrote: Another look at the php4 build clued me in. It was a one-line hack to the Makefile... . You shouldn't hack the Makefile, cause now you have both www/mod_php4 and lang/php4 installed and screwed up dependencies. You should uninstall www/mod_php4 (just force it). Then install lang/php4. The lang/php4 port will check for the existence of an apache installation and install the apache module (which is www/mod_php4) accordingly. Thanks for your help. Last May when I first started working with php another genteman said to forget lang/php4 and just install mod_php4. This worked for awhile. Now that I'm trying to merge php with mysql || postresql, things are more complcated. If somebody tells you to 'forget about something', the next question should be 'why?' :). because installing www/mod_php4 alongside lang/php4-cli allows you to have different features enabled in the two? -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: adaptive stealth in ipfw?
# [EMAIL PROTECTED] / 2003-11-28 12:58:33 -0500: On 11/28/03 06:11 PM, Christian Laursen sat at the `puter and typed: Louis LeBlanc [EMAIL PROTECTED] writes: I was introduced to a fantastic web site, http://www.grc.com/ which has some impressive information about security and a number of other things. Steve Gibsons 'Shields Up' web service will scan your system and tell you where your vulnerabilities lie, and explain the ports in pretty good detail. http://www.grcsucks.com/ Hmm. Interesting site. I'm sure I'll find some interesting stuff there too, but it looks like the person running the site has no greater pupose in life than character assassination. Not that he's altogether wrong. I'd have to read more and decide myself what I really think. I'm no security expert - I'm only going on what I *do* know (or think I know), so I'd just as soon not get into a flame war over who the idiot really is - I haven't much defense for myself in the security arena :). Still, if anyone *does* know the facts, I'd like to know what the case really is with the IDENT port and adaptive stealth. don't get carried away by the nonsense at grc.com. the marketroid-speak term adaptive stealth can be normally described as stateful filtering (and dropping the packets instead of rejecting them), and it means that (in case of TCP), the target machine throws away packets that: * don't have the SYN bit set (and the ACK bit unset) * are not part of an established conversation you can completely stealth a machine if it runs no publically available servers. the problem with ident is similar to FTP: the first connection goes from you out, the other party then tries to connect to you (as far as the stack is concerned, this is a completely unrelated connection). but, the question is: what is your problem? why do you need to have identd(8) running? will anything you need break without it? if not, the correct solution to your problem is IMO to *reject* connection attempts to your port 113. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: adaptive stealth in ipfw?
# [EMAIL PROTECTED] / 2003-11-28 12:18:57 -0600: At 11:11 11/28/2003, Christian Laursen, wrote: Louis LeBlanc [EMAIL PROTECTED] writes: I was introduced to a fantastic web site, http://www.grc.com/ which has some impressive information about security and a number of other things. Steve Gibsons 'Shields Up' web service will scan your system and tell you where your vulnerabilities lie, and explain the ports in pretty good detail. http://www.grcsucks.com/ Hi Christian, I'd be very interested in seeing some fair criticism of what Steve Gibson is doing. However, www.GRCsucks.com seems to have a number of broken links. Where the links work, the verbiage seems to be more confusing than clarifying. Are there other sources that give valid criticism of Steve Gibson and GRC.com? there's one, it's called knowledge. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPFILTER rules with shell symbloic substitution
# [EMAIL PROTECTED] / 2003-11-26 12:13:53 -0600: In the last episode (Nov 26), fbsd_user said: Looking for way to code IPFILTER rules with shell symbolic substitution. I know how to do it in the rules, but how to get ipf pgm to exec in shell? Any body have example of how to setup this? /etc/rc.firewall has lots of examples using ipfw; the concepts should work just as well with ipf. that won't work with ipf, but: you can have the rules passed through /bin/sh (which would do the substitutions), and piped into ipf. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bug in ports howto question
# [EMAIL PROTECTED] / 2003-10-28 01:43:19 +0100: On Mon, Oct 27, 2003 at 04:07:08PM -0800, kosmos wrote: On Mon, Oct 27, 2003 at 11:36:48PM +0100, Simon Barner wrote: What is the procedure to submit a new port when you don't have access to a dedicated and highly-visible Freebsd machine on the internet? You have to configure sendmail (or any other MTA of your choice) to use a proper mail server (e.g your ISP's) as a smarthost/mailrelay. Perhaps at least a reference to the according sendmail documentation should be added to the send-pr man page. Yes, I tried installing a simpler MTA this morning. I think it's asking too much to require sendmail configuration expertise from contributing porters. Sendmail configuration is normally relegated to sysadmins that specialize in it. then use a different MTA, one with proper documentation, configuration helpers, or digestible config file formats. there's plenty of them in ports. qmail bundled documentation contains precise description of steps required to produce a nullclient configuration, as does postfix documentation. The skill sets are mutually exclusive. aha. you can't possess skill in both skiing and driving. the skill sets are mutually exclusive. eh? I wonder how many people just give up trying. Good question. Every single volunteer giving up is a pity. Yep. It happens and nobody is aware of it. The ports collection doesn't really benefit from decreased access for contributors. is it that hard to have send-pr(1) save the PR in file instead of sending it out, and attach it to a mail in your favorite graphical MUA? you *are* able to reach @freebsd.org, after all. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Host Name [was: No route to host]
# [EMAIL PROTECTED] / 2003-11-10 07:47:26 -0500: At 07:06 AM 11/10/2003, Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2003-11-09 19:00:28 -0500: So that third node on the IP addr represents what, the switch? no, it's the subnet. ok, this is not a helpful answer. But your relating that to the subnet mask later makes total sense, thank you I feel enlightened. glad i could help Right now I can only access the fbsd box on my lan via ip addr; I set up a hostname but that doesn't seem to be the same as a symbolic name for the fbsd machine on my lan. the hostname=... asignment below is visible only on the machine itself. suppose I have a machine with 3 network cards, 8 different IP addresses, and a dozen names that point to those addresses (sometimes different based on what part of internet you look at it). what should the machine call itself? that's where you need hostname(1). Here's what /etc/rc.conf looks like: ifconfig_ep0=inet 192.168.0.7 netmask 255.255.255.0 media 10baseT/UTP I was surprised when after making this change to rc.conf and rebooting the ip addr got changed to something other than what is specified in rc.conf. $ ifconfig ep0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 192.168.0.222 netmask 0xff00 broadcast 192.168.0.255 that could be almost anything. hard to tell from here. Finally, how do I enable .history for users other than root, and how do I specify how large the shell history may get? depends on what shell your users use. my commented zsh dotfiles are available on request. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Postfix/procmail/fetchmail/spamassassin setup
# [EMAIL PROTECTED] / 2003-11-23 14:51:30 -0800: Other hints: Check /var/log/maillog (and post some lines from the tail if you still can fix your problem). A'ha! What do I do here to fix this? (I think I should have changed the alias database from alias_maps = dbm:/etc/aliases to alias_maps = hash:/etc/aliases - or should that be nis or netinfo?) Here is the output: -- Nov 23 14:44:12 ancient postfix/master[69957]: warning: process /usr/local/libexec/postfix/smtpd pid 81358 exit status 1 Nov 23 14:44:12 ancient postfix/master[69957]: warning: /usr/local/libexec/postfix/smtpd: bad command startup -- throttling Nov 23 14:45:12 ancient postfix/smtpd[81362]: fatal: unsupported dictionary type: dbm the type you should've used of course depends on the actual type of the map. i'd bet it's hash in your case. Is the postfix daemon listening on port 25? Are you able to telnet there: % telnet localhost 25 Telnet'd with no problems. so you say you were able to perform complete SMTP dialogue with the postfix smtpd that your maillog shows committing suicide over and over? i'd love to see it. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Static IP and fully qualified domain names
# [EMAIL PROTECTED] / 2003-11-21 16:35:59 +0100: Hi! This question is inspired by a recent mail on this list. My ISP was so nice to give me a domain name (pukruppa.net) and assign it statically to an IP (213.146.114.24). [So now everybody in the world can telnet pukruppa.net and crack my private machine :-) ] From reading manuals one should think, that now I could give my machines names like one.pukruppa.net, two.pukruppa.net, etc... and all these would be reachable via internet - but they aren't. The only one that can be accessed is pukruppa.net . How comes this? maybe this will help: How does DNS work? http://cr.yp.to/djbdns/intro-dns.html The Big Picture http://www.lifewithdjbdns.org/#The%20Big%20Picture Case study: a firewalled office network http://cr.yp.to/djbdns/sample-office.html The importance of separating DNS caches from DNS servers http://cr.yp.to/djbdns/separation.html content and proxy DNS servers http://homepages.tesco.net/~J.deBoynePollard/FGA/dns-server-roles.html primary and secondary DNS servers http://homepages.tesco.net/~J.deBoynePollard/FGA/dns-database-replication.html -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DNS/Webhosting question
# [EMAIL PROTECTED] / 2003-11-14 16:43:54 -0600: On Fri, 2003-11-14 at 15:23, Darryl Hoar wrote: What tools exist in Freebsd to determine the primary dsn server for a domain Heh.. . everyone seems to be responding with 'nslookup -type=ns foo.com' or 'host -t ns foo.com', but those queries return *all* name servers and make no distinction which one is the primary. For that you have to query the SOA which contains the primary name server for a domain. - host -t soa foo.com which of my servers is primary and which secondary if I can edit the data on either and have it synchronized to the other? Regards, Frank (being a smart-ass today) ditto -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: No route to host
# [EMAIL PROTECTED] / 2003-11-09 19:00:28 -0500: At 05:29 PM 11/9/2003, Luke Kearney wrote: OK I think I see the problem. Your winblows machines are on a different network to the FBSD machine. Change FBSD to 192.168.0.7 and all should be just fine. Very cool Luke; this worked and my FBSD box now can ping my Windoz boxes and vice versa. There is no route to host for the other machines because as far as FBSD is concerned the other machines should be on a different wire. So that third node on the IP addr represents what, the switch? no, it's the subnet. ok, this is not a helpful answer. in one of your previous post, you wrote: 192.168.0.1 (win-xp) 192.168.0.150 (win-95) 192.168.7.7 (freebsd-4.8/mini) 192.168.0.3 (win-98) 192.168.0.160 (win-95) Destination GatewayFlags Refs Use Netif Expire 127.0.0.1 127.0.0.1 UH 0 0lo0 192.168.7 link#1 UC 1 0ep0 192.168.7.7 00:20:af:4d:24:b7 UHLW 0 1lo0 #ifconfig -a ep0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 192.168.7.7 netmask 0xff00 broadcast 192.168.7.255 ether 00:20:af:4d:24:b7 media: Ethernet 10baseT/UTP lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500 faith0: flags=8002BROADCAST,MULTICAST mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet 127.0.0.1 netmask 0xff00 ppp0: flags=8010POINTOPOINT,MULTICAST mtu 1500 sl0: flags=c010POINTOPOINT,LINK2,MULTICAST mtu 552 the netmask in the ifconfig output is important, because the host uses its ip address and the netmask to figure out where it should be sending packets for a given ip. it does so by masking the ip address with the netmask: the bits that are turned on in the mask cover local (in the network sense) part of the address; inet 192.168.7.7 netmask 0xff00 or the equivalent inet 192.168.7.7 netmask 255.255.255.0 means 192.168.7 is the part common to all hosts on the network, and there are 256 distinct addresses on the network (254 hosts, 0 for the address of the network, 255 for the broadcast address). addresses that are local (on the same wire) can be sent the packets directly, foreign addresses (on a different network) require passing the traffic through a box connected to the foreign logical network. you had no route configured for the 192.168.0/24 network, hence the error. IOW you're saying since all the other boxes on the LAN are 192.168.0.nnn the FBSD box needed to be as well? given the netmask you use, yes. or you could change the mask on all hosts to, say, 255.255.0.0. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ? getopt_long(), iopl() and ioperm() ?
# [EMAIL PROTECTED] / 2003-10-19 01:59:45 +0200: I'm hacking at a piece of code that I want to turn into a port. It's from Linux and uses libpci and some other 'strange' functions. While I think that I've managed to modify the libpci port to install the required lib, I'm more or less lost at getopt_long() which I assume is in the libgnugetopt port. However, for some reason, even if I include it explicitly (#include /usr/local/include/getopt.h), I run into problems. Please note that I'm not a programmer at all, so it's very much hacking along, so I may look for someone patient to bear with me ;-) But I am willing to learn. AFAICT you need to tell the compiler about the library. The rule in your Makefile needs to have -L /usr/local/lib -lgnugetopt. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BIND fix for VeriSign's unregistered domain redirections?
# [EMAIL PROTECTED] / 2003-09-19 09:58:25 -0400: liquid [EMAIL PROTECTED] writes: Right now, I've blocked off verisign's IP. I don't know how effective that is though. Not very to moderately, depending on your goals. hurts *you* mail sent to nonexistent domains under .com and .net will clog your MTA's queue. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is FreeBSD up to this job?
# [EMAIL PROTECTED] / 2003-09-17 12:33:30 -0600: My plan is to build a custom jukebox looking enclosure like everyone is used to seeing in bars, poolhalls, etc. In place of the CD changer I'd like to have a full PC (Thinking XP2800, 1GB RAM, 500Gb SATA RAID) built inside, connected to a CD changer that I can control. This way I can offer more then just CDs, but mp3s and videos as well. I'd like to pick up a nice vid card (Say an ATI Radeon 9xxx Pro series with S-Video out) and setup the S-Video side to stream videos/xmms mp3/cd visualizations to 6 TVs spread throughout the place. In place of the normal song selection screen you normally see, I'd like to place a 17 or 19 LCD that only display 4-8 CD covers song lists at a time. that whole thing is terribly overspec'd! do you know an mp3 player with such a spec? I don't. Well, you mention playing video, so that might change things a bit, still. Anyway, if you want to present the user with CD covers, you'll either need X or something capable of displaying graphics on the console (Linux framebuffer, or svgalib, comes to mind). I'd go for a console solution: less overhead, both computational and administrative. You'll need searchable storage for the CD/song titles and whatnot. *Tell FBSD to listen to a bill validator (http://www.videocan.com/bill_validator.html - currently waiting for info from them about interface) for credit inputs, and display it as an overlay on the screen (Let's say $1 buys 3 songs or 2 videos - display would show that) Looks like you can plug that into an LPT port. *Once it's determined that there's credits in the machine have FBSD listen to a keypad (telephone pad style) for input in the style of , first 2 being album number, second 2 track number. *Queue up and keep track of songs to play. mp3s/CDs will launch a visualization studio to display the music vis to the TVs, or launch videos to play on TVs. *When there's no activity, it will enter a screensaver mode where it changes screens on monitor. All in all, I think that you need is a daemon that will collect data from the bill slot (parallel port?) and a keypad (serial port?), mysqld (the librarized version of the server might be nice), and something to play the music, mp3 / ogg (I'd go for Ogg Vorbis). Something along a 300MHz Celeron/Duron w/ 128 MB RAM would IMO be more than enough. BTW, I was thinking about doing something similar, with one of those micro-ATX boards, an LCD display (one of those found on CD players, you know :), a programmable remote controller, and NetBSD. Would make a nice cd player. :) (I don't have the knowledge to do the electricity stuff, but a friend of mine has done this kind of things...) -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need help to interp kernel log message.
# [EMAIL PROTECTED] / 2003-09-12 05:37:17 +0200: I 've got a message in my logfiles that I don't understand. The ip-addresses are none that I'm to my knowing are associated with. Wonder what it is or if it's anything to worry about. odin.swedehost.com kernel log messages: icmp redirect from 65.104.98.146: 204.152.184.189 = 65.104.98.145 Checking up on the above Ip-addresses don't ring any bells ider. Looks like your machine was sending traffic to 204.152.184.189, and an intermediate host at 65.104.98.146 sent an ICMP redirect message telling it to send them to 65.104.98.145 instead. See RFC 792. As for security concerns: any packet might have the source address spoofed, and obeying ICMP type 5 messages in a hostile environment (like the internet) means you're giving your network traffic out for public consumption. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Where can I find a log file for this ... ?
# [EMAIL PROTECTED] / 2003-09-12 16:16:10 +0200: one FreeBSD machine at work froze, saying something about some kind of panic. I simply rebooted it, because I had no time then to have a close look at it. Is there some kind of log file where I could see this message again? I'm afraid you're out of luck. Instructions for post-mortem panic investigations can be found in the (developer's)? handbook. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What Happend to gd2 Port?
# [EMAIL PROTECTED] / 2003-09-10 16:43:31 -0700: I did find the cvsweb stuff but do not understand what I'm looking at. I see directories like files, scripts, files/ directories mostly contain patches, scripts/ contain, erm, miscellaneous scripts. see the porter's handbook. and attic. that is a cvs concept. a file that's been removed from cvs is put in an Attic dir in the repository (/home/cvs/foo/bar.c becomes /home/cvs/foo/Attic/bar.c). The Last log entry just says Main modification graphics/gd (based on 1.8.4)... which I don't know how to interpret. you are getting confused by a text-only browser badly displaying the page. the Main is actually MAIN, which is a label of the HEAD branch. Is there something I can read to learn about this? cvsbook.red-bean.com, and the official cvs manual (The Cederqvist; sp?) -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need help to interp kernel log message.
# [EMAIL PROTECTED] / 2003-09-15 12:17:01 +0200: On Saturday 13 September 2003 03.24, Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2003-09-12 05:37:17 +0200: I 've got a message in my logfiles that I don't understand. The ip-addresses are none that I'm to my knowing are associated with. Wonder what it is or if it's anything to worry about. odin.swedehost.com kernel log messages: icmp redirect from 65.104.98.146: 204.152.184.189 = 65.104.98.145 Checking up on the above Ip-addresses don't ring any bells ider. Looks like your machine was sending traffic to 204.152.184.189, and an intermediate host at 65.104.98.146 sent an ICMP redirect message telling it to send them to 65.104.98.145 instead. See RFC 792. As for security concerns: any packet might have the source address spoofed, and obeying ICMP type 5 messages in a hostile environment (like the internet) means you're giving your network traffic out for public consumption. Thx for your answer. In my rc.conf file, I do have icmp_drop_redirect=YES icmp_log_redirect=YES but I guess that's not enough. Probably have to block in my firewall. what makes you think so? did the box really change the route? -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Question
please use better subject lines. please keep lines at-or-shorter-than 75 characters (except computer output). # [EMAIL PROTECTED] / 2003-09-03 10:46:03 -0500: Yesterday someone put me in charge of a server (it seems that is a Firewall) with FreeBSD 4.2-Release version, the first thing I have told to do is to change de IP address and the defaultrouter, so I edited the next files: /etc/hosts /etc/rc.conf And I rebooted the server so that the changes take effect. The first thing I did was to check if the changes were made, with the ipconfig -a command, and yes, the changes were made. I only changed the IP address of one of the two interfaces (xI1). I don't know why but I keep receiving the next errors: egw ipmon[55]:17:30:47.435327 xI1 @0:16 b 146.250.4.9 --- 146.250.4.1 PR icmp len 20 21504 icmp 8/0 OUT egw ipmon[55]:17:30:47.435327 xI1 @0:16 b 146.250.4.9 --- 146.250.17.4,53 PR udp len 20 21504 icmp 8/0 OUT because there's IPFilter running on the box, and the rules weren't updated to match the new IP. the ruleset should be located in /etc/ipf.rules. edit the file, and replace all occurences of the old IP address. then restart ipf: # ipf -Fa -FS -f /etc/ipf.rules http://www.obfuscation.org/ipf/ipf-howto.html http://www.phildev.net/ipf/ http://coombs.anu.edu.au/~avalon/ip-filter.html Where egw is the hostname 146.250.4.9 is the IP address of the interface xI1 146.250.4.1 is the defaultrouter 192.168.200.1 is the IP address of the interface xl0 egw /kernel:arp:146.250.4.1 is on xI1 but got reply from ethernet address of interface xI0 on xI0 looks like you have assigned the addres to the wrong interface? -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fragments of kernel log text in security run message
# [EMAIL PROTECTED] / 2003-08-17 23:01:54 -0700: On Mon, Aug 18, 2003 at 12:50:19AM -0500, Dan Nelson wrote: I get this as well on RELENG_4...I wish I knew why. Often it causes syslogd to log it at LOG_EMERG priority (=spams every logged in user with the truncated message). I think this happens after the kernel's message buffer starts rolling over. The very first line in the dmesg output sometimes gets cut in half, so diff prints it as a change block, and the security script prints the add portion. Maybe the check_diff function should remove the first line of the dmesg output before doing the diff? I guess I'm talking about a different problem, actually (syslogd), although I see the truncated security script mail as well. The oldest security run mail I found this artifact in is dated Fri, 6 Sep 2002 03:01:14 + (GMT): ishtar.bellavista.cz kernel log messages: tfix/local[3952]: fatal: open database /etc/aliases.db: No such file or directory Next day's security run shows I updated the box to 4.7-PRERELEASE on Sep 7, but I don't know what version it was running till then. Hope this is of *some* help. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dead natd - dead system
# [EMAIL PROTECTED] / 2003-07-10 13:57:33 -0600: While working with a FreeBSD system this afternoon, I did something which killed natd (the NAT daemon), which was processing packets in the usual way via ipfw and a divert socket. The result? Network communications on the system simply went dead. It seems to me that ipfw should be able to self-heal (that is, bypass the rule) or reinvoke a daemon that's attached to a divert socket. Otherwise, the process that's attached to the socket becomes an Achilles' heel for the whole system. Crash it for any reason, and the system's offline. Ideas? sysutils/daemontools ? -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problem with linking kernel in 5.1 release by adding deviceumodem
# [EMAIL PROTECTED] / 2003-07-08 11:34:38 +0200: On Sun, Jul 06, 2003 at 06:32:57PM +0200, [EMAIL PROTECTED] wrote: the LINT file is in 5.x the NOTES file!! but i only added the device umodem to the GENERIC kernel so all usb devices are included and also the make depend works fine! the error is by doing make!!! Calm down and read umodem(4). device umodem requires device ucom. thanks !!! your exclamation point key is stuck!!! -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problem with linking kernel in 5.1 release by adding deviceumodem
# [EMAIL PROTECTED] / 2003-07-05 17:56:02 +0200: linking kernel umodem.o: In function `umodem_attach': umodem.o(.text+0x4aa): undefined reference to `ucom_attach' umodem.o: In function `umodem_intr': umodem.o(.text+0x75d): undefined reference to `ucom_status_change' umodem.o: In function `umodem_detach': umodem.o(.text+0xcfd): undefined reference to `ucom_detach' umodem.o(.data+0x70): undefined reference to `ucom_devclass' *** Error code 1 if i exclude the device umodem it works fine but i need it don't ignore the instructions and it'll work. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: which FreeBSD?
# [EMAIL PROTECTED] / 2003-07-01 16:36:02 -0500: Software: postfix, courier-imap, bind Consider cyrus-imapd2 or cyrus-imapd22 instead of courier-imap. Very reliable, very fast, and offers you the ability to create a black box mail appliance that does not require the use of local user accounts, if you wish to go that route. You seem to be implying that courier-imap requires user accounts in /etc/passwd, but that's not the case--as evidenced by the (very simple) postfix+courier-imap installation here. Plus, you get to avoid that SASL ting (but not if you need SMTP auth in Postfix, in which case you could go for Cyrus just as well). Courier-IMAP has one disadvantage, though: it's GPL'd (Cyrus-IMAP is BSDL'd). -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: TODO list?
# [EMAIL PROTECTED] / 2003-06-28 10:32:43 -0700: On Sat, Jun 28, 2003 at 11:57:41AM -0500 or thereabouts, Dan Nelson wrote: In the last episode (Jun 28), Joshua Oreman said: Is there like a search for PRs with no Fix:? If you cvsup the gnats repository, you can do your own arbitrary searches. Note that grep -rL Fix . won't work because empty sections still have their header stored in the PR. Ah, thanks! I think grep -rL +++. would find unified diffs. Actually, it would not. You'd want grep -rl +++ or better grep -Erl '^\+\+\+ ' . -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help! I killed my rc.conf and cant boot correctly!
# [EMAIL PROTECTED] / 2003-06-28 16:04:58 +1000: --- Adam [EMAIL PROTECTED] wrote: On Fri, 2003-06-27 at 23:57, Keith Spencer wrote: Want to hear a tale of stupidity and woe. I screwed up fbsd 4.7 system rc.conf and can only seem to boot into a basic session. Cant edit or save to /etc files. What to do and you guessed it...noboot disk was made although I have another 4.7 fbsd machine nearby. Tell me it's not fatal guys! I don't see why you wouldn't be able to boot into single-user mode, edit the rc.conf, then reboot. What exactly is the problem editing the files in /etc from SU mode? When the machine boots it drops straight into (I guess) single user mode. The /usr/sbin /usr/bin cant be cd-ed to and the /etc dir says it is read only file system! So I can't save to it. I have a Schlacter tute fireall setup on it. With whatever security it entails. Any clue? Can I interupt the boot and do something? This is a mission critical machine darn it...Oh dear! mount -u / mount -a -t ufs swapon -a /usr/bin/vi /etc/rc.conf -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Deleting Symlink
# [EMAIL PROTECTED] / 2003-06-29 12:28:39 -0400: On Sun, 2003-06-29 at 12:15, Bryan Cassidy wrote: Hello everyone. I'm using FreeBSD 5.1 and I am trying to delete a symlink from one file to another (/usr/local/www/data to data-dist and /usr/local/www/cgi-bin to cgi-bin-dist) I was told when I use portupgrade it will delete my files If I don't delete the symlinks so could someone help me out here I've never heard of it DELETING files, but I have heard of it changing permissions, and occasionally failing (eg, if there files/folders with spaces in the name). s/delete/rewrite/ I've had this happen with the Postfix port smashing my config, and remember complaints here about Apache doing similar thing to people's websites. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: remote X on 5.1-RELEASE
# [EMAIL PROTECTED] / 2003-06-29 08:07:45 -0500: How do you get remote X to work with 5.1-RELEASE? Here is an attempt with some fields blanked out. $ xhost + access control disabled, clients can connect from any host $ telnet __ Trying ___.___.__.___... [EMAIL PROTECTED] xterm _X11TransSocketINETConnect: Can't connect: errno = 61 _X11TransSocketINETConnect: Can't connect: errno = 61 _X11TransSocketINETConnect: Can't connect: errno = 61 _X11TransSocketINETConnect: Can't connect: errno = 61 _X11TransSocketINETConnect: Can't connect: errno = 61 _X11TransSocketINETConnect: Can't connect: errno = 61 xterm Xt error: Can't open display: __.__.___:0.0 [EMAIL PROTECTED] The errno man page says errno 61 is connection refused. There is no firewall or anything on the laptop running 5.1-RELEASE on a local subnet. It is a fairly generic install except I had to recompile with OLDCARD. is the X server actually listening to remote connections? see startx(1). -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ethernet
# [EMAIL PROTECTED] / 2003-06-28 13:06:25 -0700: I wrote details which are the OS says in my first mail.The release 5.1. I didn't detect anything just i can't use it. explained with ifconfig pciconf and dmesg. Lowell Gilbert [EMAIL PROTECTED] wrote: Yunus E. Kose writes: I set up FreeBSD 5.1 . But i can't use ethernet card which is SURECOM lan EP-320X-R. How is it detected (if at all) in a production release, like 4.8? I think Lowell understood your mail just fine. He wanted to know what you see in 4.x for comparison to your description of 5.1 behavior. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mailing List Problem
# [EMAIL PROTECTED] / 2003-06-26 08:52:48 -0700: Hello, I am using Sylpheed 0.9.2 as my mail client and when I try to send a e-mail to ANY of the FREEBSD mailing lists using Sylpheed it will never send. I can send e-mails to other mailing lists (non-freebsd ones) just fine but not any of the FBSD ones and the FreeBSD mailing lists is the main ones I care about. Hope someone could help me out here. Is this still your old problem, or is the problem limited to Sylpheed? -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: software packages
# [EMAIL PROTECTED] / 2003-06-26 22:12:50 +0100: On Thu, Jun 26, 2003 at 04:34:33PM -0400, david wrote: Hi, I'm using freebsd 5.0 Jan 2003 series Since all files are downloaded to the /usr/ports/distfiles, I would like to know which software packages belong to what program. For example, I install mplayer and it downloaded mplayer and other files for it. Is it possible to know which of these files are for mplayer. You can see what source code tarballs and other distfiles would be downloaded for each port by changing to the port directory and running 'make -V DISTFILES': /usr/ports:% cd multimedia/mplayer ...ports/multimedia/mplayer:% make -V DISTFILES MPlayer-0.90.tar.bz2 The value of this variable may be influenced by options you compiled the port with, though. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: more transparent proxy and squid questions.
# [EMAIL PROTECTED] / 2003-06-17 14:37:09 +1000: further, if i do try and configure with the --enable-ipfw-transparent option, configure complains with the following: checking if setresuid is implemented... yes checking if IP-Filter header files are installed... no WARNING: Cannot find necessary IP-Filter header files Transparent Proxy support WILL NOT be enabled I appreciate it's talking about ipfilter however I use ipfw which is compiled into the kernel. ISTR seeing separate ./configure switches for ipf and ipfw when I was installing aquid last year. The error you quoted would indicate that you specified --enable-ipf-transparent instead of the ipfw one. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: install PHP4
# [EMAIL PROTECTED] / 2003-06-16 11:45:48 -0500: Hi guys I want to install PHP4 from the ports tree, but when I try to do it I get a menu that doesn't have te option I need , I want to add tds support to my php installation,. How can I add that option to this menu? or how can I install it ? I take it you mean FreeTDS. Choose one of the Sybase options. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
getting config from a kernel [was: Re: What programs areinstalled..?]
don't hijack others' threads; you can start your own for free. # [EMAIL PROTECTED] / 2003-06-16 12:32:51 -0500: Thanks for this--very helpful. Does anyone know how to tell what the options/programs compiled into the kernel are? provided you have options INCLUDE_CONFIG_FILE in your kernel, you can use this: strings -n3 /kernel | sed -ne '/^___/s///p' -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
unexpected soft update inconsistency
Hi there, I am seeking an explanation of the following fsck(8) behavior. This box is originally (IIRC) a 4.5-RELEASE install, gradually cvsupped to a relatively recent 4.8-STABLE: [EMAIL PROTECTED] ~ 1007:0 uname -a FreeBSD freepuppy.bellavista.cz 4.8-STABLE FreeBSD 4.8-STABLE #2: Thu Jun 5 12:57:47 CEST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FREEPUPPY2_5 i386 The system was dump/restored to a new disk last summer. Some time ago I switched from mbox files to maildirs as my mail store because maildrop(1) was EX_TEMPFAILing on the larger mboxes. Maildirs have fixed this problem, but entering e. g. my postfix-users@ maildir (162MB, ~34500 messages) takes way too much time: [EMAIL PROTECTED] ~ 1002:0 time mutt -nF .mail/mutt/muttrc -e 'exec quit' -f ~/Mail/lists/postfix 34458 kept, 0 deleted. mutt -nF .mail/mutt/muttrc -e 'exec quit' -f ~/Mail/lists/postfix 4.94s user 3.89s system 10% cpu 1:21.75 total [EMAIL PROTECTED] ~ 1003:0 find ~/Mail/lists/postfix -type f|wc -l 34458 [EMAIL PROTECTED] ~ 1004:0 du -hs ~/Mail/lists/postfix 162M/home/roman/Mail/lists/postfix (mutt-1.5.1i with patch-1.5.1.cd.edit_threads.9.2) Yesterday I thought: hmm, maybe there's something wrong with the filesystem, went to singleuser with `shutdown now`, ran fsck(8), and got some unexpected soft update inconsistency messages in my ~/Mail. The filesystem is always ok during the normal boot-time fsck run, so I'm wondering whether this is normal, or if the fs is screwed. Attached is the output of fsck(8) run in multiuser (postfix was running). [EMAIL PROTECTED] ~ 1005:0 df -h FilesystemSize Used Avail Capacity Mounted on /dev/ad0s1a 504M49M 415M10%/ /dev/ad0s1e72G36G30G55%/usr procfs4.0K 4.0K 0B 100%/proc [EMAIL PROTECTED] ~ 1006:0 ls -l /var lrwxr-xr-x 1 root wheel 8 Sep 16 2002 /var - /usr/var -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: unexpected soft update inconsistency
# [EMAIL PROTECTED] / 2003-06-14 12:58:34 +0200: Attached is the output of fsck(8) run in multiuser (postfix was running). Aaargh, I keep doing this. This time, it's really attached. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html 2141 files, 24867 used, 233164 free UNALLOCATED FILE=/var/spool/postfix/incoming/0/2/0236D2FDAB2 UNEXPECTED SOFT UPDATE INCONSISTENCY SUMMARY INFORMATION BADBLK(S) MISSING IN BIT MAPSFREE BLK COUNT(S) WRONG IN SUPERBLKALLOCATED FRAG 12580728 MARKED FREE ALLOCATED FRAG 12580729 MARKED FREE ALLOCATED FRAG 12580730 MARKED FREE ALLOCATED FRAG 12580731 MARKED FREE ALLOCATED FRAG 12580732 MARKED FREE ALLOCATED FRAG 12580733 MARKED FREE ALLOCATED FRAG 12580734 MARKED FREE ALLOCATED FRAG 12580735 MARKED FREE ALLOCATED FRAG 12580736 MARKED FREE ALLOCATED FRAG 12580737 MARKED FREE ALLOCATED FRAG 12580738 MARKED FREE ALLOCATED FRAG 12580739 MARKED FREE ALLOCATED FRAG 12580740 MARKED FREE ALLOCATED FRAG 12580741 MARKED FREE ALLOCATED FRAG 12580742 MARKED FREE ALLOCATED FRAG 12580743 MARKED FREE ALLOCATED FRAG 12616672 MARKED FREE ALLOCATED FRAG 12616673 MARKED FREE ALLOCATED FRAG 12616674 MARKED FREE ALLOCATED FRAG 12616675 MARKED FREE 783682 files, 18972610 used, 18718867 free ** /dev/ad0s1a (NO WRITE) ** Last Mounted on / ** Root file system ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups (1020 frags, 29018 blocks, 0.4% fragmentation) ** /dev/ad0s1e (NO WRITE) ** Last Mounted on /usr ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames I=3136178 OWNER=postfix MODE=100700 SIZE=3654 MTIME=Jun 13 19:27 2003 REMOVE? no ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups SALVAGE? no SALVAGE? no SALVAGE? no (314411 frags, 2300557 blocks, 0.8% fragmentation) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is it neccessary for sending mail from php ?
# [EMAIL PROTECTED] / 2003-06-10 07:32:06 -0700: On Tue, Jun 10, 2003 at 10:51:01AM +0100 or thereabouts, Supote Leelasupphakorn seemed to write: Hello, I've install apache+php and would like to use function:mail() in php to sendmail from my box(Freebsd). My question is, is it neccessary to run sendmail or other SMTP-like service on this box for able to send (outgoing) mail. Probably not. If you can send outgoing mail from that box, you can mail() too. If you can send outgoing mail from that box, you have Sendmail or other MTA running. IOW, yes, it's necessary. The mail function uses the sendmail(8) command line interface as a backend. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: XFree86 upgrade from 4.2.1 to 4.3.0, any keyboard press resultsin mode change
# [EMAIL PROTECTED] / 2003-05-30 18:31:44 -0600: On Fri, 30 May 2003, Edward Wei wrote: It's been a long time. I hope you've fixed the problem by now. But if you haven't, and for the sake of others, I solved this problem by: In XFree-4_libraries port: make deinstall Then make install That solved the identical problem for me: XF86 upgrade, any keypress results in resolution change. Thanks! yeah, I had a similar problem: portupgraded XFree86-4 over the night, and when I came back and restarted X, keyboard didn't work at all (IOW, no mode switching either). reinstalling the XFree86-4-libraries port did the trick. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
max open files reached
I have a script run by periodic(8) in the daily batch that is supposed to backup all databases from the local MySQL server using mysqlhostcopy(1). It used to run fine for a few months, but has been failing consistently with ENFILE (23) lately. The box is an Intel Celeron 533 (or some such) with 128 MB RAM. These are all the related sysctl knobs I could find. This is as of 20:40, so the value of kern.openfiles is reasonable. [EMAIL PROTECTED] ~ 1001:0 sysctl -a kern|grep files kern.maxfiles: 2024 kern.maxfilesperproc: 1821 kern.openfiles: 512 I've cranked the kern.maxfiles value to 4096, and the backup has run to completion again, but am I risking anything? I mean, the fd's cost memory, is there any potential for problems? -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: max open files reached
# [EMAIL PROTECTED] / 2003-06-04 09:30:36 -0500: At 03:29 PM 6.4.2003 +0200, Roman Neuhauser wrote: I have a script run by periodic(8) in the daily batch that is supposed to backup all databases from the local MySQL server using mysqlhostcopy(1). It used to run fine for a few months, but has been failing consistently with ENFILE (23) lately. The box is an Intel Celeron 533 (or some such) with 128 MB RAM. These are all the related sysctl knobs I could find. This is as of 20:40, so the value of kern.openfiles is reasonable. [EMAIL PROTECTED] ~ 1001:0 sysctl -a kern|grep files kern.maxfiles: 2024 kern.maxfilesperproc: 1821 kern.openfiles: 512 I've cranked the kern.maxfiles value to 4096, and the backup has run to completion again, but am I risking anything? I mean, the fd's cost memory, is there any potential for problems? I don't see any problems with raising to 4096 as 2024 looks awful low. Most of mine run 12000+ and the lowest at about 8000. I do have more CPU and RAM in the equation. What do you have the maxusers set to in your kernel? I have found this will usually take care of making the correct calculations for the max files. A setting of 0 is good for later versions of FBSD. Don't remember what version changed this you didn't mention your version. it was @(#)FreeBSD 4.7-STABLE #0: Thu Dec 26 19:32:12 CET 2002 till ten minutes ago, and is 4.8-STABLE now. both kernels have maxusers set to 0: [EMAIL PROTECTED] ~ 1014:0 strings /kernel|grep -E ^___maxusers ___maxusers 0 [EMAIL PROTECTED] ~ 1015:0 strings /kernel.old|grep -E ^___maxusers ___maxusers 0 That looks like the old value was indeed decided by the kernel itself (it's 4072 on my PC w/ 256MB and 10216 on a box that has 640MB). Otherwise, you'll need to set the max files in your /boot/loader.conf so they stay up at the 4096, or whatever workable level is good for you. I've put it in sysctl.conf, works fine. Thanks for the reply. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Laptop, monitor battery without X.
# / 2003-05-26 10:57:50 +0300: From: Cristian Salan @organizer.ro ^^^ fix your From: address! -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Spamassassin tools
# [EMAIL PROTECTED] / 2003-02-24 08:37:04 +0100: I installed the spamassassin port, but I believe somewhere there should be a tools directory for various utility programs. I can find no trace of it ? Anyone a clue ? Have you had a look in the ports plist? grep -v ^@ /var/db/pkg/portname/+CONTENTS -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Testtool for Sendmail
# [EMAIL PROTECTED] / 2003-02-25 09:40:34 +0100: I'm looking for a FreeBSD tool that will automatically test my smtp server for relaying. I'm looking for something like the webpage described here: http://www.freebsddiary.org/sendmail.php (Testing the relay). You can try relays.osirusoft.com if you trust your setup enough. If the mail gets relayed you have the best incentive to fix your MTA ASAP. :) -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Dummie question: The versioning system
# [EMAIL PROTECTED] / 2003-02-25 09:43:03 +0100: I am wondering what type of versioning is used for various documents in many *nix OS's. For instance, # $FreeBSD: src/etc/master.passwd,v 1.25.2.5.2.1 2002/07/16 12:33:21 des Exp $ Is this something that could be used for an office enviroment or just for developing software? the above line is a CVS tag. CVS is fine for plain text documents, and mostly source code, because it's line based. if you want something for management, you might be better with a SVN server accessed over WebDAV (I don't exactly keep up with Subversion's development, so this might not be available just yet). -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: SoftUpdates on /
# [EMAIL PROTECTED] / 2003-02-21 14:52:45 -0500: the reason that they disabled by default on / is almost certainly because the / is usually *small*, not large. thus spoke Terry Lambert in Message-ID: [EMAIL PROTECTED]: : I believe the reason it's not on in sysinstall is that sysinstall : tries to mount things async on the initial install, so that doing : things like unpacking ports doesn't take forever. If it fails, you : can just restart, and having to do that a couple of times is still : faster than waiting for ordered metadata. : The technical reason that it doesn't do it is that the mount update : is not logically an unmount without destroying vnodes(inodes) in : core, with a remount with the new options. The main reason for : that is that the dependencies go all the way to the buffer cache, : and the backing vnode (e.g. the raw device) that's mounted does : not necessarily get its buffers flushed. Basically, you'd have to : put a little more work into the mount update code. : This was discussed a long time ago on -arch, when soft updates : first came into FreeBSD, and then again every 18 months or so, : ever after. See Kirk's postings on the subject, if you don't : want to take mine for it. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: OT: MUTT folders
On Wed, Feb 19, 2003 at 03:36:35PM -0600, Brian Henning wrote: i have been reading throught the file /usr/local/share/doc/mutt/manual.txt and i cannot figure out how to change which folder i am reading. i have some mail folders in ~/Mail that i cannot figure out how to access from mutt... Try putting this into your .muttrc, and start mutt with -yn. macro index \t change-folder?check-new macro pager \t change-folder?check-new -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: lightweight wm
# [EMAIL PROTECTED] / 2003-02-21 09:09:30 -0500: Blackbox is great, very clean. Also, the code is very clean and makes an excellent X/WM tutorial. Interesting. The Openbox developers have the opposite opinion. IANAC++C (I am not a C++ coder), co I can't comment on this. I switched from BB to OB, but that was for other reasons. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Problems with in the ipf setup in an FreeBSD 4.7 router
# [EMAIL PROTECTED] / 2003-02-21 20:08:17 +0200: I have compiled and installed a new kernel with ipf support and then I put the following lines inside my rc.conf file: ipfilter_enable=YES ipfilter_program=/sbin/ipf -Fa -f ipfilter_rules=/etc/ipf.rules ipfilter_flags= remove the three lines above, leaving only ipfilter_enable=YES in rc.conf. The problem is that, when I boot, ipf does not work. It seems like is not using the rules. If I enter ipf -Fa -f /etc/ipf.rules from the command line, then it starts working as expected. if you look at /etc/rc.network you'll see why: ${ipfilter_program:-/sbin/ipf} -Fa -f \ ${ipfilter_rules} ${ipfilter_flags} your settings make it: /sbin/ipf -Fa -f -Fa -f /etc/ipf.rules -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: SAPDB port for FreeBSD
# [EMAIL PROTECTED] / 2003-02-15 14:23:02 -0500: On Fri, 14 Feb 2003, taxman wrote: On Friday 14 February 2003 03:30 am, Matthew Emmerton wrote: I was surprised; there are no SAPDB (www.sapdb.org) in http://www.freebsd.org/ports/databases.html list! Has someone tried to install SAPDB on FreeBSD? Is it possible to create new port? I tried about a year or so ago, but gave up. The SAPDB build tools are extremely Linux-centric (they expect a LSB-compliant filesystem layout, and it's next to impossible to trick it, as paths are hardcoded everywhere). Furthermore, the actual SAPDB product is again, Linux-centric and has all the warts that one would expect. Actually, I just took another look at this and things seems to be a bit less hairy than they were when I first looked at it. (For example, it uses autoconf now.) good news! however, they don't seem to be terribly interested: http://listserv.sap.com/pipermail/sapdb.general/2003-February/017609.html -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
processes take too much CPU
I have a problem with on of my FreeBSD boxes. All of a sudden, it started acting very badly: any process takes ages to start completely, eating all CPU in the process: PID USERNAME PRI NICE SIZERES STATETIME WCPUCPU COMMAND 852 root 57 0 1528K 996K RUN 0:19 91.95% 59.81% top root@ishtar ~ 1017:0 # time ps auxww ... ps auxww 0.00s user 0.01s system 0% cpu 2.197 total root@ishtar ~ 1018:0 # compare a slower box: root@lilith ~ 1005:0 # time ps auxww ps auxww 0.00s user 0.02s system 64% cpu 0.036 total root@lilith ~ 1006:0 # This strangeness lasted for about 20 minutes, persisted across a reboot (I pulled out the wrong cable...), and then just disappeared; the box works as it should. I know this is hard to asnwer, but what could have caused the effect, and what should I be looking for if it happens again? There's nothing especially interesting in /var/log/messages. BTW, top showed swap wasn't used at all. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Worrying ATA problems.
# [EMAIL PROTECTED] / 2003-02-16 18:42:26 +: Uhh, crap. I'm building PostgreSQL in the Linux VMware guest OS, and the drive started making a bunch of sounds that can only be described as being similar to taking a floppy out of the drive wh- ile it's being written to. Of course, these sounds were coupled with a system freeze and a bunch of ata error messages when every- thing had passed. Has anyone ever experienced *anything* like this? Yes, I have. The disk is toast. Get the data off to it while you can. Hurry, time is running fast. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: need some sendmail help
# [EMAIL PROTECTED] / 2003-02-15 00:41:42 +0200: On 2003-02-14 18:08, Roman Neuhauser [EMAIL PROTECTED] wrote: # [EMAIL PROTECTED] / 2003-02-14 03:51:22 +0200: You have only enabled mail submission through a network connection to port 25, but not submission of mail from local users. I suggest that you read at least /etc/mail/README and the rc.sendmail(8) manpage. Hi Giorgos, it was always my understanding that sendmail_enable=YES will turn Sendmail on wholesale: commandline submits, inbound, outbound. Not really. sendmail_enable=YES turns on only the non-localhost daemon. Note that I was wrong in my previous post, but for a different reason. Since /etc/defaults/rc.conf sets sendmail_xxx_enable=YES, the dequeueing of local mail will be automatically enabled. well, that's what I was trying to say: given the values in /etc/defaults/rc.conf, having only sendmail_enable=YES in /etc/rc.conf will enable Sendmail wholesale. on -STABLE, that is. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Resolving or blocking eg. doubleclick.net?
# [EMAIL PROTECTED] / 2003-02-12 14:43:37 +0100: On Wednesday 12 February 2003 13:15, Daniel Bye wrote: At a shell prompt, try $ time host doubleclick.net $ time host dk.doubleclick.net dk.doubleclick.net mail is handled (pri=10) by relay2.doubleclick.net dk.doubleclick.net mail is handled (pri=10) by relay1.doubleclick.net real0m0.269s user0m0.000s sys 0m0.005s $ time host dk.doubleclick.net dk.doubleclick.net mail is handled (pri=10) by relay1.doubleclick.net dk.doubleclick.net mail is handled (pri=10) by relay2.doubleclick.net real0m0.009s user0m0.004s sys 0m0.001s So, it's safe to assume my cache is working? ... and perhaps, resolving doubleclick.net et al isn't the issue? But looks like the cache expires after a couple of minutes? That's something you can easily check by trying to resolve the name a couple of minutes later. :) But that would be a lame test, and you wouldn't really know any hard data. This is authoritative: roman@freepuppy ~ 1011:1 dnsq a doubleclick.net ns2.dcny.doubleclick.net|grep ^answer answer: doubleclick.net 300 A 199.95.206.210 roman@freepuppy ~ 1012:0 so yes. the A RR for doubleclick.net has TTL of 300 seconds. somewhat stupid if you ask me. I would suggest you to configure your DNS cache so that it forwards queries to your ISP's caches. That'll buy you some time. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: need some sendmail help
# [EMAIL PROTECTED] / 2003-02-14 03:51:22 +0200: On 2003-02-13 20:38, Andrew Y Ng [EMAIL PROTECTED] wrote: On 0, Giorgos Keramidas [EMAIL PROTECTED] wrote: On 2003-02-13 15:21, Andrew Y Ng [EMAIL PROTECTED] wrote: this might seem stupid, but for some reasons on one of my servers running freebsd -stable, mail just doesn't work, I keep seeing: Feb 13 14:16:52 ngbert sendmail[50411]: h1DKGqL1050411: to=ayn, ctladdr=ayn (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30023, relay=localhost.my.domain., dsn=4.0.0, stat=Deferred: Connection refused by localhost.my.domain. - What sendmail_xxx_enable options have you turned on in /etc/rc.conf? ayn@NGBERT:/etcgrep sendmail rc.conf sendmail_enable=YES This is where the problem lies. You have only enabled mail submission through a network connection to port 25, but not submission of mail from local users. I suggest that you read at least /etc/mail/README and the rc.sendmail(8) manpage. Hi Giorgos, it was always my understanding that sendmail_enable=YES will turn Sendmail on wholesale: commandline submits, inbound, outbound. rc.sendmail(8) certainly doesn't counter that interpretation, and reading /etc/defaults/rc.conf and /etc/rc.sendmail confirms it... Or I'm reading it wrong, which is more than possible. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Cat.
# [EMAIL PROTECTED] / 2003-02-14 18:40:50 +0100: Hi. If I will have a command running lets say every 5th hour, how do I typ?? the command is: cat resolv.conf /etc/resolv.conf see crontab(1) and crontab(5) -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: cannot boot from a SCSI disk
# [EMAIL PROTECTED] / 2003-02-12 16:04:31 +0100: The system was installed on an IDE disk, and then dump|restored to the SCSI one. I used /stand/sysinstall's fdisk to mark the slice bootable, and install the standard MBR, but all I got was Missing operating system. If I install booteasy, it shows the menu, but doesn't boot from the SCSI disk. the last sentence should have read: If I install booteasy in the SCSI disk's MBR (...) -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: cannot boot from a SCSI disk
# [EMAIL PROTECTED] / 2003-02-12 18:18:35 +0100: On Wed, Feb 12, 2003 at 04:04:31PM +0100, Roman Neuhauser wrote: I have a problem with getting one system boot from a SCSI disk. The system was installed on an IDE disk, and then dump|restored to the SCSI one. I used /stand/sysinstall's fdisk to mark the slice bootable, and install the standard MBR, but all I got was Missing operating system. If I install booteasy, it shows the menu, but doesn't boot from the SCSI disk. I've since then tried many different things, but since this area is a bit Greek to me, I'm not sure what's wrong. The disk (or the data on it) is fine: I have the box booted off of an IDE disk, with all filesystems, including /, mounted from the SCSI one. It just doesn't want to boot. It doesn't even get to the FreeBSD/i386 BOOT Default: 0:ad(0,a)/kernel boot: prompt. I've realized I don't have a fscking idea about how booting works, especially in FreeBSD. Pretty embarrasing. :( Mmm..a shot in the dark, have you enabled booting from SCSI device in your BIOS ? Yes. It does load booteasy from the SCSI disk, but refuses to go on booting from it any further. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: cannot boot from SCSI disk
# [EMAIL PROTECTED] / 2003-02-12 14:52:49 -0500: Howdy! Some hardware will not boot FreeBSD from SCSI disks unless the disk is formated and labled in dedicated mode. interesting. all I see is backpedalling from dangerously dedicated disks in /stand/sysinstall and elsewhere, and the article you linked below says Remember, dedicated mode disks sometimes cannot be booted by the PC architecture. http://www.freebsd.org/doc/en_US.ISO8859-1/articles/formating-media/x65.html In general SCSI disk that only contain FreeBSD should be formated/labled in dedicated mode IMHO. what source do you have this information from? -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
cannot boot from a SCSI disk
Hi there, I have a problem with getting one system boot from a SCSI disk. The system was installed on an IDE disk, and then dump|restored to the SCSI one. I used /stand/sysinstall's fdisk to mark the slice bootable, and install the standard MBR, but all I got was Missing operating system. If I install booteasy, it shows the menu, but doesn't boot from the SCSI disk. I've since then tried many different things, but since this area is a bit Greek to me, I'm not sure what's wrong. The disk (or the data on it) is fine: I have the box booted off of an IDE disk, with all filesystems, including /, mounted from the SCSI one. It just doesn't want to boot. It doesn't even get to the FreeBSD/i386 BOOT Default: 0:ad(0,a)/kernel boot: prompt. I've realized I don't have a fscking idea about how booting works, especially in FreeBSD. Pretty embarrasing. :( -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Mail will not deliver after configuration of NIC
# [EMAIL PROTECTED] / 2003-02-12 02:15:20 -0600: My problem: It appears that once I configure my network device mail won't deliver. What am I doing wrong? I'm not sure. Have you examined /var/log/maillog? -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: diff question
# [EMAIL PROTECTED] / 2003-02-12 09:43:36 +0800: How to generate diff between two files? The file names have white space char. grep 'this file' 'other file' -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Can't remember how to read binary log files
# [EMAIL PROTECTED] / 2003-02-06 08:48:20 +: PS. Not to be confused with the mailstat command: % mailstat Most people don't type their own logfiles; but, what do I care? mailstat? what's that? I don't have it on any of my machines. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: kernel loadable modules ?
# [EMAIL PROTECTED] / 2003-02-06 18:51:09 +: Where can I find documentation for the kernel loadable modules in /modules ? mostly in manual section 4 -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: need some advice on MTA
# [EMAIL PROTECTED] / 2003-02-04 14:20:55 -0600: I am looking for an alternative MTA to replace sendmail on my freebsd 4.7-rel box. My question is i have searched google quite extensively and found : Qmail Courier Postfix I would like some opinions as to which of the 3 above is better in regards to security, authentication features, reliability, performance etc... and i guess which would be recommended for providing ./Maildir/ accounts to about 200-300 people VIA Courier IMAP. I run four Postfixes (one of them with Courier-IMAP), and one Qmail with vpopmail. Postfix is IMO easier to install and administer, but doesn't have a point'n'click interface. It also looks like Postfix is a much faster moving target than Qmail, e. g. the virtual address/mailbox support has been evolving quite a lot, and the configuration changed in Postfix-2. I wouldn't recommend Courier; I don't know the SMTP part of the pack, but the IMAP server is pretty admin-hostile in that it doesn't log almost anything at all, so when you run into trouble, you're left to guessing, and hacking the source. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: need some advice on MTA
# [EMAIL PROTECTED] / 2003-02-05 13:37:05 +0100: On Wed, Feb 05, 2003 at 01:02:29PM +0100, Roman Neuhauser wrote: I run four Postfixes (one of them with Courier-IMAP), and one Qmail with vpopmail. Postfix is IMO easier to install and administer, but doesn't have a point'n'click interface. It also looks like Postfix is a much faster moving target than Qmail, e. g. the virtual address/mailbox support has been evolving quite a lot, and the configuration changed in Postfix-2. I wouldn't recommend Courier; I don't know the SMTP part of the pack, but the IMAP server is pretty admin-hostile in that it doesn't log almost anything at all, so when you run into trouble, you're left to guessing, and hacking the source. Courier-IMAP is not admin-hostile. You can enable debugging, and it will log a lot of information. I had a PEBKAC case with Courier-IMAP, and had to add a few writes to get anything useful in /var/log/messages. If the code isn't there, turning a debugging switch on won't buy you much. :) Note that this was one particular problem, and one particular piece of code. It might be different in 95% of Courier FWIW, but that was not my experience. The SMTP server and client part of courier is also nice, robust and friendly to other sites, and has many useful features (RBL checking, rejecting spam, flexible aliasing, SMTP authentication, SSL support) all out of the box. I didn't say Courier didn't have all that. BTW, I use RBL checks, virtual domains, static routes (non-MX-based relaying), and whatnot with Postfix. All out of the box. :) And if you install the entire courier suite, you also get a POP server, webmail server and mailing list manager, and a webadmin CGI to configure it all easily. Postfix has neither of that, as I said in my previous post (doesn't have a point'n'click interface). It's only an MTA. I'm happy with what it is, and how it does its job. That's all. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: questions about space and RAID
# [EMAIL PROTECTED] / 2003-01-24 19:32:55 -0500: At work, I just bought a new P4 Dell Server with an 80G mirrored IDE RAID. Supposed, it is configured (I haven't had a chance to play with it yet) to have the drives hardware mirrored. Will I need to setup FreeBSD to recognize this, aside from just loading the RAID card in the kernel? no. the other thing is with the 80GIG size. what kind of filesystem settings should I use? (like block size etc) see newfs(8), and search the archive. i think the defaults will be fine, but that also depends on the data you'll be storing (average file size) -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Openoffice port build failure
# [EMAIL PROTECTED] / 2003-02-04 06:15:51 -0500: I'm truing to build the Openoffive port on a 4.7 STABLE system (cvsuped main and ports about a week aho), and it's failing like this: checking for STLport4 headers... using internal stlport. configure: error: /usr/local/linux-jdk1.3.1/bin/javac not found set with_jdk_home do you have java installed [properly]? === Script configure failed unexpectedly. Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the /usr/ports/editors/openoffice/work/oo_1.0.2_src/config_office/config.log including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/editors/openoffice. have you done what this tells you to do? What can I do to corect this? make sure you have java installed as you should, and provide the maintainer with the info he has requested. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Determining Ram
# [EMAIL PROTECTED] / 2003-02-03 23:44:06 -0500: On Sun, 2 Feb 2003 20:02:30 -0600, Mike Meyer wrote: In [EMAIL PROTECTED], David Larkin [EMAIL PROTECTED] typed: Dragoncrest wrote: I've got a rather odd question, but I'm looking for the easiest way to determin how much ram I have on a given system without rebooting it. I'm sure that there is some kind of console command that tells me that info, but I have no idea where to begin looking to find out. Does anybody know? Thanks. use the command dmesg It may no longer be available there. The dmesg at boot time is preserved in /var/run/dmesg.boot. The information should be there, even if it's gone from dmesg. thats is kinda of odd, is that with 5.0-release? any clues on why? RELENG_4 does this, too. the system message buffer is not of infinite length. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: arplookup 0.0.0.0
# [EMAIL PROTECTED] / 2003-02-01 18:55:23 -0800: On Sat, Feb 01, 2003 at 05:20:53PM -0500, Stephen D. Kingrea wrote: tcpdump tells me that incoming smtp requests are generating these messages at the same time as recieving mail. i am pretty sure that either sendmail or ipfw rules is the cause... any good tutorials out there on interpreting tcpdump output? stephen If you have X installed, you could use ethereal (/usr/ports/net/ethereal)it is a very nice graphical interface for analyzing network traffice. I think it uses tcpdump itself?? you can use ethereal without X. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Changing the Maximum Segment Size (MSS) of Kame MIP6 Free BSD4.4
# [EMAIL PROTECTED] / 2003-01-29 10:36:57 +: I wish to change the Maximum segment size of the TCP. Can you please help me , where i should change the MSS of the TCP. Can you tell me where the default size of the MSS mentioned? tcp(4), sysctl -a | grep mss -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: make fetch, recursive-fetch, package ... etc HOWTO?
# [EMAIL PROTECTED] / 2003-01-29 15:04:25 +0100: I've noticed that there are a lot of options with make for example in the /usr/ports/ collections, is there a man, howto or tutorial somewhere about this options? How do you find out about this options, the are not mentionned in the man make pages. So where can I find all the available options? /usr/ports/Mk/*.mk There are also special make options for sendmail configuration files in /etc/mail?! /etc/mail/Makefile -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: make fetch, recursive-fetch, package ... etc HOWTO?
# [EMAIL PROTECTED] / 2003-01-29 20:18:55 +0200: I've noticed that there are a lot of options with make for example in the /usr/ports/ collections, is there a man, howto or tutorial somewhere about this options? Amazingly enough, nobody on this thread has mentioned... ..tadamm... man ports because it's not all that useful? roman@freepuppy ~ 1075:0 cd /usr/ports/mail/mutt-devel roman@freepuppy ports/mail/mutt-devel 1076:0 grep DEPENDS Makefile BUILD_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell RUN_DEPENDS=ispell:${PORTSDIR}/textproc/ispell \ LIB_DEPENDS=intl.4:${PORTSDIR}/devel/gettext LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses LIB_DEPENDS+= slang.1:${PORTSDIR}/devel/libslang LIB_DEPENDS+= sasl.8:${PORTSDIR}/security/cyrus-sasl BUILD_DEPENDS+= sgmlfmt:${PORTSDIR}/textproc/sgmlformat roman@freepuppy ports/mail/mutt-devel 1077:0 make pretty-print-build-depends-list This port requires package(s) to build. roman@freepuppy ports/mail/mutt-devel 1078:0 man 7 ports|col -b|grep fetch-recursive roman@freepuppy ports/mail/mutt-devel 1079:1 -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: mozilla build port hangs at /usr/bin/sed
# [EMAIL PROTECTED] / 2003-01-27 13:12:39 +0100: Hi, i can't build mozilla from ports on FreeBSD 4.7-STABLE. It hangs at this point: /usr/bin/sed -e s|%%PREFIX%%|/usr/X11R6|g -e s|%%MOZILLA%%|mozilla|g /usr/ports/www/mozilla/files/mozilla.sh /usr/ports/www/mozilla/work/mozilla/mozilla (cd /usr/ports/www/mozilla/work/mozilla/dist/bin; /usr/bin/env LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regxpcom; /usr/bin/env LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regchrome; /usr/bin/touch ./chrome/user-skins.rdf ./chrome/user-locales.rdf) What might be the reason? The ports tree is fresh. It's caused by the fact that you didn't include the error message. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Caching nameserver question - I need a spot here . . .
# [EMAIL PROTECTED] / 2003-01-27 17:15:29 -0500: Hey all. I'm finally getting around to setting up a caching dns server. Pretty confusing from my angle. Here's what I have so far: named enaabled in /etc/rc.conf cd to /etc/namedb and run sh make-localhost and the following in /etc/namedb/named.conf: options { directory /etc/namedb; forward first; forwarders { 151.203.0.84; 151.202.0.84; }; listen-on { 10.8.20.5; }; version surely you must be joking query-source address * port 53; }; zone . { type hint; file named.root; }; zone 0.0.127.IN-ADDR.ARPA { type master; file localhost.rev; }; are you setting up a cache, or an authoritative server? IOW, do you want Bind to resolve names for clients (they'll will have it in /etc/resolv.conf and equivalents), or do you want it to publish names? You are doing both, but if you want to have this Bind resolving names for clients (external cache), being authoritative for 0.0.127.in-addr.arpa doesn't IMO make sense. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Caching nameserver question - I need a spot here . . .
# [EMAIL PROTECTED] / 2003-01-28 10:52:10 -0500: I want just a caching nameserver. If I understand correctly, you are suggesting I remove the 0.0.127.IN-ADDR.ARPA zone. So I should only have the hint zone, right? exactly. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: mozilla build port hangs at /usr/bin/sed
# [EMAIL PROTECTED] / 2003-01-28 16:54:20 +0100: # [EMAIL PROTECTED] / 2003-01-27 13:12:39 +0100: Hi, i can't build mozilla from ports on FreeBSD 4.7-STABLE. It hangs at this point: /usr/bin/sed -e s|%%PREFIX%%|/usr/X11R6|g -e s|%%MOZILLA%%|mozilla|g /usr/ports/www/mozilla/files/mozilla.sh /usr/ports/www/mozilla/work/mozilla/mozilla (cd /usr/ports/www/mozilla/work/mozilla/dist/bin; /usr/bin/env LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regxpcom; /usr/bin/env LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regchrome; /usr/bin/touch ./chrome/user-skins.rdf ./chrome/user-locales.rdf) What might be the reason? The ports tree is fresh. It's caused by the fact that you didn't include the error message. There is no error message, it just prints this text during the portinstall process, and hangs. It doesn't even use CPU time, it waits there for ever or CRTL + C; whatever comes first. A package is not available, updating to 5.0 is currently not an option. Hmm, are you sure it hangs in sed? Looks like it's actually in /usr/ports/www/mozilla/work/mozilla/dist/bin/regxpcom. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: sendmail - different smtp server
# [EMAIL PROTECTED] / 2003-01-27 23:07:11 +0800: Due to my ISP's smtp server not having a valid external hostname, I can only send emails to FreeBSD mailing list via yahoo's smtp server (which requires authentification). LART them, and if it doesn't help, LART them again. If that doesn't help either, LART them even more. Is it possible to setup my sendmail, so that it will relay emails to yahoo's email server instead? It should be possible. I know Postfix can be set up with static routes. Is editing the mailertable to add something like this correct? .freebsd.org smtp:smtp.mail.yahoo.com I don't know the format, sorry. Another thing to consider is whether smtp.mail.yahoo.com will allow you to relay through them like that. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: DNS + Virtual Hosting Question
# [EMAIL PROTECTED] / 2003-01-26 16:39:39 -0600: we have recently noticed that if you visit the website using the non-subdomain and click on a link, you are redirected to the subdomain URL. (In Apache it is setup with the subdomain as the server and the other domain as a server alias) http://httpd.apache.org/docs/mod/core.html#usecanonicalname -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Which files and directories to backup?
# [EMAIL PROTECTED] / 2003-01-26 18:08:40 -0500: What files or directories shoud I ignore when doing a tar backup? files you have customized in any way. it depends on what software you run. there's no definitive answer. And my exclude list is /root/.netscape/cache man, you run X as root? you use Netscape 4.x? why do you use FreeBSD then? you would be fine with Windows 95. :) How about /var? should I backup all of it? again, depends on what you have in there. -- FreeBSD 4.7-STABLE 12:00AM up 25 mins, 4 users, load averages: 0.03, 0.06, 0.03 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Compile gettext
# [EMAIL PROTECTED] / 2003-01-25 13:07:06 +0100: How can I compile gettext into php? So apache can run gettext... I already installed gettext, apache from the mall CD's... su # cd /usr/ports/www/mod_php4 make install clean if you don't have ${BATCH} defined in your environment or cruft left in the directory from previous installations, you'll be prompted to choose which libs you want linked in. gettext is among them. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message