niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » Oracle » Server
no able to "set autotrace on" pls chk error
Post new topic   Reply to topic Page 1 of 1 [7 Posts] View previous topic :: View next topic
Author Message
Mladen Gogala
*nix forums Guru


Joined: 11 Mar 2005
Posts: 948

PostPosted: Mon May 15, 2006 3:09 am    Post subject: Re: no able to "set autotrace on" pls chk error Reply with quote

On Sun, 14 May 2006 15:17:06 -0700, DA Morgan wrote:

Quote:
PS: Very bad form to grant CONNECT and RESOURCE. Learn to use specific
system and object privileges and/or create your own roles.

Especially bad thing is to grant resource. I believe it still implies
grant to UNLIMITED TABLESPACE, which empowers the recipient to create
anything anywhere. Also, there is no reason to allow the end-users to
create their own objects of any kind.
In other words, it's less about the form, more about the substance.

--
http://www.mgogala.com
Back to top
psoug
*nix forums Guru


Joined: 15 May 2005
Posts: 3492

PostPosted: Sun May 14, 2006 10:17 pm    Post subject: Re: no able to "set autotrace on" pls chk error Reply with quote

peter wrote:
Quote:
SQL> create user dump identified by dump;
User created.

SQL> grant connect,resource to dump;
Grant succeeded.

SQL> conn dump/dump@y2j
Connected.
SQL> @c:\oracle\ora90\rdbms\admin\utlxplan.sql
Table created.

SQL> set autotrace on
SP2-0618: Cannot find the Session Identifier. Check PLUSTRACE role is
enabled
SP2-0611: Error enabling STATISTICS report

I don't know how to solve this error pls help

A complete demo can be found in Morgan's Library at www.psoug.org
under Autotrace.

The PLUSTRACE role is granted using $ORACLE_HOME/rdbms/admin/plustrce.sql.

PS: Very bad form to grant CONNECT and RESOURCE. Learn to use specific
system and object privileges and/or create your own roles.
--
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu
(replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Back to top
peter
*nix forums beginner


Joined: 06 May 2006
Posts: 36

PostPosted: Sun May 14, 2006 4:44 pm    Post subject: Re: no able to "set autotrace on" pls chk error Reply with quote

Thank You Very Much
Problem is solved
Back to top
Vincent M
*nix forums Guru


Joined: 22 Feb 2005
Posts: 1332

PostPosted: Sun May 14, 2006 12:29 pm    Post subject: Re: no able to "set autotrace on" pls chk error Reply with quote

"peter" <hhh.database@gmail.com> a écrit dans le message de news:
1147609193.095198.238090@j33g2000cwa.googlegroups.com...
Quote:
There is no plustrace role or priv.
try:

@?/sqlplus/admin/plustrce.sql
this create the PLUSTRACE role ...
Back to top
peter
*nix forums beginner


Joined: 06 May 2006
Posts: 36

PostPosted: Sun May 14, 2006 12:19 pm    Post subject: Re: no able to "set autotrace on" pls chk error Reply with quote

There is no plustrace role or priv.
but through sys
I can do this ( set autotrace on )
Back to top
Vincent M
*nix forums Guru


Joined: 22 Feb 2005
Posts: 1332

PostPosted: Sun May 14, 2006 9:17 am    Post subject: Re: no able to "set autotrace on" pls chk error Reply with quote

Quote:
SQL> create user dump identified by dump;
User created.

SQL> grant connect,resource to dump;
Grant succeeded.

SQL> conn dump/dump@y2j
Connected.
SQL> @c:\oracle\ora90\rdbms\admin\utlxplan.sql
Table created.

SQL> set autotrace on
SP2-0618: Cannot find the Session Identifier. Check PLUSTRACE role is
enabled
SP2-0611: Error enabling STATISTICS report

Try :
grant plustrace to dump;
Back to top
peter
*nix forums beginner


Joined: 06 May 2006
Posts: 36

PostPosted: Sun May 14, 2006 9:10 am    Post subject: no able to "set autotrace on" pls chk error Reply with quote

SQL> create user dump identified by dump;
User created.

SQL> grant connect,resource to dump;
Grant succeeded.

SQL> conn dump/dump@y2j
Connected.
SQL> @c:\oracle\ora90\rdbms\admin\utlxplan.sql
Table created.

SQL> set autotrace on
SP2-0618: Cannot find the Session Identifier. Check PLUSTRACE role is
enabled
SP2-0611: Error enabling STATISTICS report

I don't know how to solve this error pls help
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [7 Posts] View previous topic :: View next topic
The time now is Wed Jan 07, 2009 5:30 pm | All times are GMT
navigation Forum index » Databases » Oracle » Server
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Postfix + MySQL error: very strange variable %s iWarior Postfix 0 Mon Aug 25, 2008 2:01 pm
No new posts ** Postfix error on console every minute or so ** ?? drywash Postfix 0 Fri Jul 04, 2008 8:49 pm
No new posts Postfix error bounce diwash Postfix 0 Fri Mar 28, 2008 3:37 am
No new posts I am getting following error in Aix 5.3 rockcharles1 AIX 0 Tue Aug 28, 2007 11:06 pm
No new posts postfix out of memory error - please help metind Postfix 0 Mon Sep 11, 2006 1:54 am

Budapest | Server setup | Aishwarya Rai | Guitar Lessons | Myspace Proxy
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2151s ][ Queries: 20 (0.1308s) ][ GZIP on - Debug on ]