ubuntu linux - ORA-01031: insufficient privileges [message #501504] |
Tue, 29 March 2011 08:34 |
|
ianbram
Messages: 7 Registered: March 2011 Location: Cambridge
|
Junior Member |
|
|
hi all
I have oracle xe running on ubuntu linux without any apparent problems until I try to connect like this
sqlplus / as sysdba at which point I get the ORA-01031: insufficient privileges message.
I have tried as root, as oracle (su oracle) and as a user who has membership in the dba group.
I have even set all the privileges on the oracle directory (chmod -R 777 /usr/lib/oracle) but all without success.
Would really appreciate some help on this as I am trying to configure the RMAN backup utility and need to set
XE to operate in archivelog mode.
|
|
|
|
|
|
|
|
|
Re: ubuntu linux - ORA-01031: insufficient privileges [message #501521 is a reply to message #501520] |
Tue, 29 March 2011 10:50 |
ThomasG
Messages: 3212 Registered: April 2005 Location: Heilbronn, Germany
|
Senior Member |
|
|
I don't know if that's the cause, since I never used anything sudo related, but this :
SUDO_COMMAND=/bin/bash
SUDO_GID=1002
SUDO_UID=1002
SUDO_USER=ianbr
...
USERNAME=root
...
Could mean you are not *really* oracle as far as oracle is concerned. Can you try logging in as oracle from the start.
|
|
|
|
Re: ubuntu linux - ORA-01031: insufficient privileges [message #501531 is a reply to message #501504] |
Tue, 29 March 2011 13:34 |
John Watson
Messages: 8963 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
This may have been a big mistake
Quote:I have even set all the privileges on the oracle directory (chmod -R 777 /usr/lib/oracle) but all without success. I think you have lost the setuid modes that are necessary, and made your Oracle Home useless. Better install it again.
|
|
|
|
|
|
|
Re: ubuntu linux - ORA-01031: insufficient privileges [message #596877 is a reply to message #596874] |
Fri, 27 September 2013 00:16 |
8939513598$
Messages: 103 Registered: July 2013 Location: chennai
|
Senior Member |
|
|
I tried to learn the command, it's showing error like this, look at the following,
"
[oracle@oraclehost sbin]$ sudo usermod --help
[sudo] password for oracle:
oracle is not in the sudoers file. This incident will be reported. "
how to put the entry in the file ?
|
|
|
|