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
16 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
0answers
21 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
145 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
0answers
32 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. ...
1
vote
1answer
22 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
0answers
12 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
15 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
36 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
86 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
19 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
13 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
12 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
48 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
33 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
22 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
57 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
196 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
36 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
60 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
83 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
55 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
82 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
139 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
36 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
57 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
97 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
123 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
34 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
115 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 ...
3
votes
0answers
68 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
251 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
122 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
319 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
69 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
78 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
59 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
vote
0answers
44 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 /...
0
votes
0answers
25 views

How to remove readonly option while booting pfsense after crash

On a pfsense System there is a issue after a crash, so I boot in recovery mode from a USB Device and do a fsck -yf on the root drive. Now after that step I do a normal boot but the system still boot ...
3
votes
0answers
516 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
126 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
88 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
320 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 ...
0
votes
0answers
22 views

Freebsd Racoon setkey configuration format?

When configuring Setkey to add Security Policy Database for AWS tunnels I understand that I should let the kernel know what traffic I want to get encrypted. And so I added my internal network to go to ...
1
vote
0answers
70 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
0answers
178 views

How to create FreeBSD AMI on AWS

I have seen this question Creating you own FreeBSD ami in EC2 which may or may not be outdated now as time has passed. Looking at Mr. Percival's site it does appear to be possible to do this. For ...
0
votes
0answers
71 views

OPNsense pfsync through VPN

I'm trying to get a failover group to work, similar to the opnsense documentation. The situation is different from the manual because the VMs only have 1 WAN network interface and no LAN interface. ...
1
vote
1answer
113 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 ...

1
2 3 4 5
30