Check SAN Switch Health  
This plugin checks sensors (psu, temperature, fans et al) and overall health of SAN switches that understand the Fibre Alliance MIB. There is a long list of companies behind that MIB; I have tested the script with switches from Brocade and Qlogic.This plugin checks sensors (psu, temperature, fans et al) and overall health of SAN switches that understand the Fibre Alliance MIB. There is a long list of companies behind that MIB; I have tested the script with switches from Brocade and Qlogic.


http://exchange.nagios.org/directory/Pl ... th/details

[ add comment ]   |  [ 0 trackbacks ]   |  permalink
Jean Michel Jarre - Equinoxe 5; original video 
http://www.youtube.com/watch?v=AO5w30uKISk

http://www.youtube.com/watch?v=3HJ2Q8GQ ... re=related

http://www.youtube.com/watch?v=YB1Vg-_2 ... re=related



[ add comment ]   |  [ 0 trackbacks ]   |  permalink
Automate sftp transfer 
sftp -o IdentityFile=/home/user/.ssh/id_rsa user@host:/folder/ <<EOF
mget *
EOF




[ add comment ]   |  [ 0 trackbacks ]   |  permalink
Adaptec CIM provider freezes on ESX (i) 
http://communities.vmware.com/thread/343231?tstart=0

we have an ESXi 4.1 with the Adaptec CIM provider (the only one available for the 2405 unified controller), using the updated drivers for this controller.

It works basically, but when we poll the provider using remote-arcconf repeatedly (every 30 mins at the moment), the CIM provider stops responding. It will refuse to reply until we stop the polling for a day or two and come back to life magically, just to freeze when some repeated polls are issued.


solution:

echo "01 01 * * * /etc/init.d/sfcbd-watchdog stop; /etc/init.d/sfcbd-watchdog start" >> /var/spool/cron/crontabs/root


then, restart cron:

kill `cat /var/run/crond.pid`




[ add comment ] ( 1 view )   |  [ 0 trackbacks ]   |  permalink
Oracle 11g: error while loading shared libraries: /u01/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh.so 

[root@oracle]# find . -name libclntsh* | xargs chcon -t textrel_shlib_t
[root@oracle]# setenforce 1
[root@oracle]# getenforce
Enforcing


[ add comment ]   |  [ 0 trackbacks ]   |  permalink
Spacewalk (http://spacewalk.redhat.com/) 
Spacewalk is an open source (GPLv2) Linux systems management solution. It is the upstream community project from which the Red Hat Network Satellite product is derived.



https://fedorahosted.org/spacewalk/wiki/HowToInstall

http://docs.redhat.com/docs/en-US/Red_H ... index.html

http://spacewalk.redhat.com/yum/1.6/RHEL/6/x86_64/



[ add comment ]   |  [ 0 trackbacks ]   |  permalink
Ilford PAN 400 development times 
http://www.pinhol.com.pl/s&a/artyku ... 100400.pdf

[ 3 comments ]   |  [ 0 trackbacks ]   |  permalink
Strip off the file name from a path 
echo "/path1/path2/path3/file" | sed -n 's/\(.*\)\/.*$/\1/p'
/path1/path2/path3



verify if the folder is empty or not
# for folder in $( seq -f "%02g" 29 ); do [ "$( ls -A /var/log/clc_archive/2011-09-$folder/)" ] && echo "Syslog data for 2011-09-$folder found" || echo "No data" ; done



[ add comment ]   |  [ 0 trackbacks ]   |  permalink
DJango 
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

https://www.djangoproject.com/

http://www.djangobook.com/


Database support (PostgreSQL)

http://pkgs.repoforge.org/python-psycopg2/
http://www.cyberciti.biz/faq/psql-fatal ... -for-user/
http://www.postgresql.org/docs/7.4/stat ... ation.html

psql -U postgres -c "CREATE DATABASE mysite" -d template1
psql -U postgres -c "CREATE USER mysite WITH PASSWORD 'mysite'" -d mysite

python manage.py syncdb

Notice
python manage.py runserver 0.0.0.0:8000
python manage.py startapp polls







[ add comment ]   |  [ 0 trackbacks ]   |  permalink
Photography tutorial on using a Beauty Dish  
http://www.youtube.com/watch?v=tBcevMyGfaE

[ 17 comments ]   |  [ 0 trackbacks ]   |  permalink

<<First <Back | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | Next> Last>>