Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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
vote
1answer
41 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 ...
1
vote
1answer
1k views

FreeBSD 10.3 SSSD AD integration issues

I'm having a lot of issues with FreeBSD 10.3 I'm finding the binary packages are fairly useless. I've had to build nearly everything to make things "work". I like using the adcli tool to join to a ...
1
vote
2answers
1k views

How can I check the partition name in FreeBSD?

I am currently running my server in the rescue mode, due to the firewall issues. In order to disable the firewall thing I would have to mount the / partition. My problem is that I dont know/remember ...
0
votes
1answer
61 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
49 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
1answer
1k views

FreeBSD jail with IPFW with loopback - unable to connect loopback interface

I am trying to configure a one IP jail with loopback interface, but I am unsure how to configure the IPFW rules to allow traffic to pass between the jail and the network card on the server. I have ...
0
votes
1answer
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
0answers
82 views

Amavis decide_mail_destiny crash

After upgrading to FreeBSD 12 I'm experiencing issues with amavis from time to time. The reason for the crash in unclear for now. A simple kill -9 $amavispid && service amavids start does ...
0
votes
0answers
34 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
30 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 ...
0
votes
1answer
1k 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 ...
2
votes
2answers
1k views

Convert raidz1 to raidz2 via a temporary drive

I set up a new NAS server a few months ago and set it as RaidZ. I'm re-thinking that decision and would like to grab an extra drive and move to RaidZ2. Before everyone replies that this isn't possible ...
9
votes
4answers
15k views

Change default crontab editor to nano in FreeBSD

When I edit the crontab using crontab -e it opens the crontab in vi. I'd prefer it to use nano. How can I change this? EDIT: For some reason the export command returns command not found. And ...
0
votes
2answers
1k views

Can't connect to a postgres server

I have a strange situation, I have created a second postgres server that will eventually become a slave to my current master, anyway for testing purposes I have currently installed postgres, and ...
1
vote
2answers
1k views

FreeBSD pf with NFS

I'm having trouble establishing new NFS connections when my pf is turned on. When I turn off pf on the server and client I'm able to mount with no trouble. I tried keep state and flags S/SA on the ...
2
votes
0answers
491 views

How to use wildcards with pkg-upgrade?

As an example, when I want to list all installed packages of php70 I can just enter: pkg info php70\* But I cannot use the wildcard in this for pkg upgrade: pkg upgrade php70\* When I do get this ...
7
votes
4answers
15k views

linux : netstat listening queue length

Is there a way to view queue length on listening socket under Linux, the same way as netstat -L outputs for FreeBSD? I.e. you can see X/Y/Z in netstat -L output, but netstat under Linux doesn't ...
2
votes
0answers
13 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
2answers
74 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 ...
1
vote
1answer
35 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
0answers
25 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
293 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 ...
0
votes
1answer
28 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: ...
5
votes
2answers
526 views

Symbolic Links and Multiple Mount Points

I am sure this may seem like a simple question, but I cannot seem to ask Google the correct question for the life of me. In short, I am having trouble understanding how symbolic links function when a ...
9
votes
4answers
14k views

How to install python3.4-pip in FreeBSD 10.1?

I searched in the ports and can't find a pip installation package other than the pip for python27 py27-pip-6.1.1. Which way is the best for installing pip for python 3.x in FreeBSD 10.1? Or is it ...
4
votes
1answer
108 views

File-sharing over Infiniband on FreeBSD

I have a pair of servers, which I'd like to connect to each other directly -- rather than through the switch shared by the rest of the network. I expect to benefit from lower latency and higher ...
-1
votes
1answer
29 views

transfer raid 0 array from freenas to windows

I have three disks in raid 0 with some data on it (not mission critical). This pool was created on a freenas installation and I was wondering if there is a way to re-mount the same raid 0 array in ...
2
votes
2answers
2k views

FreeBSD: how to syncronize the system clock with the hardware clock in bash?

I am writing a script that synchronizes the system clock with the hardware clock (aka RTC, or CMOS clock) assuming that no Network Time Protocol (NTP) daemon is running. I am running in a virtual ...
1
vote
0answers
35 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
6 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
52 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?
1
vote
1answer
3k views

FreeBSD VMware and CAM status: SCSI Status Error

I'm running a FreeBSD 10.1-RELEASE-p19 on a VPS (VMware). My ISP is experience a rapid data growth, and these messages spontaneous started to show up in our logs a week ago. Sep 25 09:00:50 srv03 ...
1
vote
1answer
50 views

Trouble enabling OTP for Opnsense logins

I'm trying to secure my firewall machine by enabling OPT for Opnsense. At a glance, it seems straight forward, see https://wiki.opnsense.org/manual/how-tos/two_factor.html. However, it doesn't seem to ...
1
vote
1answer
3k views

mysql won't start on FreeBSD

We recently picked up a client that has a site hosted on a FreeBSD box. The stack is FAMP. Things were chugging along just fine until recently mysql seems to have stopped running. There is no mysql ...
0
votes
1answer
2k 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%...
-2
votes
2answers
2k views

How much overhead does ZFS have? [closed]

Adding a file system to a raw device of course takes up some overhead. The question is how many percent does ZFS take? And does overhead differ depending on the ZFS raid set? Update The purpose is ...
13
votes
1answer
991 views

FreeBSD Jails or Docker instances

What are the main differences between jails on FreeBSD and Docker on Linux? Is one considerably more secure or more performant than the other? Jails are way older than Docker instances so the code ...
1
vote
2answers
987 views

FreeBSD jails access

I want to run an application inside jail so that allowed users can only connect to the jailed environment (application) and nothing else on my box. But they need to be able to connect to the jail ...
2
votes
0answers
251 views

FreeBSD networking setup for multiple jails - interface clones or aliases

While setting up multiple jails on a FreeBSD machine, I also (naturally) need to set up the networking for each jail. It seems to me there are two ways of achieving the same goal - 1) setting up ...
12
votes
3answers
21k views

NOQUEUE: reject: RCPT from on freebsd and postfix

I am building a server using this config -> http://www.purplehat.org/?page_id=4 and when trying to test basic email capabilities I get -> NOQUEUE: reject: RCPT from when try to send a test email. ...
1
vote
1answer
62 views

Why do SSH keys work for users `root` & `freebsd` but not `postgres` (database owner)?

I have been using FreeBSD running an a virtual machine at DigitalOcean.com. I use Secure Shell (SSH) from my Mac to remote into a console session on the VM. I used ssh-keygen to create the pair of ...
0
votes
0answers
38 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 ...
2
votes
2answers
116 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
2answers
199 views

Get list of users in a group in FreeBSD

How to get a list of usernames assigned to a group in FreeBSD 11.1? This Question asks for a list of users or a list of groups. This Question asks for users who happen to be members of multiple ...
3
votes
1answer
517 views

Install Java 9, 10, 11, or 12 on FreeBSD 11.1

When I look to my up-to-date Ports collection: cd /usr/ports/java && ls -d openjdk* … I see only versions 6, 7, and 8 of Java in the OpenJDK releases: openjdk6 openjdk6-jre openjdk7 ...
0
votes
0answers
33 views

Verify authenticity of SSH host on Digital Ocean droplet (FreeBSD)

When first connecting via SSH with keys to a newly minted Digital Ocean droplet VM running FreeBSD (per this tutorial), we get a message about “The authenticity of host blah-blah can’t be established”....
8
votes
1answer
14k views

How to change default shell in FreeBSD?

The default shell in FreeBSD is sh and I really can't stand it: autocomplete is very limited, and rehash commands kill me. I feel like a one armed and one legged man... How can I change the shell ...
11
votes
3answers
10k views

Should I create ZFS zpools with whole disks or partitions?

I am making zpools on FreeBSD machine. While creating zpools I observe these two cases: If I take raw disks and create zpool then I am able to form zpools and they are working perfectly. If I format ...
1
vote
1answer
654 views

Docker on freebsd11

I am trying to build a python application on freebsd11 and docker i have installed docker as per https://wiki.freebsd.org/Docker and all seems to work fine. my Dockerfile is like FROM python:2-slim ...
1
vote
1answer
61 views

How to correctly attach a disk to a zpool to create a mirror? - zpool attach says no such pool or dataset

Yesterday one of my pools which is a mirror was degraded - one of two 2TB disks failed. I replaced the failed one with another disk 4TB (ada3). Now I want to add another 4TB disk (ada1) to enlarge the ...