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
2 answers
4k views

Where to find logs from Postgres 11.1 on FreeBSD 11.2?

Having built Postgres 11.1 on my FreeBSD 11.2 machine, where might I find the logs output from Postgres. Specifically, when attempting to start Postgres for the first time, I get an error message from ...
-1 votes
3 answers
1k views

"su" does not work on FreeBSD

Below I sun "su" command on FreeBSD: FreeBSD rand.vstyle.local 9.0-RELEASE FreeBSD 9.0-RELEASE #0 amd64 This is server RAND :) [svn@rand ~]$ su logostudiotest1 /bin/ls Password: /bin/ls: /bin/ls: ...
4 votes
3 answers
2k views

FreeBSD 32bit to 64bit migration

I need to transfer my FreeBSD 7.0 i386 server to another hosting. I would like to also upgrade to the 64bit version (to eliminate 4GB memory limit). The server has common open source software: apache2,...
7 votes
3 answers
2k views

cpulimit for FreeBSD

Does any one know of an equivalent of the GNU/Linux utility cpulimit for FreeBSD? I'm not talking about process niceness or setting limits on a user account, but actually limiting the percentage of ...
0 votes
1 answer
578 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: ...
0 votes
1 answer
4k views

Having trouble with tcp mode on HAProxy running on OPNsense

I'm trying to setup HAProxy to do simple tcp passthrough to different backends based on SNI. However, I have serious issues on my clients if I do so: Firefox: PR_END_OF_FILE_ERROR Brave/Chrome/Safari:...
0 votes
1 answer
2k views

One domain on Apache goes to default page without www

I'm using Apache/2.4.16 on FreeBSD 10.2. I have two instances of Apache running, each serving several domain names. The server has two network interfaces, one for the public Internet, one only ...
0 votes
1 answer
313 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
1k views

How to get access to Icinga on Apache 2.4?

I am trying to install Icinga on a FreeBSD 9.1 box with Apache 2.4. I use the Apache config which was provided with the Icinga port. But when i try to access the web frontend, i get the following ...
0 votes
1 answer
708 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 ...
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 ...
1 vote
1 answer
2k views

Setting enviromental variables for login shells under root account in FreeBSD

I am currently in the process of configuring Open Grid Scheduler in FreeBSD. As part of this process I need to set the environmental variableSGE_ROOTas root. To do this I have been experimenting with ...
0 votes
1 answer
352 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 ...
2 votes
1 answer
3k views

GPT partition errors on boot - ZFS FreeBSD

My system appears to be running fine and I'm just trying to clean up errors. That said... On boot, I get the following errors for all drives in a 24 disk storage enclosure: GEOM: diskid/DISK-%20%20%...
0 votes
1 answer
50 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
197 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
2 answers
2k views

FreeBSD & Jails: Send mail through Postfix in Jail

I have FreeBSD 10.2 and I'm using several Jails, one of them has Postfix installed. I want my other jails and my host system to use the local Postfix installation in the Jail. They should use ...
2 votes
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 : ...
1 vote
1 answer
1k views

Samba config and Mac OS X mounting

I'm aware that his question should maybe be posted on SuperUser. But as it probably has something to do with the Samba server, i'm posting it here. I'm trying to mount one of my Samba shares in Mac ...
0 votes
1 answer
247 views

FreebSD ipfw: using not with multiple addresses

Any ideas why this rule won't parse? ipfw add 10 deny ip from \{ not 127.0.0.1 and not 10.12.34.0/24 \} to any 53 out xmit wan0 ipfw doesn't like and and says: ipfw: missing ")" I've tried ...
0 votes
1 answer
424 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 ...
10 votes
1 answer
19k views

How to NFSv4 share a ZFS file system on FreeBSD?

Using FreeBSD 9, and created a ZFS file system like so zfs create tank/project1 zfs set sharenfs=on tank/project1 There are many howto's on setting up NFSv3 on FreeBSD on the net, but I can't find ...
2 votes
2 answers
3k views

FreeBSD shows high load, cannot find bottleneck

So we have set up a server(11.0-RELEASE-p2) that hosts around 150-200 jails. The server has 24 cores and 192gb of ram. When using top it shows no sign of stress - except the high load. All jails ...
1 vote
1 answer
379 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 ...
1 vote
1 answer
258 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 ...
0 votes
1 answer
695 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 ...
7 votes
2 answers
4k views

Identify which process is responsible for heavy disk i/o under FreeBSD

I wonder how I can monitor which process takes out all my IO bandwith. The only command i know is gstat but it shows cumulative info. Is there any tools i can use to inspect the running processes for ...
1 vote
1 answer
2k views

Increase number of connections per socket

How do I increase the number of connections each socket can accept? I know that you can increase the total number of connections using: # sysctl kern.ipc.somaxconn=4096 But each connection is then ...
0 votes
1 answer
2k views

Bhyve : tap0 bridged network interface for ubuntu instance times out during startup

I'm trying to setup an ubuntu instance using iohyve under FreeNAS 9.10, the instance will boots up but timeout when trying to raise the network interface. So far I've tried to double check the ...
1 vote
1 answer
1k views

Make: Permission Denied (until I `cd .`)

I have an account on a shared host running FreeBSD 5.5-STABLE. I was compiling my own version of Ruby today, and encountered this anomaly: If I tried to execute 'make', I get a "permission denied" ...
0 votes
1 answer
7k views

pfSense - Enable ssh (port 22) access through the WAN using terminal/console/shell

We need to enable pfSense ssh (port 22) access through the WAN interface to perform certain configurations using pfSense's terminal/console/shell. Actions already taken... "Secure Shell (sshd)&...
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 ...
6 votes
4 answers
6k views

Serial Over LAN on FreeBSD with SuperMicro X9-SCM-F

How can I setup Serial-Over-Lan (SOL) on FreeBSD with a SuperMicro X9-SCM-F motherboard? There are a few resources out there but they contradict each other, are unclear, and don’t actually allow me to ...
1 vote
2 answers
4k 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 ...
2 votes
2 answers
4k views

How can I drop all connections to a given host under FreeBSD?

I know about tcpdrop which is in base distribution. But this tool requires port numbers to be specified. Is there any tool to drop connections by IP?
6 votes
5 answers
18k views

Free space on ZFS file system unexpectedly missing

Going to completely rephrase this question since it's still an outstanding production issue several months later. I have a FreeNAS 0.7.2 box, based on FreeBSD 7.3-RELEASE-p1, running ZFS with 4x1TB ...
0 votes
1 answer
1k views

ipnat.conf - map and rdr won't work!

I can't put my mind around it, before reboot I was able to ssh in from outside to my jail and right now I can't! I even rebuild the whole system and even that didn't help:( anyone have any ideas? su-...
6 votes
3 answers
4k views

Is there a tool for managing FreeBSD jails that knows about ZFS?

ZFS under FreeBSD lets one assign filesystems to a jail, such that an account in the jail with the appropriate privileges can access the filesystem, create new subordinate filesystems, and so forth. ...
0 votes
1 answer
1k views

ports in freebsd jail fetching but not updating

I've created a jail to host my webserver/blog, but when attempting to build any port, I consistently get the message "portsnap: Directory is not writable: /usr/ports". Attached is a screen capture ...
3 votes
3 answers
6k views

Installing multiple php versions plus extensions on freebsd

I'm a currently learning how to work with freebsd. Lately I have been trying to run multiple php versions along with their respective packages. However, I seem to be running into issues while making ...
4 votes
2 answers
16k views

Pubkey SSH fails with "we did not send a packet, disable method" in freebsd jail

I have a FreeBSD VPS with 2 jails, each setup with ezjail (I know now that this is largely deprecated, but didn't at the time). $ jls JID IP Address Hostname Path 1 ...
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 ...
0 votes
0 answers
72 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 ...
0 votes
2 answers
146 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=...
1 vote
1 answer
415 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 ...
3 votes
2 answers
2k views

How to select network interface given ip address in ansible across Debian and FreeBSD?

I'm looking for an expression to fetch the interface name given an ip address assigned to that iface, across Linux and FreeBSD. This question is based on this answer: https://serverfault.com/a/948288/...
7 votes
3 answers
5k views

ZFS dataset doesn't automatically mount

Running on a FreeBSD 12.0 system, a dataset (my home directory) does not mount automatically at system boot. Manually mounting it (i.e. via zfs mount zroot/usr/home/username) works correctly. This ...
0 votes
3 answers
2k views

SED to search for and delete ip with a partial match

I have various bash scripts that run, they scan log files for folks who try and make mischief, spam us and so on. I have been struggling with this for some days trying to figure this out. I have a ...
0 votes
1 answer
945 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....
0 votes
1 answer
169 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 ...

1
2
3 4 5
31