Wednesday, June 28, 2006

Memperbaiki undotbs yang membengkak atau corrupt

Ternyata Oracle cukup rumit. Pertanyaan selanjutnya adalah bagaimana memanage file-file control dalam oracle.
Untuk masalah undotbs1.dbf yang membengkak, dapat disolusikan sbb:

Create a new system management undo tablespace:
SQL> connect / as sysdba
SQL> create undo tablespace undotbs2
datafile'/u/oracle/oradata/test/undotbs2.dbf’ size 500m;

Determine the problem undo segment:
SQL> select SEGMENT_NAME, STATUS from dba_rollback_segs;

The problem segment will show a “Needs Recovery” status.

Alter the system to use the new undo tablespace:
SQL> alter system set undo_tablespace=undotbs2 scope=both;
(Note if you are not using an spfile, omit the scope command)

If you are using an spfile, create a pfile from it:
SQL> connect / as sysdba
SQL> create pfile=’/u01/oracle/admin/test/pfile/inittest.ora’ from spfile;

Edit the inittest.ora pfile and add (using the undo segment from our example error):
*._offline_rollback_segments=” _SYSSMU29$”
*._corrupt_rollback_segments=”_SYSSMU29$”

Now shutdown your instance, this may require a shutdown abort, but try a shutdown immediate first.

Startup using the manual startup command:
SQL> startup pfile=’/u01/oacle/admin/test/pfile=inittest.ora’

Alter the old undo tablespace offline:
SQL> alter tablespace undotbs1 offline;

Drop the offending tablespace:
SQL> drop tablespace undotbs1 including contents and datafiles;

Shut down immediate.
Edit the inittest.ora file to eliminate the underscore parameters.
Restart the instance using the pfile option.

Create an spfile from the pfile:
SQL> create spfile from pfile=’/u01/oracle/admin/test/pfile/inittest.ora’;


Sumber :
http://www.dba-oracle.com/oracle_tips_fix_corrupt_undo_segments.htm
http://www.dba-oracle.com/t_fix_undo_log_corruption.htm
http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:5669213349582
http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:1354906470493

Thursday, June 15, 2006

Mengaktifkan Telnet Server di Suse 9.3

Cukup pusing juga karena masalah ini. Penyebab utamanya karena terlalu sering menggunakan Redhat.
Tahapan instalasi telnet server untuk Suse 9.3 sbb :
  • Lewat YAST install paket rpm telnet-server
  • Edit /etc/xinetd.d/telnet and set "disable" to no.
  • # rcxinetd restart

Tuesday, June 13, 2006

Instalasi Oracle 9i pada Tru64 Unix

Thank's buat Mas Helmi yang sudah bersusah payah untuk mendapatkan jawaban ini.
Untuk instalasi Oracle 9i di Tru 64 Unix butuh patch java (javajre142-4.tar)
yang dapat didownload di :
http://www.dominopower.com/issues/issue200010/linux1000001.html

Dokumentasi instalasi ada di URL :
http://paaf.gov.kw/elib/paaf-full-installation.pdf

Untuk dokumentasi ini memang diperuntukkan bagi server clustering.
Tapi tinggal dicoba saja ... dengan sedikit mencoba, insya allah bisa.

Instalasi Domino Server di Linux

Karena sering terjangkit virus, Paperless Office System di Bali pengennya diganti pake linux. (Padahal ditempat lain sudah pake Solaris ueeeyy).
Untuk panduan intalasinya dapat di download di URL :
http://publib-b.boulder.ibm.com/Redbooks.nsf/RedpieceAbstracts/sg246835.html?Open

Selain itu, dapat pula nyontek diartikel ini :
http://www.dominopower.com/issues/issue200010/linux1000001.html

Untuk programnya, dibutuhkan source sbb :
  • OS : (Redhat AS 2 keatas, atau Suse 8.0 keatas)
  • Aplikasi Lotusdomino 6.5.4 dalam paket tar.
  • Aplikasi Client 6.5.4 (untuk remote instalation)

Wednesday, June 07, 2006

Met Pagi dunia .......

Ini adalah tuk pertama kalinya aku terbangun dalam kamar ini.
Saya akan mencoba untuk menulis pengalaman - pengalaman terbaik dalam blog ini.
Semoga bermanfaat untuk rekans sekalian

wassalam
amran

Membangun Netmeeting Server On Linux

Setelah 2 minggu ber-google ria, akhirnya PR untuk membangun Netmeeting Server dengan OS linux pun rampung terselesaikan.
Untuk step-step instalasinya dapat dilihat dibawah ini .....

Linux Internet Locator Server Instalation Guide

OS : Redhat 9.0
Paket program yang terinstall :

  • OpenLDAP
  • Perl

Konfigurasi OpenLDAP

# rpm -qa grep openldap

Konfigurasi Perl LDAP

# perl -MCPAN -e shell

Akan mendapatkan konfirmasi setting LDAP server untuk yang pertama kali, hingga mendapatkan prompt :

cpan>

Kemudian jalankan install

cpan> force install Net::LDAP

hingga muncul pesan akhir seperti dibawah ini :

/usr/bin/makeinstall --OK

kemudian keluar dari shell Perl

cpan> quit

Catatan : saat instalasi Perl, server harus connect ke internet, karena proses instalasi membutuhkan file-file yang ada di global internet

Konfigurasi Netmeeting Directory Kit

Tahap awal download source NDK di URL : http://www.freesoft.org/software/NetMeeting/download dan letakkan di directory /usr/local/src

# wget http://www.freesoft.org/software/NetMeeting/download/ndk-1.2.tgz

# cd /usr/local/src

# cp ndk-1.2.tgz /etc/openldap

# cd /etc/openldap

# tar -zxf ndk-1.2.tgz /etc/openldap

# mkdir /var/openldap-netmeeting

# chmod 777 /var/openldap-netmeeting

Copy netmeeting.perl

# cp /etc/openldap/ndk-1.2/netmeeting.perl /usr/libexec

Configure OpenLDAP

# cd /etc/openldap/schema

# cp ../ndk-1.2/netmeeting.schema ./

# cp core.schema core.schema.bak

# cp /etc/openldap/ndk-1.2/core.schema.patch /etc/openldap/schema

# patch core.schema <>

# cd ..

# cp slapd.conf slapd.conf.bak

# cp ./ndk-1.2/slapd*.conf ./

# chmod 666 slapd.conf

# vi slapd.conf

========edit bagian ini pada bagian include ==========

/etc/openldap/schema/core.schema

/etc/openldap/schema/netmeeting.schema

=========edit bagian ini untuk netmeeting.perl =========

/usr/libexec/netmeeting.perl

# vi slapd2.conf

========edit bagian ini pada bagian include ==========
/etc/openldap/schema/core.schema
/etc/openldap/schema/netmeeting.schema

=========edit bagian ini untuk ldbm database directory =========
/var/openldap-netmeeting

Untuk starting up server dilakukan dengan prosedure :

# /usr/sbin/slapd -f /etc/openldap/slapd.conf -u nobody

# /usr/sbin/slapd -h ldap://localhost:2345/ /etc/openldap/slapd2.conf

# etc/openldap/ndk-1.2/initialize

Catatan :

Harus menggunakan OpenLDAP versi 2.5 kebawah. Ini disebabkan karena saat melakukan konfigurasi core.schema untuk NDK (Netmeeting Directory Kit), format core.schema.patch harus sama dengan format core.schema yang ada pada OpenLDAP.