People who code: we want your input. Take the Survey

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
1
vote
1answer
99 views

How to configure FreeBSD to reject configuration options in the ports tree that have graphical dependencies?

I have a couple of personal-use servers on which I would like to prevent the unnecessary installation of X11, Wayland, or any other unnecessary GUI dependencies. Is there a way to configure my ...
2
votes
0answers
335 views

Why would I configure the /etc/networks file? [closed]

I'm playing with a FreeBSD VM. I'm more accustomed to Linux, which doesn't need /etc/networks as far as I'm aware. Nik Clayton's FreeBSD Network Administrators Guide says this about the /etc/networks ...
0
votes
0answers
119 views

Cyrus-sasl config in Postfix in FreeBSD without dovecot

Good Afternoon, I have installed a Freebsd 12.1 with postfix and when trying to start see this in /var/log/maillog warning: SASL: Connect to /usr/local/lib/sasl2/smtpd.conf failed: No such file or ...
0
votes
0answers
485 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&...
1
vote
1answer
102 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
97 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 ...
2
votes
0answers
59 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 ...
1
vote
1answer
183 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 ...
2
votes
1answer
2k 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 ...
0
votes
1answer
321 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 ...
3
votes
1answer
297 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 ...
0
votes
1answer
46 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 ...
0
votes
0answers
657 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][...
0
votes
1answer
45 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. ...
2
votes
1answer
38 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 ...
0
votes
1answer
4k views

How to move iocage jails from one ZFS pool to another?

What is the process to move iocage and all its jails from one ZFS pool to another? I've tried the process from this post: https://www.ixsystems.com/community/threads/how-to-move-jails-between-pools....
0
votes
1answer
27 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
0
votes
1answer
96 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
58 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
137 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
75 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. ...
0
votes
1answer
176 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, ...
0
votes
1answer
83 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 ...
1
vote
1answer
88 views

Cannot stop Postgresql in FreeBsd Jail

I installed postgresql in a jail, it starts automatically after adding postgresql_enable="YES" to /etc/rc.conf), but now I can't stop it. I tried /usr/local/etc/rc.d/postgresql stop, but I've got: ...
0
votes
1answer
408 views

MIT Kerberos renew lifetime does not work

I am trying to figure out why my tickets only get a renewable life of 0 instead of 7 days as I specified. I tried setting both the max_renewable_life (as indicated in another question) as well as ...
1
vote
1answer
1k views

ZFS: i/o error - all block copies unavailable -zpool unavailable

A server restart produced this output on the console: ZFS: i/o error - all block copies unavailable ZFS: failed to read pool zroot directory object qptzfsboot: failed to mount default pool zroot ...
1
vote
0answers
41 views

How can I capture traffic for a daemon listening on a cloned loopback IP address?

I have a daemon listening on a virtual IP address attached to a cloned loopback interface (lo1) on FreeBSD 11.x. Inbound traffic for that daemon could arrive on several different physical interfaces, ...
0
votes
1answer
82 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
0answers
38 views

Control lamp from FreeBSD

I have a webcam connected to a FreeBSD server that I want to collect and email an image on a schedule via a cron job. The room it is in may not always be lit. I am hoping to find some solution where a ...
0
votes
1answer
142 views

What is a recommended way of thransferring am iocage jail from one host to another

Source iocage thick jail running on FreeBSD-12.0p12 Destination FreeBSD-12.1p1 Both hosts are using zfs. What is the recommended method to transfer an existing iocage thick jail from the source to ...
1
vote
1answer
420 views

Within FreeBSD jail – setting global environment vars

I need to set a systemwide environment variable (i.e. NODE_ENV=production) in a FreeBSD jail. I did try setting it in /etc/profile, but when I sourced it root@www:/ # source /etc/profile I got ...
2
votes
0answers
63 views

Recovering a concatenated disk (ccd)

I need to recover data from an old filesystem, which was located on two small (by today's standards) drives -- using a concatenated disk driver (known as ccd in FreeBSD). I have the drives online (no ...
1
vote
1answer
449 views

LACP and VLAN routing correct network setup

I am trying to understand the correct way to do LCAP with a VLAN and have all the routing be correct. Hardware OS:FreeNAS-11.2-U7 Server:(2) Intel(R) Xeon(R) CPU E5-2660 v3 @ 2.60GHz 128GB ...
0
votes
1answer
52 views

Dragonfly mailer configuration with STARTTLS

We are trying to get a dragonfly mta (dma) client to use STARTTLS with our mailhub. We created a self-signed certificate and key using openssl openssl req -new -newkey rsa:4096 -x509 -sha256 -...
2
votes
1answer
104 views

Troubleshooting ZFS storage pool

I am looking for advice on how to identify performance issues with a ZFS storage server. The server is a prototype that I have built as a proof of concept for a NAS device that will allow me to ...
0
votes
2answers
248 views

FreeBSD-12 IOCage modifying a jail's /root directory

What is the reason that copying .bash_profile from the host system into the /root directory of an iocage thin jail does not create a file that is visible to the root user when logged on to that jail? ...
2
votes
1answer
151 views

Why can't I manually seed the FreeBSD random number generator?

Years ago, I could manually seed the random number generator in FreeBSD by setting: sysctl -w kern.random.sys.seeded=0 ... and then if I deleted my SSH keys (on purpose) and restarted sshd, I would ...
4
votes
0answers
119 views

How can I stop Freenas from assigning two disks from different SATA controllers the same device number?

I have Freenas running in a VM in XCP-NG. I've followed the guides and I've dedicated a SATA controller to it using PCI-passthrough. Freenas correctly discovers its boot disk, which is virtual, and ...
2
votes
0answers
166 views

How to share a ZFS pool between Debian and FreeBSD?

I am having a setup of a dual boot PC running FreeBSD 12 and Debian 10. There is a three disk zraid in the system created by FreeBSD which I would like to use as a common storage pool for both ...
1
vote
1answer
1k views

Why are my ZFS pools “unavailable”?

I just replaced a hard-drive, that was part of two different redundant pools, and now both pools are unavailable... Details: There are four drives: 2x4TB (da0 and ada1) and 2x3TB (da1 and da2). One ...
1
vote
0answers
120 views

Poor disk performance on FreeBSD

We have IO issues with our servers on FreeBSD and I am wondering if FreeBSD is the cause. Server: FreeBSD (our environment runs in a jail) i7 8 cores (utilized around 10 - 20 %) 64 GB RAM (utilized ...
1
vote
1answer
173 views

ZFS reports wildly different sizes from Windows and what should be available

Before we start, yes i know the setup is not optimal, but we're working on a plan to setup everything from scratch. I inherited this from a part time student that doesn't work here anymore. This is a ...
1
vote
0answers
52 views

VMWare-hosted FreeBSD 12 server DHCP resets, won't route again without running /etc/rc.d/routing restart

My cloud host provider has an issue where DHCP keeps being reset. They say they're working on it. It results in a short network blip. I have the same problem if I reset DHCP myself using the command /...
3
votes
0answers
1k views

How to mount a fuse-sshfs file system inside a FreeBSD-12.0p10 jail

I wish to mount a remote data source locally as a fuse file system. This is listed as supported by lsvfs: lsvfs Filesystem Num Refs Flags -------------------------------...
0
votes
1answer
278 views

vsftpd TLS file transfers of more than a few KBs hang at 0%

We've deployed a new FreeBSD cloud server and configured it identically to our older ones, but it doesn't do vsftpd TLS file transfers well. Files of more than a few KBs hang at 0% on every client. ...
0
votes
1answer
144 views

Require or use in setkey.conf of Freebsd racoon config?

What is the reason to using "require" instead of "use" for the setkey configuration that is used for racoon in Freebsd? For example: spdadd 169.254.1.2/30 169.254.1.1/30 any -P out ipsec esp/...
2
votes
0answers
667 views

ZFS volume is not accessible

I'm using FreeNAS-11.2-U4.1. The server is used for storing VMWare vSphere virtual machines. There are two zvols: Lab and Edari. Both of them belong to the same pool, SSD-Storage. The problem is that ...
1
vote
0answers
152 views

ZFS receive freezes on host

I am experiencing an issue if I want to do a zfs receive on FresBSD 11.3. I start it using zfs receive -vF destpool@snap1 < snapshot.zfsdump. The sending part works fine but the receive says: ...
1
vote
1answer
230 views

Talking to NRPE2 clients from an NRPE3 server

I'm standing up a new Nagios server, and I have run into a bit of a snag. Our existing server is running FreeBSD 11 w/ Nagios 4.3.4 and nrpe2. It can communicate w/ the nrpe2 daemons on our various ...
0
votes
0answers
37 views

as root using locate command how to locate a file regardless of owner since locate can only find files owned by user “nobody” in FreeBSD

I tried using locate to locate a certain file which is dog.jpg, I just updated the locate database and it does not show up since locate only finds files owned by user nobody, and the file dog.jpg is ...

1
2
3 4 5
31