Freebsd -Squid - danguardian- Winbind- XMalloc Error
I have a box with freebsd 6.1, squid-2.5.13_1 (Ntlm authentication), dansguardian-2.9.6.1_1 and samba-3.0.22,1 2gb RAM 2 cpu. When The box has 800MB memory active, 1.2GB memory inact and 0 free memory. I get the error FATAL: xmalloc: Unable to allocate 65535 bytes and the squid process restart. I really need help, I have already search google and the list but haven't found the solution. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anyone Using the New Free Mulberry Mail Client?
RW wrote: There used to be a port of Cyrusoft's Mulberry mail client that installed the Linux rpm version; then Cyrusoft went bankrupt and the port dissappeared. Mulberry is now available for free as a standalone Linux binary: http://www.mulberrymail.com Has anyone got this working? If you just run the binary it opens and can be be configured to read an imap mailbox, but a lot of the error and warning pop-up boxes are missing text and buttons. There are probably other problems, but without the error messages it's hard to say. Is this relevant? http://trac.mulberrymail.com/mulberry/wiki/linuxproblems ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SMP detection
On Thu, 31 Aug 2006 07:05:05 -0700 (PDT) [EMAIL PROTECTED] wrote: --- Skylar Thompson [EMAIL PROTECTED] wrote: Jordi Carrillo wrote: 2006/8/30, backyard [EMAIL PROTECTED]: --- Jordi Carrillo [EMAIL PROTECTED] wrote: I've read that SMP should be disabled for performance issues (I did not know that before installing freebsd). I have a P4 3GHz with hyperthreading technology. I have the SMP-GENERIC kernel and it only launches one cpu. So, 5.4 made that the default, as has been noted here previously. See, for example, http://www.freebsd.org/cgi/getmsg.cgi?fetch=239087+242169+/usr/local/www/db/text/2006/freebsd-questions/20060806.freebsd-questions (Beware of linewrap in the URL.) I've decided to disable SMP from BIOS. Is that ok?, Sure, but why? Unless you have a multi-user system whose users whose skills at cracking systems based upon hardware security deficiencies, why would you wish to forego roughly 13%-38% of your P4's processing capacity? knowing that I have a Smp enabled kernel? or should I install one without smp? If so, is there a The GENERIC kernel is a uniprocessor kernel. The SMP kernel specifies the SMP option and then simply includes the rest of the GENERIC configuration. If you're running GENERIC, then the sysctl variable won't make any difference. If you're running SMP, then you need to change the variable to 1. (See the above referenced posting URL.) way to install one already precompiled? If you didn't build SMP, then you probably are running GENERIC. IIRC, the system as distributed has only a GENERIC kernel already built. [stuff deleted --SB] if you aren't concerned with bad users or hackers hitting the box I would just enable HT with the sysctl variable. This will not make things run slower at all, just (in theory) less secure, which is why the veriable was created in the first place as I recall. If you are concerned I would wait until you update your system and then just build a GENERIC/CUSTOM kernel without the SMP option set. -brian I will disable smp from bios. If I have a smp kernel, I suppose there will be no problem after all. Would that be ok? The problem with having SMP enabled is that the smp kernel only detects one cpu and the system monitor only features one cpu as well as gkrellm (in Linux it shows two cpus). When compiling the system monitor shows the cpu at a maximum of 50%, so what's going on with the other 50%? writing machdep.hlt_logical_cpus to 2 in loader.conf does not solve anything. Why would you expect it to solve anything? I believe FreeBSD uses the other logical CPU to handle hardware interrupts, which can still help performance. You can check dmesg to see how it's actually handling it. -- -- Skylar Thompson ([EMAIL PROTECTED]) -- http://www.cs.earlham.edu/~skylar/ While that is one method of hamdling SMP I'm fairly certain FreeBSD does not use this model. The problem with one CPU handling interrupts and one handling processes is if your doing a 9000x9000 element matrix inversion to calculate say the wave function for uranium (yeah not right, but this be some nasty math so bear with me); then even if the math library is thread aware, one CPU will be frying eggs, and the other one will be twiddling it's thumbs waiting on interrupts to process. Most likely an ACPI_THERMALZONE... From memory on my readings of Implementation of FreeBSD 5.4 ( I think thats the title, but the Black Book written by the BSD gurus...) It was decided the SMP scheduler would handle processes and interrupts simultainiously as scheduled and modified with affinities to avoid switching which CPU cache has the running process. This might be why HT is slower because it only has one CPU cache so trying to keep things on one core doesn't improve performance at all because either core can access the cache. Since HT was not the brightest thing Intel could have done (kind of like 20-bit addressing...) and since AMD has Dual cores they need to compete with I don't think tweaking scheduler code to remove affinities on HT would be in the works. I don't even know if that would help either, just thinking out loud. Processor groups were invented to deal with HT-enabled CPUs. Processors in the same group are understood to have essentially no cost involved in moving a thread from one logical processor to another, whereas the traditional costs of moving a thread from one real CPU to another are still accounted for by affinity to the processor group. How the concept and implementation of processor groups with change now that multi-cored chips exist I do not know. Moving a thread among multiple cores on the same chip incurs some costs, unlike the HT case, yet that cost is different, perhaps *greater*, than the cost of moving a thread to a separate chip. Consider that the current dual-cored chips have separate caches and
Re: shared cache -- Re: SMP detection
On Thu, 31 Aug 2006 08:18:57 -0700 (PDT) backyard [EMAIL PROTECTED] wrote: --- Chad Leigh -- Shire.Net LLC [EMAIL PROTECTED] wrote: On Aug 30, 2006, at 12:12 PM, backyard wrote: with HT disabling in FreeBSD is more for the security issues about a potential exploit whereby one process in one pipe can access the priveledged information of a process in another pipe because the two cores share one processor cache and thus one cache table. To my knowledge this hasn't been exploited yet. How is this any different than say an Intel Core Duo or Core 2 Duo? I believe they have a shared cache as well for each (real) processor core. I'm not sure about the Core Duo, but I think it has two separate, fixed-sized caches. The Core 2 Duo supposedly keeps a total of 4 MB of L2 cache, but dynamically manages how much is currently used by each core, still keeping what they use separate (i.e., each core can only access what is allocated to it). Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net I would say there is no difference if what you say is true. A Multi-Core chip is only true SMP if the two cores share no resources internally and thus are capable of running process separate from each other entirely. independantly and with their own internal caches. The process shouldn't have to wait on a lock to access it's cache, which I would have to assume occurs on these HT machines; which is probably why they have degraded performance. The cache should only be shared if a process explicity copies its content to the other cores cache. If should not be possible for both Cores to see the same internal cache. To my Thus far, Intel's dual-cored processors do not have HT enabled, though the circuitry may well be present. Intel has said publicly that they may make HT available again at some point, so that each core would have two logical processors. If Intel does that, then presumably the FreeBSD kernel would need a third level of processor relationships in addition to the distinction between processors in the same group (i.e., logical processors in a particular real processor) versus processors in different groups (i.e., logical processors in different real processors). knowledge the AMDx2 follow this model with independant cores only sharing a common die. This ensures the context and priveledge of one running process cannot be compromised by a non-priveldeged process waiting on say a login attempt to root, and then grabbing the password from the common cache before the privelidged process can clean up. Many people have panned HT, but HT does make it possible to keep more components of a real processor (e.g., DAT, TLB, FPU, address and data lines to the off- chip world, etc.) in active use more of the time. This is an issue that is separate from the issues involving multiple real processors on one die. It is, of course, too bad that Intel's design allows the logical processors to cross-access their cache spaces, but I doubt that that particular weakness has hurt anyone much. A greater problem for some installations is the accounting problem caused by the fact that a logical processor waiting for a hardware lock set by another logical processor in the same core appears to have 100% CPU utilization during the lockout. In other words, 100% utilization of both logical processors is equivalent to something on the order of 110% - 140% utilization of a single logical processor that has no competition from another logical processor. So which thread is getting overcharged? The software cannot determine the answer. And what institutional accounting policy should be in effect to handle billing for CPU time in an HT-enabled environment, given this indeterminacy? I don't think this flaw has been exploited yet, but the boys at OpenBSD found it (from memory, pretty sure it was one of them) and it has spread through the BSD community as it has potentially dire consequences. Personally I'm done with Intel so I don't think I'll ever have this issue. Afterall they're still the reason my computer boots up with 640k of RAM... I also think AMD has come from being a clone to being on top of the market, but this is my personal opinion. The fact Core Duos are only 32-bit means Intel is still only concerned with shortend gains on the Windows market, not long term migration to 64-bit PCs like That's not quite entirely true. According to the Intel web site, some models of Core chips don't list EM64T as a supported feature, but some of the *do*. The Core Solo and Core Duo series do not show EM64T as a feature, but the entire Mobile Core 2 Duo series, the Core 2 Extreme X6800, and the entire Core 2 Duo Desktop series do list EM64T as a supported feature. everyone else... And banking on Microsoft has never been a solid idea; its too bad banks use Windows; there's a security nightmare, but a topic in and of itself...
Confuse with proc..
Hi all I'm little confuse with all new model of proc. Long time ago there are only Pentium x86/32bits and I can buy a server and known my FreeBSD run perfectly in all case I known the proc work. Now I've see there are many different model of intel proc (on HP web site), there are Xeon/ Xeon MP (with EMT64)/ dual core etc Where can I find a compatibility matix between those proc and the FreeBSD release (I don't need 64bits...) Regards. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. 7 ième étage, plateau D, bureau 10 Tel : 01 44 27 86 88 FAX : 01 44 27 69 35 GSM(UFR) : 06 85 05 58 43 Heure local/Local time: Fri Sep 1 10:54:23 CEST 2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Confuse with proc..
Albert Shih wrote: Where can I find a compatibility matix between those proc and the FreeBSD release (I don't need 64bits...) To generalise: if it's an i386 compatible processor, then FreeBSD will work with it in 32 bit mode -- that's any FreeBSD version. That includes AMD64 chips like the Opteron. If it has the EMT64 extensions then FreeBSD 5.x or above should run in 64bit mode. If it's an AMD64 processor, then FreeBSD 5.x or above will run in 64bit mode. There may be some exceptions to that statement, but they will be quite few and far between, I've certainly never run into problems like that. Of course, the kicker tends to be the other devices on the system -- mother board chipsets are much more likely to result in compatibility problems than the CPU itself. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. Flat 3 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW, UK signature.asc Description: OpenPGP digital signature
Re: can someone point me to some good and descriptive VPN documentation for my use?
d'oh, thanks, I was looking for vpn in net and net-mgmt, didn't think of grepping the security directory. Thanks! -Jim Stapleton On 8/31/06, Jonathan Horne [EMAIL PROTECTED] wrote: On Thursday 31 August 2006 11:28, Alex Zbyslaw wrote: Jim Stapleton wrote: I'm trying to VPN in to work from home, and the IT group there only supports windows. There are Cisco pre-configured clients for Linux, MacOS X, and Windows available, but not BSD. I tried running the Linux binary, but it wanted to move to a nonexistant driectory, and didn't tell me which directory it couldn't find, so I couldn't make the proper symlink. You could try a strings on the binary to try to find the directory - assuming that's the only problem, of course :-) --Alex the most important question is, what type of vpn concentrator do you have? if it happens to be a cisco vpn3000, the try this: /usr/ports/security/vpnc other wise, google [your vpn model] freebsd and see what turns up. cheers, jonathan ___ 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: VIA C3 - cant boot CD
Try booting another bootable CD. It sounds like the CD you burned didn't burn properly. You can find bootable images in other OS's at bootdisk.org or FreeDOS.org. -Derek At 08:21 PM 8/31/2006, [EMAIL PROTECTED] wrote: i have an ML6000 (no floppy) and have downloaded the 4.11 mini-iso image, and burned it to a CD-RW. CPU: VIA C3 Nehemiah (666.55-MHz 686-class CPU) after rebooting, the CD is found, and a boot attempt is made. within 5 seconds, the kernel locks up after about 3 seconds of the kernel data+234238 text+23432 stuff and the /-\|/-\ twirling prompt, leaving a / as the first character on the next line. the ISO is the exact size it should be, and i could gzip -t mfsroot.gz in the /boot directory without error - so i guess it's a good image. i am running 4.10 currently, and have no boot problems off the hard drive. any ideas as to what could cause this lock-up at boot time? i thought the ISO's are made with the mkisofs --no-emul-boot, yet the CD is recognized as a 2.88 floppy, and boots 0:fd(0,a)/boot/loader. i never booted off CD's before, and don't know what i should expect exactly. thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Why sendmail?
Does anybody know, why the FreeBSD developers decided to use sendmail as the standard MTA? Has there been a discussion about it and where could I find information about it? -- Martin Möller listen AT andvari.de Using FreeBSD RELENG_6 for amd/64 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Why sendmail?
Martin Möller schrieb: Does anybody know, why the FreeBSD developers decided to use sendmail as the standard MTA? Has there been a discussion about it and where could I find information about it? It's strong, flexible, its licence is suitable... Why do you ask? Björn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
log is showing - kernel: (da0:mpt0:0:0:0): Queue Full
I have a log with a lot of these messages. I have no idea what the messages mean. This is a Dell 2850 IIRC, colocated in another country. Is this as bad as it sounds and is there a kernel configuration setting that would solve this? The server is running up to date current. I know, but it is too late to change it. It was a test machine that was substituted for a broken server in an emergency situation and has been there ever since. Would a remote downgrade to Releng 6 be recommendable. If so just how dangerous would that be. I can visualize installing it over what is there and then rebuilding everything but I'm a bit worried that it wouldn't reboot. If not I will need to weather the storms until the 7.0 release. If it weren't so far away I wouldn't worry. Thanks for any help or suggestions, ed The full message that is repeated is Aug 31 18:10:01 far kernel: (da0:mpt0:0:0:0): tagged openings now 132 Aug 31 18:10:01 far kernel: (da0:mpt0:0:0:0): Retrying Command Aug 31 18:10:01 far kernel: (da0:mpt0:0:0:0): Queue Full Aug 31 18:10:01 far kernel: (da0:mpt0:0:0:0): tagged openings now 131 Aug 31 18:10:01 far kernel: (da0:mpt0:0:0:0): Retrying Command Aug 31 18:10:01 far kernel: (da0:mpt0:0:0:0): Queue Full with only the tagged openings now sequence changing. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anyone Using the New Free Mulberry Mail Client?
On Friday 01 September 2006 08:30, Pete Slagle wrote: RW wrote: Has anyone got this working? If you just run the binary it opens and can be be configured to read an imap mailbox, but a lot of the error and warning pop-up boxes are missing text and buttons. There are probably other problems, but without the error messages it's hard to say. Is this relevant? Not any more, but that wiki entry was created several hours after I posted. http://trac.mulberrymail.com/mulberry/wiki/linuxproblems That fixed the problems with text. I hope a proper package can be made out of this - having installed files and user data under ~/.mulberry would be a pain to maintain. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Why sendmail?
On Fri, Sep 01, 2006 at 01:54:24PM +0200, Martin Möller wrote: Does anybody know, why the FreeBSD developers decided to use sendmail as the standard MTA? Has there been a discussion about it and where could I find information about it? Historical reasons mainly. Sendmail was originally developed on BSD and shipped with BSD at least since 4.2BSD (which was released in 1986, several years before the FreeBSD project was created.) The FreeBSD developers simply kept using what was already in the source tree since there were no overriding reason not to. There has been discussions from time to time about replacing Sendmail with some other MTA but the general opinion seems to be that Sendmail works well enough and that changing the standard MTA would be too disruptive for too many people. For those people who prefer to use some other MTA it is not difficult to install one from ports and use it instead of Sendmail. -- Insert your favourite quote here. Erik Trulsson [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: Why sendmail?
Erik Trulsson wrote: For those people who prefer to use some other MTA it is not difficult to install one from ports and use it instead of Sendmail. Indeed. While I do sometimes question the sense of defaulting to sendmail due to its baggage, it's so trivial to change the MTA that it's largely a non-issue. In the interest of being close to a reference implementation of BSD it does make some sense as a default even if I'd never run it on a prod box myself. It hardly seems worth the churn. Insert $0.02 here. cheers, Gabriel -- Gabriel O'Brien IT Analyst, MPS-EN-CBC.ca w: 416-205-8740 m: 416-996-5679 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can someone point me to some good and descriptive VPN documentation for my use?
Jim Stapleton wrote: d'oh, thanks, I was looking for vpn in net and net-mgmt, didn't think of grepping the security directory. cd /usr/ports; make search name=vpn --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What could cause /DEV to clear out?
Hello, Thanks for the reply! Here is the information requested below: UNAME -A: FreeBSD 4.7-RC FreeBSD 4.7-RC #0: Sun Apr 13 21:43:57 PDT 2003 LS -al: drwxr-xr-x 2 root wheel18432 Aug 28 03:01 . drwxr-xr-x 22 root wheel 1024 Apr 7 16:32 .. crw-r- 1 root operator 13, 0x00030002 Sep 17 2002 da0s2c crw-r- 2 root operator 13, 0x00030003 Sep 17 2002 da0s2d lrwxr-xr-x 1 root wheel 12 Sep 17 2002 log - /var/run/log lrwxr-xr-x 1 root wheel 13 Sep 17 2002 mouse - /dev/sysmouse -rw-rw-r-- 1 root wheel 115 Aug 29 03:01 null crw-r- 1 root operator 13, 0x00030001 Sep 17 2002 rda0s2b crw-r- 2 root operator 13, 0x00030003 Sep 17 2002 rda0s2d -rw-r--r-- 1 root wheel0 Aug 29 03:01 stderr MOUNT | GREP dev: /dev/da0s1a on / (ufs, local) /dev/da0s2h on /home (ufs, local, soft-updates) /dev/da0s2e on /usr (ufs, local, soft-updates) /dev/da0s2f on /var (ufs, local, soft-updates) /dev/da0s2g on /var/tmp (ufs, local, soft-updates) Any ideas? Can I somehow restore the missing files? What could cause this? I am certain I did not do it; no one else has root. Thank you. - Original Message From: Oliver Fromme [EMAIL PROTECTED] To: [EMAIL PROTECTED]; freebsd-questions@FreeBSD.ORG; babak badaei [EMAIL PROTECTED] Sent: Tuesday, August 29, 2006 3:14:40 AM Subject: Re: What could cause /DEV to clear out? babak badaei [EMAIL PROTECTED] wrote: Today I was not able to log into my machine using SSH. I got this following message Server refused to allocate pty. I was, somewhat fortunately, able to log using SCP. So SCP works. You can use ssh -T which disables allocation of a pty (pseudo tty). You probably won't be able to use full- screen programs (such as vi), and maybe your shell's editing functions won't work (depending on the shell), but at least you will get a shell prompt. See the ssh(1) manual page for details. The file system looked good for the most part; until I checked out /DEV. Almost everything was GONE! Including MAKEDEV. Not sure what to do. What version of FreeBSD are you running? FreeBSD 5 and 6 use DEVFS, so MAKEDEV isn't required anymore (it wouldn't work anyway). If you're still running FreeBSD 4, then there should be /dev/MAKEDEV. Possible clue: Before this happened, last time I was actually logged in via SSH, I ran a dropdb command on one of my postgres databases and got an error message saying I did not have permission to /DEV/NULL. Not sure what to do, I set permissions to allow write on NULL. I have done dropdb many times before and had never seen that message. Please give the output from these commands: uname -a ls -al /dev mount | grep dev I hope this is in the right forum. This is the closest thing to right place for this question in my mind but if this is in the wrong place please direct me to the right forum. Why do you think -arch would be the most appropriate place? This should rather go to -questions (I've redirected it). Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. anyone new to programming should be kept as far from C++ as possible; actually showing the stuff should be considered a criminal offence -- Jacek Generowicz ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-arch 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]
MONOWALL WAN
Hi, I have a client who would like to share a DSL connection with a neighboring office. I would like to put my clients network (they only need to share Internet) on a separate IP network behind a monowall. My question is, will monowall allow a private address (the LAN IP of router) to be its WAN address? Thanks Laurie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD router
Dear all, I want to know, between Cisco Router and a compiled of FreeBSD Router which one is better? Is it posible to build a Router Appliance on FreeBSD instead of using ISO of Cisco? Richard Ben, CIO -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Please Help
Hello, I need a command line to start my services. Best Regards, Ben - Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SMP detection
--- Jordi Carrillo [EMAIL PROTECTED] wrote: 2006/8/31, Skylar Thompson [EMAIL PROTECTED]: Michal Mertl wrote: No! Kernel threads (e.g. handling interrupts) aren't that much different to normal processes. Logical CPUs on a single HTT capable CPU share most of the CPU logic, especially all the external stuff (handling interrupts). Scheduling handling of interrupts on the secondary/logical core wouldn't probably help performance at all (if that is at all possible). Could you clarify note 20031022 in /usr/src/UPDATING? It states that HTT CPUs are used for interrupts if they are detected, even if they aren't used by regular processes. Was this something that just showed up in pre-6.x releases? -- -- Skylar Thompson ([EMAIL PROTECTED]) -- http://www.cs.earlham.edu/~skylar/ Another question that's wondering me is why FreeBSD with the SMP kernel the gnome system monitor (Applications-System Tools-System Monitor) only shows one CPU when Linux with a SMP kernel shows two CPUs -- http://jordilin.wordpress.com I'm assuming you talking about an HT SMP scenario... Linux is running the second core, but *BSD will not unless you tell it too. I'll check with my dually once I get home but I'm fairly certain even if your running an SMP kernel if the other CPU isn't used, it isn't going to tell you what processes are running on it, because nothing is scheduled to run on it. Linux doesn't care about the possible exploits and so by default runs both HT cores. Look at it like this I have two hands, I could put two P99C-ASs in them, but if only one has a magazine in it why and I going to claim I got two pieces??? Basically by not setting the ...hyperthreading_allowed... variable you have removed the magazine from one of your cores... But I will check because I seem to recall there being some kind of issue like this with my 5.4 box that I just kind of shrugged off at the time. I thought it was with KDE not gnome though... It should show both or all your cores and what is running. But it can't show you what is running on a CPU the kernel has disavowed. -brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Please Help
You should try to post a bit more information, what services? Which version of FreeBSD? Take a look at 'man rc.conf' and the scripts in /etc/rc.d and /usr/local/etc/rc.d You'll probably want something like '/etc/rc.d/mydaemon start' cheers, Gabriel -- Gabriel O'Brien IT Analyst, MPS-EN-CBC.ca w: 416-205-8740 m: 416-996-5679 Benjamin Quaynor wrote: Hello, I need a command line to start my services. Best Regards, Ben ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mirroring: gvinum or gmirror?
On 8/31/06, Elliot Finley [EMAIL PROTECTED] wrote: Well yes, if you do it this way, you are correct. Why not just install the OS on the smaller drive, skip the dump step and just use the installed drive as the first drive in your mirror. That's how I've been doing it and it works great. I've got a write-up of the steps required to do this if you or anyone else needs them. I also routinely disconnect one of the drives in my mirror before a major upgrade to the OS or ports so that if I mess it up, I can boot back to the previous state. I have a write-up of the steps needed to do this remotely over ssh (again, if you or anyone else needs them). Elliot Sounds like a good idea indeed. I've always followed Ralf S. Engelschall's instructions at http://people.freebsd.org/~rse/mirror/ which involves using dump(8) to transfer the data onto the second disk once it's setup as a gmirror provider. I must admit I never thought back on those instructions because they work very well. It was only recently that I had to deal with older hardware for which I had to salvage some old 4Gb disk drives. So, if you don't mind, I would very much appreciate if you could share your documentation with me. In case you're interested, I can offer you a space on my website should you want to have them online. Cheers, David -- David Robillard UNIX systems administrator Oracle DBA CISSP, RHCE Sun Certified Security Administrator Montreal: +1 514 966 0122 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problems with creating bind9 under a jail (make: don't know how to make /usr/jail/bind9/usr/lib/libc.a. Stop)
freebsd neophyte [EMAIL PROTECTED] writes: as for pulling from the FTP server. what i wanted to say was that i booted from a CD, but used an FTP server as my install medium. as for cvsup, i used the following: /usr/share/examples/cvsup/stable-supfile. as for the existing source tree, i used sysinstall to add all the sources, and then i used cvsup to update them. Perhaps you failed to adopt them, as recommended in the cvsup FAQ on www.cvsup.org? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mkisofs: out of memory
[EMAIL PROTECTED] writes: Hi all, I'm trying to write a DVD-RW with a directory created with rsnapshot, but there are some problem with mkisofs: Not enough memory # mkisofs -R -J -o /data/rsnap.iso /data/.snapshots mkisofs: Cannot allocate memory. Not enough memory The machine has more then 350MB of free memory and 1GB of swap, but mkisofs exausts memory and start to use swap when the problem happen. The volume I'm trying to copy has 4 GB. The same problem happen with growisofs, and K3b front end. System FreeBSD 5.4. Any clue? limits(1)? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: VIA C3 - cant boot CD
[EMAIL PROTECTED] writes: i have an ML6000 (no floppy) and have downloaded the 4.11 mini-iso image, and burned it to a CD-RW. CPU: VIA C3 Nehemiah (666.55-MHz 686-class CPU) after rebooting, the CD is found, and a boot attempt is made. within 5 seconds, the kernel locks up after about 3 seconds of the kernel data+234238 text+23432 stuff and the /-\|/-\ twirling prompt, leaving a / as the first character on the next line. the ISO is the exact size it should be, and i could gzip -t mfsroot.gz in the /boot directory without error - so i guess it's a good image. i am running 4.10 currently, and have no boot problems off the hard drive. any ideas as to what could cause this lock-up at boot time? i thought the ISO's are made with the mkisofs --no-emul-boot, yet the CD is recognized as a 2.88 floppy, and boots 0:fd(0,a)/boot/loader. i never booted off CD's before, and don't know what i should expect exactly. I have the same board, and it booted 6.1 just fine from CD. If I understand correctly, you're saying that it also booted 4.10 fine from CD. In that case, my first suspicion would be your particular CD. If you want to test the downloaded image, use checksums; the tests you did are too haphazard to give full confidence. Note that CD booting techniques have changed a few times over the years as the standards have changed. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Symbolic Links in /dev of a jail
In my quest to get asterisk+iaxmodem+hylafax working together in a jail I've run into one final roadblock. I can't seem to figure out how to create a symbolic link (ln -s doesn't work) in /dev in the jail environment while in the jailed environment. When trying to create a link with ln I receive: ln -s somedev targetdev ln: targetdev: Operation not permitted Adding a link entry to devfs.conf in the jail fails too since it receives the same error. I can create a link in the jailed /dev from the host environment, so there seems to be some restriction on creating links in /dev while in the jail. The reason I need to be able to do this is that iaxmodem needs to create a /dev/ttyIAX device to point to the correct ttyp0 device when it starts in the jail. Any suggestions would be appreciated. Thanks, -- Anish Mistry pgpbxH1LOZx4H.pgp Description: PGP signature
Re: Please Help
Benjamin Quaynor writes: Hello, I need a command line to start my services. What services? What are you really asking? Do you want to know what command to type in (for what things?) or do you want a command prompt where you can type in a command? Etc, etc, etc, Without some more information, it is impossible to make any suggestions without much more information. jerry Best Regards, Ben ___ 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: Anyone Using the New Free Mulberry Mail Client?
On Friday 01 September 2006 13:41, RW wrote: On Friday 01 September 2006 08:30, Pete Slagle wrote: RW wrote: Has anyone got this working? If you just run the binary it opens and can be be configured to read an imap mailbox, but a lot of the error and warning pop-up boxes are missing text and buttons. There are probably other problems, but without the error messages it's hard to say. Is this relevant? Not any more, but that wiki entry was created several hours after I posted. Sorry, I thought you were questioning the relevance to FreeBSD (since the problem exists in Linux too), but on reflection I see you were asking if the link is relevant. http://trac.mulberrymail.com/mulberry/wiki/linuxproblems That fixed the problems with text. I hope a proper package can be made out of this - having installed files and user data under ~/.mulberry would be a pain to maintain. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anyone Using the New Free Mulberry Mail Client?
--On Friday, September 01, 2006 13:41:45 +0100 RW [EMAIL PROTECTED] wrote: On Friday 01 September 2006 08:30, Pete Slagle wrote: RW wrote: Has anyone got this working? If you just run the binary it opens and can be be configured to read an imap mailbox, but a lot of the error and warning pop-up boxes are missing text and buttons. There are probably other problems, but without the error messages it's hard to say. Is this relevant? Not any more, but that wiki entry was created several hours after I posted. http://trac.mulberrymail.com/mulberry/wiki/linuxproblems That fixed the problems with text. I hope a proper package can be made out of this - having installed files and user data under ~/.mulberry would be a pain to maintain. I'm working on an update to the port, which I will submit to the maintainer. In the meantime, the problem is that you need to have the xml files in the Resources directory in a directory of the same name under your ~/.mulberry directory, but it's not created when you initiate Mulberry for the first time. You can easily correct this by creating a symlink: ls -s /usr/local/lib/mulberry/Resources/ ~/.mulberry/ That will solve your problem. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: FreeBSD router
On 8/30/06, rithy4u- CEO [EMAIL PROTECTED] wrote: Dear all, I want to know, between Cisco Router and a compiled of FreeBSD Router which one is better? Is it posible to build a Router Appliance on FreeBSD instead of using ISO of Cisco? Richard Ben, CIO I think to best answer your question one needs to know what that router needs to do and how much do you want to spend on it. -- Joao Barros ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Why sendmail?
Gabriel O'Brien wrote: Indeed. While I do sometimes question the sense of defaulting to sendmail due to its baggage, it's so trivial to change the MTA that it's largely a non-issue. In the interest of being close to a reference implementation of BSD it does make some sense as a default even if I'd never run it on a prod box myself. It hardly seems worth the churn. Insert $0.02 here. I agree for the most part. There is an option to install another MTA when installing FBSD. However, it might be nice if there were instructions on how to accomplish the following. 1) Totally shut down Sendmail 2) Changes to periodic.conf 3) How to prevent Sendmail from being built when performing 'buildworld' I know that the documentation does exist, but it is not all centrally located. At least I do not think it is. If Postfix is installed during the installation of FBSD, the end user is not even presented with the necessary items to place in the /etc/rc.conf file. That should be done automatically by the sysinstall process, as well as modifying the periodic.conf and make.conf files. I recently replied to a post on the Postfix forum when a user had installed Postfix when installing FBSD and consequently had no idea why it was not working correctly. I realize that he should have been better informed as to how it was to be configured; however, the sysinstall or if installed via ports, the posts installation routine should have given a more complete description of what is or should be done to complete the installation. Just my 2¢. -- Gerard Seibert [EMAIL PROTECTED] Think about it: The *average* American has one tit and one testicle. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anyone Using the New Free Mulberry Mail Client?
On Friday 01 September 2006 16:33, Paul Schmehl wrote: --On Friday, September 01, 2006 13:41:45 +0100 RW [EMAIL PROTECTED] wrote: On Friday 01 September 2006 08:30, Pete Slagle wrote: RW wrote: Has anyone got this working? If you just run the binary it opens and can be be configured to read an imap mailbox, but a lot of the error and warning pop-up boxes are missing text and buttons. There are probably other problems, but without the error messages it's hard to say. Is this relevant? Not any more, but that wiki entry was created several hours after I posted. http://trac.mulberrymail.com/mulberry/wiki/linuxproblems That fixed the problems with text. I hope a proper package can be made out of this - having installed files and user data under ~/.mulberry would be a pain to maintain. I'm working on an update to the port, which I will submit to the maintainer. In the meantime, the problem is that you need to have the xml files in the Resources directory in a directory of the same name under your ~/.mulberry directory, but it's not created when you initiate Mulberry for the first time. You can easily correct this by creating a symlink: ls -s /usr/local/lib/mulberry/Resources/ ~/.mulberry/ The problem was that extracting Mulberry.tgz produces a hidden .mulberry directory in the current directory, which should be in ~/ before running the binary. I extracted in a temporary location, failed to spot this hidden directory, and just moved the binary to ~/bin/. Removing ~/.mulberry and re-extracting in my home directory fixed the problem. BTW it actually contains plugin and icon directories as well as resources. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to get best results from FreeBSD-questions
How to get the best results from FreeBSD questions. === Last update $Date: 2005/08/10 02:21:44 $ This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that at least one of the following things was wrong with your message: - You left out a subject line, or the subject line was not appropriate. - You formatted it in such a way that it was difficult to read. - You asked more than one unrelated question in one message. - You sent out a message with an incorrect date, time or time zone. - You sent out the same message more than once. - You sent an 'unsubscribe' message to FreeBSD-questions. If you have done any of these things, there is a good chance that you will get more than one copy of this message from different people. Read on, and your next message will be more successful. This document is also available on the web at http://www.lemis.com/questions.html. = Contents: I:Introduction II: How to unsubscribe from FreeBSD-questions III: Should I ask -questions or -hackers? IV: How to submit a question to FreeBSD-questions V:How to answer a question to FreeBSD-questions I: Introduction === This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the newcomers), and also those who answer the questions (the hackers). Note that the term hacker has nothing to do with breaking into other people's computers. The correct term for the latter activity is cracker, but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions == When you subscribed to FreeBSD-questions, you got a welcome message from [EMAIL PROTECTED] In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions@freebsd.org mailing list! If you ever want to unsubscribe or change your options (eg, switch to or from digest mode, change your password, etc.), visit your subscription page at: http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED] (obviously, substitute your mail address for [EMAIL PROTECTED]). You can also make such adjustments via email by sending a message to: [EMAIL PROTECTED] with the word 'help' in the subject or body (don't include the quotes), and you will get back a message with instructions. You must know your password to change your options (including changing the password, itself) or to unsubscribe. Normally, Mailman will remind you of your freebsd.org mailing list passwords once every month, although you can disable this if you prefer. This reminder will also include instructions on how to unsubscribe or change your account options. There is also a button on your options page that will email your current password to you. Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send how to questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as [EMAIL PROTECTED] Since then, I have changed it to [EMAIL PROTECTED] If I were to try to remove [EMAIL PROTECTED] from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed to
The Complete FreeBSD: errata and addenda
The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, The Complete FreeBSD, published by O'Reilly, is no exception. Inevitably, a number of bugs and changes have surfaced. The Complete FreeBSD has been through a total of five editions, including its predecessor Installing and Running FreeBSD. Two of these have been reprinted with corrections. I maintain a series of errata pages. Start at http://www.lemis.com/errata-4.html to find out how to get the errata information. Note also that the book has now been released for free download in PDF form. Instead of downloading the changed pages, you may prefer to download the entire book. See http://www.lemis.com/grog/Documentation/CFBSD/ for more information. Have you found a problem with the book, or maybe something confusing? Please let me know: I'm no longer constantly updating it, but I may be able to help Greg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Why sendmail?
Gerard Seibert wrote: I agree for the most part. There is an option to install another MTA when installing FBSD. However, it might be nice if there were instructions on how to accomplish the following. snipped a bunch of good ideas I agree with you, logically I would say that perhaps this should go in the Postfix/exim/(insert favorite MTA here) ports. Postfix already asks you if you want to update your /etc/mail/mailer.conf and it wouldn't be much more effort to add the make.conf change, etc. as well. Might be a good patch to create/suggest to the maintainers. Even a verbose message to the console on 'make install' would be a good start. cheers, Gabriel -- Gabriel O'Brien IT Analyst, MPS-EN-CBC.ca w: 416-205-8740 m: 416-996-5679 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Trouble building abiword in the Ports Collection
What I have done: * Installed 6.1, including the Ports Collection, from CD. * Ran portsnap fetch. * Attempted portsnap update. ? It sez this only works after an extract. What is the point of installing the collection from CD if it has to be completely reinstalled from a download anyway? * Ran portsnap extract. * Built richtext, apparently successfully. * Attempted to build abiword. It complained about a glibc version problem, and said to run gnomelogalyzer.sh. gnomelogalyzer.sh found nothing specific, but said to run 'portupgrade -a' on general principles. ? Why should this be needed? Shouldn't a freshly-downloaded portsnap already be up to date? * Attempted 'portupgrade -a'. It ran for several hours, fetching and building a huge amount of stuff (most of which I don't think I want), and pausing several times for answers to imponderable configuration questions, before eventually failing. ? Shouldn't those configuration screens have a help function, for those of us who have no clue what some of the options amount to? * Reran 'portupgrade -a' to get a smaller logfile, showing only the errors (since presumably the successful builds won't be redone). This time it complains about the pkgdb. ? Now what? Is it time to rm -rf /usr/ports /var/db/pkg and start completely over (and if so, what should I do differently this time)? === logfile from second 'portupgrade -a' === # date ; portupgrade -a ; date Fri Sep 1 10:34:20 PDT 2006 [Updating the pkgdb format:bdb_btree in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument; rebuild needed] [Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ... [Updating the pkgdb format:bdb_btree in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument; rebuild needed] [Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument: Cannot update the pkgdb!]: Cannot update the pkgdb!] Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ Fri Sep 1 10:34:24 PDT 2006 # ls -l /var/db/pkg/pkgdb.db -rw-r--r-- 1 root wheel 5963776 Sep 1 01:42 /var/db/pkg/pkgdb.db # file /var/db/pkg/pkgdb.db /var/db/pkg/pkgdb.db: Berkeley DB 1.85/1.86 (Btree, version 3, native byte-order) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Snapshot performance
Hi all, We're working on deploying a new mail server on FreeBSD 6.1-STABLE. One of the major selling points was the ability to take filesystem snapshots in order to make backups from a consistent filesystem on such a high-traffic system. Unfortunately, when I take a snapshot, performance slows to a crawl - to the point where the system stops responding to network requests (ping, SMTP, etc.). Also, the snapshot takes 10-15 minutes to complete. Is this a typical situation? Will I need to schedule downtime for backups in spite of this nifty new feature? Am I doing something wrong? Could use some advice. Regards, Paul Lathrop Systems Administrator SquareTrade, Inc. signature.asc Description: OpenPGP digital signature
what happed to mod_perl in 6.1?
Hi, my cgi scripts doesnt work in 6.1, and i dont see any entry about mod_perl in httpd.conf, how do i enable it? --- Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anyone Using the New Free Mulberry Mail Client?
--On Friday, September 01, 2006 17:33:30 +0100 RW [EMAIL PROTECTED] wrote: You can easily correct this by creating a symlink: ls -s /usr/local/lib/mulberry/Resources/ ~/.mulberry/ This is incorrect. It should be: ln -s /usr/local/lib/mulberry/Resources ~/.mulberry/ The problem was that extracting Mulberry.tgz produces a hidden .mulberry directory in the current directory, which should be in ~/ before running the binary. I extracted in a temporary location, failed to spot this hidden directory, and just moved the binary to ~/bin/. Removing ~/.mulberry and re-extracting in my home directory fixed the problem. BTW it actually contains plugin and icon directories as well as resources. Yes, but that only works for you. For people setting up servers for mulitple users, that's not a good solution. When you launch mulberry for the first time, it will create the ~/.mulberry directory as well as the Plugins and Calendar and other subdirectories that are needed for *your* customized version of mulberry, but the Resources directory is *not* created. That's why you're missing the text. In order to make a generic installer, the port has to place all those directories in a central location, but you must create a symling to Resources *or* just copy all the files to your own ~/.mulberry/Resources/ directory. That's the *correct* way to do it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: FreeBSD router
Depends on what through-put you need, are you good at compiling custom kernels with the extra stuff removed, How good are you at *IOS*?? Do you need a firewall with that router o just straight routing. Does the router need RIP, BGP etc... Perfectly possible, but depending on your requirements/time/expertise/money maybe practical or not. -- Martin On 8/30/06, rithy4u- CEO [EMAIL PROTECTED] wrote: Dear all, I want to know, between Cisco Router and a compiled of FreeBSD Router which one is better? Is it posible to build a Router Appliance on FreeBSD instead of using ISO of Cisco? Richard Ben, CIO -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ 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: what happed to mod_perl in 6.1?
On Fri, Sep 01, 2006 at 12:18:41PM -0600, Miguel wrote: Hi, my cgi scripts doesnt work in 6.1, and i dont see any entry about mod_perl in httpd.conf, how do i enable it? You don't actually need mod_perl to run CGI scripts, but okay. If you want mod_perl try installing it, depending on your version of Apache you should use /usr/ports/www/mod_perl or mod_perl2. After installation, you'll get hints on what LoadModule and other directives you'll need to put in your httpd.conf file. In my case, it's: LoadModule perl_module libexec/apache22/mod_perl.so More about mod_perl can be found here: http://perl.apache.org/docs/index.html To use CGI scripts, you'll just have to enable the CGI module (it's probaby on by default) and add a handler for .cgi files (oh and allow Execution of scripts on the locations where you've put them). This isn't anything 6.1 specific, it will work like this on any version... LoadModule cgi_module libexec/apache22/mod_cgi.so AddHandler cgi-script .cgi (Followed by any ExecCGI and ScriptAlias directives you might need...) -- Riemer PalstraAmsterdam, The Netherlands [EMAIL PROTECTED]http://www.palstra.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MONOWALL WAN
On Tuesday 29 August 2006 16:19, Laurie Zimmerman wrote: Hi, I have a client who would like to share a DSL connection with a neighboring office. I would like to put my clients network (they only need to share Internet) on a separate IP network behind a monowall. My question is, will monowall allow a private address (the LAN IP of router) to be its WAN address? Thanks Laurie my firewall is pfSense, which is based on monowall. on pfSense, in order to use a private address on the wan interface, you have to uncheck a box that says block private networks (it even says 'for the purposes of putting the wan interface on a private lan). i would assume due the lineage of pfSense, that monowall likely has a similar feature. hth, jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trouble building abiword in the Ports Collection
Perry Hutchison wrote: What I have done: * Installed 6.1, including the Ports Collection, from CD. * Ran portsnap fetch. * Attempted portsnap update. ? It sez this only works after an extract. What is the point of installing the collection from CD if it has to be completely reinstalled from a download anyway? * Ran portsnap extract. * Built richtext, apparently successfully. * Attempted to build abiword. It complained about a glibc version problem, and said to run gnomelogalyzer.sh. gnomelogalyzer.sh found nothing specific, but said to run 'portupgrade -a' on general principles. ? Why should this be needed? Shouldn't a freshly-downloaded portsnap already be up to date? * Attempted 'portupgrade -a'. It ran for several hours, fetching and building a huge amount of stuff (most of which I don't think I want), and pausing several times for answers to imponderable configuration questions, before eventually failing. ? Shouldn't those configuration screens have a help function, for those of us who have no clue what some of the options amount to? * Reran 'portupgrade -a' to get a smaller logfile, showing only the errors (since presumably the successful builds won't be redone). This time it complains about the pkgdb. ? Now what? Is it time to rm -rf /usr/ports /var/db/pkg and start completely over (and if so, what should I do differently this time)? Try this. Run everything as root. pkgdb -aFfuv That should fix most if not all problems. If it fails, you will have to run: pkgdb -F to fix them manually. If you have 'portupgrade' you should also have portsclean. Try running this to clean up any crud left from you old builds. portsclean -CDDLP Now run: portsnap fetch portsnap update Now you can run the portupgrade command. You can probably run it like this: portupgrade -aFRr That should cover all of your bases. Personally I prefer 'portmanager' but each to his own. Good luck! -- Gerard Seibert [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: MONOWALL WAN
I have a client who would like to share a DSL connection with a neighboring office. I would like to put my clients network (they only need to share Internet) on a separate IP network behind a monowall. My question is, will monowall allow a private address (the LAN IP of router) to be its WAN address? Thanks Laurie Hi Laurie, I'm not sure about monowall, but I know for sure that an OpenBSD or FreeBSD machine running OpenBSD's packet filter will do the trick very nicely. Check out pf(4) and pf.conf(5) or the FreeBSD Handbook on the subject. You can also grab a copy of Jacek Artymiak's book Building Firewalls with OpenBSD and PF, 2nd edition which covers pf(4) very well. Some URL on the subject: - FreeBSD Handbook Section 26.4 The OpenBSD Packet Filter (PF) and ALTQ http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-pf.html - pf(4) http://www.freebsd.org/cgi/man.cgi?query=pfapropos=0sektion=0manpath=FreeBSD+6.1-RELEASEformat=html - pfctl(8) http://www.freebsd.org/cgi/man.cgi?query=pfctlsektion=8apropos=0manpath=FreeBSD+6.1-RELEASE - pf.conf(5) http://www.freebsd.org/cgi/man.cgi?query=pf.confsektion=5apropos=0manpath=FreeBSD+6.1-RELEASE - Jacek Artymiak's book Building Firewalls with OpenBSD and PF, 2nd edition http://www.artymiak.com/books/index.html Have fun, David -- David Robillard UNIX systems administrator Oracle DBA CISSP, RHCE Sun Certified Security Administrator Montreal: +1 514 966 0122 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anyone Using the New Free Mulberry Mail Client?
On Friday 01 September 2006 19:19, Paul Schmehl wrote: --On Friday, September 01, 2006 17:33:30 +0100 RW [EMAIL PROTECTED] wrote: You can easily correct this by creating a symlink: ls -s /usr/local/lib/mulberry/Resources/ ~/.mulberry/ This is incorrect. It should be: ln -s /usr/local/lib/mulberry/Resources ~/.mulberry/ The problem was that extracting Mulberry.tgz produces a hidden .mulberry directory in the current directory, which should be in ~/ before running the binary. I extracted in a temporary location, failed to spot this hidden directory, and just moved the binary to ~/bin/. Removing ~/.mulberry and re-extracting in my home directory fixed the problem. BTW it actually contains plugin and icon directories as well as resources. Yes, but that only works for you. For people setting up servers for mulitple users, that's not a good solution. I didn't say it was, it was just that my specific problem was that I deleted the resources directory without knowing it existed. For my own use, I don't see the point in putting anything under /usr until there is a port. And it's not just the Resources directory that's important, SSL/TLS support is provided by a plugin. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: what happed to mod_perl in 6.1?
Hi, my cgi scripts doesnt work in 6.1, and i dont see any entry about mod_perl in httpd.conf, how do i enable it? For Apache 1.3.x http://www.freebsd.org/cgi/url.cgi?ports/www/mod_perl/pkg-descr For Apache 2.x http://www.freebsd.org/cgi/url.cgi?ports/www/mod_perl2/pkg-descr David -- David Robillard UNIX systems administrator Oracle DBA CISSP, RHCE Sun Certified Security Administrator Montreal: +1 514 966 0122 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
kldload: can't load linux: ERROR????
I am trying to install the o package linux_base-8-8.0_6.tbz in a jail (FreeBSD 5.4). However it is appearing the following message of error: hostname# pkg_add linux_base-8-8.0_6.tbz Linux mode is not enabled. Loading linux kernel module now... kldload: can't load linux: Operation not permitted The linux kernel module could not be loaded. Please enable linux mode manually and retry. pkg_add: install script returned error status what I must make? Thank you! Daniel Bitencourt Cadorin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anyone Using the New Free Mulberry Mail Client?
--On Friday, September 01, 2006 20:13:25 +0100 RW [EMAIL PROTECTED] wrote: I didn't say it was, it was just that my specific problem was that I deleted the resources directory without knowing it existed. For my own use, I don't see the point in putting anything under /usr until there is a port. And it's not just the Resources directory that's important, SSL/TLS support is provided by a plugin. Thanks for pointing that out. I'll have to see if there's a way to point to that directory. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: Trouble building abiword in the Ports Collection
* Reran 'portupgrade -a' ... This time it complains about the pkgdb. ? Now what? Is it time to rm -rf /usr/ports /var/db/pkg and start completely over (and if so, what should I do differently this time)? Try this. Run everything as root. pkgdb -aFfuv That should fix most if not all problems. No such luck. It still complains about the file format: # pkgdb -aFfuv --- Updating the pkgdb [Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument: Cannot update the pkgdb!] If it fails, you will have to run: pkgdb -F to fix them manually. That doesn't work either :( # pkgdb -F --- Checking the package registry database [Updating the pkgdb format:bdb_btree in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument; rebuild needed] [Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument: Cannot update the pkgdb!]: Cannot update the pkgdb!] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kldload: can't load linux: ERROR????
On Fri, 1 Sep 2006 16:25:10 -0300 Daniel Bitencourt Cadorin wrote: I am trying to install the o package linux_base-8-8.0_6.tbz in a jail (FreeBSD 5.4). However it is appearing the following message of error: hostname# pkg_add linux_base-8-8.0_6.tbz Linux mode is not enabled. Loading linux kernel module now... kldload: can't load linux: Operation not permitted The linux kernel module could not be loaded. Please enable linux mode manually and retry. pkg_add: install script returned error status what I must make? You can't load a kernel module in a jail. You should load it in a host system. Thank you! WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trouble building abiword in the Ports Collection
Perry Hutchison wrote: # pkgdb -aFfuv --- Updating the pkgdb [Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument: Cannot update the pkgdb!] If it fails, you will have to run: pkgdb -F to fix them manually. That doesn't work either :( # pkgdb -F --- Checking the package registry database [Updating the pkgdb format:bdb_btree in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument; rebuild needed] [Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument: Cannot update the pkgdb!]: Cannot update the pkgdb!] OK, navigate to the /var/db/pkg directory and either delete or rename the 'pkg.db' file. Then run: pkgdb -aFfuv Assuming that works, resume with the rest of the directions I gave you previously. -- Gerard Seibert [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: kldload: can't load linux: ERROR????
I qualified in host. However he presents the following message: jail$ sqlplus user/[EMAIL PROTECTED] ELF interpreter /lib/ld-linux.so.2 not found Abort trap what I must make? Thank you! Daniel. On Fri, 1 Sep 2006 16:25:10 -0300 Daniel Bitencourt Cadorin wrote: I am trying to install the o package linux_base-8-8.0_6.tbz in a jail (FreeBSD 5.4). However it is appearing the following message of error: hostname# pkg_add linux_base-8-8.0_6.tbz Linux mode is not enabled. Loading linux kernel module now... kldload: can't load linux: Operation not permitted The linux kernel module could not be loaded. Please enable linux mode manually and retry. pkg_add: install script returned error status what I must make? You can't load a kernel module in a jail. You should load it in a host system. Thank you! WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] _ MSN Messenger: instale grátis e converse com seus amigos. http://messenger.msn.com.br ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD router
The answer is yes it can be done. Which one is better depends on which cisco model you compare with and what hardware you are going to use to run FreeBSD with what features. As well as your knowledge of FreeBSD admin/network config. As mentioned before you may be expected to compile a custom kernel to best handle your setup. Consider - Are you building this for internal use or as a resell product? What is your FreeBSD/network knowledge level? Do you feel a little overwhelmed at the prospect of installing/configuring/supporting the router yourself? How much downtime is tolerable as you learn/find the solution to problems along the way? An example - I am located in Adelaide, Australia and there is a company here that has been around for several years mainly providing network related support, they sell their own network appliances built from FreeBSD and some custom software that features router, firewall, dmz, vpn, proxy cache, spam filter, network monitoring, CF boot disks. (they can configure/support cisco equipment that you may have installed and I think will sell it to you if you want it but push their products instead of cisco gear) Products range depending on needs but generally the head office may have a P4 rackmount case with a few network cards (offering load sharing across multiple ADSL connections) and a small home/branch office may get a mini-atx 700Mhz VIA chip unit with 1 or 2 network interfaces. Individual pc's (as well as handheld devices) can also connect straight to the vpn as well if that is sufficient for the needs. Most offices would connect with ADSL these days with an option of direct ISDN connection to HO as backup when ADSL is unavailable. Setup as automatic fallover when needed. Australia wide support is provided from the local office with remote offices being setup with modem dialup to allow console access by directly dialling into the appliances in case internet or vpn functionality is not working. Those sort of options would account for a high priced cisco setup that could allow a decent profit margin/cost saving between hardware cost and complete product. With simpler needs the cost difference would be a lot closer. To setup and maintain this setup would need a good knowledge base to ensure sufficient support/maintenance. There are a few options available for pre-built FreeBSD firewall setups which could make it worthwhile for you - I would have said http://netboz.org but the site doesn't seem to be running at the moment (maybe temporary) another is http://m0n0.ch/wall/ I have come across a few other projects over time but haven't really looked at any in great detail and can't seem to find any other bookmarks. On 30/8/2006 10:43, rithy4u- CEO [EMAIL PROTECTED] wrote: Dear all, I want to know, between Cisco Router and a compiled of FreeBSD Router which one is better? Is it posible to build a Router Appliance on FreeBSD instead of using ISO of Cisco? Richard Ben, CIO -- [EMAIL PROTECTED] Get Sheeky @ http://Sheeky.Biz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anyone Using the New Free Mulberry Mail Client?
On Friday 01 September 2006 20:40, Paul Schmehl wrote: --On Friday, September 01, 2006 20:13:25 +0100 RW [EMAIL PROTECTED] wrote: I didn't say it was, it was just that my specific problem was that I deleted the resources directory without knowing it existed. For my own use, I don't see the point in putting anything under /usr until there is a port. And it's not just the Resources directory that's important, SSL/TLS support is provided by a plugin. Thanks for pointing that out. I'll have to see if there's a way to point to that directory. It's just a thought, but perhaps the linking could be handled by wrapping the binary in a shell script that verifies ~/.mulberry and the links. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Snapshot performance
On Fri, Sep 01, 2006 at 11:08:51AM -0700, Paul Lathrop wrote: Hi all, We're working on deploying a new mail server on FreeBSD 6.1-STABLE. One of the major selling points was the ability to take filesystem snapshots in order to make backups from a consistent filesystem on such a high-traffic system. Unfortunately, when I take a snapshot, performance slows to a crawl - to the point where the system stops responding to network requests (ping, SMTP, etc.). Also, the snapshot takes 10-15 minutes to complete. Is this a typical situation? Will I need to schedule downtime for backups in spite of this nifty new feature? Am I doing something wrong? Time depends on the size of the filesystem - but you are correct that snapshots were not designed with performance in mind (rather, to speed up booting after an unclean shutdown by removing the need to wait for fsck). Kris pgpVdsO0XfXbl.pgp Description: PGP signature
Re: kldload: can't load linux: ERROR????
On Fri, 01 Sep 2006 20:50:58 + Daniel Cadorin wrote: I qualified in host. However he presents the following message: OK. jail$ sqlplus user/[EMAIL PROTECTED] ELF interpreter /lib/ld-linux.so.2 not found Abort trap Have you managed to install linux port in a jail? Do you have /compat/linux/lib/ld-linux.so.2 file in a jail? PS. Please, don't top-post. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
graphics programd like xpaint and gimp.
I finally realized why I couldn't change the solid-color bg with xpaint. The bucket [icon] is missing; the documentation doesn't reflect this... But *anyway*, to other things-graphic. With gimp, is it possible to create polygons? How about a 5-pointed star? Or 6- or 7-pointed star? I have found some images of what I'm looking for thru Google/images, but the bavkgrounf is not solid for some images, c. Also, it is possible to join two or three (already-drawn, on-disk) images with gimp? I'm thinking of a circle surrounding a hexagon surrounding a square, e.g. --Part of this is just-for-fun curiosity before I get back to my studies; part of it is to try to create designs for my jottings pages. thanks for any insights, gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: taking many 198k mp3 files and converting them to 16k mp3
On Wed, Aug 30, 2006 at 10:08:04AM +0100, Howard Jones wrote: [EMAIL PROTECTED] wrote: If your DVD player can't play mp3s, then it can't play DVDs. ;) Remember, mp3s are the audio layer of mpegs. And DVD videos consist of mpegs. For a DVD-Video disc, the audio formats are PCM (plain old wav, effectively), AC-3 (dolby digital) and MPEG-1 Audio Layer II (only). A lot of DVD players will also play MP3s, either on data CDs or data DVDs (or both), but it isn't a requirement as far as I can tell. The choices seem pretty arbitrary too. My Pioneer player will play a DVD-R full of MP3s, but the replacement model will only play MP3 CD-Rs (and you have to read the fine print in the manual to figure it out, too). It seems that a lot of DivX-playing DVD players only play CDs of DivX, not DVDs too (Toshiba, Pioneer again). That's why I was fiddling around with MP2 and minimal video - it's an actual standard DVD then. Although in fact I made an NTSC disc with MP2, which is apparently a no-no. My source was for the audio info was: http://stream.uen.org/medsol/dvd/pages/dvd_format_audio4DVDvideo.html Great URL. If you or anybody else has any other audio type pages, please do post them. (Time I caught up to the 20th century. :-|) A related area is the brand new 'mp4' or 'aacplus' format. I don't care much how good the audio quality is most of the tme. But I've listed to sites that play 24k mp3 and 24k aacplus, and the difference is significant. For voice, it's a dontcare. But for music, bigdifference. gary Howie -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Snapshot performance
Kris Kennaway wrote: On Fri, Sep 01, 2006 at 11:08:51AM -0700, Paul Lathrop wrote: Hi all, We're working on deploying a new mail server on FreeBSD 6.1-STABLE. One of the major selling points was the ability to take filesystem snapshots in order to make backups from a consistent filesystem on such a high-traffic system. Unfortunately, when I take a snapshot, performance slows to a crawl - to the point where the system stops responding to network requests (ping, SMTP, etc.). Also, the snapshot takes 10-15 minutes to complete. Is this a typical situation? Will I need to schedule downtime for backups in spite of this nifty new feature? Am I doing something wrong? Time depends on the size of the filesystem - but you are correct that snapshots were not designed with performance in mind (rather, to speed up booting after an unclean shutdown by removing the need to wait for fsck). Kris Are there plans to improve performance of snapshots? Using the freebsd-snapshot port to link FS snapshots to the automounter is pretty nifty, but it does kill I/O performance while that's in progress as the OP mentioned. -- -- Skylar Thompson ([EMAIL PROTECTED]) -- http://www.cs.earlham.edu/~skylar/ signature.asc Description: OpenPGP digital signature
Ruby won't upgrade to 1.8.5
When trying to portupgrade ruby to 1.8.5, I get the following: ..snip.. Generating RI... /usr/ports/lang/ruby18/work/ruby-1.8.5/lib/yaml.rb:387: [BUG] Segmentation fault ruby 1.8.5 (2006-08-25) [i386-freebsd6] Abort trap *** Error code 134 Stop in /usr/ports/lang/ruby18/work/ruby-1.8.5. *** Error code 1 Stop in /usr/ports/lang/ruby18. *** Error code 1 Stop in /usr/ports/lang/ruby18. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade36977.8 env PORT_UPGRADE=yes make reinstall egrep: /var/db/pkg/ruby-1.8.4_9,1/+CONTENTS: No such file or directory --- Restoring the old version Deinstalling obsoleted packages that are now part of ruby... ** Fix the installation problem and try again. [Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 117 packages found (-0 +1) . done] --- Skipping 'databases/ruby-bdb1' (ruby18-bdb1-0.2.2) because a requisite package 'ruby-1.8.4_9,1' (lang/ruby18) failed (specify -k to force) --- Skipping 'databases/ruby-bdb' (ruby18-bdb-0.5.9_2) because a requisite package 'ruby-1.8.4_9,1' (lang/ruby18) failed (specify -k to force) --- Skipping 'sysutils/portupgrade' (portupgrade-2.1.3.3,2) because a requisite package 'ruby-1.8.4_9,1' (lang/ruby18) failed (specify -k to force) ** Listing the failed packages (*:skipped / !:failed) ! lang/ruby18 (ruby-1.8.4_9,1) (install error) * databases/ruby-bdb1 (ruby18-bdb1-0.2.2) * databases/ruby-bdb (ruby18-bdb-0.5.9_2) * sysutils/portupgrade (portupgrade-2.1.3.3,2) --- Packages processed: 0 done, 113 ignored, 3 skipped and 1 failed ** Could not clean up temporary directory: Directory not empty - /var/tmp/portupgrade6IqfQ0W1 [EMAIL PROTECTED]:/root# Am using portsnap to maintain ports. Running FBSD 6.1. How do I fix this error? ~Doug --- Microsoft: Where do you want to go today? Linux: Where do you want to go tomorrow? FreeBSD: Are you guys coming or what? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: FreeBSD router
Hello Richard, I have been using FreeBSD since 1998 and never had to use cisco, Freebsd has a great builtin features, I'm Using Freebsd for a hotspotlogin, with no external servers from anykind, Its my radius, router, ipfw, internetspot login, NAT and port directions. Also i have 2 additional servers in two diffrent locations each has its own bzns, running DNS, email services, hosting, and hundreds of other services. Since i knew FreeBSD i never had to touch any cisco or any other creatures in general. except a HUB and some cables. :) However, I dunt know if you still need Cisco router or anyother machines, maybe as some gurus here wrote, depends on your needs. best of luck. and take a look on FreeBSD handbook, on www.freebsd.org maybe you will find the part you are looking for in routing or cisco that freebsd will do. best of luck Marwan Sultan Dear all, I want to know, between Cisco Router and a compiled of FreeBSD Router which one is better? Is it posible to build a Router Appliance on FreeBSD instead of using ISO of Cisco? Richard Ben, CIO -- _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: graphics programd like xpaint and gimp.
Gary Kline wrote: I finally realized why I couldn't change the solid-color bg with xpaint. The bucket [icon] is missing; the documentation doesn't reflect this... But *anyway*, to other things-graphic. With gimp, is it possible to create polygons? How about a 5-pointed star? Or 6- or 7-pointed star? I have found some images of what I'm looking for thru Google/images, but the bavkgrounf is not solid for some images, c. Also, it is possible to join two or three (already-drawn, on-disk) images with gimp? I'm thinking of a circle surrounding a hexagon surrounding a square, e.g. --Part of this is just-for-fun curiosity before I get back to my studies; part of it is to try to create designs for my jottings pages. thanks for any insights, gary Wondered this myself. The first Google result on 'polygons gimp' returned the GFig component accessed via filters-render-gfig. Made a 6 pointed star inside a circle inside a square in seconds. For joining images you may need to read up on the gimp. Specifically copy, paste, layers, transparency, masks, and canvas sizes are just some of the basics that you might have to deal with. HTH, Micah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ruby won't upgrade to 1.8.5
On 9/1/06, Doug Sampson [EMAIL PROTECTED] wrote: When trying to portupgrade ruby to 1.8.5, I get the following: ..snip.. Generating RI... /usr/ports/lang/ruby18/work/ruby-1.8.5/lib/yaml.rb:387: [BUG] Segmentation fault ruby 1.8.5 (2006-08-25) [i386-freebsd6] Without anything else to go on, ruby seems to strongly dislike certain CFLAGS settings (I think -fomit-frame-pointer is one, if I recall from some rebuilding problems I had a year or so ago). Check your /etc/make.conf , perhaps just commenting the CFLAGS CXXFLAGS CPUTYPE settings out. Once in a while I run into a port that will not rebuild through portupgrade, yet seems to work perfectly by: cd /usr/ports/port path make deinstall reinstall Then again, if all you use ruby for is portupgrade, maybe you can try: portupgrade -pp ruby ? -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD router
Hello Sultan: I have with FreeBSD about 1 year and I have config and run many services such as NAT/Router/Firewall/Ipfilter, Mailserver, DNS server, DHCP Server, Cache proxy server. But soon, I will have to handle VPN Project from Cambodia to Singapore which got existing Cisco infrastructure. I think my customer will not choose FreeBSD for thier VPN Tunnel. But anyway, I want to know see whether some Internet Backbone or ISP used FreeBSD as thier Internet facilities as us or not. I hope we can be a good friend in FreeBSD. but I just start into it around 1 year. Rgds, Richard Ben, CIO - Original Message - From: Marwan Sultan [EMAIL PROTECTED] To: [EMAIL PROTECTED]; freebsd-questions@freebsd.org Sent: Saturday, September 02, 2006 6:09 AM Subject: RE: FreeBSD router Hello Richard, I have been using FreeBSD since 1998 and never had to use cisco, Freebsd has a great builtin features, I'm Using Freebsd for a hotspotlogin, with no external servers from anykind, Its my radius, router, ipfw, internetspot login, NAT and port directions. Also i have 2 additional servers in two diffrent locations each has its own bzns, running DNS, email services, hosting, and hundreds of other services. Since i knew FreeBSD i never had to touch any cisco or any other creatures in general. except a HUB and some cables. :) However, I dunt know if you still need Cisco router or anyother machines, maybe as some gurus here wrote, depends on your needs. best of luck. and take a look on FreeBSD handbook, on www.freebsd.org maybe you will find the part you are looking for in routing or cisco that freebsd will do. best of luck Marwan Sultan Dear all, I want to know, between Cisco Router and a compiled of FreeBSD Router which one is better? Is it posible to build a Router Appliance on FreeBSD instead of using ISO of Cisco? Richard Ben, CIO -- _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: graphics programd like xpaint and gimp.
On Fri, Sep 01, 2006 at 05:33:35PM -0700, Micah wrote: Gary Kline wrote: I finally realized why I couldn't change the solid-color bg with xpaint. The bucket [icon] is missing; the documentation doesn't reflect this... But *anyway*, to other things-graphic. With gimp, is it possible to create polygons? How about a 5-pointed star? Or 6- or 7-pointed star? I have found some images of what I'm looking for thru Google/images, but the bavkgrounf is not solid for some images, c. Also, it is possible to join two or three (already-drawn, on-disk) images with gimp? I'm thinking of a circle surrounding a hexagon surrounding a square, e.g. --Part of this is just-for-fun curiosity before I get back to my studies; part of it is to try to create designs for my jottings pages. thanks for any insights, gary Wondered this myself. The first Google result on 'polygons gimp' returned the GFig component accessed via filters-render-gfig. Made a 6 pointed star inside a circle inside a square in seconds. For joining images you may need to read up on the gimp. Specifically copy, paste, layers, transparency, masks, and canvas sizes are just some of the basics that you might have to deal with. HTH, It helps to know some of this is possible, thank you. Unfortuantly, something is fouled up in my build directory. I'm tired of the build probs so have begun to move to Ubuntu. --Unfortunately, the readmes are not installed by default. I'll google around for the online docs. gary Micah -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
BSDstats: August Statistics
Wow, September is already up to 1054 hosts reporting in, but we also have a minor bug, in that everything is recorded to the database at time of report, in GMT ... so, for instance, all the Australian hosts reporting in show up in the database as August. Short term, it tends to make the numbers look a bit odd, but long term, it shouldn't matter ... Antony has been working on the web site itself (http://www.bsdstats.org) to make it look good, but the stats pages still need work ... but, like everyone, business and family come first ... I'm going to work on writing up a 'general report', and, of course, we will have 'previous stats' available on the web site, but here is how August looked over all ... September is already looking better, with 1064 hosts already reporting in ... Hosts reporting in August: 957 Top 5 Countries: Germany | 142 United States| 137 Russian Federation | 119 Ukraine | 106 Australia|48 Architectures Reporting in: i386 | 867 amd64|75 sparc64 | 7 alpha| 6 powerpc | 1 ia64 | 1 Major Releases in Use: 6.x | 681 5.x | 138 4.x | 109 7.x |29 Top 10 Branches in Use: 6.1-STABLE | 301 6.1-RELEASE| 116 6.1-RELEASE-p3 | 105 4.11-STABLE|41 6.1-RELEASE-p2 |31 6.0-RELEASE|28 7.0-CURRENT|26 5.4-RELEASE|20 5.4-STABLE |18 6.1-PRERELEASE |17 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Oh, no....
Well, gang, for about the only time in ten or eleven years, my FreeBSD has kernel crashed. The kernel err is 18 I believe a int divide by zero. I backup most stuff regularly but still have several megs of data files. Can I fix this with a fixit disk? Or is all hope lost? gary Fatal trap 18: blah, blah Uptime 1sec -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
OT: Web development
I have this idea for a website and want to try my hand in implementing the idea. I have never done this before and do not have a clue as to where to start. I know programming in C and had learnt javascript a long time back. I dont think it should be difficult for me to quickly learn python or php and gather some knowledge in postgres. What I am concerned about is an orientation in how web based projects are modularized and developed. How to take care of security related concerns etc... I need to read up on this. Could anyone suggest a good book regarding the same? Thanks, Vishy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
System down, won't come up (was: Oh, no....)
On Friday, 1 September 2006 at 20:30:24 -0700, Gary Kline wrote: Well, gang, for about the only time in ten or eleven years, my FreeBSD has kernel crashed. The kernel err is 18 I believe a int divide by zero. I backup most stuff regularly but still have several megs of data files. Can I fix this with a fixit disk? Or is all hope lost? gary Fatal trap 18: blah, blah Uptime 1sec It sounds like you forgot to say it crashed and won't come up again. There are dozens of reasons why this could happen. What about booting the backup kernel? If that doesn't work either, you could have hardware problems, or you could have corrupted system binaries. In the latter case, the fixit disk might help, but I'd certainly try the backup kernel before the fixit disk: it's much easier. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgp1xXzlaoTN2.pgp Description: PGP signature
Is the new version going to be easier to get working?
Hi, Two mornings ago I was feeling pretty good. I had downloaded and burnt to disc freebsd, pcbsd and also desktopbsd. But not now Having 21 computers here I figured I would finally be rid of MSwindows, and have a complete LAN system that was more reliable. Seven computers I have tried with all three BSDs and not one of them managed to produce a working network connection. The only thing I achieved was that now I can almost visualise every screen from the installations. I am baffled by how anyone is able to get a bsd networked system working. I guess I just have to stick with a windowsOS. Regards ... Ian Galloway _ Live simply, love blindly, care deeply, speak kindly. Leave the rest to God... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Azureus downloads slow
Hi all, I am running a Azureus (headless w/ webui) on my FreeBSD 6.1 system and it works. The problem is that, for some reason I can't discover, downloads are slow. It is not because of the torrent. It is my setup. Every couple hours download speed drops to under 1 kbps and availability drops too, so I restart Az. and download speeds are as expected for another couple of hours. What is going on here? Am i hitting some limit of open connections? I'm pretty sure it isn't the max file limit b/c i get the same problem when only downloading 1 torrent at a time. Any advice/solutions would be greatly appreciatted. Thanks a lot, ryan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]