Question

Oracle 10g EM Dbconsole will not start up!

Asked by: kencrest

Hello...
I'm running Oracle 10g (10.2.0.1) on RHEL4. My listener, database and Oracle HTTP Server are up and running. The sole purpose of this database is to run Oracle Application Express applications. The oracle apex applications are all running fine.

However, I cannot for the life of me get Oracle EM (dbconsole) running. I've tried everything but obviously not the right thing. I can't console to my running database? It keeps failing everytime I start it. I've looked at some logs but I don't know what I'm looking for. Oracle EM was running just fine on Friday, but wouldn't come up Monday morning.

My url for EM is http://172.23.183.169:1158/em
At the terminal session prompt I type >emctl start dbconsole
It comes back after a 5 minute timeout saying it failed. It appears that the agent (3938) does not want to start.
Here is some log info further below...
Please let me know what direction I should go on to resolve this. Thx!
Regards,
Ken

ENV VARIABLES:
[oracle@clthcmmb03 ~]$ env|sort
COLORTERM=gnome-terminal
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-uEKexk6EGd
DESKTOP_SESSION=default
DESKTOP_STARTUP_ID=
DISPLAY=:0.0
G_BROKEN_FILENAMES=1
GDMSESSION=default
GNOME_DESKTOP_SESSION_ID=Default
GNOME_KEYRING_SOCKET=/tmp/keyring-uFau6k/socket
GTK_RC_FILES=/etc/gtk/gtkrc:/home/oracle/.gtkrc-1.2-gnome2
HISTSIZE=1000
HOME=/home/oracle
HOSTNAME=clthcmmb03
INPUTRC=/etc/inputrc
KDEDIR=/usr
LANG=en_US.UTF-8
LD_LIBRARY_PATH=/home/oracle/oracle/product/10.2.0/db_1/lib:/home/oracle/oracle/product/10.2.0/db_2/opmn/lib:
LESSOPEN=|/usr/bin/lesspipe.sh %s
LOGNAME=oracle
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
MAIL=/var/spool/mail/oracle
ORACLE_HOME=/home/oracle/oracle/product/10.2.0/db_1
ORACLE_SID=apex
PATH=/home/oracle/oracle/product/10.2.0/db_1/bin:/home/oracle/oracle/product/10.2.0/db_2/opmn/bin:/home/oracle/oracle/product/10.2.0/db_1/bin:/home/oracle/oracle/product/10.2.0/db_2/opmn/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
PWD=/home/oracle
SESSION_MANAGER=local/clthcmmb03:/tmp/.ICE-unix/6580
SHELL=/bin/bash
SHLVL=2
SSH_AGENT_PID=6632
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SSH_AUTH_SOCK=/tmp/ssh-dybiGw6580/agent.6580
TERM=xterm
USER=oracle
_=/usr/bin/env
WINDOWID=39845962
XAUTHORITY=/home/oracle/.Xauthority

TERMINAL SESSION:
[oracle@clthcmmb03 ~]$ emctl start dbconsole
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://clthcmmb03:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ............................................................................................. failed.
------------------------------------------------------------------
Logs are generated in directory /home/oracle/oracle/product/10.2.0/db_1/clthcmmb03_apex/sysman/log


EMDCTL.TRC:
2007-08-13 15:08:39 Thread-3086911712 WARN http: snmehl_connect: connect failed to (clthcmmb03:3938): Connection refused (error = 111)
2007-08-13 15:08:45 Thread-3086911712 WARN http: snmehl_connect: connect failed to (clthcmmb03:1158): Connection refused (error = 111)


EMAGENT.TRC:
2007-08-13 14:40:34 Thread-3086911712 ERROR http: snmehl_allocateListenerPort: failed to bind socket: Address already in use (errno=98)
2007-08-13 14:40:34 Thread-3086911712 ERROR http: nmehl_startHttpListener: failed to listen to HTTP port for http://clthcmmb03:3938/emd/main
2007-08-13 14:40:34 Thread-3086911712 ERROR main: nmehl_startHttpListener failed starting http listener
2007-08-13 15:10:12 Thread-3086911712 ERROR http: snmehl_allocateListenerPort: failed to bind socket: Address already in use (errno=98)
2007-08-13 15:10:12 Thread-3086911712 ERROR http: nmehl_startHttpListener: failed to listen to HTTP port for http://clthcmmb03:3938/emd/main
2007-08-13 15:10:12 Thread-3086911712 ERROR main: nmehl_startHttpListener failed starting http listener

EMOMS.TRC:
2007-08-12 02:00:36,607 [NotificationMgrThread] ERROR jdbc.ConnectionWrapper _applySessionParams.2980 - SQLException message: ORA-01089: immediate shutdown in progress - no operations are permitted

java.sql.SQLException: ORA-01089: immediate shutdown in progress - no operations are permitted

at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:330)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:287)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:742)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:214)
at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:953)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1260)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3290)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3334)
at oracle.sysman.util.jdbc.ConnectionWrapper._applySessionParams(ConnectionWrapper.java:2971)
at oracle.sysman.util.jdbc.ConnectionWrapper.<init>(ConnectionWrapper.java:181)
at oracle.sysman.emSDK.svc.conn.FGAConnection.<init>(FGAConnection.java:115)
at oracle.sysman.emSDK.svc.conn.FGAConnectionCache.getFGAConnection(FGAConnectionCache.java:192)
at oracle.sysman.emSDK.svc.conn.ConnectionService.getSystemConnection(ConnectionService.java:683)
at oracle.sysman.emdrep.notification.NotificationMgr.getConnection(NotificationMgr.java:252)
at oracle.sysman.emdrep.notification.NotificationMgr.resetConnection(NotificationMgr.java:298)
at oracle.sysman.emdrep.notification.NotificationMgr.run(NotificationMgr.java:1190)

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2007-08-13 at 18:44:23ID22760508
Tags

oracle

,

10g

,

dbconsole

,

start

,

em

Topics

Oracle 10.x

,

Oracle Database

Participating Experts
1
Points
500
Comments
10

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. BMP to JPG
    Hi, I would like to know if in MFC is the libriry function that could take .bmp image/picture and makes it .jpg. Please, send exsact link/name of it. Regard, Gee
  2. Oracle 10g DbConsole
    I have instance running fine before I restart the PC. the PC in DHCP so when reboot I could not start the database due to the fact that new IP assign and the lisnter have the old IP. I set static Ip to the original and boot. now I am abale to open the DB from command line, h...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: schwertnerPosted on 2007-08-14 at 03:27:26ID: 19690656

Is your Database and listener working?

% lsnrctl status
% ps -ef | grep pmon

 

by: kencrestPosted on 2007-08-14 at 08:37:37ID: 19692815

...yes my database is up and running...here is the results from what you requested above. The instance is called 'apex'. It is currently running Oracle Application Express applications which are working just fine. I just can't get in to the dbconsole for the life of me. The database server has a static ip address of 172.23.183.169.

Thx!
Ken

[oracle@clthcmmb03 ~]$ lsnrctl status

LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 14-AUG-2007 11:31:27

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

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date                13-AUG-2007 12:40:18
Uptime                    0 days 22 hr. 51 min. 9 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      ON
Listener Parameter File   /home/oracle/oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File         /home/oracle/oracle/product/10.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=clthcmmb03)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
  Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "apex" has 2 instance(s).
  Instance "apex", status UNKNOWN, has 1 handler(s) for this service...
  Instance "apex", status READY, has 1 handler(s) for this service...
Service "apexXDB" has 1 instance(s).
  Instance "apex", status READY, has 1 handler(s) for this service...
Service "apex_XPT" has 1 instance(s).
  Instance "apex", status READY, has 1 handler(s) for this service...
The command completed successfully
[oracle@clthcmmb03 ~]$
[oracle@clthcmmb03 ~]$ ps -ef|grep pmon
oracle    6920     1  0 Aug13 ?        00:00:00 ora_pmon_apex
oracle   14172  6770  0 11:33 pts/1    00:00:00 grep pmon
[oracle@clthcmmb03 ~]$

 

by: schwertnerPosted on 2007-08-14 at 23:57:05ID: 19697577

This is Linux.
To achive good functionality all
needed environment variables should be set.

% printenv

will show you the variables.
OEM uses ORACLE_SID to know which DB to access.
Check if it is set correctly.
Also PATH has to have entry to Oracle Home directory.

 

by: schwertnerPosted on 2007-08-15 at 01:21:29ID: 19697817

Because I will be on leave next week I will advise you
after setting the environment variables correctly also to
recreate the OEM repository:


To recreate the configuration files and repository for Database Console, run:
$ emca -config dbcontrol db -repos recreate

STARTED EMCA at Jul 24, 2006 10:08:20 PM
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle.  All rights reserved.

Enter the following information:
Database SID: TESTDB
Database Control is already configured for the database TESTDB
You have chosen to configure Database Control for managing the database TESTDB
This will remove the existing configuration and the default settings and perform a fresh configuration
Do you wish to continue? [yes(Y)/no(N)]: Y
Listener port number: 1521
Password for SYS user: change_on_install
Password for DBSNMP user: manager
Password for SYSMAN user: manager
Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
-----------------------------------------------------------------

You have specified the following settings

Database ORACLE_HOME ................ /u01/app/oracle/product/10.2.0/db_1

Database hostname ................ linux3
Listener port number ................ 1521
Database SID ................ TESTDB
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............

-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: Y
Jul 24, 2006 10:08:50 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/TESTDB/emca_2006-07-24_10-08-20-PM.log.
Jul 24, 2006 10:08:53 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Jul 24, 2006 10:09:29 PM oracle.sysman.emcp.EMReposConfig dropRepository
INFO: Dropping the EM repository (this may take a while) ...
Jul 24, 2006 10:11:23 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Jul 24, 2006 10:11:23 PM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Jul 24, 2006 10:15:09 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Jul 24, 2006 10:15:18 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Jul 24, 2006 10:17:21 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Jul 24, 2006 10:17:22 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is http://linux3:1158/em <<<<<<<<<<<
Enterprise Manager configuration completed successfully
FINISHED EMCA at Jul 24, 2006 10:17:22 PM

 

by: kencrestPosted on 2007-08-17 at 10:11:26ID: 19718523

Hi Schwertner,
Thx for the reply. I'll rebuilt the OEM repository as you recommended. My environmental variables are below that you wanted to see. Another question for you...why does my TNS Listener say that it has...2 instances for my service/sid 'apex'??  I have only one database instance on this machine named 'apex.'  (TNS Listener Status is pasted in its entirety above in my previous message)

Service "apex" has 2 instance(s).
  Instance "apex", status UNKNOWN, has 1 handler(s) for this service...
  Instance "apex", status READY, has 1 handler(s) for this service...

Is this normal and ok??

Thx
Ken

My environment variables below are that you wanted to see:
ENV VARIABLES:
[oracle@clthcmmb03 ~]$ env|sort
COLORTERM=gnome-terminal
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-uEKexk6EGd
DESKTOP_SESSION=default
DESKTOP_STARTUP_ID=
DISPLAY=:0.0
G_BROKEN_FILENAMES=1
GDMSESSION=default
GNOME_DESKTOP_SESSION_ID=Default
GNOME_KEYRING_SOCKET=/tmp/keyring-uFau6k/socket
GTK_RC_FILES=/etc/gtk/gtkrc:/home/oracle/.gtkrc-1.2-gnome2
HISTSIZE=1000
HOME=/home/oracle
HOSTNAME=clthcmmb03
INPUTRC=/etc/inputrc
KDEDIR=/usr
LANG=en_US.UTF-8
LD_LIBRARY_PATH=/home/oracle/oracle/product/10.2.0/db_1/lib:/home/oracle/oracle/product/10.2.0/db_2/opmn/lib:
LESSOPEN=|/usr/bin/lesspipe.sh %s
LOGNAME=oracle
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
MAIL=/var/spool/mail/oracle
ORACLE_HOME=/home/oracle/oracle/product/10.2.0/db_1
ORACLE_SID=apex
PATH=/home/oracle/oracle/product/10.2.0/db_1/bin:/home/oracle/oracle/product/10.2.0/db_2/opmn/bin:/home/oracle/oracle/product/10.2.0/db_1/bin:/home/oracle/oracle/product/10.2.0/db_2/opmn/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
PWD=/home/oracle
SESSION_MANAGER=local/clthcmmb03:/tmp/.ICE-unix/6580
SHELL=/bin/bash
SHLVL=2
SSH_AGENT_PID=6632
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SSH_AUTH_SOCK=/tmp/ssh-dybiGw6580/agent.6580
TERM=xterm
USER=oracle
_=/usr/bin/env
WINDOWID=39845962
XAUTHORITY=/home/oracle/.Xauthority

 

by: schwertnerPosted on 2007-08-24 at 01:07:10ID: 19760433

You have two entries in "LISTENER STATUS", because the first entry
seems to be the initial and the second is after registration of the
instance by the listener.
The main thing you have to pay attention is if you can
connect normally to the instance from other machine.
If not - you will need some additional simple
changes in the Listener config files.

 

by: kencrestPosted on 2007-08-24 at 08:14:00ID: 19762839

Hi Schwertner,
Welcome back from your trip! I went ahead and rebuilt my OEM Repository as you suggested and some interresting things happened.

>emca -config dbcontrol db -repos recreate

Although the repository created successfully, I got an error saying that dbcontrol could not start up as ports were in use. "SEVERE: Cannot start Database Control. The following ports are already in use: [Database Control HTTP port:1158 EM agent port:3938 RMI port for Database Control:5520 JMS port for Database Control:5540]."

This is the only database instance running on this machine. I'm confused as to why it would be giving me this error. Why does it think that these ports are in use?

Here's the output from the command, the log file, and a netstat -l listing showing which ports are listening.

Any help would be appreciated!

Thx!
Ken

INFO: Repository successfully created
Aug 20, 2007 5:46:44 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Cannot start Database Control. The following ports are already in use: [Database Control HTTP port:1158 EM agent port:3938 RMI port for Database Control:5520 JMS port for Database Control:5540].
Refer to the log file at /home/oracle/oracle/product/10.2.0/db_1/cfgtoollogs/emca/apex/emca_2007-08-20_05-34-00-PM.log for more details.
Could not complete the configuration. Refer to the log file at /home/oracle/oracle/product/10.2.0/db_1/cfgtoollogs/emca/apex/emca_2007-08-20_05-34-00-PM.log for more details.
[oracle@clthcmmb03 ~]$


LOG FILE Extract:
CONFIG: Successfully deployed state dirs for clthcmmb03
Aug 20, 2007 5:46:44 PM oracle.sysman.emcp.EMAgentConfig performConfiguration
CONFIG: Successfully updated agent config files
Aug 20, 2007 5:46:44 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/oracle/product/10.2.0/db_1/sysman/config/emd.properties.emca.tmp to /home/oracle/oracle/product/10.2.0/db_1/sysman/config/emd.properties
Aug 20, 2007 5:46:44 PM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file /home/oracle/oracle/product/10.2.0/db_1/sysman/config/emd.properties.emca.tmp has been copied to /home/oracle/oracle/product/10.2.0/db_1/sysman/config/emd.properties
Aug 20, 2007 5:46:44 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/oracle/product/10.2.0/db_1/sysman/emd/targets.xml.emca.tmp to /home/oracle/oracle/product/10.2.0/db_1/sysman/emd/targets.xml
Aug 20, 2007 5:46:44 PM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file /home/oracle/oracle/product/10.2.0/db_1/sysman/emd/targets.xml.emca.tmp has been copied to /home/oracle/oracle/product/10.2.0/db_1/sysman/emd/targets.xml
Aug 20, 2007 5:46:44 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Cannot start Database Control. The following ports are already in use: [Database Control HTTP port:1158 EM agent port:3938 RMI port for Database Control:5520 JMS port for Database Control:5540].
Refer to the log file at /home/oracle/oracle/product/10.2.0/db_1/cfgtoollogs/emca/apex/emca_2007-08-20_05-34-00-PM.log for more details.
Aug 20, 2007 5:46:44 PM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Cannot start Database Control. The following ports are already in use: [Database Control HTTP port:1158 EM agent port:3938 RMI port for Database Control:5520 JMS port for Database Control:5540].
at oracle.sysman.emcp.EMDBPostConfig.areDbcPortsFree(EMDBPostConfig.java:1661)
at oracle.sysman.emcp.EMDBPostConfig.performConfiguration(EMDBPostConfig.java:451)
at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:177)
at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:146)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:155)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)


NETSTAT -l
[oracle@clthcmmb03 ~]$ netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 clthcmmb03:7200 *:* LISTEN
tcp 0 0 *:7777 *:* LISTEN
tcp 0 0 *:smux *:* LISTEN
tcp 0 0 *:mysql *:* LISTEN
tcp 0 0 *:netbios-ssn *:* LISTEN
tcp 0 0 *:5900 *:* LISTEN
tcp 0 0 clthcmmb03:2381 *:* LISTEN
tcp 0 0 0.0.0.6:2381 *:* LISTEN
tcp 0 0 172.23.183.169:2381 *:* LISTEN
tcp 0 0 *:sunrpc *:* LISTEN
tcp 0 0 *:10000 *:* LISTEN
tcp 0 0 *:1521 *:* LISTEN
tcp 0 0 *:krb5_prop *:* LISTEN
tcp 0 0 *:6003 *:* LISTEN
tcp 0 0 clthcmmb03:6100 *:* LISTEN
tcp 0 0 *:ftp *:* LISTEN
tcp 0 0 clthcmmb03:ipp *:* LISTEN
tcp 0 0 *:6200 *:* LISTEN
tcp 0 0 *:32792 *:* LISTEN
tcp 0 0 clthcmmb03:smtp *:* LISTEN
tcp 0 0 *:microsoft-ds *:* LISTEN
tcp 0 0 clthcmmb03:2301 *:* LISTEN
tcp 0 0 0.0.0.6:2301 *:* LISTEN
tcp 0 0 172.23.183.169:2301 *:* LISTEN
tcp 0 0 *:http *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
udp 0 0 *:2563 *:*
udp 0 0 clthcmmb03:1028 *:*
udp 0 0 clthcmmb03:1029 *:*
udp 0 0 clthcmmb03:1030 *:*
udp 0 0 172.23.183.169:netbios-ns *:*
udp 0 0 *:netbios-ns *:*
udp 0 0 172.23.183.169:netbios-dgm *:*
udp 0 0 *:netbios-dgm *:*
udp 0 0 *:2458 *:*
udp 0 0 clthcmmb03:25375 *:*
udp 0 0 clthcmmb03:25376 *:*
udp 0 0 *:snmp *:*
udp 0 0 *:snmptrap *:*
udp 0 0 *:2083 *:*
udp 0 0 *:2084 *:*
udp 0 0 clthcmmb03:25393 *:*
udp 0 0 *:748 *:*
udp 0 0 *:kerberos_master *:*
udp 0 0 *:sunrpc *:*
udp 0 0 *:ipp *:*
udp 0 0 172.23.183.169:ntp *:*
udp 0 0 clthcmmb03:ntp *:*
udp 0 0 *:ntp *:*
udp 0 0 *:ntp *:*
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 7579 /var/lib/mysql/mysql.sock
unix 2 [ ACC ] STREAM LISTENING 15701 /var/tmp/.oracle/sEXTPROC1
unix 2 [ ACC ] STREAM LISTENING 8173 /tmp/.font-unix/fs7100
unix 2 [ ACC ] STREAM LISTENING 13725 /tmp/.gdm_socket
unix 2 [ ACC ] STREAM LISTENING 15703 /var/tmp/.oracle/s#6840.1
unix 2 [ ACC ] STREAM LISTENING 13832 /tmp/.X11-unix/X0
unix 2 [ ACC ] STREAM LISTENING 15706 /var/tmp/.oracle/s#6840.2
unix 2 [ ACC ] STREAM LISTENING 14807 /tmp/mapping-oracle
unix 2 [ ACC ] STREAM LISTENING 14268 /tmp/ssh-dybiGw6580/agent.6580
unix 2 [ ACC ] STREAM LISTENING 14295 /tmp/orbit-oracle/linc-19f0-0-398f676f54732
unix 2 [ ACC ] STREAM LISTENING 14304 /tmp/orbit-oracle/linc-19b4-0-3c90bd7268e43
unix 2 [ ACC ] STREAM LISTENING 14462 /tmp/.ICE-unix/6580
unix 2 [ ACC ] STREAM LISTENING 14471 /tmp/keyring-uFau6k/socket
unix 2 [ ACC ] STREAM LISTENING 14481 /tmp/orbit-oracle/linc-19f5-0-2a2e23d663ad1
unix 2 [ ACC ] STREAM LISTENING 14275 @/tmp/dbus-uEKexk6EGd
unix 2 [ ACC ] STREAM LISTENING 14501 /tmp/orbit-oracle/linc-19f7-0-20e59b5678786
unix 2 [ ACC ] STREAM LISTENING 14597 /tmp/orbit-oracle/linc-1a15-0-3bae216a82e63
unix 2 [ ACC ] STREAM LISTENING 14627 /tmp/orbit-oracle/linc-1a20-0-45f53a962d1b1
unix 2 [ ACC ] STREAM LISTENING 14663 /tmp/orbit-oracle/linc-1a24-0-4a81afb83fc8
unix 2 [ ACC ] STREAM LISTENING 14668 /tmp/orbit-oracle/linc-1a22-0-4a81afb84243
unix 2 [ ACC ] STREAM LISTENING 14692 /tmp/orbit-oracle/linc-1a26-0-4a81afba2502
unix 2 [ ACC ] STREAM LISTENING 14716 /tmp/orbit-oracle/linc-1a28-0-4a81afbc1f69
unix 2 [ ACC ] STREAM LISTENING 14768 /tmp/orbit-oracle/linc-1a31-0-2d401161d8d3
unix 2 [ ACC ] STREAM LISTENING 14821 /tmp/orbit-oracle/linc-1a2c-0-5b393ea916ecc
unix 2 [ ACC ] STREAM LISTENING 14837 /tmp/orbit-oracle/linc-1a3b-0-5b393ea92aa98
unix 2 [ ACC ] STREAM LISTENING 14875 /tmp/orbit-oracle/linc-1a3d-0-4d4825aea283
unix 2 [ ACC ] STREAM LISTENING 14908 /tmp/orbit-oracle/linc-1a3f-0-4d4825ae6dc91
unix 2 [ ACC ] STREAM LISTENING 14976 /tmp/orbit-oracle/linc-1a42-0-4d4825ae8e4db
unix 2 [ ACC ] STREAM LISTENING 15555 /tmp/orbit-oracle/linc-1a70-0-7c3ecf6b622e4
unix 2 [ ACC ] STREAM LISTENING 3250446 /tmp/ksocket-oracle/kdeinit__0
unix 2 [ ACC ] STREAM LISTENING 3250448 /tmp/ksocket-oracle/kdeinit-:0
unix 2 [ ACC ] STREAM LISTENING 3250454 /tmp/.ICE-unix/dcop16694-1187024927
unix 2 [ ACC ] STREAM LISTENING 3250475 /tmp/ksocket-oracle/klauncherjAx6La.slave-socket
unix 2 [ ACC ] STREAM LISTENING 3682455 /tmp/orbit-oracle/linc-1c7e-0-56225ca3e7baf
unix 2 [ ACC ] STREAM LISTENING 1256092055 /tmp/orbit-oracle/linc-ca7-0-368a06bee8b42
unix 2 [ ACC ] STREAM LISTENING 7762 /dev/gpmctl
unix 2 [ ACC ] STREAM LISTENING 12341085 /tmp/mcop-oracle/clthcmmb03-7563-46c0a1a3
unix 2 [ ACC ] STREAM LISTENING 14516 @/tmp/fam-oracle-
unix 2 [ ACC ] STREAM LISTENING 7145 /var/run/acpid.socket
unix 2 [ ACC ] STREAM LISTENING 11484 /var/run/dbus/system_bus_socket
[oracle@clthcmmb03 ~]$

 

by: schwertnerPosted on 2007-08-24 at 09:13:30ID: 19763367

 

by: kencrestPosted on 2007-09-14 at 08:34:33ID: 19892483

Hi Schwertner,
Thx for all your help. I thought I'd let you know that I finally got the problem resolved. I had to call Oracle Support and they worked thru the problem with me. Believe it or not, it turned out to be a simple problem that caused a big mess. My 'hosts' file (/etc/hosts) was not set correctly. I did not have the fully qualified domain name set for the host/machine name. Once it was set we went thru dropping the repository, recreating it, and the configuring it. Afterwards everything went back to running beautifully. The Oracle support person mentioned how Oracle 10g EM is very sensitive to the host name as many parts of the Web Admin interface reference the java components by means of the host name.

I thought you'd be interrested in the update. Thx again for everything and all your help. I truly appreciate it. I'm sure we'll be talking again in this forum! ;-)

Kind Regards,
Ken

 

by: schwertnerPosted on 2007-09-14 at 23:29:53ID: 19896681

Hello Ken,

really the Linux installations aree very taugh!
But in this case I think you will not be able to connect to
the DB via SQP*Plus from other machine.

I am very glad that you have solved the problem.

Best Regards

Joe

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...