---
title: "Database Control"
author: "ghsea"
date: "2010-06-19T14:33:18Z"
tags: []
categories: ["数据库"]
slug: "database-control"
draft: false
lastmod: "2010-06-19T14:37:38Z"
id: 694572
url: "https://ghsea.iteye.com/blog/694572"
---

Database Controlは、WebブラウザからOracleサーバを管理できるツールで、Webブラウザからアクセスするためのプロセスが必要です。このプロセスはdbconsoleと呼ばれ、**emctl**コマンドラインユーティリティで制御できます。

emctlについて、下記の三つの形式があります：

①emctl start dbconsole

   このコマンドを実行した後、「Environment variable oracle\_sid not defined.Please define it」のようなメッセージは出る場合、下記のコマンドを実行してから、再度上記のコマンドを実施すれば、okです：

set oracle\_sid=sid\_name

②emctl stop dbconsole

③emctl status dbconsole　　

　　　startやstatus結果からは、Database ControlにアクセスするためのURLも確認できます。

$emctl start dbconsole

Oracle Enterprise Manager 10g Database Control Release 10.1.0.2.0  
Copyright (c) 1996, 2004  Oracle  Corporation. All rights reserved.  
[http://hostname:1158/em](http://hostname:1158/em)

 

[http://webcache.googleusercontent.com/search?q=cache:rHV-nDeRX3YJ:jibun.atmarkit.co.jp/lskill01/rensai/bronzedba03/bronzedba01.html+oracle+emctl&cd=3&hl=ja&ct=clnk&gl=jp](http://webcache.googleusercontent.com/search?q=cache%3ArHV-nDeRX3YJ%3Ajibun.atmarkit.co.jp%2Flskill01%2Frensai%2Fbronzedba03%2Fbronzedba01.html%20oracle%20emctl&cd=3&hl=ja&ct=clnk&gl=jp)