Home » RDBMS Server » Server Administration » strange issue ....!!!
strange issue ....!!! [message #146466] Thu, 10 November 2005 11:52 Go to next message
balavignesh
Messages: 180
Registered: March 2005
Senior Member
hai,

we need to drop the user.
while doing so , we get the errors as follows
i could not able to drop the users
SQL> drop user mobile_admin1 cascade;
drop user mobile_admin1 cascade
*
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-01422: exact fetch returns more than requested number of rows
ORA-06512: at line 8
ORA-00604: error occurred at recursive SQL level 1
ORA-00942: table or view does not exist
ORA-06512: at line 7



db-->9i

os-->linux

Plz help out...!!

regards
bala
Re: strange issue ....!!! [message #146506 is a reply to message #146466] Thu, 10 November 2005 19:31 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
Did you try running the catmd script (logged in as sys)?
oracle@mutation#ls -lrt $ORACLE_HOME/md/admin/catmd.sql
-rw-r--r--   1 oracle   dba         6759 May 23  2003 /u01/app/oracle/product/9.2.0/md/admin/catmd.sql
Re: strange issue ....!!! [message #146616 is a reply to message #146506] Fri, 11 November 2005 08:35 Go to previous messageGo to next message
balavignesh
Messages: 180
Registered: March 2005
Senior Member
yes. few days back we tried that...!!!
Is this the cause for the issue..?
How to get rid of the issue...?
Plz guide us to avoid.
Its an urgent issue..!!!

[Updated on: Fri, 11 November 2005 15:05]

Report message to a moderator

Re: strange issue ....!!! [message #146667 is a reply to message #146616] Fri, 11 November 2005 22:09 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
check your alert log.
Post only the relevant information.
Enable Sql_trace.
try dropping the user
post the tracefile output.
Re: strange issue ....!!! [message #146691 is a reply to message #146667] Sat, 12 November 2005 07:24 Go to previous messageGo to next message
balavignesh
Messages: 180
Registered: March 2005
Senior Member
The alert log is clear with no errors indicating.
I have enabled sql trace and analysed the trace file which contains error after trying to drop the user as follows.

ora-00604,ora-00942,ora-06512

table SDO_GEOM_METADATA_TABLE does n't exist and i also crosschecked that the object is not there...

how to fix the issue..?
Metalink says to raise an iTAR as my account is not having the rights to raise TAR.

so plz help it out...

Re: strange issue ....!!! [message #146694 is a reply to message #146691] Sat, 12 November 2005 07:32 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
If you are not using spatial options, remove it.
Else
check the default tablespace for mdsys schema.
see whether it is all set ( has space, is of permanent type etc).
rerun catmd.sql. Look for errors during execution of catmd.sql
Re: strange issue ....!!! [message #146697 is a reply to message #146694] Sat, 12 November 2005 07:51 Go to previous messageGo to next message
balavignesh
Messages: 180
Registered: March 2005
Senior Member
we are not using spatial options.
how to remove that from database..?

Plz suggest..!!
Re: strange issue ....!!! [message #146786 is a reply to message #146697] Sun, 13 November 2005 23:04 Go to previous messageGo to next message
BobatRMT
Messages: 2
Registered: November 2005
Location: Perth, Western Australia
Junior Member
DROP user mdsys cacade;
Re: strange issue ....!!! [message #146815 is a reply to message #146786] Mon, 14 November 2005 01:14 Go to previous messageGo to next message
balavignesh
Messages: 180
Registered: March 2005
Senior Member
there is no user like MDSYS exists...

SQL> drop user mdsys cascade;
drop user mdsys cascade
*
ERROR at line 1:
ORA-01918: user 'MDSYS' does not exist


how to proceed further...?
plz guide..
Re: strange issue ....!!! [message #146832 is a reply to message #146815] Mon, 14 November 2005 02:00 Go to previous messageGo to next message
balavignesh
Messages: 180
Registered: March 2005
Senior Member
the spatial objects are installed in SYS.

how to remove those objects..?
It could not be dropped when attempted..!
How to remove spatial options from sys...?

Plz help out..!!
Re: strange issue ....!!! [message #146877 is a reply to message #146832] Mon, 14 November 2005 06:59 Go to previous message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
seems someone was playing around with spatial data options.
and
>>the spatial objects are installed in SYS
How can you say that?
Post what you have did.

Take a complete backup.
create a new tablespace of permanent type (LMT)
Move all the spatial objects to new tablespace.
try to do your business ( dropping mobile user).
if it fails,
rerun catmd.sql
and try again.
Previous Topic: Howto relate dba_jobs table jobno with processid
Next Topic: manual database creation
Goto Forum:
  


Current Time: Thu Feb 13 17:25:27 CST 2025