473,396 Members | 1,779 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

os_authent_prefix

Hi!

Where running Oracle database 9.2.0.1.0 on Sun Solaris 8 7/01 (SPARC
platform). I'm trying to use the OS authentication method for a user
owning objects in the database. I've started the instance with an
spfile with the os_authent_prefix='':

oracle@S0232119 # grep os spfileftgdb.ora
*.os_authent_prefix=''
oracle@S0232119 # pwd
/opt/oracle/product/9.2.0.1.0/dbs
oracle@S0232119 #

I've also create a user to be "identified externally" called ftgadm:

SQL> select username,password from dba_users where username =
'FTGADM';

USERNAME PASSWORD
------------------------------ ------------------------------
FTGADM EXTERNAL

Then when I login to Unix as ftgadm I still cant connect with only
"sqlplus /":

ftgadm@S0232119 # sqlplus /

SQL*Plus: Release 9.2.0.1.0 - Production on Tis Jul 6 23:33:47 2004

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

ERROR:
ORA-01034: ORACLE not available
ORA-27121: unable to determine size of shared memory segment
SVR4 Error: 13: Permission denied
Enter user-name:

Any ideas?

Regards Christian Eriksson
Jul 19 '05 #1
4 11714
c-*****@algonet.se (Christian Eriksson) wrote in message news:<d0**************************@posting.google. com>...
Hi!

Where running Oracle database 9.2.0.1.0 on Sun Solaris 8 7/01 (SPARC
platform). I'm trying to use the OS authentication method for a user
owning objects in the database. I've started the instance with an
spfile with the os_authent_prefix='':

oracle@S0232119 # grep os spfileftgdb.ora
*.os_authent_prefix=''
oracle@S0232119 # pwd
/opt/oracle/product/9.2.0.1.0/dbs
oracle@S0232119 #

I've also create a user to be "identified externally" called ftgadm:

SQL> select username,password from dba_users where username =
'FTGADM';

USERNAME PASSWORD
------------------------------ ------------------------------
FTGADM EXTERNAL

Then when I login to Unix as ftgadm I still cant connect with only
"sqlplus /":

ftgadm@S0232119 # sqlplus /

SQL*Plus: Release 9.2.0.1.0 - Production on Tis Jul 6 23:33:47 2004

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

ERROR:
ORA-01034: ORACLE not available
ORA-27121: unable to determine size of shared memory segment
SVR4 Error: 13: Permission denied
Enter user-name:

Any ideas?

Regards Christian Eriksson

Incorrect permissions on the Oracle directories and/or on the Oracle
executable or the setuid bit not set on the Oracle executable.
Connecting using an ordinary account will result in the same error.
This has nothing to do with O/S authentication.

Sybrand Bakker
Senior Oracle DBA
Jul 19 '05 #2
sy******@yahoo.com wrote in message news:<a1**************************@posting.google. com>...
c-*****@algonet.se (Christian Eriksson) wrote in message news:<d0**************************@posting.google. com>...
Hi!

Where running Oracle database 9.2.0.1.0 on Sun Solaris 8 7/01 (SPARC
platform). I'm trying to use the OS authentication method for a user
owning objects in the database. I've started the instance with an
spfile with the os_authent_prefix='':

oracle@S0232119 # grep os spfileftgdb.ora
*.os_authent_prefix=''
oracle@S0232119 # pwd
/opt/oracle/product/9.2.0.1.0/dbs
oracle@S0232119 #

I've also create a user to be "identified externally" called ftgadm:

SQL> select username,password from dba_users where username =
'FTGADM';

USERNAME PASSWORD
------------------------------ ------------------------------
FTGADM EXTERNAL

Then when I login to Unix as ftgadm I still cant connect with only
"sqlplus /":

ftgadm@S0232119 # sqlplus /

SQL*Plus: Release 9.2.0.1.0 - Production on Tis Jul 6 23:33:47 2004

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

ERROR:
ORA-01034: ORACLE not available
ORA-27121: unable to determine size of shared memory segment
SVR4 Error: 13: Permission denied
Enter user-name:

Any ideas?

Regards Christian Eriksson

Incorrect permissions on the Oracle directories and/or on the Oracle
executable or the setuid bit not set on the Oracle executable.
Connecting using an ordinary account will result in the same error.
This has nothing to do with O/S authentication.

Sybrand Bakker
Senior Oracle DBA


I don't know for shure what you mean by an ordinary account but:

ftgadm@S0232119 # sqlplus ftgweb@ftgdb

SQL*Plus: Release 9.2.0.1.0 - Production on Tor Jul 8 11:02:03 2004

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

Enter password:

Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production

SQL> show user
USER is "FTGWEB"
SQL>

connecting as the user FTGWEB is possible.

Regards Christian Eriksson
Jul 19 '05 #3
GQ
c-*****@algonet.se (Christian Eriksson) wrote in message news:<d0**************************@posting.google. com>...
sy******@yahoo.com wrote in message news:<a1**************************@posting.google. com>...
c-*****@algonet.se (Christian Eriksson) wrote in message news:<d0**************************@posting.google. com>...
Hi!

Where running Oracle database 9.2.0.1.0 on Sun Solaris 8 7/01 (SPARC
platform). I'm trying to use the OS authentication method for a user
owning objects in the database. I've started the instance with an
spfile with the os_authent_prefix='':

oracle@S0232119 # grep os spfileftgdb.ora
*.os_authent_prefix=''
oracle@S0232119 # pwd
/opt/oracle/product/9.2.0.1.0/dbs
oracle@S0232119 #

I've also create a user to be "identified externally" called ftgadm:

SQL> select username,password from dba_users where username =
'FTGADM';

USERNAME PASSWORD
------------------------------ ------------------------------
FTGADM EXTERNAL

Then when I login to Unix as ftgadm I still cant connect with only
"sqlplus /":

ftgadm@S0232119 # sqlplus /

SQL*Plus: Release 9.2.0.1.0 - Production on Tis Jul 6 23:33:47 2004

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

ERROR:
ORA-01034: ORACLE not available
ORA-27121: unable to determine size of shared memory segment
SVR4 Error: 13: Permission denied
Enter user-name:

Any ideas?

Regards Christian Eriksson

Incorrect permissions on the Oracle directories and/or on the Oracle
executable or the setuid bit not set on the Oracle executable.
Connecting using an ordinary account will result in the same error.
This has nothing to do with O/S authentication.

Sybrand Bakker
Senior Oracle DBA


I don't know for shure what you mean by an ordinary account but:

ftgadm@S0232119 # sqlplus ftgweb@ftgdb

SQL*Plus: Release 9.2.0.1.0 - Production on Tor Jul 8 11:02:03 2004

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

Enter password:

Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production

SQL> show user
USER is "FTGWEB"
SQL>

connecting as the user FTGWEB is possible.

Regards Christian Eriksson


You are not quite connecting the same way ... indicating that the
problem may be with the way you identify the database, and if it is
local or not.
Can you connect successfully without specifying the @SID (sqlplus
ftgweb<cr>).
Or try setting both ORACLE_SID and TWO_TASK (export TWO_TASK=<Oracle
SID>) before calling sqlplus.
If this doesn't work, confirm the value of ORACLE_SID (echo
$ORACLE_SID),
and confirm that it's a local database (tnsping $ORACLE_SID).
If it is on another server, then you must export TWO_TASK=$ORACLE_SID.

HTH
Guy.
Jul 19 '05 #4
db********@yahoo.com (GQ) wrote in message news:<aa**************************@posting.google. com>...
c-*****@algonet.se (Christian Eriksson) wrote in message news:<d0**************************@posting.google. com>...
sy******@yahoo.com wrote in message news:<a1**************************@posting.google. com>...
c-*****@algonet.se (Christian Eriksson) wrote in message news:<d0**************************@posting.google. com>...
> Hi!
>
> Where running Oracle database 9.2.0.1.0 on Sun Solaris 8 7/01 (SPARC
> platform). I'm trying to use the OS authentication method for a user
> owning objects in the database. I've started the instance with an
> spfile with the os_authent_prefix='':
>
> oracle@S0232119 # grep os spfileftgdb.ora
> *.os_authent_prefix=''
> oracle@S0232119 # pwd
> /opt/oracle/product/9.2.0.1.0/dbs
> oracle@S0232119 #
>
> I've also create a user to be "identified externally" called ftgadm:
>
> SQL> select username,password from dba_users where username =
> 'FTGADM';
>
> USERNAME PASSWORD
> ------------------------------ ------------------------------
> FTGADM EXTERNAL
>
> Then when I login to Unix as ftgadm I still cant connect with only
> "sqlplus /":
>
> ftgadm@S0232119 # sqlplus /
>
> SQL*Plus: Release 9.2.0.1.0 - Production on Tis Jul 6 23:33:47 2004
>
> Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
>
> ERROR:
> ORA-01034: ORACLE not available
> ORA-27121: unable to determine size of shared memory segment
> SVR4 Error: 13: Permission denied
>
>
> Enter user-name:
>
> Any ideas?
>
> Regards Christian Eriksson
Incorrect permissions on the Oracle directories and/or on the Oracle
executable or the setuid bit not set on the Oracle executable.
Connecting using an ordinary account will result in the same error.
This has nothing to do with O/S authentication.

Sybrand Bakker
Senior Oracle DBA
I don't know for shure what you mean by an ordinary account but:

ftgadm@S0232119 # sqlplus ftgweb@ftgdb

SQL*Plus: Release 9.2.0.1.0 - Production on Tor Jul 8 11:02:03 2004

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

Enter password:

Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production

SQL> show user
USER is "FTGWEB"
SQL>

connecting as the user FTGWEB is possible.

Regards Christian Eriksson


You are not quite connecting the same way ... indicating that the
problem may be with the way you identify the database, and if it is
local or not.
Can you connect successfully without specifying the @SID (sqlplus
ftgweb<cr>).

No!

ftgadm@S0232119 # sqlplus ftgadm

SQL*Plus: Release 9.2.0.1.0 - Production on Lör Jul 10 00:03:19 2004

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

Enter password:
Or try setting both ORACLE_SID and TWO_TASK (export TWO_TASK=<Oracle
SID>) before calling sqlplus. ftgadm@S0232119 # export TWO_TASK=ftgdb
ftgadm@S0232119 # env | grep TWO_TASK
TWO_TASK=ftgdb
ftgadm@S0232119 # sqlplus ftgadm

SQL*Plus: Release 9.2.0.1.0 - Production on Lör Jul 10 00:04:55 2004

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

Enter password:
ftgadm@S0232119 # sqlplus /

SQL*Plus: Release 9.2.0.1.0 - Production on Lör Jul 10 00:05:06 2004

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

ERROR:
ORA-01004: default username feature not supported; logon denied
Enter user-name: ^C If this doesn't work, confirm the value of ORACLE_SID (echo
$ORACLE_SID), ftgadm@S0232119 # echo $ORACLE_SID
ftgdb and confirm that it's a local database (tnsping $ORACLE_SID). ftgadm@S0232119 # tnsping $ORACLE_SID

TNS Ping Utility for Solaris: Version 9.2.0.1.0 - Production on
10-JUL-2004 00:06:16

Copyright (c) 1997 Oracle Corporation. All rights reserved.

Used parameter files:
/opt/oracle/product/9.2.0.1.0/network/admin/sqlnet.ora

Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS =
(PROTOCOL = TCP)
(HOST = S0232119)(PORT = 1521))) (CONNECT_DATA = (SERVER = DEDICATED)
(SERVICE_NAME = ftgdb)))
OK (10 msec)

I'll guess the above does not resolve as a local database. Is that
required for OS authentication to work? If it is on another server, then you must export TWO_TASK=$ORACLE_SID.

HTH
Guy.


Regards Christian Eriksson
Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: KULJEET | last post by:
control file not created at time of installtion of oracle database now how we can create it see alert file Dump file e:\ORacle\admin\new\bdump\newALRT.LOG Tue Sep 09 10:45:53 2003 ORACLE...
2
by: Ruslan A Dautkhanov | last post by:
Hello ! I'm about to install O9i on FreeBSD box. uname -a: FreeBSD stat2.scn.ru 5.2.1-RELEASE-p3 FreeBSD 5.2.1-RELEASE-p3 #2: Fri Apr 23 19:19:43 KRAST 2004...
4
by: Christian Eriksson | last post by:
Hi! Where running Oracle database 9.2.0.1.0 on Sun Solaris 8 7/01 (SPARC platform). I'm trying to use the OS authentication method for a user owning objects in the database. I've started the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.