Re: [OT] Server hosting with FreeBSD
Hi All, Thank you for the indications. I'll analyse those options. On Fri, 6 Mar 2009, Mikel King wrote: | |On Mar 5, 2009, at 9:56 PM, Jack L. wrote: | | I provide that hosting and sharktech does as well. | | On Thu, Mar 5, 2009 at 5:09 PM, Nerius Landys nlan...@gmail.com wrote: |We´re looking for good hosting services that offer installations of | FreeBSD in dedicated servers. |Any one could point some? |Most of the companies offer Linux and Windows, but only few with | FreeBSD. |The one thar we use today, only install a fixed image. Just a simple | custom partition modification, cannot be done. | | There is (believe it or not) a webpage on the freebsd.org website that | lists some commercial businesses that offer colocation and/or | dedicated servers: | | http://www.freebsd.org/commercial/isp.html | | My server is colocated with m5hosting.com (halfway down on that page) | in San Diego. I'm very happy with them. I'm running 5 video game | servers for the free game Urban Terror on my server. | | | |I missed the original post and since it's been snip I am not sure who started |the thread. | |In any event if a VPS or JAIL will meet your needs I know of some options here |in NY. Physical servers are also available but not likely at a super low price |point. | |Feel free to contact me off list and I'll see if I can point you in those |directions | |Regard, |Mikel King | | | |___ |freebsd-questions@freebsd.org mailing list |http://lists.freebsd.org/mailman/listinfo/freebsd-questions |To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
[OT] Server hosting with FreeBSD
Hi all, We´re looking for good hosting services that offer instalations of FreeBSD in dedicated servers. Any one could point some? Most of the companies offer Linux and Windows, but only few with FreeBSD. The one thar we use today, only install a fixed image. Just a simple custom partition modification, cannot be done. Thank you, - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Help with high LA
Hi All, I need help for some strange problem with one of my servers, that can cost my job. It's a FreeBSD 7.0-RELEASE-p5/amd64 running on a Dell PowerEdge III as a Virtual machine of VMware ESXi. There are only two VM in this box, and one of them (basicly a mail server) is running fine. The problem is with high loads on the other one, that runs (besides other services) http and pop3. TOP show LA from 40 to 90 most of the time. I thought, at first, that was a disk botleneck due to some big mailboxes, or something related to some Apache (2.2.9) fine tuning, but it's something else. If I stop pop3 and apache services (the most active of the box), the LA drops to 1~2. Starting only one of them (any one) the LA rise to 20~40. Sugesting that it's not tied to a specific service. I did a test running just pop3 (Qpopper), pointing the mail spool to a empty directory, to make shure that it's not a disk problem. And the LA also goes to sky (~30). The same happens with only apache running pointing to a simple http page. The console shows messages like: ipfw: install_state: Too many dynamic rules I know I must review my rules and limit the number of keep-state entries, but a tryed to rise the number of dynamic buckets via sysctl: sysctl -w net.inet.ip.fw.dyn_buckets=2048 But it seems it's not working, since the number of current buckets doesn't pass 256: net.inet.ip.fw.curr_dyn_buckets: 256 I tryed to make some OS tuning, from the handbook, like increase the maxcon: kern.ipc.somaxconn: 2048 but nothing seems to work. Other entries in the logs: Feb 12 09:06:20 host1 inetd[1248]: accept (for ftp): Software caused connection abort Feb 12 09:06:20 host1 inetd[1248]: accept (for pop3): Software caused connection abort I need some clues to undestand what is happening. Thank you, - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Time skew
Hi All, I'm facing some strange behavior with an skew in the system clock. The hardware is a Dell PowerEdge 2950III, running two instances of FreeBSD 7.0-RELEASE-p5 - amd64 over an ESXi hipervisor. To both were allocated 4 processors and 4 GB of RAM, and dmesg for both are identical. I'm using clockspeed to synchronize the clock, but just one of them is delaying the clock a lot. The hardware clock is ok as far as the other virtual machine. Where should I start to investigate? - Marcelo Dmesg is following: Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-RELEASE-p5 #0: Mon Nov 3 13:19:30 BRST 2008 r...@tst.ciplan:/usr/obj/usr/src/sys/TREX-64 Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(R) CPU E5410 @ 2.33GHz (2357.36-MHz K8-class CPU) Origin = GenuineIntel Id = 0x10678 Stepping = 8 Features=0xfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CM OV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS Features2=0x82201SSE3,SSSE3,CX16,b19 AMD Features=0x20100800SYSCALL,NX,LM AMD Features2=0x1LAHF usable memory = 4013707264 (3827 MB) avail memory = 3883839488 (3703 MB) ACPI APIC Table: PTLTD APIC FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 Version 1.1 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) hptrr: HPT RocketRAID controller driver v1.1 (Nov 3 2008 13:19:19) acpi0: PTLTD RSDT on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter ACPI-safe frequency 3579545 Hz quality 850 acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0 cpu0: ACPI CPU on acpi0 acpi_throttle0: ACPI CPU Throttling on cpu0 cpu1: ACPI CPU on acpi0 acpi_throttle1: ACPI CPU Throttling on cpu1 acpi_throttle1: failed to attach P_CNT device_attach: acpi_throttle1 attach returned 6 cpu2: ACPI CPU on acpi0 acpi_throttle2: ACPI CPU Throttling on cpu2 acpi_throttle2: failed to attach P_CNT device_attach: acpi_throttle2 attach returned 6 cpu3: ACPI CPU on acpi0 acpi_throttle3: ACPI CPU Throttling on cpu3 acpi_throttle3: failed to attach P_CNT device_attach: acpi_throttle3 attach returned 6 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Running legacy i386 binaries on a amd64
Hi all, I have a fresh install of FBSD 7 amd64, and I want to run some legacy binaries from my old box (Fbsd 5.x i386). Searching the archives, I found this message: On Tue, 19 Aug 2008, Oliver Fromme wrote: |Christopher Joyner wrote: | Is there some way of doing that? Running i386 software on amd64 machine? | |Yes. FreeBSD/amd64 contains a compatibility facility |for i386 binaries. It should just work out of the box, |unless disabled explicitly. When I try to run the binaries, the following error message is displayed: ELF interpreter /libexec/ld-elf32.so.1 not found Abort I found the following tip to install 32bits libraries: cd /usr/src make build32 make install32 ldconfig -32 /usr/lib32 Is that enough? Thank you, - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Locked out of Root
Hi, Another option would be if that umprivileged user is in sudoers with permission to run the root shell (sudo -s). It doesn't need to be in wheel to do that. On Wed, 22 Oct 2008, mdh wrote: |He said his unprivileged user isn't in the wheel group. | |To answer the initial question, you'll need to login to the system on the local console. You cannot get root access via the network unless you're running another remote access service besides ssh which will allow you to login as root directly. | |- mdh | |--- On Wed, 10/22/08, Benjamin Lee [EMAIL PROTECTED] wrote: | From: Benjamin Lee [EMAIL PROTECTED] | Subject: Re: Locked out of Root | To: APseudoUtopia [EMAIL PROTECTED] | Cc: freebsd-questions@freebsd.org | Date: Wednesday, October 22, 2008, 11:25 PM | | Login as the unprivileged user and run: | | $ su | | See su(1). | | | | |___ |freebsd-questions@freebsd.org mailing list |http://lists.freebsd.org/mailman/listinfo/freebsd-questions |To unsubscribe, send any mail to [EMAIL PROTECTED] | - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
open-vm-tools no more in ports
Hi all, This open-vm-tools isn't in 7.0 ports. Anyone know why? On Wed, 3 Sep 2008, John Nielsen wrote: |On Wednesday 03 September 2008, B. Cook wrote: | I am setting up FreeBSD 7.0 and he is asking about the vmware-tools. | | Ports has some things, but I am not sure what I need, and neither is he. | | Can anyone tell me what it needs? | |I usually create VM's with the Intel gigabit vNIC's which can use |FreeBSD's em driver. Since Xorg includes the vmmouse and vmware video |drivers already, the main things you should be looking for are the |memory balloon driver and the guestd service. In the past I have gotten |these to work by using the supplied tools (on the CD image that |is inserted when you select Install VMware tools from the host). |However it is much easier nowadays to use the free version in |ports/emulators/open-vm-tools (or open-vm-tools-nox11). | |JN |___ |freebsd-questions@freebsd.org mailing list |http://lists.freebsd.org/mailman/listinfo/freebsd-questions |To unsubscribe, send any mail to [EMAIL PROTECTED] | - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 7 and ESXi (SOLVED)
All, It's working with FBSD amd64 now. I had to enable the Virtualization Technology on the PowerEdge BIOS. Although I understand that this option could enhance some virtualization features, it's not clear that I HAVE to enable it to run 64bits OSs. Thank you all, - Marcelo On Tue, 14 Oct 2008, Steve Polyack wrote: |[EMAIL PROTECTED] wrote: | Jeremy, | | On Mon, 13 Oct 2008, Jeremy Chadwick wrote: | | |On Tue, Oct 14, 2008 at 02:44:13AM -0300, [EMAIL PROTECTED] wrote: | | On Mon, 13 Oct 2008, Jeremy Chadwick wrote: | | | |On Tue, Oct 14, 2008 at 02:04:07AM -0300, [EMAIL PROTECTED] wrote: | | | Jeremy, | | | | | On Mon, 13 Oct 2008, Jeremy Chadwick wrote: | | | | | |On Tue, Oct 14, 2008 at 12:54:26AM -0300, [EMAIL PROTECTED] | wrote: | | | | I'm facing some problems trying to install a FreeBSD | | | | 7.0-RELEASE-amd64, on a Dell PE 2950III, dual Xeon Quad core, 8GB RAM. | | | | After (FBSD) boot menu count down, it shows a dump of the CPU | | | | registers and a message: BTX Halted. No matter what is changed in VM | | | | setup. | | | | | | | |Can you please download the 7.1-BETA2 ISO and try it instead? There | | | |have been changes to the FreeBSD boot loader between 7.0-RELEASE and | | | |7.1-BETA2 which may improve things for you. The 7.1-BETA2 ISOs are | | | |available here: | | | | | The same behavior with 7.1-BETA2. | | | | | |I'm not sure what to do at this point, or what to tell you, since the | | |kernel can't even load. | | | | | |Are you installing this off of CD, and is the CD drive hooked up to | | |the PC via ATA/SATA (rather than USB or something else)? | | |It's a bit more complicated, since, for some reason the Vmware | | client is unable to boot the VM from CD on the host server. It's | | booting an ISO image on the client machine. | | I already read something saying that it's a known issue of the | ESXi. | | Without the virtulization layer, the amd64 CD boots without | problems | in this machine. | | |Ah, so the truth comes out... :-) | | | |Have you brought this fact up with the VMware folks? They're quite a | |nice bunch, I wouldn't be surprised if they provided a hotfix for you | |for this problem. | | This will be my next step. | I sent here first, once it's a boot loader problem, specific to 64bits | version of Fbsd. I thought someone could faced the same and came with a howto | to workaround. | | Thank you anyway. :-) | | - Marcelo | | ___ | |Also, to eliminate any chance of this being hardware-related, I am also running |this on a Dell PE2950 with a similar configuration. | - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 7 and ESXi
Jeremy, On Mon, 13 Oct 2008, Jeremy Chadwick wrote: |On Tue, Oct 14, 2008 at 02:44:13AM -0300, [EMAIL PROTECTED] wrote: | On Mon, 13 Oct 2008, Jeremy Chadwick wrote: | | |On Tue, Oct 14, 2008 at 02:04:07AM -0300, [EMAIL PROTECTED] wrote: | | Jeremy, | | | | On Mon, 13 Oct 2008, Jeremy Chadwick wrote: | | | | |On Tue, Oct 14, 2008 at 12:54:26AM -0300, [EMAIL PROTECTED] wrote: | | |I'm facing some problems trying to install a FreeBSD | | | 7.0-RELEASE-amd64, on a Dell PE 2950III, dual Xeon Quad core, 8GB RAM. | | |After (FBSD) boot menu count down, it shows a dump of the CPU | | | registers and a message: BTX Halted. No matter what is changed in VM | | | setup. | | | | | |Can you please download the 7.1-BETA2 ISO and try it instead? There | | |have been changes to the FreeBSD boot loader between 7.0-RELEASE and | | |7.1-BETA2 which may improve things for you. The 7.1-BETA2 ISOs are | | |available here: | | | | The same behavior with 7.1-BETA2. | | | |I'm not sure what to do at this point, or what to tell you, since the | |kernel can't even load. | | | |Are you installing this off of CD, and is the CD drive hooked up to | |the PC via ATA/SATA (rather than USB or something else)? | | It's a bit more complicated, since, for some reason the Vmware | client is unable to boot the VM from CD on the host server. It's | booting an ISO image on the client machine. | I already read something saying that it's a known issue of the | ESXi. | Without the virtulization layer, the amd64 CD boots without | problems in this machine. | |Ah, so the truth comes out... :-) | |Have you brought this fact up with the VMware folks? They're quite a |nice bunch, I wouldn't be surprised if they provided a hotfix for you |for this problem. This will be my next step. I sent here first, once it's a boot loader problem, specific to 64bits version of Fbsd. I thought someone could faced the same and came with a howto to workaround. Thank you anyway. :-) - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 7 and ESXi
Hi all, I'm facing some problems trying to install a FreeBSD 7.0-RELEASE-amd64, on a Dell PE 2950III, dual Xeon Quad core, 8GB RAM. After (FBSD) boot menu count down, it shows a dump of the CPU registers and a message: BTX Halted. No matter what is changed in VM setup. It does not happen with i386 version. Which is the best release to install in this box? Should I go ahead with i386? Thank you, - Marcelo On Wed, 10 Sep 2008, Todor Genov wrote: |I have ran FreeBSD 6.3 and 7.0 in ESXi and haven't bumped into any |problems so far. | | When they say supported they are referring to service level |agreements and technical support should something go wrong, so if you |plan to use this in a production environment you need to do some prior |testing on your own. | |Regards, | |Todor Genov |Systems Operations | |Verizon Business South Africa (Pty) Ltd | |[EMAIL PROTECTED] |Tel: +27 11 235 6500 |Fax: 086 692 0543 | | | |[EMAIL PROTECTED] wrote: | HI all, | | I'm planning to virtualize a FreeBSD server on a Dell PowerEdge with | embedded hipervisor VMware ESXi 3.5. | Fbsd isn't listed as supported as guest OS for ESX(i), since version | 4.x. | Is there any report about problems or impossibility doing that? | | | - Marcelo | | ___ | 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] | - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 7 and ESXi
Jeremy, On Mon, 13 Oct 2008, Jeremy Chadwick wrote: |On Tue, Oct 14, 2008 at 12:54:26AM -0300, [EMAIL PROTECTED] wrote: | I'm facing some problems trying to install a FreeBSD | 7.0-RELEASE-amd64, on a Dell PE 2950III, dual Xeon Quad core, 8GB RAM. | After (FBSD) boot menu count down, it shows a dump of the CPU | registers and a message: BTX Halted. No matter what is changed in VM | setup. | |Can you please download the 7.1-BETA2 ISO and try it instead? There |have been changes to the FreeBSD boot loader between 7.0-RELEASE and |7.1-BETA2 which may improve things for you. The 7.1-BETA2 ISOs are |available here: The same behavior with 7.1-BETA2. | It does not happen with i386 version. | Which is the best release to install in this box? Should I go | ahead with i386? | |If this is going to be a desktop box and uses an nVidia video card, |you should stay with i386 (if I remember correctly there are no |working amd64 nVidia drivers). It'll be a production server, not a desktop. |This won't allow you to use the full 8GB of RAM you have installed, |though, without building a custom kernel with PAE support (and there are |known compatibility problems between PAE and certain kernel drivers). |It's strongly recommended you stick with amd64 if at all possible. In fact I'll not give the entire memory to this virtual machine. But I would like to use the full resources of 64bits CPU capacity. - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 7 and ESXi
On Mon, 13 Oct 2008, Jeremy Chadwick wrote: |On Tue, Oct 14, 2008 at 02:04:07AM -0300, [EMAIL PROTECTED] wrote: | Jeremy, | | On Mon, 13 Oct 2008, Jeremy Chadwick wrote: | | |On Tue, Oct 14, 2008 at 12:54:26AM -0300, [EMAIL PROTECTED] wrote: | | I'm facing some problems trying to install a FreeBSD | | 7.0-RELEASE-amd64, on a Dell PE 2950III, dual Xeon Quad core, 8GB RAM. | | After (FBSD) boot menu count down, it shows a dump of the CPU | | registers and a message: BTX Halted. No matter what is changed in VM | | setup. | | | |Can you please download the 7.1-BETA2 ISO and try it instead? There | |have been changes to the FreeBSD boot loader between 7.0-RELEASE and | |7.1-BETA2 which may improve things for you. The 7.1-BETA2 ISOs are | |available here: | | The same behavior with 7.1-BETA2. | |I'm not sure what to do at this point, or what to tell you, since the |kernel can't even load. | |Are you installing this off of CD, and is the CD drive hooked up to |the PC via ATA/SATA (rather than USB or something else)? It's a bit more complicated, since, for some reason the Vmware client is unable to boot the VM from CD on the host server. It's booting an ISO image on the client machine. I already read something saying that it's a known issue of the ESXi. Without the virtulization layer, the amd64 CD boots without problems in this machine. - Marcelo |John Baldwin might have some ideas, but debugging this is going to be |difficult because you're wanting to use amd64 but the only way to get a |usable box is under i386. | | It does not happen with i386 version. | | Which is the best release to install in this box? Should I go | | ahead with i386? | | | |If this is going to be a desktop box and uses an nVidia video card, | |you should stay with i386 (if I remember correctly there are no | |working amd64 nVidia drivers). | | It'll be a production server, not a desktop. | | |This won't allow you to use the full 8GB of RAM you have installed, | |though, without building a custom kernel with PAE support (and there are | |known compatibility problems between PAE and certain kernel drivers). | |It's strongly recommended you stick with amd64 if at all possible. | | In fact I'll not give the entire memory to this virtual machine. | But I would like to use the full resources of 64bits CPU capacity. | |-- || Jeremy Chadwickjdc at parodius.com | || Parodius Networking http://www.parodius.com/ | || UNIX Systems Administrator Mountain View, CA, USA | || Making life hard for others since 1977. PGP: 4BD6C0CB | | - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 7 and ESXi
HI all, I'm planning to virtualize a FreeBSD server on a Dell PowerEdge with embedded hipervisor VMware ESXi 3.5. Fbsd isn't listed as supported as guest OS for ESX(i), since version 4.x. Is there any report about problems or impossibility doing that? - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Maildrop + sendmail
Hi all, Maybe it's not a FBSD problem, but I think someone here have the answer. I'm trying to use maildrop as MDA with sendmail, but I'm facing some troubles. That is, since some of my local users don't have defined a home dir, when maildrop is set to delivery mode (-d $u) in sendmail.cf, as shown in sendmail docs: FEATURE(`local_procmail', `/usr/local/bin/maildrop', `maildrop -d $u') the following message starts to show: Aug 15 11:43:25 host1 maildrop[75586]: Unable to change to home directory. If, on the other hand, I set it in sendmail as in manual mode: FEATURE(`local_procmail', `/usr/local/bin/maildrop', `maildrop /usr/local/etc/maildroprc') The maildrop processes start to grow, and the following message starts to show: Aug 15 12:02:32 host1 sm-mta[83296]: m7FEvVMM083288: timeout waiting for input from host1.mydomain.com during client greeting Aug 15 12:02:32 host1 sm-mta[83296]: m7FEvVMM083288: smtpquit: mailer local exited with exit value 75 It seems that no message body is sent to maildrop. Does any of you have successfully configured maildrop+sendmail in an scenario like that? - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Load balance for POP3
Hi Vince, On Mon, 30 Jun 2008, Vince Hoffman wrote: | | I need to switch the users connections between two POP3 servers based on | | login information. | | Since the login is part of the pop3 handshake, I'm stuck on how to | | transfer the connection and pass the info already sent. | |would nginx (as described here |http://highscalability.com/nginx-high-performance-smpt-pop-imap-proxy) |be more what your after? Yes, it seems thar Nginx has what I need. Do you have any working setup? Thank you, - Marcelo Souza - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Load balance for POP3
Roger, On Fri, 27 Jun 2008, Roger Olofsson wrote: |[EMAIL PROTECTED] skrev: | | I need to switch the users connections between two POP3 servers based on | login information. | Since the login is part of the pop3 handshake, I'm stuck on how to | transfer the connection and pass the info already sent. | I'm trying to script something with socat | (http://www.dest-unreach.org/socat/doc/socat.html). | | I'll appreciate any clue. | |You might want to take a look at Pen /usr/ports/net/pen. In this case Pen does not help, since I want to decide which server to switch after login. - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Load balance for POP3
Hi All, I need to switch the users connections between two POP3 servers based on login information. Since the login is part of the pop3 handshake, I'm stuck on how to transfer the connection and pass the info already sent. I'm trying to script something with socat (http://www.dest-unreach.org/socat/doc/socat.html). I'll appreciate any clue. TIA, - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: to scsi or not to scsi
Hi, How can I know if my Fbsd box supports NCQ and if it's beeing used? - Marcelo On Thu, 26 Jun 2008, Jos Chrispijn wrote: |prad wrote: | i've heard scsi hard drives are really good. | i've also seen at least one site which claims that ide easily | outperform scsi. | | for the server we got (dual P3 1GHz 2M which will use raid), is one | preferable over the other? and what about sata? | |Prad, | |Have a look at this URL: http://www.pugetsystems.com/articles.php?id=19 | |Jos |___ |freebsd-questions@freebsd.org mailing list |http://lists.freebsd.org/mailman/listinfo/freebsd-questions |To unsubscribe, send any mail to [EMAIL PROTECTED] | - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems mounting UDF DVDs
Hi all, When I burn a DVD with files larger then 2G, k3b automatically changes to UDF file system. The burn process seems to finish OK. A test with 'dd' reports no problem. But when I mount (iso9660) the DVD, and try to access a file big file, the following message is displayed: ls -l /cdrom/ ls: saved.2007.gzip: Value too large to be stored in data type But all other files are OK. If I use 'mount_udf' instead, only the last 9 (alphabetically) files are shown. None of them bigger then 2G. Freebsd 6.1 dvd+rw-tools-7.0 What am I doing wrong? - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
(no subject)
Hi all, I have a server in a host service that stopped this morning. After a contact with the service support of them, I got the following answer to the problem: [quote] REBOOT SERVER Due to a failed switch replacement FreeBSD did not restore the network link. This is a farly common issue with FreeBSD. I restarted the server and it should be back online shortly. [end quote] It's a P4-3GHz, with the following, probably on-board, ether card: vr0: VIA VT6102 Rhine II 10/100BaseTX port 0xcc00-0xccff mem 0xfdffe000-0xfdffe0ff irq 23 at device 18.0 on pci0 Is this a really known problem? Is there anything I can do to avoid reboot? I have some (local) servers with FBSD and never had such problem. - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem after upgrade, please help
Hi all, I'm in trouble here. I did an upgrade via Boot CD, from FBSD 5.4 to 6.1 that finished without errors. But after the reboot, I discovered that the disk partition has gone. The original disk had two partitions, one DOS (20GB) and the other FBSD (60 GB), selectable via FBSD boot manager. Since I don't have a backup of the original disk labels, how can I recover my partitions? Thank you, - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem after upgrade, please help
Hi Chuck, On Fri, 15 Jun 2007, Chuck Swiger wrote: |On Jun 15, 2007, at 8:54 AM, [EMAIL PROTECTED] wrote: | I did an upgrade via Boot CD, from FBSD 5.4 to 6.1 that finished | without errors. But after the reboot, I discovered that the disk partition | has gone. | The original disk had two partitions, one DOS (20GB) and the other FBSD | (60 GB), selectable via FBSD boot manager. | Since I don't have a backup of the original disk labels, how can I | recover my partitions? | |You can try to use the fdisk program via the sysinstall program from your boot |CD (ie Configure-Fdisk) and recreate your partitions, assuming you can |remember or get lucky recreating the exact parameters. There's also: I don't think I have that lock. :-) |/usr/ports/sysutils/testdisk I'll try testdisk, thank you. - Marcelo Souza |Tool to check and undelete partition |Works with the following partitions: |- FAT12 FAT16 FAT32 |- Linux EXT2/EXT3 |- Linux SWAP (version 1 and 2) |- NTFS (Windows NT/W2K/XP) |- BeFS (BeOS) |- UFS (BSD) |- Netware |- ReiserFS | |TestDisk is under GNU Public License. |You can compile it under Dos with DJGPP or under Linux or BSD with gcc. | |WWW: http://www.cgsecurity.org/ | |- Florent Thoumie |[EMAIL PROTECTED] | |-- |-Chuck - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Backing up large partitions
Hi, On Tue, 15 May 2007, Phusion wrote: |I need some advice on how to backup a UNIX server. The server has |multiple large partitions ranging from 200 to 400 GB. Also, the server |doesn't have a tape drive. We recently got a large NAS device that has |2 TB of storage space. The UNIX server has Samba installed and can be |setup to mount a Windows network share. I would like the ability to |run full and incremental backups as well as restores. Let me know what |you think. Take a look at rsnapshot (it's in ports), it uses rsync with hardlinks to decrease the size of incremental backups. - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Lexmark E120 (with CUPS or apsfilter)
Hi All, Has Anyone successfully installed this printer on a FBSD machine? I tried it using CUPS, it works but some times it sends some garbage to printer (basically when printing from a Windows machine). Using apsfilter, no driver seems to work. When printing, even from FBSD host machine, the printer does not pull the paper. I'm looking for some successful story. - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FBSD RSS feed
Hi all, Why the RSS feed of the security advisories does not work with Fire Fox? http://www.freebsd.org/security/advisories.rdf This XML file does not appear to have any style information associated with it. The document tree is shown below. - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
unroll-loops - Is it always safe?
Hi All, Is it always safe to use -funroll-loops as a flag to /etc/make.conf ? Does it realy improve the compiled programs? When should I avoid to use it? - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Clustering
Hi all, Where is the best place to look for information about clustering Freebsd? The freebsd-clustering list seems to be abandoned. - Marcelo Souza ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to copy hardlinks as hardlinks
HI all, I'm doing some backups with rsnapshot, and I want to copy those backups to a DVD. Although 'df' and 'du', shows that to total space used for it is less then the total capacity of the DVD disk (~ 3.5GB), growisofs/mkisofs are treating hardlinks as files (I know it is the idea, but...) so the amount of backup volume jumps to +20GB. How can I copy the rsnapshot backup dir to a DVD as it is on HD? Thank you, - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
POP3 conection throttle
Hi All, Does anybody know any wrapper to popper server to throttle the per user connection rate? I would like to avoid some users to connect the pop3 server, every 30 secs, i.e. Something that returns no new messages, between a configurable time. Thank you, - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mkisofs: out of memory
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? - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
TCP timeout
Hi folks, I'm facing some troubles with mail server on a busy slow link. I'm getting a lot of sendmail: SYSERR: collect: read timeout on connection from entries in the logs. I found this page showing an workaround for Solaris. Is it applicable for Free BSD 5.4? If positive, is there any sysctl variable to tun it? -xx- TCP/IP connections time out too soon, especially on slow links. The tcp/ip abort interval in Solaris 2.x is too short, the default value is 2 minutes. The result is that when an ACK isn't received in 2 minutes, the connection is closed. This is most often seen by sendmail, which will log sendmail: SYSERR: collect: read timeout on connection from ... You can fix this by running following command which increases the timeout to 8 minutes (unit is millisec), which is the Solaris 2.4+ (and patched 2.3) default. /usr/sbin/ndd -set /dev/tcp tcp_ip_abort_interval 48 -xx- - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to raise the limit for sockets
Hi all, How can I raise the file descriptors limits for each socket in FBSD 5.4? Thank You, - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FBSD 5.x and Skype sound
Ariff, FreeBsd 5.4. The sound is terrible. Even using echo123 sound test. On Mon, 1 May 2006, Ariff Abdullah wrote: |On Wed, 26 Apr 2006 11:38:00 -0300 (BRT) |[EMAIL PROTECTED] wrote: | Hi all, | | I know that there is a lot o threads about this, but none of | the | workarrounds had worked with me. | | I trying to use skype (1.2.0.18 from ports), on a FBSD 5.4 | (last | cvs), but the sound is failing. | | My on-board sound chipset is CMI8738, I'm using the | snd_cmi_load=YES in the /boot/loder.conf. | I've tried set sysctl vars hw.snd.pcm0.vchans and | hw.snd.maxautovchans, but nothing worked. | | The problem is associated only with skype. | | Any tips? | | |What kind of problem? What FreeBSD version? | |Refer to http://people.freebsd.org/~ariff/BUG_REPORT . I need all that |informations first. | | |-- |Ariff Abdullah |FreeBSD | - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FBSD 5.x and Skype sound
Hi all, I know that there is a lot o threads about this, but none of the workarrounds had worked with me. I trying to use skype (1.2.0.18 from ports), on a FBSD 5.4 (last cvs), but the sound is failing. My on-board sound chipset is CMI8738, I'm using the snd_cmi_load=YES in the /boot/loder.conf. I've tried set sysctl vars hw.snd.pcm0.vchans and hw.snd.maxautovchans, but nothing worked. The problem is associated only with skype. Any tips? - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: memtest86 memory test
Hi, I think memtest86 is the best, but you could use something like this bellow. Just adjust the value of N_MEGABYTES, and start as many process as you want to full the fisical memory. [start of code] #include stdio.h #define N_MEGABYTES 160 #define TOTAL (N_MEGABYTES * 1024 * 1024) int main(void) { int i; char *p; char *mem = malloc(TOTAL); if ( mem == NULL ) { perror(malloc); return 1; } while ( 1 ) { for (i = 0, p = mem; i TOTAL; i++, p++) { if ( *p == 0 ) *p = 1; *p = 1; } } return 0; } [end of code] On Wed, 19 Apr 2006, FreeBSD Daemon wrote: |Dear list | |Is there a memory test suite other them memtest86/memtest86+ | |TIA | |zheyu | |___ |freebsd-questions@freebsd.org mailing list |http://lists.freebsd.org/mailman/listinfo/freebsd-questions |To unsubscribe, send any mail to [EMAIL PROTECTED] | - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Several questions
Hi Rhys, On Tue, 18 Apr 2006, Rhys Sage wrote: |3. Is there any software for FreeBSD that will read |Canon CR2 files from my Canon XT? You can use gPhoto2 to convert your raw files: http://www.gphoto.org/ Or Dcraw: http://www.insflug.org/raw/software/tools/dcraw.php3 And GIMP to edit the images. http://www.gimp.org/ They're powerfull tools, but you may have some learn curve, if you're familiar to Photoshop i.e. - Marcelo Souza ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
WAP webmail
Hi all, Any sugestion for a webmail solution that works with mobile devices (Cellphones, PDAs, etc.)? Thank you, - Marcelo Souza ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Network tunning
Hi all, I need some help to fine tune a mail server. The machine is running (Fbsd 5.4) for a long time, but I'm seeing too many connections droped in sendmail log, and some users complains about timeout connecting to smtp port. From the handbook I increased the kern.ipc.somaxconn to 1024 as sugested. Using ps axH shows about 350 processes. With netstat -s -p tcp worrys me the value of listen queue overflows, is it normal? Bellow is the full output of netstat. What else can I use to track the problem? Thank you, - Marcelo Souza tcp: 299940903 packets sent 170887610 data packets (2229408012 bytes) 3195422 data packets (2540945914 bytes) retransmitted 122892 data packets unnecessarily retransmitted 9 resends initiated by MTU discovery 97048877 ack-only packets (7662921 delayed) 0 URG only packets 92888 window probe packets 24780412 window update packets 4041857 control packets 246506831 packets received 105676020 acks (for 1375023355 bytes) 12944539 duplicate acks 12456 acks for unsent data 72749271 packets (14818446 bytes) received in-sequence 8337796 completely duplicate packets (2516522316 bytes) 1814433 old duplicate packets 43730 packets with some dup. data (19627001 bytes duped) 56071043 out-of-order packets (3456612566 bytes) 2666 packets (3197931 bytes) of data after window 21 window probes 2895146 window update packets 60090 packets received after close 4802 discarded for bad checksums 1 discarded for bad header offset field 0 discarded because packet too short 972406 connection requests 2193450 connection accepts 379044 bad connection attempts 3508 listen queue overflows 15310 ignored RSTs in the windows 3103565 connections established (including accepts) 3166854 connections closed (including 337144 drops) 2617462 connections updated cached RTT on close 2658065 connections updated cached RTT variance on close 1857871 connections updated cached ssthresh on close 62026 embryonic connections dropped 94220002 segments updated rtt (of 81339570 attempts) 2752038 retransmit timeouts 42108 connections dropped by rexmit timeout 106133 persist timeouts 1378 connections dropped by persist timeout 49366 keepalive timeouts 705 keepalive probes sent 48657 connections dropped by keepalive 5490574 correct ACK header predictions 58517171 correct data packet header predictions 2363634 syncache entries added 665160 retransmitted 546143 dupsyn 0 dropped 2193450 completed 9240 bucket overflow 0 cache overflow 23559 reset 133854 stale 3508 aborted 0 badack 52 unreach 0 zone failures 0 cookies sent 33 cookies received 286560 SACK recovery episodes 586050 segment rexmits in SACK recovery episodes 816504390 byte rexmits in SACK recovery episodes 2640912 SACK options (SACK blocks) received 43198533 SACK options (SACK blocks) sent 0 SACK scoreboard overflow ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mapping LBA to filename
Hi All, How can I map an LBA reference to a file? After a power supply fail, I started to get the following error: ad0: FAILURE - READ_DMA status=51READY,DSC,ERRO R error=40UNCORRECTABLE LBA=42202367 It's always in the same LBA position. I would like to map out that position. Is there any way? - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
libgphoto2 and USB camera
Hi all, I'm trying to use my digital camera with gphoto2, but the software is not listing the usb devices. When I plug the came it's identified: ugen0: Canon Inc. Canon Digital Camera, rev 1.10/0.01, addr 2 But the gphoto2 is only showing the serial ports. I notice that the only file at the location it's shearching is: /usr/local/lib/gphoto2_port/0.5.1/libgphoto2_port_serial.so And, yes. The Camera is supported. I think there is something tho do with usb setup. I followed the procedures to make the devs accessible by me (not only root). This is the output of usbdevs: usbdevs addr 1: OHCI root hub, SiS addr 2: Canon Digital Camera, Canon Inc. addr 1: OHCI root hub, SiS Any clue? - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Missing lib
Hi all, My system (FBSD 5.4, Xorg, Gnome2), started to show the following message. /libexec/ld-elf.so.1: Shared object libexif.so.10 not found, required by nautilus I indeed, could not find libexif.so.10. How can I fix that? - Thank you ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
DVD burning GUI
Hi all, Can you point me to some good GUI to CD/DVD burning tools. Thank you, - Marcelo Souza ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DVD burning GUI
Hi Nicolas, I forget to say that I'm using Gnome, does k3b work with it? On Mon, 26 Dec 2005, Nicolas Blais wrote: |On December 26, 2005 01:05 pm, [EMAIL PROTECTED] wrote: | Hi all, | | Can you point me to some good GUI to CD/DVD burning tools. | | Thank you, | | - Marcelo Souza | |See /ports/sysutils/k3b | |Nicolas. |-- |FreeBSD 7.0-CURRENT #7: Mon Dec 26 12:43:20 EST 2005 |[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A |PGP? (updated 16 Nov 05) : http://www.clkroot.net/security/nb_root.asc | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Eterm + intl accents
Hi all, This is an strange behavior. I'm using Eterm (0.9.3) from ports as my terminal client in X (Xorg+gnome2). I've set the language params in login.conf to (:lang=pt-br:), and also set the environment vars in .cshrc as follows: setenv LC_CTYPE pt_BR.ISO8859-1 setenv LESSCHARSET latin1 setenv LC_ALL pt_BR.ISO8859-1 As soon as X is started, I am able to use accented characters in terminal, but when any other application, i.e. Firefox, is started, the accents are not shown any more as I write them. I think it's some thing with keyboard setup, since the display of accented characters are OK. Any help? - Marcelo Souza ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Burn a DVD with a remote file
Hi all, Is there a better way to do that? # mkfifo xyz # growisofs -dvd-compat -Z /dev/cd0c=xyz # ssh host1 'mkisofs -R -J -T /some/path' xyz Thank you, - Marcelo ___ 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 dual ethernet card
hi Tim, Is it listed here? http://www.freebsd.org/releases/5.4R/hardware-i386.html#ETHERNET - Marcelo Souza On Tue, 13 Sep 2005, Tim Goodaire wrote: |Recently, I've begun making the switch from Debian Linux to FreeBSD. |I've been trying to set up my old Linux gateway box with FreeBSD 5.4, but |I'm having a strange problem with my dual-port ethernet card. | |It was working fine in Linux, but in FreeBSD dc0 is fine, but dc1 shows |up in ifconfig with the status No carrier. I've tried switching out |ethernet cables to see if it makes any difference, but no luck. | |Unfortunately, I don't know where to begin looking for solutions to this |problem. I'm thinking that there may be some sort of conflict or maybe |my card isn't supported. | |Any ideas? I can provide more details if needed. I just don't know what |else to tell you about my problem. | |Thanks, |Tim | - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ls -l taking too much time
Hi all, It´s a FreeBSD 5.4-STABLE, on a P-IV(2.4GHz) with 120G IDE HDD (UFS2+softupdates), as one data partition (mail). The test was done in a non-production server. GENERIC kernel. A ls -l in a /var/mail folder with +6000 files (not maildir) is taking more then 2 min to complete. I compiled (static) ls from the GNU filetools-4.1 and it takes ~1 min. Observing the final behavior I can say that gnu has an unbuffered output, while fbsds is buffered. It was tested in two different machines. Is it right? - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mkisofs
Hi all, How can I create a iso from multiples partitions without crossing the file system boundary? I.e, how to include / in the mkisofs but not /usr? Thank you, - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Group size
Hi all, I'm in troble here. Is there any limit to the size o each group in /etc/groups. I'm moving from a BSDI machine where I used to authenticate some services based on groups, but Freebsd 5.4 seem to be limiting it to arround 1300 characters. Sorry if it's a known issue but it's urgent. - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Group size
Hi, It´s not the problem. I have two large groups, one of them have more then 500 users in it. It´s is used by a legacy radius software to authenticate the users. The poblem is that beyond some position in the group list the system doesn´t show the user in that group. i.e: The user nonono is listed in one of those groups, but the comand: id nonono doesn´t show that group. Another user at the begining of the group is ok. - Marcelo Souza On Thu, 11 Aug 2005, Jason Morgan wrote: |On Thu, Aug 11, 2005 at 01:14:28PM -0300, [EMAIL PROTECTED] wrote: | Hi all, | | I'm in troble here. | Is there any limit to the size o each group in /etc/groups. | I'm moving from a BSDI machine where I used to authenticate some | services based on groups, but Freebsd 5.4 seem to be limiting it to | arround 1300 characters. | Sorry if it's a known issue but it's urgent. | |Are some of your users in many different groups? The kernel variable |kern.ngroups sets the number of groups a user can belong to. Could that |be an issue? I don't believe there is a limit to the number of users in |a group. I know there was in the past, but I believe it was removed. | |Jason |___ |freebsd-questions@freebsd.org mailing list |http://lists.freebsd.org/mailman/listinfo/freebsd-questions |To unsubscribe, send any mail to [EMAIL PROTECTED] | - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Group size
Replying to myself as a followup, It seem that this thread is talking about the same problem, but there were no reply. http://lists.freebsd.org/pipermail/freebsd-bugs/2003-May/000889.html - Marcelo Souza On Thu, 11 Aug 2005 [EMAIL PROTECTED] wrote: |Hi all, | | I'm in troble here. | Is there any limit to the size o each group in /etc/groups. | I'm moving from a BSDI machine where I used to authenticate some |services based on groups, but Freebsd 5.4 seem to be limiting it to |arround 1300 characters. | Sorry if it's a known issue but it's urgent. | | |- Marcelo | | |___ |freebsd-questions@freebsd.org mailing list |http://lists.freebsd.org/mailman/listinfo/freebsd-questions |To unsubscribe, send any mail to [EMAIL PROTECTED] | - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hardware monitor
Gary, You're right. I could recompile the kernel now, however lmmon is not returning any value, neither healthd is. The relevant part of dmesg is: ichsmb0: Intel 82801BA (ICH2) SMBus controller port 0xefa0-0xefaf irq 17 at device 31.3 on pci0 smbus0: System Management Bus on ichsmb0 smb0: SMBus generic I/O on smbus0 - Marcelo Souza On Tue, 26 Jul 2005, Gary W. Swearingen wrote: |[EMAIL PROTECTED] writes: | | |device ichsmb | | | | | |I get this error messages: | | | |In file included from /usr/src/sys/dev/ichsmb/ichsmb.c:64: | |/usr/src/sys/dev/ichsmb/ichsmb_var.h:44:22: smbus_if.h: No such file or | |Looks like you forgot to read the ichsmb manpage or the conf/NOTES |file which says you need certain other device entries too. |___ |freebsd-questions@freebsd.org mailing list |http://lists.freebsd.org/mailman/listinfo/freebsd-questions |To unsubscribe, send any mail to [EMAIL PROTECTED] | - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sysctl deadmantimer
Hi all, In the BSD/OS there is a kernel countdown counter that can be used to reboot the machine in case of lock. It´s called deadmantimer. I used to put a cron entry to preset this counter every 3 min, so if it goes to zero the server is rebooted. In the past it save me some times. Is there anything like this in Freebsd? - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
(no subject)
Hi All, I´m trying to enable the hardware monitoring with lmmon on an Intel server board, based on ICH2 chipset, but when I put the following line in the kernel config file: device ichsmb I get this error messages: In file included from /usr/src/sys/dev/ichsmb/ichsmb.c:64: /usr/src/sys/dev/ichsmb/ichsmb_var.h:44:22: smbus_if.h: No such file or directory In file included from /usr/src/sys/dev/ichsmb/ichsmb_pci.c:66: /usr/src/sys/dev/ichsmb/ichsmb_var.h:44:22: smbus_if.h: No such file or directory mkdep: compile failed *** Error code 1 What is wrong? FreeBSD 5.4 - Marcelo Souza ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
hardware monitor
Hi, Just to put a subject... On Tue, 26 Jul 2005 [EMAIL PROTECTED] wrote: |Hi All, | | | I´m trying to enable the hardware monitoring with lmmon on an |Intel server board, based on ICH2 chipset, but when I put the following |line in the kernel config file: | | |device ichsmb | | |I get this error messages: | |In file included from /usr/src/sys/dev/ichsmb/ichsmb.c:64: |/usr/src/sys/dev/ichsmb/ichsmb_var.h:44:22: smbus_if.h: No such file or |directory |In file included from /usr/src/sys/dev/ichsmb/ichsmb_pci.c:66: |/usr/src/sys/dev/ichsmb/ichsmb_var.h:44:22: smbus_if.h: No such file or |directory |mkdep: compile failed |*** Error code 1 | | |What is wrong? | |FreeBSD 5.4 | | |- Marcelo Souza | |___ |freebsd-questions@freebsd.org mailing list |http://lists.freebsd.org/mailman/listinfo/freebsd-questions |To unsubscribe, send any mail to [EMAIL PROTECTED] | - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Electrical circuits simulator
Hi, You can try gEDA it´s amazing. /usr/ports/cad/geda or http://www.geda.seul.org/ - Marcelo Souza On Mon, 11 Jul 2005, Andrey Simonenko wrote: |On Thu, Jul 07, 2005 at 09:04:20PM +0530, ??? (Shantanoo) wrote: | On 7/7/05, Andrey Simonenko [EMAIL PROTECTED] wrote: | Hello all, | | What do you recommend to use for electrical circuits simulating? | I need such software for educational purposes. I found Oregano in | ports/cad, but may be I missed something and there is alternative | with the same or better level of features as Oregano. | | I haven't check Oregano. But for electrical circuit simulation 'spice' | is nice :) | | |I need (not really I, but peoples I'm trying to help) a GUI application, |which can: build circuits (with operational amplifiers, transistors), setup |test clamps and view plots. Oregano uses ngSpice and GNU Cap as simulation |backends. I quickly check documentation for Splice tools and didn't find |anything about GUI. Did I miss something? | |BTW check Oregano screenshots: | |http://arrakis.gforge.lug.fi.uba.ar/shots.php | |I need something like this. Thanks for you help! |___ |freebsd-questions@freebsd.org mailing list |http://lists.freebsd.org/mailman/listinfo/freebsd-questions |To unsubscribe, send any mail to [EMAIL PROTECTED] | - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Expire undeleted mail older than specified age
Hi, I use a perl script called expire_mail.pl. Search google for it´s name, it´s simple and can be used from cron. - Marcelo Souza On Mon, 11 Jul 2005, Ann Lee wrote: |Hi , | |Does anyone know how could I make expire_age - Expire undeleted mail |older than specified age in freebsd v4.8..Any quick command that I can |run to delete off for unread messages for /var/mail/root. Coz I would |like to do a rotation job to auto-housekeeping my mail folder. | |Thanks in advance. | |Cheers, |Ann |___ |freebsd-questions@freebsd.org mailing list |http://lists.freebsd.org/mailman/listinfo/freebsd-questions |To unsubscribe, send any mail to [EMAIL PROTECTED] | - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
LiveCD on FreeBSD 5.x
Hi, Does LiveCD work well with FBSD 5.x? http://livecd.sourceforge.net/ - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to pass configure options
Hi all, How can I pass some extra configure options when making ports? I could not find it on FAQ or handbook. I´m using the hard way. make fetch cd work/someprog/ ./configure --with... cd ../../ make make install Is there any other way to do that from make command line? - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Where is the memory
Hi, On Mon, 4 Jul 2005, Hornet wrote: |In top, if you type in u it will prompt you for an account which you |can monitor the processes and mem. Of course, this will not work for |apps that are opened under different credentials. And does not change the amount of total free memory. My problem is that I think something in the system is allocating memory and not releasing it. The same applications used to run on a Freebsd 4.7 BOX with 1GB RAM, and only in some few cases had to swap out. Now, I´m moving to another machine with 2GB RAM, and I´m seeing where is the extra memory. I expected to have more free memory now. - Marcelo Souza |On 7/4/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: | Hi, | | How can I track where/who is using the system memory? | | I have a 2GB (RAM) system running Freebsd 5.4, basically as a mail | gateway. | | After a few hours up, TOP shows me about 300MB of free memory. No | swap yet. | | But the sum of RSS column of ps axum, gives me about 600MB used. | I know that kernel allocated memory doesn´t show in ps, but I | think it´s not using 1.4GB. | | The head of top is like this: | | last pid: 7323; load averages: 1.49, 1.11, 1.30 up 4+05:57:30 19:01:05 | 184 processes: 1 running, 183 sleeping | CPU states: 16.7% user, 0.0% nice, 3.5% system, 0.6% interrupt, 79.3% idle | Mem: 333M Active, 1218M Inact, 157M Wired, 42M Cache, 112M Buf, 256M Free | Swap: 8192M Total, 8192M Free | | Also, why there is a difference between free memory reported by | top and vmstat? | | Could it have some memory leak? Is there any report of it in | freebsd 5.x? | | Thank you, | | - Marcelo | | | ___ | 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] | - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Where is the memory
On Tue, 5 Jul 2005, Chuck Swiger wrote: |[EMAIL PROTECTED] wrote: |[ ... ] | My problem is that I think something in the system is allocating | memory and not releasing it. | |The kernel will attempt to use all but a little RAM reserved as free space to |cache stuff from disk, unless and until that memory is needed for something else. It seems that this is the case. I wrote a small program to allocate a large block of memory (more them that shown as free) and the system doesn´t swap. That is the memory top shows as Inactive? Thank you, - Marcelo Souza ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Where is the memory
Hi, How can I track where/who is using the system memory? I have a 2GB (RAM) system running Freebsd 5.4, basically as a mail gateway. After a few hours up, TOP shows me about 300MB of free memory. No swap yet. But the sum of RSS column of ps axum, gives me about 600MB used. I know that kernel allocated memory doesn´t show in ps, but I think it´s not using 1.4GB. The head of top is like this: last pid: 7323; load averages: 1.49, 1.11, 1.30 up 4+05:57:30 19:01:05 184 processes: 1 running, 183 sleeping CPU states: 16.7% user, 0.0% nice, 3.5% system, 0.6% interrupt, 79.3% idle Mem: 333M Active, 1218M Inact, 157M Wired, 42M Cache, 112M Buf, 256M Free Swap: 8192M Total, 8192M Free Also, why there is a difference between free memory reported by top and vmstat? Could it have some memory leak? Is there any report of it in freebsd 5.x? Thank you, - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
square brackets in ps FBSD 5.x
Hi all, How can I do to make 'ps' to show the entire command of some process the is showed in [command]. In the 4.x boxes I was able to see complete command line, now in 5.4 it´s shown in backets. - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CPU usage shown by top
Hi, Interesting reading. BTW, with hyperthreading (or SMP) boxes the top command shows another column that is not documented in the man page. What does it mean the C column? I guess it´s the cpu actually running the job, but why I can see something like this: STATE C CPU01 CPU10 - Marcelo Souza On Wed, 29 Jun 2005, Nikolas Britton wrote: |http://www.teamquest.com/resources/gunther/ldavg1.shtml |http://www.teamquest.com/resources/gunther/ldavg2.shtml | |On 6/21/05, Richard Lupton [EMAIL PROTECTED] wrote: | Hello, | | Can anyone explain where the CPU usage values in top come from? When | my computer is busy, the CPU states row in the header shows | reasonably high load, but the sum of the cpu column never adds up to | as much. | | Thanks, | Richard | ___ | 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] | - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: web mail interface program.
Hi Gary, I´m using Openwebmail (www.openwebmail.org or ports/mail/openwebmail) for more then 2 years to serve +5000 users with no worry. It runs in perl, suport POP3 (local/remote), includes calendar, webdisk, ssh term, etc. everything configured at user basis. - Marcelo Souza On Mon, 27 Jun 2005, Gary Kline wrote: | | People, | | As an experiment I build squirrelmail on my laptop which is | on my internal net. I chose sendmail; but the ./configure | section also required that I use IMAP. Everything went well | until I tried to login. No joy. I admit that I'm pretty | clueless re POP3 or IMAP. Can anybody help me? | | If I install squirrelmail on my primary server would I be | rid of IMAP? Or is there a better mail program with a web | interface. | | thanks for a flashlight:-) | | gary | | PS: I have evolution working on another internal server; |if only it had vi for replies, Life would be perfect | | | |-- | 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] | - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenWebMail won't make
Hi Bill, On Mon, 27 Jun 2005, Bill Schmitt (SW) wrote: |I've been trying to install openwebmail. I've tried portupgrade and make |and both seem to have the same issue. I get an error message that perl |5.6.1 or higher is needed and suggesting that I install 5.8. I've done |that (several times) but I still get the error message. Has anyone come |across this and have a solution? I'm running FBSD 4.9. What the command bellow shows to you: # perl -v Following is a script to upgrade perl: i) Install the perl5.8 port: # portinstall lang/perl5.8 - or - # cd /usr/ports/lang/perl5.8 # make install ii) Set the new version of perl to be the default. (This also turns off building perl as part of the base system): # use.perl port iii) Re-install any 3rd party modules, etc that you've installed so the new perl can access them. There should be a neater way of doing this... # find /usr/local/lib/perl5/{site_perl/5.005,5.00503} -type f \ -print0 | \ xargs -0 -n 1 pkg_which | sort -u /tmp/perl-ports # vi perl-ports [ Sanity check the results: take out any non-ports (like '?'), ports that are now bundled with perl or that you no longer wish to have installed ] # portupgrade -f `cat /tmp/perl-ports` iv) All of the versions of automake use perl and have the version to use as the 1st line. You need to: portupgrade -f automake to get things ready for your new version of perl. - Marcelo Souza ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: support for ICH6R controller and Broadcom ethernet
Hi Jim, I think it's not a answer to you but here is my recent experience. I've installed FBSD 5.4 in a box with Intel ICH5R chipset. It's working, no hangs, no panics, but the disk performance on the second IDE disk (I'm not using RAID, just simple master/slave setup), is terrible. It's like the DMA was not correctly set on the second disk. I read somewhere, that FreeBSD has full support to ICH5 chipset but NOT for ICH5R. Even when running in compatibility mode set on BIOS, the performance is the same. Someone told me the follwing on the performance list: I remember a commit to the ata driver to fix misprogramming of DMA timing on an Intel chipset for devices and/or channels other than the first. I'm not sure if 5.4 has the bug or the fix. To me it still has the bug. - Marcelo Souza Jim Mozley wrote: |I have asked this on freebsd-hardware but didn't hear anything so I |hoped someone here could help... | |I am potentially buying a server with a Tyan Tomcat i7221 motherboard. I |am unsure of the support in FreeBSD for the following: | |- ICH6R disk controller | |- Broadcom BCM5721 ethernet | |Ideally I would put FreeBSD 4.10 on the systems as we are already using |this on several systems (these new servers unfortunately have to be |different to the previous ones). | |FreeBSD 4.11 hardware compatibility says there is support for intel ICH5 |as does the ata man page for FreeBSD 4.10. I've also checked the man |page for ata on FreeBSD 5.4 and it says up to ICH5. | |I am aware that there is Broadcom support via the bge driver, the man |page says provides support for various NICs based on the Broadcom |BCM570x. Haven't found any mention of what I assume is the later |controller and the broadcom website doesn't have any mention of a |Freebsd driver. | |Can anyone advise on support for these in version 4.10, if I need 5.4 or |whether they will work at all? | |Thanks, | |Jim |___ |freebsd-questions@freebsd.org mailing list |http://lists.freebsd.org/mailman/listinfo/freebsd-questions |To unsubscribe, send any mail to [EMAIL PROTECTED] | - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DDS Tape problems
Hi, In another message you told that you take it from your AIX system. Take a look at the DIP-Switches configuration, since it should be different for that system. Look that your dmesg recognizes the tape as SCSI-2, not 3: Jun 19 20:54:32 monty kernel: sa0: ARCHIVE Python 04106-XXX 7600 Removable Sequential Access SCSI-2 device I have a Python DAT DDS-3 here that works fine, but the model shown in dmesg is another: sa0: ARCHIVE Python 06408-XXX 8250 Removable Sequential Access SCSI-3 device - Marcelo Souza On Sun, 19 Jun 2005, Pavel Duda wrote: |Hi, |I have problem with my DDS-3 type drive. I'm able to write on it but not |read data back. If I try to read them I get card dump and tape drive |hangs up. I have tried to upgrade firmware but problem remains. Does |somebody have experience with this ? | |My specs : |FreeBSD 5.2.1, generic kernel, x86 (P3), SCSI card is Adaptec AHA2940 |and tape drive Python 04106. | |I'm attaching dmesg output. | |Thanks for any advice | Pavel Duda | | | | | - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Out of memory on FreeBsd 5.4
Hi, Thank you, but in this case the problem was with an wrong limit set on mimedefang. On Fri, 17 Jun 2005, Per olof Ljungmark wrote: |[EMAIL PROTECTED] wrote: |. |. | Jun 16 16:18:19 host1 mimedefang-multiplexor[7689]: Slave 1 stderr: Out of | memory during large request for 69632 bytes, total sbrk() is 27547648 | bytes at | /usr/local/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm | line 2262. | |Got this reply from Dan Nelson when I asked (almost) the same question: | |According to that output, perl was already using 464MB, and a malloc |request for 64MB failed, which is reasonable since the default hard |datasize limit on FreeBSD is 512MB. To raise it, put this in |/boot/loader.conf and reboot: | |kern.maxdsiz=1024M | |HTH |___ |freebsd-questions@freebsd.org mailing list |http://lists.freebsd.org/mailman/listinfo/freebsd-questions |To unsubscribe, send any mail to [EMAIL PROTECTED] | - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Out of memory on FreeBsd 5.4
Hi all, Should I make some kernel adjust to work with a machine with 2GB RAM? Im using MD/SA/Clamav for a long time with FreeBSD 4.x. Im upgrading, the server to FreeBSD 5.4, and installing MD from ports. But Im getting the following error messages when I try to send a hello message: Jun 16 16:18:19 host1 mimedefang-multiplexor[7689]: Slave 1 stderr: Out of memory during large request for 69632 bytes, total sbrk() is 27547648 bytes at /usr/local/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2262. The man page for sbrk, tells about data segment limit, what is the default? Shuold I change the MAXDSIZ on kernel? - Marcelo Souza ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Logging via Serial Port
Hi, I use a script here with expect and tip. - Marcelo Souza On Thu, 16 Jun 2005, Jeff Tollison wrote: |Hi, | |I have a phone system that I need to log information from to a FreeBSD |box via a serial cable. What would be the best way to listen to the |serial port and write those messages to a log file? | |I have looked in the archives and googled, but still no luck. | |Any help would be appreciated. | |Thanks | |-- |Jeff Tollison |jptollison at gmail dot com |___ |freebsd-questions@freebsd.org mailing list |http://lists.freebsd.org/mailman/listinfo/freebsd-questions |To unsubscribe, send any mail to [EMAIL PROTECTED] | - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: login.conf limits
Hi, What is shown in the logs? Why the connection failed? Show the passwd entry for that user, or any other info the help us. - Marcelo Souza On Sat, 11 Jun 2005, Kövesdán Gábor wrote: |Hello, | |I've done a new class shuser with some limits, rebuild the cap |database and made a new user tester with adduser. When it asked for |the login class, I specified shuser, and tried to login with ssh, but it |failed. My shuser class: | |shuser:\ |:passwd_format=md5:\ |#:passwordtime=90d:\ |#:idletime=30m:\ |#:login-retries=3:\ |#:sessionlimit=1:\ |:copyright=/etc/COPYRIGHT:\ |:welcome=/etc/motd:\ |:setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\ |:path=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin |/usr/local/bin /usr/X11R6/bin ~/bin:\ |#:lang=hu_HU.ISO8859-2:\ |#:charset=iso-8859-2:\ |#:ftp-chroot=true:\ |:nologin=/var/run/nologin:\ |:cputime=unlimited:\ |:datasize=unlimited:\ |:stacksize=unlimited:\ |#:memorylocked=15m:\ |#:memoryuse=10m:\ |:filesize=unlimited:\ |#:coredumpsize=5m:\ |#:openfiles=3:\ |#:maxproc=3:\ |#:sbsize=512k:\ |#:vmemoryuse=5m:\ |:priority=0:\ |:ignoretime@:\ |:umask=027: | |After the first try I inserted those hashmarks before the modified |lines, but it still doesn't work. Did I make something wrong? | |Cheers, | |Gábor Kövesdán | |[EMAIL PROTECTED] wrote: | |Hi, | | After doing the modfications on login.conf, run: | | # cap_mkdb /etc/login.conf | | Define the class for each user in passwd, using vipw. The class is |the 5th field, in this example the class was defined as limiteduser: | |zoruega:$1$50258.20$DdcXReDR/lhZI/1CjjEEd0:102:201:limiteduser:0:0:Zoruega LinfoX:/nonexistent:/bin/sh | | | - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mismatch results with disk performance
Dmitry, Which is the chipset of your motherboard? I suspect it´s a problem with ICH5 drivers. Whith windowz OS they perform identical. - Marcelo Souza On Fri, 10 Jun 2005, Dmitry Mityugov wrote: |On 6/9/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: | Dmitry, | | Both situations have the same result, an Slave IDE HDD on primary | controller, or a master HDD on the 2nd IDE controler, works much more | slow, testing with 'dd'. | I couldn't see that with diskinfo. | |I can't reproduce this. On a dual Xeon server with 2 PATA Seagate |disks attached as masters to both IDE channels and a PATA CD-ROM as a |slave on the 1st channel, reading them with dd procuces this: | |%dd if=/dev/ad0 of=/dev/null bs=1m count=20 |20+0 records in |20+0 records out |20971520 bytes transferred in 0.378772 secs (55367171 bytes/secs) |%dd if=/dev/ad2 of=/dev/null bs=1m count=20 |20+0 records in |20+0 records out |20971520 bytes transferred in 0.364243 secs (57575625 bytes/secs) | |Please let me know if there is anything else I shall try to reproduce |the problem. | |-- |Dmitry | |We live less by imagination than despite it - Rockwell Kent, N by E |___ |freebsd-questions@freebsd.org mailing list |http://lists.freebsd.org/mailman/listinfo/freebsd-questions |To unsubscribe, send any mail to [EMAIL PROTECTED] | - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: login.conf limits
Hi, After doing the modfications on login.conf, run: # cap_mkdb /etc/login.conf Define the class for each user in passwd, using vipw. The class is the 5th field, in this example the class was defined as limiteduser: zoruega:$1$50258.20$DdcXReDR/lhZI/1CjjEEd0:102:201:limiteduser:0:0:Zoruega LinfoX:/nonexistent:/bin/sh It is available after next login for that user. - MArcelo Souza On Fri, 10 Jun 2005, Kövesdán Gábor wrote: |Hello, | |I've been using FreeBSD 5.3-RELEASE on a production machine, but now I |have some problem with my users. One of them isn't an experienced |FreeBSD user, and accidentally started 19 instances of the same program, |and these instances crashed in the background and produced a load |average about 20. It is a small server with trusted users, but I'd like |to avoid such issues, so I decided to make a strong limit for the users |in login.conf. | |I've read the documentation and login.conf(5), but I haven't read what |to do when I redefine the default class. Should I delete and recreate my |users or the new settings will take effect without doing that? The class |identifier is stored when I create an account or the settings the class |name refers? | |Cheers, | |Gábor Kövesdán |___ |freebsd-questions@freebsd.org mailing list |http://lists.freebsd.org/mailman/listinfo/freebsd-questions |To unsubscribe, send any mail to [EMAIL PROTECTED] | - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mismatch results with disk performance
Hi, No one else has seem this? I upgraded to 5.4 and the problem was kept. Should it be a problem with ICH5 driver? On Tue, 7 Jun 2005 [EMAIL PROTECTED] wrote: |Hi ALL, | | I hope it´s not a known issue. | I´ve installed (express) a FreeBSD 5.3 (I know it´s not the last |stable) on a new machine with the following hardware: | | Asus P4P800 SE (BIOS v. 1008) | 2GB RAM ( 4x 512 DDR400 ) | 2 HDD Samsung SP0802N (80GB 7200rpm ata-100) 80 pins cable. | | The HD were formated with newfs defaults, and the following |results were the same using both as master (primary e secondary) or with a |master / slave (same interface). | | With diskinfo both performance are the same, but with dd, the |second disc (the slave or the secondary master), is always worst as if it |were working in DMA2. | | what should be the right results? | | Here are the results: | | DD: dd if=/dev/zero of=TEST count=1000 bs=64k | | master: 60 Mb/s | slave: 16 Mb/s | | The results with diskinfo (almost the same): | |/dev/ad0 | 512 # sectorsize | 80060424192 # mediasize in bytes (75G) | 156368016 # mediasize in sectors | 155127 # Cylinders according to firmware. | 16 # Heads according to firmware. | 63 # Sectors according to firmware. | |Seek times: | Full stroke: 250 iter in 5.477568 sec = 21.910 msec | Half stroke: 250 iter in 4.140590 sec = 16.562 msec | Quarter stroke: 500 iter in 6.093340 sec = 12.187 msec | Short forward:400 iter in 2.088111 sec =5.220 msec | Short backward: 400 iter in 2.532713 sec =6.332 msec | Seq outer: 2048 iter in 0.261596 sec =0.128 msec | Seq inner: 2048 iter in 0.259723 sec =0.127 msec |Transfer rates: | outside: 102400 kbytes in 1.743910 sec =58719 kbytes/sec | middle:102400 kbytes in 2.031982 sec =50394 kbytes/sec | inside:102400 kbytes in 3.354742 sec =30524 kbytes/sec | |= | |/dev/ad1 | 512 # sectorsize | 80060424192 # mediasize in bytes (75G) | 156368016 # mediasize in sectors | 155127 # Cylinders according to firmware. | 16 # Heads according to firmware. | 63 # Sectors according to firmware. | |Seek times: | Full stroke: 250 iter in 5.431290 sec = 21.725 msec | Half stroke: 250 iter in 4.111275 sec = 16.445 msec | Quarter stroke: 500 iter in 6.282551 sec = 12.565 msec | Short forward:400 iter in 1.741538 sec =4.354 msec | Short backward: 400 iter in 3.285028 sec =8.213 msec | Seq outer: 2048 iter in 0.259503 sec =0.127 msec | Seq inner: 2048 iter in 0.258212 sec =0.126 msec |Transfer rates: | outside: 102400 kbytes in 1.720602 sec =59514 kbytes/sec | middle:102400 kbytes in 1.998063 sec =51250 kbytes/sec | inside:102400 kbytes in 3.235904 sec =31645 kbytes/sec | | |- Marcelo | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mismatch results with disk performance
Dmitry, Both situations have the same result, an Slave IDE HDD on primary controller, or a master HDD on the 2nd IDE controler, works much more slow, testing with 'dd'. I couldn't see that with diskinfo. - Marcelo On Thu, 9 Jun 2005, Dmitry Mityugov wrote: |On 6/9/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: | | Hi, | | No one else has seem this? | I upgraded to 5.4 and the problem was kept. | Should it be a problem with ICH5 driver? | | | On Tue, 7 Jun 2005 [EMAIL PROTECTED] wrote: | |Please bear with me, I just can't figure out what the original problem |was. Was it that any IDE HDD attached to the 2ndary IDE controller |always works very slow? Or was it that an IDE HDD attached as slave |always works very slow? I can try to reproduce this on weekend, I just |need to understand what should I look for. | |-- |Dmitry | |We live less by imagination than despite it - Rockwell Kent, N by E |___ |freebsd-questions@freebsd.org mailing list |http://lists.freebsd.org/mailman/listinfo/freebsd-questions |To unsubscribe, send any mail to [EMAIL PROTECTED] | - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mismatch results with disk performance
Hi ALL, I hope it´s not a known issue. I´ve installed (express) a FreeBSD 5.3 (I know it´s not the last stable) on a new machine with the following hardware: Asus P4P800 SE (BIOS v. 1008) 2GB RAM ( 4x 512 DDR400 ) 2 HDD Samsung SP0802N (80GB 7200rpm ata-100) 80 pins cable. The HD were formated with newfs defaults, and the following results were the same using both as master (primary e secondary) or with a master / slave (same interface). With diskinfo both performance are the same, but with dd, the second disc (the slave or the secondary master), is always worst as if it were working in DMA2. what should be the right results? Here are the results: DD: dd if=/dev/zero of=TEST count=1000 bs=64k master: 60 Mb/s slave: 16 Mb/s The results with diskinfo (almost the same): /dev/ad0 512 # sectorsize 80060424192 # mediasize in bytes (75G) 156368016 # mediasize in sectors 155127 # Cylinders according to firmware. 16 # Heads according to firmware. 63 # Sectors according to firmware. Seek times: Full stroke: 250 iter in 5.477568 sec = 21.910 msec Half stroke: 250 iter in 4.140590 sec = 16.562 msec Quarter stroke: 500 iter in 6.093340 sec = 12.187 msec Short forward:400 iter in 2.088111 sec =5.220 msec Short backward: 400 iter in 2.532713 sec =6.332 msec Seq outer: 2048 iter in 0.261596 sec =0.128 msec Seq inner: 2048 iter in 0.259723 sec =0.127 msec Transfer rates: outside: 102400 kbytes in 1.743910 sec =58719 kbytes/sec middle:102400 kbytes in 2.031982 sec =50394 kbytes/sec inside:102400 kbytes in 3.354742 sec =30524 kbytes/sec = /dev/ad1 512 # sectorsize 80060424192 # mediasize in bytes (75G) 156368016 # mediasize in sectors 155127 # Cylinders according to firmware. 16 # Heads according to firmware. 63 # Sectors according to firmware. Seek times: Full stroke: 250 iter in 5.431290 sec = 21.725 msec Half stroke: 250 iter in 4.111275 sec = 16.445 msec Quarter stroke: 500 iter in 6.282551 sec = 12.565 msec Short forward:400 iter in 1.741538 sec =4.354 msec Short backward: 400 iter in 3.285028 sec =8.213 msec Seq outer: 2048 iter in 0.259503 sec =0.127 msec Seq inner: 2048 iter in 0.258212 sec =0.126 msec Transfer rates: outside: 102400 kbytes in 1.720602 sec =59514 kbytes/sec middle:102400 kbytes in 1.998063 sec =51250 kbytes/sec inside:102400 kbytes in 3.235904 sec =31645 kbytes/sec - Marcelo Here is the verbose dmesg.boot: Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3006.83-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf41 Stepping = 1 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Hyperthreading: 2 logical CPUs real memory = 2147155968 (2047 MB) avail memory = 2095681536 (1998 MB) ACPI APIC Table: A M I OEMAPIC ioapic0: Changing APIC ID to 2 ioapic0 Version 2.0 irqs 0-23 on motherboard npx0: [FAST] npx0: math processor on motherboard npx0: INT 16 interface acpi0: A M I OEMRSDT on motherboard acpi0: Power Button (fixed) Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0 cpu0: ACPI CPU on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 agp0: Intel 82865 host to AGP bridge mem 0xf800-0xfbff at device 0.0 on pci0 pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0 pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.P0P1 - AE_NOT_FOUND pci1: ACPI PCI bus on pcib1 uhci0: Intel 82801EB (ICH5) USB controller USB-A port 0xef00-0xef1f irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: Intel 82801EB (ICH5) USB controller USB-A on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: Intel 82801EB (ICH5) USB controller USB-B port 0xef20-0xef3f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: Intel 82801EB (ICH5) USB controller USB-B on uhci1 usb1: USB
Backup software comparison
Hi all, I´ve used AMANDA for my backup solution for a long time, and now I decided to look for an alternative with multi-volume, disk-to-disk, network copy, among other features. Does anyone had compared other open source backup software? I´ve seem something about: Bacula, BoxBackup Which are the most used backup solution arround here? Thank you, - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installing on multiple machines
Hi Franco, Is LiveCD compatible with FreeBSD 5.x? - Marcelo Souza On Tue, 24 May 2005, Franco Bruno Borghesi wrote: |You could use freebsd livecd (http://livecd.sourceforge.net/) for multiple |installations. I don't know what kickstart is, but livecd lets you build an |installation cd from an existing installation, and replicate it on other |machines. | |24 May 2005 14:25:16 -0400, Lowell Gilbert |[EMAIL PROTECTED]: | | Ewald Jenisch [EMAIL PROTECTED] writes: | | I'd like to install 5.4 on several machines. The hardware is similar, | but not exactly equal (different size HDs, different amount of | memory). | | Is there any way to install 5.4 on different machines with the same | options, i.e. same set of packages, same settings (e.g. keyboard) | etc. without manually going through the installation on every machine? | | What I'm thinking of is something similar to the kickstart feature | in Linux. | | Is there anything similar under FreeBSD available? | | I'm not much of an expert on FreeBSD installs, and I know even less | about Linux installs, but seeing that no one else has spoken up, I can | at least point you in a few relevant directions. | | First of all, the standard install is scriptable to some extent. The | manual for sysinstall(8) documents this capability. There are some | messages in the archives of this list discussing people doing that. | | Another option is Freesbie, which has recently gained the ability to | install to hard disk. | ___ | 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] | - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Quick start with SAN
Hi all, Could someone point me where can I learn about integrating FREEBSD with Storage Area Network systems? Any tutorials, FAQs, HOWTos ? TIA - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
TCSH crash
Hi all, Is it a known problem? perl -e 'for $i (0..1){ print $i ; }' trash `cat trash` Word too long. ^C^C^C The tcsh halt with this. Either FreeBSD 4.9 or BSDI 4.3. - Marcelo Souza ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssh root denied
Hi, On Mon, 12 Apr 2004, Kevin D. Kinsey, DaleCo, S.P. wrote: |Root logins are disallowed by default on FreeBSD |for security reasons. The recommended approach |is to log on an account that is a member of the |wheel group, and su(1) to root when necessary |for administrative purposes while doing your routine |work under a less-privileged UID... But, what should be te correct approach when you want to copy root's files and/or remote execute programs as root with scripts using scp/ssh and key authentication? Like: scp master.passwd host2:/etc/ or ssh host2 'pwd_mkdb -p /etc/master.passwd' - Marcelo ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Step-by-step to upgrade Perl
Hi, I'd like to upgrad Perl to 5.8 using ports on FreeBSD 4.7, but how to do that in order to completely overwrite the old version (5.5.3). Which is the correct steps to upgrade Perl? Thank you, - Marcelo ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Step-by-step to upgrade Perl
Hi, Thank to all of you for the help. On Mon, 12 Apr 2004, Kent Stewart wrote: |On Monday 12 April 2004 11:30 am, Matthew Seaman wrote: | On Mon, Apr 12, 2004 at 01:30:37PM -0300, [EMAIL PROTECTED] wrote: | I'd like to upgrad Perl to 5.8 using ports on FreeBSD 4.7, but | how to do that in order to completely overwrite the old version | (5.5.3). Which is the correct steps to upgrade Perl? | | No -- it's a lot easier than you seem to think. | |i) Install the perl5.8 port: | | # portinstall lang/perl5.8 | |- or - | | # cd /usr/ports/lang/perl5.8 | # make install | | ii) Set the new version of perl to be the default. (This also turns | off building perl as part of the base system): | | # use.perl port | | iii) Re-install any 3rd party modules, etc that you've installed so | the new perl can access them. There should be a neater way of | doing this... | | # find /usr/local/lib/perl5/{site_perl/5.005,5.00503} -type f | -print0 | \ xargs -0 -n 1 pkg_which | sort -u /tmp/perl-ports # vi | perl-ports | | [ Sanity check the results: take out any non-ports (like |'?'), ports that are now bundled with perl or that you no | longer wish to have installed ] | | # portupgrade -f `cat /tmp/perl-ports` | | Et voila. New version of perl installed and ready to go. | | |There is one group that doesn't appear. All of the versions of automake |use perl and have the version to use as the 1st line. You need to |portupgrade -f automake |to get things ready for your new version of perl. FWIW, I am using |perl-5.8.2_5 | |There should be some sort of USE_PERL in their makefiles but isn't |there. | |Kent | |-- |Kent Stewart |Richland, WA | |http://users.owt.com/kstewart/index.html |___ |[EMAIL PROTECTED] mailing list |http://lists.freebsd.org/mailman/listinfo/freebsd-questions |To unsubscribe, send any mail to [EMAIL PROTECTED] | - Marcelo ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]