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.
1,545
questions
0
votes
1
answer
1k
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
2
answers
685
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
...
3
votes
1
answer
2k
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
1
answer
99
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
2
answers
4k
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
1
answer
678
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.
...
3
votes
1
answer
2k
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
1
answer
768
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 :
/libexec/ld-...
2
votes
2
answers
2k
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
1
answer
103
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
1
answer
1k
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 [email protected]:/usr/obj/usr/src/sys/GENERIC ...
0
votes
1
answer
944
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 ...
-2
votes
2
answers
4k
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
2
answers
3k
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.
...
3
votes
2
answers
1k
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
1
answer
232
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
1
answer
422
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
kernel ...
1
vote
1
answer
3k
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 (...
1
vote
1
answer
320
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 9.0-...
1
vote
0
answers
399
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
1
answer
60
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
1
answer
1k
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 mysql-bin....
0
votes
2
answers
485
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 ...
3
votes
1
answer
2k
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
1
answer
640
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 ^images/...
2
votes
2
answers
2k
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 /etc/syslog....
0
votes
1
answer
281
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
...
2
votes
3
answers
8k
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 ...
3
votes
0
answers
950
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
1
answer
200
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
1
answer
3k
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
1
answer
2k
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 /etc/...
5
votes
2
answers
3k
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
2
answers
925
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 ?
...
2
votes
0
answers
1k
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: Length=...
2
votes
1
answer
3k
views
Missing perl modules error for properly installed perl modules on FreeBSD 8.3, perl 5.16
Trying to run a Nagios plugin on 8.3-RELEASE-p3, I get the error:
Missing perl modules: Net::SMTP::SSL
I have rebuilt the ports for both p5-Net-SMTP-SSL and perl5.16. cpan -i Net::SMTP::SSL reports
...
5
votes
2
answers
6k
views
How to change rc.d startup order in FreeBSD?
My question exactly same as this question except I want to change services in FreeBSD.
I made some research and I found rcorder command which gives full order of services with below paramaters.
...
2
votes
2
answers
594
views
How can I get an integer output on BSD ping?
I am trying to perform a simple check on an integer value output from ping. In Linux this was working quite nicely, but the FreeBSD ping outputs a float value with percentage sign suffixed.
LOSS=`/...
1
vote
1
answer
1k
views
FreeBSD Disable Serial Console from Bootloader?
I have a FreeBSD appliance (meaning I can't open the case or I will void the warranty) that was working well until I accidentally clicked 'Enable Serial Console' and rebooted...
I went to plug in my ...
0
votes
1
answer
2k
views
how to mount extra disk in freebsd
I am trying to mount extra storage on my pfsense installation running in virtualbox.
I have added an extra virtual drive and can see it attached when running fdisk /dev/da1.
I want to mount it in /...
2
votes
2
answers
6k
views
FreeBSD - unexpected soft update inconsistency
I came into work this morning and one of my BSD servers is unable to boot properly. I can get into single user mode but when running fsck I get the error "unexpected soft update inconsistency" Does ...
1
vote
2
answers
4k
views
Configuring Proftpd users without system users
I'm running a web server with proftpd on FreeBSD 9.
I want to add few ftp users to the server so they will have the option to upload files to their own sites.
When trying to do it with proftpd i ...
13
votes
5
answers
2k
views
Freebsd change default Internet channel route
I have two Internet channel and Gateway on freebsd. When I switch channel with the command route change default chan2, the command netstat -nr shows changed default route. But traceroute shows that ...
0
votes
2
answers
3k
views
Mysql is not running
In my opinion this happens only because of rackspace build (Freebsd 9.1)
root@office:/root # uname -a
FreeBSD office 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #1: Fri Jun 21 04:11:23 UTC 2013 root@...
0
votes
1
answer
1k
views
"GEOM_MIRROR: cancelling unmapped because of ada0"
Recently upgraded my FreeBSD install to FreeBSD 9.1-stable from the 9-stable branch. I have two SATA hard drives (/dev/ada0, /dev/ada1) in a geom mirror, with nothing between : [/dev/ada0, /dev/ada1] -...
2
votes
2
answers
1k
views
Cannot create zpool, how to get rid of intel raid volume?
This is a FreeBSD 9.1 amd64 computer. It has 5 disks installed. The ada0 and ada1 disks are used with a hw raid to provide the root filesystem:
root@gw:/home/gandalf # ls /dev | grep ada
ada0
ada1
...
0
votes
1
answer
1k
views
Freebsd 8.1 Samba4 smbclient returns NT_STATUS_INVALID_PARAMETER
I'd like to setting up a NAS server and run Samba4 on it.
When I'm runing this command:
# smbclient -I 192.168.48.128 -L NAS_GROUP
Enter root's password:
Connection to 192.168.48.128 failed (Error ...
1
vote
2
answers
2k
views
Advice for inserting additional disks to a ZFS mirrored pool?
I am running FreeBSD 9.1 with root on a ZFS mirrored pool.
At first the pool (labelled zroot) has a total of 1TB spanning two 1TB drives.
Recently we have run into disk space issues in which the ...
6
votes
1
answer
2k
views
pf slows traffic extremely down
I am running a web and mail server on FreeBSD 9.1. The system is installed on a KVM vServer. Everything works fine - until I enable pf(4). My weblog becomes unconscionably slow. So does all the other ...
-2
votes
2
answers
6k
views
Show mac-address table on custom interface in FreeBSD and Linux [closed]
On switches I can show mac addresses on any port by "show mac-address-table port X"
Is there any way to do this on FreeBSD and Linux systems?