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.
1,558 questions
0
votes
1
answer
64
views
Default password for Oracle FreeBSD 14.2 image
I’m trying to set up an Oracle instance with FreeBSD-14.2 on amd64 and I’m not able to figure out the password for the root or freebsd users.
I can’t find the passwords documented anywhere, and I’ve ...
0
votes
0
answers
38
views
How to set bridge networking for an Ubuntu Server Qemu VM in FreeBSD?
My computer is running FreeBSD 14.1 and has a wireless network wlan0.
joseccz@tigerbsd:~ $ cat /etc/os-release
NAME=FreeBSD
VERSION="14.1-RELEASE-p6"
VERSION_ID="14.1"
ID=freebsd
...
0
votes
0
answers
39
views
I'm unable to install Pandas on FreeBSD 13.4 through pip for Python 3.10
We're trying to set up a new FreeBSD 13.4 server, and have run into some issues installing the Python packages we need. We saw a similar issue with NumPy, but were able to work around it by installing ...
0
votes
1
answer
25
views
Freebsd PF firewall problems
so i have an OVH dedicated server, i installed Proxmox on it. I created 2 VMs, one freebsd VM as a firewall / NAT gateway and one Debian server in the same lan as the firewall with the FreeBSD as ...
1
vote
1
answer
60
views
FreeBSD process group membership not respected
Here's what I do: I let Exim deliver an email using a pipe transport for a dovecot-lda process. This process is running as user/group jdoe:jdoe. (I checked this twice using a self-written wrapper and ...
2
votes
0
answers
64
views
Not able to compile PG16 with custom flags in freebsd 14.1 - GCC fatal error cannot read spec file
Hi everyone I am trying to install Postgresql 16 on my freebsd 14.1 hosted in an ec2 machine on AWS.
I am using GCC13 to compile the binaries and I keep on running into
gcc13: fatal error: cannot read ...
0
votes
1
answer
325
views
Testing mail-server with mxtoolbox -- SMTP connection time over 5 seconds?
We're having intermittent problems receiving e-mails from one company, and their side are pointing out, that our server takes just over 5 seconds to respond to incoming SMTP connections, whereas their ...
1
vote
1
answer
70
views
zfs, possibly bad performance
I am looking to confirm if this behaviour is normal as I got a new server and I am testing some SQL queries and they seem to be slightly slower than on the old machine. This is freebsd 14.1
When I ...
0
votes
0
answers
29
views
Do swapped-out processes ever resurrect?
Such processes are always 4096 bytes in size (top's RES column), the SIZE column remains whatever it was normally. It's interesting that such processes' start time in ps is displayed as a hyphen (-) ...
0
votes
1
answer
60
views
OpenVPN: can't reach client network from server
I have two servers, beta and alpha; beta is an OpenVPN server. Both runs FreeBSD. Both runs jails.
OpenVPN network is 192.168.25.0/24. Beta's network for jails is 192.168.24.0/24. Alpha's one is 192....
0
votes
0
answers
101
views
Python Application on Kamatera Server Keeps Dying and Hanging
I'm running a Python application on a Kamatera server with FreeBSD 14, using supervisord for automatic restarts.
The supervisord config is as follows:
[program:reactivebb]
command=poetry run python3....
0
votes
0
answers
69
views
How to configure the networking on FreeBSD to assign the same IP between host and guest in order to make work CloudFlare Warp on FreeBSD
I've just installed the CloudFlare client on Ubuntu,that I have virtualized with bhyve. That's because it does not work on FreeBSD. The instructions that I have followed are located here :
https://www....
0
votes
0
answers
106
views
sshuttle ssh_packet_write_poll error on pfsense
I’m trying to use sshuttle on pFsense CE OS and when I execute sshuttle -r *my_actual_username*@*my_actual_host* 0.0.0.0/0, following error shows up:
client_loop: ssh_packet_write_poll: Connection to *...
1
vote
1
answer
206
views
FreeBSD user has no permission on .ssh directory
I have a problem on FreeBSD 14.0 - the ~/.ssh/ directory is owned by me, but I can not access it as myself:
$ ls -al .ssh
ls: .: Permission denied
ls: ..: Permission denied
ls: authorized_keys: ...
0
votes
0
answers
37
views
Could not find a package configuration file provided by "PkgConf"
I'm trying to build a project using cmake
I use command ccmake and below is the output :
CMake Version 3.26.1
of the following names:
PkgConfConfig.cmake
pkgconf-config.cmake
Add the ...
0
votes
0
answers
72
views
FreeBSD ZFS raidz1 Started a (da59) drive replacement. During resilver, second drive (da60) failed
Our system started slowing down... Found a couple of drives in the same raid that looked scary.
Replaced the drive that S.M.A.R.T. marked as failure eminent. (da59)
Then da60 started to error.
Finally ...
-1
votes
1
answer
172
views
Best GPU to get for encoding / decoding multiple video streams and files? [closed]
I need to encode / decode multiple videos (both live and pre-recorded video files) at the same time but I'm not sure which GPU to get. I'll be using ffmpeg for the video manipulation.
Ideally I'd like ...
1
vote
2
answers
4k
views
userauth_pubkey: signature algorithm ssh-rsa not in PubkeyAcceptedAlgorithms after upgrade of OpenSSH
After an upgrade I can no longer log in to my box (FreeBSD 14.0) using RSA key getting:
userauth_pubkey: signature algorithm ssh-rsa not in PubkeyAcceptedAlgorithms
in /var/logs/auth.log
on every ...
0
votes
2
answers
296
views
Why ssh-keygen & ssh-copy-id create files with incorrect permissions
I have a FreeBSD host (sh) that I just set up last week, and it is doing these two weird things that seem to be related:
ssh-keygen ON this host is creating both private and pub keys with 775 file ...
0
votes
1
answer
104
views
Can't exclude a specific message from a remote logging
I manage logs FreeBSD 13.2 via syslog-ng. The current syslog-ng config has some lines to send data to a remote server (Debian 10 - 192.168.0.2:3000).
destination lc_net { tcp("192.168.0.2" ...
4
votes
3
answers
402
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 drive ...
3
votes
1
answer
78
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/...
0
votes
1
answer
412
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 ...
9
votes
1
answer
1k
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 ...
1
vote
1
answer
241
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-...
0
votes
0
answers
926
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 ...
1
vote
0
answers
72
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'...
1
vote
1
answer
196
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 ...
0
votes
1
answer
548
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
...
2
votes
0
answers
690
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 ...
0
votes
1
answer
3k
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 ...
0
votes
1
answer
973
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. ...
3
votes
0
answers
1k
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 ...
0
votes
2
answers
679
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 ...
4
votes
1
answer
2k
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 ...
4
votes
1
answer
1k
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. ...
2
votes
2
answers
2k
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
...
0
votes
1
answer
838
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: ...
2
votes
1
answer
1k
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 ...
0
votes
1
answer
349
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 ...
0
votes
1
answer
989
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 ...
0
votes
1
answer
405
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 ...
0
votes
1
answer
56
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 ...
0
votes
1
answer
285
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
2
votes
1
answer
3k
views
Running Shell Script without a Password Prompt
I have a shell script that runs on a FreeBSD machine.
The script has some commands that needs superuser privileges.
I’m executing the script remotely and it’s skipping the sudo’d commands.
I tried the ...
0
votes
1
answer
505
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 ...
1
vote
1
answer
310
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 ...
1
vote
1
answer
593
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 ...
2
votes
1
answer
761
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 ...
1
vote
1
answer
3k
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 ...