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.

295 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
1 answer
228 views

Huge quantity of session files

I have: CPU: 2 x Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz (2600.06-MHz K8-class CPU) 128 GB RAM FreeBSD OS session files stored in RAM each session file is 1...10 kb gc_maxlifetime = 1440 ...
TKVideoChat's user avatar
2 votes
0 answers
533 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 ...
Kirzilla's user avatar
  • 573
2 votes
2 answers
2k 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 ...
nawar's user avatar
  • 63
2 votes
0 answers
1k views

How to read the address of the XSDT table, as provided by `acpidump`?

I want to access Physical memory in BSD. acpidump -t XSDT > xsdt_dump.asl it is giving: /* RSD PTR: OEM=ALASKA, ACPI_Rev=2.0x (2) XSDT=0x9aae8070, length=36, cksum=164 */ /* XSDT: Length=...
gkreddy's user avatar
  • 21
2 votes
0 answers
646 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 ...
Philipp G. Sinicyn's user avatar
2 votes
1 answer
381 views

Is there an equivalent of LinuxIMQs in BSD?

Is there an equivalent of LinuxIMQs in BSD ? From linuximq.net: The imq device has two common usage cases: Ingress shaping: With linux only egress shaping is possible (except for the ingress ...
Tin's user avatar
  • 21
2 votes
0 answers
1k 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 ...
John P's user avatar
  • 1,689
2 votes
1 answer
344 views

Is it possible to avoid umask 0002?

Is it possible to give an automatic ability to modify files(folders and all recursively) created by one user to another within one specified folder (let's say "shared") on the basis of both users ...
Anatoly's user avatar
  • 21
2 votes
1 answer
598 views

Nginx: Tags in Syslog output on wrong position

I'm trying to output the logs of several Nginx servers in FreeBSD jails to the jails' host. I'm using FreeBSD 10 syslog and Nginx 1.7.10. In Nginx (in this case the hostname is web) I have set: ...
basbebe's user avatar
  • 313
2 votes
1 answer
1k views

Cluster-Shared Volume on Windows Server 2012 R2 drops off with minor iSCSI pauses

We are running into an issue here where the Cluster-Shared Volume attached to our Hyper-V 2012 R2 cluster is being dropped off / faulted with the slightest interruption from the iSCSI SAN connection ...
William S.'s user avatar
1 vote
1 answer
159 views

FreeBSD 13.2 install (boot) issues on a DELL PE R430 server hardware

I am a newbie FreeBSD user and I would like to install FreeBSD 13.2 on a DELL PowerEdge R430 server hardware. After downloading and booting from a bootable USB stick made from image "FreeBSD-13.2-...
JackD's user avatar
  • 43
1 vote
0 answers
54 views

FreeBSD Local Smart Card Auth Only

I'm trying to figure out how to configure a FreeBSD CLI installation to only allow authentication via X.509 certificates. I'm not talking about SSH, I'm talking about locally in front of the server. I'...
Kirkland's user avatar
  • 143
1 vote
0 answers
519 views

100 concurrent requests to a Django-App with Gunicorn lead to "54: Connection reset by peer" and 502's

I'm hosting a Django-App which serves as an API-Endpoint. Unfortunately the App which uses the API does a lot of concurrent requests on page-load (in the realm of 80-90 requests). Nginx is running as ...
Subito's user avatar
  • 398
1 vote
1 answer
1k views

Installing pfsense 2.5.2 ( freebsd 12 ) in KVM

Seems that I am having an issue installing pfsense firewall which is build on freeBSD12 into a qemu/kvm in Ubuntu. When it starts to boot, prior to the 'Install Box' I get a kernal panic Image of fail ...
Lost_Ones's user avatar
1 vote
0 answers
861 views

Can't mount NFSv4 with Kerberos from a Linux client to a FreeBSD server

I'm trying to set up NFSv4 with Kerberos. The server is FreeBSD 13.0-RELEASE and the client is Ubuntu 20. I have the Kerberos part running and I can automaatically get a ticket on login for my user, ...
hjf's user avatar
  • 181
1 vote
0 answers
275 views

/usr/local/sbin/php-fpm: Undefined symbol "setproctitle_fast"

After upgrading php7.2 into a php7.4 following error is showing when trying too start a php-fpm service: /usr/local/sbin/php-fpm: Undefined symbol "setproctitle_fast" Has anybody met this ...
Bakhtiyor's user avatar
  • 171
1 vote
1 answer
261 views

Fix “stripped down” install of FreeBSD 12

I have several legacy FreeBSD VMs made by ex-sysadmin who did some strange trick to save hypervisor storage space: he installed one VM from iso, the set it up a bit, installed needed software, then ...
Kevin M's user avatar
  • 299
1 vote
1 answer
273 views

CLI php errors on FreeBSD Server

I manage a FreeBSD server running usual AMP setup. Apache, Mysql, Php-fmp Everything is working fine. In order to help out with speeding up a couple of Wordpress sites; we run php cli to run the ...
Tamer Ziady's user avatar
1 vote
2 answers
5k views

Offloading PPPoE from an OPNsense router

I'm running opnSense, a FreeBSD-based firewall and router similar to pfSense, in a virtual machine under VMware ESXi 7 on a Dell PowerEdge R230, as a router for my home network. No other VMs are ...
user3466413's user avatar
1 vote
0 answers
161 views

Equivalent ipfw config for firewalld

On a system managed by firewalld it is possible to redirect incoming traffic on 443 to 8443 so the process listening doesn't have to run as root to bind to 443 which requires root. firewall-cmd --add-...
washcloth's user avatar
  • 111
1 vote
0 answers
520 views

Can't get Wireguard running on Freebsd to ping

I have a Freebsd installation running VirtualBox on my local LAN behind NAT trying to connect out to a Scaleway VPS running Ubuntu 20.04. Using Debian 10 the VPN connects just find and I can ping all ...
jradxl's user avatar
  • 171
1 vote
1 answer
483 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 ...
cjm's user avatar
  • 151
1 vote
1 answer
243 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: ...
leonardorame's user avatar
1 vote
0 answers
215 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, ...
Alnitak's user avatar
  • 21.4k
1 vote
0 answers
174 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 ...
jakub.petr's user avatar
1 vote
0 answers
71 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 /...
Bolwerk's user avatar
  • 201
1 vote
0 answers
300 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: ...
GorillaPatch's user avatar
1 vote
1 answer
976 views

FreeBSD: system is sending mail for any user to an external smtp - why?

There is a problem with one of my jails. All Jails sending their mails for root to root, except one jail (nginx). This jail sends mails to [email protected]. My Postfix is configured to accept ...
Florian Ruhnke's user avatar
1 vote
1 answer
1k views

Forward traffic on same interface

I am operating a server hosting a set of services, each run in a separate Docker container. In addition, there is a KVM running pfSense acting as firewall. The firewall has a physical interface that ...
Lars's user avatar
  • 11
1 vote
0 answers
640 views

Periodically 504 timeout with nginx and php-fpm

I have php-fpm 7.0 and nginx 1.11.6 in FreeBSD 10.3. Sometimes I get 504 timeout even when the server has a lot of free resources. Nginx waiting answer from php-fpm 30 seconds. I write application ...
Hayate's user avatar
  • 171
1 vote
0 answers
203 views

expect, mpd5 and dynamic config loading

I have a FreeBSD server that's connected to WAN using PPPoE. Iva esuccessfully set ip the L2TP and PPTP VPN ontop of this PPPoE WAN connection. The problem is that L2TP needs to call 'set lt2p self ` ...
drookie's user avatar
  • 8,757
1 vote
0 answers
624 views

MongoDB rc.d script for FreeBSD

I want to start MongoDB (aka mondgod) as a service under FreeBSD. I have the following in rc.conf: mongod_enable="YES" mongod_config="/usr/local/etc/mongodb.conf" mongod_dpath="/var/db/mongod" But ...
John R. Woodward's user avatar
1 vote
0 answers
1k views

BHyVe: Is there any way to boot to UEFI shell?

I'm starting BHyVe virtual machine with UEFI firmware from ports using chyves and I have a problem with a boot loader misconfiguration on this particular VM. I don't want to boot to OS in order to ...
user avatar
1 vote
0 answers
392 views

DKIM - how to account for different hostnames for the mail host (sendmail, FreeBSD 10.3)

I'm trying to use DKIM on a FreeBSD 10.3 box using "stock" sendmail. I followed this tutorial: https://www.dan.me.uk/blog/2016/06/01/add-dkim-signing-to-freebsd-servers and now DKIM "works" -- ...
William Dudley's user avatar
1 vote
0 answers
2k 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 ...
Daniel's user avatar
  • 181
1 vote
1 answer
1k views

Unable to start OpenVpn on FreeBsd 11, it asks for --dev which I've already specified

My /etc/rc.conf in FreeBsd 11: hostname="abcd" sshd_enable="YES" static_routes="linklocal" ifconfig_vtnet0="DHCP" ifconfig_vtnet0_ipv6="inet6 accept_rtadv" ipv6_activate_all_interfaces="...
Ivanari's user avatar
  • 111
1 vote
0 answers
534 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-...
rielt12's user avatar
  • 111
1 vote
0 answers
792 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 ...
Giorgio's user avatar
  • 111
1 vote
1 answer
612 views

3-drive RAID-1 on pfSense box

I have a pfSense box with a 2-drive RAID-1 using gmirror. Recently, a drive failed, and I replaced the drive, and the RAID-1 is now back to normal. But this incident also made me interested in ...
Siler's user avatar
  • 379
1 vote
1 answer
1k views

Samba, FreeBSD, ZFS: Group permissions are ignored

I am running Samba 4.6 on FreeBSD 11 with ZFS. Each user belongs to the fileserver group. In addition, there are additional groups for each department, such as sales group. And here comes my problem....
Paul Atreides's user avatar
1 vote
1 answer
380 views

FreeBSD equivalent for Linux configuration of OpenVPN

I'm following a tutorial (https://snikt.net/blog/2016/12/01/openvpn-over-https/) regarding OpenVPN via SSL on Linux machines. At one point it states: We modify /etc/default/openvpn to automatically ...
royskatt's user avatar
  • 111
1 vote
0 answers
1k 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 ...
A__A__0's user avatar
  • 453
1 vote
0 answers
472 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 ...
Charlie C's user avatar
1 vote
0 answers
517 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 ...
Kai Hatje's user avatar
  • 143
1 vote
0 answers
315 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 ...
SPRBRN's user avatar
  • 581
1 vote
0 answers
3k 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 ...
Mr.Gosh's user avatar
  • 323
1 vote
0 answers
361 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 ...
Mateusz Piotrowski's user avatar
1 vote
0 answers
200 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?
Elias's user avatar
  • 11
1 vote
0 answers
291 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 ...
Mateusz Piotrowski's user avatar
1 vote
0 answers
181 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 ...
Djoe's user avatar
  • 11