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
1 answer
81 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 -...
user avatar
2 votes
1 answer
122 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 ...
user avatar
  • 21
0 votes
2 answers
329 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? ...
user avatar
2 votes
1 answer
189 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 ...
user avatar
4 votes
0 answers
154 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 ...
user avatar
  • 141
5 votes
0 answers
259 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 ...
user avatar
1 vote
1 answer
2k 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 ...
user avatar
  • 2,252
1 vote
0 answers
144 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 ...
user avatar
1 vote
1 answer
276 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 ...
user avatar
1 vote
0 answers
61 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 /...
user avatar
  • 201
3 votes
0 answers
1k 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 -------------------------------...
user avatar
0 votes
1 answer
359 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. ...
user avatar
  • 461
0 votes
1 answer
212 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/...
user avatar
2 votes
0 answers
869 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 ...
user avatar
1 vote
0 answers
196 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: ...
user avatar
1 vote
1 answer
324 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 ...
user avatar
  • 365
0 votes
0 answers
91 views

as root using locate command how to locate a file regardless of owner since locate can only find files owned by user "nobody" in FreeBSD

I tried using locate to locate a certain file which is dog.jpg, I just updated the locate database and it does not show up since locate only finds files owned by user nobody, and the file dog.jpg is ...
user avatar
3 votes
2 answers
9k views

What username for Login to Console on a Digital Ocean Droplet running FreeBSD 12

As an alternative to making an ssh connection to your Droplet on DigitalOcean, they offer a "Console" which is a VNC connection, akin to plugging a monitor and keyboard into your virtual server. When ...
user avatar
3 votes
1 answer
3k views

Force ZFS to ignore checksum errors without removing the offending disk

EDIT: (see the end of this question) after more digging this appears to be a system USB issue and not ZFS that's causing the drives to be kicked. I'll leave this question up for posterity, because I'...
user avatar
0 votes
0 answers
503 views

iPerf3 client download comes back with really slow results when tested on a long fat pipe for my FreeBSD server

So I operate FreeBSD server that is connected to a 300 Mbps symmetrical fiber line. It often has to serve users on a different continent so the tested ping is anywhere from 100 to 300 ms, and in ...
user avatar
0 votes
1 answer
200 views

rndc: 'flushtree' failed: unknown command

I'm very new to learning and administering DNS with BIND9 under FreeBSD. I find myself in a unique situation where I'm having an error administering the flushtree command with rndc. I'm not sure if ...
user avatar
0 votes
1 answer
147 views

Tagged traffic throught FreeBSD server

i have a cable from provider with two VLANs on it, VLAN1 for internet and VLAN50 for VoIP. I need to take VLAN50 to my 192.168.0.2 server (PBX Panasonic TDE-600) on schema so it can connect to SIP ...
user avatar
  • 1
0 votes
1 answer
108 views

FreeBSD and pf - packet filtering based on OpenVPN usernames

I have an OpenVPN server which authenticates the users using an Active Directory server. I need to limit the bandwidth of each user based on their usernames, and I also want to be able to do some ...
user avatar
1 vote
1 answer
3k views

NFS clients fail to get lock on files

I am running FreeBSD 12-RELEASE on our local NFS server. Previously it was working fine, but as of a few days ago some of our tools that require file locking stopped working. Locking does work on our ...
user avatar
  • 41
1 vote
2 answers
4k views

How to make hard drive standby (spin down) on a timer?

I'd like to have my hard drives spin down when idle for, let's say 20 minutes. Any number of minutes is fine, as this NAS is rarely used. What I've tried and didn't work: ataidle -S 20 /dev/ada0 ...
user avatar
  • 495
1 vote
2 answers
239 views

processes running nice +20 still make the system sluggish

if i have a process that i wish to run in the background on all cores, it can make the system extremely sluggish, even running at nice +20. Running out of memory or io is not the issue. Is there any ...
user avatar
  • 255
0 votes
0 answers
55 views

After enable rules of ipfw my server collapsed

I enable ipfw rules on my mail server. After some time server collapsed. In /var/log/messages is nothing information of my damage. But when I connected monitor, I saw some troubles with swap ...
user avatar
0 votes
0 answers
85 views

ipfw not send mail to another domain

I configure ipfw for a local mail server. Everything works fine, but after a while (from one and a half days to a couple of hours) incorrect work is observed: mail from other domains comes, but mail ...
user avatar
1 vote
1 answer
756 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 root@jailname.domain.tld. My Postfix is configured to accept ...
user avatar
4 votes
1 answer
6k views

How can I recover my ZFS pool, which suddenly went offline and reports that it was "last used by another system"?

tl;dr: I am running a FreeBSD 11.2 NAS server with ZFS on a server with 16GB ECC memory. I've discovered that my main pool has disappeared. ZFS can see the pool, but reports fault ZFS-8000-EY and ...
user avatar
  • 292
0 votes
1 answer
91 views

What is the most likely to succeed way to detect attached disks in FreeBSD?

I have seen at least 3 different ways to view attached disks in FreeBSD. Is one more likely to succeed in detecting disks than the others? Here are the three that I know about: camcontrol devlist ...
user avatar
  • 101
0 votes
1 answer
213 views

On FreeBSD what tool is used to dislay the DNSSEC signature expiry date for a zone?

We use FreeBSD-12 and Bind-9.11.6. We have DNSSEC enabled for some of our domains. I wish to verify the signature expiry date for these zones. I cannot seem to locate any information on exactly how ...
user avatar
1 vote
1 answer
616 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 ...
user avatar
  • 11
6 votes
1 answer
2k views

Resize zfs pool

We are using Digital Oceans block storage feature on our FreeBSD system. When we add a new block storage we get: da0 at vtscsi0 bus 0 scbus0 target 0 lun 1 da0: <DO Volume 1.5.> Fixed Direct ...
user avatar
  • 289
-2 votes
1 answer
140 views

Freebsd 11 custom installer memstick with packages [closed]

I use freebsd 11 memstick installer image always but need some packages if I install freebsd 11 then I should install some packages ( phpmyadmin, php7, nginx, mysql, nano) and enabled root ssh vb ...
user avatar
1 vote
0 answers
421 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 ...
user avatar
  • 141
1 vote
0 answers
129 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 ` ...
user avatar
  • 8,004
2 votes
1 answer
813 views

Enable IPv6 in MariaDB in FreeBSD jail

I'm trying to set up a MariaDB 10.2 Server on a FreeBSD 11.2 Jail. The Server is running and accepts remote connections via IPv4 just fine. According to sockstat, it should also be listening on IPv6: ...
user avatar
  • 166
0 votes
2 answers
956 views

PF blocking out Flags [FP.]

On a FreeBSD 12 server, I started to notice that pf is blocking out having Flags [FP.], the logs are flooded with something like this: 00:00:00.000004 rule 2/0(match): block out on bge0: 213.59.241....
user avatar
  • 548
0 votes
1 answer
404 views

Something sends emails to email@example.com permanently

I'm watching multiple lines in maillog for the last few days Feb 26 06:00:17 d3355 sm-mta[2682]: x1L5tNWu013205: to=<email@example.com>, delay=4+21:04:54, xdelay=00:00:00, mailer=esmtp, pri=...
user avatar
  • 175
0 votes
2 answers
628 views

Time is going too fast on FreeBSD 12 on compute engine

I have created a FreeBSD VM on Google cloud engine. The image is installed with ntpd configured and is running: $service ntpd status ntpd is running as pid 4950. But date is in the future, the time ...
user avatar
  • 101
1 vote
2 answers
3k views

Trapped in freebsd-update fetch with strange End display

FreeBSD noob here. When I run freebsd-update fetch on a fresh install of FreeBSD 12.0, it ends with, well, End, without taking me back to a prompt. How do I exit this screen?
user avatar
1 vote
1 answer
2k views

Releasing zfs arc memory on FreeBSD

I have a machine running FreeBSD that is subject to a variety of workloads, rabging from Disk intensive to memory intensive. If large amounts of ZFS data are accessed, then the Wired Memory usage can ...
user avatar
  • 255
0 votes
2 answers
558 views

FreeBSD-12.0 PF firewall default rule is blocking when more specific rule allowing is ignored

Our PF firewall contains this: . . . scrub in all fragment reassemble no-df max-mss 1440 ### em1 ipv4 = 123.12.3.234 nat log on $ext_if \ from $net_nat \ ...
user avatar
1 vote
2 answers
1k views

FreeBSD swap usage with mysql

For the past few months, on a few different servers with similar FreeBSD versions and specs, I've been experiencing high swap usage with MySQL while seemingly having plenty of free RAM. FreeBSD 11.2-...
user avatar
0 votes
1 answer
754 views

how to update and maintain multiple jails (ZFS & nullfs skeleton)

There are multiple ways and tools to create jails, and now that disk spaces is becoming cheaper the creation of a full jail (having already compiled a world) is just a matter of seconds: zfs create ...
user avatar
  • 548
1 vote
0 answers
408 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 ...
user avatar
0 votes
0 answers
254 views

Getting NodeJS to run on FreeBSD as a Supervisor-PCM process

What I'm trying to do: I'm trying to create a small webhooks_server using 3 technologies: a FreeBSD server a NodeJS server a process control syster (Supervisor) When I run my test code on the ...
user avatar
  • 101
1 vote
1 answer
1k views

Sendmail in FreeBSD send with external SMTP without auth

I'm sorry if this might sound confusing at first. My brother asked me to make a web server for him because he wanted to self host his own website and not use a hosting service anymore. The problem ...
user avatar
2 votes
0 answers
84 views

FreeBSD: redirect some UDP traffic from one port to another

I have some specialized DNS servers running on FreeBSD 11. A few people keep hammering on them and I would like to give them different answers. So I'd like to divert UDP traffic from those hosts from ...
user avatar

1 2
3
4 5
31