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

php-fpm (PHP-7.1) cannot serve content to nginx on FreeBSD

I am trying to install nginx and php-fpm following this guide on a FreeBSD 11.1 system on a raspberrypi-B+. Everything behaves as described in the guide up to point 14, which involves opening a php ...
0
votes
1answer
448 views

doas on FreeBSD does not respect 5 minute timeout

I've setup doas to run on FreeBSD 11.1 as per these instructions and added the following line to my doas.conf: permit persist :wheel I've noticed that I need to insert my password every time I run ...
2
votes
0answers
2k views

What to set uwsgi uid and gid to?

I'm trying to have nginx connect to a uwsgi socket on FreeBSD. I've set the socket to 666 but whenever I issue a request in my browser I can see the following in my nginx logs: 2017/12/12 11:34:04 [...
3
votes
1answer
433 views

FreeBSD gateway between two private networks - NAT required?

I have two networks: 10.0.0.0/24 and 10.1.1.1/24. Default gateway to the Internet is 10.1.1.1 and my gateway system gets assigned 10.1.1.20 on the external interface and has 10.0.0.1 on the internal ...
1
vote
2answers
346 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
144 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
379 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
321 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 ...
2
votes
0answers
344 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
676 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
228 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
339 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
589 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
723 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
225 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
283 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
36 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
348 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
748 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
842 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
145 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
315 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
213 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
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
312 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
3k 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
762 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. ...
3
votes
1answer
700 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
254 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
33 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
41 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
499 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
91 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
123 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
3k 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
262 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
764 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
270 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
4k 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
325 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
683 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
881 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
672 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
188 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
991 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
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; ...

1 2 3
4
5
30