If the processes which are currently using this partition does not respond to “kill -9″ command then you WILL have to have the MOUNTED partition available anyways before killing the process. So here is a work-around of this situation.
1. Create a virtual interface on the problem server which has the IP address same as . . . → Read More: Force unmount nfs share freebsd stale shares
I was having an issue getting subversion 1.4.6 + apache installed on a freebsd 8.1 system without running in to errors. These instructions should work on any version of freebsd (post 6.01).
Eventually i copied the proper port versions over from a different system and got it all working! Avoid rebuilding subversion from source on . . . → Read More: How to Install Subversion 1.4.6 with Apache 2.2.17_1 on FreeBSD
Add Public SSH Key to Remote Server in a Single Command From HowToGeek
If you want to setup SSH keys to allow logging in without a password, you can do so with a single command.
The first thing you’ll need to do is make sure you’ve run the keygen command to generate the keys:
ssh-keygen . . . → Read More: Add Public SSH Key to Remote Server in a Single Command
Here’s some info on the system:
# svn –version /libexec/ld-elf.so.1: Shared object “libaprutil-1.so.2″ not found, required by “svn” # pkg_info | grep -i apache apache-2.2.15_9 Version 2.2.x of Apache web server with prefork MPM. apr-devrandom-gdbm-db42-ldap23-mysql50-126.96.36.199.3.9_1 Apache Portability Library # pkg_info subversion-1.4.0_1 Information for subversion-1.4.0_1:
i completely removed apache:
pkg_delete -f apache-2.\*
Then removed these subversion . . . → Read More: Proper way to Rebuild Subversion 1.4.0_1 on FreeBSD 6.1
download the tbz file from
do a pkg_add, ex pkg_add diablo-jdk-freebsd6.i3188.8.131.52.07.02.tbz
If that errors out with something like checking pkg-config is at least version 0.9.0… yes checking for XI… configure: error: Package requirements (xproto >= 7.0.13 x11 >= 184.108.40.206 xextproto >= 7.0.3 xext >= 220.127.116.11 inputproto >= 18.104.22.1682) were not met: Requested ‘x11 >= . . . → Read More: install java freebsd diablo-jdk-1.6.0.07.02_10
A great place to find vmware virtual machines for freebsd, ubuntu, cent os, red hat linux (RHEL), Linux Mint, etc is over at bagside’s virtual appliance repository
here’s what they offer:
Virtual Appliance Repository.
This site is dedicated to virtual appliances that we build for you to use FREE of charge (except for Windows . . . → Read More: vmware unix
How do you find large files or directories on your disk in freebsd, unix, linux ? Linux find large files examples; find large files on your disk in *nix.
All *nix systems List total size of each directory/file at current path level du -sk * | sort -rn | head
[[email protected] /]# du . . . → Read More: Linux find large files
Problem: receiving this error on freebsd 6.1
(Can’t contact the database server: Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2) (localhost))
To investigate run this command:
# ps xa | grep mysqld
If mysql is not running then start it like this:
# /usr/local/etc/rc.d/mysql-server start
Add the following lines to your httpd.conf:
SSLProtocol ALL -SSLv2 SSLCipherSuite HIGH:!SSLv2:!ADH:!aNULL:!eNULL:!NULL
To Test the Fix (replace 127.0.0.1 with whatever ip you need to test on):
openssl s_client -port 443 -host “127.0.0.1″ -ssl2
how to change the ip address of freebsd jail . . . → Read More: How To: Change IP address of FreeBSD Jail