Sunday, August 30, 2009

install sqldeveloper on Ubuntu

1. copy it /opt directory
2. set JDK path to avoid prompt whenever launch sqldeveloper.sh
echo "/usr/lib/jvm/java-6-sun" > ~/.sqldevolper/jdk

Saturday, August 29, 2009

Internet TV on Linux

Finally can see IPTV on Linux.

Thanks sopcast-player http://www.sopcast.com/download/

1. install libstdc++5 using Synaptic Package Manager
2. download & install sp-auth_3.0.1_amd64.deb
3. download & install sopcast-player_0.3.0-0ubuntu1_amd64.deb

Saturday, August 22, 2009

send email in windows platform

This is my mind for 3 years. It is good for database monitoring, if it can be done by a perl script, however no initiative to follow up.

Yesterday, boss is not around & no urgent task at hand. a leisure Friday.

Googled and got some sample script. However not work with my environment, could be due to my lower version SendMail.pm.

Finally find below key lines from existing netbackup script.


$smtpSvr = "(smtp server)" ;

use Mail::Sendmail;

%mail = ( To => "yourid\@domain",
From => "yourid\@domain",
Message => "test message2 ",
Subject => "test sms2 from windows",
smtp => $smtpSvr,
);

sendmail( %mail ) or die $Mail::Sendmail::error;


Note that a "\" is needed before the "@".




3 years x mans versus 1hour 1 man effort. What do we learned from this case ?!

brrestore with error BR458E

BR458E Information about backup file %s not found in log header.

* Explanation: All the backup files must be described in the log header of the selected BRBACKUP backup. This is not the case. This could indicate an internal error, or the log was changed manually.
* Program response: Processing terminated.
* User action: If the log was changed manually, change it back and repeat the operation.


Vendor told us ready to proceed brrestore after SAP software installed.

The backup was taken in production with 6.4 version Netbackup agent for SAP. Howerver during brrestore in other server, the version is v6.2.

brrestore –c –b -m full

--note that the v6.2 brrestore can still work fine to restore individual v6.4 backed up files.

After asking vendor to upgrade to 6.4. everything goes smooth. 9pm in the night already.

Vendor ah, how can I trust the famous saying during project kicked-off meeting " no eat, no sleep" .

Fix for flash not working after Jaunty Upgrade (64bit)

Fix for flash not working after Jaunty Upgrade (64bit) | Ubuntu Geek
Fix for flash not working after Jaunty Upgrade (64bit)


using apt-get

Saturday, August 15, 2009

My Oracle Orion testing result



Here is the summary of SIMPLE run against my Segate SATA2 500Gb hard disk.

Maximum Large MBPS=37.31 @ Small=0 and Large=2
Maximum Small IOPS=138 @ Small=5 and Large=0
Minimum Small Latency=10.28 @ Small=1 and Large=0

Chinese input for Ubuntu

Here it is, but sill not working with Tecent QQ

http://ubuntuforums.org/showthread.php?p=124214