FreeBSD is an advanced operating system for a variety of architectures. It is derived from BSD, the version of UNIX® developed at the University of California, Berkeley; and is developed and maintained by a large team of individuals. It is a complete Operating System, including the kernel, drivers, ...

learn more… | top users | synonyms

1
vote
1answer
1k views

Why apcupsd won't see the UPS connected to the USB posrt on FreeBSD 8.0 amd64

Recently I installed an apcusbd on a FreeBSD 8.0 amd64 box via ports system. It installed perfectly but it won't run. Here what is says in the log: FATAL ERROR in generic-usb.c at line 636 Cannot ...
1
vote
2answers
153 views

FREEBSD creating new port

I have a script here that I want to create as a port in freebsd and then make it as package so that I can install on some machines. script is below. #!/usr/local/bin/bash if [ ! -f "/suid.old" ] then ...
1
vote
1answer
2k views

Ierrs on Network Interface - Pfsense/Freebsd

We're using PfSense as an internal router/firewall (no connection to WAN). Using the Web-GUI, under Status ---> Interfaces, there's one particular interface where I have some errors: In/out errors ...
1
vote
1answer
274 views

Apache doesn't autostart because vpn isn't up yet

I have a FreeBSD8 server, and VPN connection to my ISP. I use mpd5 and it works fine. Also I have an Apache server whch works fine, if I start it manually, after VPN is get up. But when I add it to ...
1
vote
1answer
731 views

What SATA drive should I install FreeBSD onto? i.e. ar0 vs da0 vs ad4/5

I'm installing FreeBSD 8.0 on a server that has hardware SATA Raid. I'm just wondering. What is the difference between these devices. i.e. ar0, da0, ad4, ad5 I take it that ad4 & 5 are my two ...
1
vote
1answer
720 views

Incoming SSH stopped working on FreeBSD 7.2

Somehow sshd stopped running and no amount of start, restart or onestart will make it go again. I normally ssh into it from a dual-boot laptop computer that shows up on the network as gabi-buntu when ...
1
vote
1answer
1k views

How to tell spam-assassin not to quarantine tagged emails?

I'm running my own postfix mail-server at home with a setup similar to this one. I opted to deliver tagged spam via dovecot to the user's spam-mailbox, so that they can review tagged emails if they ...
1
vote
3answers
307 views

FreeBSD with nginx can't connect networks after running for a while

My server is a FreeBSD system, I run nginx on it to proxy user requests to another real server. My problem is I can't visit my freebsd server after a while. The server is in another place, so I ...
1
vote
3answers
891 views

Installing PostgreSQL on FreeBSD (with ports)

Hey everyone, I am trying to install (using ports) PostgreSQL on a virtual server, running FreeBSD. My one question is this: Which of the following should I install? postgresql-contrib ...
1
vote
3answers
2k views

FreeBSD ipfw firewall_type

I'm trying to create my own firewall script inside of FreeBSD and I'm running in a bit problems, I was wondering if someone done something smilier and could show me an example? su-3.2# grep ...
1
vote
2answers
790 views

Freebsd Box hangs on boot loader

I have a freebsd box that seems to not want to boot past the boot loader. It wont go past the initial boot loader phase and just lists the version number for the boot loader(btx loader). It hangs ...
1
vote
3answers
703 views

Is playing Flash Videos on Freebsd still a problem, or is it ok now?

So am thinking about trying out Freebsd. But I heard stories that FreeBSD is really having problems with Flash, like it always crash, or it has to run through a linux emulator to get it to work ... ...
1
vote
1answer
677 views

Installing and running MySql on FreeBSD

Yet for a while I trying to install and run MySql on FreeBSD rooter that We using at office. I am totally beginner in Linux OS and I do not know what could go wrong on My installation, So please have ...
1
vote
4answers
429 views

Forward traffic between hosts

Please suggest the easiest way to forward all connections from host:port(external interface) to host2:port(external interface) When i use ssh -L local_port:remote_host:remote_port -N -l user ...
1
vote
2answers
174 views

Gjournaling a general purpose server on small network

I have a general purpose (mail, web, file, etc) server running on a small mixed (Windows/FreeBSD) network. I'm not pleased with how I laid out the disk originally and since it's rather out of date ...
1
vote
4answers
1k views

How can I prevent denyhosts from adding the same host to the denied file over and over

I am using denyhosts on my FreeBSD (6.2) box, and everything appears to be working fine, except denyhosts keeps adding the same 4 hosts to my denied file over and over. eli18.internetdsl.tpnet.pl ...
1
vote
0answers
25 views

Convert raidz1 to raidz2 via a temporary drive

I set up a new NAS server a few months ago and set it as RaidZ. I'm re-thinking that decision and would like to grab an extra drive and move to RaidZ2. Before everyone replies that this isn't possible ...
1
vote
1answer
33 views

Building custom bootable image from installed and customized FreeBSD 10.1

I am using FreeBSD 10.1 amd64. I customized it and now i want to make a bootable image so that I can install it on any machine with usb stick. How can I make the Bootable image from the Pre- installed ...
1
vote
0answers
85 views

FreeBSD 10.1 how to autoreboot on kernel panic

Recently I installed FreeBSD 10.1 on machine that for years was working fine with FreeBSD 6.2. Since machine is located in datacenter I configured remote access via serial console. After installation ...
1
vote
1answer
107 views

FreeBSD 10.1 routing issues

I have FreeBSD based router in my campus. Trivial configuration for these types of routers: two interfaces, one of them looking to the outer internet, second - to the local net. In my local net ...
1
vote
1answer
177 views

freenas disc problems - smart error - how to repair zfs raid?

I have troubles with my freenas 9.2.1. It crashed today. Its running a fileserver on zfs jbod raid 2. I'm not sure what exactly causes the problems. The system is booting however reacting pretty slow. ...
1
vote
0answers
123 views

FreeBSD L2TP/IPsec not routing traffic to vpn server

I have configured a VPN server on my FreeBSD server, it all seems to be running, but the VPN traffic is not routing through to the local VPN server and I cannot figure out as to why. So my question ...
1
vote
1answer
123 views

Dummynet Filtering not working on FreeBSD 10

I am trying to do network emulation using dummynet in FreeBSD 10. I have this working in 9.3 however things must have changed and I cant determine exactly what but my setup no longer works. I have ...
1
vote
1answer
98 views

FreeBSD/FreeNAS: How to change group for multiple users?

I need to change group membership for a bunch of users. How do I list all users? change multiple users to nogroup primary group? add secondary/auxiliary groups to multiple users? Basically I need ...
1
vote
1answer
127 views

FreeBSD 9.2 networking issues on latest VMWare ESXi, any workarounds?

We just updated our VMWare servers over the weekend and have noted that all of our FreeBSD 9.2 guests are having networking issues. Specifically, ipv4 no longer functions (they can't even see ...
1
vote
0answers
99 views

Heavy traffic causes ethernet link to go down

I have a FreeBSD (10) host connected to a Linux (Debian 7) box directly with a Cat 6 cable. Both hosts have Intel X-540 10GBe NICs (ixbge). Whenever there is heavy traffic (high PPS) from the ...
1
vote
0answers
246 views

Mounting partition in FreeBSD is not working

I am new to FreeBSD and I try to mount a partition p2 of ada1 on a new FreeBSD installation by entering: sudo mkdir -p /mnt/ada1p2 sudo mount /dev/ada1p2 /mnt/ada1p2 This leaves me with mount: ...
1
vote
1answer
765 views

Setup ZFS on freeBSD from bsd-rescue

I have a server from OVH and have the following procedure of setting ZFS on FreeBSD10 on OVH server following the https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror Creating a bootable ZFS ...
1
vote
1answer
176 views

configure single /32 ip address to FreeBSD server

Our upstream provider assigned us a single /32 ip address. How can we configure our FreeBSd server to use it? So far we have this in /etc/rc.conf: ifconfig_em0="inet a.b.c.d/32 netmask ...
1
vote
1answer
97 views

Moving MRTG Installation

We have an MRTG installation that has been working for the last 3 years, I noticed that after 18 or so months the data would start recording a fresh. Now I wanted to transfer the installation and all ...
1
vote
1answer
173 views

Increase number of connections per socket

How do I increase the number of connections each socket can accept? I know that you can increase the total number of connections using: # sysctl kern.ipc.somaxconn=4096 But each connection is then ...
1
vote
1answer
1k views

Why's Tomcat not responding, but looks normal?

I don't have much info to go on here, looking for ideas as I've run out. I did a server certificate update on our tomcat box (FreeBSD 9.2). After reboot, any connections to it fail immediately (page ...
1
vote
0answers
55 views

emulate shared hosting load

I want to emulate some shared-hosting activity in testing environment. Is particularly interested I/O performance. Need to emulate: many sql queries, http queries, and some additional activity, ...
1
vote
0answers
213 views

LA problems while serving 40M requests daily with php-fpm, nginx

I have server with FreeBSD (16 cores with HT, SSD, 32Gb RAM) which is getting about 40M http requests daily. All requests are served by nginx + php-fpm. At these graphs you see that we have a ...
1
vote
0answers
32 views

Check-state counter is always zero

My firewall rules are: 00010 660 73050 allow ip from any to any via lo0 00011 0 0 deny ip from any to 127.0.0.0/8 00012 0 0 deny ip from 127.0.0.0/8 to any ...
1
vote
1answer
350 views

How to compile mysql56-client to USE_OLD_FUNCTIONS on FreeBSD 10?

EDIT: I solved my issue - I was editing the wrong include file. See the end of this post for the fix. I'm migrating some applications from an old FreeBSD 4.3 server to a new FreeBSD 10 server. ...
1
vote
1answer
68 views

FreeBSD pkg query by automatic flag?

You can do a pkg set -A ... to set the automatic flag, but how do you do a pkg query for all packages with that automatic flag set? I see you can do pkg query -e '%#r != 0', but that's surely not the ...
1
vote
0answers
50 views

How to learn max/min value of a sysctl parameter can be in FreeBSD?

I have a simple question. I want to learn max/min value of a sysctl parameter can be. Where can I find bounds of these parameters? Thanks
1
vote
1answer
180 views

Limit ftp connections with pf firewall at FreeBSD

I want to limit simultaneous FTP connections to my FreeBSD server with the pf firewall. For example that only 10 simultaneous connection are possible to the port 20 or 21 from one source IP. I use ...
1
vote
1answer
133 views

FreeBSD Ngnix installation error

I have a VPS which has Apache webserver installed. I'm trying to install Ngnix on it since my new server will be needing to handle large amount of connection simultaneously. I used this install guide ...
1
vote
0answers
230 views

FreeBSD XEN kernel not booting in XenServer 6.2

I have a XenServer 6.2 host, and I am trying to get a FreeBSD-9.1-i386 guest to run in PV mode. The installation of the guest is fine, but after a reboot with the new kernel the system does not boot. ...
1
vote
0answers
264 views

How to read the address of the XSDT table, as provided by `acpidump`?

I want to access Physical memory in BSD. acpidump -t XSDT > xsdt_dump.asl it is giving: /* RSD PTR: OEM=ALASKA, ACPI_Rev=2.0x (2) XSDT=0x9aae8070, length=36, cksum=164 */ /* XSDT: ...
1
vote
1answer
1k views

Missing perl modules error for properly installed perl modules on FreeBSD 8.3, perl 5.16

Trying to run a Nagios plugin on 8.3-RELEASE-p3, I get the error: Missing perl modules: Net::SMTP::SSL I have rebuilt the ports for both p5-Net-SMTP-SSL and perl5.16. cpan -i Net::SMTP::SSL reports ...
1
vote
1answer
143 views

Puppet agent on FreeBSD skipping runs

I am experimenting with puppet and we are using FreeBSD on some servers. I noticed that the agent on the FreeBSD is for some reason skipping runs, i.e.: May 6 09:19:15 eagle puppet-agent[66970]: ...
1
vote
1answer
110 views

ProFTPD permissions in FreeBSD 9

I'm currently administrating a FreeBSD 9 server with multiple sites hosted. For example: example1.com example2.com example3.com I need to grant read/write permissions to developers so they will be ...
1
vote
1answer
190 views

natd redirect_port didn't work

I have an virtual box freebsd 9.0 installation, on which I have working moinmoin2.0. Moin works on 127.0.0.1:8080 and I want to get access by external IP, e.g. 192.168.1.145:80. I try to use the ...
1
vote
1answer
160 views

ezjail-admin update -i can't create tank/ezjail/basejail

I updated the server FreeBSD 8.2-p10 amd64 to 9.1-p1 amd64, and I want to update jails started ezjail. I downloaded the source, built the world and run the command: ezjail-admin update -i but got ...
1
vote
1answer
337 views

How do I confirm that nginx aio is working on FreeBSD?

I have nginx configured with aio on; and no special prep on the OS side. I tested loading lots of small jpegs from multiple clients, but there was not much of a different between aio on and aio ...
1
vote
1answer
225 views

FreeBSD 9 (amd64) reboot/shutdown process is very slow

I have a Dell Poweredge 2900 III with FreeBSD 9 (amd64), the server uses mfi wich handles a raid10, I had to reboot the server, but notice that either when rebooting or shutting down the server, ...
1
vote
1answer
458 views

FreeBSD high load loopback interface

I have a problem with a FreeBSD server. There is a FreeBSD 9.0 amd64, two network cards em1 (internet), em0 (local network) configured firewall ipfw, natd, squid (not transparent), the server acts as ...