Connection Refused Error = 79 Emctl
Contents |
CommunityOracle User Group CommunityTopliners CommunityOTN Speaker BureauJava CommunityError: You don't have JavaScript enabled. This tool uses JavaScript and much of it will not work correctly without it enabled. Please turn JavaScript back on and reload this page. Please enter emagent is thrashing. exiting watchdog a title. You can not post a blank message. Please type your
Target Manager Failed At Startup: Targets.xml Was Rejected: Loaded With A Wrong Agent Token
message and try again. More discussions in General Database Discussions All PlacesDatabaseGeneral Database Discussions This discussion is archived
Emagent Has Exited Due To Initialization Failure.
4 Replies Latest reply on Jun 23, 2008 5:44 PM by 113594 Problem with enterprise manager. dbconsole doesnt start. 499866 Jun 11, 2008 4:40 PM Hi all I have a machine runing AIX 5.3. The oracle software we have installed is 10.2.0.3.0. Dbconsole was configured and runing till today, when i stoped it, i cant started it again. emctl start dbconsole Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0 Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved. http://rbcndbs00:1158/em/console/aboutApplication ps: 0509-048 Flag -o was used with invalid list. ps: Not a recognized flag: - Usage: ps [-ANPaedfklmMZ] [-n namelist] [-F Format] [-o specifier[=header],...] [-p proclist][-G|-g grouplist] [-t termlist] [-U|-u userlist] [-c classlist] [ -T pid] [ -L pidlist] Usage: ps [aceglnsuvwxU] [t tty] [processnumber] Starting Oracle Enterprise Manager 10g Database Control .......................... ................................................................... failed. The emdb.nohup shows: ----- Wed Jun 11 17:49:24 2008::DBConsole. Monitoring Agent+Console ----- ----- Wed Jun 11 17:49:24 2008::Console Launched with PID 1060878 at time Wed Jun 11 17:49:24 2008 ----- 08/06/11 16:49:28 Error starting ORMI-Server. Unable to bind socket: The socket name is already in use. ----- Wed Jun 11 17:51:00 2008::The agentTZRegion value in /u01/app/oracle/product/10.2/rbcndbs00_rentapro/sysman/config/emd.propert ies is not in agreement with what agent thinks it should be.Please verify your environment to make sure that TZ setting has not chan ged since the last start of the agent. If you modified the timezone setting in the environment, please stop the agent and exectute 'emctl resetTZ agent' and also execute t he script 'mgmt_target.set_agent_tzrgn' to get the value propagated to repository ----- The emdctl.trc shows: 2008-06-11 17:49:23 Thread-1 WARN http: snmehl_connect: connect failed to (rbcndbs00:3938): A remote host r
Startup Fails If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. Results 1 to 2 of 2 Thread: Dbconsole Startup Fails Tweet Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode https://community.oracle.com/thread/670575 Switch to Threaded Mode 07-16-2009,01:39 PM #1 dbcop View Profile View Forum Posts Junior Member Join Date Jul 2009 Posts 6 Dbconsole Startup Fails Os:AIX DB Version:10.2.0.4 Hi, I have recently upgraded a 9.2.0.7 database to 10.2.4. and OEM was configured manullay using emca. The installation went without any problem. Now I am facing a problem with starting up http://www.dbasupport.com/forums/showthread.php?60035-Dbconsole-Startup-Fails DBconsole although the agent starts up successfully . Below are some evidences and logs. Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0 Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved. https://sapm30:1158/em/console/aboutApplication Starting Oracle Enterprise Manager 10g Database Control ............................................................................................. failed. ------------------------------------------------------------------ Logs are generated in directory /oracle/M30/102_64/sapm30_M30/sysman/log Now when emdctl.trc is viewed the entire contains the two lines given above multiple times. It does not contain anything different from the two lines given below which appears multiple times. [LOG] 2009-07-09 13:25:15 Thread-1 WARN http: snmehl_connect: connect failed to (sapm30:1158): A remote host refused an attempted connect operation. (error = 79) 2009-07-09 13:35:07 Thread-1 WARN http: snmehl_connect: connect failed to (sapm30:3938): A remote host refused an attempted connect operation. (error = 79) 2009-07-09 13:35:25 Thread-1 WARN http: snmehl_connect: connect failed to (sapm30:3938): A remote host refused an attempted connect operation. (error = 79) [/LOG] ================================================================ Please note that the port 1158 and 3938 are active and does have entry in /etc/services file. Contents of emdb.nohup [LOG] ----- Thu Jul 9 13:15:09 2009::Property 'agentTZRegion' is m
with the command ‘emctl start dbconsole' and you got stuck with the error: OC4J Configuration issue. /oc4j/j2ee/OC4J_DBConsole__ not found. for instance: OC4J Configuration issue. /opt/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_db.neoface.pt_ORCL not found. http://www.beyondoracle.com/2009/02/08/oracle-enterprise-manager-fails-to-start-oc4j-configuration-issue/ Then the cause may be that Database Control is not configured or misconfigured… http://lostoracledba.blogspot.com/2012/07/grid-control-agent-11g-on-10g-grid.html This can be verified by checking if the following directories exist in your ORACLE_HOME: /oc4j/j2ee/OC4J_DBConsole__ /_ If those directories do not exist, Database Control has not been configured for the database. SOLUTION To configure the enterprise manager database control for your database, issue the following commands as oracle user: [oracle@neoface connection refused oracle]$ export ORACLE_HOME= [oracle@neoface oracle]$ export ORACLE_SID= [oracle@neoface bin]$ cd $ORACLE_HOME/bin [oracle@neoface bin]$ ./emca -config dbcontrol db -repos create Now just follow the instructions on the screen… you'll need the SYS, DBSNMP and SYSAUX passwords. Sometimes you already have the SYSMAN, DBSNMP and SYSAUX accounts, and the previous EMCA command can fail to create the DBConsole repository the error ORA-20001 occurs. ORA-20001 Sysman Already Exists connection refused error While Running EMCA . The Solution is simple… Drop the existing repository [oracle@neoface oracle]$ cd $ORACLE_HOME/bin [oracle@neoface bin]$ ./emca -deconfig dbcontrol db -repos drop After removing the repository try to created it with the commands I explained previously. After you install the EM repositiry, the DBConsole should be started and you should be able to access the DBConsole using the URL provided at the installation screen. (UPDATE) If the previous drop procedure fails and by checking the logs we see an ORA-01031 insufficient privileges, this may be because we don't have a password file created. Just go to $ORACLE_HOME/dbs and check if we have a file called pwd.ora. If not, create it… [oracle@neoface oracle]$ cd $ORACLE_HOME/bin [oracle@neoface bin]$ ./orapwd file=$ORACLE_HOME/dbs/pwd.ora password=oracle entries=5 Hope it helps! By the PS: to provide better look and give you more resources, my site is now supported by advertising. If you feel that it very annoying, please give me some feedback. If you think it deserves to be clicked… just do it 28 Comments Sebastian Graf April 22, 2009 at 19:26 Hi there, I had the exact same issue and I tried to configure EM with the
about, that is until I came across this head- scratcher of a problem. For a little history: I have a very enthusiastic developer who's as willing as me to try new (relatively) technology. In a bid to move along with the times, we are testing out SOA suite on an 11G database. Now the easy bit was installing an 11G database and pointing the new SOA at it and creating all the relevant schemas and tablespaces. As a DBA who prefers working smart to hard, I decided to point the database at the grid control host. This is were it begins to get interesting, as you all know, there are various methods of installing the grid agent; A push method from grid control. I ruled this out because I wanted an 11g agent. An installation using OUI. This is not supported in 11G A silent installation. Eureka, just what I wanted (not really), but I had no choice. So I go along with the silent install: ./runInstaller -silent -responseFile /location of response file For the less than observant this is after downloading the installables and unzipping the files(if you are as unlucky as me you will need to get the unzip utility from the IBM download page and install it. fun days). Someone mentioned on some forum that Oracle enjoys making life difficult for people still running their RDBMSs on AIX. I am an example of this. Moving on... So everything seems to be working (considering), until I hit some errors: WARN http: nmehl_connect_internal: connect failed to (dbnew-test.3872): Connection refused (error = 79) 2012-07-04 13:32:01,083 Thread-1 ERROR main: nmectla_agentctl: Error connecting to https://dbnew-test:3872/emd/main/. Returning status code 1 Now at this point I did what any experienced DBA would do (hello Google). I got a few hits which after reviewing had nothing to do with my errors (or so i thought). I ploughed ahead regardless. Trying to reconfigure, stop and start the agent, secure the agent, upload the agent: ./agentca -f -i /etc/oraInst.loc ./emctl start agent ./emctl stop agent ./emctl status agent ./emctl secure agent ./emctl unsecure agent-----When I unsecured the agent the agent started but no connection to the repository../emctl upload agent All along I had been barely reviewing one or two of the logs that were generated while I was going through this routine of mine over and over again. At some point I even re-installed the agent. No luc