Posted by arpz on Mar 2, 2010 in
My Life
Currently I’m developing Innotiive Esupport System. My bos didn’t ask me to develop it, but to refresh my programming knowledge and for my own use.
This system develop using PHP and use Oracle as it’s database. Still under development.

Innotiive esupport
Tags: innotiive
Posted by arpz on Jul 15, 2009 in
DBA,
Linux,
My Life,
Oracle
I am very familiar with RedHat Linux for enabling and disable the GUI. Just changing the /etc/inittab file. As lot of customer using Solaris compare to Linux, so I need to upgrade my knowledge with this OS. I installed Solaris 10 x86 and play around with it. But the problem is, I have limited in resources, so I need to disable the GUI desktop to free unused resources.
Sample of /etc/inittab (RedHat Linux)
#
# inittab This file describes how the INIT process should set up
# the system in a certain run-level.
#
# Author: Miquel van Smoorenburg,
# Modified for RHS Linux by Marc Ewing and Donnie Barnes
#
# Default runlevel. The runlevels used by RHS are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
#
id:3:initdefault:
# System initialization.
si::sysinit:/etc/rc.sysinit
l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6
# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
# When our UPS tells us power has failed, assume we have a few minutes
# of power left. Schedule a shutdown for 2 minutes from now.
# This does, of course, assume you have powerd installed and your
# UPS connected and working correctly.
pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"
# If power was restored before the shutdown kicked in, cancel it.
pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"
# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6
# Run xdm in runlevel 5
RedHat Linux
Disable GUI
Change the default run level in /etc/inittab to 3
id:3:initdefault:
Enable GUI
Change the default run level in /etc/inittab to 5
id:5:initdefault:
I’ve tested this on Solaris 10 and it work.
Disable GUI
# /usr/dt/bin/dtconfig -d
Enable GUI
# /usr/dt/bin/dtconfig -e
Tags: dtconfig, gui, inittab, Linux, solaris
Posted by arpz on Mar 27, 2009 in
My Life

Check out the download speed
Nice2 DHL. Didnt block rapidshare, I can download few movie tonight and tomorrow. Yeaahaaa….. Only take an hour like this for one movie.
Tags: dhl, download speed
Posted by arpz on Mar 27, 2009 in
My Life

Malaysia The Best!
VS
haha.. Working here in DHL make me feel like I’m in India. Surrounding with all Indian fellow, the way they talk. Nooooo.. I don’t want to go back there. I don’t want any curry anymore.. Don’t want chapati…Noooo…!@#@#$#%
Owh, the easiest question I can’t answer is “How long have you been working with Oracle?” “Did you know xxx from oracle?” Damn, I was like shock and my brain usage at 100% thinking to answer..haha.. Then, I answer “errrkk..about six month” “hmm..dont know la that xxx, maybe his from other department..”
What ever it is, appreciate your life in Malaysia. Here 10000000x better compare to India. Maybe I was born in Malaysia, that’s the main reason.
Tags: dhl, India
Posted by arpz on Mar 27, 2009 in
DBA,
My Life

Time now is 3.48am. I’m really sleepy but cannot sleep as this is part of my job. My shift start at 630pm until 830am. It’s 14hour. This crazy thing will happen to me for the next 2 days. Shit man!
Basically my job here as Oracle dba, is to monitor any locking happen in the database. If the locking happen more than 600s aka 10minutes, inform recovery manager then wait for his reply. If they want to kill the session, I need to trace the session, check what the heck locking is about, then kill the damn session.
so far, nothing bad happen. Database seem running smooth. There is one problem, my brain. I feel damn headaches this time, triple headaches.
Anyone wanna accompany me? talk to me?anyone plzz… no one?? ok then.. I’m alone than..nite all..
P/s:
Murali, how do I claim extra allowance for this.
Min, tomorrow I don’t want to see your face.
Tags: dhl, night shift