Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [freebsd]

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, ...

6
votes
0answers
4k 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
872 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, ...
5
votes
0answers
2k 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 ...
4
votes
0answers
79 views

How can I determine what permissions my user is missing for receiving a ZFS dataset?

I have a FreeNAS (11.1-U1) and a FreeBSD (11.1-RELEASE-p6) machine. On the FreeNAS I'd like to zfs receive recursive snapshots as a non-root user with delegated privileges. This appears to work well ...
4
votes
0answers
550 views

Getting to enforcing google safe search using CNAME with unbound and nsd?

I am trying to implement this using Unbound and Nsd: https://support.google.com/websearch/answer/186669?hl=en To force SafeSearch for your network, you’ll need to update your DNS. configuration. ...
3
votes
0answers
75 views

Solaris fmadm equivalent for FreeBSD

I've been looking for the equivalent of fmadm, the fault management configuration tool of Solaris / illumos on FreeBSD. But I'm unable to find an equivalent or even a subset of tools that mimics the ...
3
votes
0answers
690 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 ...
3
votes
0answers
219 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 ...
3
votes
0answers
660 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 ...
3
votes
0answers
2k 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
120 views

Access denied for all users after MariaDb upgrade

I discovered this morning that MariaDb had been removed from my server in the process of upgrading from FreeBSD 10.3 to 11.1. After getting the database engine reinstalled, and resolving the problems ...
2
votes
0answers
173 views

Allowing Incoming Traffic over IPv6 with PF on FreeBSD

This is my current pf.conf on FreeBSD 11.1-RELEASE. It allows incoming connections from OpenVPN/UDP and SSH, as well as allows everything on the private/vpn networks (vtnet1 and tun0 respectively). ...
2
votes
0answers
150 views

Configure Munin to monitor multiple instances on one node

I need to configure Munin to monitor multiple instances of a server daemon that run on a single host. I've tried creating a different named symlink for each instance, but unless I also pass an env ...
2
votes
0answers
65 views

How can I apply security patches to an offline freebsd machine?

Synopsis: We would like to use FreeBSD (version 11.0) on one of our products. Once the product leaves the company, it will be disconnected from the Internet for good. However, as part of our support ...
2
votes
0answers
338 views

FreeBSD 10 unable to boot ZFS pool - “unknown file system”

I have a server with FreeBSD 10.3 that I am suddenly unable to reboot. The server has been working fine for over 6 months but it not rebooted it since about 5 months ago, until now. I end up in "...
2
votes
0answers
204 views

FreeBSD: How to extend an encrypted ZFS zroot pool

I installed a vanilla FreeBSD 11.0 (amd64) and chose the installation option "ZFS on / (encrypted)" (or however it is really called). Now I have a nice ZFS pool: root@storage:~ # zpool list NAME ...
2
votes
0answers
53 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
762 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,...
2
votes
0answers
422 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
600 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 ...
2
votes
0answers
840 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
28 views

Mount a partition from a VM disk ZFS snapshot in FreeNAS

I have a KVM image running on a Zvol in linux that is a block device containing an ext4 partition. It is snapshotted regularly and pushed to a FreeNAS box for backup. If I ever need to recover a ...
1
vote
0answers
58 views

FreeBSD networking setup for multiple jails - interface clones or aliases

While setting up multiple jails on a FreeBSD machine, I also (naturally) need to set up the networking for each jail. It seems to me there are two ways of achieving the same goal - 1) setting up ...
1
vote
0answers
56 views

How to reinstall boot loader on FreeBSD?

I'm planning to use rsync to clone an entire FreeBSD server to another machine, overwriting the files of the existing old FreeBSD OS (minus /etc/hostid and a few others) But that would break the boot ...
1
vote
0answers
51 views

NFS share group permission not respected

I have a linux client and freebsd nfs server (NAS4free actually) NFS share is mounted by fstab this way: server:/mnt/disk/ZHomeData on /data type nfs (rw,nosuid,relatime,vers=3,rsize=32768,wsize=...
1
vote
0answers
65 views

problems getting openvpn to start: segmentation fault 11

I am having some trouble getting open vpn to start on FreeBSD I am doing this in a Freenas Jail and trying to follow the guide at https://forums.freenas.org/index.php?threads/how-to-install-openvpn-...
1
vote
0answers
252 views

php-fpm (PHP-7.1) cannot serve content to nginx on FreeBSD

I am trying to install nginx and php-fpm following this guide on a FreeBSD 11.1 system on a raspberrypi-B+. Everything behaves as described in the guide up to point 14, which involves opening a php ...
1
vote
0answers
518 views

What to set uwsgi uid and gid to?

I'm trying to have nginx connect to a uwsgi socket on FreeBSD. I've set the socket to 666 but whenever I issue a request in my browser I can see the following in my nginx logs: 2017/12/12 11:34:04 [...
1
vote
0answers
253 views

BTX halted error on FreeBSD

I understand there are a few threads about this out there but my issue seems particular. Recently my boot disk, an SSD, failed and I have just rebuilt it. Given the opportunity, I thought I might go ...
1
vote
0answers
167 views

Can't access FreeNAS Jail via router VPN

I have a VPN running on my Linksys router. I have been able to configure a client to connect to it, and can access my FreeNAS server via the web interface with no issues. I can also ping it. But, I ...
1
vote
0answers
26 views

Files saved to Samba share are randomly differing from originals?

I manage a small network of windows clients and a BSD file server running Samba 4.6.x. We had some odd issues which led to the discovery that when users save files to the server, about 12% of the ...
1
vote
0answers
100 views

Cloud-init local stage on FreeBSD

I have installed cloud-init on FreeBSD, from the pkg repository. FreeBSD is running on oVirt, using the config-drive datasource. I use it to set a different hostname of the machine on boot. My ...
1
vote
0answers
275 views

Proper permissions on FreeBSD with nginx and php for multiple users

I am trying to set up a multi-user FreeBSD server using nginx. Here are my steps so far: In my /usr/local/etc/nginx/nginx.conf file I set user www www; so that nginx acts as the www user, part of ...
1
vote
0answers
89 views

pfSense quit - File system unknown - harddisk corrupt?

I have a pfSense router, and it stopped working. When I connect a monitor the display stays black. When I remove the internal disk and connect it to an Ubuntu laptop, I don't see it in the file ...
1
vote
0answers
381 views

How can I use a wildcard with pkg -upgrade?

As an example, when I want to list all installed packages of php70 I can just enter: pkg info php70\* But I cannot use the wildcard in this for pkg upgrade: pkg upgrade php70\* When I do get this ...
1
vote
0answers
1k views

Google Firebase Cloud Messaging not in ca_root_nss?

We are trying to migrate our push services to Google Firebase Cloud Messaging. On the development machines (that run linux) everything is fine, but in the integration system (which runs on FreeBSD ...
1
vote
0answers
195 views

Sending audit logs with rsyslog from CentOS to auditdistd on FreeBSD

I am trying to send audit trails from rsyslog running on CentOS to auditdistd on FreeBSD using TLS. auditdistd can be both sender and receiver. I would like to trick auditdistd into thinking that ...
1
vote
0answers
71 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
299 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 ...
1
vote
0answers
115 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
95 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
72 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
102 views

Destroying zfs dataset, migrating data to parent dataset

I have these zfs datasets: pool1 pool1/ds_parent pool1/ds_parent/ds1 pool1/ds_parent/ds2 pool1/ds_other I want to keep all data which is now contained in the datasets ds1 and ds2, but I don't want ...
1
vote
0answers
2k views

PHP exec() Returns 127 When Trying To Run Any Command

I'm an intermediate Linux user (CentOS, some Debian) who is transitioning to FreeBSD (10). Permissions have always been somewhat confusing to me. I've set up a server with PHP-FPM (5.6) and Nginx (1....
1
vote
0answers
351 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
163 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
591 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
170 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
107 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
316 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: ...