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
14 votes
7 answers
62k 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 ...
squidpickles's user avatar
1 vote
3 answers
3k views

Forcing Apache 2.4 to cache files with query string using mod_cache without expires

I need to get mod_cache_disk to cache a site containing query strings. The issue is that it's a vendor product on IIS that we're trying to cache through mod_proxy and it does not contain expires ...
Lucas Holt's user avatar
0 votes
1 answer
292 views

Apache mod_rewrite - why friendly URL doesn't works with static files?

My configuration to use friendly URL works fine when the destination is a php script, like this: RewriteRule ^products/([a-z0-9-]+)/([0-9]+)/?$ /prod.php?id=$2&name=$1 [NC] But, when I use a ...
bsouza's user avatar
  • 11
15 votes
1 answer
5k views

FREENAS: Why isn't mv command instant within a RAIDZ1 volume?

I'm currently 'reorganizing' file structure within a RAIDZ1 volume. Moving directories from one dataset to another, which are both contained on the same volume. SSH'ed into the machine and did a ...
Ryan's user avatar
  • 282
2 votes
0 answers
533 views

Load Average problems while serving 40M requests daily with php-fpm, nginx

I have server with FreeBSD (16 cores with HT, SSD, 32Gb RAM) which is getting about 40M http requests daily. All requests are served by nginx + php-fpm. At these graphs you see that we have a ...
Kirzilla's user avatar
  • 573
-3 votes
1 answer
304 views

Upgrading to freebsd10 breaks apache24

Until now I was using freebsd9 with apache22 with ssl, every thing went well. But recently I moved to freebsd10 (fresh install) and then installed apache24 with same config as on old machine. ...
Nishan's user avatar
  • 485
2 votes
1 answer
762 views

exim produces failed to read delivery status for user

OS: FreeBSD9 64 Bit MTA: Exim with SA-Exim, Auth-Radius, Content Scan options I use exim -v user with default install (without even tweaking anything) LOG: MAIN PANIC failed to read delivery status ...
Nishan's user avatar
  • 485
1 vote
2 answers
11k views

freenas zfs read performance sucks .. why?

I just set up a freenas zfs raid-z2 with 4 drives sata enterprise drives and doing some performance tests. Right now I'm pushing and pulling linux images into the storage. My notebook has a samsung ...
Manuel's user avatar
  • 523
-2 votes
1 answer
5k views

FreeBSD - Unable to install GNOME Desktop Environment [closed]

I'm unable to install GNOME Desktop Environment on FreeBSD-10 w/ pkgng. I'm following FreeBSD's handbook - 6.7. Desktop Environments: root@:~ # pkg install gnome2 Updating repository catalogue pkg: ...
alexus's user avatar
  • 13.4k
2 votes
1 answer
3k views

FreeBSD's pkg "No trusted fingerprint found matching package's certificate"

I just installed FreeBSD 10 and trying to get pkg going, but something isn't working: # uname -a FreeBSD 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap....
alexus's user avatar
  • 13.4k
1 vote
0 answers
109 views

Check-state counter is always zero

My firewall rules are: 00010 660 73050 allow ip from any to any via lo0 00011 0 0 deny ip from any to 127.0.0.0/8 00012 0 0 deny ip from 127.0.0.0/8 to any ...
akond's user avatar
  • 111
0 votes
2 answers
2k views

CPU usage command for monitor script

Is there a command for FreeBSD (except the top -P) I could use to monitor my dedicated server CPU usage? I am in progress of writting my bash script which will notify me as soon as any of the CPU core ...
Lucas's user avatar
  • 163
0 votes
1 answer
69 views

Local file server needs root access to change permissions

The previous developers set up a local Linux file server (FreeNAS 8.1) and while we can log in through the username they provided we do not have root access so we can not change permissions or do ...
Davicus's user avatar
4 votes
2 answers
1k views

Why does zfs fail to cache this workload when "normal" filesystems cache it completely?

Update: because recordsize defaults to 128k, the amount of data read by the test program is much larger than the ARC on an 8GB system and still slightly larger than the ARC on a 16GB system. Reducing ...
aranc23's user avatar
  • 41
0 votes
1 answer
145 views

backup multiple websites daily automatically [closed]

this is my situation i have a web server pc with many websites in it (using vhost) running freebsd. just in case something bad happened to my server, i want to backup every websites in it every ...
n00b_player's user avatar
7 votes
1 answer
262 views

Disk size addressable by the OS

I have a 3ware 9550SXU-12 storage controller and 750G disks connected to it. The disks are configured as single units (not JBOD). I've been running some performance tests, mainly to see the impact of ...
Marcin Kaminski's user avatar
0 votes
1 answer
1k views

High disk overloads slows the server

My server get very slow as soon at my gstat output shows high amount of busy%. Look at the gstat results: Here is the top -m io -o total and the gstat commands running at the same time: How can I ...
Lucas's user avatar
  • 163
4 votes
2 answers
4k views

Shared object "libarchive.so.5" not found, required by "pkg"

I just updated my FreeBSD from 9.x to 10.0 (using freebsd-update) and now my pkg isn't working. # pkg Shared object "libarchive.so.5" not found, required by "pkg" # I know I can use pkg-static ...
alexus's user avatar
  • 13.4k
0 votes
1 answer
197 views

Remotely automate optimization of mysql database

I am not a mysql or sql expert by any means, and not too savy on FreeBSD, either. We have a server that regularly needs one table to have data deleted < a time frame that leaves only 1 month of ...
user202243's user avatar
1 vote
1 answer
715 views

How to compile mysql56-client to USE_OLD_FUNCTIONS on FreeBSD 10?

EDIT: I solved my issue - I was editing the wrong include file. See the end of this post for the fix. I'm migrating some applications from an old FreeBSD 4.3 server to a new FreeBSD 10 server. ...
hcsteve's user avatar
  • 351
1 vote
1 answer
525 views

ZFS booting troubles

I have FreeBSD 8.0, and rebooting arise while zfs scrub was runing. Now when system booting it frezee at moment with ZFS version and ZFS pool version. I can't even login. The question : Is the scrub ...
user1722669's user avatar
2 votes
3 answers
817 views

freebsd 7.2 kern.threads.max_threads_per_proc doesn't change after reboot

I have some multithread apps on my server machine based on FreeBSD 7.2, so because of this I need to increase kern.threads.max_threads_per_proc to 4000 (default value is 1500). I changed it using "...
Valeriy Maslov's user avatar
2 votes
3 answers
3k views

CARP changes in FreeBSD 10

I am having trouble configuring carp interfaces in FreeBSD 10-RELEASE. The following configuration works. #/boot/loader.conf carp_load="YES" #/etc/rc.conf ifconfig_em1="inet 192.168.1.10 netmask ...
Aaron Renoir's user avatar
0 votes
1 answer
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....
dima.h's user avatar
  • 145
6 votes
4 answers
6k views

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

How can I setup Serial-Over-Lan (SOL) on FreeBSD 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 me to ...
Andrew Marshall's user avatar
1 vote
1 answer
189 views

FreeBSD pkg query by automatic flag?

You can do a pkg set -A ... to set the automatic flag, but how do you do a pkg query for all packages with that automatic flag set? I see you can do pkg query -e '%#r != 0', but that's surely not the ...
JimB's user avatar
  • 197
2 votes
1 answer
293 views

How to fix geometry of two identical disks?

I have two identical HDD. First has geometry 3876021/16/63 and second has geometry 3876018/16/63. First disk's capacity is 50% already. I want to add second disk to mirror (first disk is master). How ...
Mufanu's user avatar
  • 123
5 votes
2 answers
790 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
1 vote
0 answers
476 views

freebsd-update IDS reports wrong SHA256 on every single file on my system

How come freebsd-update says following on every single file on my file system? # freebsd-update IDS > freebsd-update.IDS # tail -1 freebsd-update.IDS /var/db/mergemaster.mtree has SHA256 hash ...
alexus's user avatar
  • 13.4k
4 votes
1 answer
2k views

Executing a command on link state change in freebsd

In freebsd when a cable gets plugged/unplugged the following lines are written to dmesg buffer: em0: link state changed to DOWN em0: link state changed to UP I would like to run a script when either ...
Josh's user avatar
  • 43
1 vote
1 answer
2k views

Issues with StrongSwan on FreeBSD 10.0. Charon refuses to start

The charon.log with full debug levels (4) is as follows: Jan 21 16:09:47 00[DMN] Starting IKE charon daemon (strongSwan 5.0.4, FreeBSD 10.0-RELEASE, amd64) Jan 21 16:09:47 00[LIB] plugin 'aes': ...
Doridian's user avatar
  • 331
-1 votes
2 answers
1k views

Why does a failed ZFS disk still seem to work fine?

Two disks just failed in my zpool with read/write errors, so I took them out and inserted them in another host, created a zpool just with them, and filled the file system with dd if=/dev/zero of=/...
Sandra's user avatar
  • 10.6k
0 votes
1 answer
1k views

PF firewall frontend [closed]

I'm running FreeBSD 9.2 and the PF firewall. I'm looking for an easier/faster way of adding and modifying my PF rules. Preferable a simple web ui. Is there any software like this available? I've ...
Daniel Johansson's user avatar
-1 votes
1 answer
8k views

Installing pfSense on amazon ec2 instance [closed]

I was searching for AMI's with pfsense but seems like they are all vanished somehow. How can I install pfsense on a FreeBSD ec2 instance besides creating a local image and then converting into raw ...
ArxXx's user avatar
  • 21
0 votes
0 answers
269 views

Can't install p5-Digest-SHA1 on FreeBSD 8.3

I am trying to instasll rkhunter on a FreeBSD 8.3 box. However, during make install one of the dependencies failed to build: ===> Building package for p5-Digest-SHA1-2.13 Creating package /usr/...
Team AIGD's user avatar
1 vote
0 answers
149 views

How to learn max/min value of a sysctl parameter can be in FreeBSD?

I have a simple question. I want to learn max/min value of a sysctl parameter can be. Where can I find bounds of these parameters? Thanks
ibrahim's user avatar
  • 431
2 votes
1 answer
89 views

Choosing a zpool size?

Is there a rule of thumb when to create a new zpool instead of expanding the current? Right now I have 100TB and can either expand with another 100TB or create an extra.
Sandra's user avatar
  • 10.6k
0 votes
1 answer
1k views

FreeBSD pf Egress Filtering

I am attempting to build a simple pf.conf which includes NAT allowing traffic out of the network from all systems on a select series of ports. In my basic configuration I have an internal server that ...
Blackninja543's user avatar
4 votes
1 answer
1k views

routing table vs PF precendence

I am wondering when a packet reaches an interface and I have some PF rules, which gets checked first, the routing table or the ruleset? ext_if = "em0" int_if = "em1" localnet = $int_if:network ...
nawar's user avatar
  • 63
2 votes
2 answers
2k 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 ...
nawar's user avatar
  • 63
2 votes
2 answers
638 views

403 statuses on nginx at FreeBSD

I'm trying to switch from an Apache hosting solution to nginx with php-fpm on FreeBSD 9.2. I'm rewriting my script for creating vHosts and stuff for nginx now and get 403 statuses when I try to ...
chris's user avatar
  • 21
1 vote
1 answer
408 views

Limit ftp connections with pf firewall at FreeBSD

I want to limit simultaneous FTP connections to my FreeBSD server with the pf firewall. For example that only 10 simultaneous connection are possible to the port 20 or 21 from one source IP. I use ...
user3098388's user avatar
1 vote
1 answer
4k views

Why Permission Denied with NFS after reboot?

I have Ubuntu and CentOS clients nfsv3 mounting to a FreeBSD box, which got rebooted while the nfs clients were connected. Now the clients get a permission denied when they try to access the mount ...
Sandra's user avatar
  • 10.6k
6 votes
2 answers
30k views

How often should I defrag ZFS pools?

I ZFS scrub once a month which takes ~24 hours for the 72TB. For what I can find about how often I should scrub is: very busy pools, once per week not so busy pools, once per month or run a scrub, ...
Sandra's user avatar
  • 10.6k
7 votes
2 answers
7k views

FreeBSD how to rebuild all p5-* Perl 5 ports

On a FreeBSD system, instructions say to rebuild all p5-* ports - how do I do that? A bit of background... I'm an experienced Linux person, trialling (and liking) the latest PC-BSD (PCBSD9.2-RELEASE-...
Sonia Hamilton's user avatar
0 votes
1 answer
1k views

IPFW Forward outgoing traffic

So i have a single BSD firewall using NATD and IPFW. This firewall has 5 static IP's assigned to it. Using NATD i can easily forward and entire external ip to an internal ip. But when the internal ...
TriadicTech's user avatar
1 vote
1 answer
814 views

rsync freebsd client, rsync linux server

Many hours to check this script but nothing of good... I've a linux rsync server and with linux client I use: rsync --password-file=/usr/home/user/.rsync.pass --log-file=/var/log/docs.log --progress -...
Pol Hallen's user avatar
  • 1,113
0 votes
1 answer
449 views

Previously-working rsync operation failling in recent Windows 8.1 update showing "error in socket io"

I have been running rsync and rsyncd on my Windows boxes for years and only recently have I had an issue. Apparently, when my Linux and FreeBSD boxes try to sync their data with what's on the Windows ...
Sawtaytoes's user avatar
0 votes
1 answer
4k views

boot from pendrive FREEBSD Mounting from cd9660 :/ dev/iso9660 error :/ dev/iso9660/FREEBSD_INSTALL failed with error 19

I am trying to install FreeBSD from a pen drive. But it returns an error on boot. cd9660 :/dev/iso9660 error :/dev/iso9660/FREEBSD_INSTALL failed with error 19 and appears mountroot> command ? ...
user628298's user avatar
3 votes
1 answer
566 views

FreeBSD 9.2 shows SATA3 drives as SATA2

I'm running FreeBSD 9.2 on an Intel S2600GZ server board with 4 Intel SSDs. Both the server board as well as the disks are SATA3 capable. However, FreeBSD seems to think they are SATA2. Nowhere in ...
pilsetnieks's user avatar

1
12 13
14
15 16
31