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, and userland utilities such as shells.

Filter by
Sorted by
Tagged with
0
votes
0answers
65 views

Cannot set MTU for Network interface in FreeNAS-11.3-U3.2 Web Interface

I'm trying to set the MTU value for my network interface in FreeNAS-11.3-U3.2 to 9000. However, when I select the interface to EDIT in the WebUI, enter 9000 for the MTU field, then click "APPLY&...
0
votes
1answer
1k views

How to compile FreeTDS on FreeBSD10.0-64 in a right way

When i try compile freetds-stable from source (today is a 0.91 version) with: ./configure --with-iodbc=/usr/local --with-tdsver=7.2 --disable-libiconv make make install i didn't find the libtdsodbc....
0
votes
1answer
38 views

Execute a Program On Remote And Send Back Resulting File

we have a powerful server to compile any code on it. For reasons, I am generally not allowed to copy my files to the server, and when I can, I can only use /temp which will be deleted after a reboot. ...
0
votes
1answer
26 views

Allowing access to UDP range port in ipfw/FreeBSD

I have prepared the following configuration: # cat /etc/firewall.conf add 1000 count udp from any to me 10000 add 1001 count udp from any to me 10001 add 1002 count udp from any to me 10002 add ...
0
votes
1answer
93 views

Should a unified bare metal application suite outperform multiple VMs on the same hardware?

Assuming one single-socket Xeon D server, 8 cores, 16 threads, two 10G SFP+ interfaces, 64 GB of RAM, two SSDs... An application bundle that includes a nginx, MariaDB, some app logic, and maybe Redis. ...
2
votes
1answer
19 views

FreeBSD permissions issue

I am slowly learning FreeBSD through a home server build and have run into a permissions issue that I can't seem to resolve despite a great deal of searching. As my admin user "sadmin", when ...
1
vote
1answer
672 views

Releasing zfs arc memory on FreeBSD

I have a machine running FreeBSD that is subject to a variety of workloads, rabging from Disk intensive to memory intensive. If large amounts of ZFS data are accessed, then the Wired Memory usage can ...
0
votes
1answer
1k views

ipnat.conf - map and rdr won't work!

I can't put my mind around it, before reboot I was able to ssh in from outside to my jail and right now I can't! I even rebuild the whole system and even that didn't help:( anyone have any ideas? su-...
0
votes
1answer
1k views

One domain on Apache goes to default page without www

I'm using Apache/2.4.16 on FreeBSD 10.2. I have two instances of Apache running, each serving several domain names. The server has two network interfaces, one for the public Internet, one only ...
0
votes
4answers
2k views

How to automatically restart a process after a crash or reboot in FreeBsd 11?

What's the idiomatic way? I'd prefer the most standard and yet simple way with fewer additional dependencies. Something like an alternative to systemd of Linux.
2
votes
0answers
32 views

Unresponsive FreeBSD kldload process locks up whole system

Newly installed FreeBSD 12.1 and 11.4 immediately freezes when loading oce by running kldload if_oce. The whole system becomes locked up at this time. CTRL+c and CTRL+z don't work. What is the ...
2
votes
1answer
1k views

Shrink FreeBSD root partition

I currently have a pfSense 2.3.2-RELEASE which was installed with too little RAM and, now I realized that the swap partition is too small (8GB) and I want to expand it. The problem is there's no free ...
1
vote
1answer
1k views

FreeBSD 10.3 SSSD AD integration issues

I'm having a lot of issues with FreeBSD 10.3 I'm finding the binary packages are fairly useless. I've had to build nearly everything to make things "work". I like using the adcli tool to join to a ...
0
votes
1answer
33 views

Track Bandwidth on shared interface

On our servers running FreeBSD, we've allocated multiple public ip addresses to host different clients on single eth0 interface. The purpose of allocating separate ip to each client is to distinguish ...
3
votes
1answer
37 views

FreeBSD jail routing issue

I have the following setup with FreeBSD jails and VNET which is supposed to grow into a DNS core net lab setup. The jailhost and the jails are running FreeBSD 12.1. The jails are connected by epair ...
9
votes
1answer
55k views
5
votes
5answers
6k views

How do I non-interactively update FreeBSD system (and ports)?

Essentially, I am looking for a fully silent, non-interactive version of freebsd-update fetch freebsd-update install and portsnap fetch update
1
vote
2answers
2k views

How can I check the partition name in FreeBSD?

I am currently running my server in the rescue mode, due to the firewall issues. In order to disable the firewall thing I would have to mount the / partition. My problem is that I dont know/remember ...
0
votes
1answer
1k views

How to get access to Icinga on Apache 2.4?

I am trying to install Icinga on a FreeBSD 9.1 box with Apache 2.4. I use the Apache config which was provided with the Icinga port. But when i try to access the web frontend, i get the following ...
0
votes
1answer
18 views

After upgrade free-bsd 11.1->12.0->12.1 libraries are missing

How can I restore these? pkg misses a library (libarchive.so.6) so that way is closed BTW the missing libs still show up in locate (/usr/lib) J
1
vote
1answer
42 views

postfix in a jail how to notify blacklistd running in main host

I have postfix compiled with blacklistd support running in a jail. On the main host (FreeBSD 12.1) blascklistd is running with this config: # Blacklist rule # adr/mask:port type proto owner ...
11
votes
5answers
28k views

ZFS import unable to find any pools

I had a ZFS pool -- a mirror containing 2 vdevs -- running on a FreeBSD server. I now have only one of the disks from the mirror, and I am trying to recover files from it. The ZFS data sits in a GPT ...
1
vote
1answer
147 views

How to configure FreeNAS for a WireGuard VPN?

I have a FreeNAS 11.3 system and followed iXsystems' instructions on setting up WireGuard. With a simple wg0.conf I'm now able to connect successfully. I'd like to be able to use this setup as a ...
1
vote
1answer
1k 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 ...
5
votes
2answers
4k views

How to change rc.d startup order in FreeBSD?

My question exactly same as this question except I want to change services in FreeBSD. I made some research and I found rcorder command which gives full order of services with below paramaters. ...
0
votes
0answers
198 views

Certificate expiration, pfsense wont update ddns

I'm having certificate expiration issues, my pfsense server not update anymore. Starting today, the AddTrust External certificate expired, and I can only suppose these are related. [2.4.5-RELEASE][...
1
vote
1answer
131 views

Verify authenticity of SSH host on Digital Ocean droplet (FreeBSD)

When first connecting via SSH with keys to a newly minted Digital Ocean droplet VM running FreeBSD (per this tutorial), we get a message about “The authenticity of host blah-blah can’t be established”....
8
votes
4answers
4k views

ZFS on top of Hardware Mirroring, or just mirror in ZFS?

I have an IBM x346 with dual 3.2Ghz Xeons and 2x36GB 15k SCSI disks. I'm running an entirely ZFS-based install of FreeBSD 8.1. I can configure the bios to mirror the two disks, and then put ZFS on ...
2
votes
1answer
27 views

FreeBSD perform certain task when a new user is created

Is there a way to perform additional tasks every time a new user is created with adduser(8) in FreeBSD? To be more precise, i'd like to create a directory for every new user and map this user with ...
7
votes
5answers
1k views

RAID-Z Failure Notification

I have a FreeBSD file server with a 10TB array in RAID-Z (so 8TB usable with 2TB redundancy). I am trying to figure out how to get the system to notify me, preferably by email, if one of the drives ...
2
votes
2answers
1k views

Redirection with natd flags on FreeBSD

I am trying to setup a basic NAT server. I want all traffic coming from the outside world to the NAT server to be redirected to another machine, where I have a lipcap service running to parse this ...
8
votes
4answers
43k views

How to flush DNS resolver cache on Linux (and FreeBSD)

I am admin for several Linux and FreeBSD servers and here is a problem I have: The servers run a tool that does a lot of DNS queries every minute for the entire network. When it does a query, the ...
4
votes
0answers
739 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 setting up multiple ...
0
votes
1answer
25 views

FreeBSD documentation: syslogd_enable and syslogd_flags in /etc/rc.conf?

I am having problems understanding FreeBSD's documentation on "Configuring System Logging": https://www.freebsd.org/doc/handbook/configtuning-syslog.html The documentation: "By default, syslogd is ...
0
votes
0answers
39 views

Static files getting requested with internal IP address prefix instead of domain-name prefix

I have a smoothly running FreeBSD box with a couple of jails running their own servers. Nginx runs in its own jail and the main machine uses pf to redirect all http/s requests to Nginx. Nginx ...
1
vote
1answer
93 views

LACP doesn't work on FreeBSD VM without promiscuous mode

I'm running two identical FreeBSD 12.1-RELEASE VMs on VirtualBox. Each VM has 2 network interfaces, em0 and em1, set to Internal network mode. em0 interfaces are set to intnet0 network and em1 are to ...
0
votes
1answer
24 views

Copying one 16TB folder onto several consecutive 8TB drives on a standalone Freebsd

I have a very old server that stores 16Tb of data. It is running FreeNAS (freebsd). Network cards are physically damaged and the server is on its last breath. I have 2 8TB NTFS external hard drives. ...
1
vote
1answer
2k views

GPT partition errors on boot - ZFS FreeBSD

My system appears to be running fine and I'm just trying to clean up errors. That said... On boot, I get the following errors for all drives in a 24 disk storage enclosure: GEOM: diskid/DISK-%20%20%...
1
vote
2answers
950 views

Mount /dev/shm in FreeBSD jail

I would like to mount /dev/shm in a freebsd jail. Every time I attempt to, I get these errors: [root@gaming /]# mount -t tmpfs tmpfs /dev/shm mount: /dev/shm: No such file or directory [root@gaming /]...
0
votes
1answer
64 views

How to delete inaccessible data on root ZFS dataset?

I have a mirrored ZFS array on a FreeBSD that I used for home NAS, consisting of a 6TB internal drive and a 8TB external USB drive. I have 2TB of space occupied that should not be occupied, but I ...
0
votes
2answers
978 views

Under FreeBSD, can a VLAN interface have a smaller MTU than the primary interface?

I have a system with two physical interfaces, combined into a LACP aggregation group. That LACP channel has two VLANs, one untagged (the "native vlan") and one using VLAN tagging. This gives us: ...
0
votes
0answers
15 views

CARP configuration with 4 servers (3 masters)

I have 4 servers using CARP in 2 groups behind a load balancer serving only web traffic no firewall, something like this: Load balancer G1 / \ G2 Server 1 (M) ...
0
votes
0answers
20 views

PF redirect trafic to fib 0 and fib 1

I have a server running HAproxy listening on the main host IP (fib 0), I added another network from a VLAN but since it has a different gateway I had to create its own route (fib 1) Currently, I can ...
0
votes
1answer
49 views

CARP + IPV6 failover

I am using a vSwitch from Hetzner with an IPv6 network, I have configured CARP and works as expected, but the problem that I have noticed is that either because my IPv6 configuration or the vSwitch, ...
1
vote
1answer
1k views

Samba config and Mac OS X mounting

I'm aware that his question should maybe be posted on SuperUser. But as it probably has something to do with the Samba server, i'm posting it here. I'm trying to mount one of my Samba shares in Mac ...
0
votes
0answers
39 views

How to map a NFS share from FreeBSD to Windows 10?

On the FreeBSD side (myserver.net), I have the following /etc/exports: /usr/local/www -rw w10station The daemons a properly configured and running; /etc/hosts points properly w10station to the ...
2
votes
2answers
1k views

FreeBSD shows high load, cannot find bottleneck

So we have set up a server(11.0-RELEASE-p2) that hosts around 150-200 jails. The server has 24 cores and 192gb of ram. When using top it shows no sign of stress - except the high load. All jails ...
0
votes
1answer
2k views

nss-pam-ldapd ldap group filtering

I'm attempting to setup authentication via ldap for OpenSSH connections on our FreeBSD servers in AWS. The actual ldap server is external to AWS and is accessed over the Internet. I've run into a ...
0
votes
0answers
46 views

freebsd packet filter match last digit of IP address

On my freebsd system I want to use port forwarding to distribute incoming traffic, based on the last digit of the source IP. The following works on linux with iptables: iptables -t nat -A ...
0
votes
2answers
4k views

Can't connect to a postgres server

I have a strange situation, I have created a second postgres server that will eventually become a slave to my current master, anyway for testing purposes I have currently installed postgres, and ...

1
2 3 4 5
30