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
1answer
819 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
252 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
449 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
781 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
850 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
1answer
271 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
325 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
44 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
384 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
967 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, ...
5
votes
1answer
1k 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
3k 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
155 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
368 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
297 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 ...
3
votes
2answers
2k 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
371 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
4k 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
844 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. ...
4
votes
1answer
848 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
270 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 ...
2
votes
0answers
37 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
42 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
1k 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
515 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
93 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
136 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
1k 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
4k 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
325 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
881 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
382 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
5k 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 ...
2
votes
1answer
397 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
735 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
1k 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
780 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
211 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
1k 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
2k 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
1k 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
2k 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 ...
2
votes
2answers
4k 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 ...
2
votes
0answers
406 views

FreeBSD: How to extend an encrypted ZFS zroot pool

I installed a vanilla FreeBSD 11.0 (amd64) and chose the installation option "ZFS on / (encrypted)" (or however it is really called). Now I have a nice ZFS pool: root@storage:~ # zpool list NAME ...
0
votes
1answer
151 views

apache dev package installation in FreeBSD 11?

How do you install the dev package of apache24 in FreeBSD 11. It is not in the ports or in the package repositories or is it?
1
vote
1answer
895 views

Where is Apache's 000-default.conf in FreeBSD?

Where is Apache 2.4's 000-default.conf in FreeBSD 11? It seems it does not exist in FreeBSD 11.
1
vote
1answer
3k views

Permission denied: fusefs inside freebsd (freenas) jail

Host server: FreeNAS-9.10 (FreeBSD 10.3-STABLE) I've installed a jail, for backup purposes, mounting the to-be-backed-up filesystems of the FreeNAS host inside the jail. Backing up using borgbackup ...
2
votes
1answer
2k views

mount FreeBSD encrypted ZFS from live CD AND find the root partition

I followed the menu to install FreeBSD 11 with encrypted ZFS. After using the system fine for some days, I messed something in /boot/loader.conf so can not boot. I searched and the way to recover is ...
0
votes
1answer
116 views

FreeBSD script - different result to manual execution (tcsh)

This question has been asked previously in https://joomla.stackexchange.com/questions/20697/securing-a-joomla-installation-on-apache-mod-php but it may belong here better since it is not Joomla ...
0
votes
2answers
591 views

vSphere on same subnet as FreeNAS - how to limit FreeNAS management access to a specific VLAN or subnet?

I have a fairly common setup - vSphere and ESXi hosts using FreeNAS as the VM store. The servers can see each other (obviously) so I want to segregate system admin traffic and user traffic onto ...

1
3 4
5
6 7
31