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
0 answers
14 views

FreeBSD - Is it possible to create a clone of a snapshot in a different disk for improved performance?

I am a new to FreeBSD and want to make a virtual disk service via iSCSI. I create snapshots of a dataset on the same disks, however I would like to create clones on a different disk like a nvme disk ...
Charles Kwon's user avatar
0 votes
0 answers
29 views

Bash script error when trying to create a snapshot

I am trying to create a snapshot using Bash script as below but error occurred. Environment: FreeBSD, Version: 13.2, Script: Bash #!/usr/local/bin/bash name="17102023_1234" zfs snapshot data/...
Charles Kwon's user avatar
0 votes
1 answer
67 views

Logging Source IP of SMB Login Attempts

We have an TrueNAS System running TrueNAS-13.0-U5.3. It is bound to Active Directory and used solely for SMB file sharing. Recently there have been periodic event where SMB service quality is degraded ...
sardean's user avatar
  • 843
9 votes
1 answer
592 views

Finding which process is reading from disk constantly on FreeBSD

EDIT: This ended up being a scrub process. Run zpool status -v and read the scan status for your pool clearly. I have a TrueNAS server running FreeBSD and this morning at 12 AM the disks started to be ...
Bilbo Baggins's user avatar
1 vote
0 answers
75 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
0 votes
0 answers
132 views

Why does this traffic selector not match?

(Note: I'm really using pfSense, but I'm just going to focus on the ipsec.conf files, since pfSense doesn't seem particularly relevant to the issue.) We're getting the following error from charon: Aug ...
Thanatos's user avatar
  • 356
1 vote
0 answers
32 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
  • 133
1 vote
1 answer
86 views

Is it possible to migrate a password file from FreeBSD to Linux?

Moving from a FreeBSD server to Ubuntu. I copied the /etc/passwd file across with no problems, but hand-copying one of the hashes from /etc/master.passwd (FreeBSD) to /etc/shadow (Linux) didn't seem ...
Edward Falk's user avatar
0 votes
1 answer
197 views

Frequent server downtime and suspicious server hits to access random Pdf files

Our Server hosting PHP web application is facing frequent downtime Server Information [Nginx, FreeBSD] Web application [PHP 5.6, MYsql 5.7] I have gone through the Nginx logs and below are my findings ...
Ekky's user avatar
  • 101
0 votes
0 answers
414 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
  • 388
0 votes
1 answer
646 views

Understanding Samba VFS Operations for Full Audit

We have a TrueNAS System running TrueNAS-12.0-U8 for which we are required to log all successful and all failed file access attempts for a specific SMB share. The Samba version is 4.13. Per guidance ...
sardean's user avatar
  • 843
0 votes
1 answer
389 views

When running a python script as a service, I get module not found

I have a small script that uses flask to listen to API requests and forwards them to Home Assistant and InfluxDB. It currently has a dummy name, "script.py" and is placed in /usr/local/bin. ...
Tomaz Leopold's user avatar
1 vote
0 answers
346 views

Does Nginx aio work with linux?

We have a VOD service and we are using nginx as webserver. Our system doesn't use nginx-vod-module instead it just has all the small m4s files for a dash stream. I came across this article(Thread ...
Mojtaba's user avatar
  • 111
0 votes
0 answers
162 views

mysql_upgrade / mysql_check fails with unknown database; where are database names stored (capitalization inconsistency)?

Just upgraded my server machine from freebsd 11.4 to freebsd 12.4. Then ungraded the installed packages, in particular mysql57-server. The server is started from a particular user account. When I try ...
Gary Aitken's user avatar
0 votes
2 answers
253 views

sfp and sfp28 compatibility

I have gotten a server which has "Broadcom 57454 10/25GbE SFP28 4-port OCP Ethernet Adapter" When I connect it to a switch port which is sfp the link status on the server is reported as ...
AAB's user avatar
  • 13
4 votes
1 answer
945 views

How to correctly escape single quotes in AWK

It isn't clear exactly what more needs to be escaped in the following macro to allow it to be used with awk or sed on FreeBSD. define(`RELAY_MAILER_ARGS', `TCP $h 2525')dnl Here is an awk command ...
Utkonos's user avatar
  • 426
3 votes
1 answer
658 views

How to Use /etc/hosts on FreeBSD 13.1

This is a plain vanilla fresh install of FreeBSD 13.1. The resolv.conf file is as follows and Unbound is not enabled. nameserver 192.0.2.1 DNS resolution on the local machine is ignoring /etc/hosts. ...
Utkonos's user avatar
  • 426
1 vote
2 answers
717 views

How to pass environment variables with FreeBSD service command?

The rc.subr ${name}_env specifies this for setting environment variable: ${name}_env A list of environment variables to run command with. This will be passed as arguments to ...
Rahul Bharadwaj's user avatar
0 votes
1 answer
431 views

PF firewall how to increase `max states per rule`

My firewall is hitting a problem related to max states per rule. # pfctl -vvsi Status: Enabled for 0 days 13:05:38 Debug: Urgent Hostid: 0x6556c6a9 Checksum: ...
Luman75's user avatar
  • 103
2 votes
1 answer
637 views

iperf3 errors and retransmissions on ESXi

When running iperf3 to test a 100G connection between a VMware ESXi box and a TrueNAS Core box, I'm seeing the following on the ESXi box: The message "iperf3: getsockopt - Function not ...
lunadesign's user avatar
0 votes
1 answer
268 views

jackett pkg outdated. is it possible to manually install the latest update?

The pkg and port listed for Jackett on FreeBSD is Version v0.20.989 however, the most up to date version is v0.20.2189. This version difference is causing some of my trackers to fail and will not ...
Mitchell's user avatar
0 votes
1 answer
520 views

Memory errors in dmesg, do I need to replace a DIMM?

The following errors show up in dmesg 10-20 times per day: MCA: Bank 5, Status 0x8c00004000010092 MCA: Global Cap 0x0000000001000c10, Status 0x0000000000000000 MCA: Vendor "GenuineIntel", ID ...
Mikhail T.'s user avatar
  • 2,337
0 votes
1 answer
262 views

How to efficiently backup shares (ZFS). Folder structure might change but media usually do not

The Issue: I have 18 large shares (each 24TBs), that contain lots of big media files. Mostly the media files themselves stay untouched. However, sometimes the folder structure changes, and thus my ...
Doug183's user avatar
0 votes
1 answer
45 views

trying to get an md5 from badly named files

I am trying to get the md5 from a lot of files. I would use ls to list files and md5 to get a hash of all the files from multiple directories like so md5 `ls -R /` this would work if the names of the ...
Nimball Dimpall's user avatar
0 votes
1 answer
165 views

Is XNU based on FreeBSD or OpenBSD?

I'm curious, is the xnu kernel based on FreeBSD, OpenBSD, or some other BSD distribution? Thank you, James Pedersen
user2279952's user avatar
1 vote
1 answer
2k views

Running Shell Script without a Password Prompt

I have a shell script that runs on a freebsd OS. the script has some commands that needs the sudo privileges Im excuting the script remotley and it's skipping the sudo commands i tried the following : ...
ossama assaghir's user avatar
0 votes
1 answer
357 views

FreeBSD 13.1 under Hyper-V on Windows 10 Pro

I am building a new FreeBSD 13.1 Workstation on a Windows 10 machine under Hyper-V. I have been successful doing this with previous version of FreeBSD, back to releases 6, and previous releases of ...
Michael Faklis's user avatar
1 vote
1 answer
195 views

While using pf on FreeBSD, do I need to explicitly specify both the inet and inet6 parameters?

Suppose I have a rule like rdr on $ext_if inet proto tcp to port https -> $inf_if port $myhttps This is to redirect incoming TCP packets on the https port to a specific internal IP/port. This is ...
ahron's user avatar
  • 365
0 votes
1 answer
286 views

FreeBSD: NAT of internal IPv6 addresses with one external source IPv6 address

I need to make NAT of internal IP addresses with one external source IPv6 address. Is it possible on FreeBSD 13.X? What to use for this: IPFW or PF? As far as I understand IPFW can do prefix ...
dshykuts's user avatar
2 votes
1 answer
575 views

OVH IPv6 on ESXi -> pfSense -> VM setup

Currently setting up some VMs on an ESXi host on an OVH machine. I have two IPv4s on OVH including a virtual MAC address as needed by OVH. One IPv4 for the ESXi host itself, another one for the ...
Maximilian Krause's user avatar
1 vote
1 answer
2k views

How to get hard disk status from RAID with SmartCTL for monitoring purposes?

I have a FreeBSD with a RAID running 3 Hard Disks. I was given the challenge to monitor its RAID - If a hard disk fails or it presents some problem i need to know. So, the first thing i am doing right ...
Raul Chiarella's user avatar
1 vote
1 answer
912 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
0 votes
0 answers
63 views

How to change pickupexten on asterisk 11

I'm looking for a way to change ‍pickupexten in Asterisk 11. Is there a way? The features.conf: pickupexten = *8 pickupgroup=1 pickupsound = beep pickupfailsound = beeperr I want to change *8 with ...
F.M's user avatar
  • 111
0 votes
2 answers
125 views

Issue using dd to write 1GB file to zfs dataset on FreeBSD 13

Hey guys I am turning up a little FAMP stack on an Azure VM. 4 Xeon cores 16GB ram. Second SSD is using ZFS and the boot drive is UFS2 (Default). When I dd if=/dev/zero of=testfile bs=1024 count=...
Zork's user avatar
  • 1
0 votes
1 answer
729 views

How to improve TCP tolerance to out-of-order delivery in Linux balance-rr bonds and/or FreeBSD roundrobin laggs?

I have 3 servers networ kwise configured as follows A is a DELL R710 is running Linux 5.13.19-1-pve Proxmox VE 7.1 and has 4 NICs teamed in a balance-rr mode bond. B is a DELL R610 is running Linux 5....
dacabdi's user avatar
  • 101
0 votes
1 answer
160 views

Joomla redirects wrong after POST

Situation: FreeBSD 13 server with Apache 2.4 as reverse proxy on SSL. Bastille jail with nginx on port 80 and joomla 4.04 Problem: When doing a POST within Joomla (actually any POST except the one ...
GTeley's user avatar
  • 21
1 vote
1 answer
515 views

Added dkimproxy to OpenSMTPD ... mail loop when sending to my own domain

I have a nicely working OpenSMTPD configuration and I added dkimproxy to it. Everything is working nicely and mail-tester, etc., all report that I have proper DKIM signing and my email score is 10/10, ...
user227963's user avatar
1 vote
0 answers
700 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
0 votes
1 answer
1k views

Nextcloud: Failed to open stream: Permission denied

I'm installing Nextcloud on a FreeBSD system and I'm using lighttpd behind a nginx reverse proxy with terminal SSL. lighttpd is able to serve static html files and can serve index.php, but without any ...
Luis's user avatar
  • 283
2 votes
0 answers
282 views

Running zfs trim twice on the same pool still takes forever the second time

I have this ZFS pool consisting of two mirrored 1TB Samsung 870 QVO drives, that I've been using for about a year for storing bhyve guest images as ZVOLs. During that time, I've created / messed with /...
xbug's user avatar
  • 121
0 votes
1 answer
567 views

Reload partition table on FreeBSD

I'm searching for a way to reload a partition table in FreeBSD 12 (FreeNAS). I don't have hdparm nor gfdisk nor partprobe. What's the standard way of doing ? PS: my pkg doesn't work behind a firewall ...
Orsiris de Jong's user avatar
0 votes
1 answer
178 views

FreeBSD: How can I tune the lifetime for TCP/UDP for in kernel NAT?

There used to be these sysctls in older versions of FreeBSD, viz: net.inet.ip.fw.dyn_ack_lifetime=3600 net.inet.ip.fw.dyn_udp_lifetime=15 now on FreeBSD 12 sysctl reports that these don't exist. How ...
pnadeau's user avatar
  • 143
1 vote
0 answers
254 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
2 votes
0 answers
1k views

my bridging configuration on freebsd 13 ins't properly configured because any bhyve VM based on Ubuntu 21.04 and Windows 10 can't connect to internet

I've configured the bridging and the tap interface on freebsd 13 because I want to boot and use a bhyve VM based on Ubuntu 21.04 and Windows 10,but unfortunately,after several readings and help ...
Marietto's user avatar
  • 143
0 votes
1 answer
640 views

PfSense FreeBSD on OVH Public Instance - no internet connection

I have no internet connectivity in freshly installed PfSense system. Steps: I've created OVH instance with Ubuntu and I mounted mfsbsd image. After booting to mfsbsd there was also internet problem. ...
maar's user avatar
  • 495
0 votes
1 answer
80 views

Services whithin jails no longer accessible after upgrade to version 13.0

After upgrading a virtual FreeBSD 12.2 system to 13.0-p3, traffic to services within jails (through Apache 2.4 reverse proxy) was blocked. This is a Hyper-V virtual server and the second one that ...
GTeley's user avatar
  • 21
1 vote
2 answers
630 views

FreeBSD 13 PF blocking jail traffic

After upgrading my FreeBSD system from 12.2 to 13.0-p3 PF is blocking all traffic to my jails. When disabling PF everything works fine (except from being unprotected ;)) I tried to figure out what ...
GTeley's user avatar
  • 21
0 votes
1 answer
78 views

Again see the Welcome menu after installing FreeBSD on Virtualbox [closed]

I've installed Virtualbox 6.1 on my local computer with Windows 10. Next I've downloaded FreeBSD image and select it as virtual optical disk. Next I gone the FreeBSD installation process and restarted ...
stckvrw's user avatar
  • 121
1 vote
1 answer
243 views

ipfw testing without blocking the FreeBSD server in the case of ipfw error

I'm a newbie with ipfw, trying to learn it and testing its commands on the server with FreeBSD. Every time when I run ipfw command via SSH with a syntax error/typo and then restart ipfw service, the ...
stckvrw's user avatar
  • 121
0 votes
1 answer
305 views

Failed to set up Apache for executing PERL file in FreeBSD

I've successfully installed perl5 and apache24 in FreeBSD 12. Then I enabled apache24 in /etc/rc.conf and see index.html placed in the path /usr/local/www/apache24/data. Then in the file /usr/local/...
stckvrw's user avatar
  • 121

1
2 3 4 5
31