/libexec/ld-elf.so.1: Shared object "libmysqlclient.so.14" not found, required by "php"
Did you upgraded mysql recently? If so, be a man and recompile that php too. :)
Wednesday, April 16, 2008
IPs most accessing your Apache
Here's a command using which you can find out what IPs are accessing your http server Apache most from its log file.
cat log | grep "GET /" | awk '{print $1}' | sort | uniq -c | sort -rn | less
It is useful in a case of DDoS attack, when you want to know these IPs and ban them in your firewall.
cat log | grep "GET /" | awk '{print $1}' | sort | uniq -c | sort -rn | less
It is useful in a case of DDoS attack, when you want to know these IPs and ban them in your firewall.
Tuesday, April 8, 2008
nmbclusters
Today I had to compile a new FreeBSD kernel for a fresh installed machine. I looked up my trusty (and pretty old) kernel config file, and, being a real man I am, didn't looked at any NOTES, LINT and other girly stuff, and proceeded to config. So, much to my surprise, I received an error:
unknown option NMBCLUSTERS
Fast glance into FreeBSD manual revealed, that
"
Oh well. :)
http://www.freebsd.org/doc/en/books/handbook/configtuning-kernel-limits.html
unknown option NMBCLUSTERS
Fast glance into FreeBSD manual revealed, that
"
kern.ipc.nmbclusters
loader tunable should be used to tune this at boot time. Only older versions of FreeBSD will require you to use the NMBCLUSTERS kernel config(8) option."Oh well. :)
http://www.freebsd.org/doc/en/books/handbook/configtuning-kernel-limits.html
Tuesday, April 1, 2008
First FreeBSD 7.0 install
Today, I got my first 7.0 FreeBSD server to install. Everything went normal, only one quirk while installing linuxthreads, but managed to do without them.
Zend Optimizer 3.3.0a, though, greeted me with
/libexec/ld-elf.so.1: Shared object "libm.so.4" not found, required by "php"
So, the solution was to
cd /usr/ports/misc/compat6x
make install clean
Zend Optimizer 3.3.0a, though, greeted me with
/libexec/ld-elf.so.1: Shared object "libm.so.4" not found, required by "php"
So, the solution was to
cd /usr/ports/misc/compat6x
make install clean
Subscribe to:
Posts (Atom)