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
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
1answer
88 views

pfSense - Enable ssh (port 22) access through the WAN using terminal/console/shell

We need to enable pfSense ssh (port 22) access through the WAN interface to perform certain configurations using pfSense's terminal/console/shell. Actions already taken... "Secure Shell (sshd)&...
0
votes
1answer
242 views

OPNsense WAN failover causes disruption when non-active WAN is down

I have the latest version of OPNsense set up in a VM on ESXi 7. OPNsense is very similar to pfSense, and I suspect the solution would apply to both. All the NICs are PCI passthrough devices: A ...
1
vote
1answer
2k 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

Redirection with natd flags on FreeBSD

I am trying to setup a basic NAT server. I want all traffic coming from the outside world to the NAT server to be redirected to another machine, where I have a lipcap service running to parse this ...
0
votes
0answers
12 views

How to activate iocage on a DEGRADED pool

I got iocage located on a pool pool0 which was in status DEGRADED because of the failure of a HDD. I created a new pool poo1, and tried to move my jails to this new pool. I tried to follow this tuto: ...
0
votes
1answer
14 views

How to correctly benchmark sequential read speeds on 2.5" hard drive with fio on FreeBSD?

Like suggested in https://askubuntu.com/a/991311 I tested the read speed of a 2.5" spinning hard drive on a TrueNAS/FreeBSD system. For "Sequential READ speed with big blocks": fio --...
0
votes
1answer
37 views

Testing zpool IO performance

To test the write speed of a 2.5 inch SATA3 spinning hard drive (some old Seagate one) installed in my TrueNAS system I used dd if=/dev/zero of=/mnt/pool/test.dd bs=1024 count=1m (found this in ...
2
votes
2answers
4k views

Installing embedded pfsense, stuck at boot loader

I am trying to install pfSense embedded image 1.2.3 RC1 onto a CF card. The box looks like it is ready to boot, but gets stuck at "Loading /boot/defaults/loader.conf" followed by "/". Can anyone ...
0
votes
1answer
44 views

How return to prompt after execution of script that spawns a daemon?

$ cat appleclue.sh #!/usr/local/bin/bash source ~/.venv/appleclue/bin/activate cd ~/applications/appleclue/appleclue-web/ git pull pip install -r requirements.txt python3.9 manage.py migrate --...
0
votes
0answers
41 views

Security of allowing USB access by virtualbox on freebsd

It has come to my attention that when enabling passthrough USB access for virtualbox on a freebsd system, the instructions at least did tell you to make the user a member of the operator group. ...
0
votes
1answer
43 views

FreeBSD: Cant stop program started by rc.d (“is not running”)

I've created a rc script to start gunicorn as a daemon on boot. #!/bin/sh # PROVIDE: gunicorn_appleclue # REQUIRE: DAEMON . /etc/rc.subr name=gunicorn_appleclue rcvar=gunicorn_appleclue_enable ...
1
vote
1answer
36 views

Fix “stripped down” install of FreeBSD 12

I have several legacy FreeBSD VMs made by ex-sysadmin who did some strange trick to save hypervisor storage space: he installed one VM from iso, the set it up a bit, installed needed software, then ...
1
vote
1answer
2k 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 ...
6
votes
4answers
5k views

Serial Over LAN on FreeBSD 10.0 with SuperMicro X9-SCM-F

How can I setup Serial-Over-Lan (SOL) on FreeBSD 10.0 with a SuperMicro X9-SCM-F motherboard? There are a few resources out there but they contradict each other, are unclear, and don’t actually allow ...
16
votes
5answers
32k views

Dovecot user lookup fails when using username@domain format

I have Dovecot v2.0.11 installed on a FreeBSD server and the user lookups for incoming email addresses are failing, but lookups for system users is successful. Dovecot is setup to use system users, ...
0
votes
2answers
2k views

nss-pam-ldapd ldap group filtering

I'm attempting to setup authentication via ldap for OpenSSH connections on our FreeBSD servers in AWS. The actual ldap server is external to AWS and is accessed over the Internet. I've run into a ...
4
votes
4answers
17k views

How do I update PHP and all its modules on FreeBSD in one go?

Basically, I usually do something like this: # portsnap fetch # portsnap update # portmaster -L | grep -B1 "New version" ===>>> php5-5.2.11 ===>>> New version available: ...
2
votes
1answer
3k 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%...
1
vote
0answers
39 views

PF Nat over OpenVPN Client

I have FreeBSD 12.1-RELEASE router with 3 interfaces: LAN HOME(192.168.22.) LAN WORK(192.168.11.) WAN(1.2.3.4) My router connect to NordVPN over OpenVPN as a client (creates new TUN0 with address 10....
0
votes
0answers
57 views

Caching freebsd-update process to upgrade using poudriere

I would like to upgrade a FreeBSD server without having to go to the internet but downloading cached files of the whole freebsd-update upgrade process from poudriere. Is that possible?.
10
votes
5answers
14k views

FreeBSD Ports: How can I see all dependencies for a port, and all subdependencies for those dependencies?

I'm trying to build a port which depends on apache-ant. I thought I could run make build-depends-list to see all dependencies required by this port: # make build-depends-list /usr/ports/devel/apache-...
1
vote
1answer
1k views

Samba config and Mac OS X mounting

I'm aware that his question should maybe be posted on SuperUser. But as it probably has something to do with the Samba server, i'm posting it here. I'm trying to mount one of my Samba shares in Mac ...
2
votes
2answers
2k views

FreeBSD shows high load, cannot find bottleneck

So we have set up a server(11.0-RELEASE-p2) that hosts around 150-200 jails. The server has 24 cores and 192gb of ram. When using top it shows no sign of stress - except the high load. All jails ...
0
votes
0answers
36 views

Apparent Negative free disk space and FreeBSD 12

Just curious as to what's happening here. This is just a non-prod VM that I have at home. Curious as to what leads to the 'negative' available diskspace. This is FreeBSD 12 running under VMWare ...
1
vote
2answers
3k 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 ...
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 ...
1
vote
1answer
1k views

Increase number of connections per socket

How do I increase the number of connections each socket can accept? I know that you can increase the total number of connections using: # sysctl kern.ipc.somaxconn=4096 But each connection is then ...
1
vote
2answers
2k 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
1k views

ports in freebsd jail fetching but not updating

I've created a jail to host my webserver/blog, but when attempting to build any port, I consistently get the message "portsnap: Directory is not writable: /usr/ports". Attached is a screen capture ...
1
vote
1answer
79 views

CLI php errors on FreeBSD Server

I manage a FreeBSD server running usual AMP setup. Apache, Mysql, Php-fmp Everything is working fine. In order to help out with speeding up a couple of Wordpress sites; we run php cli to run the ...
2
votes
1answer
2k views

FreeBSD & Jails: Send mail through Postfix in Jail

I have FreeBSD 10.2 and I'm using several Jails, one of them has Postfix installed. I want my other jails and my host system to use the local Postfix installation in the Jail. They should use ...
0
votes
1answer
2k views

Bhyve : tap0 bridged network interface for ubuntu instance times out during startup

I'm trying to setup an ubuntu instance using iohyve under FreeNAS 9.10, the instance will boots up but timeout when trying to raise the network interface. So far I've tried to double check the ...
12
votes
7answers
38k views

ZFS import unable to find any pools

I had a ZFS pool -- a mirror containing 2 vdevs -- running on a FreeBSD server. I now have only one of the disks from the mirror, and I am trying to recover files from it. The ZFS data sits in a GPT ...
17
votes
6answers
39k views

Need to identify disk in zpool … how?

I need to replace a bad disk in a zpool on FreeNAS. zpool status shows gptid/5fe33556-3ff2-11e2-9437-f46d049aaeca UNAVAIL 0 0 0 cannot open How do I find the serial # of that disk? ...
0
votes
0answers
32 views

How to get custom option on client from ISC DHCP server

Over ISC-DHCP server I wanted to define a custom DHCP Option, for which I am using below config option imagefile code 224 = ip-address; subnet 192.168.29.0 netmask 255.255.255.0 { range 192.168.29.1 ...
0
votes
1answer
1k views

How to compile FreeTDS on FreeBSD10.0-64 in a right way

When i try compile freetds-stable from source (today is a 0.91 version) with: ./configure --with-iodbc=/usr/local --with-tdsver=7.2 --disable-libiconv make make install i didn't find the libtdsodbc....
2
votes
3answers
559 views

How much does FreeBSD differ from Linux?

I was trying to setup a NAS box for my ESXi server using linux, I was going to install ZFS and iSCSI and I thought everything was going to be awesome. I was wrong... ZFS on Linux is not the most ...
0
votes
1answer
27 views

pkg OSVERSION mismatches jail/host

I have a FreeBSD Host and some jails, the output of freebsd-version -u in the host and in the jail is 12.2-STABLE. In the host the output of uname -K and pkg -vv | grep OSVERSION matches 1202505 but ...
0
votes
1answer
2k views

One domain on Apache goes to default page without www

I'm using Apache/2.4.16 on FreeBSD 10.2. I have two instances of Apache running, each serving several domain names. The server has two network interfaces, one for the public Internet, one only ...
4
votes
3answers
10k views

Pfsense mbuf full, what to do?

I noticed today that the MBUF usage has hit its limit. Apparently the site I'm running under pfsense is having some troubles too, I'd like to know if it would be safe to just sysctl kern.ipc....
2
votes
2answers
137 views

Relatively new WD Red Pro yielding ATA status: 41 (DRDY ERR), error: 40 (UNC ) on FreeBSD 12.2

I am running a TrueNAS server based on FreeBSD 12.2. I migrated the storage to 10 TB WD Red Pro. They're running for 42 days now. Out of the sudden, during a ZFS scrub, one of the disks yielded 5 ...
1
vote
1answer
602 views

Offloading PPPoE from an OPNsense router

I'm running opnSense, a FreeBSD-based firewall and router similar to pfSense, in a virtual machine under VMware ESXi 7 on a Dell PowerEdge R230, as a router for my home network. No other VMs are ...
0
votes
1answer
1k views

ipnat.conf - map and rdr won't work!

I can't put my mind around it, before reboot I was able to ssh in from outside to my jail and right now I can't! I even rebuild the whole system and even that didn't help:( anyone have any ideas? su-...
10
votes
2answers
1k views

Freebsd change default Internet channel route

I have two Internet channel and Gateway on freebsd. When I switch channel with the command route change default chan2, the command netstat -nr shows changed default route. But traceroute shows that ...
10
votes
1answer
6k views

SSH_ORIGINAL_COMMAND variable not getting set

I am working with two servers, both of which run FreeBSD 8.4-RELEASE-p1 and OpenSSH_6.1p1. Both servers' ssh_config files, located in /etc/ssh, are identical. Both servers are configured to allow ...
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 ...
1
vote
1answer
1k views

Make: Permission Denied (until I `cd .`)

I have an account on a shared host running FreeBSD 5.5-STABLE. I was compiling my own version of Ruby today, and encountered this anomaly: If I tried to execute 'make', I get a "permission denied" ...
0
votes
1answer
150 views

Configuring NUT for old serial connected UPS (Tripp-Lite)

I have an old Tripp-Lite UPS (SU2200RTXL2UA) which I need to communicate with via it's RS232 Port (this model doesn't have a USB port). I'm trying to figure out which Serial NUT driver would be most ...
0
votes
0answers
89 views

Pfsense Web Configurator Doesnt Work

I am recently having this issue whenever i try to access to pfsense web gui, the connection time out, i use nmap to scan port 80 and 443 and those ports are not available, also used the -Pn argument ...

1
2 3 4 5
31