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
6 votes
1 answer
2k views

Redis connection issue

We are currently experiencing a lot of Redis errors with the message Unable to connect: read error on connection, trying next server We run Redis on FreeBSD using PHP Redis and we have a hard time ...
mre's user avatar
  • 311
6 votes
1 answer
4k views

FreeBSD Jail with Loopback IP, IPFW, and natd - Outbound connections fail from jail

I've got a FreeBSD 9.0 server. It has several jails, but they all have this same issue. They can not initiate connections to the outside world. They communicate with each other and the host fine. ...
Chris S's user avatar
  • 78.2k
6 votes
1 answer
5k views

How do I disable NFSv3/v2 connections to a FreeBSD NFSv4 server?

I am using a Kubuntu 11.10 client with a FreeBSD 9.0 server. The server has the following lines in /etc/rc.conf nfs_server_enable="YES" nfsv4_server_enable="YES" nfsuserd_enable="YES" and the ...
Utkonos's user avatar
  • 426
6 votes
0 answers
1k views

pfSense Internal Traffic Policy Based Routing

What is the current and correct way to apply policy based routing to pfSense internal traffic (originating from the firewall itself)? Creating a floating rule with the WAN interfaces selected, ...
Monstieur's user avatar
  • 546
5 votes
9 answers
4k views

Hidden features of FreeBSD?

For completeness, similar to Hidden Features of Linux and Hidden Features of Solaris/OpenSolaris, what are the hidden features of FreeBSD?
5 votes
5 answers
4k views

ZFS on OpenSolaris or FreeBSD

I have no real experience with ZFS, and very limited experience with Solaris & FreeBSD. After reading numerous articles about ZFS, I'm pretty convinced ZFS is something I want to use for my home ...
osij2is's user avatar
  • 3,885
5 votes
2 answers
1k views

Web site kills hard disk I/O, how to prevent?

The situation: I have a server, on which we have 2-3 projects. Starting not long ago, the server started hanging up (We could not connect to it by ssh, and the connected clients had to wait 20 minutes ...
Taras Voinarovskyi's user avatar
5 votes
2 answers
4k 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=...
Megidd's user avatar
  • 251
5 votes
3 answers
946 views

What is the ZFS ACL limit?

Does anyone know how many user ACL's ZFS can handle? With other words: for how many users can I set ACL's like this one for the same directory? setfacl -m user:test1:rwxpDdaARWcCos:fd----:allow /mnt/...
Sandra's user avatar
  • 10.6k
5 votes
4 answers
5k views

booting FreeBSD 9 from USB stick: boot error

I am trying to boot FreeBSD 9 from a USB stick that I created following the official guidelines: dd if=FreeBSD-9.0-RELEASE-i386-memstick.img of=/dev/da0 bs=64k Booting fails with a simple 'boot ...
ssc's user avatar
  • 1,189
5 votes
5 answers
13k views

Is Apache stalled? /server-status shows over 240 requests like "OPTIONS * HTTP/1.0" 200 - "-" "Apache (internal dummy connection)"

Some details: Webserver: Apache/2.2.13 (FreeBSD) mod_ssl/2.2.13 OpenSSL/0.9.8e OS: FreeBSD 7.2-RELEASE This is a FreeBSD Jail. I believe I use the Apache 'prefork' MPM (I run the default for FreeBSD)...
Stefan Lasiewski's user avatar
5 votes
2 answers
8k views

How can I determine what RAIDZ level my volume is using?

I am looking at a ZFS volume on FreeBSD system, and I have no idea what RAIDZ level it is configured at. How can I find out using the ZFS command line or other? I tried "zpool status" already, and ...
7wp's user avatar
  • 574
5 votes
2 answers
5k views

How to block MAC address in pf firewall

I want to block particular MAC address on PF firewall. I know PF firewall works on the Layer 3 i.e it operates on the IP addresses rather than MAC address.But is there any way to block the MAC address ...
user229957's user avatar
5 votes
2 answers
6k views

How to change rc.d startup order in FreeBSD?

My question exactly same as this question except I want to change services in FreeBSD. I made some research and I found rcorder command which gives full order of services with below paramaters. ...
ibrahim's user avatar
  • 431
5 votes
1 answer
249 views

Check ChangeLog of FreeBSD port before upgrading

Is there an easy way to check a ChangeLog of a FreeBSD port before you upgrade? For instance, I'd like to check what upgrades are mandatory before I do portmaster -ad. It would be nice to have ...
EhevuTov's user avatar
  • 474
5 votes
4 answers
4k views

Creating you own FreeBSD ami in EC2

I'm running XVM on my laptop. XVM has got FreeBSD installed with all the required ports to run APACHE/PHP. I want this .vdi file to be imported into an EC2 instance. Is it possible to import a ...
Mayank's user avatar
  • 199
5 votes
3 answers
12k 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....
sathia's user avatar
  • 155
5 votes
3 answers
9k views

Why does ifconfig reset the default gateway route?

In FreeBSD, an ifconfig call seems to delete the default gateway route, even when given the same IP-address (e.g. when updating the netmask only). Is it a bug or a feature? As fas as I remember Linux ...
Eugene Yarmash's user avatar
5 votes
3 answers
10k views

Failed to enable the 'dataready' Accept Filter

I'm not sure why, but I'm getting this warning when I start my apache... su-3.2# /usr/local/apache2/bin/apachectl start [Wed Sep 23 13:40:42 2009] [warn] (2)No such file or directory: Failed to ...
alexus's user avatar
  • 13.4k
5 votes
2 answers
3k views

ZFS Reporting (on FreeBSD and Linux via ZoL)

As a longtime mdadm user is was just experiencing a disk error and remembered that I configured a Auto Mail reporting for mdadm on disk errors. Therefore i just had to insert my Mail address inside /...
Daywalker's user avatar
  • 495
5 votes
1 answer
2k views

How to check pf's queues?

I use FreeBSD and working with pf+ALTQ now. Something doesn't work and I need a tool to view what requests are marked and moved to a queue "queue_name" Need something like pftop but showing queues. ...
Sergey's user avatar
  • 714
5 votes
2 answers
1k views

Using bash shell when logging into FreeBSD ssh

I'm searching a way to be sure my commands are executed by bash on some FreeBSD 11 machines that use csh as default shell. The following is my code that works on Linux CentOS / Debian / MacOS X / ...
Orsiris de Jong's user avatar
5 votes
1 answer
7k views

where does uname get version number in FreeBSD RELEASE?

I installed FreeBSD 9.1-RELEASE, after binary upgrading to 9.2-RELEASE using freebsd-update, all files I checked are correctly in 9.2-RELEASE-p4. For example: the kernel contains the new version: # ...
John's user avatar
  • 369
5 votes
3 answers
7k views

SSHing with the nobody user

I am on FreeBSD. Essentially, I am trying to have a php script (run by apache) ssh into another machine. I am running into the problem that nobody does not have a .ssh configuration file and so am ...
thatidiotguy's user avatar
5 votes
3 answers
11k views

Mounting NFSv4 share from Debian Linux 6 to Freebsd 9-RC3 "server requires stronger authentication"

I've run into a strange problem while trying to mount from FreeBSD 9.0-RC3 to a Debian Linux box. The command I'm using is: sudo mount -v gorkon:/dustbin /tmp/test This returns the following ...
Joseph Lenox's user avatar
5 votes
2 answers
458 views

Portable firewall rules for Linux and Free/Net/Open/DragonFlyBSD

I need apply the same rules (lists of IPs with allow and drop rules) in firewalls of Linux and *BSD. Do you know some application (CLI) for to convert a list of rules in the specific format of each ...
Rufo El Magufo's user avatar
5 votes
2 answers
7k views

How can I adjust subversion repository file permissions automatically for use w. Apache/DAV?

I've set-up a subversion server accessible with Apache/DAV and after screwing up the repositories file permissions a couple of days ago I started wondering if there's a better way to do this than the ...
agnul's user avatar
  • 536
5 votes
1 answer
937 views

Block Google requests to 16k using pf firewall

I'd like to block access to Google search using PF after the threshold of 17500 requests (connection established) in 24h, from a host running FreeBSD 9. What I came up with, after reading pf-faq is ...
atmosx's user avatar
  • 189
5 votes
4 answers
5k views

freebsd-update from 8.3-RELEASE to 9.0-RELEASE: How to deal with dozens of diffs?

I am upgrading a FreeBSD 8.3-RELEASE system to FreeBSD 9.0-RELEASE using freebsd-update. This is my first time performing a major version upgrade in FreeBSD. At one point in the process, freebsd-...
Stefan Lasiewski's user avatar
5 votes
1 answer
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 ...
drookie's user avatar
  • 8,756
5 votes
2 answers
769 views

How to tell if a FreeBSD host needs a reboot to activate the new kernel?

"uname" will tell me the version of the running kernel. How do I know if this is different from the installed kernel (i.e. the one that will be loaded on the next reboot)? Ideally I'd like to write a ...
TomOnTime's user avatar
  • 8,141
5 votes
1 answer
1k views

File is different when read from NFS server

So I have a backup server we've been using for some time, it's a FreeBSD server running zfs and serving it over NFS. The export is simple: /backup/vm -maproot=root -alldirs. If relevant, that was ...
Walton Hoops's user avatar
5 votes
1 answer
4k views

Router advertisement for ipv6 is advertising link-local adress

I have the following situation: I configured a FreeBSD 9.1 machine as the endpoint of a heartbeat SixXS tunnel on a gif0 interface. It works so far, and I can ping6 via IPv6. I assigned to another ...
GorillaPatch's user avatar
5 votes
1 answer
255 views

Freebsd jail for an small company - checklist - what shouldn't forget

Looking for an checklist for an "small company freebsd/jail server". Having pretty common starting point: FreeBSD jail (remote/headless) for the company: public web, email, ftp server, and private (...
cajwine's user avatar
  • 183
5 votes
1 answer
4k views

"route add default -iface em1" in rc.conf on FreeBSD

I have two NICs on my FreeBSD server, which are set up like this in rc.conf: ifconfig_em0="10.0.0.1 netmask 255.255.255.0" # LAN NIC ifconfig_em1="DHCP" #...
poplitea's user avatar
  • 467
5 votes
1 answer
3k views

Why won't FreeBSD reboot after a kernel crash?

Once in a while I get my server running FreeBSD 8.0 amd64 fail due to bad memory (incompatible with motherboard) modules. Each time it happens, the box stalls with the last note saying that it will ...
Max Kosyakov's user avatar
5 votes
2 answers
2k views

Freebsd doesn't show command output correctly in Putty

I have just installed the latest stable version of FreeBSD to a computer and I have the following problem: If, in Putty, I issue a command like ps uxa which gives long lines of output, they get ...
skrostislav's user avatar
5 votes
1 answer
4k views

ZFS shows pool state FAULTED, but all devices are ONLINE; how can I recover my data?

Our 100TB NAS based on FreeNAS 8 was unexpectedly powered off due to power failure. After turning it on back, 100TB zpool "projects" was unmounted with state "FAULTED". I've tried zpool import -fFX, ...
Sergey Andrianov's user avatar
5 votes
1 answer
5k views

Does kern.hz still have any relevance in FreeBSD if "dynamic tick mode" is enabled?

I'm running a FreeBSD 9.0 setup as a virtual machine in a KVM setup. In previous versions of FreeBSD it was common to force the kern.hz setting to a lower value so that the virtual machine does not ...
Frerich Raabe's user avatar
5 votes
1 answer
1k views

Supermicro + IPMI + FreeBSD: Kernel prints at 1-bps

I am running FreeBSD 8.2-RELEASE. The machine is a Supermicro 5015M with a IPMI 2.0 daughterboard. When I boot this host, the boot process proceeds fine. I see the BIOS, the RAID BIOS, the first and ...
Stefan Lasiewski's user avatar
5 votes
1 answer
2k views

BIND 9.10 constantly killed on FreeBSD 10.0 with out of swap space

In one of our slave DNS servers BIND, version bind910-9.10.0P2_3, constantly get killed with the following message in /var/log/messages: Jul 30 01:00:10 cinnabar kernel: pid 602 (named), uid 53, was ...
Vinícius Ferrão's user avatar
5 votes
2 answers
789 views

FreeBSD 10.0-RELEASE: No lagg0 after reboot

I have a server running Freebsd 10.0-RELEASE. I'm trying to create bridge interface with three participant interfaces, ix0, ix1 and lagg0. Lagg0 is virtual interface made from ix2 and ix3. My problem ...
user2443856's user avatar
5 votes
2 answers
2k views

lacp, cicso 3550, 3560, help with configuration

Hey all this is a repost from a question I asked on the cisco forums but never got a useful reply. Hey I'm trying to convert the FreeBSD servers at work to dual-gig lagg links from regular gigabit ...
Flamewires's user avatar
5 votes
1 answer
3k views

how to troubleshoot using rsyslog to output to a mysql database

Using FreeBSD 8.0 32 bit. I have installed rsyslogd 5.5.5 with ommysql. (installed ports /usr/ports/sysutils/rsyslog55 and /usr/ports/sysutils/rsyslog55-mysql) My rsyslog.conf file looks like: $...
ChrisNZ's user avatar
  • 606
5 votes
2 answers
2k views

OpenVPN - client-to-client traffic working in one direction but not the other

I have the following VPN configuration: +------------+ +------------+ +------------+ | outpost |----------------| kino |----------------| guchuko | +---------...
Pawz Lion's user avatar
  • 484
5 votes
1 answer
3k views

Increasing FreeBSD threads

For network apps that create one thread per connection (like Pound), threadcount can become a bottleneck on the number of concurrent connections you can server. I'm running FreeBSD 8 x64: $ sysctl ...
sh-beta's user avatar
  • 6,858
5 votes
0 answers
404 views

How to share a ZFS pool between Debian and FreeBSD?

I am having a setup of a dual boot PC running FreeBSD 12 and Debian 10. There is a three disk zraid in the system created by FreeBSD which I would like to use as a common storage pool for both ...
GorillaPatch's user avatar
5 votes
0 answers
2k views

How to mount a fuse-sshfs file system inside a FreeBSD-12.0p10 jail

I wish to mount a remote data source locally as a fuse file system. This is listed as supported by lsvfs: lsvfs Filesystem Num Refs Flags -------------------------------...
James B. Byrne's user avatar
5 votes
0 answers
2k 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 setting up multiple ...
ahron's user avatar
  • 375
5 votes
3 answers
362 views

freebsd does not recognise that php was installed via ports

I have php 5.2.12 installed on FreeBSD 8.0-STABLE. It was installed from ports and I am trying to upgrade it to 5.3.2. However for some reason my system is not recognising that php was installed via ...
Alistair Prestidge's user avatar

1 2 3
4
5
31