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

3
votes
2answers
1k views

Real-time layer 7 (http.request.uri) filtration on freebsd

I have a freebsd 9.0 router with 250-300Mbit/s traffic, and need to filter small list of pages (http.request.uri). I do not care about tor, anonymizers, proxy etc. Just prevent direct access from my ...
0
votes
1answer
321 views

FreeBSD 10: NFS unable to export folder

I am unable to export a folder using NFS. /etc/exports /storage/test -maproot=nobody client /storage/test1 -ro -maproot=nobody client /storage/test2 -ro -maproot=nobody client The first folder ...
5
votes
1answer
4k views

PAM_LDAP Authentication failure with correct credentials on freebsd

I need to get our freebsd servers to auth via AD, but it is giving me problems. Environment: AD backend (Win 2k8r2). This works with other linux hosts which auth via SSSD FreeBSD 9.1 for client ...
7
votes
2answers
241 views

FreeBSD's ng_nat stopping pass the packets periodically

I have FreeBSD router: #uname 9.1-STABLE FreeBSD 9.1-STABLE #0: Fri Jan 18 16:20:47 YEKT 2013 It's a powerful computer with a lot of memory #top -S last pid: 45076; load averages: 1.54, 1.46, ...
0
votes
2answers
1k views

upgrading to Apache 2.4: VirtualHost Invalid command 'AssignUserID'

I have many Apache 2.2 Virtual Hosts with same configuration: <VirtualHost *:80> ServerAdmin webmaster@site.com ServerName site.com ServerAlias www.site.com DocumentRoot ...
0
votes
1answer
55 views

Access Apache22 server installed on guestOS(FreeBSD) from Host(Win7)

(I asked this question on SuperUser 3 days ago and had no answer...) I would like to access my freshly installed apache server (via ports) on my FreeBSD guestOS from Windows 7. So I set my virtual ...
0
votes
0answers
42 views

FreeBSD - How can I let server A get web access via server B over a specific port?

Setup: Server A: FreeBSD 10 - IP: 100.100.100.100 Server B: FreeBSD 9 - IP: 200.200.200.200 Both servers use pf.conf. Desired result: I want server A to be able to get web access (port 80) via ...
3
votes
1answer
3k views

How can I disable NTP in pfsense?

I am running my pfSense gateway in a ESXi server. right now the server gets its time from the NTP server specified in the general settings section of the WebGUI. I want to disable this so pfSense ...
0
votes
1answer
93 views

Allow user to bind only certain ports on Linux [closed]

Welcome, I'm looking for equivalent of mac_portacl from FreeBSD. I want to assign to one user only certain ports. Filtering it by iptables isn't enough, because when process works, the port is blocked ...
1
vote
0answers
179 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
2answers
548 views

GELI / ELI at FreeBSD - changing passphrase

How can I change/replace the passphrase of an encrypted eli provider in FreeBSD? Do I have to recreate the entire provider and copy data, or is there a simpler and faster way? I've looked in the man ...
0
votes
3answers
636 views

Clear tcsh/csh history in FreeBSD 10.0

This is a little embarrassing but I'm unable to delete the root user shell history from a FreeBSD 10.0 server. The root user is using the default csh. I've tried the classic history -c command to ...
0
votes
1answer
105 views

Configure IPv6 on FreeBSD webserver

Seems I just can't nail the right rc.conf configuration for IPv6 on my FreeBSD 10 VPS. I'd like to go completely IPv6 and tutorials/instructions i followed aren't really working for me somehow. It's ...
1
vote
2answers
568 views

Bridged Networking with bhyve and FreeBSD Guests does not work

I have a FreeBSD10 host with bhyve and the following IP-configuration in rc.conf: ifconfig_igb0="inet X.X.X.146 netmask 255.255.255.0 broadcast X.X.X.255" defaultrouter="X.X.X.254" ...
2
votes
1answer
87 views

Encrypted User Directory on FreeBSD?

I'm running FreeBSD and I'd like to have user's files stored encrypted using his/her password, and have seamless SSH access to those files as well (provided that the user always uses password-based ...
-1
votes
1answer
339 views

OpenLDAP modify member is not allowed

I am Struggeling with my LDAP attributes. I already created a few test users and groups, but I am unable to add users to the groups. #!DATE 2014-05-22T11:48:16.324 #!ERROR [LDAP: error code 65 - ...
-3
votes
1answer
47 views

Comparing “user time” for same operations on different cpu

In my accounting system i limit using cpu-time by user. But on servers with different cpu's same operation may take different cpu-time. Now i want compare perfomance for my servers to introduce factor ...
0
votes
0answers
383 views

FreeBSD 10 IPFW IPv6

I'm struggling to allow IPv6 connections on my FreeBSD 10 server. I have a working IPv6 connection. But IPFW blocks all the IPv6 traffic. #!/bin/sh # # flush existing rules ipfw -q flush # allow ...
0
votes
1answer
105 views

Piping stream into tar on FreeBSD

I am trying to pipe a tar/gzip archive into tar to decompress it. The script I have is part of a self extracting installer, where my archive is appended to the script. This works fine on linux, and ...
0
votes
1answer
249 views

Setting enviromental variables for login shells under root account in FreeBSD

I am currently in the process of configuring Open Grid Scheduler in FreeBSD. As part of this process I need to set the environmental variableSGE_ROOTas root. To do this I have been experimenting with ...
1
vote
1answer
1k views

Installing oracle 7 JDK on FreeBSD 10 — Wants i586, but on AMD64

I need to install Oracle Java 7 on my FreeBSD 10 server but I am a bit confused. I am using the ports, and when I do a make install in the /usr/ports/java/linux-sun-jdk17 directory I get the ...
4
votes
3answers
4k views

Mounting NFSv4 share from Debian Linux 6 to Freebsd 9-RC3 “server requires stronger authentication”

I've run into a strange problem while trying to mount from FreeBSD 9.0-RC3 to a Debian Linux box. The command I'm using is: sudo mount -v gorkon:/dustbin /tmp/test This returns the following ...
5
votes
1answer
631 views

Redis connection issue

We are currently experiencing a lot of Redis errors with the message Unable to connect: read error on connection, trying next server We run Redis on FreeBSD using PHP Redis and we have a hard ...
0
votes
2answers
111 views

Recompiling FreeBSD-10 release from SVN source

I run 10.0-RELEASE on my server and I'm wondering something. If I do buildworld with official source from svn, will i be able to use freebsd-update to upgrade in the future or I have to settle with ...
6
votes
2answers
252 views

Conflicting information about the running kernel version in FreeBSD

I asked a related question about uname before and now want to ask from another angle, because the following simple yet obvious conflicting outputs may mean there is something many people did not think ...
1
vote
2answers
3k views

How to connect FreeBSD Jail to network

So recently I successfully installed and configured a freebsd jail and I would like to install software within my jail but I cannot connect to the network. I'm trying to setup an apache+php+mysql ...
0
votes
1answer
379 views

FreeBSD jail with IPFW with loopback - unable to connect loopback interface

I am trying to configure a one IP jail with loopback interface, but I am unsure how to configure the IPFW rules to allow traffic to pass between the jail and the network card on the server. I have ...
0
votes
0answers
238 views

webmin says squid cache directory has not been initialized

I am using webmin on FreeBSD 9.2, when I goto the squid panel it tells me Your Squid cache directory /var/squid/cache/squid has not been initialized.This must be done before Squid can be run. It ...
0
votes
3answers
158 views

How to install deleted port on FreeBSD

I am maintaining a code base that depends on Postgis 1.5. My local dev VM is running FreeBSD 9.2. I have recently been tinkering with packages and inadvertently deleted postgis, so I attempted to ...
3
votes
2answers
118 views

Mimicking Google's Persistent Disks — Is this a logical FreeBSD disaster recovery strategy?

I am looking into FreeBSD to provide a more comprehensive backup and disaster recovery strategy for database servers. Ideally I want to mimic what google is doing with "Persistent disks" ...
2
votes
2answers
841 views

Serial Over LAN on FreeBSD 10.0 with SuperMicro X9-SCM-F

How can I setup Serial-Over-Lan (SOL) on FreeBSD 10.0 with a SuperMicro X9-SCM-F motherboard? There are a few resources out there but they contradict each other, are unclear, and don’t actually allow ...
3
votes
1answer
480 views

Understanding PAM authentication procedure on FreeBSD with security/sssd

I'm trying to understand what's behaving errantly on my PAM configuration on FreeBSD 10.0 The machine is configured with two different authentication realms, one is the default Unix authentication ...
1
vote
2answers
2k views

FreeBSD default MySQL basedir, port, etc., for my.cnf

I'm working on a FreeBSD 9.2 server and have run mysqltuner.pl to check the memory and cache needs of MySQL. Now I need to add a my.cnf file to FreeBSD so it uses that instead of the auto cnf file. I ...
3
votes
2answers
1k views

mounting ZFS zvol snapshot locally gives “Invalid argument”

I'm trying to mount a snapshot of a ZFS zvol. The zvol should have a ext2 partition on it (as evidenced by the CentOS VM to which the zvol is currently shared by iSCSI): [root@test-vm ~]# file - ...
0
votes
1answer
228 views

correctly setup PF with loopback interfaces for nginx proxy

I am trying to run couple of freebsd jails for my web server and application server, which is running node.js I have one network card (igb0) with a custom loopback interface (lo666) for which i have ...
1
vote
1answer
625 views

readlink: illegal option — f

Recently the script was working fine, but from some days I'm receiving such message, while running the readlink -f "$0" command: readlink: illegal option -- f usage: readlink [-n] [file ...] I was ...
0
votes
1answer
125 views

Server suddenly stops responding and then resumes an hour later

My FreeBSD server had been perfectly working for over 2 years without any major changes to the system. Recently I installed SSL certificate using Apache's mod_ssl, and after 10 days of running fine ...
0
votes
0answers
77 views

FreeBSD routing for multiple subnets

I have to access a network 10.1.0.0/16 through a gateway 10.4.0.2. I issue the command: route add -net 10.1.0.0/16 10.4.0.2 The machine's IP address where I doing this is 10.4.0.22 and it's default ...
2
votes
0answers
343 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 ...
2
votes
1answer
130 views

How to recover root password?

I have a FreeBSD box which I forgot the root password to. I do have physical access, so I can reboot the box if I need to. How do I reset my password?
3
votes
1answer
37 views

what exactly does fsck do under the covers (for UFS)?

If a computer crashes then the filesystem is an inconsistent state. What exactly is fsck(8) doing to restore to a usable filesystem? Is there a backup table? Is it cross-checking metadata? ...
1
vote
1answer
62 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
1answer
126 views

ZFS booting troubles

I have FreeBSD 8.0, and rebooting arise while zfs scrub was runing. Now when system booting it frezee at moment with ZFS version and ZFS pool version. I can't even login. The question : Is the scrub ...
1
vote
1answer
607 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
140 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 ...
0
votes
1answer
154 views

WARNING: failed to start git_daemon

I follow this http://bin63.com/how-to-setup-a-git-repository-on-freebsd tutorial to the letter and edit: /etc/rc.conf with: git_daemon_enable="YES" git_daemon_directory="/git" ...
1
vote
1answer
242 views

VMDK File Growing After copying it using CP?

Using FreeBSD and a mounted NetApp NFS Share. I'm trying to copy a file FROM: localdisk/something.vmdk (size 527776 kilobytes) TO: nfsmount/copy-something.vmdk (size 533168 kilobytes) But it seems ...
1
vote
1answer
403 views

PF: Block all, but one subnet firewall rule?

I'm trying to do something that I thought would be relatively simple: Block all the traffic to a test server, other than my company's subnet. I've tried things along these lines (111.111.0.0 is my ...
3
votes
1answer
1k views

where does uname get version number in FreeBSD RELEASE?

I installed FreeBSD 9.1-RELEASE, after binary upgrading to 9.2-RELEASE using freebsd-update, all files I checked are correctly in 9.2-RELEASE-p4. For example: the kernel contains the new version: ...
1
vote
1answer
82 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 ...