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, ...

learn more… | top users | synonyms

2
votes
1answer
74 views

How to recover root password?

I have a FreeBSD box which I forgot the root password to. I do have physical access, so I can reboot the box if I need to. How do I reset my password?
3
votes
1answer
30 views

what exactly does fsck do under the covers (for UFS)?

If a computer crashes then the filesystem is an inconsistent state. What exactly is fsck(8) doing to restore to a usable filesystem? Is there a backup table? Is it cross-checking metadata? ...
1
vote
1answer
40 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 ...
1
vote
1answer
82 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 ...
1
vote
1answer
89 views

Setup ZFS on freeBSD from bsd-rescue

I have a server from OVH and have the following procedure of setting ZFS on FreeBSD10 on OVH server following the https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror Creating a bootable ZFS ...
1
vote
1answer
47 views

configure single /32 ip address to FreeBSD server

Our upstream provider assigned us a single /32 ip address. How can we configure our FreeBSd server to use it? So far we have this in /etc/rc.conf: ifconfig_em0="inet a.b.c.d/32 netmask ...
0
votes
1answer
51 views

WARNING: failed to start git_daemon

I follow this http://bin63.com/how-to-setup-a-git-repository-on-freebsd tutorial to the letter and edit: /etc/rc.conf with: git_daemon_enable="YES" git_daemon_directory="/git" ...
1
vote
1answer
92 views

VMDK File Growing After copying it using CP?

Using FreeBSD and a mounted NetApp NFS Share. I'm trying to copy a file FROM: localdisk/something.vmdk (size 527776 kilobytes) TO: nfsmount/copy-something.vmdk (size 533168 kilobytes) But it seems ...
1
vote
1answer
135 views

PF: Block all, but one subnet firewall rule?

I'm trying to do something that I thought would be relatively simple: Block all the traffic to a test server, other than my company's subnet. I've tried things along these lines (111.111.0.0 is my ...
0
votes
0answers
96 views

Entire ESXi 5.1 server locks up since yesterday [closed]

Since yesterday I suddenly stumbled upon a very absurd problem. My setup is an ESXi 5.1 home server with two VMs: a Debian (for mail, printing, webhosting, telephony, and more) and a ZFSGuru (FreeBSD ...
3
votes
1answer
124 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: ...
1
vote
1answer
47 views

Moving MRTG Installation

We have an MRTG installation that has been working for the last 3 years, I noticed that after 18 or so months the data would start recording a fresh. Now I wanted to transfer the installation and all ...
1
vote
1answer
184 views

Why's Tomcat not responding, but looks normal?

I don't have much info to go on here, looking for ideas as I've run out. I did a server certificate update on our tomcat box (FreeBSD 9.2). After reboot, any connections to it fail immediately (page ...
-1
votes
1answer
35 views

How to install GNU on FreeBsd 10? [closed]

i have error configure: error: GNU make is required! and i have error $ cd /usr/ports/devel/gmake/ cd: /usr/ports/devel/gmake/: No such file or directory How to install GNU on FreeBsd 10?
2
votes
1answer
61 views

FreeBSD pkg database deleted

after resolving repeated crashes on startup with fsck I noticed some files were removed, one of them was the sqlite pkg database, so now when I run for example pkg install somepackage I get this erro: ...
1
vote
1answer
2k views

Custom PHPINIDir setting in VirtualHost affecting other VirtualHosts

One of the clients requested a personal php.ini configuration for his website, so I have set his VirtualHost as follows: <VirtualHost *:80> DocumentRoot "/home/alex/www.domain.tld" ...
1
vote
2answers
824 views

Can I automatically create a passworded user with pw adduser on freebsd?

Can I automatically create a passworded user with pw adduser on freebsd? pw useradd [name] [switches] -V etcdir alternate /etc location -C config configuration file ...
0
votes
1answer
115 views

apache taking old openssl libraries when doing apachectl graceful

Due to heartbleed vulnerability I have recompiled apache with non vulnerable latest openssl(I had to keep old vulnerable openssl due to some dependency problem). It is running fine and when doing ...
1
vote
1answer
79 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
1answer
653 views

FreeBSD (pfSense) Routing - Can't find the default route

I have been banging my head against the wall on this for a couple of days now - thought I had tried everything, but obviously not... I have the following networking scenario... ISPs Router Edge ...
0
votes
2answers
49 views

FreeBSD Established Connections Maxing out at 300

We've previously had issues in our environment where it seemed we were reaching FreeBSDs max connection limit. We took action demonstrated by http://nginx.org/en/docs/freebsd_tuning.html and bumped up ...
2
votes
2answers
59 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 ...
2
votes
1answer
273 views

Can't boot FreeBSD 10 iso by PXE

I'm trying to boot FreeBSD 10 bootonly iso from with pxelinux and tftp, unfortunately the following error appears during freebsd boot: cd9660 :/dev/iso9660 error :/dev/iso9660/FREEBSD_INSTALL ...
0
votes
0answers
67 views

FreeBSD with Samba4 share permissions error

I have provisioned a samba4 server on FreeBSD 10 using UFS as a filesystem. However, I cannot seem to manage NTFS permissions for the shares such that roaming profiles can be implemented. My ...
0
votes
0answers
40 views

freebsd: disk i/o utilization statistic by user

Whether there some utils for collect/view statistic about disk I/O utilization by user in FreeBSD? After googling that question i found only sa, but in its manpage is not any information about ...
1
vote
2answers
290 views

Why is my server displaying openssl 0.9.8 when I have openssl1.0.1 installed?

I am creating a test server that is vulnerable to the heartbleed bug. My server is running Apache 2.4 on a FreeBSD VM. By default, FreeBSD seems to have OpenSSL 0.9.8 installed by default. I tried ...
3
votes
1answer
137 views

How do I remove Apache if I installed it from the source tarball?

I installed Apache 2.4 from a source tar, and there seems to be no "make deinstall" or "make uninstall" options in the makefile in the extracted directory. How can I remove the installed Apache server ...
1
vote
4answers
720 views

FreeBSD tcsh and terminal window size

When I'm working on my FreeBSD server's ssh, it always assume that terminal width is 80 columns. E.g. man pages show up in one thin column and all programs that use COLUMNS and LINES environment ...
7
votes
1answer
101 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 ...
0
votes
0answers
111 views

Proxy outbound connections throught squid

Informations FreeBSD 10.0 Squid 2.7 PF Scenario All the connections need to pass through an external authenticated proxy, so i need to proxy all outbound ftp and http connections through a ...
1
vote
0answers
45 views

emulate shared hosting load

I want to emulate some shared-hosting activity in testing environment. Is particularly interested I/O performance. Need to emulate: many sql queries, http queries, and some additional activity, ...
0
votes
0answers
27 views

FreeBSD 10 - OpenSSL Update [duplicate]

due to the Heartbleed-OpenSSL-Bug I was willing to update my FreeBSD 10-based system. # freebsd-update fetch # freebsd-update install The update installed correctly and I rebooted the system. My ...
0
votes
2answers
322 views

How to make my FreeBSD machine visible automatically on Mac within same local network?

The Mac machines within a local network is visible automatically to the other Macs. They're visible on Finder and can be accessed with their names via console. As I know this is multicast-local-DNS. ...
5
votes
2answers
500 views

Need to replace disk in zpool … confused

I need to replace a bad disk in a zpool on FreeNAS. zpool status shows pool: raid-5x3 state: ONLINE scrub: scrub completed after 15h52m with 0 errors on Sun Mar 30 13:52:46 2014 config: ...
1
vote
1answer
278 views

FreeNAS: “swap_pager: I/O error - pagein failed”

Our FreeNAS server log is constantly filling up with Apr 5 15:13:49 Wheelhouse NAS kernel: swap_pager: I/O error - pagein failed; blkno 524312,size 4096, error 6 Apr 5 15:13:49 Wheelhouse NAS ...
0
votes
2answers
432 views

FreeNAS: “/var: write failed, filesystem is full”

Upon logging into our FreeNAS via shell, it says /var: write failed, filesystem is full So I did > df -h Filesystem Size Used Avail Capacity Mounted on /dev/ufs/FreeNASs2a ...
1
vote
2answers
253 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? ...
1
vote
1answer
154 views

MySQL high CPU usage on small website

I have a small website hosted on a dedicated server (FreeBSD 9.2, MySQL 5.6.1 and php 5.5.5). The problem is that MySQL eats a lot of cpu resources even if the website have a few visitors. The ...
1
vote
1answer
54 views

Huge quantity of session files

I have: CPU: 2 x Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz (2600.06-MHz K8-class CPU) 128 GB RAM FreeBSD OS session files stored in RAM each session file is 1...10 kb gc_maxlifetime = 1440 ...
1
vote
0answers
104 views

Proper way of setting gateway outside of subnet on FreeBSD?

I have a VPS running FreeBSD 10 and it is located in OVH's BHS datacenter. The gateway for my VPS is not in the same subnet as my IP address and when I went to set the gateway the usually way, it ...
0
votes
0answers
310 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 ...
2
votes
1answer
157 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 ...
0
votes
0answers
80 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 ...
0
votes
1answer
42 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 ...
-3
votes
1answer
110 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. ...
1
vote
0answers
94 views

LA 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 ...
0
votes
1answer
52 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 ...
0
votes
1answer
338 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 ...
2
votes
2answers
138 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 ...
-3
votes
1answer
845 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: ...