ablog

不器用で落着きのない技術者のメモ

2011-01-01から1ヶ月間の記事一覧

Solaris 10 に Oracle Database 11gR2 (11.2.0.2.0) をインストール中に "java.io.IOException: Thers is an error in creating the following process" エラーが発生

現象 Solaris 10 に Oracle Database 11gR2 (11.2.0.2.0) をインストール中に "java.io.IOException: Thers is an error in creating the following process" エラーが発生する。 対処 スペースは足りているので、念のためスワップ領域を拡張してやり直した…

Text::Balanced を使ってみる

Text::Balanced をインストールする。 bash-3.2$ /usr/local/bin/cpanm -f Text::Balanced --> Working on Text::Balanced Fetching http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Text-Balanced-2.02.tar.gz ... OK Configuring Text-Balanced-2.02 .…

Parse and extract specified elements from source-code written in the C language ...

http://cpansearch.perl.org/src/TIMB/Java-2Perl6API-0.11/lib/Java/Javap/Grammar.pm http://cpansearch.perl.org/src/DCONWAY/Parse-RecDescent-1.965001/demo/demo_another_Cgrammar.pl

Parse::RecDescent を使ってみる

cpanminus をインストールする。 bash-3.2$ git clone git://github.com/miyagawa/cpanminus.git Cloning into cpanminus... remote: Counting objects: 3355, done. remote: Compressing objects: 100% (1284/1284), done. remote: Total 3355 (delta 1646)…

ソースコード中のSQLを調べるのに使った Perl ワンライナー

$ find . -type f -print0|xargs -0 perl -0777 -nle '/decode/i and /distinct|unique/i and !/order\s*by/i and print qq/$ARGV:$./;eof and close ARGV'

Solaris 10 に Oracle Database 11gR2 (11.2.0.2.0) をインストール中に「mmap anon failed: Resource temporarily unavailable」エラーが発生する

現象 Solaris 10 に Oracle Database 11gR2 (11.2.0.2.0) をインストール中に「mmap anon failed: Resource temporarily unavailable」エラーが発生する。 $ less /u01/app/oraInventory/logs/installActions2011-01-26_01-49-43AM.log ... INFO: ld: fatal:…

Solaris 10 のホスト名とIPアドレスを変更する手順

概要 Solaris 10 のホスト名とIPアドレスを変更する際に行った作業のメモ。以下の3つの作業を行った。 Solaris 10 のホスト名とIPアドレスを変更する。 Oracle Database の listener.ora と tnsnames.ora を変更する。 Enterprise Manager Database Control …

Solaris 10 にリモートホストから ssh でログインしようとすると認証にえらい時間がかかる

現象 Solaris 10 でリモートホストから ssh でログインしようとすると認証にえらい時間がかかる。 原因 sshd がリモートクライアントのIPアドレスからホスト名を逆引きしようとするがDNSサーバへアクセスできずTCPのタイムアウトを待つため。 対処 sshd_conf…

Solaris 10 に Oracle Database 11gR2 をインストール中に「"tcp_smallest_anon_port " does not have proper value」エラーが発生する

現象 Solaris 10 に Oracle Database 11gR2 をインストール中に「"tcp_smallest_anon_port " does not have proper value」エラーが発生する。 原因 tcp_smallest_anon_port が要件を満たしていないため、Oracle Universal Installer に怒られている。 対処 …

Solaris 10 に Oracle Database 11gR2 をインストール中に "Hard Limit: maximum user processes" エラーが発生する

現象 Solaris 10 に Oracle Database 11gR2 (11.2.0.2.0) をインストール中に Perform Prerequisite Checks で"Hard Limit: maximum user processes" エラーが発生する。 原因 oracle ユーザが生成できる最大プロセス数が要件より少ないため Oracle Universa…

REDOログのアーカイブ先を変更する手順

Oracle Database をアーカイブ・ログ・モードで運用している場合に、REDOログのアーカイブ先を変更する手順の例。 bash-3.00# mkdir -p /{u01,u02}/app/oracle/admin/orcl/arch bash-3.00# chown -R oracle:oinstall /{u01,u02} bash-3.00# su - oracle bash…

Oracle RACでのサーバー・パラメータ・ファイルの構成

すべてのインスタンスは同じサーバー・パラメータ・ファイルを使用する必要があるため、ノード上の記憶域を使用する場合、サーバー・パラメータ・ファイルのデフォルトの位置は、Oracle RACデータベースおよびOracle ASMインスタンスには適切ではありません…

仮想化支援機能(VT-x/AMD-V)を有効化できません

環境 ホストOS: Windows XP Professional Version 2002 Service Pack 3 仮想化ソフトウェア: VirtualBox 4.0 (4.0.0 r69151) 現象 VirtualBox 4.0 に 64bit の仮想マシンを作成し、Oracle Solaris 10 (x86)をインストールしようとすると以下のエラーが発生す…

Solaris 10 で使われているファイルシステムの種類を調べる

mount -v -bash-3.00# mount -v /dev/dsk/c0t0d0s0 on / type ufs read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=780000 on Wed Jan 19 11:06:02 2011 /devices on /devices type devfs read/write/setuid/devices/dev=484000…

EclipseでCコンパイル環境構築 on Windows XP

ソフトウェアをダウンロードする Eclipse http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/helios/SR1/eclipse-cpp-helios-SR1-win32.zip から eclipse-cpp-helios-SR1-win32.zip をダウンロードする。 Cygwin Git -…

Oracle Database 11gR2 on Solaris10 on VirtualBox 4.0 on Windows XP

ソフトウェアをダウンロードする VirtualBox 4.0 for Windows hosts Downloads – Oracle VM VirtualBox から以下をダウンロードする。 VirtualBox 4.0 for Windows hosts (VirtualBox-4.0.0-69151-Win.exe) Oracle Solaris 10 (x86) Oracle Solaris 11 - Dow…

Oracle Database の Direct NFS について

Direct NFS とは Oracle Database 独自の NFS クライアント。11gR1 以降で使用できる。 Oracle Database 11g リリース2(11.2)では、オペレーティング・システムのカーネルNFSクライアントを使用するかわりに、Oracle内部のDirect NFSクライアントを使用し…

手順書の書き方

手順書、特に Oracle Database の構築手順書を書くときのポイントをまとめてみました。 前提条件を書く 参考情報を書く 製品マニュアル、Note、KROWN、書籍などから引用した場合は情報源を記載する。 さらに詳しい情報を調べたいとき、どのような情報源を参…