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
19 views

Haproxy 400 Bad Request ERR_INVALID_REQ

I'm trying to set up haproxy as reverse proxy for several webservers in my local network to be accessible from the domain name pointing to the router. Port 80 is being forwarded to the haproxy machine....
1
vote
0answers
32 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
33 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
40 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
98 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
95 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
25 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
38 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
52 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
326 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
36 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
50 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
34 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
235 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
40 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
29 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
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
0
votes
1answer
28 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
40 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
98 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
26 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
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, ...
0
votes
0answers
43 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 ...
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 ...
1
vote
1answer
34 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
102 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
371 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
37 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
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
0answers
133 views

Disk space full on FreeBSD VM

I've ran into a space issue I have never experienced before and was wondering if anybody knows what I'm missing here. [2005][root@base ~ ] # du -h / | awk -F/ 'NF <= 2' 4.0K /.snap 3.0K /dev ...
0
votes
0answers
31 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
73 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
110 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
57 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
186 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
37 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 -...
0
votes
0answers
59 views

ipfw dummynet per ip fair traffic shaping

I want to shape traffic in such way, that no specific user could exhaust WAN connection that much so other users would be affected. I have ISP link with 100Mbits/s bandwidth and sometimes some users ...
2
votes
1answer
98 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
147 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? ...
0
votes
0answers
38 views

OpenVPN client in jail, cannot connect to jail from different private subnet

I've got an .ovpn file from my VPN provider and using openvpn-client and the provided .ovpn file I am able to connect to their VPN. When connected I can access the jail from other computers or jails ...
2
votes
1answer
124 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
85 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 ...
0
votes
0answers
293 views

Snipe-IT: MySQL hostname is being ignored

I have an installation of Snipe-IT on FreeBSD 11.3 with MySQL 5.7.27, PHP 7.3.7, and Apache 2.4.39_1. I'm encountering this error in ~snipe-it/storage/logs/laravel.log: [2019-10-25 13:13:24] ...
1
vote
0answers
126 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
414 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
78 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
89 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 ...
0
votes
0answers
67 views

Apache mod_proxy returns a blank page with 200 status code

I'm running Apache 2.4.39 with mod_proxy on FreeBSD. I use this config to forward the requests to some remote web servers (IIS). All of them work fine, except one (the others are configured the same): ...

1
2 3 4 5
30