Re: hardening FreeBSD for Spamassassin
That's quite alot of messages to shift - you don;'t mention message size either. BUT you'll local caches of any URI-RBLs you want to use. A local DCC server. I'd ask on the spamassassin users list, but you prob looking at multiple machines just for the scanning never mind the local zone files etc (will also help with down time issues). --- Martin On 12/7/05, Vahric MUHTARYAN <[EMAIL PROTECTED]> wrote: > > Thanks Joanne , > > Exactly I red Spamassassin FAQ and they said that 20-30 MB memory > must for each child process also iowait and CPU is really important but > mailn purpose is RAM, you are right ... > > And sorry I heared but I did not use exactly spamc & spamd , also > I > will care about your words and advise about mailing list , but my > questions > is not fully How fast can I run SA , my question is get out something from > FreeBSD which is not need for only SA run on system, I mean optimizing > system for only special works , maybe more little kernel , maybe it looks > like freebsd from screch (I think wrong word )...or maybe How can I > optimize and have more small and faster running FreeBSD OS ... > > And I want to handle 130,000 mail/hour with using 2 or 4 P4 server > with raid1 and 2 or 4 gb ram . > > Thanks again :) > Vahric > > -Original Message- > From: jdow [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 08, 2005 1:21 AM > To: Vahric MUHTARYAN; freebsd-questions@freebsd.org > Subject: Re: hardening FreeBSD for Spamassassin > > From: "Vahric MUHTARYAN" <[EMAIL PROTECTED]> > > > Hi Everybody , > > > >I think too many people know too many appliance choosing > freebsd > > for OS, also they are hardening FreeBSD and specialize for they works . > > Anybody know or Did this like hardening on FreeBSD for getting better > > performans, I'm using FreeBSD closer 2 year I didn't see any problem > about > > performans but is there any hint for hardening FreeBSD , I know some > tuning > > paramters have but I talking about different thing . You know spam > programs > > CPU intersive , I searched on google and I saw many hardening title but > > their point is security not performans . > > I think you are referring to tuning rather than hardening. A rough > interpretation of "hardening" with respect to "speed" would mean > making the machine work more. That would make it run slower. {^_-} > > If you mean tuning to get more performance out of SpamAssassin I'd > need to get some basics handled first. What version of SpamAssassin > are you running? How are you using it? (Are you using spamc/spamd? > Are you using one of the milters that daemonizes spamassassin itself > without using spamc and spamd?) If you are using spamc and spamd > what are the parameters you use for each and what tool calls spamc? > (I use procmail on that "other 'x OS" at the moment, for example.) > Are you using per user preferences, rules, and Bayes or are you using > system wide via SQL? And so forth. If you are using spamc/spamd then > tuning is direct via the commands to spamd as you daemonize it. For > this the spamassassin user's mailing list is quite helpful. It is > the user's list at spamassassin.apache.org. If you are using some > other tool or milter you might need to deal with that tool's support > groups for the best help. > > If you have DNS tests available make sure these tests are not > blocked and are not timing out. "spamassassin -t -D < " > with some handy email test file can give an informative readout > in this regard. > > Be aware that spamassassin can use a lot of memory. And it is a bit of > a resource hog if you run a lot of the SpamAssassin Rules Emporium > rule sets. (Search for "SARE" or the full name. Their rule sets are > VERY useful.) Of course, you get into a tradeoff situation between > resource usage and the quality of the spam detection. I'm silly enough > to run about 40 or so rule sets with per user rules, per user Bayes, > and all that, a pretty much worst case setup on a "2 GHz" Athlon with > 1 gigabyte of memory. It takes about 3.4 clock seconds to run a single > test using spamc/spamd. Using spamassassin itself adds the overhead of > starting perl and all that. This takes about 5.3 seconds total. Since > the machine is otherwise very lightly loaded this is no big deal for > about 1300 emails processed per day on about 6 user accounts. > > And to wrap up this rather long message I'll note that very often the > easiest SpamAssassin tuneup for speed involves adding more memory. If > SpamAssassin finds itself swapping for any reason it gets REALLY slow. > And I do note I am not quite running stock out of the box SpamAssassin. > I do not use automatic anything with it. Loren and I have carefully > trained SpamAssassin manually and get excellent results. And since Loren > is one of the SARE ninjas he needed some special tweaks inside SA that > really should not affect its performance except out at the fifth > decimal place. I mention this in the in
Re: installation
Gayn Winters wrote: I use Linux, but for a project I am doing it involves the BSD port system so now I want to experience it for myself. As I said I have Linux and Windows with GRUB. If I try and install FreeBSD will it detect I already have grub, a swap drive? Will it also give me an option to partition it? I strongly recommend reading about installations, slices, and (BSD) partitions in the FreeBSD Handbook http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html. I concur with Gayn, read all about it first! FreeBSD uses the term "slice" for DOS-style disk partitions and "partition" for the subdivisions within a given "slice". You don't want to confuse that while creating file new systems! NTFSresize is a great Linux utility for altering Windows partitions. I've had WinXP on one disk, and FreeBSD 5.4 on another for ~6 mo. Recently upgraded to FreeBSD 6.0 on a spare 40G disk slice (I now have 40G: FBSD 5.4, 100G: NTFS non-boot, 40G FBSD 6.0, & 20G spare on a 200G disk), but I couldn't boot FBSD6! It turns out the reason was that old BIOS boot limit (found that out from GRUB). Since only the root filesystem needs to be below the limit, I pointed my FBSD 5.4 swap to use FBSD 6's swap space, then moved FBSD 6's root into FBSD 5.4's old swap space (which is below that limit). Works great. If you are putting another OS on the same disk, you may have the same challenge. Good luck. Feel free to contact me directly if you'd like more details about the process. Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Copying kernel and OS
On Thu, Dec 08, 2005 at 07:02:01AM +0100, Jack Raats wrote: > Is it also possible to scp both directories to the slow machine? Of course. -- Jonathan Chen <[EMAIL PROTECTED]> -- "If everything's under control, you're going too slow" - Mario Andretti ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Changing maximum number of groups in FBSD - is it feasible?
On Wednesday 07 December 2005 17:41, Ian Moore wrote: > Hi, > > I'm toying with the idea of increasing the maximum number of groups a user > can belong to on one of my servers - we have a rather complex organisation > and we're hitting the 15 group limit for some people. > > There seems to be differing opinions on how to do this and if it's actually > > feasible. One post I found said: > > in src/sys/sys/syslimits.h there is a constant named 'NGROUPS_MAX'. > > change it to however many you need (within reason), rebuild/install world > > and kernel. > > Another said you have to change all sorts of things in the source, modify a > kernel parameter, rebuild world and rebuild any port that uses NGROUPS - > which probably means a portupgrade -fa. > > There is talk of a maxgroups() parameter in the kernel, but NOTES makes no > mention of this. > > I wonder too if some apps would need their own configuration altered to > allow them to work with the higher limit. > > So I just wanted to ask if anyone has successfully raised the NGROUPS_MAX > limit, especially when running samba & nfs on the system? > > If not, I'll work around the problem a different way. > > (BTW I'm running 5.4-RELEASE) > > Cheers, > Ian, > > Since you are running FreeBSD 5.x, have you considered using ACLs? See the > handbook section 14.12. > > Have you considered cascading groups? That's the normal workaround on > Enterprise Unix systems like HP-UX and Solaris. > > Instead of putting everyong in "group", do this instead. > > group:*:100:group1,group2 > group1:*:101:user1,user2 > group2:*:102:user3, user4 > > Thus, the users are all transitively in group, and you work around the limit. > > Mike Thanks for the suggestions guys. I had considered ACLs as one possible workaround and I'd said to a mate of mine "gee, it'd be really good if you could make a group a member of another group", not thinking you actually could do that! That's very handy. Since there doesn't seem to be anyone so far that's saying they have successfully increased the group limit, it looks like I'll be using one of those workarounds Cheers, -- Ian gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc pgpdlQUdmJnl0.pgp Description: PGP signature
Re: Copying kernel and OS
Is it also possible to scp both directories to the slow machine? JAck - Original Message - From: "Stephen Montgomery-Smith" <[EMAIL PROTECTED]> To: "Jack Raats" <[EMAIL PROTECTED]> Cc: ; "FreeBSD Stable" Sent: Wednesday, December 07, 2005 10:29 PM Subject: Re: Copying kernel and OS Jack Raats wrote: I've two machines running FreeBSD 6.0-STABLE. One very fast machine and one very very slow machine. On the fast machine I can compile a new kernel and OS very quickly and easily. Is it possible to transfer the compile world and kernel to the slow machine. If yes whart directories etc... do i have to transfer. Jack I do something like this. I build on the fast machine, and then use NFS to allow the slow machine to access /usr/src and /usr/obj. I have found that it is important to preserve the names of the directories, so that they are also called /usr/src and /usr/obj on the slow machine. Then I just do mergemaster, make installworld, make installkernel (in the appropriate order) on the slow machine, and it works like a charm. The entries in fstab are like this: hub2:/usr/obj/usr/objnfs rw,bg,noauto0 0 hub2:/usr/src/usr/srcnfs rw,bg,noauto0 0 where hub2 is the name of the fast machine. In /etc/exports on hub2 I have something like this /usr -maproot=root -alldirs -network 10.0.0.0 -mask 255.255.255.0 (here 10.0.0.0 is the IP addresses of my LAN) and in /etc/rc.conf on hub2 I have some lines like nfs_server_enable="YES" rpcbind_enable="YES" Then on the slow machine I simply type mount /usr/src mount /usr/obj -- Stephen Montgomery-Smith [EMAIL PROTECTED] http://www.math.missouri.edu/~stephen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: console characters/keyboard
At 07:17 PM 12/7/2005, Aaron Peterson wrote: I have been working with a database recently that contained values with special characters. A lower case "n" with a tilde over it for instance. Anyway, during the conversion of the database from mysql to sqlite these special characters got corrupted. I ended up fixing them by hand since there weren't many, but during the process I realized these things: 1) My console does not print these characters, but empty box characters instead 2) I have no good way of entering these characters (that I know of) with my standard keyboard layout and language settings. So the obvious questions follow: 1) Can I somehow alter my console or add fonts so these characters are displayed properly 2) I ended up writing a perl program and giving it html entities to decode back to the special character and insert into the database, but this is very roundabout. How can I set my FreeBSD box up to be able to enter such characters manually? You can produce whatever character you like by using the alt key and the number pad. Hold down alt and type the ascii value (in base 10) on the number pad. When you release the alt key, the character will be sent as if it had been typed. Note that this only works with the number pad. -Glenn Thanks in advance for any assistance, Aaron ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD on ASUS P5S800 fails to boot
Yance Kowara wrote: > > Hi, > > I tried to install FreeBSD 5.3R, 5.4R and 6.0R on ASUS > P5S800 motherboard and it fails to reboot. > Anyone has similar experience? Any hints? Or just > replace the motherboard? > > Kind regards, > > > Yance > > > > __ > Yahoo! FareChase: Search multiple travel sites in one click. > http://farechase.yahoo.com > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > I have the same exact problem. So far, I've done a bios update to the latest bios and it boots on odd reboots only, but seems to be very unstable. -- Sent from the freebsd-questions forum at Nabble.com: http://www.nabble.com/decode-RFC2047-encodings-t543499.html#a1846058 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: simple shell script
On Wednesday 07 December 2005 07:33 pm, Martin Cracauer wrote: > Dan Nelson wrote on Wed, Dec 07, 2005 at 09:52:55PM -0600: > > In the last episode (Dec 07), Beecher Rintoul said: > > > I'm trying to write a simple shell script that will launch a program > > > (in this case lynx), wait 60 seconds and then kill it. I can get it > > > to launch the program, but it seems to ignore anything after that. I > > > am not a programmer so does anyone have a suggestion on this script? > > > Any help would be appreciated. > > > > You need to background it so your script keeps running: > > > > #! /bin/sh > > # Launch program > > lynx & > > # Store its processid for later > > pid=$! > > # 60 seconds > > sleep 60 > > # Kill backgrounded process > > kill -9 $pid > > This is probably not what Beecher wants, he/she probably needs the > lynx in the foreground. > > In a pure shell script that is difficult because you cannot get the > pid of a foreground process without reverting to `ps` which is not > sportish. > > It's better to use a dedicated timeoput mechanism, e.g.: > http://cracauer-forum.cons.org/forum/cratimeout.html > > Then you can do `cratimeout 6 lynx` > > Martin Thanks to you both, I missed the background option. Actually it just needs to run in the background to log some hits on a free webserver that I use for testing. I forget and they will cancel my account if there's no traffic for a month. The timeout also looks interesting and I'll look into it. Beech -- --- Beech Rintoul - System Administrator - [EMAIL PROTECTED] /"\ ASCII Ribbon Campaign | NorthWind Communications \ / - NO HTML/RTF in e-mail | 201 East 9th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://akparadise.byethost33.com --- pgpjLNNbXf9Yh.pgp Description: PGP signature
MD5 discrepancy in 6.0-RELEASE/src/CHECKSUM.MD5
When I go to ftp.freebsd.org and download /pub/FreeBSD/releases/i386/6.0-RELEASE/src/CHECKSUM.MD5 and run md5 against it, I get the checksum MD5 (CHECKSUM.MD5) = d0dc2749908246ee8e91de602bb422b2 Inside the CHECKSUM.MD5 file, however, it says that its own checksum should be MD5 (CHECKSUM.MD5) = 6ee62cd847afff4cadf6648389c67a11 I can reproduce this problem on two separate hosts. Is the CHECKSUM.MD5 file in the /src directory of the 6.0-RELEASE media faulty? FWIW, the md5 sums of the other files in that directory do match what CHECKSUM.MD5 says they should be, but if CHECKSUM.MD5 fails its own checksum, can I trust it? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: installation
> [mailto:[EMAIL PROTECTED] On Behalf Of jon freddy > Sent: Wednesday, December 07, 2005 7:43 PM > I use Linux, but for a project I am doing it involves > the BSD port system so now I want to experience it for > myself. As I said I have Linux and Windows with GRUB. > If I try and install FreeBSD will it detect I already > have grub, a swap drive? Will it also give me an > option to partition it? FreeBSD won't "detect" GRUB, but you can have FreeBSD not touch the MBR during the install so that you are on your own to configure your favorite boot loader after (or before for that matter) installing FreeBSD. To configure swap space, read man swapon/off/cfg in http://www.freebsd.org/cgi/man.cgi?query=swapon&sektion=8&apropos=0&manp ath=FreeBSD+6.0-RELEASE+and+Ports. You can get the FreeBSD installer to partition your hard drive, but given you have two other OS's on your hard drive, I'd recommend that you use an FDISK-like utility before you install FreeBSD so that you are happy with your (DOS)partitions first. It is easy to select the appropriate (DOS) partition for FreeBSD during the install. I strongly recommend reading about installations, slices, and (BSD) partitions in the FreeBSD Handbook http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html. Welcome to FreeBSD, -gayn Bristol Systems Inc. 714/532-6776 www.bristolsystems.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: simple shell script
Dan Nelson wrote on Wed, Dec 07, 2005 at 09:52:55PM -0600: > In the last episode (Dec 07), Beecher Rintoul said: > > I'm trying to write a simple shell script that will launch a program > > (in this case lynx), wait 60 seconds and then kill it. I can get it > > to launch the program, but it seems to ignore anything after that. I > > am not a programmer so does anyone have a suggestion on this script? > > Any help would be appreciated. > > You need to background it so your script keeps running: > > #! /bin/sh > # Launch program > lynx & > # Store its processid for later > pid=$! > # 60 seconds > sleep 60 > # Kill backgrounded process > kill -9 $pid This is probably not what Beecher wants, he/she probably needs the lynx in the foreground. In a pure shell script that is difficult because you cannot get the pid of a foreground process without reverting to `ps` which is not sportish. It's better to use a dedicated timeoput mechanism, e.g.: http://cracauer-forum.cons.org/forum/cratimeout.html Then you can do `cratimeout 6 lynx` Martin -- %%% Martin Cracauerhttp://www.cons.org/cracauer/ FreeBSD - where you want to go, today. http://www.freebsd.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: The question that wont die: What size partitions should I make?
I made a little guide about why and when to make seperate partitions here: http://cracauer-forum.cons.org/forum/partitions.html This is starting from the assumption that as few partitions as possible is the way to go, it lists reasons why you would want additional ones. Martin -- %%% Martin Cracauerhttp://www.cons.org/cracauer/ FreeBSD - where you want to go, today. http://www.freebsd.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: can't find "libc.so.6"
On Wed, Dec 07, 2005 at 08:43:06PM -0700, [EMAIL PROTECTED] wrote: > umame -a FreeBSD localhost 5.4-RELEASE FreeBSD-RELEASE #0 Wed Aug 31 > 10:24:01 UTC 2005 root@/;/usr/src/sys/i386/compile/VILi386 > - > > I have FreeBSD-5.4 installed on a Pentium 4 computer. I am trying to install > wput-.0.5 (the package). It requires libgnugotop-1.2. I installed > libgnugotop and wput. This may not be required, but some programs do not > work unless you shutdown and restart the computer. > > Every time I try to run wput, I get a message that says "shared object -- > /libexec/ld-elf.so.1 libc.so.6 not found". I find some of these libc > programs on Google.com. Right now, after trying to find libc.so.6, I think > I'm "googled out". > > I need to know where I can find "libc.so.6". Hopefully, someone can help. You tried to install a package intended for FreeBSD 6.0. This probably means that you downloaded it from the wrong directory. Kris pgpS5aCA1SMPf.pgp Description: PGP signature
Re: simple shell script
In the last episode (Dec 07), Beecher Rintoul said: > I'm trying to write a simple shell script that will launch a program > (in this case lynx), wait 60 seconds and then kill it. I can get it > to launch the program, but it seems to ignore anything after that. I > am not a programmer so does anyone have a suggestion on this script? > Any help would be appreciated. You need to background it so your script keeps running: #! /bin/sh # Launch program lynx & # Store its processid for later pid=$! # 60 seconds sleep 60 # Kill backgrounded process kill -9 $pid -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: can't find "libc.so.6"
On Wednesday 07 December 2005 19:43, [EMAIL PROTECTED] wrote: > umame -a FreeBSD localhost 5.4-RELEASE FreeBSD-RELEASE #0 Wed Aug 31 > 10:24:01 UTC 2005 root@/;/usr/src/sys/i386/compile/VILi386 > --- >-- > > I have FreeBSD-5.4 installed on a Pentium 4 computer. I am trying to > install wput-.0.5 (the package). It requires libgnugotop-1.2. I > installed libgnugotop and wput. This may not be required, but some > programs do not work unless you shutdown and restart the computer. > > Every time I try to run wput, I get a message that says "shared object -- > /libexec/ld-elf.so.1 libc.so.6 not found". I find some of these libc > programs on Google.com. Right now, after trying to find libc.so.6, I think > I'm "googled out". > > I need to know where I can find "libc.so.6". Hopefully, someone can help. > > greg > [EMAIL PROTECTED] Sounds like the package was for freebsd ver 6. Run env and see what PACKAGESITE is set to, here is one from a 5.4 Stable system: PACKAGESITE=ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/Latest/ -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
simple shell script
I'm trying to write a simple shell script that will launch a program (in this case lynx), wait 60 seconds and then kill it. I can get it to launch the program, but it seems to ignore anything after that. I am not a programmer so does anyone have a suggestion on this script? Any help would be appreciated. Beech -- --- Beech Rintoul - System Administrator - [EMAIL PROTECTED] /"\ ASCII Ribbon Campaign | NorthWind Communications \ / - NO HTML/RTF in e-mail | 201 East 9th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://akparadise.byethost33.com --- pgpLbxCK9slsO.pgp Description: PGP signature
installation
I use Linux, but for a project I am doing it involves the BSD port system so now I want to experience it for myself. As I said I have Linux and Windows with GRUB. If I try and install FreeBSD will it detect I already have grub, a swap drive? Will it also give me an option to partition it? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
can't find "libc.so.6"
umame -a FreeBSD localhost 5.4-RELEASE FreeBSD-RELEASE #0 Wed Aug 31 10:24:01 UTC 2005 root@/;/usr/src/sys/i386/compile/VILi386 - I have FreeBSD-5.4 installed on a Pentium 4 computer. I am trying to install wput-.0.5 (the package). It requires libgnugotop-1.2. I installed libgnugotop and wput. This may not be required, but some programs do not work unless you shutdown and restart the computer. Every time I try to run wput, I get a message that says "shared object -- /libexec/ld-elf.so.1 libc.so.6 not found". I find some of these libc programs on Google.com. Right now, after trying to find libc.so.6, I think I'm "googled out". I need to know where I can find "libc.so.6". Hopefully, someone can help. greg [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: probing devices on a pentium-s 90mhz.... installation can't
Michael S <[EMAIL PROTECTED]> wrote: As a last measure, you could always try NetBSD as it is friedly to old hardware. Hmmm.. we have two machines, 1 newer (can absolutely install freebsd 6.0) and this old one. Currently, both of them are running IPVS, heartbeat, Redhat7. I will be replacing this with IPVS on FreeBSD plus CARP. I guess I would have to find out if NetBSD has CARP and IPVS is already ported - Yahoo! Shopping Find Great Deals on Holiday Gifts at Yahoo! Shopping ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
probing devices on a pentium-s 90mhz.... installation can't
As a last measure, you could always try NetBSD as it is friedly to old hardware. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
console characters/keyboard
I have been working with a database recently that contained values with special characters. A lower case "n" with a tilde over it for instance. Anyway, during the conversion of the database from mysql to sqlite these special characters got corrupted. I ended up fixing them by hand since there weren't many, but during the process I realized these things: 1) My console does not print these characters, but empty box characters instead 2) I have no good way of entering these characters (that I know of) with my standard keyboard layout and language settings. So the obvious questions follow: 1) Can I somehow alter my console or add fonts so these characters are displayed properly 2) I ended up writing a perl program and giving it html entities to decode back to the special character and insert into the database, but this is very roundabout. How can I set my FreeBSD box up to be able to enter such characters manually? Thanks in advance for any assistance, Aaron ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
probing devices on a pentium-s 90mhz.... installation can't continue because it takes forever..
Hi, We have an old pentium-S 90mhz machine running Redhat7 used for LVS load balancer and I would like to replace it with FreeBSD6.0. The motherboard have two IDE socket but it doesn't seem to detect the cdrom at all. No problem, I downloaded the floppy images and then reboot it. However, on the final booting process, it just says "Probing devices, please wait (this can take a while)... and it just sits there and nothing happens. Other hardware components are: its memory looks like an edo ram (more than 113 mb i think) it has 2 pci devices installed: a lan card, and a scsi controller it has 1 isa device installed: vga card Any idea what might be happening? Is this some sort of IRQ conflict problem? I just removed another isa device(serial,parallel) thinking it might be conflicting with the vga card, but the probing is still taking forever. Thanks.. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Can't Mount Windows NT From FreeBSD 6.0 Stable
Dear All, This is my third email to freebsd-questions with the same question. Why i can't mount my nt share from my freebsd 6.0 stable. it was stabilized to 6.0 about 2 weeks ago. when i have 5.4 stable there's no such error and all fine and worked. Would you allhelp me please ? Error : [EMAIL PROTECTED]: mount_smbfs -I 192.168.0.3 //[EMAIL PROTECTED]/misc$ /mnt/workgroup/1/ Password: mount_smbfs: unable to open connection: syserr = Connection reset by peer Kernel Error : WARNING: userland calling deprecated sysctl, please rebuild world Thanks for the answers. RdBSD ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: The question that wont die: What size partitions should I make?
> > > I have dual-boot laptop, 30GB Fat32 Win2000 and 70GB FreeBSD 6.0-R. I > plan to use this for normal home desktop use (not as a server). I have > 512MB RAM. > > According to this page: > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html > > I should use: > >/ = 100MB >/swap = 1GB >/var = 50MB > /usr = rest (68GB) I use about this on a big disk like that: / 128 MB swap1.5 GB /tmp512 MG /usr2 GB /var4 GB /home all the rest of the slice. > That is enough to get most stuff includeing a small database up and going. If I need more room in /usr or /var I move some stuff such as /usr/ports or /var/db or /var/spool or /var/log to the /home filesystem where they can grow and make symlinks. jerry > On past FreeBSD installs, I would occasionaly do things as root, and ran > out of space in /root. Since then, on desktop machines (with 250GB > drives), I would make / be 4GB. On my lapatop, I wouldn't want to give > up 4 of my 70 gigs if I didn't have to. So I am looking for a realistic > number that wont cramp me, and wont waste too much space. I am planning > on 1GB, so it will be big enough to hold the contents of a 700MB CD ISO. > > I have no idea how much of /var I need, other than I like to install > various packages to try them out, and I would not want to limit > something like a webserver or email server if I chose to run one for > limited use. A friend took the default install suggestions for a > machine he planned to do some web development on, and said his /var was > way too small (they were new to FreeBSD also). I am guessing 5GB for > /var would allow me to run a mail-server (for personal use) and > Apache+extensions for limited website developement > > A swap of 1GB is fine, I'm not sure I've ever actually used any swap on > my machines that had more than 128MB. > > I want /usr to be as big as possible (obviously), so my primary user > account will have as much space as possible in /use/home/. > > Should I use: > >/ = 1GB >/swap = 1GB >/var = 5GB > /usr = rest (63GB) > > ? > > thanks! > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pkgdb format
On Wednesday 07 December 2005 12:55 pm, eoghan wrote: > Hello > Ive recently upgraded to 6.0 and I decided to upgrade my ports... So > I ran a: > portupgrade -af > Its running fine, but each time its upgrade a port I get: > [Updating the pkgdb in /var/db/pkg ... Failed > `Inappropriate file type or format'; rebuild needed] [Rebuilding the > pkgdb in /var/db/pkg ... - 439 packages found (-0 > +439) > > Just wondering if its to do with my upgrade to 6.0 (from 5.4) > Thanks Not from my experience. You are setting the package database interface one way in one spot and using the default someplace else. Since they are incompatible, it has to rebuild the port data base. Look for the string bdb in your scripts and in pkgtools.conf. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
web content filtering with 6.0
Hello, I've got a 6.0 box running squid as a transparent proxy. I want to implement web content filtering, popup blocking, add blocking, porn site blocking and selective filtering etc. I've read some howtos on a package called dansguardian and another squidguard and adzap that linked in to squid to provide some of this functionality. The stuff i saw was for freebsd 4, nothing for 5 or 6. If anyone has web content filtering using these or other packages going under fbsd6 i'd like to know how you did it. Thanks. Dave. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Video Conferencing Server Software ... Recommendations ... ?
Basically, I'm looking for something to run on a remote server, that other parties to connect to, create conferences, invite other users into, etc ... including full video / audio and, if possible, whiteboard ... Does anyone have any recommendations that work under FreeBSD? Thanks ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: hardening FreeBSD for Spamassassin
From: "Alex Zbyslaw" <[EMAIL PROTECTED]> jdow wrote: http://www.surl.org/. You mean http://www.surbl.org/ The other URL works but isn't very useful :-) I did indeed mess up and leave out the b. Mea culpa. {^_^} ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: hardening FreeBSD for Spamassassin
You are going to have to trim numbers of messages before you get to SpamAssassin, I am afraid. Is this number after any greylisting you may have operational? If not then do look into greylisting. It is a very powerful technique to prefilter your incoming email at the connection level. If the address is recognize the email is received immediately. If it is not recognized the email is "temporarily failed". Currently spammers do not retry in such cases. So at least for now this will be a very effective tool to trim down the number of messages your SpamAssassin install has to filter. You will have to trim the number of rule sets you use to a bare minimum. They do take time to run. If I extrapolate my system's usage and configuration to a 4 processor 3GHz level machine I am still about an order of magnitude shy of your requirements as I am currently configured. So the level of rules trimming would be daunting indeed. (But at least I have not missed a genuine spam detection in two weeks now. And I've only had about 5 very spammy looking kernel mailing list type messages that false alarmed. It is hard to deal with filtering lists that just look like spam and do not filter incoming messages. {^_-}) As for trimming FreeBSD to a minimum the usual litanies exist, do not start any services you do not need. One BIG hog in this regard, obviously, is X11. If it is not absolutely needed don't start it. You should not even have it on the system. Only you know if nfs is required in your setup or not, of course. So you must make the assessment of "is this needed" for yourself. With four gigabytes of ram and (only) four processors you're probably not memory limited on a CPU intensive operation. So kernel trimming is probably not going to be a high benefit process, at a guess. Oh yes, one thing you DO want to run is your own DNS server implementation of the "SURBL" lists. That volume of email quite justifies requesting Jeff allow you to download his database to your machine periodically. That will GREATLY speed up the DNS tests, of course. You might check this out at http://www.surl.org/. Jeff's a good fellow with a STRONG "no collateral damage" ethic. Go for greylisting first then Jeff's database downloads. {^_^} - Original Message - From: "Vahric MUHTARYAN" <[EMAIL PROTECTED]> Thanks Joanne , Exactly I red Spamassassin FAQ and they said that 20-30 MB memory must for each child process also iowait and CPU is really important but mailn purpose is RAM, you are right ... And sorry I heared but I did not use exactly spamc & spamd , also I will care about your words and advise about mailing list , but my questions is not fully How fast can I run SA , my question is get out something from FreeBSD which is not need for only SA run on system, I mean optimizing system for only special works , maybe more little kernel , maybe it looks like freebsd from screch (I think wrong word )...or maybe How can I optimize and have more small and faster running FreeBSD OS ... And I want to handle 130,000 mail/hour with using 2 or 4 P4 server with raid1 and 2 or 4 gb ram . Thanks again :) Vahric ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: postfix help
No, just postfix: /etc/rc.conf sendmail_enable="NO" sendmail_submit_enable="NO" sendmail_outbound_enable="NO" sendmail_msp_queue_enable="NO" and ls -l /usr/local/etc/rc.d/postfix.sh lrwxr-xr-x 1 root wheel 23 Dec 4 20:41 /usr/local/etc/rc.d/postfix.sh -> /usr/local/sbin/postfix ps aux | grep sendmail returns nothing ps aux | grep postfix returns: root 613 0.0 1.2 3404 2344 ?? Ss6:03PM 0:00.08 /usr/local/libexec/postfix/master postfix 618 0.0 1.2 3424 2328 ?? S 6:03PM 0:00.03 pickup -l -t fifo -u postfix 619 0.0 1.3 3480 2408 ?? I 6:03PM 0:00.03 qmgr -l -t fifo -u root is the owner, since I reloaded it as root. Just doing testing. On 12/7/05, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > On 2005-12-07 18:01, Michael Sherman <[EMAIL PROTECTED]> wrote: > > Hello all. > > > > I am trying to get postfix to relay mail through my ISP, without much > > luck though. > > > > I installed postfix with sasl compiled in: > > ldd /usr/local/libexec/postfix/smtpd > > libsasl.so.8 => /usr/local/lib/libsasl.so.8 (0x280be000) > > libpam.so.3 => /usr/lib/libpam.so.3 (0x280cb000) > > libcrypt.so.3 => /lib/libcrypt.so.3 (0x280d2000) > > libsasl2.so.2 => /usr/local/lib/libsasl2.so.2 (0x280eb000) > > libssl.so.4 => /usr/lib/libssl.so.4 (0x280ff000) > > libcrypto.so.4 => /lib/libcrypto.so.4 (0x28132000) > > libpcre.so.0 => /usr/local/lib/libpcre.so.0 (0x28243000) > > libc.so.6 => /lib/libc.so.6 (0x2826b000) > > libldap-2.2.so.7 => /usr/local/lib/libldap-2.2.so.7 (0x28354000) > > liblber-2.2.so.7 => /usr/local/lib/liblber-2.2.so.7 (0x2837e000) > > > > sasld is running, was started before postfix was. > > ps aux | grep sasl > > root14646 0.0 0.4 1444 712 ?? Is4:54PM 0:00.00 > > /usr/local/sbin/saslauthd1 -a pam > > > > here is an excerpt of my main.cf > > > > relayhost = smtp.broadband.rogers.com > > smtp_sasl_auth_enable = yes > > smtp_sasl_security_options = noanonymous > > smtp_sasl_password_maps = hash:/usr/local/etc/postfix/sasl_passwd > > I think you don't need sasld for uathenticating as a client. > > > Yet when I try to send any mail it gets bounced back by Rogers (which > > uses Yahoo for mail services) : > > > > tail /var/log/maillog > > > > Dec 7 17:46:09 mike postfix/cleanup[14941]: 70BED50856: message-id=<[EMAIL > > PROTECTED]> > > Dec 7 17:46:09 FreeBSD postfix/qmgr[14908]: 70BED50856: from=<[EMAIL > > PROTECTED]>, size=565, nrcpt=1 (queue active) > > Dec 7 17:46:09 m sendmail[14938]: jB7Mk981014938: > > [EMAIL PROTECTED], ctladdr=michael (1001/1001), delay=00:00:00, > > xdelay=00:00:00, mailer=relay, pri=30057, relay=[127.0.0.1] > > [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 70BED50856) > > Hmm, why do I see messages from both Postfix *AND* Sendmail here? > > You are not running both, right? > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: hardening FreeBSD for Spamassassin
Thanks Joanne , Exactly I red Spamassassin FAQ and they said that 20-30 MB memory must for each child process also iowait and CPU is really important but mailn purpose is RAM, you are right ... And sorry I heared but I did not use exactly spamc & spamd , also I will care about your words and advise about mailing list , but my questions is not fully How fast can I run SA , my question is get out something from FreeBSD which is not need for only SA run on system, I mean optimizing system for only special works , maybe more little kernel , maybe it looks like freebsd from screch (I think wrong word )...or maybe How can I optimize and have more small and faster running FreeBSD OS ... And I want to handle 130,000 mail/hour with using 2 or 4 P4 server with raid1 and 2 or 4 gb ram . Thanks again :) Vahric -Original Message- From: jdow [mailto:[EMAIL PROTECTED] Sent: Thursday, December 08, 2005 1:21 AM To: Vahric MUHTARYAN; freebsd-questions@freebsd.org Subject: Re: hardening FreeBSD for Spamassassin From: "Vahric MUHTARYAN" <[EMAIL PROTECTED]> > Hi Everybody , > >I think too many people know too many appliance choosing freebsd > for OS, also they are hardening FreeBSD and specialize for they works . > Anybody know or Did this like hardening on FreeBSD for getting better > performans, I'm using FreeBSD closer 2 year I didn't see any problem about > performans but is there any hint for hardening FreeBSD , I know some tuning > paramters have but I talking about different thing . You know spam programs > CPU intersive , I searched on google and I saw many hardening title but > their point is security not performans . I think you are referring to tuning rather than hardening. A rough interpretation of "hardening" with respect to "speed" would mean making the machine work more. That would make it run slower. {^_-} If you mean tuning to get more performance out of SpamAssassin I'd need to get some basics handled first. What version of SpamAssassin are you running? How are you using it? (Are you using spamc/spamd? Are you using one of the milters that daemonizes spamassassin itself without using spamc and spamd?) If you are using spamc and spamd what are the parameters you use for each and what tool calls spamc? (I use procmail on that "other 'x OS" at the moment, for example.) Are you using per user preferences, rules, and Bayes or are you using system wide via SQL? And so forth. If you are using spamc/spamd then tuning is direct via the commands to spamd as you daemonize it. For this the spamassassin user's mailing list is quite helpful. It is the user's list at spamassassin.apache.org. If you are using some other tool or milter you might need to deal with that tool's support groups for the best help. If you have DNS tests available make sure these tests are not blocked and are not timing out. "spamassassin -t -D < " with some handy email test file can give an informative readout in this regard. Be aware that spamassassin can use a lot of memory. And it is a bit of a resource hog if you run a lot of the SpamAssassin Rules Emporium rule sets. (Search for "SARE" or the full name. Their rule sets are VERY useful.) Of course, you get into a tradeoff situation between resource usage and the quality of the spam detection. I'm silly enough to run about 40 or so rule sets with per user rules, per user Bayes, and all that, a pretty much worst case setup on a "2 GHz" Athlon with 1 gigabyte of memory. It takes about 3.4 clock seconds to run a single test using spamc/spamd. Using spamassassin itself adds the overhead of starting perl and all that. This takes about 5.3 seconds total. Since the machine is otherwise very lightly loaded this is no big deal for about 1300 emails processed per day on about 6 user accounts. And to wrap up this rather long message I'll note that very often the easiest SpamAssassin tuneup for speed involves adding more memory. If SpamAssassin finds itself swapping for any reason it gets REALLY slow. And I do note I am not quite running stock out of the box SpamAssassin. I do not use automatic anything with it. Loren and I have carefully trained SpamAssassin manually and get excellent results. And since Loren is one of the SARE ninjas he needed some special tweaks inside SA that really should not affect its performance except out at the fifth decimal place. I mention this in the interests of truth in advertising as it were. So if you are not stuck within AmavisD or something like that the SA user's list may be a big help. Otherwise speak with the AmavisD folks. And do make sure you have plenty of ram and reasonable expectations for your particular machine speeds. SA needs memory and CPU cycles. {^_^} Joanne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Rhine VT6102 problems
Hi, we have used VIA MS1 mini-itx boards with the VT6102 network controller the last 6 moth with FreeBSD 5.4 great succeess. Now we received a new batch and now the network controller is not working properly (for all units). After changing the line in rc.conf to "vr0_ifconfg ... media 100baseTX" it works for one boot, but when rebooting again it will not work. When the network does not work there is 32 lines of ukphy0 to ukphy31 in dmesg and after that we also got vr0: watchdog timeout. I have searched the internet and there is reported problems about this in the past but there seems to be no real solution. We have tried different configuration with/without ACPI enabled, forcing the card to 10Mb and 100Mb, different switches without success. Is there any patches or solutions of this problem? thanks urban ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: postfix help
On 2005-12-07 18:01, Michael Sherman <[EMAIL PROTECTED]> wrote: > Hello all. > > I am trying to get postfix to relay mail through my ISP, without much > luck though. > > I installed postfix with sasl compiled in: > ldd /usr/local/libexec/postfix/smtpd > libsasl.so.8 => /usr/local/lib/libsasl.so.8 (0x280be000) > libpam.so.3 => /usr/lib/libpam.so.3 (0x280cb000) > libcrypt.so.3 => /lib/libcrypt.so.3 (0x280d2000) > libsasl2.so.2 => /usr/local/lib/libsasl2.so.2 (0x280eb000) > libssl.so.4 => /usr/lib/libssl.so.4 (0x280ff000) > libcrypto.so.4 => /lib/libcrypto.so.4 (0x28132000) > libpcre.so.0 => /usr/local/lib/libpcre.so.0 (0x28243000) > libc.so.6 => /lib/libc.so.6 (0x2826b000) > libldap-2.2.so.7 => /usr/local/lib/libldap-2.2.so.7 (0x28354000) > liblber-2.2.so.7 => /usr/local/lib/liblber-2.2.so.7 (0x2837e000) > > sasld is running, was started before postfix was. > ps aux | grep sasl > root14646 0.0 0.4 1444 712 ?? Is4:54PM 0:00.00 > /usr/local/sbin/saslauthd1 -a pam > > here is an excerpt of my main.cf > > relayhost = smtp.broadband.rogers.com > smtp_sasl_auth_enable = yes > smtp_sasl_security_options = noanonymous > smtp_sasl_password_maps = hash:/usr/local/etc/postfix/sasl_passwd I think you don't need sasld for uathenticating as a client. > Yet when I try to send any mail it gets bounced back by Rogers (which > uses Yahoo for mail services) : > > tail /var/log/maillog > > Dec 7 17:46:09 mike postfix/cleanup[14941]: 70BED50856: message-id=<[EMAIL > PROTECTED]> > Dec 7 17:46:09 FreeBSD postfix/qmgr[14908]: 70BED50856: from=<[EMAIL > PROTECTED]>, size=565, nrcpt=1 (queue active) > Dec 7 17:46:09 m sendmail[14938]: jB7Mk981014938: > [EMAIL PROTECTED], ctladdr=michael (1001/1001), delay=00:00:00, > xdelay=00:00:00, mailer=relay, pri=30057, relay=[127.0.0.1] > [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 70BED50856) Hmm, why do I see messages from both Postfix *AND* Sendmail here? You are not running both, right? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: postfix help
--On Wednesday, December 07, 2005 18:01:30 -0500 Michael Sherman <[EMAIL PROTECTED]> wrote: relay=smtp-rog.mail.yahoo2.akadns.net[206.190.36.18], delay=0, status=bounced (host smtp-rog.mail.yahoo2.akadns.net[206.190.36.18] said: 530 authentication required - for help go to http://help.yahoo.com/help/us/mail/pop/pop-11.html (in reply to MAIL FROM command)) Dec 7 17:46:09 FreeBSD postfix/cleanup[14941]: C244750865: message-id=<[EMAIL PROTECTED]> Dec 7 17:46:09 FreeBSD postfix/qmgr[14908]: C244750865: from=<>, size=2600, nrcpt=1 (queue active) Dec 7 17:46:09 FreeBSD postfix/qmgr[14908]: 70BED50856: removed Dec 7 17:46:09 FreeBSD postfix/smtp[14942]: C244750865: to=<[EMAIL PROTECTED]>, relay=smtp-rog.mail.yahoo2.akadns.net[206.190.36.18], delay=0, status=bounced (host smtp-rog.mail.yahoo2.akadns.net[206.190.36.18] said: 530 authentication required - for help go to http://help.yahoo.com/help/us/mail/pop/pop-11.html (in reply to MAIL FROM command)) Dec 7 17:46:09 FreeBSD postfix/qmgr[14908]: C244750865: removed Any ideas? Yahoo wants authentication. Postfix doesn't do smtp-auth between mailhosts, and it's not going to pass your credentials to the Yahoo MTA after you've logged in to it. You need to ask Yahoo if they will consider your MTA a trusted host for relay purposes. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: hardening FreeBSD for Spamassassin
From: "Vahric MUHTARYAN" <[EMAIL PROTECTED]> Hi Everybody , I think too many people know too many appliance choosing freebsd for OS, also they are hardening FreeBSD and specialize for they works . Anybody know or Did this like hardening on FreeBSD for getting better performans, I'm using FreeBSD closer 2 year I didn't see any problem about performans but is there any hint for hardening FreeBSD , I know some tuning paramters have but I talking about different thing . You know spam programs CPU intersive , I searched on google and I saw many hardening title but their point is security not performans . I think you are referring to tuning rather than hardening. A rough interpretation of "hardening" with respect to "speed" would mean making the machine work more. That would make it run slower. {^_-} If you mean tuning to get more performance out of SpamAssassin I'd need to get some basics handled first. What version of SpamAssassin are you running? How are you using it? (Are you using spamc/spamd? Are you using one of the milters that daemonizes spamassassin itself without using spamc and spamd?) If you are using spamc and spamd what are the parameters you use for each and what tool calls spamc? (I use procmail on that "other 'x OS" at the moment, for example.) Are you using per user preferences, rules, and Bayes or are you using system wide via SQL? And so forth. If you are using spamc/spamd then tuning is direct via the commands to spamd as you daemonize it. For this the spamassassin user's mailing list is quite helpful. It is the user's list at spamassassin.apache.org. If you are using some other tool or milter you might need to deal with that tool's support groups for the best help. If you have DNS tests available make sure these tests are not blocked and are not timing out. "spamassassin -t -D < " with some handy email test file can give an informative readout in this regard. Be aware that spamassassin can use a lot of memory. And it is a bit of a resource hog if you run a lot of the SpamAssassin Rules Emporium rule sets. (Search for "SARE" or the full name. Their rule sets are VERY useful.) Of course, you get into a tradeoff situation between resource usage and the quality of the spam detection. I'm silly enough to run about 40 or so rule sets with per user rules, per user Bayes, and all that, a pretty much worst case setup on a "2 GHz" Athlon with 1 gigabyte of memory. It takes about 3.4 clock seconds to run a single test using spamc/spamd. Using spamassassin itself adds the overhead of starting perl and all that. This takes about 5.3 seconds total. Since the machine is otherwise very lightly loaded this is no big deal for about 1300 emails processed per day on about 6 user accounts. And to wrap up this rather long message I'll note that very often the easiest SpamAssassin tuneup for speed involves adding more memory. If SpamAssassin finds itself swapping for any reason it gets REALLY slow. And I do note I am not quite running stock out of the box SpamAssassin. I do not use automatic anything with it. Loren and I have carefully trained SpamAssassin manually and get excellent results. And since Loren is one of the SARE ninjas he needed some special tweaks inside SA that really should not affect its performance except out at the fifth decimal place. I mention this in the interests of truth in advertising as it were. So if you are not stuck within AmavisD or something like that the SA user's list may be a big help. Otherwise speak with the AmavisD folks. And do make sure you have plenty of ram and reasonable expectations for your particular machine speeds. SA needs memory and CPU cycles. {^_^} Joanne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
postfix help
Hello all. I am trying to get postfix to relay mail through my ISP, without much luck though. I installed postfix with sasl compiled in: ldd /usr/local/libexec/postfix/smtpd libsasl.so.8 => /usr/local/lib/libsasl.so.8 (0x280be000) libpam.so.3 => /usr/lib/libpam.so.3 (0x280cb000) libcrypt.so.3 => /lib/libcrypt.so.3 (0x280d2000) libsasl2.so.2 => /usr/local/lib/libsasl2.so.2 (0x280eb000) libssl.so.4 => /usr/lib/libssl.so.4 (0x280ff000) libcrypto.so.4 => /lib/libcrypto.so.4 (0x28132000) libpcre.so.0 => /usr/local/lib/libpcre.so.0 (0x28243000) libc.so.6 => /lib/libc.so.6 (0x2826b000) libldap-2.2.so.7 => /usr/local/lib/libldap-2.2.so.7 (0x28354000) liblber-2.2.so.7 => /usr/local/lib/liblber-2.2.so.7 (0x2837e000) sasld is running, was started before postfix was. ps aux | grep sasl root14646 0.0 0.4 1444 712 ?? Is4:54PM 0:00.00 /usr/local/sbin/saslauthd1 -a pam here is an excerpt of my main.cf relayhost = smtp.broadband.rogers.com smtp_sasl_auth_enable = yes smtp_sasl_security_options = noanonymous smtp_sasl_password_maps = hash:/usr/local/etc/postfix/sasl_passwd Yet when I try to send any mail it gets bounced back by Rogers (which uses Yahoo for mail services) : tail /var/log/maillog Dec 7 17:46:09 mike postfix/cleanup[14941]: 70BED50856: message-id=<[EMAIL PROTECTED]> Dec 7 17:46:09 FreeBSD postfix/qmgr[14908]: 70BED50856: from=<[EMAIL PROTECTED]>, size=565, nrcpt=1 (queue active) Dec 7 17:46:09 m sendmail[14938]: jB7Mk981014938: [EMAIL PROTECTED], ctladdr=michael (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30057, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 70BED50856) Dec 7 17:46:09 FreeBSD postfix/smtpd[14939]: disconnect from localhost[127.0.0.1] Dec 7 17:46:09 FreeBSD postfix/smtp[14942]: 70BED50856: to=<[EMAIL PROTECTED]>, relay=smtp-rog.mail.yahoo2.akadns.net[206.190.36.18], delay=0, status=bounced (host smtp-rog.mail.yahoo2.akadns.net[206.190.36.18] said: 530 authentication required - for help go to http://help.yahoo.com/help/us/mail/pop/pop-11.html (in reply to MAIL FROM command)) Dec 7 17:46:09 FreeBSD postfix/cleanup[14941]: C244750865: message-id=<[EMAIL PROTECTED]> Dec 7 17:46:09 FreeBSD postfix/qmgr[14908]: C244750865: from=<>, size=2600, nrcpt=1 (queue active) Dec 7 17:46:09 FreeBSD postfix/qmgr[14908]: 70BED50856: removed Dec 7 17:46:09 FreeBSD postfix/smtp[14942]: C244750865: to=<[EMAIL PROTECTED]>, relay=smtp-rog.mail.yahoo2.akadns.net[206.190.36.18], delay=0, status=bounced (host smtp-rog.mail.yahoo2.akadns.net[206.190.36.18] said: 530 authentication required - for help go to http://help.yahoo.com/help/us/mail/pop/pop-11.html (in reply to MAIL FROM command)) Dec 7 17:46:09 FreeBSD postfix/qmgr[14908]: C244750865: removed Any ideas? Thanks in advance ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Disk write caching, hw.ata.wc and atacontrol disagree
Dieter wrote on Wed, Dec 07, 2005 at 02:05:40PM +: > I'm trying to turn off the evil data corrupting on-disk write cache. > > I added hw.ata.wc=0 to /boot/loader.conf and rebooted. > > # sysctl hw.ata.wc > hw.ata.wc: 0 > > So far so good. But! atacontrol cap ad4 says: > > Feature Support EnableValue Vendor > write cacheyes yes > > So hw.ata.wc thinks that the disk write cache is off, > but atacontrol cap thinks the disk write cache is on? I remember this is working but there was a reporting problem in atacontrol. You should easily be able to tell whether it is on or off by the write performance. It should plummet by a factor of 4 or so. cstream -i- -o/mnt/wherever/tmpfile -v1 Martin -- %%% Martin Cracauerhttp://www.cons.org/cracauer/ FreeBSD - where you want to go, today. http://www.freebsd.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Re[2]: FreeBSD 6.x / GRE / WCCP / Squid
On Wed, 2005-12-07 at 23:55 +0200, Cezar Fistik wrote: > Hello Alan, > > Wednesday, December 7, 2005, 5:46:41 AM, you wrote: > > > ipfw conf > > - > > > ipfw add 50 fwd 127.0.0.1,3128 tcp from any to any 80 > > Sorry for missleading you with wccp version2, my mistake. No problem. > Now, is it a mistake or you changed the port squid listens on? First > time it was 8080. Could you try to add "in via gre0" to you fwd rule? Yes I change the port, I've not done the obvious thing and used the wrong port. :) I've also tried using "in via gre0", that part is working perfectly. I can see the packets getting forwarded by the rule logging into /var/log/security, but I never see the forwarded packets on the loopback interface I have forwarding turned on via sysctl. Is there something I'm missing? > What version of FreeBSD are you using, is it a 5.3? If so, you'll have > to upgrade to at least 5.4. I'm running 6.0-RELEASE. Thanks, Alan. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
hardening FreeBSD for Spamassassin
Hi Everybody , I think too many people know too many appliance choosing freebsd for OS, also they are hardening FreeBSD and specialize for they works . Anybody know or Did this like hardening on FreeBSD for getting better performans, I'm using FreeBSD closer 2 year I didn't see any problem about performans but is there any hint for hardening FreeBSD , I know some tuning paramters have but I talking about different thing . You know spam programs CPU intersive , I searched on google and I saw many hardening title but their point is security not performans . Thanks Best Regards Vahric MUHTARYAN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
VLC: core dumped
Trying to run VLC after a portupgrade on FreeBSD 6 and I get this: VLC media player 0.8.4 Janus Segmentation fault (core dumped) Is there a way to find out what's causing it? EJC www.only7bucks.com ___ Yahoo! doce lar. Faça do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: kde hangs at first start...
On Wednesday 07 December 2005 21:04, Javier Matos wrote: > Hi, I install FreeBSD 6.0 in my box and create the file xorg.conf.new with > rights values. Then I try it with Xorg -config ... (and it works fine)... > but when I try to start kde (writing "kdm" in the console as root) the > screen change his resolution trying to start kde but when appear the screen > where you must to type your user and password the computer hangs. Normally kdm is started by adding a line to /etc/ttys like this: ttyv8 "/usr/local/bin/kdm -nodaemon" xterm on secure I'm not really sure whether, or not, it's supposed to work the way you are using it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Thanks for FBSD6
> > You can use in /etc/rc.conf: > > > > ifconfig_ath0="DHCP ssid your_ssid" > > That's FreeBSD 5.X and prior way of doing it. The suggested way to > config your wirerless is with wpa_supplicant(8). In rc.conf add: > > wpa_suplicant_enable="YES" > ifconfig_ath0="DHCP" > > and create wpa_supplicant.conf: > > network={ > ssid="MyWireless" > mode="11g" > } According to this documentation http://www.freebsdmall.com/~loader/en_US.ISO8859-1/articles/wireless/article.html this syntax is ok on 6.0, but I don't know if the order of arguments have an importance. Regards. -- There's this old saying: "Give a man a fish, feed him for a day. Teach a man to fish, feed him for life." ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Copying kernel and OS
On Wed, Dec 07, 2005 at 10:12:27PM +0100, Jack Raats wrote: > I've two machines running FreeBSD 6.0-STABLE. > One very fast machine and one very very slow machine. On the fast > machine I can compile a new kernel and OS very quickly and easily. Is > it possible to transfer the compile world and kernel to the slow > machine. If yes whart directories etc... do i have to transfer. A quick and easy way that comes to mind is to export via NFS /usr/src and /usr/obj from the fast machine to the slow machine. Do the builds on the fast machine for configuration "SLOWPOKE". Then on the slow machine simply "make KERNCONF=SLOWPOKE installkernel" to let the standard tools do the job for you. Probably have to trust root from slowpoke on speedy so that installkernel can do all it wants. -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Disk write caching, hw.ata.wc and atacontrol disagree
I'm trying to turn off the evil data corrupting on-disk write cache. I added hw.ata.wc=0 to /boot/loader.conf and rebooted. # sysctl hw.ata.wc hw.ata.wc: 0 So far so good. But! atacontrol cap ad4 says: Feature Support EnableValue Vendor write cacheyes yes So hw.ata.wc thinks that the disk write cache is off, but atacontrol cap thinks the disk write cache is on? If it matters: AMD64, nforce4, Seagate SATA 7200.8, FreeBSD 6.0 Beta3 So then I boot NetBSD and turn the write caches off with dkctl $disk setcache r and reboot FreeBSD and now I get Feature Support EnableValue Vendor write cacheyes no It appears that if hw.ata.wc = 1 then FreeBSD turns the write cache on, and if hw.ata.wc = 0 then FreeBSD leaves the write cache alone? Is there a way to have FreeBSD turn the write cache OFF? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: motion detection software
Actually there is no such thing as motion detection using any camera. Its the calculation of deference between two images/snaps. so should I say "logic motion detection" There are so many of them in /usr/ports/graphics based on this theory. gspy is one of them I can recall. -Jahan At 09:19 AM 12/1/2005, laszlo vagner wrote: anyone know of a port/package that can detect motion from a usb camera or a logitech par port and save the image? one of the ones i found was "motion" but it was for linux. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re[2]: FreeBSD 6.x / GRE / WCCP / Squid
Hello Alan, Wednesday, December 7, 2005, 5:46:41 AM, you wrote: > ipfw conf > - > ipfw add 50 fwd 127.0.0.1,3128 tcp from any to any 80 Sorry for missleading you with wccp version2, my mistake. Now, is it a mistake or you changed the port squid listens on? First time it was 8080. Could you try to add "in via gre0" to you fwd rule? What version of FreeBSD are you using, is it a 5.3? If so, you'll have to upgrade to at least 5.4. -- Best regards, Cezarmailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Wireless networking in ad-hoc mode?
> I used some ascii2hex converter that I found online to turn the wep key > "1n4te" > into "316E3474410D0B". >From ifconfig(8) manual page (my emphasis): wepkey key|index:key Set the selected WEP key. If an index is not given, key 1 is set. A WEP key will be either 5 or 13 characters (40 or 104 bits) depending of the local network and the capabilities of the adaptor. It may be specified either as a plain string or as a string of hexadecimal digits preceded by `0x'. For maximum portability, hex keys are recommended; the mapping of text keys to WEP encryption is usually driver-specific. ** In particular, the Windows drivers do this mapping differently to FreeBSD. ** ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Thanks for FBSD6
Dominique Goncalves wrote: You can use in /etc/rc.conf: ifconfig_ath0="DHCP ssid your_ssid" That's FreeBSD 5.X and prior way of doing it. The suggested way to config your wirerless is with wpa_supplicant(8). In rc.conf add: According to this documentation http://www.freebsdmall.com/~loader/en_US.ISO8859-1/articles/wireless/article.html this syntax is ok on 6.0, but I don't know if the order of arguments have an importance. Yes, you're right, it works - I'm not sure of the order either. What doesn't work anymore is the "ancient" posibility of including these options in dhclient.conf However, wpa_supplicant is needed to handle encryption keys etc. And then comes the neat feature of supporting multiple networks. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sendmail local-host-names
On Dec 6, 2005, at 10:35 AM, Charles Howse wrote: Hi, I want to collect mail for FreeBSD user charles on my Mac. The hostname of my FreeBSD box is: moe.local User charles has an account, has been added to the qpopper authentication database, and sendmail_enable="NO" is in /etc/rc.conf. In /etc/mail/local-host-names, I have: moe.local larry.local local It's working, but I think I have too many entries in local-host-names. What entries are necessary? Are you sure you don't also need curly.local in there? Haha! You shouldn't really need any of those in there, unless mail is addressed to them. For example, if you only receive mail on that box for [EMAIL PROTECTED], and the machine's name is moe.local, you don't even need a local-host-names file. The only entries needed are those for which you accept mail, that are not the actual hostname for the box. Make sense? - Eric F Crist Secure Computing Networks http://www.secure-computing.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: PowerEdge 2850 AMD64 panics
Hi this is 'known' issue with the 5.x versions, it kernel panics under high file I/O. I've had this myself while testing a new email server. I've no idea if 6.0 fixes this issue, but it can't any worse to probably worth a go to upgrade to the 6.0 release. -- Martin On 12/7/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > This is my first post to the FreeBSD mailing list, and unfortunatley its > because I've been having a vexing problem with one of my servers. > > The machine in question is a Dell PowerEdge 2850 w/2 3Ghz EMT64 Xeons, > 2gbs of ram, a Perc 4e/Di w/6 300GB drives. > > This machines primary function is as a mail server running Exim. > > Below is a DMESG from this machine. > > This machine is running the AMD64 port of freebsd, and what is happening > is often when the volume of incoming mail gets pretty high, the machine > will panic and reboot. I have tried to capture a dump but it always fails > dumping before it completes, usually before its dumped more then 24MB. The > few times that I have seen the console when its happened the panic was > something to do with UFS. I have upgraded the bios and firmwares on > everything, and that increased the stability of the machine. I also turned > off soft updates on all the file systems, which also further increased > stability, however there is still a problem. Any > pointers/hints/tips/solutions would be greatly appreciated. Also, if more > information is needed let me know and I would be happy to provide it. > > Thanks in advance for any help you may be able to give. > > Stacy Anable > Rio Communications > > > > > The Regents of the University of California. All rights reserved. > FreeBSD 5.4-RELEASE-p7 #0: Thu Oct 6 11:13:54 PDT 2005 > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MAIL > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Xeon(TM) CPU 3.00GHz (2992.71-MHz K8-class CPU) > Origin = "GenuineIntel" Id = 0xf43 Stepping = 3 > > > Features=0xbfebfbff > Features2=0x641d,MON,DS_CPL,CNTX-ID,CX16,> > AMD Features=0x20100800 > Hyperthreading: 2 logical CPUs > real memory = 2147221504 (2047 MB) > avail memory = 2064646144 (1969 MB) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > cpu2 (AP): APIC ID: 6 > cpu3 (AP): APIC ID: 7 > ioapic0: Changing APIC ID to 8 > ioapic1: Changing APIC ID to 9 > ioapic1: WARNING: intbase 32 != expected base 24 > ioapic2: Changing APIC ID to 10 > ioapic2: WARNING: intbase 64 != expected base 56 > ioapic3: Changing APIC ID to 11 > ioapic3: WARNING: intbase 96 != expected base 88 > ioapic0 irqs 0-23 on motherboard > ioapic1 irqs 32-55 on motherboard > ioapic2 irqs 64-87 on motherboard > ioapic3 irqs 96-119 on motherboard > acpi0: on motherboard > acpi0: Power Button (fixed) > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: > on acpi0 > cpu1: on acpi0 > cpu2: on acpi0 > cpu3: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pcib1: at device 2.0 on pci0 > pci1: on pcib1 > pcib2: at device 0.0 on pci1 > pci2: on pcib2 > amr0: mem > 0xdfec-0xdfef,0xd80f-0xd80f irq 46 at device 14.0 on pci2 > amr0: Firmware 521S, BIOS H430, 256MB RAM > pcib3: at device 0.2 on pci1 > pci3: on pcib3 > pcib4: at device 4.0 on pci0 > pci4: on pcib4 > pcib5: at device 5.0 on pci0 > pci5: on pcib5 > pcib6: at device 0.0 on pci5 > pci6: on pcib6 > em0: port > 0xecc0-0xecff mem 0xdfbe-0xdfbf irq 64 at device 7.0 on pci6 em0: > Ethernet address: 00:14:22:10:4f:c2 > em0: Speed:N/A Duplex:N/A > pcib7: at device 0.2 on pci5 > pci7: on pcib7 > em1: port > 0xdcc0-0xdcff mem 0xdf9e-0xdf9f irq 65 at device 8.0 on pci7 em1: > Ethernet address: > em1: Speed:N/A Duplex:N/A > pcib8: at device 6.0 on pci0 > pci8: on pcib8 > pcib9: at device 0.0 on pci8 > pci9: on pcib9 > pcib10: at device 0.2 on pci8 > pci10: on pcib10 > pci0: at device 29.0 (no driver attached) > pcib11: at device 30.0 on pci0 > pci11: on pcib11 > pci11: at device 5.0 (no driver attached) > pci11: at device 5.1 (no driver attached) > pci11: at device 5.2 (no driver attached) > atapci0: port > 0xcc70-0xcc7f,0xccd0-0xccd3,0xccd8-0xccdf,0xcce4-0xcce7,0xccf0-0xccf7 irq > 23 at device 6.0 on pci11 > ata2: channel #0 on atapci0 > ata3: channel #1 on atapci0 > pci11: at device 13.0 (no driver attached) > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci1: port > 0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 > ata0: channel #0 on atapci1 > ata1: channel #1 on atapci1 > fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on > acpi0 > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > atkbdc0: port 0x64,0x60 irq 1 on acpi0 > atkbd0: flags 0x1 irq 1 on atkbdc0 > kbd0 at atkbd0 > psm0: irq 12 on atkbdc0 > psm0: model IntelliMouse Explorer, device ID 4 > sio0: configured irq 4 not in bitm
Wireless networking in ad-hoc mode?
Hello! I need to connect my laptop to the wireless NIC on my FreeBSD 6.0-STABLE gateway. It's ral0, and I've set it to ad-hoc mode. My laptop, running Windows XP, can see the network "bsd" but not ping it / connect to it. I used some ascii2hex converter that I found online to turn the wep key "1n4te" into "316E3474410D0B". # ifconfig ral0 inet 192.168.0.1 netmask 255.255.255.0 media autoselect mode 11b mediaopt adhoc ssid bsd wepmode on wepkey 316E3474410D0B # dmesg | grep ral0 ral0: mem 0xfeafc000-0xfeafdfff irq 22 at device 1.0 on pci2 # ifconfig ral0 -m ral0: flags=8843 mtu 1500 inet6 fe80::214:85ff:fe1b:cbdf%ral0 prefixlen 64 scopeid 0x2 ether 00:14:85:1b:cb:df media: IEEE 802.11 Wireless Ethernet autoselect (DS/1Mbps) status: no carrier ssid bsd channel 11 authmode OPEN privacy ON deftxkey UNDEF txpowmax 100 protmode CTS bintval 100 I appreciate this guys! Thanks! -- Fafa Hafiz Krantz Research Designer @ http://www.bleed.com -- ___ Play 100s of games for FREE! http://games.mail.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Copying kernel and OS
Jack Raats wrote: I've two machines running FreeBSD 6.0-STABLE. One very fast machine and one very very slow machine. On the fast machine I can compile a new kernel and OS very quickly and easily. Is it possible to transfer the compile world and kernel to the slow machine. If yes whart directories etc... do i have to transfer. Jack I do something like this. I build on the fast machine, and then use NFS to allow the slow machine to access /usr/src and /usr/obj. I have found that it is important to preserve the names of the directories, so that they are also called /usr/src and /usr/obj on the slow machine. Then I just do mergemaster, make installworld, make installkernel (in the appropriate order) on the slow machine, and it works like a charm. The entries in fstab are like this: hub2:/usr/obj/usr/objnfs rw,bg,noauto0 0 hub2:/usr/src/usr/srcnfs rw,bg,noauto0 0 where hub2 is the name of the fast machine. In /etc/exports on hub2 I have something like this /usr -maproot=root -alldirs -network 10.0.0.0 -mask 255.255.255.0 (here 10.0.0.0 is the IP addresses of my LAN) and in /etc/rc.conf on hub2 I have some lines like nfs_server_enable="YES" rpcbind_enable="YES" Then on the slow machine I simply type mount /usr/src mount /usr/obj -- Stephen Montgomery-Smith [EMAIL PROTECTED] http://www.math.missouri.edu/~stephen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Copying kernel and OS
Jack Raats wrote: I've two machines running FreeBSD 6.0-STABLE. One very fast machine and one very very slow machine. On the fast machine I can compile a new kernel and OS very quickly and easily. Is it possible to transfer the compile world and kernel to the slow machine. If yes whart directories etc... do i have to transfer. see the handbook, this section seems for you: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/small-lan.html Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: thunderbird file locations
On Wednesday 07 December 2005 11:36, eoghan wrote: > On 7 Dec 2005, at 11:24, Erik Norgaard wrote: > > Have you looked in ~/.thunderbird? > > > ... > this is in /root/.thunderbird I can't think of any good reason to run thunderbird as root. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Copying kernel and OS
I've two machines running FreeBSD 6.0-STABLE. One very fast machine and one very very slow machine. On the fast machine I can compile a new kernel and OS very quickly and easily. Is it possible to transfer the compile world and kernel to the slow machine. If yes whart directories etc... do i have to transfer. Jack ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Thanks for FBSD6
Erik Nørgaard wrote: and create wpa_supplicant.conf: network={ ssid="MyWireless" mode="11g" } ofcourse there are more options see wpa_supplicant.conf(5), I just now see that I've used 11g incorrectly. Well, another thing that maybe someone can highlight: Say you configure two (or more) networks, one uses dhcp the other static ip, or they use two different static ip's. How to go about that? Thanks, Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
kde hangs at first start...
Hi, I install FreeBSD 6.0 in my box and create the file xorg.conf.new with rights values. Then I try it with Xorg -config ... (and it works fine)... but when I try to start kde (writing "kdm" in the console as root) the screen change his resolution trying to start kde but when appear the screen where you must to type your user and password the computer hangs. I try this in two computers and obtain the same effect (and both have PCI Express graphic card). Motherboard: P5GD1_PRO (Intel 915 Chipset) Graphic card: nVidia GeForce FX 6200 128Mb Someone trying to install FreeBSD 6.0 with a PCI Express graphic have a similar problem? Thx! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Thanks for FBSD6
Dominique Goncalves wrote: basically the meat of the script looks like: ifconfig ath0 ssid "my wireless network" dhclient ath0 if someone can tell me what /etc/rc.conf options i need to set to duplicate that, that would be cool. i played around with it for a while but never got it to work without my custom script. You can use in /etc/rc.conf: ifconfig_ath0="DHCP ssid your_ssid" That's FreeBSD 5.X and prior way of doing it. The suggested way to config your wirerless is with wpa_supplicant(8). In rc.conf add: wpa_suplicant_enable="YES" ifconfig_ath0="DHCP" and create wpa_supplicant.conf: network={ ssid="MyWireless" mode="11g" } The neat thing is that you can configure multiple networks and wpa_supplicant will try them in order. Note that dhclient was replaced with the new OpenBSD implementation in FBSD6, and wpa_supplicant introduced to handle association with wireless networks. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
pkgdb format
Hello Ive recently upgraded to 6.0 and I decided to upgrade my ports... So I ran a: portupgrade -af Its running fine, but each time its upgrade a port I get: [Updating the pkgdb in /var/db/pkg ... Failed `Inappropriate file type or format'; rebuild needed] [Rebuilding the pkgdb in /var/db/pkg ... - 439 packages found (-0 +439) Just wondering if its to do with my upgrade to 6.0 (from 5.4) Thanks Eoghan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Thanks for FBSD6
Hi, On 12/7/05, Jon Drukman <[EMAIL PROTECTED]> wrote: > Just a note to say thanks to all the hard working people who created > FBSD6. I spent an annoying week trying to get some minimal > "lightweight" Linux distros to work "out of the box" on an ancient > laptop that I had lying around. They all had various problems, such as: > unable to recognize/configure the wireless ethernet card, or the X > server wouldn't come up properly. FBSD6 worked basically "out of the > box". I had to create a custom script in rc.d to get the wireless to > work on boot, but that was about it. > > basically the meat of the script looks like: > > ifconfig ath0 ssid "my wireless network" > dhclient ath0 > > > if someone can tell me what /etc/rc.conf options i need to set to > duplicate that, that would be cool. i played around with it for a while > but never got it to work without my custom script. You can use in /etc/rc.conf: ifconfig_ath0="DHCP ssid your_ssid" Read rc.conf(5) for more information. HTH Regards > > -jsd- > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > -- There's this old saying: "Give a man a fish, feed him for a day. Teach a man to fish, feed him for life." ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
6.0 STABLE install locks up within a few minutes
Hello everyone, I'm trying to get v6.0-STABLE installed on a PC that is running Windows (XP Pro) now. The hardware is very stable with Windows, it's just bogged down with all the updates and third-party apps you need to keep it that way. I'm running FreeBSD in other systems but haven't tried this newer version yet. However, the system locks up at a different place everytime I attempt the install. It seems completely random. Sometimes I get to where it's mostly configured and I'm adding ported apps and sometimes it doesn't run long enough to get to that point. Once it locks up, it will not respond to any input. More often than not, the lock up happens when I'm adding ported apps so I tried the obvious - not loading any. After getting it booted up that way (which I'm able to do argueably because of the short amount of uptime) it will still lock up after 5-10 miutes of messing around with it. I have also tried skipping over configuring and bringing up the Ethernet interface but it will still lock up. It seems like no matter what it doing, when it locks up is determined by the amount of uptime which varies from 5 to 10 minutes or so. I have tried booting the "without ACPI" option and it won't even boot up that way due to some IRQ 19 error. Normally I see no real problems on the screen during bootup. I'm running the Gigabyte 7N400-L motherboard with NForce2 chipset + Corsair XMS DDR + AMD XP+ 3200 cpu + ATi RADEON 9600 Pro 256MB + SATA PCI add-on card w/ (2) SATA HDDs + (2) ATA HDDs Shouldn't this system be fully supported? I'm going to try this again tonight without the SATA drives to see if that's the issue. Any other ideas would be appreciated. Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Unable to start Webmin
Gerard Seibert wrote: Webmin has suddenly refused to start. This is the message displayed: Starting webmin. Segmentation fault (core dumped) A humongous 'perl.core' file is produced. I tried removing and reinstalling webmin, but that failed to alleviate the problem. I am open to any suggestions. Maybe PERL is the culprit? How up-to-date is that? KDK -- The little girl expects no declaration of tenderness from her doll. She loves it -- and that's all. It is thus that we should love. -- DeGourmont ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Unable to start Webmin
Gerard Seibert sat at his 'puter and typed on 12/8/2005 0:51: Webmin has suddenly refused to start. This is the message displayed: Starting webmin. Segmentation fault (core dumped) A humongous 'perl.core' file is produced. I tried removing and reinstalling webmin, but that failed to alleviate the problem. I am open to any suggestions. Seems as if perl is messed up. Can you report back perl -v. Better still, try to reinstall perl if possible. Regards S. -- --- \ / | Subhro Sankha Kar \./ | GSM: +919831010002 -- Fax: +919831832913 (0Y0) |MSN: [EMAIL PROTECTED] -- Yahoo!: subhro82 -ooO--(_)--Ooo- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Thanks for FBSD6
Just a note to say thanks to all the hard working people who created FBSD6. I spent an annoying week trying to get some minimal "lightweight" Linux distros to work "out of the box" on an ancient laptop that I had lying around. They all had various problems, such as: unable to recognize/configure the wireless ethernet card, or the X server wouldn't come up properly. FBSD6 worked basically "out of the box". I had to create a custom script in rc.d to get the wireless to work on boot, but that was about it. basically the meat of the script looks like: ifconfig ath0 ssid "my wireless network" dhclient ath0 if someone can tell me what /etc/rc.conf options i need to set to duplicate that, that would be cool. i played around with it for a while but never got it to work without my custom script. -jsd- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
PowerEdge 2850 AMD64 panics
This is my first post to the FreeBSD mailing list, and unfortunatley its because I've been having a vexing problem with one of my servers. The machine in question is a Dell PowerEdge 2850 w/2 3Ghz EMT64 Xeons, 2gbs of ram, a Perc 4e/Di w/6 300GB drives. This machines primary function is as a mail server running Exim. Below is a DMESG from this machine. This machine is running the AMD64 port of freebsd, and what is happening is often when the volume of incoming mail gets pretty high, the machine will panic and reboot. I have tried to capture a dump but it always fails dumping before it completes, usually before its dumped more then 24MB. The few times that I have seen the console when its happened the panic was something to do with UFS. I have upgraded the bios and firmwares on everything, and that increased the stability of the machine. I also turned off soft updates on all the file systems, which also further increased stability, however there is still a problem. Any pointers/hints/tips/solutions would be greatly appreciated. Also, if more information is needed let me know and I would be happy to provide it. Thanks in advance for any help you may be able to give. Stacy Anable Rio Communications The Regents of the University of California. All rights reserved. FreeBSD 5.4-RELEASE-p7 #0: Thu Oct 6 11:13:54 PDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MAIL Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 3.00GHz (2992.71-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0xf43 Stepping = 3 Features=0xbfebfbff Features2=0x641d,MON,DS_CPL,CNTX-ID,CX16,> AMD Features=0x20100800 Hyperthreading: 2 logical CPUs real memory = 2147221504 (2047 MB) avail memory = 2064646144 (1969 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 6 cpu3 (AP): APIC ID: 7 ioapic0: Changing APIC ID to 8 ioapic1: Changing APIC ID to 9 ioapic1: WARNING: intbase 32 != expected base 24 ioapic2: Changing APIC ID to 10 ioapic2: WARNING: intbase 64 != expected base 56 ioapic3: Changing APIC ID to 11 ioapic3: WARNING: intbase 96 != expected base 88 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 32-55 on motherboard ioapic2 irqs 64-87 on motherboard ioapic3 irqs 96-119 on motherboard acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 2.0 on pci0 pci1: on pcib1 pcib2: at device 0.0 on pci1 pci2: on pcib2 amr0: mem 0xdfec-0xdfef,0xd80f-0xd80f irq 46 at device 14.0 on pci2 amr0: Firmware 521S, BIOS H430, 256MB RAM pcib3: at device 0.2 on pci1 pci3: on pcib3 pcib4: at device 4.0 on pci0 pci4: on pcib4 pcib5: at device 5.0 on pci0 pci5: on pcib5 pcib6: at device 0.0 on pci5 pci6: on pcib6 em0: port 0xecc0-0xecff mem 0xdfbe-0xdfbf irq 64 at device 7.0 on pci6 em0: Ethernet address: 00:14:22:10:4f:c2 em0: Speed:N/A Duplex:N/A pcib7: at device 0.2 on pci5 pci7: on pcib7 em1: port 0xdcc0-0xdcff mem 0xdf9e-0xdf9f irq 65 at device 8.0 on pci7 em1: Ethernet address: em1: Speed:N/A Duplex:N/A pcib8: at device 6.0 on pci0 pci8: on pcib8 pcib9: at device 0.0 on pci8 pci9: on pcib9 pcib10: at device 0.2 on pci8 pci10: on pcib10 pci0: at device 29.0 (no driver attached) pcib11: at device 30.0 on pci0 pci11: on pcib11 pci11: at device 5.0 (no driver attached) pci11: at device 5.1 (no driver attached) pci11: at device 5.2 (no driver attached) atapci0: port 0xcc70-0xcc7f,0xccd0-0xccd3,0xccd8-0xccdf,0xcce4-0xcce7,0xccf0-0xccf7 irq 23 at device 6.0 on pci11 ata2: channel #0 on atapci0 ata3: channel #1 on atapci0 pci11: at device 13.0 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci1: port 0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: channel #0 on atapci1 ata1: channel #1 on atapci1 fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse Explorer, device ID 4 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A orm0: at iomem 0xec000-0xe,0xc-0xcafff on isa0 ppc0: cannot reserve I/O port range sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa-0xb on isa0 Timecounters tick every 1.000 msec acd0: CDRW at ata0-master PIO4 ata2-master: FAILURE - SETFEATURES SET TRANSFER MODE s
Unable to start Webmin
Webmin has suddenly refused to start. This is the message displayed: Starting webmin. Segmentation fault (core dumped) A humongous 'perl.core' file is produced. I tried removing and reinstalling webmin, but that failed to alleviate the problem. I am open to any suggestions. -- Gerard [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Acer Altos G5350
Anyone tried this HW? Does it work with 6.0 AMD64? Or i386? Does anyone know what kind of SCSI controller it has? Does the NIC work? bye & Thanks av. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: not rebooting on panic 5.4
Never mind, swap=ram. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ruben Bloemgarten Sent: December 07, 2005 4:18 PM To: freebsd-questions@freebsd.org Subject: not rebooting on panic 5.4 Hi all, I was hoping someone could tell me how to enable 5.4 to reboot automagically on panics. It just hanging there isn't helping. Thanks, Ruben ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.12/192 - Release Date: 12/05/2005 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.12/192 - Release Date: 12/05/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: PC-BSD and Request Tracker
On Wed, Dec 07, 2005 at 12:38:02PM -0600, Rory Schmitz wrote: > I'm fairy new to Linux and I'm in the process of installing > Request Tracker (RT) for trouble tickets with staff members. The > RT website stated I needed to be running PERL 5.8.3 or higher on > my BSD box. With that,a couple questions: After reading the message subject and this paragraph, I'm not sure what you're running, exactly. You mention Linux -- FreeBSD is not Linux. You also mention PC-BSD. FreeBSD is also not PC-BSD (although PC-BSD is based on FreeBSD). All the different *nixes can be confusing, but clarifying your setup will make it easier for us to help. > 1) Can RT be ran from PC-BSD if you are familiar with RT? This seems to be an RT or PC-BSD -specfic question; this list is not dedicated to either piece of software. You'll have better luck asking in PC-BSD's support channels or on the RT-users' mailing list, [EMAIL PROTECTED] Since RT is mostly Perl-dependent, I imagine you could get it running (albeit with a little fuss), although PC-BSD isn't explicitly supported by BestPractical. I'd recommend choosing an OS officially supported by BP (like FreeBSD, various Linuxes, or Solaris) -- many of these OSs have packages or ports of RT available, as well, although compiling it by hand is often a better choice for production servers. > 2) What PERL version is included in this distro? I'm sure they have Perl 5.8.3+, although I can't find anything on their site to corroborate that. Again, you'll have better luck asking PC-BSD. > Thanks, Good luck! -- o--{ Will Maier }--o | jabber:[EMAIL PROTECTED] | email:[EMAIL PROTECTED] | | [EMAIL PROTECTED] | [EMAIL PROTECTED] | *--[ BSD Unix: Live Free or Die ]--* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Changing maximum number of groups in FBSD - is it feasible?
On 12/7/05, Ian Moore <[EMAIL PROTECTED]> wrote: > Hi, > > I'm toying with the idea of increasing the maximum number of groups a user can > belong to on one of my servers - we have a rather complex organisation and > we're hitting the 15 group limit for some people. Have you considered cascading groups? That's the normal workaround on Enterprise Unix systems like HP-UX and Solaris. Instead of putting everyong in "group", do this instead. group:*:100:group1,group2 group1:*:101:user1,user2 group2:*:102:user3, user4 Thus, the users are all transitively in group, and you work around the limit. Mike -- Michael P. Soulier <[EMAIL PROTECTED]> ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
X error: [drm] failed to load kernel module "i915"
Hello I have problem with running X. I have tried to run it on FreeBSD 6.0 with LG 1730s and intel integrated card 82865G. after I had read previous posts I have tried to change the Xorg.conf.new and test it but I still getting the errors: [drm] failed to load kernel module "i915" (EE) I810(0): [DRI] DRIScreenInit failed. Disabling DRI. FreeFontPath: FPE "/usr/X11R6/lib/X11/Fonts/misc/" refcount is 2, should be 1:, fixing also I have seen this warning on the log file: (WW) I810(0): Bad V_BIOS checksum Does anyone know how to solve it? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
PC-BSD and Request Tracker
Hi, I'm fairy new to Linux and I'm in the process of installing Request Tracker (RT) for trouble tickets with staff members. The RT website stated I needed to be running PERL 5.8.3 or higher on my BSD box. With that,a couple questions: 1) Can RT be ran from PC-BSD if you are familiar with RT? 2) What PERL version is included in this distro? Thanks, Rory Schmitz Technology Coordinator Henning ISD #545 500 School AvenueHenning, MN 56551 Phone 218-583-2927 Fax 218-583-2312 Cell 218-639-5487 [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Changing maximum number of groups in FBSD - is it feasible?
On Wed, 7 Dec 2005, Ian Moore wrote: > Hi, > > I'm toying with the idea of increasing the maximum number of groups a user > can > belong to on one of my servers - we have a rather complex organisation and > we're hitting the 15 group limit for some people. > > There seems to be differing opinions on how to do this and if it's actually > feasible. One post I found said: > > > in src/sys/sys/syslimits.h there is a constant named 'NGROUPS_MAX'. > > change it to however many you need (within reason), rebuild/install world > > and kernel. > > Another said you have to change all sorts of things in the source, modify a > kernel parameter, rebuild world and rebuild any port that uses NGROUPS - > which probably means a portupgrade -fa. > > There is talk of a maxgroups() parameter in the kernel, but NOTES makes no > mention of this. > > I wonder too if some apps would need their own configuration altered to allow > them to work with the higher limit. > > So I just wanted to ask if anyone has successfully raised the NGROUPS_MAX > limit, especially when running samba & nfs on the system? > > If not, I'll work around the problem a different way. > > (BTW I'm running 5.4-RELEASE) > > Cheers, > -- > Ian > gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc > Ian, Since you are running FreeBSD 5.x, have you considered using ACLs? See the handbook section 14.12. Jon pgpRQFNRzSigg.pgp Description: PGP signature
Re: odd problem with firewall server
Matt Singerman wrote: Hi all, This probably isn't a FreeBSD-specific problem, but it's vexing nonetheless. So we have our servers accessing the outside world through their own firewall on a FreeBSD machine. Nothing too fancy, just routing traffic and shutting off unused ports. However, this morning the ethernet jack that the firewall server's world-accessible ethernet port (dc1) was plugged into. The solution: plug it into another jack :) This amazingly complex solution worked, except that I can now no longer ssh or ping the machine. Any ideas as to what may have caused this? Thanks, Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Not without knowing more about your network, and/or the switch/device at the other end of that jack. -- Nathan Vidican [EMAIL PROTECTED] Windsor Match Plate & Tool Ltd. http://www.wmptl.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gnome2
On Wed, December 7, 2005 12:21 pm, Paul Schmehl wrote: > --On Wednesday, December 07, 2005 11:13:45 -0500 "Louis J. LeBlanc" > <[EMAIL PROTECTED]> wrote: > >> >>> >>> Edit /etc/ttys like this: >>> ttyv8 "/usr/X11R6/sbin/gdm -nodaemon" xterm on secure >>> >>> And gnome will start when you boot. >>> >> Actually, don't the docs suggest turning OFF ttyv8? IIRC, the more >> recent >> approach is to put "gdm_enable=YES" (or something similar) in /etc/rc.d. >> Check the pkg_message file in the port directory to be sure. >> > pkg-message points to www.freebsd.org/gnome, which doesn't say anything > about startup (AFAICS) except this: > > Make GNOME 2.12 start when X starts. > > Once you have the GNOME 2.12 desktop installed, GNOME 2.12 can be started > by adding the following line to ~/.xsession or ~/.xinitrc, as appropriate: > > exec gnome-session Yes, this detail was mentioned previously, and I did forget to repeat it ... > There's nothing about starting gnome in /usr/ports/UPDATING. > > The Handbook suggests using ttyv8 (as I do) for xdm (section 5.6.2): > ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xterm off secure Yes, this turns the display manager running on ttyv8 off - no display manager will start up. It does, however, create the virtual terminal for gdm to start on. This is actually the default entry anyway. > > Section 5.7.1.2 says this: > > The easiest way to start GNOME is with GDM, the GNOME Display Manager. > GDM, > which is installed as a part of the GNOME desktop (but is disabled by > default), can be enabled by adding gdm_enable="YES" to /etc/rc.conf. Once > you have rebooted, GNOME will start automatically once you log in -- no > further configuration is necessary. > > In short, there's more than one way to skin a cat. Actually, I was under the impression they were just different parts of the same procedure. I believe the entry above assumes that /etc/ttys has not already been modified to start xdm (i.e. it's still "off", which is the default at install). If the virtual terminal line is omitted or commented out, gdm will not have a place to run. If it is "on" instead of "off" that terminal will run xdm instead. If "gdm_enable=yes" is not put in /etc/rc.conf (I wrote /etc/rc.d in my last message, which was a mistake on my part), the script installed in /usr/local/etc/rc.d/ will not start gdm at startup. Thanks for the correction regarding /etc/rc.conf. Cheers. Lou -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :þ http://www.keyslapper.net Ô¿Ô¬ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
odd problem with firewall server
Hi all, This probably isn't a FreeBSD-specific problem, but it's vexing nonetheless. So we have our servers accessing the outside world through their own firewall on a FreeBSD machine. Nothing too fancy, just routing traffic and shutting off unused ports. However, this morning the ethernet jack that the firewall server's world-accessible ethernet port (dc1) was plugged into. The solution: plug it into another jack :) This amazingly complex solution worked, except that I can now no longer ssh or ping the machine. Any ideas as to what may have caused this? Thanks, Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Error Building ICU
I am unable to build the devel/icu port. Everything goes fine until the end when this error message is displayed: /custrtrn/ ---[OK] ---/custrtrn/Test_UChar_UTF32_API ---[OK] ---/custrtrn/Test_UChar_UTF8_API ---[OK] ---/custrtrn/Test_UChar_WCHART_API ---[OK] ---/custrtrn/Test_widestrs cintltst in free(): error: page is already free Abort trap (core dumped) *** Error code 134 Stop in /usr/ports/devel/icu. *** Error code 1 Everything prior to this message appears fine. I can supply the entire build output if necessary. Thanks! -- Gerard [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Pxeboot for nfs installation woes.
Erik Norgaard wrote: Christopher McGee wrote: Hi all, I have a lot of servers on order, so I want to be able to just network boot them as a jumpstart into the installation (which will then be scripted). I am most of the way there. I have tested my NFS shares and if I boot a boxe off a cd, I can do the nfs installation without fail. I have setup pxeboot, and if I am far enough along that when I boot off the network, it tftp's the files it needs, boots through menus, loads the generic kernel, mounts an nfs root, then errors. The errors are "exec /sbin/init: error 70". One error for each attempt at an init file. Then it gives me an "init: not found in path /sbin/init:/sbin/oinit.." Then it panics and reboots. There is so much I've done, I'm not sure what specifics anyone might need to offer some assistance. 1st: I have done it but with ftp install rather than nfs, see here: http://www.daemonsecurity.com/pxe/ I used no cd's to bootstrap or anything. 2nd: One of the first things done in the bootstrapping is to load the loader.conf, in this you can override any settings of paths to the init program. For installation usually sysinstall is used, which can be scripted - I assume you are refering to this? - you can set the path with an option in loader.conf, for example: init_path="/stand/sysinstall" The option may contain a colon separated list of files and they are checked in order, the first found is run. Check the path to your init or sysinstall on the nfs-client. Cheers, Erik That is the how-to that I started with, however it jumps around a bit becaues they are also showing how to do diskless clients. Basically I have this: /tftpboot is a link to /usr/local/export/freebsd I have put the entire cd in /usr/local/export/freebsd copied pxeboot to /usr/local/export/freebsd setup nfsserver:/usr/local/export/freebsd as the root_path on the dhcp server. It appears to try to mount that share as the rootpath. the nfsserver is exporting /usr -alldirs After the kernel boots there is a line that says: NFS ROOT: 192.168.1.98:/usr/local/export/freebsd and then it errors. If that is path to the root of the cd, this should work correct? Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: schedule a script at "system startup"
On 12/4/2005 6:14 AM Werther Pirani wrote: Ian Lord wrote: I guess there might be a way to put a script in /etc/rd.d/ but I don't know how to run it under a specifid uid Create a script (name is not important as long as it ends in .sh) Although customary, it does not have to end in ".sh" AFIK Cheers, Drew. and put it in /usr/local/etc/rc.d. Also, make sure the script is executable and contains lines like: #!/bin/sh echo -n " some informative message here" su -l username -c '( command arg1 ... argn )' Run the script (as root) manually with /usr/local/etc/rc.d/sctript.sh to verify everything is okay and in case you need/want to add redirection (still inside parenthesis). Hope this helps, Werther -- Visit The Alchemist's Warehouse Magic Tricks, DVDs, Videos, Books, & More! http://www.alchemistswarehouse.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Detecting new hardware
"Keith Bottner" <[EMAIL PROTECTED]> wrote: > Is there any kind of a utility that I can run to detect a new network > card that I just installed into an existing FreeBSD 5.4 box? pciconf -lv Fabian -- http://www.fabiankeil.de/ signature.asc Description: PGP signature
Re: gnome2
--On Wednesday, December 07, 2005 11:13:45 -0500 "Louis J. LeBlanc" <[EMAIL PROTECTED]> wrote: Edit /etc/ttys like this: ttyv8 "/usr/X11R6/sbin/gdm -nodaemon" xterm on secure And gnome will start when you boot. Actually, don't the docs suggest turning OFF ttyv8? IIRC, the more recent approach is to put "gdm_enable=YES" (or something similar) in /etc/rc.d. Check the pkg_message file in the port directory to be sure. pkg-message points to www.freebsd.org/gnome, which doesn't say anything about startup (AFAICS) except this: Make GNOME 2.12 start when X starts. Once you have the GNOME 2.12 desktop installed, GNOME 2.12 can be started by adding the following line to ~/.xsession or ~/.xinitrc, as appropriate: exec gnome-session There's nothing about starting gnome in /usr/ports/UPDATING. The Handbook suggests using ttyv8 (as I do) for xdm (section 5.6.2): ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xterm off secure It also shows the same usage in section 3.2.4, WRT the /etc/ttys file. Section 11.12 explains how to add additional virtual consoles if you need them, and says, "Use as many or as few as you want." Then it explains that, if you use X, you must have one virtual console that is turned off or unused so that X will run. Section 5.7.1.2 says this: The easiest way to start GNOME is with GDM, the GNOME Display Manager. GDM, which is installed as a part of the GNOME desktop (but is disabled by default), can be enabled by adding gdm_enable="YES" to /etc/rc.conf. Once you have rebooted, GNOME will start automatically once you log in -- no further configuration is necessary. In short, there's more than one way to skin a cat. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Pxeboot for nfs installation woes.
Christopher McGee wrote: Hi all, I have a lot of servers on order, so I want to be able to just network boot them as a jumpstart into the installation (which will then be scripted). I am most of the way there. I have tested my NFS shares and if I boot a boxe off a cd, I can do the nfs installation without fail. I have setup pxeboot, and if I am far enough along that when I boot off the network, it tftp's the files it needs, boots through menus, loads the generic kernel, mounts an nfs root, then errors. The errors are "exec /sbin/init: error 70". One error for each attempt at an init file. Then it gives me an "init: not found in path /sbin/init:/sbin/oinit.." Then it panics and reboots. There is so much I've done, I'm not sure what specifics anyone might need to offer some assistance. 1st: I have done it but with ftp install rather than nfs, see here: http://www.daemonsecurity.com/pxe/ I used no cd's to bootstrap or anything. 2nd: One of the first things done in the bootstrapping is to load the loader.conf, in this you can override any settings of paths to the init program. For installation usually sysinstall is used, which can be scripted - I assume you are refering to this? - you can set the path with an option in loader.conf, for example: init_path="/stand/sysinstall" The option may contain a colon separated list of files and they are checked in order, the first found is run. Check the path to your init or sysinstall on the nfs-client. Cheers, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt Subject ID: 9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72 Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Detecting new hardware
Is there any kind of a utility that I can run to detect a new network card that I just installed into an existing FreeBSD 5.4 box? Thanks, Keith ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Current state of AFS in freeBSD or alternatives.
Hi folks, Is there a working version of AFS server/client for 5.4 ? I found openafs-1.4.0 for FreeBSD 6. Currently we're running 5.4 here and are not sure that we want to move to 6 yet for production. The only option for 5.x appears to be Arla, but I don't know what the stability of that is and it appears to be focused on the client side. Is this something I can consider for a production system ? I also need to manage clients writing to the filesystem and the possibility of server failure. AFS appears to not handle this well, or is my interpretation of the docs wrong ? This may be getting beyond the scope of this list, but my actual need is for redundant fileservers running on FreeBSD. AFS seems to be the closest thing I can find, but I have the feeling that someone had to do this before and maybe they're here. Thanks, Craig ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Pxeboot for nfs installation woes.
Hi all, I have a lot of servers on order, so I want to be able to just network boot them as a jumpstart into the installation (which will then be scripted). I am most of the way there. I have tested my NFS shares and if I boot a boxe off a cd, I can do the nfs installation without fail. I have setup pxeboot, and if I am far enough along that when I boot off the network, it tftp's the files it needs, boots through menus, loads the generic kernel, mounts an nfs root, then errors. The errors are "exec /sbin/init: error 70". One error for each attempt at an init file. Then it gives me an "init: not found in path /sbin/init:/sbin/oinit.." Then it panics and reboots. There is so much I've done, I'm not sure what specifics anyone might need to offer some assistance. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gnome2
> --On Wednesday, December 07, 2005 16:28:59 +0200 spen <[EMAIL PROTECTED]> > wrote: > >> Hello all, >> I have installed freebsd 6.0 STABLE in an ACER laptop recently. I would >> like to have gui, so I tried to install from the ports gnome2. >> I have *updated *my ports. >> I tried to run dm, gdm but none worked. >> When I run startx, x windows start but not gnome2. >> I have added to ~/.xsession the line /exec gnome-session /but still >> nothing >> happens. >> I haven't found around the mailing lists a problem like that. >> Does anybody have any idea about it? >> Am I doing anything wrong? > > Edit /etc/ttys like this: > ttyv8 "/usr/X11R6/sbin/gdm -nodaemon" xterm on secure > > And gnome will start when you boot. > Actually, don't the docs suggest turning OFF ttyv8? IIRC, the more recent approach is to put "gdm_enable=YES" (or something similar) in /etc/rc.d. Check the pkg_message file in the port directory to be sure. I did try this recently (sometime in the last few weeks) but didn't have the time to devote to getting gdm/gnome2 to work right myself. I found kdm much easier to get right - though I can't quite get gnome working through it. Still, you can run enlightenment from kdm, as well as Fvwm2, KDE, etc. If I were more interested in the session management, rather than plain flexible window management, I'd probably try harder ... HTH Lou -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :þ http://www.keyslapper.net Ô¿Ô¬ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gnome2
--On Wednesday, December 07, 2005 16:28:59 +0200 spen <[EMAIL PROTECTED]> wrote: Hello all, I have installed freebsd 6.0 STABLE in an ACER laptop recently. I would like to have gui, so I tried to install from the ports gnome2. I have *updated *my ports. I tried to run dm, gdm but none worked. When I run startx, x windows start but not gnome2. I have added to ~/.xsession the line /exec gnome-session /but still nothing happens. I haven't found around the mailing lists a problem like that. Does anybody have any idea about it? Am I doing anything wrong? Edit /etc/ttys like this: ttyv8 "/usr/X11R6/sbin/gdm -nodaemon" xterm on secure And gnome will start when you boot. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gnome2
spen wrote: Hello all, I have installed freebsd 6.0 STABLE in an ACER laptop recently. I would like to have gui, so I tried to install from the ports gnome2. I have *updated *my ports. I tried to run dm, gdm but none worked. When I run startx, x windows start but not gnome2. I have added to ~/.xsession the line /exec gnome-session /but still nothing happens. I haven't found around the mailing lists a problem like that. Does anybody have any idea about it? Am I doing anything wrong? --spen-- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" If you wish to use "startx", then the "exec gnome-session" line should *probably* be in ~/.xinitrc (at least, that's one way I used to do this). Possibly more what you want is this in /etc/ttys: ttyv0 "/usr/X11R6/bin/gdm"cons25 on secure which should start gdm on ttyv0 after booting. IIRC, the *proper* thing to do is to put the GNOME startup script in /usr/local/etc/rc.d/, make sure it's executable, etc. But, it's been a while since I used GNOME, and development may well have superseded my knowledge Kevin Kinsey -- Take your Senator to lunch this week. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Memory limit issue (malloc) for PHP script under Apache
Olaf Greve wrote: Hi all, A colleague of mine has run into a weird issue, for which we hope someone knows a solution (or otherwise: if someone knows there's no (easy) solution, that's also good to know. The issue: when running a script that will consume a large amount of memory (under FreeBSD 5.2.1-release i386, with custom kernel, with Apache 1.3.34_2, PHP 4.4.1 as mod_php4); Apache seems to deschedule the script in question as soon as it starts to consume over more or less 512MB of memory; the machine has 1GB of memory, and at the moment of running the script the rest of the machine is pretty much idle. It's probably a limit problem. If you were running apache2 you'd have easy control over limits: From /usr/local/etc/rc.d/apache.sh # apache2limits_args (str): Default to "-e -C daemon" # Arguments of pre-start limits run. which, IIUC picks up limits from /etc/login.conf class daemon (which on 5.4 seems to default to everything unlimited). You could just try hacking your apache1 startup script and putting: ulimit -m unlimited somewhere at the start. Type ulimit -a to see all the possibles or man sh. You can put the ulimit -a in your start up script too just so you can see what the limits are when apache starts. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
not rebooting on panic 5.4
Hi all, I was hoping someone could tell me how to enable 5.4 to reboot automagically on panics. It just hanging there isn't helping. Thanks, Ruben ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Memory limit issue (malloc) for PHP script under Apache - solved!
Hi guys, Well, my colleague has done some more RTFM-ing and Googling, and he found the following solution: Put kern.maxdsiz="1073741824" in /boot/loader.conf (see the example in /boot/defaults/loader.conf), and then reboot. That way a new kernel compilation was not required. Tnx for thinking with me! Cheers, Olafo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ee(1): why Backspace doesn't work as expected if $TERM=xterm?
Constantine A. Murenin wrote: > They map it perfectly fine as 127, it's only FreeBSD's ee(1) that has > this problem, tcsh and others work fine. ee does not do this on the console on my 5.4 machine, nor does it do this in an XTerm over an ssh connection to my 4.11 machine, therefore I would suspect the problem must be with the terminal emulator key mappings or pseudo-terminal settings. In fact, since changing the value of TERM fixed things, it PROVES the problem is with one of these. If you go to the PuTTY website you will find a simple answer to your question in the online documentation. In the data panel of the configuration settings, you may change the terminal-type-string to vt200, to cause PuTTY to set TERM correctly for you. -- James Bailie <[EMAIL PROTECTED]> http://www.jamesbailie.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Newbie: Ports upgrade, CVSup, and disk space problems
On Wednesday 07 December 2005 14:43, Charles Haynes wrote: > Hi, all. I'm new to FreeBSD. > > I'm setting up a machine to act as a webserver using: > > FreeBSD 4.11-RELEASE-p12-jc2 (jail18) #0 > > Tonight I added the package: > > cvsup-without-gui-16.1h_2 > > and ran: > > # cvsup -g -L 2 /root/cvs-supfile > > After it ran (which took over an hour), I realized I used the > "cvs-supfile" and not the "ports-supfile." I only wanted to update the > ports tree, and not download the entire CVS repository. How do I prune > this back to a manageable size? I'm going to be using this machine > (it's a VPS) as a webserver only. > Just delete /usr/src. You can get it back if you need it by redoing the cvsup. Ashley ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Newbie: Ports upgrade, CVSup, and disk space problems
Hi, all. I'm new to FreeBSD. I'm setting up a machine to act as a webserver using: FreeBSD 4.11-RELEASE-p12-jc2 (jail18) #0 Tonight I added the package: cvsup-without-gui-16.1h_2 and ran: # cvsup -g -L 2 /root/cvs-supfile After it ran (which took over an hour), I realized I used the "cvs-supfile" and not the "ports-supfile." I only wanted to update the ports tree, and not download the entire CVS repository. How do I prune this back to a manageable size? I'm going to be using this machine (it's a VPS) as a webserver only. Many thanks for any assistance you can offer! Here's the relevant parts of the supfile: *default host=cvsup9.us.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs *default delete use-rel-suffix *default compress src-all ports-base ports-archivers ports-benchmarks ports-comms ports-converters ports-databases ports-devel ports-dns ports-editors ports-ftp ports-java ports-lang ports-mail ports-misc ports-net ports-net-mgmt ports-security ports-shells ports-sysutils ports-textproc ports-www cvsroot-all ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ee(1): why Backspace doesn't work as expected if $TERM=xterm?
On 07 Dec 2005 09:27:48 -0500, Lowell Gilbert <[EMAIL PROTECTED]> wrote: > "Constantine A. Murenin" <[EMAIL PROTECTED]> writes: > > > Hello, > > > > When I ssh my FreeBSD 4.8 machine and try to use ee(1), I always > > notice that Backspace erases the following character, not the previous > > one. On the contrary, I've noticed that it does not do that when I > > login via console. > > > > So I decided to play with the value of $TERM. > > > > By default, when I ssh FreeBSD via PuTTY or Apple Terminal, I have the > > TERM variable set to "xterm" or "xterm-color". When I tried to > > manually change $TERM on FreeBSD and run ee, using "setenv TERM vt102 > > && ee test.txt", then Backspace key in ee(1) did behave as expected. > > > > Please, notice that Backspace does behave as expected in tcsh, it's > > only ee(1) that shows this problem. > > > > How do I fix it without changing $TERM? > > Offhand, it sounds as though your terminal programs aren't really > emulating xterms perfectly. Look for adjustments on how they map the > backspace key... They map it perfectly fine as 127, it's only FreeBSD's ee(1) that has this problem, tcsh and others work fine. Notice that ee(1) on OpenBSD from ports works fine from the very same terminals (PuTTY etc). Problem exists only with FreeBSD's ee(1). Cheers, Constantine. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
gnome2
Hello all, I have installed freebsd 6.0 STABLE in an ACER laptop recently. I would like to have gui, so I tried to install from the ports gnome2. I have *updated *my ports. I tried to run dm, gdm but none worked. When I run startx, x windows start but not gnome2. I have added to ~/.xsession the line /exec gnome-session /but still nothing happens. I haven't found around the mailing lists a problem like that. Does anybody have any idea about it? Am I doing anything wrong? --spen-- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ee(1): why Backspace doesn't work as expected if $TERM=xterm?
"Constantine A. Murenin" <[EMAIL PROTECTED]> writes: > Hello, > > When I ssh my FreeBSD 4.8 machine and try to use ee(1), I always > notice that Backspace erases the following character, not the previous > one. On the contrary, I've noticed that it does not do that when I > login via console. > > So I decided to play with the value of $TERM. > > By default, when I ssh FreeBSD via PuTTY or Apple Terminal, I have the > TERM variable set to "xterm" or "xterm-color". When I tried to > manually change $TERM on FreeBSD and run ee, using "setenv TERM vt102 > && ee test.txt", then Backspace key in ee(1) did behave as expected. > > Please, notice that Backspace does behave as expected in tcsh, it's > only ee(1) that shows this problem. > > How do I fix it without changing $TERM? Offhand, it sounds as though your terminal programs aren't really emulating xterms perfectly. Look for adjustments on how they map the backspace key... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: libstdc++.so.5 howto ...
"Kiffin Gish" <[EMAIL PROTECTED]> writes: > I guess what I was trying to say is that I am very confused about all this > linux compatible stuff. I noticed there are many emulator ports for red hat, > suse, etc. and it is not clear to me which strategy to use. There's even an > Xfree linux compat in there, what for? For linking to Linux applications. > If I have an executable complaining that it cannot find libstdc++.so.5, what > can I do? Since it's supposed to be a Linux application, it should be getting it out of the Linux compatibility area. You said that was in place, so the question is why the linker isn't finding that one. > Perhaps there is a useful guide out there someplace, the FreeBSD handbook > chapter on the subject is very short. "man linux", for one thing. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Memory limit issue (malloc) for PHP script under Apache
Hi all, A colleague of mine has run into a weird issue, for which we hope someone knows a solution (or otherwise: if someone knows there's no (easy) solution, that's also good to know. The issue: when running a script that will consume a large amount of memory (under FreeBSD 5.2.1-release i386, with custom kernel, with Apache 1.3.34_2, PHP 4.4.1 as mod_php4); Apache seems to deschedule the script in question as soon as it starts to consume over more or less 512MB of memory; the machine has 1GB of memory, and at the moment of running the script the rest of the machine is pretty much idle. The returned error in httpd-error.log is: httpd in malloc(): error: allocation failed We tried fiddling around with the php.ini and httpd.conf files, after Googling and trying stuff like RlimitMem (which apparently only seems to have effect for the CGI version of PHP and not the Mod version), but all to no avail. The script that needs to be run will not be that easy to rewrite such that it'll use less memory; so we're hoping there's an easy trick to allow Apache to use more memory (say 900 MB). Does anyone know how to achieve this? Note: I'm aware that it would be better to tune the script, but as this is a one time brute force script; a quick work-around would be nice. :) Tnx in advance, and cheers! Olafo PS: the command "limit -h" shows a datasize limit of 524000 bytes; this seems to be the limit that applies to Apache as well. Yet, changing to the csh and trying to set it to "unlimited" doesn't do any magic either and still doesn't supercede the above limit (unless I missed something)... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: update from ports
Pablo Allietti wrote: hi i have a simple question. i was installed spamassasin from /usr/ports how is the procedure to upgrade this package? i need to deinstall and install again or have any way to only upgrade like yum in fedora? If you are doing installations by hand then, yes, you need to deinstall then reinstall. However, you should look at ports/sysutils/portupgrade or ports/sysutils/portmanager. There are a million and one messages in the archives about them, and specific questions about them regularly get answered here. If you are prepared to accept default configuration options and don't want to recompile, then check out using packages. The handbook undoubtedly has something to say about them, and you can still use portupgrade. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"