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

OPNsense pfsync through VPN

I'm trying to get a failover group to work, similar to the opnsense documentation. The situation is different from the manual because the VMs only have 1 WAN network interface and no LAN interface. ...
1
vote
0answers
9 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 ...
0
votes
0answers
28 views

Does The FreeBSD Kernel possess “timer coalescing” capability similar to the Linux kernel?

I went to the timer coalescing page at wikipedia and it did not list FreeBSD as an OS that had timer coalescing capability. Why is FreeBSD unlisted at Wikipedia ? Is FreeBSD left out of that page, ...
0
votes
0answers
11 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 ...
0
votes
1answer
70 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 ...
0
votes
0answers
14 views

“Operation not supported” error when using sendto api with multicast on FreeBSD socket

I have got some weird issues. I want to send data by using multicast address on the FreeBSD socket. Here is the sample code. // bind socket bind(sd, (const struct sockaddr *) &saddr, sizeof(...
0
votes
0answers
29 views

How to boot FreeBSD-11 over serial console?

I'm trying to capture dmesg output from a kernel, that's crashing at boot. Setting console=comconsole on boot's command line works -- I see the OK prompt on the serial console. I then enter -- on the ...
3
votes
0answers
261 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'...
0
votes
0answers
19 views

Massive ZFS write and Checksum errors dmesg reports repeatedly aborted SCSI SYNCHRONIZE CACHE(10) commands

This morning my FreeBSD 12 server started reported lots of ZFS errors in writing and checksumming. It immediately began scrubbing and resilvering but came across unrecoverable errors and stopped. ...
0
votes
0answers
20 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 ...
0
votes
1answer
33 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 ...
0
votes
1answer
47 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 ...
0
votes
0answers
23 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 ...
0
votes
0answers
20 views

For some reason php7.0-fpm send data to nginx with huge delay, how find reason

I have some problems with application perfomance. Admins infiltrated between php-fpm and nginx and said that nginx get data with delay (dozens of seconds). I use PHP 7.0.23, nginx/1.12.1, FreeBSD 10....
0
votes
1answer
282 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 ...
1
vote
2answers
167 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 ...
1
vote
2answers
51 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 ...
0
votes
0answers
18 views

Replication task not writing data?

I configured two replication tasks on a FreeNas 11.2 server, one points to data/db (80mb) and the other to data/images (1000s of files, ~1Tb approx). Both tasks are working properly, I can see on the ...
0
votes
0answers
26 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 ...
0
votes
0answers
31 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 ...
1
vote
1answer
48 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 ...
2
votes
1answer
191 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 ...
0
votes
1answer
39 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 ...
0
votes
1answer
40 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 ...
1
vote
1answer
84 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 ...
5
votes
1answer
166 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 ...
-2
votes
1answer
38 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 ...
1
vote
0answers
114 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 ...
1
vote
0answers
38 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 ` ...
2
votes
1answer
97 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: ...
0
votes
1answer
90 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....
0
votes
1answer
342 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=...
0
votes
1answer
105 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 ...
1
vote
2answers
273 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?
0
votes
1answer
186 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 ...
0
votes
1answer
186 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 \ ...
0
votes
2answers
269 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-...
0
votes
1answer
152 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 ...
0
votes
0answers
83 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 ...
0
votes
0answers
90 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 ...
1
vote
1answer
230 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 ...
2
votes
0answers
30 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 ...
0
votes
0answers
38 views

Is there any tool like pps-tools(linux) for freebsd?

I setup a GPS with PPS singnal device on freebsd 12, I can 'cat /dev/cuau0' to get NMEA output, but how to get the PPS output ? Is there a tool like pps-tools for freebsd ? Thank you all !
3
votes
2answers
724 views

Postfix not resolving MX record

Log to=<x.y@example.com>, relay=none, delay=21311, delays=21301/0.04/10/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=localdomain type=MX: Host not ...
1
vote
1answer
99 views

uWSGI Emperor new apps are not started immediately

I run uWSGI in Emperor mode. Everything is fine and works but if i add a new myapplication.ini uWSGI needs minutes to hours bevor recognize the change and starts a new app. The Documentation says ...
0
votes
2answers
375 views

how can I install PHP 5.3 on FreeBSD 11.2

I have an old app written in PHP 5.3 that is not to be upgraded and doesn't work with php56 and higher. I'd like to install PHP 5.3 with most of the extensions on FreeBSD 11.2 box. And then I'd like ...
0
votes
1answer
35 views

df not showing subdirectories, only “multiple” parent directory

For example, we have directory structure: Root Directory Directory #1 Subdirectory #1 Subdirectory #2 Subdirectory #3 Directory #2 Directory #3 Now I'm using df -h to check disk usage but: ...
1
vote
0answers
140 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 ...
0
votes
0answers
11 views

AFP Share read issues

My freebsd(version 12) AFP share to mac via Gigabit network, and write speed can reach 100mbps, but read speed rather low about (10mbps).I try samba on windows PC and speed was normal. What's effect ...
-1
votes
1answer
113 views

FreeBSD top disk io read write units

In FreeBSD you can run "top -m io" and it will show you disk io. For example: What units is the WRITE/READ in, bytes or kilobytes or megabytes?