Monday, December 15, 2008

Good Link for Linux open source books

Good Link for Linux open source books
http://www.dailyart isan.com/ news/open- source-e- books-for- linux/

Agent Upload problem in version 10.2.0.5 (EM Related)

The pending files to get uploaded when you fire
/bin/emctl status Agent shows that the files are pending.. to get uploaded to the OMS.
And it doesnt uploaded even if you give an hour to this..

The problem can be traced as follows:
goto /sysman/log . Open file emagent.trc . Go down find out which xml file is creating the problem.
Goto /emd/upload and remove that xml file. 
Hint here is clearing that file and uploading the rest to the OMS. at least the block is removed.
now do an agent reload
/bin/emctl reload agent
Things should be better now
and agent must show no pending files..

Thursday, December 11, 2008

ORA-01031: insufficient privileges upon instance startup


Very good link: http://it.toolbox.com/blogs/david/ora01031-insufficient-privileges-upon-instance-startup-13759

He then proceeded to creating his instance using the following command:

oradim -new -sid InstanceSID -startmode m -pfile C:\location_to_pfile\init.ora -intpwd password

After which, the instance was created. He proceeded to creating the database itself. Since he was all keen about doing this manually he opened up a Windows CMD and did the following steps:

C:> SET ORACLE_SID=InstanceSID
C:> sqlplus /nolog

SQL*Plus: Release 9.2.0.1.0 - Production on Wed Dec 13 10:18:27 2006

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

SQL> conn sys/password as sysdba

Connected to an idle instance.

SQL> startup nomount pfile=C:\location_to_file\init.ora;

ORA-01031: insufficient privileges

SQL>


As you see, he got an ORA-01031. He didn't understand what is causing this. His O/S user was a member of the ORA_DBA group. He tried logging off windows and then logging backup in. Nothing.