Skip to Main Content
  • Questions
  • Connectivity Probel to Management Server

Breadcrumb

Question and Answer

Tom Kyte

Thanks for the question, Faisal.

Asked: August 14, 2002 - 12:58 pm UTC

Last updated: November 07, 2007 - 5:10 pm UTC

Version: 8.1.6

Viewed 1000+ times

You Asked

I HAVE INSTALL ORACLE 8i DATABASE WITH ADVANCE SERVER 2000 OPERATING SYSTEM.WHEN I TRY TO CONNECT THE MANAGEMENT SERVER THAN I RECEIVE THE FOLLOWING ERRROR
ERROR CODE VTK-1000
UNABLE TO CONN TO THE MANAGEMENT SERVER NULL.PLEASE VERIFY THAT YOU HAVE ENTERED THE CURRENT HOST NAME AND THE STATUS OF THE ORACLE MANAGEMENT SERVER.

and Tom said...

Oracle8i, release 2 (version 816) is most definitely not supported or supportable on this operating system.

This operating system was released long after Oracle8i release 2 was.

You need to use Windows NT with this release or upgrade to at least Oracle8i release 3 (version 817)


This is a metalink support note on this topic HOWEVER -- your software configuration is just asking for huge and continuing problems



Article-ID: <Note:114682.1>
Circulation: PUBLISHED (EXTERNAL)
Folder: em.Console.V2
Topic: Troubleshooting Guides and Tracing
Title: TROUBLESHOOTING GUIDE: How to Troubleshoot A VTK-1000 Error
Logging into EM 2
Document-Type: BULLETIN
Impact: MEDIUM
Skill-Level: NOVICE
Attachments: NONE
Content-Type: TEXT/PLAIN
Keywords: EMCONNECT; EMCONSOLE; EMOMS;
Errors: VTK-1000;
Products: 1/EM_CONSOLE (2);
Platforms: GENERIC;

TROUBLESHOOTING GUIDE: VTK-1000 Error
=====================================

Goal: How to troubleshoot a VTK-1000 error.


Fact: Oracle Enterprise Manager

Change: NOTE ROLE:
The Enterprise Manager (EM) Console connects to a middle-tier service called the
Management Server (OMS). If this connection attempt fails for any reason, the
EM Client will receive the error:

VTK-1000: Unable to connect to Management Server <Name>
Please verify that you have entered the correct name and
status of the Oracle Management Server
OK


Fix: The VTK-1000 error can occur due to problems with the EM Client setup
or because the Management Server is not started. To troubleshoot the error,
begin at the EM Client:

EM Client:
1. Verify the Management Server hostname listed in the EM Console logon window
is the correct hostname.
For additional information, see
<Note:1067911.6> Logging into Enterprise Manager Console Fails with VTK-1000
If OMS Name is Wrong

2. Verify the Management Server hostname is reachable through TCP/IP from the
EM Client system.
For additional information, see
<Note:1077548.6> Logging into Enterprise Manager Console Fails with VTK-1000
if OMS Name Changes

3. Verify the EM Console and Management Server are at the same patch level.


Next, go to the Management Server:
4. Verify the Management Server is started.
For additional information, see:
<Note:107235.1> How To Start the EM 2 Management Server from the MS-DOS
Command Prompt
<Note:117193.1> How to Start the EM 2 Management Server on a Node using DHCP
<Note:109494.1> How to Start the EM 2 Components on Sun Solaris

If the Management Server will not start, turn on OMS logging and look in
the oms log file for possible failure messages.

NOTE: For instructions on how to log the OMS startup process, see
Additional Troubleshooting hints listed below.

If the EM client is setup correctly, check the Management Server:
See <Note:133799.1> TROUBLESHOOTING GUIDE: How To Troubleshoot Management
Server Startup Errors




Additional Troubleshooting
--------------------------

If the solutions listed above do not resolve the VTK-1000, additional debugging
information must be captured.

1. To Trace the EM Console, see:
<Note:69522.1> How to Activate Logging and Tracing for EM 2 Components

2. To Trace the OMS, see:
<Note:69522.1> How to Activate Logging and Tracing for EM 2 Components

to retrieve the referenced notes, goto metalink.oracle.com


Rating

  (13 ratings)

Is this answer out of date? If it is, please let us know via a Comment

Comments

Same error with 8.1.7

Riaz Shahid, November 15, 2002 - 6:30 am UTC

I am using 8.1.7.2.1 and recieving the same error. Will i have to make any configuration/steps for this ?

Regards

How to start OEM in Linux?

Sikandar Hayat, September 24, 2003 - 11:54 am UTC


I am trying to connect to OMS (oracle 9.2) but getting the message "VTK-1000". I think I have to start the management server first and it was just starting a service in win but unable to find a way in Linux to start the OMS. In the services there is no Oracle services so how can I start OMS on RH9?

Thanks in advance for your co.

Done

Sikandar Hayat, September 24, 2003 - 12:06 pm UTC

The following worked,

$oemctl start oms

OMS not starting

A reader, December 27, 2004 - 3:14 pm UTC

Hi Tom,

i am trying to start OracleManagementServer from the command prompt 

oemctl start oms

I am getting these errors in the file oms.nohup 

OEMCTL for Windows NT: Version 9.2.0.1.0 Production 
Copyright (c) 1998, 2002, Oracle Corporation.  All rights reserved.
Starting the Oracle Management Server... [main][2004-12-27:14:43:12:739] VdbSession.processError: errorCode >1033<
 [main][2004-12-27:14:43:12:739] VdbSession.processError: errorMsg >ORA-01033: ORACLE initialization or shutdown in progress
<
 [main][2004-12-27:14:43:12:754] VdbSession.processError: database connection error
 [main][2004-12-27:14:43:22:818] VdbSession.processError: errorCode >1033<
 [main][2004-12-27:14:43:22:818] VdbSession.processError: errorMsg >ORA-01033: ORACLE initialization or shutdown in progress
<
oracle.sysman.vxn.VxnBootstrapException: 
VXA-2028 : 
Unable to connect to OMS repository.
    at oracle.sysman.vxa.VxaAppServer.startServices(VxaAppServer.java:1596)
    at oracle.sysman.vxa.VxaAppServer.main(VxaAppServer.java:3144)

Error starting Oracle Management Server. 
VXA-2028 : 
Unable to connect to OMS repository."Could not start management server. Initialization failure" 

So I checked the file omsconfig.properties for the database instance, username and password. The contents of the file are as follows:

#OMS Configuration Properties
#Mon Dec 27 14:39:42 EST 2004
OEM.REPOSITORY.PASSWORD=e0882950b7f6b1dc
oem.BootHost=localhost
OEM.EMCA_SHOW_WELCOME_PAGE=true
OEM.REPOSITORY.LAST_CREATED_SID=oemrep1
OEM.REPOSITORY.DATABASE=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=mc)(Port=1521))(CONNECT_DATA=(SID=oemrep1)))
oem.BootPort=7771
OEM.REPOSITORY.USER=OEMREP1_mc
OEM.REPOSITORY.DATABASE_ORIG=mc:1521:oemrep1

When I go into command prompt and give the following :

c:\>set oracle_sid=oemrep1
c:\>sqlplus /nolog

SQL> connect sys/pw as sysdba;
Connected.
SQL> shutdown immediate;
ORA-01109: database not open


Database dismounted.
ORACLE instance shut down.
14:46:24 > startup;
ORACLE instance started.

Total System Global Area  143727516 bytes
Fixed Size                   453532 bytes
Variable Size             109051904 bytes
Database Buffers           33554432 bytes
Redo Buffers                 667648 bytes
Database mounted.
ORA-01157: cannot identify/lock data file 11 - see DBWR trace file
ORA-01110: data file 11: 'C:\ORADATA\SID\PT\PT_1.DBF'

If I check in a trace file, I see the following:

ORA-01157: cannot identify/lock data file 11 - see DBWR trace file
ORA-01110: data file 11: 'C:\ORADATA\SID\PT\PT_1.DBF'
ORA-27086: skgfglk: unable to lock file - already in use
OSD-04002: unable to open file
O/S-Error: (OS 5) Access is denied.

But why is it giving some error about the datafile in another SID rather than OEMREP1. Am I doing something wrong? I need your guidance.

Thanks.
 

Tom Kyte
December 27, 2004 - 4:34 pm UTC

the init file used to open that server is pointing to control files that say "open this file"

Do you have a dba around that can help you sort out why your init files are messed up or what the underlying cause here is?

this is nothing to do with the mgmt server at all -- everything to do with a scrambled set of parameter files (probably)

A reader, December 27, 2004 - 5:06 pm UTC

This is my first dba assignment. What do I have to check and do to sort all this out? Pls help.

Thanks.

Tom Kyte
December 27, 2004 - 5:30 pm UTC

your init files, who set this up in the first place? aren't they available to at least "talk to"

A reader, December 27, 2004 - 5:32 pm UTC

I set up the init.ora files.

Now after reading your response, I tried doing the foll:

set oracle_sid=oemrep1
sqlplus /nolog
connect sys/pw as sysdba;
startup pfile='c:\oracle\admin\oemrep1\pfile\init.ora';

This instance oemrep1 was created using emca. But still I am getting the same error. What do I do now?

Tom Kyte
December 27, 2004 - 6:31 pm UTC

do you know/understand what control files and such are? do you know where the pfile for this data or spfile is/should be?

is there a chance you messed up and added the same named file to two databases on the same machine.

I suggest you contact support and open a tar, they are better situated than I am to walk you thru all of this stuff ..

how about call support

Jim, December 27, 2004 - 6:19 pm UTC

If this is your first day on the job and you have never set up Oracle before I would call support and have them spend time with you trying to fix your problem.

Try this.

A reader, February 24, 2005 - 9:43 am UTC

Re: set credentials in OMS on Oracle 9i ( In Reply To : set credentials in OMS on Oracle 9i ) Dec 29, 2004 8:50 AM

PROBLEM: CAN NOT GET PREFERRED CREDENTIALS TO SAVE IN ORACLE 9i on REDHAT 9

SOLUTION: USING ROOT, EDIT THE FILE /etc/sysconfig/i18n
CHANGE THE FOLLOWING TWO LINES;

1.) LANG="en_US.UTF-8" to LANG="en_US"
2.) SUPPORTED="en_US.UTF-8:en_US:en" to SUPPORTED="en_US:en"
3.) Completely drop your OEM repository
4.) Restart your system
5.) Restart Oracle 9i (if it hasn't already been started)
6.) Create a new OEM repository
7.) Start the Intelligent Agent(s) ($orahome/bin/agentctl start)
8.) Start the OMS Server ($orahome/bin/oemctl start oms)
9.) Bring up the console ($ora_home/bin/oemapp console &)
10.) Log in with oms superadmin (default: sysman/oem_temp)
11.) Preferences/Preferred Credentials
12.) Set the username/password for a service (such as your node or database)
13.) Click on a different service and you will see a green check or red x in the right column. (make sure it is green by entering the correct user/pwd)
14.) Ok...you're set.

I spent a lot of frustration over getting this to work and read a post where you can't get it to work on RH9 due to a newer java thread lib. This is not altogether correct, as long as you use the correct java internationalization tokens as listed above, it will work.

I hope this helps save others time. This is the ONLY way I could get this to work without having to install a new kernel or some sort of patch (which doesn't exist...?)

GOOD LUCK!!



About OEM

Orcl_dba, April 10, 2005 - 5:30 am UTC

i would like to ask thati get the error while connecting to the OEM..

can u plz suggest something
VTK-1000 : it's the code of the error that i receive. It cannot
resolve the host

i have done everything complete as par documentation requiredd by us..
best regards


Tom Kyte
April 10, 2005 - 10:31 am UTC

please utilize support for installation/configuration

oem problm

cool, April 10, 2005 - 5:37 am UTC

well the response it better but still sorry to say its unclear.. specially the path u defined .. i mean not clearly let us know that where should we go n find the exact doc.. you should give links instead thats more like it ..

and hopefully you say something on hw to connect it Thanks for your service. .
BEst Regards to yOU..


OEM Problem on Solaris

David Prabhakar, July 27, 2005 - 3:01 am UTC

Hi Tom,

Greetings! I apologize if I am disturbing you in your busy schedule. I am stuck here and need your expertise once again.

I am running an Oracle 9iR2 on Solaris 9 Platform. I have custom installed the Database with OEM tool.

I would like to use the OEM to enforce certain maintenance work like setting securities..etc.

Now when i try to start the OEMCTL I get the following error.

-rwxr-xr-x 1 oracle dba 7846 May 3 14:36 oemctl

bash-2.05$ oemctl start oms

OEMCTL for Solaris: Version 9.2.0.1.0 Production
Copyright (c) 1998, 2002, Oracle Corporation. All rights reserved.
Starting the Oracle Management Server...
Could not connect to the OMS: possible error in the configuration file.
bash-2.05$

I really dont know what to edit in the configuration file of the OMS. Please help me in this issue.

Note: I was able to start the DBCA from solaris and configure new database. so, I guess no issues related to terminal settings like ( xhost + ).

Thanks for your valuable time and response.

regards,
David.

Tom Kyte
July 27, 2005 - 9:51 am UTC

please utilize support for installation/configuration issues.

troubleshooting the connectivity issues

Srikanth, November 07, 2007 - 1:17 am UTC

Hi Tom,
Good Morning
i am new to Oracle Database,yesterday in an interview the interviewer asked me like this.....

i am having a database and there are total 500 users.one day i found out that only 400 users are able to connect to the database...so how you will troubleshoot this problem(note: remaining 100 users are valid users only..i.e they are having correct login ids, pwds and their validity period dint expired)
what are things i need to concentrate now...?

Thanks and Regards
Srikanth
Tom Kyte
November 07, 2007 - 5:10 pm UTC

first and only question should be:

so, what error or symptom are they experiencing.

Next question and or course of action depends on the answer to that.

Management Server doesn't start

A reader, September 03, 2009 - 4:57 am UTC

hi tom ; i have 9.2.0.1.0 Enterprise Manager runs on Windows 2000 Advanced Server . i couldn't connect to Enterprise Manager . i check the management server on services it doesnt run. i manually try to start the service but i get an error message that " service start request doesnt run on local computer " smth. like that (error-1053 windows error).
check the agent logs at sysman/log directory oms.nohup file ;

i get an java error message ;

OEMCTL for Windows NT: Version 9.2.0.1.0 Production
Copyright (c) 1998, 2002, Oracle Corporation. All rights reserved.
Starting the Oracle Management Server...java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver
at oracle.sysman.vdb.VdbSessionFactory.construct(VdbSessionFactory.java:523)
at oracle.sysman.vdb.VdbSessionFactory.<init>(VdbSessionFactory.java:432)
at oracle.sysman.vxa.VxaAppServer.tryRepositoryConnection(VxaAppServer.java:2025)
at oracle.sysman.vxa.VxaAppServer.startServices(VxaAppServer.java:1594)
at oracle.sysman.vxa.VxaAppServer.main(VxaAppServer.java:3144)

what does it mean ? how can i solve this error ?

please help :((

thanks...