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, ...

1
vote
2answers
185 views

FreeBSD unecpected shutdown/power off

My digital ocean droplet have some unecpected shutdowns in the last days. The droplet ist off and i have to power it on again. If the system requested a power down then a log entry should exist. But ...
-1
votes
2answers
105 views

How can I adjust the name of a process I run?

I have a rack/ruby application on a server. I run it as follows: nohup rackup -o 0.0.0.0 -p 1234 & In the output of "top" command it appears as simply "ruby" PID USERNAME THR PRI NICE ...
1
vote
1answer
132 views

3-drive RAID-1 on pfSense box

I have a pfSense box with a 2-drive RAID-1 using gmirror. Recently, a drive failed, and I replaced the drive, and the RAID-1 is now back to normal. But this incident also made me interested in ...
0
votes
1answer
116 views

Freebsd ssh gives no prompt

I'm trying to connect to a FreeBsd machine via ssh, but get no prompt in a client. I have changed these options in sshd_config: Port 253 PermitRootLogin no PasswordAuthentication yes It is possible ...
0
votes
0answers
64 views

not able to receive UDP traffic on FreeBSD server

There is a network issue I have not encountered before. It seems that UDP traffic is entering the operating system since using systat -ifstat -match re1 0.5 shows the in bandwidth spiking for a moment ...
0
votes
0answers
42 views

FreeNAS-9.2-x86 almost not reachable after uploading data

two days ago I set up my FreeNas on an old computer. The setup contains of two 3TB HDDs, mirrored. I enabled FTP and started uploading 300gb of data over the night. The next day I tried to reach the ...
2
votes
0answers
201 views

Allowing Incoming Traffic over IPv6 with PF on FreeBSD

This is my current pf.conf on FreeBSD 11.1-RELEASE. It allows incoming connections from OpenVPN/UDP and SSH, as well as allows everything on the private/vpn networks (vtnet1 and tun0 respectively). ...
1
vote
1answer
356 views

Samba, FreeBSD, ZFS: Group permissions are ignored

I am running Samba 4.6 on FreeBSD 11 with ZFS. Each user belongs to the fileserver group. In addition, there are additional groups for each department, such as sales group. And here comes my problem....
1
vote
1answer
146 views

FreeBSD equivalent for Linux configuration of OpenVPN

I'm following a tutorial (https://snikt.net/blog/2016/12/01/openvpn-over-https/) regarding OpenVPN via SSL on Linux machines. At one point it states: We modify /etc/default/openvpn to automatically ...
2
votes
2answers
151 views

How to fix zpool detach hanging the entire pool?

When trying to replace a disk in a zpool on a FreeBSD 10.3-RELEASE-p20 system yesterday, the zfs filesystems became unresponsive after issuing the zpool detach srv gpt/d0 command. The server acts as ...
4
votes
3answers
310 views

check if two ZFS filesystems are identical

I would like to verify that two ZFS filesystems (in this case on different pools) are identical. Is there a best practice way to do this?
1
vote
0answers
327 views

BTX halted error on FreeBSD

I understand there are a few threads about this out there but my issue seems particular. Recently my boot disk, an SSD, failed and I have just rebuilt it. Given the opportunity, I thought I might go ...
0
votes
0answers
378 views

FreeBSD Mongodb 3.4 poor performance

I setup an FreeBSD 11.1 box on Digital Ocean and install mongodb34. I try the pkg and ports version but for both the performance is really bad compared with the same setup under Ubuntu, 10s vs. 0.6s ...
0
votes
1answer
90 views

Bhyve + IPv6 can't ping from guest to host until host ping guest

Both host/guest are using FreeBSD 11.1, I created the VM using vm-byhbe. This is host configuration in /etc/rc.conf ifconfig_igb0_ipv6="inet6 2a01:4f8:150:84ec::1 prefixlen 64" ...
2
votes
0answers
176 views

Configure Munin to monitor multiple instances on one node

I need to configure Munin to monitor multiple instances of a server daemon that run on a single host. I've tried creating a different named symlink for each instance, but unless I also pass an env ...
-2
votes
1answer
31 views

A web app isn't visible from the Internet

I have a ruby webapp running on the port 5555 on FreeBsd 11. For some reason it's not visible from the Internet at all, although ipfw isn't running. $ curl -i 12.34.55.66:5555 curl: (7) Failed to ...
1
vote
0answers
199 views

Can't access FreeNAS Jail via router VPN

I have a VPN running on my Linksys router. I have been able to configure a client to connect to it, and can access my FreeNAS server via the web interface with no issues. I can also ping it. But, I ...
2
votes
1answer
358 views

Apache 403 Forbidden for Nagios on FreeBSD

I have the following conf file in /usr/local/etc/apache24/Includes and when I try to sign in to Nagios GUI, I get a 403 forbidden. I guess this a permissions issue with Apache accessing Nagios data, ...
4
votes
1answer
395 views

What is the Microsoft iSCSI initiator target limit?

What is the Microsoft iSCSI initiator target limit ? I mean - how many disks from single iSCSI server can the initiator handle ? I have a FreeBSD 11.x kernel iSCSI target, and hundreds of disks ...
3
votes
2answers
974 views

Trying to Reinstall FreeNAS 11 After Failed Upgrade

Yesterday, I tried to upgrade my FreeNAS 9.10.2 system to FreeNAS 11. The upgrade failed to set the boot environment to FreeNAS 11, so I did that manually after seeing a reboot simply took me back to ...
2
votes
0answers
76 views

How can I apply security patches to an offline freebsd machine?

Synopsis: We would like to use FreeBSD (version 11.0) on one of our products. Once the product leaves the company, it will be disconnected from the Internet for good. However, as part of our support ...
0
votes
1answer
156 views

DNS servers provided by dhcp are automatically routed to local MAC address

On my freebsd, when ip and network conf is given by the dhcp, these routes are added for unknown reason : 192.168.138.6 54:a0:xx:xx:xx:xx UHS re0_vlan100 192.168.138.5 54:a0:xx:xx:xx:xx ...
2
votes
4answers
160 views

Running an application in background

I have a web app on a freebsd server. An app is a single executable file, with a built-in webserver. My default shell is zsh. When I'm running it as "./my_website &" and close a connection, it ...
2
votes
2answers
601 views

FreeBSD rc.d script doesn't start as a daemon

I have developed the following script at location /usr/local/etc/rc.d/bluesky #!/bin/sh # PROVIDE: bluesky # REQUIRE: mysql sshd # BEFORE: # KEYWORD: . /etc/rc.subr name="bluesky" rcvar=...
2
votes
1answer
187 views

bind address of application on multihomed server

I have a multi-homed server running bgp via quagga If I fire up an application on this server that initiates a connection, by default it is going to choose the interface with the lowest metric, ie ...
0
votes
1answer
1k views

Locking down FreeNAS (FreeBSD) to just a single IP address

I want to host a FreeNAS server (Server B) on the Internet for remote ZFS replication. Server A is a FreeNAS server in an office with a dedicated IP behind a Firewall, which will be sending ZFS data ...
0
votes
1answer
341 views

Setting up SSH so that FreeNAS can connect to a Mac without a password

I would like to send a ZFS dataset to a Mac running OpenZFS. I have been able to replicate a FreeNAS dataset to a Mac running OpenZFS using the terminal. I did this using SSH password authentication. ...
1
vote
1answer
333 views

Synchronise Samba 4.4 passwords with the Unix password database

I run a small Samba 4.4 server, and I would like to keep the Samba password database in sync with the Unix password database. I would like the Samba password to be updated when a user changes their ...
0
votes
1answer
121 views

PHP update not recognized in Apache on FreeBSD

I'm trying to update the PHP installation on my FreeBSD machine. I ran portsnap fetch update cd /usr/ports/lang/php56 make reinstall cd /usr/ports/lang/php56-extensions make reinstall service ...
1
vote
0answers
27 views

Files saved to Samba share are randomly differing from originals?

I manage a small network of windows clients and a BSD file server running Samba 4.6.x. We had some odd issues which led to the discovery that when users save files to the server, about 12% of the ...
1
vote
1answer
39 views

What's the most common and recommended directory for a web application on FreeBsd? [closed]

I have a website on a FreeBSD server which is reachable from the Internet. I know I can run it from whichever directory I wish. But still, which directory is more right, common and recommended? At the ...
4
votes
0answers
649 views

Getting to enforcing google safe search using CNAME with unbound and nsd?

I am trying to implement this using Unbound and Nsd: https://support.google.com/websearch/answer/186669?hl=en To force SafeSearch for your network, you’ll need to update your DNS. configuration. ...
1
vote
1answer
342 views

In Arch linux — systemd, in FreeBsd -?

In Arch linux, for example, when I'm running my web application on it, I create a systemd service so it'll be supervised and restarted when needed. On FreeBsd systemd isn't installed by default, then, ...
0
votes
1answer
69 views

After installing a new port, the version of a software is still old

After installing "erlang-runtime20" from port without an exception, the version is still 19: $ erl Erlang/OTP 19 [erts-8.3.5.1] [source] [64-bit] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]...
0
votes
1answer
84 views

Unable to install a new version of a port — Elixir 1.5.1 — in FreeBsd — “1 out of 2 hunks failed--saving rejects to Makefile.rej”

I'm trying to install Elixir 1.5 and OTP 20. I did this: pkg install erlang-runtime20 portsnap fetch extract update and I've changed /usr/ports/lang/elixir/Makefile to point to the latest version ...
1
vote
1answer
400 views

Freebsd: pkg audit spread out in time over different servers

We have several Freebsd servers, where we check daily for vulnerabilities with pkg audit. Question: Very often, the same vulnerability is reported in some servers only, and then in some others the ...
0
votes
1answer
1k views

PF firewall on FreeBSD for allowing SSH and OpenVPN Traffic

I'm trying to create a simple ansible template for the packet filter on FreeBSD 11.1-RELEASE. I have vtnet0 (public), vtnet1 (private, 10.10 address) and tun0 (openvpn, fully working/tested from a ...
1
vote
0answers
131 views

Cloud-init local stage on FreeBSD

I have installed cloud-init on FreeBSD, from the pkg repository. FreeBSD is running on oVirt, using the config-drive datasource. I use it to set a different hostname of the machine on boot. My ...
2
votes
0answers
401 views

FreeBSD 10 unable to boot ZFS pool - “unknown file system”

I have a server with FreeBSD 10.3 that I am suddenly unable to reboot. The server has been working fine for over 6 months but it not rebooted it since about 5 months ago, until now. I end up in "...
0
votes
1answer
97 views

How to hide/remove original source IP address when using OpenSMTPD?

I'm trying to figure out how to remove/hide the originating source IP address of every mail being sent using OpenSMTPD? To do the equivalent in postfix, it would be: http://integer13.wordpress.com/...
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 ...
3
votes
1answer
224 views

Munin monitoring of FreeBSD clients via munin-asyncd does not work

I have set up a Munin master node with the intent of monitoring different kinds of Unix machines. I have followed the instructions to the letter and found that while monitoring works flawless with all ...
0
votes
0answers
459 views

Upgrade error in Pfsense

I am experiencing an error while trying to upgrade Pfsense 2.3.2 to 2.3.3_1. [2.3.2-RELEASE] pfSense-upgrade -d Updating repositories metadata... Updating pfSense-core repository ...
1
vote
1answer
359 views

How to properly set LUN IDs for multiple targets

I'm running iSCSI to share multiple iSCSI targets via FreeNAS. Since I'm new to iSCSI I'm concerned I have the LUN IDs or other settings setup incorrectly. Here's how I'm connecting: I'm running ...
0
votes
0answers
382 views

Cannot load CA certificate file ca-root-nss.crt entry did not validate

The error message is clear enough. Some cert data isn't valid. But the debugging data provided seems a bit meager to me. How do I find cert 128? What is confusing is this file is up to date, so this ...
0
votes
1answer
122 views

Ubuntu -> BSD bootdisk fails to format

I want to install pfSense via USB boot stick. I am attempting to follow the instructions here: https://doc.pfsense.org/index.php/Writing_Disk_Images#Linux.2Fother Unfortunately they're fairly vague, ...
3
votes
1answer
513 views

Procmail recipe, mail owned by root

I'm using a combination of Postfix and Procmail to handle inbound email on one of my servers. Each user has a local account and I've been using the below /usr/local/etc/procmailrc successfully for ...
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 ...
0
votes
1answer
602 views

Set up nginx + php to serve php files from home directories [closed]

Here is the relevant part of my nginx.conf, which does not work for php files that are located in the home directories of the users: location ~ ^/~(.+?)(/.*)?$ { alias /usr/home/$1/www$2; ...
0
votes
0answers
625 views

Freenas not mounting zfs pool

I'm using FreeNAS-11.0-RC2 (a4687be8c) without issues since two weeks ago, then yesterday I did a shutdown, then after powering it on again the zpool wasn't available. Then after reading this: zfs ...