Home Database Mysql Tutorial Oracle无法对所有EM相关帐户解锁怎么办

Oracle无法对所有EM相关帐户解锁怎么办

Jun 07, 2016 pm 04:19 PM
oracle account what to do Related Unlock

创建EM的时候报错: 配置: Failed to unlock mgmt_view account 2013-4-29 22:47:03 oracle.sysman.emcp.EMReposConfig invoke 严重: 无法对所有 EM 相关帐户解锁 2013-4-29 22:47:03 oracle.sysman.emcp.EMConfig perform 严重: 无法对所有 EM 相关帐户解锁

   创建EM的时候报错:

  配置: Failed to unlock mgmt_view account

  2013-4-29 22:47:03 oracle.sysman.emcp.EMReposConfig invoke

  严重: 无法对所有 EM 相关帐户解锁

  2013-4-29 22:47:03 oracle.sysman.emcp.EMConfig perform

  严重: 无法对所有 EM 相关帐户解锁

  有关详细资料, 请参阅 D:oraclecfgtoollogsemcaorclemca_2013_04_29_22_43_32.log 中的日志文件。

  2013-4-29 22:47:03 oracle.sysman.emcp.EMConfig perform

  配置: Stack Trace:

  oracle.sysman.emcp.exception.EMConfigException: 无法对所有 EM 相关帐户解锁

  at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:349)

  at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:158)

  at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)

  at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:590)

  at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1453)

  at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:574)

  at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:522)

  2013-4-29 22:47:03 oracle.sysman.emcp.EMConfig restoreOuiLoc

  配置: Restoring oracle.installer.oui_loc to D:oracleproduct11.2.0dbhome_1oui

  查看日志文件,是因为执行了下面的语句报的错:

  2013-4-29 22:47:03 oracle.sysman.emcp.util.PlatformInterface executeCommand

  配置: 执行 CMD /C D:oracleproduct11.2.0dbhome_1sysmanadminscriptsemcaemcaDbUtil.bat "D:oracleproduct11.2.0dbhome_1sysmanadminscripts;D:oracleproduct11.2.0dbhome_1bin;" D:/oracle/product/11.2.0/dbhome_1/perl/binperl.exe D:oracleproduct11.2.0dbhome_1sysmanadminscriptsemcaemcaDbUtil.pl D:oracleproduct11.2.0dbhome_1 "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=PC201303231245)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl.ke3470.com)))" SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; orcl 1 SYSMAN_PWD 时出错

  但很奇怪的是,单独拿出来并不会出现这样的错误,再往前看看日志,发现执行上面的语句之前,报了另外一个错误:

  2013-4-29 22:47:03 oracle.sysman.emcp.util.PlatformInterface executeCommand

  配置: '?' 不是内部或外部命令,也不是可运行的程序

  或批处理文件。

  可以看出这个是windows下cmd命令提示符显示的错误信息,估计是调用内部命令的时候出错了,再看看刚打开cmd的时候在窗口首行提示的错误信息:

  这里已经可以很确定是windows命令行的问题了,像这样的错误一般在linux下是不会遇到的,执行下面的命令,在执行cmd的时候系统自动运行了某个命令,但是该命令不存在,,所以报错。只要将自动运行置空即可:

  reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftCommand Processor" /v "AutoRun" /d "" /f

  再重新执行操作,不再出现上面的错误了。

  上面的语句添加了一条注册表项,各个参数的意思如下:

  /v:表示要添加的值名AutoRun

  /d:要分配的数据

  /f:不提示强行改写现有数据

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Two Point Museum: All Exhibits And Where To Find Them
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

What should I do if I forget my Ouyi Wallet mnemonic phrase? Can it still be found? What should I do if I forget my Ouyi Wallet mnemonic phrase? Can it still be found? Jul 19, 2024 pm 12:13 PM

In the Web3 world, although it is free, it is full of dangers. Therefore, the first step in the security of Ouyi wallet is to protect the private key and mnemonic phrase. Everyone knows the importance of private keys, and today the emphasis is on mnemonics. The mnemonic phrase can be understood as another form of presentation of the private key. Having the mnemonic phrase is equivalent to owning the private key and controlling the wallet assets. It is also thought that its presence is lower than that of the private key, and users may forget the mnemonic phrase of Ouyi Wallet. So what should I do if I forget the mnemonic phrase of Ouyi Wallet? Can I still retrieve my Ouyi Wallet mnemonic if I forget it? Issues that users need to pay attention to. Generally speaking, if the mnemonic phrase is forgotten, it cannot be retrieved, but try to contact the relevant customer service personnel for help. The editor below will tell you in detail. What should I do if I forget my Ouyi Wallet mnemonic phrase? If you forget the mnemonic phrase of Ouyi Wallet, please try to recall it or contact us.

How long will Oracle database logs be kept? How long will Oracle database logs be kept? May 10, 2024 am 03:27 AM

The retention period of Oracle database logs depends on the log type and configuration, including: Redo logs: determined by the maximum size configured with the "LOG_ARCHIVE_DEST" parameter. Archived redo logs: Determined by the maximum size configured by the "DB_RECOVERY_FILE_DEST_SIZE" parameter. Online redo logs: not archived, lost when the database is restarted, and the retention period is consistent with the instance running time. Audit log: Configured by the "AUDIT_TRAIL" parameter, retained for 30 days by default.

What to do if snowflakes appear on your TV (A practical way to solve the problem of snowflakes on your TV) What to do if snowflakes appear on your TV (A practical way to solve the problem of snowflakes on your TV) Jun 01, 2024 pm 09:44 PM

In our daily lives, TV, as an important entertainment device, often suffers from snowflakes, which affects our viewing experience. This article will introduce you to practical methods to solve the TV snow problem and help you enjoy TV programs better. 1. Analysis of the causes of snowflake problems Snowflakes appearing on TVs are generally caused by signal interference, antenna problems or TV signal sources. 2. Check whether the antenna connection is loose. First, check whether the connection between the TV and the antenna is firm. If it is loose, plug it in again. 3. Choose a suitable antenna to ensure that the position and direction of the antenna are correct. Choosing an antenna with good performance can improve the signal reception quality. 4. Adjust the direction of the antenna. Find the best signal reception direction by rotating or adjusting the angle of the antenna. 5. Use indoor antenna signals

The order of the oracle database startup steps is The order of the oracle database startup steps is May 10, 2024 am 01:48 AM

The Oracle database startup sequence is: 1. Check the preconditions; 2. Start the listener; 3. Start the database instance; 4. Wait for the database to open; 5. Connect to the database; 6. Verify the database status; 7. Enable the service (if necessary ); 8. Test the connection.

How to solve the rustling sound during TV playback (eliminate TV rustling sound) How to solve the rustling sound during TV playback (eliminate TV rustling sound) Jul 21, 2024 pm 03:29 PM

With the advancement of technology and people's increasing demand for high-definition picture quality, TV has become an indispensable part of home entertainment. However, sometimes you may hear an annoying rustling sound while watching TV, which not only affects the viewing experience, but may also cause the TV to malfunction. This article will introduce some methods to solve the rustling sound during TV playback, so that you can enjoy a higher quality movie viewing experience. 1: Check whether the audio cable connection is loose. If there is a rustling sound when the TV is playing, first check whether the audio cable connection is firm. Make sure both ends of the audio cable are plugged into the correct connectors and check for loose connections or poor connections. Two: Adjust the TV volume and audio device settings. Appropriately adjusting the TV volume and audio device settings will help eliminate rustling sounds. try

How much memory does oracle require? How much memory does oracle require? May 10, 2024 am 04:12 AM

The amount of memory required by Oracle depends on database size, activity level, and required performance level: for storing data buffers, index buffers, executing SQL statements, and managing the data dictionary cache. The exact amount is affected by database size, activity level, and required performance level. Best practices include setting the appropriate SGA size, sizing SGA components, using AMM, and monitoring memory usage.

Oracle database server hardware configuration requirements Oracle database server hardware configuration requirements May 10, 2024 am 04:00 AM

Oracle database server hardware configuration requirements: Processor: multi-core, with a main frequency of at least 2.5 GHz. For large databases, 32 cores or more are recommended. Memory: At least 8GB for small databases, 16-64GB for medium sizes, up to 512GB or more for large databases or heavy workloads. Storage: SSD or NVMe disks, RAID arrays for redundancy and performance. Network: High-speed network (10GbE or higher), dedicated network card, low-latency network. Others: Stable power supply, redundant components, compatible operating system and software, heat dissipation and cooling system.

The computer does not have Bluetooth, how to solve it (how to quickly add Bluetooth function and precautions) The computer does not have Bluetooth, how to solve it (how to quickly add Bluetooth function and precautions) Jun 29, 2024 pm 06:57 PM

In modern society, Bluetooth has become an indispensable technology in our daily lives. However, for some older computers, they may not have built-in Bluetooth functionality. What if your computer does not have Bluetooth and you want to use a Bluetooth device? This article will introduce you to several methods and precautions for quickly adding Bluetooth functionality. 1. Use a Bluetooth adapter - A Bluetooth adapter is an external device that can be connected to a computer through a USB interface. -Purchase a compatible Bluetooth adapter and install the driver according to the instructions. -Plug the Bluetooth adapter into the USB port of your computer and wait for the system to automatically install the driver. 2. Check the driver 1. Check if there is a Bluetooth device on the computer. Open the device manager and check if there is a Bluetooth device. if not

See all articles