"To be a warrior is not a simple matter of wishing to be one. It is rather an endless struggle that will go on to the very last moment of our lives. Nobody is born a warrior, in exactly the same way that nobody is born an average man. We make ourselves into one or the other." --Kokoro
Linux users that compile PHP --with-gettext=shared should include
extension=gettext.so
in your /etc/php.ini
Was interesting with imap and kerberos, as the linkers were getting confused between the 32bit and x64 libs which was causing issues with the libc-client.a lib. Ended up installing the libc-client.a x64 version then just symlinking to the /usr/lib
ln -s /usr/lib64/libc-client.a /usr/lib/
After that it may error out one more time on the ./configure, just install pam-devel with that it will also install a bunch of more *devel stuff, do it. Configure should finally finish..
make; make test
(takes a while…make test not necessary)
make install
3).. If you forget something in PHP and need to re-compile.  You re-run ;  make clean; re-run ./configure with all w/ options; make; make install.   Then just restart apache that should enable whatever you just compile in.
Performing an on-line resize of/dev/mapper/system-LVmotr to30309376(4k)blocks.
The filesystem on/dev/mapper/system-LVmotr isnow30309376blocks long.
Note: I had issues trying to use resize2fs on a physical host, as I was attempting to expand file system by adding a new disk to the system. So try this as last step if that fails..
My co-worker Preston came up with this one.  Works pretty slick and probably will replace our old method of using the expect script. Make sure you put an extra space between the 2nd $i and echo so it doesn't show up in history.
for i in cat passtest`; do echo $i; ssh $i ‘echo ‘newpasswd’ | passwd –stdin root’;done
If you need to clear out the pagecache due to inactive memory not being released you can flush out the cache in RedHat5 manually.
The /proc/sys/vm/drop_caches, allows the pagecache and slabcache to be cleared on demand.
To free the pagecache:
1
sudo1>/proc/sys/vm/drop_caches
To free dentries and inodes:
1
sudo echo2>/proc/sys/vm/drop_caches
To free pagecache, dentries and inodes:
1
sudo echo3>/proc/sys/vm/drop_caches
It is recommended that sync be run prior to passing the values to /proc/sys/vm/drop_caches. Enabling drop_caches can cause deadlock if the system is under heavy memory and I/O load. It is not recommended to use this feature on system experiencing heavy load.