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

4
votes
1answer
134 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 ...
2
votes
1answer
240 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 ...
2
votes
2answers
136 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 ...
1
vote
1answer
138 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 ...
1
vote
1answer
595 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 ...
2
votes
1answer
985 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, ...
5
votes
2answers
2k 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 ...
0
votes
1answer
236 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 ...
0
votes
1answer
149 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 ...
0
votes
1answer
151 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 ...
0
votes
1answer
723 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 ...
3
votes
1answer
174 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 ...
0
votes
1answer
681 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 ...
2
votes
2answers
181 views

ipfw based firewall slows down Apache web server

I have an Apache web server running on a FreeBSD 8.3 machine. That machine has an ipfw firewall with these rules: root@aigamedev:~# ipfw -a list 00005 0 0 deny ip from 67.212.xxx.xxx to any ...
0
votes
0answers
279 views

ZFS destroy aborted - how to get rid of snapshot?

I've got a problem with one of my FreeNAS 8 boxes. I was deleting some snapshots with zfs destroy when unfortunatelly my PC crashed and therefore killed the SSH-connection while a snapshot destroyment ...
0
votes
0answers
72 views

How do I get debug symbols for the Python 2.7.5 executable installed from the “python-2.7_1,2” port?

I have a runaway process to debug. The problem only manifests on two FreeBSD 9.1 servers I'm using. I have a core file that might contain useful information. My first two thoughts were to attach to ...
2
votes
1answer
496 views

FreeBSD CPU serial number

I trying to read out CPU serial number information from a server which has FreeBSD. I tried these with no effort: sysctl dmesg cpucontrol These utility is not exists on the system: Dmidecode ...
0
votes
1answer
65 views

Looking for VCS wrapper that tracks system files changing across the whole *nix OS and sends diffs through email

I need some software that looks after custom directories across the whole OS (i.e. /etc) and alerting me if someone edit something file inside. Additionally, this tool must automatically commit and ...
0
votes
2answers
755 views

Increase/refresh the size of the FreeBSD's main partition

I am using VirtualBox and have my FreeBSD mounted on a virtual drive, which recently ran out of space (10 GB) so I have increased the Virtual Drive size up to the 15 GB - started my FreeBSD and its ...
0
votes
1answer
160 views

mongodb : Can create new thread on FreeBSD?

We experienced some strange thing in our mongodb gridfs platform. The platform actually is a bi Xeon E5 (bi quad core) with 128GB of memory, running on freebsd 9 with a zfs pool dedicated for mongodb. ...
1
vote
1answer
533 views

What are main differences between Linux and FreeBSD system from sysadmin point of view? [closed]

What are main differences between Linux and FreeBSD system from sysadmin point of view ? What specifically and significantly differs Linux from BSD (memory/resources/users management, other ...
0
votes
1answer
383 views

Undefined symbol “php_libxml_disable_entity_loader”

I have php5.4 installed.It runs on freebsd server I also use soap.so extension. But when I start php script (new SoapClient) it stopped. Apache logs: tail -f /var/log/httpd-errors.log : ...
2
votes
2answers
444 views

Best way to upgrade FreeBSD with non generic kernel (XENHVM)

Since manually upgrading from source (cvsup) is deprecated and the recommendation is to use freebsd-update: What's the best way to upgrade (e.g. 9.1 to 9.2) while keeping a non-generic (XENHVM) ...
1
vote
1answer
69 views

How to find non-ports installations in FreeBSD?

Is there way to find all non-ports installations in FreeBSD? I'm using 8.4 version. Update: I need this for audit installed binaries for system "trusted" versions.
0
votes
1answer
253 views

(bsnmpd), uid 0: exited on signal 6 (core dumped) / Syntax error: word unexpected (expecting “then”)

I'm using FreeBSD 9.2-RELEASE: # uname -a FreeBSD f9.alexus.org 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC ...
0
votes
1answer
232 views

pf not execute udp port specific block rule

The traffic I want to block can be sniffed as below with tcpdump: 19:16:22.391164 IP 95.95.95.95.2036 > 10.10.10.10.443: UDP, length 8192 So I wanted to write a rule block any udp destination ...
-4
votes
2answers
297 views

Hardware RAID0: what happens when a drive fails?

With a hardware-based RAID0, what happens when a drive fails? For example, on brand name servers like HP DL120G7 with HP P410, when running FreeBSD on a zfs with a zpool mirror, or DragonFly BSD with ...
2
votes
2answers
742 views

Unable to update using “freebsd-update” on FreeBSD 7.4-RELEASE

Is there a way to upgrade 7.4-RELEASE-p5 to 7.4-RELEASE-p12 using freebsd-update now? bash-4.2# freebsd-update upgrade -r 7.4-RELEASE-p12 Looking up update.FreeBSD.org mirrors... 5 mirrors found. ...
2
votes
2answers
142 views

Reporting historical system activity in FreeBSD

I'd like to record data about system activity under FreeBSD for future analysis. If I were running a SysV system, I'd just sar and its related utilities, but that doesn't exist in the BSDs. (And ...
1
vote
1answer
118 views

FreeBSD Ngnix installation error

I have a VPS which has Apache webserver installed. I'm trying to install Ngnix on it since my new server will be needing to handle large amount of connection simultaneously. I used this install guide ...
2
votes
1answer
125 views

Templates for daily mail from my debian boxes (like freebsd)

From my FreeBSD boxes, I each day recieve reports daily: File systems used Network interfaces Uptime 4, Mail queue status security: ipfw deny counters login failures refused connections ...
0
votes
1answer
338 views

Apache child died for unknown reason

For a long times i saw such errors on FreeBSD9.1 (Apache 2.2) server # dmesg pid 69320 (httpd), uid 80: exited on signal 11 pid 69307 (httpd), uid 80: exited on signal 11 pid 69416 ...
0
votes
1answer
125 views

FreeBSD jail and patch-levels

I am a newbie server manager and trying jails. It's too hard to configure it. So I decided to use ezjail utility. It seems working, but I got an issue. When I installed my FreeBSD box, it was ...
1
vote
0answers
193 views

FreeBSD XEN kernel not booting in XenServer 6.2

I have a XenServer 6.2 host, and I am trying to get a FreeBSD-9.1-i386 guest to run in PV mode. The installation of the guest is fine, but after a reboot with the new kernel the system does not boot. ...
-3
votes
1answer
42 views

How to commit update to ports?

5.5.32 version of MariaDB (MySQL replacement) was released in 18th july but in FreeBSD ports we still have 5.5.31. What ways I have to commit this update to ports?
2
votes
1answer
351 views

mysql on freebsd makes 1GB binary log files every 20 minutes filling free disk space very fast

I have a problem with MySQL on FreeBSD. It makes a lot of 1GB binary files every 20 minutes and it's filling free disk space rapidly. -rw-rw---- 1 mysql mysql 1073741982 2013-09-14 18:26 ...
0
votes
2answers
245 views

How to use precompiled ports collection with pkgng?

I am trying pkgng to install postfix. # pkg install postfix Updating repository catalogue Repository catalogue is up-to-date, no need to fetch fresh copy pkg: Package 'postfix' was not found in the ...
2
votes
1answer
92 views

Disable syslog remote connections

I'm securing a server and closing all the ports that are not used, but i can't close the syslogd port, even worse I cannot find where the syslogd is called. This is what sockstat shows me: USER ...
0
votes
1answer
75 views

New rule to .htaccess file don't work on live site

I had to add a rule to the .htaccess file of existing site, which redirect some old images urls to the new ones. So, directly after the RewriteEngine On I added my new rule: RewriteRule ...
0
votes
0answers
218 views

PF, redirecting SSH to internal VM

I run a FreeBSD server with VirtualBox on it. There's a VM in there I'd like to contact via SSH directly using Port 20000. Client and FreeBSD server are connected through OpenVPN via tun. The ...
1
vote
1answer
176 views

syslogd filtering not working on FreeBSD

I am failing to get filtering by program or facility working in FreeBSD syslogd. I added local6.debug /var/log/test.log !testd *.debug /var/log/test.log to my ...
0
votes
1answer
208 views

FreeBSD portupgrade error: Packages are not yet suported

I'm trying to update one of packages that I installed earlier but I'm running into this error: # portupgrade -PP wget USING PKGNG Packages are not yet suported. Use pkg(8) directly. # uname -a ...
1
vote
3answers
1k views

ssh-copy-id in one line with password, possible?

I'm trying to setup an automated script in Ansible to set a new server, and i'm using ssh-copy-id to add the Ansible master server to the new server's authorized ssh keys. I created a script which ...
2
votes
0answers
249 views

Why can't I chown to nobody over nfsv4?

Server: FreeBSD 9.2-RC1, ZFS Client: FreeBSD 9.0-RELEASE-p3 Filesystem is exported with "alldirs,maproot=root". On the client, I can chown a file to any user but nobody. client# touch foo client# ls ...
0
votes
1answer
120 views

HTTPD dies on FreeBSD if multiple connenctions are open from same client

I've asked this question on StackOverflow, but nobody answered, until yesterday... and the answer was a suggestion... to ask this here :). So... can someone help me with this : I'm new in networking ...
0
votes
1answer
780 views

FreeNAS/FreeBSD: How to access status of ZFS volume from jail?

I am trying to set up NRPE to enable remote Nagios monitoring of a new FreeNAS 0.91 system. I mostly have this working. I can connect and inquire about basic information like number of processes, ...
0
votes
1answer
448 views

How to bridge Network interfaces on Debian/kFreeBSD

I have had problems finding a way to bridge network interfaces on Debian/kFreeBSD. My primary goal is to create 2 - 4 tap interfaces and bridge them with two physical Interfaces. The Syntax in ...
4
votes
2answers
610 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 ...
0
votes
2answers
122 views

how to access physical memory in BSD platform from terminal or using any system call ?

i just not know how to use mem command in BSD to access physical memory or virtual memory to get the ACPI tables and their Address ....... $mem Enter mem command not found .... so what can i do ? ...
1
vote
0answers
195 views

How to read the address of the XSDT table, as provided by `acpidump`?

I want to access Physical memory in BSD. acpidump -t XSDT > xsdt_dump.asl it is giving: /* RSD PTR: OEM=ALASKA, ACPI_Rev=2.0x (2) XSDT=0x9aae8070, length=36, cksum=164 */ /* XSDT: ...