|
-
Executing script for Enterprise Manager
We are installing 10g on XP Pro. The original install failed, but I was able to delete and re-create the default database, and then logon onto SQL*Plus. However, I'm not able to bring up Enterprise Mgr in my web browser using the web address http://localhost:5500/em. (It just says "page not found".) The original install failed to successfully run the script that creates Enterprise Mgr, so I'm trying to run that script now.
During the original install of Oracle, I received the following error msg:
Exterprise Manager Configuration failed
job_queue_processes must be >= 1
fix errors
Run Enterprise Manager Assistant in stand-alone mode.
You can retry configuring this database with Enterprise Manager later by manually running c:\oracle\product\10.1.0\db_1\bin\emca.
I'm not sure what it means by stand alone mode, but I went into the c:\oracle\product\10.1.0\db_1\bin directory and logged onto SQL*Plus from there, and tried running the emca.bat script, but received the following errors:
SP2-0310: unable to open file "echo.sql"
SP2-0735: unknown SET option beginning "OH=C:\orac..."
SP2-0735: unknown SET option beginning "JRE_JAVA=%..."
SP2-0735: unknown SET option beginning "EMCA_JAR=%..."
SP2-0735: unknown SET option beginning "LIB_DIR=%O..."
SP2-0158: unknown SET option "CLASSPATH="
SP2-0735: unknown SET option beginning "CLASSPATH=..."
SP2-0735: unknown SET option beginning "CLASSPATH=..."
SP2-0735: unknown SET option beginning "CLASSPATH=..."
SP2-0735: unknown SET option beginning "CLASSPATH=..."
SP2-0735: unknown SET option beginning "CLASSPATH=..."
SP2-0735: unknown SET option beginning "CLASSPATH=..."
SP2-0735: unknown SET option beginning "CLASSPATH=..."
SP2-0735: unknown SET option beginning "CLASSPATH=..."
SP2-0735: unknown SET option beginning "CLASSPATH=..."
SP2-0735: unknown SET option beginning "CLASSPATH=..."
SP2-0735: unknown SET option beginning "CLASSPATH=..."
SP2-0735: unknown SET option beginning "CLASSPATH=..."
SP2-0735: unknown SET option beginning "CLASSPATH=..."
SP2-0735: unknown SET option beginning "CLASSPATH=..."
SP2-0734: unknown command beginning "%JRE_JAVA%..." - rest of line ignored.
This is the emca.bat script:
@echo off
set OH=C:\oracle\product\10.1.0\Db_1
set JRE_JAVA=%OH%\jdk\jre\bin\java
set EMCA_JAR=%OH%\jlib\emca.jar
set LIB_DIR=%OH%\jlib
set CLASSPATH=
set CLASSPATH=%CLASSPATH%;%EMCA_JAR%;
set CLASSPATH=%CLASSPATH%%LIB_DIR%\srvm.jar;
set CLASSPATH=%CLASSPATH%%LIB_DIR%\srvmasm.jar;
set CLASSPATH=%CLASSPATH%%LIB_DIR%\emConfigInstall.jar;
set CLASSPATH=%CLASSPATH%%LIB_DIR%\ldapjclnt10.jar;
set CLASSPATH=%CLASSPATH%%LIB_DIR%\ldap.jar;
set CLASSPATH=%CLASSPATH%%LIB_DIR%\share.jar;
set CLASSPATH=%CLASSPATH%%LIB_DIR%\srvmhas.jar;
set CLASSPATH=%CLASSPATH%%LIB_DIR%\oraclepki103.jar;
set CLASSPATH=%CLASSPATH%%OH%\lib\xmlparserv2.jar;
set CLASSPATH=%CLASSPATH%%OH%\oc4j\j2ee\home\oc4j.jar;
set CLASSPATH=%CLASSPATH%%OH%\assistants\jlib\assistantsCommon.jar;
set CLASSPATH=%CLASSPATH%%OH%\sysman\jlib\emCORE.jar;
set CLASSPATH=%CLASSPATH%%OH%\oui\jlib\OraInstaller.jar;
%JRE_JAVA% -classpath %CLASSPATH% -DDISPLAY=%DISPLAY% -DORACLE_HOME=%OH% -DTNS_ADMIN=%TNS_ADMIN% oracle.sysman.emcp.EMConfigAssistant %*
I did a search on the echo.sql file and can't find it, but I don't think running that command is necessary. After that line, I'm not sure why I'm getting a number of "unknown set options". It appears that I may need to edit the script and give the "set CLASSPATH" line an option.
If someone here can help me to get Enterprise Mgr up and running without using any sarcasm, I'd truly appreciate it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|