重建oracle oem

由于系统数据没有完全卸掉就重新装的oracle 10g,所以装完后导致oralce oem服务起不来,下图中就是相应的服务。

在网上找一些相关资料,以下把相关的解决方法分享给大家。

1.在命令启动时报错如下

Environment variable ORACLE_SID not defined. Please define it

(首先在命令行设置了oracle_sid(set oracle_sid=orcl),启动还是报错上面的错误,而且还用以下方法

C:/Documents and Settings/jcttest>emca -config db -repos recreate

结果还是报错

 

索性重建:

重建时有点慢,稍等一下就可以了

 

可是在服务启动又报错

http://da3c1cb47edf4fc:5500/em/

在网上查了相应的解决方法如下:

解决的方法就是在用户策略里面将你需要使用的用户授予Logon as a Batch Job的权限。
1. Click on START => Programs => Administrative Tools => Local Security Policy (or also via START => Settings => Control Panel => Administrative Tools) 打开控制面板中的管理工具中的本地安全策略
2. Under Local Policies on the left, select User Rights Assignment folder
然后是本地策略-用户权限分配
3. Look at the right side of the window and scroll down to the "Logon as Batch Job" privilege and select it. 然后找到Logon as a Batch Job(作为批处理作业登陆)这一项
4. Either select Action from the menu bar then Security or right-click on the "Logon as a Batch Job" privilege then Security.
5. Select the Add button which evokes a Select Users/Groups box.
6. From the "Look In" field, select the local workstation/server.
7. Select the User administrator.
8. Select Add then OK.
简要戴图展现如下:

 

 

然后添加用户:

添加完后就可以直接使用了,哈哈

 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值