FreeBSD is a free Unix-like operating system descended from AT&T UNIX via BSD UNIX.

learn more… | top users | synonyms

1
vote
1answer
138 views

How to monitor outgoing http requests per user?

I'd like to know how to monitor users' outgoing http requests. I've got a FreeBSD 8.1 server, and I would like to get an output like this for http requests: source MAC address or IP address → ...
1
vote
2answers
88 views

How to destroy existing disk partitions

I added some disks to my system, which were in use before. I tried to create them: $ gpart create -s GPT ada0 gpart: geom 'ada0': Operation not permitted $ gpart show ada0 gpart: No such geom: ada0. ...
5
votes
0answers
84 views

How to Pass High Resolution from GRUB2 to FreeBSD?

I boot FreeBSD-10-RELEASE from GRUB2. I have set up the GRUB2 boot menu to display very nicely at my laptop's max resolution of 1024x768x32. I know it's possible to pass this resolution to the boot ...
2
votes
1answer
461 views

Howto fix my PHP install on FreeBSD using pkg

I've been messing around with pkg install, installing / removing both php5-5.4.29 and php55-5.5.13. But when I run php from the command line, it will give me an error like this: PHP Warning: PHP ...
3
votes
1answer
118 views

GCC not runnable on FreeBSD

I'm trying to run GCC on FreeBSD and I get this error: % gcc ar: unrecognized option `--plugin' usage: ar -d [-Tjsvz] archive file ... ar -m [-Tjsvz] archive file ... ar -m ...
2
votes
1answer
44 views

Unix. pecl memprof

Im trying to install https://github.com/arnaud-lb/php-memory-profiler on FreeBSD 9.2 After pear install http://pecl.php.net/get/memprof-1.0.0.tgz got such error: In file included from ...
2
votes
1answer
48 views

kvm_open: cannot open /proc

I have 100+ boxes running FreeBSD 8.4 amd64 RELEASE (p9) with the same configuration. And only one of them sometimes behaves strangely: load average (generally 4~6, it's ok course box have 8 CPU ...
2
votes
1answer
77 views

Using pkg add with a NanoBSD image

I'm running into a problem on a NanoBSD installation where I cannot install openjdk7 via pkg add because it first saves to either tmp or var (not sure which) and on a NanoBSD installation, there is ...
4
votes
1answer
62 views

How do I limit the number of getty processes started?

I've got a FreeBSD (9.2) box that I'm trying to strip down as lightweight as possible. It's running on a VM server, so other than ttyv0, we don't ever use the console. I'd like (if possible and ...
3
votes
0answers
46 views

Figuring out physical cache layout in FreeBSD

I'm trying to figure out they physical cache layout of my CPU in FreeBSD 10. I see the following from sysctl kern.sched.topology_spec kern.sched.topology_spec: <groups> <group level="1" ...
5
votes
2answers
164 views

What is causing a pause during the system device probe?

I am running FreeBSD 10.0-RELEASE. During the boot device probe there is a two-times 30 second pause. The output relevant to this is # dmesg ... (aprobe0:ata0:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 ...
2
votes
2answers
95 views

Is there an equivalent book/resource to “The Linux Programming Interface” for FreeBSD? [closed]

Most of you here are probably aware of the famous The Linux Programming Interface, which presents a truly masterful guide to the Linux and general POSIX APIs. I know that much of the general POSIX ...
1
vote
1answer
63 views

Does asynchronous disk IO affect swap usage?

I have a server application requiring usage of huge memory but can take little time. I therefore thought it should be economical to run it with a big swap and normal ram. I was reading about serving ...
1
vote
2answers
385 views

Force fsck at boot time on the root file system (prior to mounting file systems, without Single-User mode)

I just wonder if there are any solutions available at all (Googled for 2 hours). How to automatically force fsck disks after crash in `systemd`? - does not mean anything. Setting fsck_y_enable="YES" ...
4
votes
1answer
456 views

What do the different memory counters in FreeBSD mean?

top tells me: last pid: 64807; load averages: 0.99, 0.97, 0.92 up 189+04:47:22 09:16:17 45 processes: 1 running, 44 sleeping CPU: 0.4% user, 0.0% nice, ...
6
votes
5answers
882 views

Read files owned by another user as non-root

I'm backing up servers on a backup server. Each server which is backed up has it's own account on the backup server, and the files are rsynced. It is important that the permissions remain intact ...
1
vote
2answers
82 views

Strategies for userland file encryption without FDE

There are cryptography experts that are concerned over using Full Disk Encryption (FDE) on *nix platforms due to attack surface exposed due to reverse engineering of encryption algorithm when looking ...
4
votes
2answers
411 views

How to remove broken ZIL disk from ZFS pool

I have a ZFS pool, which contains two mirrored hard drives and ramdisk for logs. In my scenario is that log disk died: # zpool status -x tank pool: tank state: FAULTED status: An intent log record ...
2
votes
1answer
2k views

How do I install the latest gcc on FreeBSD?

How do I install the latest gcc on FreeBSD ind set up the system so that this latest version would be used to compile further programs? At the moment of this writing the latest release of gcc is ...
6
votes
2answers
123 views

FreeBSD 10 trace disk activity

Is there any way to find some process which is periodically writing to disk (according to hdd led) on FreeBSD 10 with ZFS (maybe turn ZFS into verbose logging mode)? lsof and other instantly ...
6
votes
1answer
84 views

FreeBSD systat doesn't calculate upload speed/total on wlan0

When I call systat -if shows that wlan0 out traffic/peak/total are 0 kb(/s). I'm using wlan0 for networking, internet down/upload are working. The in traffic/peak/total are OK. The wifi chip is ...
1
vote
2answers
383 views

How to disable daily run output email?

How to disable daily run output email from "Charlie &"? Googled couple of pages, but there is no clear answer. I use ssmtp instead of sendmail
1
vote
0answers
166 views

Metin2 server on FreeBSD error

I have private metin2 server on FreeBSD 9.1 32 bit and I installed packet filter PF. In pf.conf, I wrote metin2 ports (open for public) and my IP Which can be connected to the server. Everything is ...
9
votes
4answers
143 views

Why does *BSD uses driver specific names for network interfaces? Does it imply limitations?

I notice that depending on the brand of the network card, interface names differ (driver dependent I suppose). Why does *BSD uses driver specific names for network interfaces? Does it mean there is ...
2
votes
0answers
35 views

Update jails FreeBSD in silent mode

What if I want to add all process to the cron? Is there silent way to upgrade jail? After these steps: # make buildworld # make installworld DESTDIR=/jails/somejail It comes time to: # ...
1
vote
1answer
187 views

Erlang install on Freebsd 10 on Amazon ec2

I installed Erlang on amazon ec2 - on FreeBSD 10 with fetch http://www.erlang.org/download/otp_src_17.0.tar.gz gunzip -c otp_src_17.0.tar.gz | tar xf - cd otp_src_17.0 ./configure --disable-hipe ...
2
votes
2answers
401 views

How to install GNU make on FreeBSD 10?

I have this error configure: error: GNU make is required! and I can't change into /usr/ports/devel/gmake/ $ cd /usr/ports/devel/gmake/ cd: /usr/ports/devel/gmake/: No such file or directory How ...
2
votes
2answers
880 views

Conceptual difference between Linux and (Free)BSD Kernel

(I've already noticed that this question was asked before but I think it has not been answered in a way I'd like to understand the topic.) What are the conceptual and structural differences between a ...
4
votes
3answers
195 views

How to create MBR partition /dev/ nodes FreeBSD for mounting

I currently have FreeBSD version FreeBSD 10.0-RELEASE. Installed using a ZFS root. I'm attempting to mount a MBR partitioned drive but I can't get the partition nodes, /dev/ada4p1, etc. The partitions ...
2
votes
1answer
107 views

How to add a read only group permission to a folder that already has a default group, and have it inherited for all newly created files & folders?

In Windows this is easy. I never fully figured out Linux permissions, I have a directory such as this: /Photos The current ACL permissions are as follows: owner: root - full access group: photos ...
1
vote
1answer
550 views

FreeBSD and StrongSwan routing issue

Good day, gentlemen. I have recently faced a problem when a device connected to the FreeBSD server via StrongSwan can't route outside its subnet. Let me explain in details: FreeBSD 10.0-RELEASE, ...
2
votes
2answers
362 views

grep print relative file path when doing a recursive search

I'm trying to find out which version of hibernate the project depends on (this is orthogonal to my question). We have a parent project with several sub projects, and I know this is defined in one or ...
3
votes
1answer
45 views

Fix partition alignment in FreeBSD

I'm working on a FreeBSD 8.x (pfSense 2.1) system and post-install, realised that the partition is misaligned to the disk (starts at sector offset 63). GParted doesn't recognise UFS so that is out. ...
7
votes
1answer
3k views

Linux LXC vs FreeBSD jail

Are there any notable differences between LXC (Linux containers) and FreeBSD's jails in terms of security, stability & performance? On first look, both approaches look very similar.
3
votes
1answer
66 views

FreeBSD missing PCIIDS

I was trying FreeBSD in VirtualBox and so when I was compiling the VirtualBox guest additions (through ports), I got an error. PCIIDS could not be found on any of the FreeBSD servers, and so, my ...
2
votes
1answer
59 views

add newlines in .cshrc command output

I'm trying to set up a "dynamic" motd for users when they log in on FreeBSD 10. I've got it set up so that it uses .cshrc and has a few commands to output some info. However one of those prints as a ...
1
vote
0answers
104 views

ulimit vs. limit on FreeBSD 8.3

I had the same issue with the error as this and this question (both of which I read and understood), the message being: $ ulimit -n 20000 ulimit: bad limit: Operation not permitted I encountered ...
1
vote
1answer
71 views

Boot loop after upgrade from FreeBSD 7.3-RELEASE to 8.3 using freebsd-update

I upgraded my 7.3 FreeBSD box using the following instructions from the FreeBSD website: 2.2 Upgrading Using “FreeBSD Update” The freebsd-update(8) utility supports binary upgrades of i386 ...
1
vote
0answers
111 views

Passing data from kernel space to user space in FreeBSD [closed]

I need some information regarding write requests from all applications on FreeBSD. I put a function inside the file system write call ffs_write() which collects the information into an array of ...
2
votes
0answers
55 views

Screen size in FreeBSD in VirtualBox

I am installing FreeBSD 10.0 on VirtualBox, and I can't figure out how to change the size of my screan, in the virtualbox? The freebsd in the virtualbox treats my screen like it's 1/4th the size of ...
5
votes
2answers
1k views

FreeBSD 10 does not boot after clean install

Latest FREEBSD 10 does not boot after clean installation. Installed using this image: FreeBSD-10.0-RELEASE-amd64-memstick.img Used Guided Partitioning, where I selected my only hard drive, chose ...
0
votes
1answer
80 views

Building Snapwm on FreeBSD (Problem of gcc and clang)?

According to FreeBSD, from version 10 they use Clang/LLVM instead of gcc. on the surface of it all things should perform as been before even better. but I have faced this reality more than I want to. ...
2
votes
1answer
586 views

Why am I still getting pkg deprecation warnings?

I'm still getting warnings about the old pkg tools being deprecated and saying I should switch to pkgng, despite the fact that I followed the directions to switch weeks ago. I did the pkg2ng thing, ...
2
votes
0answers
575 views

[solved]Package manager in FreeBSD 10

I was trying to install a package using pkg add, but I got the reply that package manager not installed To install that I used: tar -C /tmp -zvxf pkg-1.2.1_1.txz and then: ...
2
votes
1answer
374 views

How to make a custom FreeBSD distribution [closed]

I have been struggling for several hours on how to find a coherient guide on how to create your own BSD distribution based off of FreeBSD. I have looked at the GitHub repositories for pfsense, but I ...
1
vote
0answers
56 views

byobu-config not working

I installed Byobu 5.73 (latest port available) on "FreeBSD seer.fclar.unesp.br 9.1-RELEASE-p6 FreeBSD 9.1-RELEASE-p6 #0: Wed Aug 21 20:40:52 UTC 2013" without a problem. However, when I try to run ...
2
votes
2answers
154 views

FreeBSD's net/ntp port is forbidden due to CVE-2013-5211, with no support upstream

FreeBSD port net/ntp was marked forbidden because it is vulnerable to traffic spoofing and amplification attacks, as documented in CVE-2013-5211. However, there's been no support from the upstream ...
6
votes
3answers
359 views

“no such user” but user is in passwd file

Looking at the files in /etc/: /etc/group:lbutler:*:1005: /etc/master.passwd:lbutler:$6$s..../:1005:1005::0:0:L Butler:/home/lbutler:/bin/bash /etc/passwd:lbutler:*:1005:1005:L ...
0
votes
1answer
58 views

Cyrus create mail box gives error permissions denied

On freebsd91 64 bit i installed exim as mta and cyrus as imap server. I use saslpasswd2 root cyradmin -user root localhost localhost> cm INBOX.Sent It gives permissions denied error. In my ...
2
votes
1answer
288 views

how install freebsd in minimum size?

I want to install a FreeBSD just to use squid cache server on it. i want to know how can i make this installation to its minimum size? i installed the boot-only ISO file on virtual box, but it took ...