Sunday, April 26, 2009

Install JRE for 32bi firefox on Linux AMD64 Platform

For Ubuntu9.0.4 runs on AMD64, it looks to me problem solved after install ia32-sun-java6-bin and ia32-libs

32 bit Browsers on 64 bit Systems

Using a 32 bit browser on a 64 bit system has been the most common way of getting plugins to work. Users of 32 bit browsers on 64 bit systems should consult the Linux (x86) section of PluginDoc for more information.


Goto sun.com to download JRE
http://java.sun.com/javase/downloads/index.jsp


http://plugindoc.mozdev.org/linux.html
  1. Install Java Runtime Environment.
  2. Make a symbolic link to libjavaplugin_oji.so in your Mozilla Plugins directory. Use the copy located in the plugin/i386/ns7 directory of JRE 5.0 or later, or plugin/i386/ns610-gcc32 if you are using JRE 1.4.2.

hmc@hmc-desktop:/opt/firefox$ cd plugins/
hmc@hmc-desktop:/opt/firefox/plugins$ ls
libnullplugin.so
hmc@hmc-desktop:/opt/firefox/plugins$ sudo ln -s /opt/java32/jre1.6.0_17/plugin/i386/ns7/libjavaplugin_oji.so ./
[sudo] password for hmc:
hmc@hmc-desktop:/opt/firefox/plugins$ ls -lrt
total 20
-rwxr-xr-x 1 hmc hmc 15824 2009-11-03 07:01 libnullplugin.so
lrwxrwxrwx 1 root root 60 2010-01-02 19:48 libjavaplugin_oji.so -> /opt/java32/jre1.6.0_17/plugin/i386/ns7/libjavaplugin_oji.so
ange directories to the Firefox plugins directory, then create a symbolic link to the Java Plugin libjavaplugin_oji.so fileThe JRE is under /usr/java/latest directory

3. Check that the Java Plugin is installed.

In Firefox, type about:plugins in the Location bar to confirm that the Java Plugin is loaded. If the version is Firefox 1.5 or later, click the Tools menu to confirm that Java Console is there.

网站优劣:到底要设计多宽的网页?

Interesting observation & topic

网站优劣:到底要设计多宽的网页?


http://news.zol.com.cn/128/1286498.html

Saturday, April 25, 2009

ORA-00322: log 1 of thread 1 is not current copy

Fri Apr 24 11:27:38 2009
Errors in file /software/oradcms/product/9.2.0/rdbms/log/dcmss_ora_10640.trc:
ORA-00322: log 1 of thread 1 is not current copy
ORA-00312: online log 1 thread 1: '/dcms002/oradata/DCMSS/redo01b.log'
ORA-00322: log 1 of thread 1 is not current copy
ORA-00312: online log 1 thread 1: '/dcms001/oradata/DCMSS/redo01a.log'


In my case, it is caused by forget to backup control file , hence can't use current/future control file to manager old datafiles.
-- database is running in noarchivelog mode.

[Solution]

re-create the controfile.


during recreation of controfile, I hit below error, as get size of redo log from "ls" in bytes, which is not correct, after I change to 10240K . it passed through .
Cheers!


CREATE CONTROLFILE REUSE DATABASE "DCMSS" NORESETLOGS NOARCHIVELOG
*
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01163: SIZE clause indicates 10241 (blocks), but should match header 10240
ORA-01517: log member: '/dcms001/oradata/DCMSS/redo01a.log'