Thursday 29 April 2010

Ubuntu 10

Ok its officially out 10.04 :)


Ignore the below issue they have fixed it

<<<<<<<<<<<<<<<<<<

Dont upgarde just yet if you are on dual boot :
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/570765



Ubuntu: For Desktops, Servers, Netbooks and in the cloud

Wednesday 21 April 2010

do_ypcall: clnt_call: RPC: Unable to receive; errno = Connection refused

Getting errors like:

do_ypcall: clnt_call: RPC: Unable to receive; errno = Connection refused

alos causes any public key ssh setup with no password authenticaton to fail

Resolution:
check if ypbind is running (/etc/init.d/ypbind status) and restart it (/etc/init.d/ypbind start)

Cause:
Check if it is set to run when the box reboots?
Also if it loses connection to the nis master, it may not reconnect.

Tuesday 13 April 2010

Find files with string in current directory

Find files with string in current directory:

find . -follow -name "*" -exec grep -i eng.wysdm.com {} \; -print

Linux - file size limit exceeded

run ulimit -a to check your current limit

eg.,

file size (blocks, -f) 2048


means it is limited to 2 MB

this can be changed in /etc/security/limits.conf to be set to unlimited

Friday 9 April 2010

top on solaris , free memory on solaris, memory usage on solaris

To find out the free memory available on solaris

vmstat - free virtual memory status

prstat - current process memory usage status

else install top

AIX uninstall problems

Ok your are on AIX and get the wierd problem of not able to uninstall this app installed using install shield

Remove the entry from vpd.properties , but where is vpd.properties
..hmm here /usr/lib/objrepos, remove entries from there and you are good to go

Oracle Drop database

To drop a database I did the following :

SQL> shutdown abort;
startup mount exclusive restrict;
ORACLE instance shut down.
SQL> ORACLE instance started.

Total System Global Area 630501376 bytes
Fixed Size 2147032 bytes
Variable Size 469765416 bytes
Database Buffers 150994944 bytes
Redo Buffers 7593984 bytes
Database mounted.
SQL> connect as sysdba
Enter password:
Connected.
SQL> drop database;

Word Press Multisite on AWS instance cannot login with default password

  Word Press Multisite on AWS instance cannot login with default password after setting a static IP ? Try this Login to the shell from AWS i...