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

5
votes
0answers
2k views

SSH_ORIGINAL_COMMAND variable not getting set

I am working with two servers, both of which run FreeBSD 8.4-RELEASE-p1 and OpenSSH_6.1p1. Both servers' ssh_config files, located in /etc/ssh, are identical. Both servers are configured to allow ...
5
votes
0answers
1k views

Unix nslcd login with sAMAccountName and/or userPrincipalName from Active Directory

I'm trying to setup authentication from Active Directory in FreeBSD 10.0 using nslcd (nss-pam-ldapd-sasl package) and would like to allow both sAMAccountName and userPrincipalName as valid login ...
3
votes
0answers
208 views

pfSense Internal Traffic Policy Based Routing

What is the current and correct way to apply policy based routing to pfSense internal traffic (originating from the firewall itself)? Creating a floating rule with the WAN interfaces selected, ...
2
votes
0answers
12 views

NFSv4 parameter specification for exported directories and client IP

On FreeBSD 10.1 REL (for both client and server), I'm trying to share certain directories (/etc and /root) via NFSv4 with a specific client. My /etc/exports - /etc /root -ro -maproot=nobody:...
2
votes
0answers
26 views

How do I make su wait before retries in freebsd?

I want to make attempts at using the su command timeout for 1 second between tries. Alas, the Google and StackExchange, and rtfm have not yielded results.
2
votes
0answers
352 views

Load Average 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 ...
2
votes
0answers
468 views

Why can't I chown to nobody over nfsv4?

Server: FreeBSD 9.2-RC1, ZFS Client: FreeBSD 9.0-RELEASE-p3 Filesystem is exported with "alldirs,maproot=root". On the client, I can chown a file to any user but nobody. client# touch foo client# ls ...
2
votes
0answers
187 views

FreeBSD raid issue

One of my machines (FreeBSD) has lost its raid (0/ stripe). If I go [root@torry /usr/home/bclark]# gstripe list Geom name: st0 State: UP Status: Total=3, Online=3 Type: AUTOMATIC Stripesize: 65536 ...
2
votes
0answers
507 views

Can't remove zfs log device from pool

I run a FreeBSD 9.0 server with ZFS pool version 28 and ZFS version 5. I had two pools with a log on ssd's two partitions. These pools was created on FreeBSD 8.2 with ZFS pool version 15, and ZFS ...
2
votes
0answers
1k views

FreeBSD ixgbe driver not working

I recently got a brand new Dell PowerEdge R610 server, I installed VMWare ESXi 5.0 on it and attempted to install FreeBSD as guest OS for squid caching. The server has a PCI-E Intel X520-T2 10Gig ...
2
votes
0answers
718 views

FreeBSD istgt - how to limit iscsi target discoverability to IP address

How can I setup an ISCSI target that is only visible to a certain IP address? For example, if a client runs iscsiadm discover from 10.1.1.130, I only want target iqn.2011-03.domain.org.istgt.ded130 ...
1
vote
0answers
11 views

Can't read old UFS1 superblock using GELI (Blowfish-CBC) on FreeBSD

Trying to add encrypted partition on FreeBSD10.3 GELI/Blowfish-CBC. AES on / and /swap works fine, but I can't add an additional encrypted partition using Blowfish. Here is the way I did it: # mount -...
1
vote
0answers
16 views

FREEBSD - How to backup permission recursively?

How to backup permission recursively from folder, subfolders and files? I try using getfacl -R /xxx > permissions.acl, but freebsd not accept -R. Have another way to do this?
1
vote
0answers
22 views

How to record audit logs for only one specified file in FreeBSD?

On Red Hat Linux I can specify the file I want to record audit logs for with this command: auditctl -a exit,always -F path=/tmp/foo.txt -F perm=war I cannot figure out how to do a similar thing on ...
1
vote
0answers
34 views

FreeBSD Bind locks up, only clue -> in6_ifadd: 2001:~ is already configured

I have an issue where my DNS locks up periodically (about twice a day). All normal and then suddenly denied access to net_if network: error: could not listen on UDP socket: permission denied When ...
1
vote
0answers
38 views

NFSD lock up on FreeNAS 9.3

I have a Dell PowerEdge 2960 running FreeNAS 9.3, and a Dell PowerEdge 1955 Modular Chassis with a 5316M switch. I wanted to get a faster link between the two so I configured a LAGG with LACP over ...
1
vote
0answers
190 views

clang does not see gcc installation

I have such a system: uname -a FreeBSD gpskomsa 10.2-RELEASE FreeBSD 10.2-RELEASE #0: Thu Aug 20 18:25:34 VLAT 2015 root@gpskomsa:/usr/obj/usr/src/sys/GENERIC amd64 with default clang: clang -...
1
vote
0answers
107 views

Missing free space in new zfs raidz2 zpool?

I'm running Nas4Free 10.2.0.2 - Prester (revision 1814) which is based on FreeBSD 10.2-RELEASE-p2 #0 r287260M: Fri Aug 28 18:38:18 CEST 2015. System has 24 GB memory. I've tried with ashift=9 and 12 ...
1
vote
0answers
284 views

Docker on freebsd11

I am trying to build a python application on freebsd11 and docker i have installed docker as per https://wiki.freebsd.org/Docker and all seems to work fine. my Dockerfile is like FROM python:2-slim ...
1
vote
0answers
98 views

libnss-mysql on freebsd 10.1

i have libnss-mysql installed on freebsd 10.1. Everything works except groups command. getent group - ok # getent group ....... froxlorlocal:*:1003:www <-- data from passwd vmail:*:2000 <...
1
vote
0answers
65 views

How to restore ntfs partition table in freebsd

I accidentally deleted my partition table on my old disk through: gpart delete -i ada3 gpart destory ada3 Which contains all files on it. How can restore these data on this disk? I tried testdisk, ...
1
vote
0answers
113 views

Replacing a HDD in FreeNAS

I got a message that said one of my hard drive was degraded and im trying to figure out how to check which drive it is. I did zpool status and I got this zpool status pool: BiggyD state: ...
1
vote
0answers
520 views

ntpd daemon doesn't start automatically in FreeBSD

I wanted to setup ntpd the right way - so not with a crontab entry. I followed the guide in the FreeBSD docs: create an entry with ntpd_enable="YES" in /etc/rc.conf checked that everything works ...
1
vote
0answers
172 views

(mysqld), uid 88 inumber 281675 on /: filesystem full

I created a swap file that was a little to big. So I deleted it. The swap file is gone, but the free space is never reallocated. I have rebooted, fdisk is no help, not sure where to go from here. The ...
1
vote
0answers
60 views

SVN merge with HTTPS hangs on FreeBSD

I was asked to post it on here instead (original here) I setup SVN and Apache, and when I do a checkout it executes normally, but whenever I try to run svn merge for some reason it just hangs. Here ...
1
vote
0answers
543 views

freebsd cannot start mysql for the first time

I am having the same issue as this person serverfault link but the solution completely does not work for me. I cannot start mysql5.5 for the very first time. At first start of mysql with cd /usr/...
1
vote
0answers
351 views

How Do I get unbound to only use DNSSEC?

I have a pfsense box, that I am in the process of configuring for the first time I would like to use DNSSEC. I used this site to check my DNSSEC status. When I go to this site I am told that my "...
1
vote
0answers
462 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 is,...
1
vote
0answers
211 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
756 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: /dev/...
1
vote
0answers
64 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
47 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
0answers
67 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
0answers
290 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
641 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: Length=...
1
vote
0answers
193 views

Should I consolidate multiple identical VMs into BSD jails?

We run a number of Openfire XMPP/Jabber servers. Due to the way Openfire works, we cannot easily run multiple Openfire instances on one server, so I have 5 identical VMware ESXi VMs, each with CentOS, ...
1
vote
0answers
377 views

Networking between openvpn and pptp clients

Long uptime to everyone! OS FreeBSD 9.0-RELEASE, pptpd-1.3.4. Network: em0 1.2.3.4 - external interface and ip tun0 10.18.1.0/24 - network for openvpn clients tun1 10.18.2.0/24 - network for pptp ...
1
vote
0answers
634 views

freebsd/vsftpd: file size greater 64kb upload not completing

For very few customers, we are having problem in uploading any file greater then 64 kb. The server OS is FreeBSD running vsftpd over ssl. When we move these customers to a ftps server hosted on ...
1
vote
0answers
673 views

PHP5 OCI8 FreeBSD

I'm running a FreeBSD server with Apache and PHP 5.3. I'm trying to get the Oracle DB extension (OCI8) running with PHP but I can't find a port or anything for it. Half of the Internet says it's no ...
1
vote
0answers
1k views

FreeBSD Jail own network stack with vimage

I want to throw all services from the host system and put them in jails. Unfortunatly this doesn't work for file sharing (e.g. nfsd) because the jails don't have there own network stack by default. I ...
1
vote
0answers
524 views

Livestatus doesnt work with Nagios on FreeBSD

Im trying to use livestatus with nagios on FreeBSD. I've managed to compile and configure it, but Nagios doesnt seem to be loading the module and dont produce any errors. Other info: $ grep broker ...
1
vote
0answers
195 views

Distribute outgoing connections among multiple IPs configured on the same NIC

I have a NIC with 2 aliases on it. The network interface has 3 IPs configured on it. Think about it like this: i can ping the same server by hitting .100 .101 and .102. I want the source address of ...
1
vote
0answers
2k views

how to force stop/delete a VirtualMachine under XenServer (possible bug)

I was testing XenServer 5.6 100-47101p, I installed four VM's, two FreeBSD and two Windows. After installing the four VM's, I recompiled the VM containing FreeBSD 8.2 i386 kernel to enable/support ...
1
vote
0answers
891 views

Freebsd, ipfw sched - config type = QFQ get frozen

I have some freebsd soft-router $uname -r 8.2-STABLE code for ipfw: pipe 50 config bw 70Mbit/s sched 50 config type QFQ queue 502 config sched 50 weight 1 mask dst-ip 0xffffffff queue 501 ...
1
vote
0answers
543 views

FreeBSD 8.0 - Samba 3.4.9 with ADS support Segfault 11

I'm running FreeBSD 8.0 and whenever I compile Samba 3.4.9 with ADS support it segfaults when I start the service. If I remove ADS support on Samba, it fixes it but I need ADS support. I saw from ...
0
votes
0answers
12 views

strftime() returns incorrect preferred time format

Migrated from: http://stackoverflow.com/questions/38175863/strftime-returns-incorrect-preferred-time-format I need to display time in preferred format by the country where user resides. setlocale(...
0
votes
0answers
26 views

Best practice for setuid and setgid in /root and user directories

ZFS allows to created datasets with setuid turned off, which (AFAIK) means that setuid bit can't be set on files stored in those datasets. Assume now that there are two datasets, one for the /root ...
0
votes
0answers
67 views

IPSEC passes only ICMP

I have FreeBSD and Mikrotik with IP 1.1.1.1 and 2.2.2.2. Local subnets are 192.168.1.0/24 and 192.168.2.0/24. Firewall is disabled for testing. I am bringing up gre tunnel between them. FreeBSD: ...
0
votes
0answers
33 views

NGINX PROXY 0000 1204 0000 0000 0000 0300 0000 8000

After last update of nginx all my pages are getting: 0000 1204 0000 0000 0000 0300 0000 8000 0400 0000 0000 0500 ffff ff00 0004 0800 0000 0000 7fff 0000 0000 0807 0000 0000 0000 0000 ...
0
votes
0answers
12 views

ezjail-admin adds a faulty path to repo url when installing base.txz

today I've burned my brains trying to solve this and decided to post here. Here the problem: I have a local test freebsd 10.2 server and installed ezjail, but when I try to run ezjail-admin install ...