찾다
데이터 베이스MySQL 튜토리얼Grid Control Agent无法配置成功的案例分享

最近在做GC的实验,在GC服务器上软件都顺利安装成功,OMS和自己上面的AGENT也都能够顺利启动,但是就是DB服务器的agent死活配置不

DB服务器:

 

[root@ocm1 ~]# su - oracle

[oracle@ocm1 ~]$ sqlplus / as sysdba

 

SQL*Plus: Release 10.2.0.1.0 - Production on Sat Jan 10 09:57:00 2015

 

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

 

Connected to an idle instance.

 

SYS@PROD> startup

ORACLE instance started.

 

Total System Global Area  314572800 bytes

Fixed Size                  2020480 bytes

Variable Size              96471936 bytes

Database Buffers          213909504 bytes

Redo Buffers                2170880 bytes

Database mounted.

Database opened.

SYS@PROD> !

[oracle@ocm1 ~]$ emctl status agent

Oracle Enterprise Manager 10g Release 10.2.0.1.0.  

Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.

---------------------------------------------------------------

[oracle@ocm1 ~]$ emctl reload agent

Oracle Enterprise Manager 10g Release 10.2.0.1.0.  

Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.

---------------------------------------------------------------

Agent is Not Running

[oracle@ocm1 ~]$ emctl start agent

Oracle Enterprise Manager 10g Release 10.2.0.1.0.  

Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.

Starting agent ................................. failed.

Consult the log files in: /u01/app/oracle/agent10g/sysman/log

[oracle@ocm1 ~]$ cd /u01/app/oracle/agent10g/sysman/log

[oracle@ocm1 log]$ ll -lrth

total 28K

-rw-r----- 1 oracle oinstall    0 Jan  7 21:07 nfsPatchPlug.log

-rw-r----- 1 oracle oinstall  448 Jan  9 22:26 secure.log

-rw-r----- 1 oracle oinstall  462 Jan 10 09:57 agabend.log

-rw-r----- 1 oracle oinstall 5.0K Jan 10 09:57 emagent.nohup

-rw-r----- 1 oracle oinstall  11K Jan 10 09:58 emctl.log

[oracle@ocm1 log]$ tail -10 agabend.log 

Fri Jan  9 21:42:53 2015

XXXXXXXXXXXXXXXX

Fri Jan  9 22:58:32 2015

XXXXXXXXXXXXXXXX

Fri Jan  9 23:00:38 2015

XXXXXXXXXXXXXXXX

Sat Jan 10 09:46:11 2015

XXXXXXXXXXXXXXXX

Sat Jan 10 09:57:55 2015

XXXXXXXXXXXXXXXX

[oracle@ocm1 log]$ tail -10 emagent.nohup 

----- Sat Jan 10 09:46:15 2015::EMAgent exited at Sat Jan 10 09:46:15 2015 with return value 0. -----

----- Sat Jan 10 09:46:15 2015::EMAgent was shutdown normally. -----

----- Sat Jan 10 09:46:15 2015::Exiting watchdog loop

 -----

----- Sat Jan 10 09:57:55 2015::Agent Launched with PID 4935 at time Sat Jan 10 09:57:55 2015 -----

----- Sat Jan 10 09:57:58 2015::Checking status of EMAgent : 4935 -----

----- Sat Jan 10 09:57:58 2015::EMAgent exited at Sat Jan 10 09:57:58 2015 with return value 0. -----

----- Sat Jan 10 09:57:58 2015::EMAgent was shutdown normally. -----

----- Sat Jan 10 09:57:58 2015::Exiting watchdog loop

 -----

[oracle@ocm1 log]$ tail -10 emctl.log 

4025 :: Sat Jan 10 09:57:37 2015::AgentStatus.pm:Abnormal exit code.

4456 :: Sat Jan 10 09:57:48 2015::AgentLifeCycle.pm: Processing reload agent

4456 :: Sat Jan 10 09:57:48 2015::AgentStatus.pm:Processing reload agent

4456 :: Sat Jan 10 09:57:48 2015::AgentStatus.pm:emdctl status agent returned  0

4456 :: Sat Jan 10 09:57:48 2015::AgentStatus.pm:Agent is not running. Just doing encrypt

4892 :: Sat Jan 10 09:57:55 2015::AgentLifeCycle.pm: Processing start agent

4892 :: Sat Jan 10 09:57:55 2015::AgentLifeCycle.pm: EMHOME is /u01/app/oracle/agent10g 

4892 :: Sat Jan 10 09:57:55 2015::AgentLifeCycle.pm:status agent returned with retCode=0

4892 :: Sat Jan 10 09:57:59 2015::AgentLifeCycle.pm:Watch dog processs id: 4914 exited with an exit code of 0

4892 :: Sat Jan 10 09:58:25 2015::AgentLifeCycle.pm: Exited loop with retCode=0

 

没有发现什么有价值的信息,于是查看make.log,这里记录着软件安装时候的编译记录

 

[oracle@ocm1 log]$ pwd

/u01/app/oracle/agent10g/sysman/log

[oracle@ocm1 log]$ cd ../../install

[oracle@ocm1 install]$ ll -lrth

total 40K

drwxr-x--- 2 oracle oinstall 4.0K Jan  7 21:06 utl

drwxr-x--- 3 oracle oinstall 4.0K Jan  7 21:06 oneoffs

-rw-r--r-- 1 oracle oinstall  12K Jan  7 21:06 make.log

drwxr-x--- 3 oracle oinstall 4.0K Jan  7 21:06 unix

-rw-r----- 1 oracle oinstall  784 Jan  7 21:06 envVars.properties

-rw-r--r-- 1 oracle oinstall  107 Jan  7 21:06 readme.txt

-rw-r----- 1 oracle oinstall   87 Jan  7 21:06 portlist.ini

drwxr-x--- 2 oracle oinstall 4.0K Jan  7 21:07 chainedInstall

[oracle@ocm1 install]$ tail -10 make.log

make: *** [/u01/app/oracle/agent10g/rdbms/lib/rman] Error 1

성명
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.
MySQL에서 뷰를 사용하는 한계는 무엇입니까?MySQL에서 뷰를 사용하는 한계는 무엇입니까?May 14, 2025 am 12:10 AM

mysqlviewshavelimitations : 1) 그들은 upportallsqloperations, datamanipulation throughviewswithjoinsorbqueries를 제한하지 않습니다

MySQL 데이터베이스 확보 : 사용자 추가 및 권한 부여MySQL 데이터베이스 확보 : 사용자 추가 및 권한 부여May 14, 2025 am 12:09 AM

적절한 usermanagementInmysqliscrucialforenhancingsecurityandensuringfefficientDatabaseOperation.1) USECREATEUSERTOWDDUSERS,@'localHost'or@'%'.

MySQL에서 사용할 수있는 트리거 수에 영향을 미치는 요인은 무엇입니까?MySQL에서 사용할 수있는 트리거 수에 영향을 미치는 요인은 무엇입니까?May 14, 2025 am 12:08 AM

mysqldoes notimposeahardlimitontriggers, butpracticalfactorsdeteirefectiveuse : 1) ServerConfigurationimpactStriggerManagement; 2) 복잡한 트리거 스케일 스케일 사이드로드; 3) argertableSlowtriggerTriggerPerformance; 4) High ConconcercencyCancaUspriggerContention; 5) m

MySQL : Blob을 저장하는 것이 안전합니까?MySQL : Blob을 저장하는 것이 안전합니까?May 14, 2025 am 12:07 AM

예, It 'safetostoreBlobdatainmysql, butconsidertheStefactors : 1) StoragesPace : BlobScanconSumeSignificantspace, 잠재적으로 증가하는 CostsandSlownperformance

MySQL : PHP 웹 인터페이스를 통해 사용자 추가MySQL : PHP 웹 인터페이스를 통해 사용자 추가May 14, 2025 am 12:04 AM

PHP 웹 인터페이스를 통해 MySQL 사용자를 추가하면 MySQLI 확장 기능을 사용할 수 있습니다. 단계는 다음과 같습니다. 1. MySQL 데이터베이스에 연결하고 MySQLI 확장자를 사용하십시오. 2. 사용자를 생성하고 CreateUser 문을 사용하고 Password () 함수를 사용하여 암호를 암호화하십시오. 3. SQL 주입 방지 및 MySQLI_REAL_ESCAPE_STRING () 함수를 사용하여 사용자 입력을 처리하십시오. 4. 새 사용자에게 권한을 할당하고 보조금 명세서를 사용하십시오.

MySQL : Blob 및 기타없는 SQL 스토리지, 차이점은 무엇입니까?MySQL : Blob 및 기타없는 SQL 스토리지, 차이점은 무엇입니까?May 13, 2025 am 12:14 AM

mysql'sblobissuilableforstoringbinarydatawithinareldatabase, whilenosqloptionslikemongodb, redis, and cassandraofferflexible, scalablesolutionsforunstuctureddata.blobissimplerbutcanslowwownperformance를 사용하는 것들보업 betterscal randaysand

MySQL 추가 사용자 : 구문, 옵션 및 보안 모범 사례MySQL 추가 사용자 : 구문, 옵션 및 보안 모범 사례May 13, 2025 am 12:12 AM

TOADDAUSERINMYSQL, 사용 : CreateUser'UserName '@'host'IdentifiedBy'Password '; 여기서'showTodoitseciRely : 1) ChoosetheHostCareLyTocon trolaccess.2) setResourcelimitswithOptionslikemax_queries_per_hour.3) Usestrong, iriquepasswords.4) enforcessl/tlsconnectionswith

MySQL : 문자열 데이터 유형을 피하는 방법 일반적인 실수?MySQL : 문자열 데이터 유형을 피하는 방법 일반적인 실수?May 13, 2025 am 12:09 AM

toavoidcommonmistakeswithstringdatatypesinmysql, stroundStringTypenuances, chooseTherightType, andManageEncodingAndCollationSettingSefectively.1) usecharforfixed-lengthstrings, varcharvariable-length, andtext/blobforlargerdata.2) setcarcatter

See all articles

핫 AI 도구

Undresser.AI Undress

Undresser.AI Undress

사실적인 누드 사진을 만들기 위한 AI 기반 앱

AI Clothes Remover

AI Clothes Remover

사진에서 옷을 제거하는 온라인 AI 도구입니다.

Undress AI Tool

Undress AI Tool

무료로 이미지를 벗다

Clothoff.io

Clothoff.io

AI 옷 제거제

Video Face Swap

Video Face Swap

완전히 무료인 AI 얼굴 교환 도구를 사용하여 모든 비디오의 얼굴을 쉽게 바꾸세요!

뜨거운 도구

ZendStudio 13.5.1 맥

ZendStudio 13.5.1 맥

강력한 PHP 통합 개발 환경

메모장++7.3.1

메모장++7.3.1

사용하기 쉬운 무료 코드 편집기

VSCode Windows 64비트 다운로드

VSCode Windows 64비트 다운로드

Microsoft에서 출시한 강력한 무료 IDE 편집기

SublimeText3 Linux 새 버전

SublimeText3 Linux 새 버전

SublimeText3 Linux 최신 버전

SublimeText3 영어 버전

SublimeText3 영어 버전

권장 사항: Win 버전, 코드 프롬프트 지원!