Tagged Questions

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
1answer
64 views

FreeBSD ports: Set make defines not exposed as Options

In FreeBSD, when you do make config, lots of ports have options that can be set. These options are saved so that when you update the port, they are used again. Some ports have additional items that ...
0
votes
2answers
238 views

Completely stuck on a new mariadb-server initialization

New install of mariadb-server 5.5.38 on FreeBSD 10.0-RELEASE-p5 amd64 refuses to start. Currently refusing to start for this reason: 140808 14:12:28 [ERROR] mysqld: Can't find file: ...
0
votes
0answers
21 views

Will pfctl -sr show ordered rules when using -o profile?

When I enable the -o profile option with pf will pfctl -sr show me the new order of the rules?
0
votes
2answers
139 views

FreeBSD Apache 2.4 rewrite/proxy module errors

Just set up a FreeBSD jail to run httpd in it and all works good except these two, rewrite/proxy modules. These are error logs excerpts: mod_rewrite error: [rewrite:crit] [pid 43447] ...
3
votes
2answers
747 views

FreeBSD 10 won't boot to ZFS root after power failure

While installing new hardware today, I involuntarily disconnected the power to one of our servers. This server is running FreeBSD 10 with Root-on-ZFS as offered by the installer. It has a total of 36 ...
5
votes
1answer
225 views

BIND 9.10 constantly killed on FreeBSD 10.0 with out of swap space

In one of our slave DNS servers BIND, version bind910-9.10.0P2_3, constantly get killed with the following message in /var/log/messages: Jul 30 01:00:10 cinnabar kernel: pid 602 (named), uid 53, was ...
3
votes
1answer
888 views

No space left on device - wrong size

I'm running an FreeBSD dedicated server. I am getting messages that I have ran out of space on the device. df -h is saying that I have no space left but du -sh /* doesn't even show the directiories ...
1
vote
2answers
106 views

Cannot run SaltStack master on FreeBSD 10

I want to install SaltStack in a brand new FreeBSD 10 machine. I am following the official documentation: http://docs.saltstack.com/en/latest/topics/installation/freebsd.html But when I try to launch ...
0
votes
1answer
243 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 ...
0
votes
1answer
52 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
38 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 ...
0
votes
2answers
924 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
83 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
143 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: ...
0
votes
1answer
88 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 ...
0
votes
3answers
462 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 ...
-3
votes
1answer
46 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 ...
2
votes
1answer
77 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 ...
0
votes
0answers
340 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 ...
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 ...
0
votes
1answer
92 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
179 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 ...
0
votes
2answers
100 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 ...
1
vote
2answers
454 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" ...
6
votes
2answers
236 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 ...
0
votes
0answers
207 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 ...
3
votes
2answers
106 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" ...
0
votes
2answers
1k views

Can the Dell PowerEdge T320 boot from a USB stick in hard drive emulation mode?

I am trying to install FreeNAS on a Dell PowerEdge T320. I've followed the instructions here (http://doc.freenas.org/index.php/Burning_an_IMG_File) to write the .img file to four different USB sticks ...
0
votes
3answers
134 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 ...
4
votes
3answers
2k views

How to integrate Active Directory with FreeBSD 10.0 using security/sssd?

What are the required steps to authenticate users from an Active Directory running on Windows Server 2012 R2 in FreeBSD 10.0 using sssd with the AD backend with Kerberos TGT working?
3
votes
1answer
406 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 ...
0
votes
1answer
197 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 ...
0
votes
1answer
114 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 ...
1
vote
2answers
807 views

Cannot authenticate in Active Directory using security/sssd from FreeBSD ports

I'm trying to implement security/sssd port in a FreeBSD 10.0 system. My main goal is to authenticate users from Active Directory running on Windows Server 2012 R2. I would like to know if anyone had ...
-1
votes
1answer
243 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 - ...
0
votes
0answers
58 views

add a directory inside freebsd jail

Not sure if this is correct, but i have now installed freebsd 10 on top of ZFS with jails and have created a jail for Mongodb. For the data files I used the following: zfs create -o atime=off \ ...
3
votes
2answers
943 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
0answers
65 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
303 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 ...
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 ...
0
votes
1answer
333 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 ...
3
votes
1answer
36 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? ...
2
votes
1answer
107 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?
1
vote
1answer
492 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
119 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
206 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
332 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 ...
1
vote
1answer
76 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 ...
3
votes
1answer
882 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
votes
1answer
58 views

How to install GNU on FreeBsd 10? [closed]

i have error configure: error: GNU make is required! and i have error $ cd /usr/ports/devel/gmake/ cd: /usr/ports/devel/gmake/: No such file or directory How to install GNU on FreeBsd 10?