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

0
votes
1answer
936 views

using pf for packet filtering and ipfw's dummynet for bandwidth limiting at the same time

I would like to ask if it's fine to use pf for all packet filtering (including using altq for traffic shaping) and ipfw's dummynet for bandwidth limiting certain IPs or subnets at the same time. I am ...
3
votes
1answer
487 views

Need help grepping postfix log

I'm trying to search for an unknown string (Message ID) in a log based on a known string (recipient address), and then grep the unknown string to output the entire relevant log information. I'm able ...
-2
votes
1answer
95 views

Removing all ACLs from Directories and Subdirectories in FreeBSD

how do I remove all ACLS in a folder and subfolder and all their content. Really I just want to stop using ACLs. Currently im using setfacl -b NAME But this is per ACL basis. Is there a ...
0
votes
0answers
68 views

OpenLDAP PAM authen does not support SSHA on FreeBSD10

OpenLDAP PAM authen does not support SSHA? Hi everyone, Now, I lost one day to figure out, the reason my FreeBSD10 can not authenticate SSH user via LDAP because pam_ldap and nss_ldap do not support ...
0
votes
2answers
217 views

FreeBSD Apache 2.4 rewrite/proxy module errors

Just set up a FreeBSD jail to run httpd in it and all works good except these two, rewrite/proxy modules. These are error logs excerpts: mod_rewrite error: [rewrite:crit] [pid 43447] ...
4
votes
1answer
1k 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: ...
-2
votes
1answer
260 views

MariaDB service won't start on FreeBSD jail

Just set up a dedicated database jail running databases/mariadb55-server and for some reason it won't start on demand nor on boot. Any suggestions? # service mysql-server start Starting mysql. ...
8
votes
9answers
10k views

Simple web-frontend for remote svn administration? [closed]

We run a SVN repository. Some of our more advanced users need to be able to perform some SVN administration without relying on the system administrator. They need to be able to do things like create ...
4
votes
2answers
1k views

How to grant su access to wheel without asking for password on FreeBSD?

I would like to grant users of the wheel group (other sysadmins) su access without being asked for password. I know how to do it with pam in linux, but the question now is for FreeBSD. I am not ...
5
votes
1answer
472 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 ...
1
vote
0answers
129 views

Heavy traffic causes ethernet link to go down

I have a FreeBSD (10) host connected to a Linux (Debian 7) box directly with a Cat 6 cable. Both hosts have Intel X-540 10GBe NICs (ixbge). Whenever there is heavy traffic (high PPS) from the ...
3
votes
1answer
77 views

FreeBSD ports: Set make defines not exposed as Options

In FreeBSD, when you do make config, lots of ports have options that can be set. These options are saved so that when you update the port, they are used again. Some ports have additional items that ...
0
votes
2answers
1k views

Completely stuck on a new mariadb-server initialization

New install of mariadb-server 5.5.38 on FreeBSD 10.0-RELEASE-p5 amd64 refuses to start. Currently refusing to start for this reason: 140808 14:12:28 [ERROR] mysqld: Can't find file: ...
0
votes
0answers
41 views

Will pfctl -sr show ordered rules when using -o profile?

When I enable the -o profile option with pf will pfctl -sr show me the new order of the rules?
1
vote
3answers
2k views

Apache recompile does not find new OpenSSL

I'm trying to upgrade both Apache and OpenSSL at the same time. I've gotten Apache compiled with all the modules I need, and it pops up and runs, but still shows an old version of OpenSSL. Here is ...
4
votes
5answers
5k views

Can I change a user password in Linux from the command line with no interactivity?

I have a specific use case where I would really like to be able to change a user's password with a single command with no interactivity. This is being done in a safe fashion (over SSH, and on a system ...
29
votes
4answers
6k views

ZFS on FreeBSD: recovery from data corruption

I have several TBs of very valuable personal data in a zpool which I can not access due to data corruption. The pool was originally set up back in 2009 or so on a FreeBSD 7.2 system running inside a ...
4
votes
4answers
4k views

PXE boot FreeBSD iso from pxelinux server

I'm using FOG as a TFTP / PXE server and would like to be able to boot a FreeBSD LiveCD (specifically pfSense, but it could be any LiveCD, really); I've found HOWTOs for booting a "netboot" BSD but ...
4
votes
1answer
2k views

No space left on device - wrong size

I'm running an FreeBSD dedicated server. I am getting messages that I have ran out of space on the device. df -h is saying that I have no space left but du -sh /* doesn't even show the directiories ...
2
votes
4answers
15k views

How to format a partition under FreeBSD

I want to format a partition under FreeBSD and change it to UFS filesystem. I searched the web but even the "fdisk" man page is not clear at all. Any help would be clearly appreciated ! My current ...
3
votes
2answers
1k views

Real-time layer 7 (http.request.uri) filtration on freebsd

I have a freebsd 9.0 router with 250-300Mbit/s traffic, and need to filter small list of pages (http.request.uri). I do not care about tor, anonymizers, proxy etc. Just prevent direct access from my ...
6
votes
1answer
6k views

PAM_LDAP Authentication failure with correct credentials on freebsd

I need to get our freebsd servers to auth via AD, but it is giving me problems. Environment: AD backend (Win 2k8r2). This works with other linux hosts which auth via SSSD FreeBSD 9.1 for client ...
7
votes
2answers
315 views

FreeBSD's ng_nat stopping pass the packets periodically

I have FreeBSD router: #uname 9.1-STABLE FreeBSD 9.1-STABLE #0: Fri Jan 18 16:20:47 YEKT 2013 It's a powerful computer with a lot of memory #top -S last pid: 45076; load averages: 1.54, 1.46, ...
0
votes
1answer
78 views

Access Apache22 server installed on guestOS(FreeBSD) from Host(Win7)

(I asked this question on SuperUser 3 days ago and had no answer...) I would like to access my freshly installed apache server (via ports) on my FreeBSD guestOS from Windows 7. So I set my virtual ...
0
votes
0answers
59 views

FreeBSD - How can I let server A get web access via server B over a specific port?

Setup: Server A: FreeBSD 10 - IP: 100.100.100.100 Server B: FreeBSD 9 - IP: 200.200.200.200 Both servers use pf.conf. Desired result: I want server A to be able to get web access (port 80) via ...
0
votes
1answer
126 views

Allow user to bind only certain ports on Linux [closed]

Welcome, I'm looking for equivalent of mac_portacl from FreeBSD. I want to assign to one user only certain ports. Filtering it by iptables isn't enough, because when process works, the port is blocked ...
1
vote
0answers
370 views

Mounting partition in FreeBSD is not working

I am new to FreeBSD and I try to mount a partition p2 of ada1 on a new FreeBSD installation by entering: sudo mkdir -p /mnt/ada1p2 sudo mount /dev/ada1p2 /mnt/ada1p2 This leaves me with mount: ...
1
vote
2answers
748 views

GELI / ELI at FreeBSD - changing passphrase

How can I change/replace the passphrase of an encrypted eli provider in FreeBSD? Do I have to recreate the entire provider and copy data, or is there a simpler and faster way? I've looked in the man ...
0
votes
1answer
176 views

Configure IPv6 on FreeBSD webserver

Seems I just can't nail the right rc.conf configuration for IPv6 on my FreeBSD 10 VPS. I'd like to go completely IPv6 and tutorials/instructions i followed aren't really working for me somehow. It's ...
2
votes
1answer
156 views

Encrypted User Directory on FreeBSD?

I'm running FreeBSD and I'd like to have user's files stored encrypted using his/her password, and have seamless SSH access to those files as well (provided that the user always uses password-based ...
-1
votes
1answer
815 views

OpenLDAP modify member is not allowed

I am Struggeling with my LDAP attributes. I already created a few test users and groups, but I am unable to add users to the groups. #!DATE 2014-05-22T11:48:16.324 #!ERROR [LDAP: error code 65 - ...
-3
votes
1answer
53 views

Comparing “user time” for same operations on different cpu

In my accounting system i limit using cpu-time by user. But on servers with different cpu's same operation may take different cpu-time. Now i want compare perfomance for my servers to introduce factor ...
0
votes
0answers
579 views

FreeBSD 10 IPFW IPv6

I'm struggling to allow IPv6 connections on my FreeBSD 10 server. I have a working IPv6 connection. But IPFW blocks all the IPv6 traffic. #!/bin/sh # # flush existing rules ipfw -q flush # allow ...
0
votes
1answer
175 views

Piping stream into tar on FreeBSD

I am trying to pipe a tar/gzip archive into tar to decompress it. The script I have is part of a self extracting installer, where my archive is appended to the script. This works fine on linux, and ...
0
votes
1answer
463 views

Setting enviromental variables for login shells under root account in FreeBSD

I am currently in the process of configuring Open Grid Scheduler in FreeBSD. As part of this process I need to set the environmental variableSGE_ROOTas root. To do this I have been experimenting with ...
1
vote
1answer
3k views

Installing oracle 7 JDK on FreeBSD 10 — Wants i586, but on AMD64

I need to install Oracle Java 7 on my FreeBSD 10 server but I am a bit confused. I am using the ports, and when I do a make install in the /usr/ports/java/linux-sun-jdk17 directory I get the ...
4
votes
3answers
5k 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 ...
6
votes
1answer
810 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 ...
0
votes
2answers
135 views

Recompiling FreeBSD-10 release from SVN source

I run 10.0-RELEASE on my server and I'm wondering something. If I do buildworld with official source from svn, will i be able to use freebsd-update to upgrade in the future or I have to settle with ...
6
votes
2answers
334 views

Conflicting information about the running kernel version in FreeBSD

I asked a related question about uname before and now want to ask from another angle, because the following simple yet obvious conflicting outputs may mean there is something many people did not think ...
1
vote
2answers
4k views

How to connect FreeBSD Jail to network

So recently I successfully installed and configured a freebsd jail and I would like to install software within my jail but I cannot connect to the network. I'm trying to setup an apache+php+mysql ...
0
votes
1answer
513 views

FreeBSD jail with IPFW with loopback - unable to connect loopback interface

I am trying to configure a one IP jail with loopback interface, but I am unsure how to configure the IPFW rules to allow traffic to pass between the jail and the network card on the server. I have ...
0
votes
3answers
315 views

How to install deleted port on FreeBSD

I am maintaining a code base that depends on Postgis 1.5. My local dev VM is running FreeBSD 9.2. I have recently been tinkering with packages and inadvertently deleted postgis, so I attempted to ...
3
votes
2answers
188 views

Mimicking Google's Persistent Disks — Is this a logical FreeBSD disaster recovery strategy?

I am looking into FreeBSD to provide a more comprehensive backup and disaster recovery strategy for database servers. Ideally I want to mimic what google is doing with "Persistent disks" ...
2
votes
2answers
1k views

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

How can I setup Serial-Over-Lan (SOL) on FreeBSD 10.0 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 ...
3
votes
1answer
1k views

Understanding PAM authentication procedure on FreeBSD with security/sssd

I'm trying to understand what's behaving errantly on my PAM configuration on FreeBSD 10.0 The machine is configured with two different authentication realms, one is the default Unix authentication ...
1
vote
2answers
5k views

FreeBSD default MySQL basedir, port, etc., for my.cnf

I'm working on a FreeBSD 9.2 server and have run mysqltuner.pl to check the memory and cache needs of MySQL. Now I need to add a my.cnf file to FreeBSD so it uses that instead of the auto cnf file. I ...
0
votes
1answer
360 views

correctly setup PF with loopback interfaces for nginx proxy

I am trying to run couple of freebsd jails for my web server and application server, which is running node.js I have one network card (igb0) with a custom loopback interface (lo666) for which i have ...
1
vote
1answer
841 views

readlink: illegal option — f

Recently the script was working fine, but from some days I'm receiving such message, while running the readlink -f "$0" command: readlink: illegal option -- f usage: readlink [-n] [file ...] I was ...
0
votes
1answer
207 views

Server suddenly stops responding and then resumes an hour later

My FreeBSD server had been perfectly working for over 2 years without any major changes to the system. Recently I installed SSL certificate using Apache's mod_ssl, and after 10 days of running fine ...