Wednesday, December 10, 2008

Fix ! Fedora 10 GUI's Hang

Few days ago when i upgraded my office PC from Fedora 8 to Fedora 10, on reboot GUI got stuck, and i was unable to login through GUI, while was able to login through Command Line. Sucks... !

Anyhow with little googling and reading Xorg logs i am able to fix it, here are my findings...


cat /var/log/Xorg.0.log

if you find any such thing reporting "intel_bufmgr_fake.c:387: Error waiting for fence: Device or resource busy."


1. # vi /etc/X11/xorg.conf

add following line in Section "Device"

Option "NoAccel"

2. # Xorg -configure

3. #reboot


Wednesday, November 26, 2008

upgrade to fedora 10 using yum, in two steps

Last night when fedora 10 came on air, it was a painful sleep at home, because i was unable to manage myself without upgrading my office's desktop PC to fedora 10, of course the best way that suites me is using yum, so here are those two steps that accomplished my objective today:

Step 1:

#rpm -Uvh your-mirror/fedora/releases/10/Fedora/i386/os/Packages/fedora-release-10-1.noarch.rpm your-mirror/fedora/releases/10/Fedora/i386/os/Packages/fedora-release-notes-10.0.0-1.noarch.rpm


#rpm -Uvh

Step 2:

#yum clean all

#yum update -y

PS: You need to run all above commands as root !


Sunday, November 23, 2008

Bypass/Break Firewall to chat on gmail

Ohh, it was a nightmare when i resumed my duties after vocations and noticed that i am unable to chat on gmail/msn/yahoo though the real shock was about gmail, the communication team has blocked all sort of chat in office except that homosexual Jabber LAN chat :p

After a long googling i found a solution using Pidgen on Linux/Windows, bypass/break firewall for gtalk/gmail chat, here it is:

configure your gmail account on Pidgen as follow:

fill in Basic tab as:

Protocol: XMPP
username: your-gmail-username
Resource: Home
Password: gmail-password

fill in Advanced tab as:

Require SSL/TSL: uncheck
Force old port (5223)SSL: check/select
Allow plan text auth...: uncheck
Connect Port: 443
Connect Server:
File transfer proxy: leave default
Proxy type: use gnome proxy settings

Happy gmail chatting, behind firewall !


Monday, November 17, 2008

Oracle installation error on solaris 10

I was trying to install Oracle 10g on the Solaris 10 SPARC 64 and during linking I got the following error message:

Error in invoking 'ioracle' of makefile '/opt/home/oracle10g/rdbms/lib/'.

I successfully had installed 10g clusterware, just got this error on oracle database server installation.


I was able to fix it by editing /etc/system file and adding following,

set noexec_user_stack=1

set shmsys:shminfo_shmmax=4294967295

set shmsys:shminfo_shmmni=100

set semsys:seminfo_semmni=100

set semsys:seminfo_semmns=1024

set semsys:seminfo_semmsl=256

set semsys:seminfo_semvmx=32767

after a reboot, i did the installation successfully.


Friday, November 14, 2008

step-by-step RAC 10g R2, Solaris 10, SPARC

1. creation oracle user:

bash-3.00# groupadd -g 500 dba
bash-3.00# groupadd -g 501 oinstall
bash-3.00# groupadd -g 502 oper

bash-3.00# useradd -u 500 -d /export/home/oracle -g oinstall -G dba,oper oracle

bash-3.00# mkdir /export/home/oracle
bash-3.00# chown -R oracle:oinstall /export/home/oracle/

bash-3.00# passwd oracle
New Password:
Re-enter new Password:
passwd: password successfully changed for oracle

2. setting up network configurations...


bash-3.00# ifconfig -a
lo0: flags=2001000849 mtu 8232 index 1
inet netmask ff000000
ce0: flags=1000843 mtu 1500 index 2
inet netmask fffffff0 broadcast
groupname ipmp0
ether 0:3:ba:af:24:eb
ce0:1: flags=9040843 mtu 1500 index 2
inet netmask fffffff0 broadcast
ce1: flags=1008843 mtu 1500 index 5
inet netmask ffffff80 broadcast
ether 0:3:ba:b1:9f:b8
ce2: flags=9040843 mtu 1500 index 3
inet netmask fffffff0 broadcast
groupname ipmp0
ether 0:3:ba:b1:9f:b9
ce5: flags=1008843 mtu 1500 index 4
inet netmask ffffff80 broadcast
ether 0:3:ba:af:24:ec
clprivnet0: flags=1009843 mtu 1500 index 6
inet netmask fffffe00 broadcast
ether 0:0:0:0:0:1

Note: all of the front end IPs must be in the same network, so in our case, the node-1 has two IPs that is,

ce0: ---> physical ethernet card

ce0:1 ---> logical ethernet card (going to be used for VIP)


bash-3.00# ifconfig -a
lo0: flags=2001000849 mtu 8232 index 1
inet netmask ff000000
ce0: flags=1000843 mtu 1500 index 2
inet netmask fffffff0 broadcast
groupname ipmp0
ether 0:3:ba:c2:3a:15
ce0:1: flags=9040843 mtu 1500 index 2
inet netmask fffffff0 broadcast
ce1: flags=1008843 mtu 1500 index 5
inet netmask ffffff80 broadcast
ether 0:3:ba:b1:c7:34
ce2: flags=9040843 mtu 1500 index 3
inet netmask fffffff0 broadcast
groupname ipmp0
ether 0:3:ba:b1:c7:35
ce5: flags=1008843 mtu 1500 index 4
inet netmask ffffff80 broadcast
ether 0:3:ba:c2:3a:16
clprivnet0: flags=1009843 mtu 1500 index 6
inet netmask fffffe00 broadcast
ether 0:0:0:0:0:2

Note: all of the front end IPs must be in the same network, so in our case, the node-1 has two IPs that is,

ce0: ---> physical ethernet card

ce0:1 ---> logical ethernet card (going to be used for VIP)

3. extraction of oracle clusterware & RDBMS installation binaries...

#gunzip 10gr2_cluster_sol.cpio.gz

#cpio -idcvm < style="font-weight: bold;">

4. setting up the oracle user profile:

------ NODE 1 -----

vi /export/home/oracle/.profile

----- paste the following text inside .profile on node -1 ----

stty erase "^H"
set -o vi

export ORACLE_BASE=/opt/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/10.2.0
export ORACLE_SID=utrafedb1
export ORACLE_TERM=xterm
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/local/lib

SYSTEM_Name=`uname -n`
export SYSTEM_Name
export PS1='$SYSTEM_Name:$ORACLE_SID:$PWD/$ '

alias ll='ls -al'

alias sss='sqlplus "/as sysdba"'

-----NODE 2 ----

vi /export/home/oracle/.profile

----- paste the following text inside .profile on node -2 ----

stty erase "^H"
set -o vi

export ORACLE_BASE=/opt/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/10.2.0
export ORACLE_SID=utrafedb2
export ORACLE_TERM=xterm
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/local/lib

SYSTEM_Name=`uname -n`
export SYSTEM_Name
export PS1='$SYSTEM_Name:$ORACLE_SID:$PWD/$ '

alias ll='ls -al'

alias sss='sqlplus "/as sysdba"'

5. creating sub-directories for oracle installation...

bash-3.00# mkdir /opt/app
bash-3.00# mkdir /opt/app/oracle
bash-3.00# chown -R oracle:oinstall /opt/app/oracle/
bash-3.00# chmod 755 /opt/app/oracle/

6. configure rsh i.e. passowrdless remote loging for both nodes....

---login as oracle user, and give following commands---

$echo "+ oracle" > /export/home/oracle/.rhosts

note: have to edit sshd_config to all .rhosts based remote login....while have to allow oracle user for ssh in /etc/profile.

--- to test from node-1 ---

$ rsh node-2

7. prechecking the clusterware installation.

excute following command as oracle user

bash-3.00$ sh stage -pre crsinst -n node-1,node2

8. Installing the UDLM package on both root

#cd /export/home/nahmad/oracle-bin/crs/racpatch

#cp ORAUDLM.tar.Z /tmp

#cd /tmp

#uncompress ORAUDLM.tar.Z

#tar xvf ORAUDLM.tar

#pkgadd -d . ORAUDLM


9. Installing Oracle Clusterware...Login as Oracle user on server.

$cd /export/home/nahmad/oracle-bin/crs


10. create directory for Oracle clusterware binaries

$mkdir /opt/app

$chown -R /opt/app/

11. giving the input in installer....

- on first screen:

path of inventory dir: /opt/app/oracle/oraInventory

group: oinstall

- on second screen:

crs home name: OraCrs10g_utrafe

path: /opt/app/oracle/product/10.2.0/crs

- on fourth screen:

-----Before this you need to run following commands on BOTH NODES i.e ----

#ifconfig ce0:1 down

cluster_name: crs

cluster nodes:

node-1 clusternode1-priv node-1-vip
node-2 clusternode2-priv node-2-vip

- on fifth screen

ce0 Public
ce5 Private
clprivnet0 Private

-on sixth screen

check: Normal redundancy

bash-3.00# ln -s /dev/md/orarow_dg/rdsk/d2 /dev/rdsk/ora_ocr_raw_100m
bash-3.00# ln -s /dev/md/orarow_dg/rdsk/d4 /dev/rdsk/ora_ocr_raw_100m_mir

bash-3.00# ln -s /dev/md/orarow_dg/rdsk/d6 /dev/rdsk/ora_vote_raw_100m
bash-3.00# ln -s /dev/md/orarow_dg/rdsk/d8 /dev/rdsk/ora_vote_raw_100m_mir1
bash-3.00# ln -s /dev/md/orarow_dg/rdsk/d11 /dev/rdsk/ora_vote_raw_100m_mir2

bash-3.00# chown oracle:oinstall /dev/md/orarow_dg/rdsk/d2 /dev/rdsk/ora_ocr_raw_100m
bash-3.00# chown oracle:oinstall /dev/md/orarow_dg/rdsk/d4 /dev/rdsk/ora_ocr_raw_100m_mir

bash-3.00# chown oracle:oinstall /dev/md/orarow_dg/rdsk/d6 /dev/rdsk/ora_vote_raw_100m
bash-3.00# chown oracle:oinstall /dev/md/orarow_dg/rdsk/d8 /dev/rdsk/ora_vote_raw_100m_mir1
bash-3.00# chown oracle:oinstall /dev/md/orarow_dg/rdsk/d11 /dev/rdsk/ora_vote_raw_100m_mir2

bash-3.00# chmod 660 /dev/md/orarow_dg/rdsk/d2 /dev/rdsk/ora_ocr_raw_100m
bash-3.00# chmod 660 /dev/md/orarow_dg/rdsk/d2 /dev/rdsk/ora_ocr_raw_100m_mir

bash-3.00# chmod 660 /dev/md/orarow_dg/rdsk/d6 /dev/rdsk/ora_vote_raw_100m
bash-3.00# chmod 660 /dev/md/orarow_dg/rdsk/d8 /dev/rdsk/ora_vote_raw_100m_mir1
bash-3.00# chmod 660 /dev/md/orarow_dg/rdsk/d11 /dev/rdsk/ora_vote_raw_100m_mir2

bash-3.00# dd if=/dev/zero of=/dev/rdsk/ora_ocr_raw_100m bs=8192 count=1000
1000+0 records in
1000+0 records out
bash-3.00# dd if=/dev/zero of=/dev/rdsk/ora_ocr_raw_100m_mir bs=8192 count=1000
1000+0 records in
1000+0 records out

bash-3.00# dd if=/dev/zero of=/dev/rdsk/ora_vote_raw_100m bs=8192 count=1000
1000+0 records in
1000+0 records out
bash-3.00# dd if=/dev/zero of=/dev/rdsk/ora_vote_raw_100m_mir1 bs=8192 count=1000
1000+0 records in
1000+0 records out
bash-3.00# dd if=/dev/zero of=/dev/rdsk/ora_vote_raw_100m_mir2 bs=8192 count=1000
1000+0 records in
1000+0 records out

bash-3.00# ls -laL /dev/rdsk/ora_*
crw-rw---- 1 oracle oinstall 85, 8194 Sep 17 08:51 /dev/rdsk/ora_ocr_raw_100m
crw-rw---- 1 oracle oinstall 85, 8196 Sep 17 08:52 /dev/rdsk/ora_ocr_raw_100m_mir
crw-rw---- 1 oracle oinstall 85, 8198 Sep 17 09:01 /dev/rdsk/ora_vote_raw_100m
crw-rw---- 1 oracle oinstall 85, 8200 Sep 17 09:01 /dev/rdsk/ora_vote_raw_100m_mir1
crw-rw---- 1 oracle oinstall 85, 8203 Sep 17 09:01 /dev/rdsk/ora_vote_raw_100m_mir2

12. running VIPCA: at the end of CRS installation, VIP configuration will fail and will give some error on running the script, ignore it and later run VIPCA.

$cd /opt/app/oracle/product/10.2.0/crs/bin


give the VIP IPs in the wizard to configure VIP, on the completion run following command to check the status.

$./crs_stat -t -v

13. installing Oracle RDBMS: use the article:

14: create Listner:

15. create Database with ASM:

PS: It is NOT an official Oracle's step-by-step, try with your own responsibility. though all steps carry useful comments.


Wednesday, November 5, 2008

lazy unmount, even when device is busy !

I was reading a short article on usb disk unmount problem, someone in comments remind the idea of Lazy unmount option i.e.

if you see something like this:

# umount /media/usbdisk/
umount: /media/usbdisk: device is busy

do this:

# umount -l /media/usbdisk/

the trick is behind -l option , LAZY UNMOUNT !


Thursday, October 30, 2008

HAL daemon hang in fedora 8, Fix !

I was getting strange, rather annoying behavior on my fedora 8 installed day when i came home and booted my notebook it started hanging during the boot process and it was taking ages to give me login when i went crazy with this stupid HAL daemon hang problem, i checked the /var/log/messages on search for HAL daemon errors & I found the following line i.e.

OCT 30 23:13:35 engineer gnome-keyring-daemon[2671]: failed to initialize a HAL context: (null)

After some googling found on ubuntu's forum one guy fix the same kind of error though changing the HAL daemon's priority and it was solved for him, in fact, its a conflict of priority HAL daemon went in a kind of race condition with some other daemon.

what i did is that, as he suggested moved the HAL daemon almost the last daemon to run in rc5.d directory i.e.

# cd /etc/rc5.d
# mv S98haldaemon S99haldaemon

after doing this trick the problem vanished.


Wednesday, October 29, 2008

clone the filesystem/machine

I was reading LinuxJournal's email update regarding latest articles released, i came through a short article regarding cloning the filesystem, although the author have made a simple & easy way to do so, but i and many others did'nt like it, even in article's comments, i found a very simple n short way of cloning the filesystem i.e. rsync + ssh, here it is :p

Why not just use rysnc after booting the target from a livecd (assuming it's a new install), enabling ssh and mounting the target partition?

mkdir /mnt/fake
mount -o bind / /mnt/fake
cd /mnt/fake
rsync -avz --progress ./*

/boot /home or /var other other partitions can be done the same way, and attributes are preserved. Bind mounting will keep rsync from trying to copy /proc /dev or /sys from your original / partition, too. Only / has to be bind mounted before copying.

I guess its the perfect way, though there are many other options !


Tuesday, October 28, 2008

running EM (Enterprise Manager) in RAC.

Today, i was trying to start EM on my new born two node RAC, but even when i issued

$emctl start dbconsole

it gave me indication that EM has been started successfully but later when i tried to open through its URL at one of the client machines...i was unable to get through...just after realising the fact that in case of RAC EM should be started on all RAC nodes...i did so and things get normal.

conclusion: we should run EM daemon on all RAC nodes before we use it.


Wednesday, September 24, 2008

Confusion on VIP configuration in RAC on Solaris

I was getting strange error at VIP configuration during RAC 10gR2 installation on Solaris 10...after a day or so googling and forum archives reading i came to know that the VIP configuration in Solaris is different then Linux/Windows....for me its another reason to hate Solaris !!!

what i found about Solaris RAC VIP configuration is that the node's VIP name should not be attached to any interface in at OS level inside machine, while the VIP name should be registered in DNS instead of host file. Even I have found that it is better to put VIP of the node to logical interface on top of a physical interface. In my situation i did the following...

step 1:
ce0 ---> was the physical interface
ce0:1---> was my logical interface on top of physical ce0.

so i have selected ce0:1 as the VIP interface.

step 2:

your VIP configuration at the end of oracle clusterware installation will fail...but d'nt worry about it. its normal in RAC 10g on solaris installation. do it through VIPCA tool or even manual command i.e.

$./srvctl modify nodeapps -n node-name -A VIP/SUBNET-MASK

Note: if still you get problem in setting up VIP on RAC 10g on Solaris SPARC machine, you better drop me an email, i would try my level best to help you out :p


Tuesday, September 23, 2008

Pakistan visit.

I am on Pakistan tour these days, enjoying really with my family...!

Monday, July 28, 2008

Installing Oracle 9i on windows xp, in 3 steps

Last week I got a new notebook from development team to test the performance using NTFS based encryption on oracle & jboss installation. Initially these machines were expecting to be ubuntu 7.0 machines but later due to less expertize in linux the communication team complaint against putting Linux in these client machines, because they have to travel to provences & it will be defficult for them to handle different situation there...

Anyhow I have to test all this shit on Windows XP. I when started installing oracle 9i on windows xp, had a small confusion that what are the important steps to keep in mind during oracle 9i installation in windows xp, initially i tried searching some step-by-step for the task but had a hard luck ... i created my it is:

step:1 Define environment vairables,

click on: start -->control panel --> system --> Advance

here you will find a tab "Environment Variables"

"click on that"

you will get a pan you need to add new environment variables as below:

Value: c:\oracle OR "path-for-oracle-installation"

Value: %ORACLE_BASE%\ora92

Value: name_of_instance

4. Name: NLS_LANG
Value: american_america.WE8ISO8859P15 "this character set can be used for Portuguese language."

Step 2: insert oracle 9i cd/dvd & start the setup. The rest is pretty smooth. just few clicks like,

1. click on Install
click on Next "this screen shows oracle home description"
select Oracle 9i database
4. select Enterprise Edition OR "your on choice"
5. select Software only

Step 3: After finishing this installation, you need to patch it for

Download patch id: p4163445_92070_WINNT from metalink.

After running this patch you are ready to use oracle 9i version


Wednesday, July 16, 2008

Last for the road.

It was normal Saturday morning last week, when Carla Judith called on my cell, & told that she will not be able to visit my farm because she has a party at home...just on end of conversation i asked what for this party? she replied, its my elder sister's wedding 10th anniversary so we are enjoying together ! I quickly with surprise 10 years with one husband :D she with anger YEAH !!! WTF you think my sister is like .... anyhow i stop flaming with a tiny sorry...later in the evening when i was as usual sitting with friends in Maputo Shopping Center, watching Indian girls & their new fashion :p...i got a call from Carla Judith, she asked me to come & join the party, i asked her i am really hungry if she can only offer me some meal & later i will quickly sweep back to my home then i will visit her house, she agreed...

Mind you that i really hate people when they are drunk & make noise...! when i reached her house i was standing outside...asked her to bring my meal, she insist to meet her father n mother, because they wants to know my
colleagues...i initially hesitated but later went inside her house, there were almost 4 big tables in open air...with African/Mozambican music, ladies & gents were dancing as & beer was scattered on tables as normal...anyhow i went to table where her father n mother were soon as they saw me with their daughter they stand up & we met, "it looked that they were waiting for me...might be awarded of my visit" anyhow they offered me a chair to sit with them...just in few second Carla came & requested me "Nayyar, porfavor...comer nos...mha mae, pae gostar que mha coleaga sintar aik" English: "Nayyar, please eat mother n father likes when my coleagues stay our home"...i replied Ok, "mas fazer muito rapido, eu ker ir sedo" English: "ok, but do it fast, i wants to go back soon"...!

Soon, she came with my
favorite salad & chicken roast...i asked one Coca cola...things were normal...until, one of the guy suddenly screamed..."vomos embora...vomos embora...vamos beber ate amanha ser...vomos embora..." English: "lets go...lets go...lets drink until next day...lets go..." i quickly realise the guy is DRUNK...and tried to ignore him...he suddenly again shouted with more force...& it started becoming pain in ass...i ask Carla Judith, that if she invite people let them know that you should drink just to the level where they remain human...she started laughing at me...she said, "Nayyar, es normal...", English: "Nayyar, this is normal..." anyhow i tried to forcefully ignore that son of a bitch...but he continuously getting into my nerves...i was playing with my patience...suddenly one guy who was sitting just next to me on table...called her wife..."Amor...vamos casa..." English: "My love lets move home...", & he snatched the big wine bottle in his hands...with screaming voice "LAST FOR THE ROAD..." i wish he will be safely home :-|

Still when i think about that night i get stressed...even when i left the party & came outside Carla's home...the guy was shouting "
vomos embora...vomos embora.....", & his voice was reaching until my car...

Today as it is Wednesday...i was trying to forget that night happening, just got a joke from one just read & try to compare the joke with my Saturday experience...


A rabbit was running
towards forest when he saw a giraffe stop & said:

-- O
giraffe! Stop smoking...that is shit it hurt you, lets run towards forest! You'll see you feel much better...giraffe thought for one second, and said:

-- You're right, rabbit, and he started running ....

-- he was running with the rabbit. Soon they found a bear sniffing glue. Rabbit jumped immediately in front of Bear:

-- O bear, leave this shit! This can only hurt you, lets run with us and take the fresh air inside your lungs!

The bear jumped to the front and began to run with them until they find an elephant to
sniffer cocaine. Rabbit again,

-- O elephant, you're crazy! you are doing this shit! Come with us...

The elephant thought a bit, and decided to join the group, which then found a loin who was about to inject heroine.

-- Again, our rabbit friend..., he jumped towards loin and Said:

-- O loin, this makes you shit, come with us for running....

NEVER.....loin replied...,other animals with strange & anger why you
d'nt join us?

-- Are you crazy? Why you are doing this?

--The loin replied:

-- When ever this son of a bitch "Rabbit" takes Heroine, ask me to run...i am not an idiot to run until forest!


Delete multi-owner disk set in Solaris.

The more i stuck in Solaris the more i like my Linux :-|

I was continuously in hot waters when unable to delete that fucking test multi-owner disk set from Oracle RAC, almost tried all i could but it was not doing...i left office yesterday almost 30 minute late n was really angry with me about delaying the RAC installation due to this multi-owner disk issue...

Today when i came office, i just started reading the metaset command manual & found -P & -W option/switch that can do it if you use them in sequence.

#metaset -s multi-owner-setname -w

this will release/withdraw host from this set.

#metaset -s multi-owner-setname -P

this will purge the disk set.

PS: these commands should be in same sequence i.e. first withdraw then purge & you should be running them as superuser/root


Friday, July 4, 2008

Download oracle using wget, A tiny howto

I have been bothered too many times to download oracle installer from, whenever i had to do so, i was reluctant just because OTN force us to download their installer using browser, i hate browser based huge files download, my love "wget" always support me...i was thinking that wget has a limit to do this task until today...i found the solution... just arguments usage !!!

Tiny Howto:

1. You have to browse until

2. select your choice of OS & Oracle version to download.

3. On clicking the link for download it will ask you to provide OTN's username,password that you must have to proceed, if you already singed it, provide it, otherwise you have to create it (its free) :p

4. After providing username,password it will start download your choice oracle installer, now you have to right click on downlaod bar "i am using firefox" & copy the "download link"

5. open command prompt/terminal and use wget as following...

wget -c --http-user=your-otn-username --http-passwd=your-otn-password


Tuesday, June 17, 2008


What ! you want to learn really do?...& you need my help to learn thought i would give you the secret...the way i did? man, come on how can i tell you, how i learned, hmm, d'nt insist i really can't tell you directly, the problem is that, i hold a noble character in few eyes :D

Ok...d'nt go out crazy, i will give you two options what ever you select...

1. Hard without fun:

For this way you don't need to be inside a Portuguese speaking country, you can learn by taking admission in a Language training center, where you can learn the basics of this language, even can get some nice conversation session, where you can practice your language expertize...I myself tried this one when i reached Maputo, but it was not working for me :( i am not sure if it works for you...

2. Easy with fun:

Make a Mozambican girl friend who can hardly understand English, so initially you starts with just telling her something with hands moves...sometime she will pick your English words...even sometime you would be able to understand a 5% of her speech she do :*

This way is too fast in learning with pleasure, most of (upto 99.99%) Pakistanis & Indians in Mozambique do try this...i am sure a positive result after trying it. This option has a side-effect just as explained below...


Director told the secretary: We will travel outside for one week, make preparations for the journey!

The secretary made a call to her husband: I will travel outside with my Director for one week. See you.

The husband call for the lover: My wife going to travel for one week, we will spend the week together, my love !

She call for a lover boy to whom she gives tution: I have a lot of work next week will not come for class.

The boy calls his grandfather: next week I have no lessons, my teacher will be busy, We will spend the week together

The grandfather (who is director) to secretary : I will spend next week with my grandson, we can not participate in that meeting. Cancel the trip.

The secretary to her husband: Next week my manager has much work, we cancel the traveling.

The husband call for the lover: We can not spend the next week together, my wife trip is canceled.

She call lover boy for the classes: This Week we will have classes as usual.

The boy calls his grandfather: my teacher said that I have classes this week. Excuse me, i w't be able to give you company.

The grandfather to secretary: Do not worry, next week we will participate in that meeting.

Continue with it....!


Monday, June 2, 2008

Robbers d'nt keep email accounts

It was a time when i was regularly watching ZAVIA an Ashfaq Ahmad hosted youth show, where he was using his own created stories to give thoughts & up to some level solutions for complex Pakistani society & Islamic misconception problems...I am witness of this great show, & in fact proud to say that i was able to understand & implement his thoughts...

In one of ZAVIA episode he clearly mentioned that Pakistan has been mainly looted by Educated Pakistanis...he gave many examples i.e. Army Officers, Doctors, Engineers, Professors, Managers ...all of these profession has very well educated employees & there has been a history of their corruption that today have brought Pakistan to a complete disaster situation...The Uneducated citizens like plumber, technicians, mechanics, labour .... they has been the victims of Pakistani Educated society...Yeah i am agreed with his claim, But there are some exceptional cases like a recent incident in Maputo..."what !!! you want to know about the incident, ok...just wait few minutes...its coming..."

I am sure Gen. Pervaz Musharaf, was very regular audient of Ashfaq Ahmad's show, he claimed that Pakistan is mainly looted by Politicians those are 100% illiterate "I d'nt wants to use Uneducated, because, Politicians are not Uneducated class, they represent illiterates" then why Ashfaq Ahmad did'nt mentioned that there is a class of Uneducated citizens those were involve in looting Pakistan.

Now what happened, he made a decision that now after to fight in election a candidate must be at least Graduate :-p No..No d'nt laugh at him...he did that by making amendments in the constitution of Pakistan. Uff what a most of Uneducated politicians were sent home...but Gen. Musharaf did't thought about illiterate those are Graduate :D like Dr. Amir Liaqut...Chohdris...Bilors...etc...

Ok..enough context...i hope now you understand what is Educated & Uneducated difference...& what kind of problems they can cause for you...yeah you are educated because you are reading this blog..Ok so according to Ashfaq Ahmad you are the most threatening class for Pakistan future, but what about following incident...

Last week Monday Morning i came office with very lazy feet, ohh you thought i was ill, No..No just tired, because at Sunday night i was watching an old Indian Movie...& went late
for sleep... So as usual i started reading Gmail's received emails...did'nt found any great news except Haroon's (little brother) email regarding some plot purchase stuff...later as according to my habit i went to check office emails...after checking few of them i found an announcement email, that was sent by one of our colleague to everyone with a request to forward to all our address book's email you wants to know what was written in this announcement? No...No it was not that kind of...? what happened to you? i already told you it was an announcement...ok d'nt explain me further...thanks, it was basically an Alert email about few Robbers in Maputo town...! wait...wait, d'nt read my post then shelter yourself.

So the email was an Alert regarding a 4 guys group of Robbers in town, they Robbed a 16 years girl by stoping their car in front of her & offer her a lift to certain place, when she accepted to sit with them they robbed her & some people say even have abused her...later thrown out of car on a place...due to the serious nature of the issue, our colleague requested us to inform your children that please d'nt take lift from unknown people...many including me forwarded this email to all of our address book...

But what happened on very next day...she sent another email that even though my email was forwarded to many people same group has robbed another 15 years girl..she wrote email like this...

"The 4 guys were driving on road they went near to a 15 years school girl asked, where are you going she replied i am going to Motola, they said we are also going there, we can give you lift...she said...No i can't sit in your car, because my Mom received an email regarding few Robbers in town those offer lift to young girls & later robbe them...One of the robbers...probably the leader replied to girl, My Dear, Robbers d'nt keep email accounts, so we do...we were not awared of the this email Alert so we came out today for our job, now please enter our car, because we are hungry...did't ate since last night, i promise you...tomorrow we will do something else to buy bread..."


Friday, May 23, 2008

An Intelligent Nurse is Threat to Life its time for some serious discussion, when Dr. Abid launched A.I (Artificial Intelligence) courses in University of Peshawar, everybody was angry that what the hell he is doing with curriculum, because every one wanted to have some professional skills on market tools & they were expecting him to add some Visual programming tools but he never listen to anyone, he did what he wanted to do...he added two major courses in both M.Sc parts & they are still taught there, because he is still Computer Science Department, chairman :) ... there was a time when it was famous in students that if some one need high marks in Theses do in supervision of Dr. Abid in the field of A.I.

Things did'nt stop my first part of M.Sc Sir, Dilawar taught me A.I "who him self never knew what is this subject all about" :D So i came to know that "A.I is a subject that must be taught to Intelligent by Intelligent" although once in Dr.Lutufullah Kaka Khel C++ programming class he gave some human Logic description from where i found that this things has some interest...rather Intelligence has something to do in our lifes ! might be thinking where is that Nurse...hmm...if you expecting some adult stuff then please stop thinking here...nothing like that. ok..ok i know you are not that kind of you need to know where i found that "an Intelligent Nurse is Threat to Life", guess what...where i found that Nurse & conclusion of threat to life...what in book..Nope, somebody told me about it...Nope. Ok..Ok d'nt waste time i tell you the story...

On Wednesday when Noor (My house mat) called me & told that he is in Hospital Emergency Section, please come to help me...i did'nt had any clue what the hell happened to him, when i arrived to Emergency Section i found him in bad condition, in fact he had some fight with people & had head know Maputo Central Hospital is a place where people go to rest, if you are in emergency then d'nt come to hospital better take some rest at home or die. its far better then dieing on those waiting chairs in front of Doctor's room...

Sorry i got angry..let start the story again, Ok, then when i found that there is nobody to check him, & he is sitting in a long queue...i went to Dorctor room's gate keeper & offer him 50Mtn = 2 USD for taking my patient first without queue, he was very soft hearted , accepted my offer & asked me to come from back door, because if he take him from front door, people will fight we went from back door. That lady Dr. we found inside room was very nice :p she when found its serious problem..without any further delay forwarded this case to Surgery Ward....there he got a Bed to rest & NO Doctor to look after, after almost three hours of waiting a Doctor came & asked ward Nurse to take him for X-Rays in Neuro Surgery ward.

Be ready story started here...this is the Nurse i was talking before we started walking towards X-Ray department she asked me to stay in the ward, because its her duty to take patient & make X-Ray after my too much insist she agreed to take me with them, when we reached X-Ray department, she asked me to sit on waiting chairs while submitted Noor's documents in the counter...after submitting them, she came & sat just beside me, i was looking down & feeling a lot of stress & suddenly she slapped my arm, with screaming, Man you are not watching this television show? When i looked up in corner of that waiting room, i found a television hanging...showing a quiz was just a copy of normal quiz shows where you answer the question & win money, after answering each question the wining amount goes the time i was realizing whats going on in the television & reading the question, she again scrammed PORRA Es gas saber nada.. "Shit, this guy know nothing..." then she suddenly started Fala A, Porra Fala A... "Say, A..shit Say A.." she wanted to tell that contestant please take option A, mean while counter called Noor's name & when she realize that she had to move with him in X-Ray room, she asked please take your patient there, i want to see what the hell this stupid/fool is doing in this show...I took Noor to X-Ray room made his X-Ray returned to waiting chairs where she was continuously guessing the correct answers & abusing that television guy for his stupidity on answering wrong...soon after Counter called Noor name again & handed over me his report, she then told me Mr. You know the ward, please take him there with this report i will come there later...i did so...after almost 45 mins...she came & said...

If i was in that show today... i could win 50,000Mtn = 2000USD...


Monday, May 19, 2008

The 47's mystery in my life

Last night I was thinking about my past & was trying to get what remained most common during all different will amaze that I have found there has been too many 47s in my life...let jump into the detail.

1st 47: I am born in Pakistan which was founded on 1947.

last two digits in year = 47
47 = last two digits in year

2nd 47: I got 438 marks in Matric exams "10th grade" in 1994, that is shammingly too few :-D but still watch the mathematics here. i.e.

Year of Passing Matric exam = 94
47 = Year of Passing/2

3rd 47: I got 732 marks in Exam "12th grade", in the age of 18 "ohh...sweet 18 ;-)" look into mathematics again. i.e.

Grade = 12
Age = 18
Marks last two digits = 32
47 = (Grade + Age)/2 + Marks last two digits

4th 47: I got 347 marks in exam, pretty simple ...

47 = last two digits in marks

5th 47: I again got 347 marks in previous (1st year)...

47 = last two digits in marks

6th 47: I again got 447 marks in final (2nd year)

47 = last two digits in marks

I am not sure how many 47s will be left unnoticed & how much to come...


Friday, May 9, 2008

Bashir ki Beti

Ok, without any context references I will jump into the core of this exciting post...I remember when in Lord Of The Ring, just before final fight starts...when the King on top of his Castle's Towers saw the aliens army is coming to fight his too few solders, he abruptly says: So It Begins !

Same happened to me, when I arrived in Maputo very first time, I stayed few days in Hotel Ibis, during this time Anilza helped me to find out a flat for me, after almost one week of hard search I was able to get a flat on 4th floor of 60 years old building at Av. Kerl Marks ! because I was just new to the town i did'nt knew what are the famous spots...just after two days one of my office colleague asked me "Nayyar, where is your flat?" i replied on Av. kerl Marks, he said where on Kerl Marks, I replied in front of Standard Bank, he said there are many Standard Bank on that Av. (road) ! i got confused, then our office boy explained him its near "Qayum Center" hmm, it was a new clue, then when ever people asked me where is your flat, i was replying its near Qayum Center. After almost one and half month, i made two Pakistani friends in the town, who were working in shops near my flat, one day i forget to buy Pao "bread in english" i went to one them shop & asked where i can buy pao, bakery is closed, he replied there are few guys sitting in front of Qayum Center, again i was surprised that i am living near to Qayum Center, even when people ask me where you live i just reply them near to Qayum Center, and still I never went to see this Qayum Center...suddenly i requested the guy to accompany me till Qayum Center, I found it a big Electronic Shop with almost all kind of Electronic Home Appliances !

Things were not stopped here...After just few days i was speaking to a local Mozambican friend, and he asked same question, where you live? answer you can imagine now ! but this time a new cross question thrown to me...Which one? I said there is only one Qayum Center in town, why you asked Which one? he said NO, there are many !

This was beginning of my interest in this company ! i realized that this Qayum is really a rich man who has this much shops around the town...even things were not stopped here...One day I went to offer JUMA Prayers in Baxa "down town" I was surprised with a really well decorated & managed Mask "Masjid" without any delay asked one of the person who made & maintain this Mask, he replied Qayum Center !

Then After almost a year I spent in Maputo, one day one of my Pakistani friend told me "Yaar woo Maputo Shopping Center ki opening hoogai hey, Chal uss koo dekh kay atay hain...! " English: "man, Maputo Shopping Center has been inaugurated, let move to see it...!"

When we reached Maputo Shopping Center, I found it very good nicely build Shopping Mall, I quickly asked who made this, he replied Qayum Center.

That confirmed me that I need to see this man, I asked them where I can see this Qayum Center owner, they said lets move inside they have a General Store inside, usually he & his family is found there...without any further delay I reached to that Big General Store, & was introduced to Qayum Center owner, his actual name is Bashir ! I was fortunate that i found him with his family i.e. Wife & a bleeding edge fresh daughter ! in complete Indian style dress. wawoo could you imagine a person's level of joy when he see a girl who's father is millionaire...! Ok d'nt think further, because soon I came to know that she is married to a guy who was working in her father's company...!

Now here we need at least 5 minute silence ..... She..who is Bashir ki Beti (Bashir's Daughter) is married :-( all of my joy went down in seconds....I was always thinking what maximum success an employee can get in a company, i found the answer that day...! "when employee marry his Boss daughter...!"

Way back in 2004 - 2005, Dawn News Paper published an article on World's Stupid Person, the author clearly said that, "Every person has two fathers...One is Father other Father-in-Law, & the World Most Stupid Person is the one who was born to a poor Farther & later he marry to a poor Father-in-Law's daughter...!" I completely agree to him, its mind blowing fact...! be serious I am not kidding d'nt get yourself be called one of the most stupid person in the world.

So, Now for a better future, I regularly Friday till Sunday evening visit Maputo Shopping Center, & try to see Bashir's daughter, one day she noticed me with a 100 thousand dollars romantic look, i have calculated my success in this affair is around 7.5%, I am optimistic & d'nt wants to be counted in World Most Stupids.


Wednesday, April 30, 2008

Fedora Releases LifeCycle

I think you know Fedora has a fast release life cycle, many of Linux users take it negative, but believe me its *NOT*, when we take in-depth look of release life cycle, you will definitely like the way Fedora approach towards its release...lets start...we have two options:

1. Release a stable distro with longer life cycle.

This option is good & attract people who d'nt want to upgrade quickly to new version of distro, mostly people like Data Centers/Server Rooms Admins wants such kind of OS, now it suites them because they d'nt want to troubleshoot their hosted application compatibility with new version OS. I 100% agree with this school of thought *BUT* they will lack the new version features in their OS, with keeping old kernel version, sometime drivers unavailability/compatibility with new adopted hardware etc. So you keep a stable pretty old Kernel with old packages at a price of giving up new features & hardware compatibility...

The distribution comes under this scenario are, e.g. RHEL, Centos, Solaris etc...

2. Release a stable/unstable/development distro with shorter life cycle.

Getting a bleeding edge new version distro with stable *sometime* unstable & development, give you a hint of instability but you get all latest kernel & packages you can get. You get ride of the hardware compatibility problem, because day-by-day the Linux distribution are adding more & more drivers in their distributions....people like Developers & Researchers even *End Users* they wants to have a latest kernel with all brand new packages...

The distribution comes under this scenario are e.g. Fedora, Ubuntu etc...

Now going back to Fedora Releases LifeCycle:

The Fedora Project is committed to producing a new version approximately every 6 months, with each new release having a lifespan of approximately 13 months. This makes sense as if you wants to skip a release upgrade you can..., for example, right now i am using Fedora 8 on my notebook, this installation has been optimize too much & I am not fully prepared to move new Fedora 9, thats the reason I have decided to move directly to Fedora 10 at my notebook, while I will keep using Fedora 9 on my virtual-machine...

In Addition, this 13 month life Cycle means I will get Patch & Updates till I get Fedora 10 release, yeah could you imagine Fedora is taking care of your OS installation till you get two next releases...btw, 13 months is too much in current fast developing OS world, if you stay more out of upgrades you are left behind & it will cost *efforts* a lot to upgrade.

Cool ! i hope you now understand Fedora is subjected to what kind of audience, they d'nt limit fedora being used in Data Center *Production Environment* but yeah its not the best practice, while this bleeding edge Fedora release cycle end up with fairly stable RHEL/CentOS release.

Summary: If you are planning to use all brand new kernel & packages d'nt feel any kind of fear against using Fedora, they take you through a smooth, well acceptable OS life Cycle...

PS: you can always check Fedora's official annoucements for LifeCycle.


Tuesday, April 22, 2008

Dr. Abdus Salam made my future.

Today I will disclose a great secret that happened unintentionally between me & Dr. Abdus Salam , I think you need some historical background before we start the actual story. There are two entities in this post i.e.

1. Dr. Abdus Salam:

"Abdus Salam (Urdu: عبد السلام) (January 29, 1926; Santokdas, Sahiwal PunjabNovember 21, 1996; Oxford, England) was a Pakistani theoretical physicist and Nobel laureate in Physics for his work in Electro-Weak Theory. Salam, Sheldon Glashow and Steven Weinberg shared the prize for this discovery. Salam holds the distinction of being the first Pakistani Nobel Laureate, and is the first Muslim Nobel Laureate in science. The validity of the theory was ascertained through experiments carried out at the Super Proton Synchrotron facility at CERN in Geneva, particularly, through the discovery of the W and Z Bosons."

2. Nayyar Ahmad:

"Nayyar Ahmad, born 17 April 1978, Peshawar Pakistan. Did M.Sc Computer Science from Peshawar university, holds RHCE, CCNA, OCP DBA certifications. Currently working in Ministry of Finance, Mozambique."

Now from above abstract entities definitions you will find just one thing common i.e. Pakistan. Yeah you are right they both were born in Paksitan. Rest there is't any similarities between them.

I know you are now confused..."that how a person made my future only because he was born in same country..." I will appreciate your patience to bare the effort for reading this post till end...I am sure i have enough proofs to prove that what ever I am today is just because of Dr. Abdus Salam...

The Secret:

If you really really wants to know why I claimed that Dr. Abdus Salam made my future, then you must wait to read about me...Ok enough wait...lets move to core of this secret, "It was 1997, when I get passed F.Sc Pre-Engineering & tried to get admission in B.Sc Computer Science, There were many colleges offering this degree but due to financial limits I had to take admission in Govt. Superior Science College Peshawar, Pakistan. in fact that was the only real option I was left, & I still believe if I was't be able to get admission in this college I couldn't be IT Professional...."

If you quickly move to the Dr. Abdus Salam link, & read his Biography you will find a line saying: "He was also instrumental in setting up five Superior Science colleges throughout Pakistan to further the progress in science in the country."

There isn't any rocket science involve in this two paragraphs & I expect from you to quickly realize why I believe Dr. Abdus Salam made my future...I am not afraid to say that "what ever i am is just because of him".

The Thought: People, when they do something with good cause, the time they do it they d'nt know about its effects, it might happen the effects get started even after their death.

The Tribute: DR. Abdus Salam is First Pakistani & Muslim Scientist got Nobel Prize on his Scientific work, I will keep saying about his greatness till I quit this life...


Thursday, April 17, 2008

My Birthday !

Man I am not sure why this showing wrong date & time. But believe me its official all over the world 17th April 2008 :-|

Ok..Ok you wants to know why I am complaining about wrong date & time ! do you really think i ever care about such things yeah you are right "i never do care about date & time" hmm good question then why today? Should i tell you or you use your brain to guess what the hell happened today... do you need time to think about it? ohh come on you already took a lot of time, go ahead. make a guess...

No no man whats going in your head...ok let me give you a Hint, do you know Charles Darwin ? NO ! come on man you are completely dump...ok ok... go & read about him then continue with this post :-( you disappointed me a lot... so now after reading about Darwin you know why i gave his name in Hint ? you think i made a question on top of another question? do you think its un fair? ok i admit, you are right. let me continue with my explanation in fact Darwin believe in the Evolutionary theory so do i believe :-) "he believed that there is always a start of a thing" he made his theory for humans.

But d'nt you know there was a legend born on 17th April, he is still struggling to make his impression in this planet, he still think he has the imagination to think beyond the boundaries of this universe, he is still confuse why non of this planet species have recognized his powers ! or non of the legends were recognized in their time so he is facing the same. He still believe the brain & thinking power he has would be discover after thousands of years of his time...

I hope you now can guess who's birthday is today, if still confuse, Make sure you are completely dump & sneaky, take somebody to help you... i d'nt have time to explain further.


Wednesday, April 16, 2008

US Visa

Monday morning was as boring as it could be...I was sitting in office's kitchen taking my tea with lemon, my phone started ringing, it's unique ring-tone gets every one intentions easily & I feel this annoying so i ran fast towards my cabin... The caller number was't in my address book, as soon as I picked call, the guy started speaking in Portuguese "Bom Dia Sr., por favor eu conseler de embessy de americana, hoje voce traser passporte" I said ok. if this quoted line is wrong in spell or you unable to understand, accept my apologies ;-)

In fact they guy was telling me to bring my passport to American Embassy, i quickly realize that Americans now accept me enough Noble person, who could be granted a visa to travel their country. Anyhow when I reached there they took my passport & said "you have to wait till we make your visa", so on Wednesday around 10.00hrs in morning i again arrived at US Embassy, after some initial security checks they asked passport delivery person to come & see me. That guy came & asked me just one question "your name please?" & went back, then just in 2 or 3 minutes later he arrived back with my passport, with a 5 years multiple business visa.

So now I am able to travel US, I would now plan either RHCA or OCM. lets see whats my next move.