Search results

  1. C

    Multi-homed FreeBSD system default gateway question

    Hi Forum, I've got a FreeBSD 9.1 system that is attached to two separate /29's connected to different ISPs. Lets call them NET1/29 and NET2/29. The system does NAT (via pf) for my private IP space behind this system. What I would love to happen is have the system select the default gateway...
  2. C

    Writing an rc(8) script for a java process

    Thanks for the idea. It seems to work only if I use the fully qualified path to java, but it does work.
  3. C

    apache22 - lockf

    How are you determining if they are active? Keep in mind the prefork mpm auto-tunes itself to keep a number of spare, currently inactive workers around. Do you actually have a (measured) performance concern with your services?
  4. C

    iso .xz extension - annoying as hell

    In addition to the file size reduction of bits over the wire, there is a 2GB filesize limit on some of the FreeBSD release mirrors. From the FreeBSD 8.2-RC2 announcement:
  5. C

    Writing an rc(8) script for a java process

    I've written a rc script for a minecraft server. The server is just a java process so I used daemon to detach it from the terminal. The script works great for starting the server, but doesn't seem to be able to stop it. It appears the check_pidfile function in rc.subr wants the process in the...
  6. C

    apache22 - lockf

    Its normal for httpd to be in a lockf state if you have it configured to listen on more than one port. For example, if you have it listen on both port 80 and 443. If memory serves me right, httpd uses lockf to block the worker processes when no work is needed to be done.
  7. C

    Scripted FreeBSD installation / Boot problem

    I believe the device numbering (ad0, ad1, ad4..etc) is determined by how the kernel probes the devices. The device ad4 usually refers to the first (master) device on the third IDE controller found on the system. At any rate, I'd skip looking for specific devices and instead use labels on the...
  8. C

    Changing LDA to dovecot deliver

    You can use the sendmail feature local_procmail to change the local delivery agent. Some good examples are here. On my mail server I use maildrop, so my sendmail.mc has this line in it to use maildrop: FEATURE(`local_procmail', `/usr/local/bin/maildrop', `maildrop -d $u') The...
  9. C

    Motherboards with ECC memory support?

    Yeah, the board works great. The NICs are Intel gigabit nics, supported by the em driver. The second NIC, em1, uses five interrupt vectors, that greatly helps interrupt moderation and parallelism of the network load. The second NIC is attached to my private LAN. The first NIC is attached to...
  10. C

    mfi(4) errors on LSI MegaRAID SAS driver

    I just got a server installed with an LSI MegaSAS RAID card two weeks ago. It was producing the same cryptic messages. It turns out the controller has an aggressive power save mode that sleeps the disks after a period of inactivity. The mfi driver reports these power state transitions as...
  11. C

    Motherboards with ECC memory support?

    I have this board running my ZFS fileserver at home: http://www.newegg.com/Product/Product.aspx?Item=N82E16813121392 Its got 8GB of ECC RAM in it and six SATA-II drives. Its also got IPMI for KVM over IP or SOL.
  12. C

    Installing FreeBSD on a disk from a running Live system

    Not to threadjack, but you might fight this useful. You can also just put: ifconfig_DEFAULT="SYNCDHCP" In rc.conf, and that will run dhcp on all interfaces that have a link. See rc.conf for the details.
  13. C

    Your motd.

    I usually send hostname -s through figlet with some font to generate the motd. For example: FreeBSD 8.1-RELEASE-p2 (GASLIGHT) #0: Tue Dec 7 19:26:36 PST 2010 oooo o8o oooo . `888 `"'...
  14. C

    pkg_add not working - and my net connection is fine

    The packages-8.0-release directory doesn't appear to be on the FTP servers anymore. You can try using the 8.0-stable packages with: env PACKAGESITE=ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/Latest/ pkg_add -r xorg
  15. C

    no services starting on reboot

    You can sanity check the rc.conf syntax with this command: sh -n /etc/rc.conf If it produces no output, then its probably okay. If you forgot a trailing quotation mark, it will usually tell you what line.
  16. C

    Chances of failure to drives on a 4 drive ZFS raidz1

    Yes, but in the event of a single drive failure, a raidz2 retains redundant copies of all the information, unlike a pair of mirrors. This is useful during the stressful resilvering process. On a mirror, a single I/O error can result in data loss, but not true in a raidz2.
  17. C

    FreeBSD networking and vmplayer

    By vmplayer do you mean vmware player? By default, vmware player will emulate an old AMD PCNet NIC. To make vmware player emulate an Intel E1000, put this in your configuration file for the virtual machine: ethernet0.virtualDev = "e1000"
  18. C

    Administrating more than 10 servers

    I have a main fileserver stow packages for all of my FreeBSD boxes. The packages are built inside a jail and then placed on a local nfs server. When I bring a new machine online, I boot it off the network via pxeboot. The installer script asks the user what the "personality" of the system is...
  19. C

    UFS / glabel(8) not persistent across reboots?

    Yep, your you're right, I just wanted to thank you for the hint. I ended up booting a FreeBSD live usb drive and: 1. Mount the rootfs on /mnt 2. Update /mnt/etc/fstab 3. Unmount /mnt 4. tunefs -L to add a label 5. Reboot with a sigh of relief when it booted normally
  20. C

    UFS / glabel(8) not persistent across reboots?

    So I'm trying to setup ufs and glabels on a system for future use in /etc/fstab. But for some reason they disapear after rebooting the system from single user mode. To create them, I boot the system into single user mode and run these commands: boot -s < snip kernel boot > Enter full...
Back
Top