Linux non-oracle user cannot connect to database using TNS

LS,
I've installed Oracle 11gR2 on a linux box (name="ilmserver") running CentOS 5.4 (based on RHEL).
Created user "oracle" and groups "oinstall" and "dba".
Installation under user "oracle" went fine, and logged in as "oracle" user I can - naturally - access the database easily (via SQL+, or using SQL Developer it works via Basic, TNS, and Advanced (=jdbc)).
I have a second user on the linux box called "informatica", on which I have installed Informatica ILM 5.3.2, which uses the Oracle database as its repository.
The "informatica" user has been granted the same groups as the "oracle" user, i.e. "oinstall" and "dba".
I have severe problems accessing the Oracle database as the "informatica" user.
Using SQL Developer I can access the database using the "Basic" method, but not TNS.
But guess what: for ILM to work to its fullest extent I need to implement an environment variable called TNS_ADMIN.
I have implemented it, it sits in bash_profile and as such works fine:
+[informatica@ilmserver ~]$ echo $TNS_ADMIN+
+/home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin+
But as for being able to access it:
+[informatica@ilmserver ~]$ cat $TNS_ADMIN/tnsnames.ora+
cat: /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora: Permission denied
Somehow I thought that granting "oinstall" group to "informatica" user would take care of this. Obviously it doesn't. I also granted "dba" group to "informatica", to no avail apparently.
This is then - I assume - also the reason that when I want to connect using TNS from within SQL Developer, the dropdown list is empty (because it's not able to read TNSNAMES.ORA).
Does anyone know how to resolve this issue?
Thanks heaps!
Cheers, Patrick

Just ran all+ commands for oracle user:
*[oracle@ilmserver ~]$ id*
uid=502(oracle) gid=504(oinstall) groups=503(dba),504(oinstall),505(asmdba),506(asmadmin) context=user_u:system_r:unconfined_t
*[oracle@ilmserver ~]$ env | sort*
COLORTERM=gnome-terminal
CVS_RSH=ssh
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-m8BEsoxTeM,guid=7c9a73a7390af7742e606e004e571934
DESKTOP_SESSION=default
DESKTOP_STARTUP_ID=
DISPLAY=:0.0
G_BROKEN_FILENAMES=1
GDMSESSION=default
GDM_XSERVER_LOCATION=local
GNOME_DESKTOP_SESSION_ID=Default
GNOME_KEYRING_SOCKET=/tmp/keyring-TQlAPU/socket
GTK_RC_FILES=/etc/gtk/gtkrc:/home/oracle/.gtkrc-1.2-gnome2
HISTSIZE=1000
HOME=/home/oracle
HOSTNAME=ilmserver
INPUTRC=/etc/inputrc
JAVA_HOME=/usr/java/jdk1.7.0
LANG=en_US.UTF-8
LESSOPEN=|/usr/bin/lesspipe.sh %s
LOGNAME=oracle
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
MAIL=/var/spool/mail/oracle
ORACLE_BASE=/home/oracle/app/oracle
ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_1
ORACLE_HOSTNAME=ilmserver
ORACLE_SID=orcl
PATH=/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/oracle/bin:/usr/java/jdk1.7.0/bin:/usr/sbin:/sbin:/home/oracle/app/oracle/product/11.2.0/dbhome_1/bin
PWD=/home/oracle
SESSION_MANAGER=local/ilmserver:/tmp/.ICE-unix/14477
SHELL=/bin/bash
SHLVL=2
SSH_AGENT_PID=14513
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SSH_AUTH_SOCK=/tmp/ssh-INwup14477/agent.14477
TERM=xterm
TNS_ADMIN=/home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin
USERNAME=oracle
USER=oracle
_=/usr/bin/env
WINDOWID=24117329
XAUTHORITY=/tmp/.gdm9ITN0V
XMODIFIERS=@im=none
*[oracle@ilmserver ~]$ ls -l /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora*
-rw-r----- 1 oracle oinstall 879 Aug 24 21:39 /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
*[oracle@ilmserver ~]$ ls -ld /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/*
drwxr-xr-x 3 oracle oinstall 4096 Aug 24 21:39 /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/
*[oracle@ilmserver ~]$ ls -ld /home/oracle/app/oracle/product/11.2.0/dbhome_1/*
drwxr-xr-x 74 oracle oinstall 4096 Aug 23 19:00 /home/oracle/app/oracle/product/11.2.0/dbhome_1/
*[oracle@ilmserver ~]$ ls -ld /home/oracle/app/oracle/product/11.2.0/*
drwxr-xr-x 3 oracle oinstall 4096 Aug 23 18:21 /home/oracle/app/oracle/product/11.2.0/
[*oracle@ilmserver ~]$ ls -ld /home/oracle/app/oracle/product/*
drwxr-xr-x 3 oracle oinstall 4096 Aug 23 18:21 /home/oracle/app/oracle/product/
*[oracle@ilmserver ~]$ ls -ld /home/oracle/app/oracle/*
drwxr-xr-x 10 oracle oinstall 4096 Aug 24 17:29 /home/oracle/app/oracle/
*[oracle@ilmserver ~]$ ls -ld /home/oracle/app/*
drwxr-xr-x 4 oracle oinstall 4096 Aug 23 18:21 /home/oracle/app/
*[oracle@ilmserver ~]$ ls -ld /home/oracle/*
drwx------ 22 oracle oinstall 4096 Aug 25 20:55 /home/oracle/
Naturally the "oracle" user has full access to its own directories.
A thought just occurred to me. I assume that theoretically it's possible to grant read privilige to informatica user on all these directories... would that do the trick?
But even if so, makes me wonder whether that is "best practice".
Also, I cannot imagine I'm the first person to encounter this scenario, and therefore there must be some standard approach to enable this.
Any suggestions/thoughts?
As for the TNSNAMES.ORA suggestion, I guess that is possible. Makes administration of TNSNAMES a bit more cumbersome though, as in, 2 files to maintain... risk of getting out of sync when making 'quick and dirty' changes without thinking things through too much (which shouldn't happen... but sometimes does anyway).
I'd prefer a solution where "informatica" has genuine access to TNSNAMES.ORA.
Thanks, Patrick
ps the bold bits with env.var LS_COLORS are unintentional, but don't know how to turn that off

Similar Messages

  • Cannot connect to database via TNS

    Hello!
    I installed XE with default settings and have some trouble. I cannot connect to database via TNS. Two symptoms:
    1. I can connect with SQLPLUS system/pwd (locally, without tns name input), but CANNOT connect with SQLPLUS system/pwd@EX (WITH TNS NAME input).
    2. I cannot start Database Home Page.
    How to avoid this problem? Any ideas?
    DETAILS:
    PC configuration: Win2k+SP4, 512Mb, Outpost Firewall (disabled!), No another Oracle products being installed.
    TNSNAMES.ORA file:
    ************* BEGIN TNSNAMES *****************************************
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = pz)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    ************* END OF TNSNAMES *****************************************
    Listener status:
    ************* BEGIN STATUS *****************************************
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Prod
    ction
    Start Date 22-MAR-2006 17:27:15
    Uptime 0 days 1 hr. 8 min. 53 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File D:\oracle\ora10xe\app\oracle\product\10.2.0\server\ne
    work\admin\listener.ora
    Listener Log File D:\oracle\ora10xe\app\oracle\product\10.2.0\server\ne
    work\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=pz)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation
    HTTP)(Session=RAW))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "XEXDB" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "XE_XPT" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "xe" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    The command completed successfully
    ************* END OF STATUS *****************************************
    NETSTAT -an results:
    ************* BEGIN NETSTAT *****************************************
    Proto Local Address Foreign Address State
    TCP 0.0.0.0:1521 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:2298 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:2455 127.0.0.1:8080 ESTABLISHED
    TCP 127.0.0.1:8080 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:8080 127.0.0.1:2382 CLOSE_WAIT
    TCP 127.0.0.1:8080 127.0.0.1:2455 ESTABLISHED
    TCP 192.168.200.49:1521 192.168.200.49:2298 ESTABLISHED
    TCP 192.168.200.49:2298 192.168.200.49:1521 ESTABLISHED
    <truncated>
    ************* END OF NETSTAT *****************************************
    I found following error in SQLNET.LOG:
    *************** START LOG *********************************************
    Fatal NI connect error 12570, connecting to:
    (LOCAL=NO)
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
         Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
    Time: 22-MAR-2006 17:28:59
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12570
    TNS-12570: TNS:packet reader failure
    ns secondary err code: 12560
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    *************** END OF LOG *******************************************

    I successfully connect with XE client to another Oracle databases from LAN, including 8i and 9i databases.
    But cannot connect from another machines to my XE.

  • Cannot connect to database using Oracle Forms 10g

    hi,
    I had installed Oracle 10g database and Oracle Forms 10g on Windows Vista Home Basic. However, I was unable to connect to
    the database in Oracle Form using scott/scott for database "orcl", with the following error message:
    ORA-00604: error occured at recursive SQL level 1
    ORA-01009: missing mandatory parameter
    However, I could access to the database using this set of username and password. Am I missing something? Thanks.

    Hi,
         After a successful installation of forms 10g in vista, I'm about to run OPatch Universal Installer for the patch 7047034
    in order to fix the form bugs. However, I cannot run the command "opatch apply C:\oracle_form\Patch26_Rel_10105\7047034"
    with the error "The Oracle Home c:\devsuitehome_1 is not registered with the Central Inventory.". Then I try to create a
    oraInst.loc file, but not much change still. The situation is that oracle 10g is installed before oracle developer suite
    10g, and when I try to set oracle_home to oracle 10g's path ("C:\oracle\product\10.2.0\db_1") and run "opatch lsinventory",
    it returns the correct result; when oracle developer suite 10g's path ("c:\devsuitehome_1") is set as the oracle_home,
    the same command would return a different result as "LsInventory: OPatch Exception while accessing O2O".
         I've verified through Oracle Universal Installer that the Central Inventory has included both as oracle_home (oracle 10g
    and oracle developer suite 10g). I'm very confused now, though it seems that the problem could be solved by registering the
    Central Inventory with oraacle developer suite 10g's path. Thanks.

  • Cannot connect to database using SQL*Plus

    Hi, I have Oracle 10g XE installed in my labtop and I cannot connect using SQL*Plus.
    I can connect using the broser User Interface though, which I was able to do after doing the following procedure to change the password of the sys account:
    -     open a command prompt
    -     - type sqlplus
    -     On the “Enter user-name” line, type /as sysdba
    -     On the SQL> prompt, type alter user sys identified by NewPassword;
    But the thing is that even though I am able to connect using sys/NewPassword from my browser UI, I dont get the same result when doing it using the SQL prompt.
    What I am trying to do is this:
    SQL> connect sys/NewPassword
    Then I get first a warming saying that I need to use either sysdba or sysoper to connect to the system account, but neither of those work.
    Can anyone advice me on this matter?
    Thanks in advance

    Thanks for that.
    I run the command to list the usernames on the database and I got SYS and SYSTEM in the list. But again, when I try to use SYS with a password that I know is working because I can access it through the browser UI, it doesnt work. It seems like this sys is different to the sys I used in the UI.
    I dont know if I am explaining myself correclty... In the Browser UI I use sys, and a password and I get connected to the sys account. However, if I try to use the same sys.password combination from my sqlplus prompt, I get error messages
    Does this make sense at all?

  • Cannot connect to database using JDBC

    Hello!
    I am trying to connect to my local database using this script:
    import java.sql.*;
    public class test{
    public static void main (String[] args){
      try
        DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());
        Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:orcl","scott","tiger");
        Statement StmtPersoane = conn.createStatement();
        ResultSet CrsPersoane =StmtPersoane.executeQuery("select p.* from personal p");
        int jMarca = 0;
        while(CrsPersoane.next()){
        jMarca = CrsPersoane.getInt("marca");
        System.out.println(jMarca);
        CrsPersoane.close();
        StmtPersoane.close();
        conn.close();
      catch(SQLException e)
        e.printStackTrace();
    }When compiling i am getting this error: Error(7,58): cannot access class oracle.jdbc.driver.OracleDriver; file oracle\jdbc\driver\OracleDriver.class not found
    I have set a CLASSPATH enviroment variable with value : D:\oracle10g\product\10.1.0\Db_1\jdbc\lib\ojdbc14.jar
    Please provide some hints. Thanks in advace !

    Problem solved with the connection, but now i'm getting another error when i am trying to parse an error. Here is the code a little bit modified:
    import java.sql.*;
    import java.text.*;
    import java.text.ParseException;
    import java.util.*;
    public class test{
    public static void main (String[] args){
      try
        DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());
        Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:orcl","scott","tiger");
                Statement StmtPersoane;
                StmtPersoane = conn.createStatement();
                ResultSet CrsPersoane =StmtPersoane.executeQuery("select marca from personal");
                int jMarca;
                jMarca = 0;
    java.util.Date dataJava = new java.text.SimpleDateFormat("dd/mm/yyyy").parse("04/10/2006");
    java.sql.Date dataSql = new java.sql.Date(dataJava.getTime());
    System.out.println("Data: "+dataSql);
        System.out.println("Angajatii sunt:"); 
                while(CrsPersoane.next()){
        jMarca = CrsPersoane.getInt("marca");
        System.out.println(jMarca);
        CrsPersoane.close();
        StmtPersoane.close();
        conn.close();
      catch(SQLException e)
        e.printStackTrace();
    }The error:
    Error(24,81): unreported exception: java.text.ParseException; must be caught or declared to be thrown
    Any ideas ?

  • Cannot connect to database using the Upgrade Simulation Tool

    I have installed the Upgrade Simulation Tool on my system and when I try to run the tool my system works in the for awhile in the background and creates the _Simulation mdf and ldf files and a .bck file.  After 3 or 4 minutes it gives me an error "Cannot connect to the database".  
    It looks to me like it is connecting to the database because it is creating the files in the SQL Data folder.  I have tried to run it on several databases and get the same results.
    Thank you, Jeff

    Hi,
    You may not have the ability to upgrade it directly.
    He does have the ability.
    When downloading Pl 42, it is cleary marked as "Upgrader", which means it can be used for upgrade (in this case simulation) from a lower version than 2007A
    Patchlevel which are marked as "patch" are suitable only for updating the PL within the very same version of SAP Business One.
    This tool should run under 2007 system I believe.
    The Upgrade Simulation tool was designed in orderto test an upgrade, therefore it can run at a machine where 2005 version is installed. Technically speaking it creates a second SBO-common, which can be used only with the special designed (read only) client of the tool.
    Jeff, you should check access rights of your SQL Data folder.Maybe grant user "Everyone" modifying rights to that folder. In addition you could try to detach a DB and move the related *.mdf and *.ldf to another folder where no access denied rights were applied.
    If using MSSQL 2005 create via ODBC a Native Client connection to the Server, although you might just working locally only.
    Regards
    Mario

  • Cannot connect local database using net service_name

    Good Morning to all ;
    FYI : This  question wrongly posted under high availability. Now it was removed from there.
    I am trying to connect my local database  using remote authentication.
    but getting error. Client & Server reside on same  server.
    SQL> conn u1/u1@primdb
    ERROR: ORA-12545: Connect failed because target host or object does not exist
    SQL> conn / as sysdba
    Connected.
    SQL> show parameter db_name;
    NAME                                 TYPE        VALUE
    db_name                              string      primary
    SQL> show parameter service_names;
    NAME                                 TYPE        VALUE
    service_names                        string      mydb
    SQL> show parameter db_domain;
    NAME                                 TYPE        VALUE
    db_domain                            string      primary.com
    SQL> show parameter global_name;
    NAME                                 TYPE        VALUE
    global_names                         boolean     FALSE
    SQL> select * from global_name;
    GLOBAL_NAME
    PRIMARY
    [oracle@localhost admin]$ lsnrctl start
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 18-JAN-2014 16:32:08
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Starting /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    System parameter file is /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Log messages written to /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oel5.linuxserver)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    Listener failed to start. See the error message(s) above...
    my listener.ora file contents :
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = primary)
          (ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
          (GLOBAL_DBNAME = mydb.primary.com)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = oel5.linuxserver)(PORT = 1521))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    my tnsnames.ora contents
    primdb= 
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST= oel5.linuxserver)(PORT=1521))
        (CONNECT_DATA =
          (SERVER=DEDICATED)
          (SERVICE_NAME = mydb)
    $ tnsping primdb
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 18-JAN-2014 16:40:55
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST= oel5.linuxserver)(PORT=1521))) (CONNECT_DATA = (SERVER=DEDICATED) (SERVICE_NAME = mydb)))
    TNS-12545: Connect failed because target host or object does not exist
    Thanks in advance ..

    Good Morning  Ed Stevens ;
    Nice to see you once again !
    I remember , you are very familiar with  oracle net services.
    I read your article. Exploring the LOCAL_LISTENER parameter
    Now i have removed listener.ora & tnsnames.ora files .
    now the listener is registered as dynamically'
    SQL> alter system register;
    Ed Stevens wrote ..
    simply do a  "ping oel5.linuxserver"  and report the result.
    $ ping  oel5.linuxserver
    ping: unknown host oel5.linuxserver
    $ hostname
    localhost.localdomain
    $ echo $ORACLE_HOSTNAME
    oel5.linuxserver
    my new tnsnames.ora contents
    primdb = 
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = oel5.linuxserver)(PORT=1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = mydb)
    $ tnsping primdb
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 18-JAN-2014 19:57:13
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = oel5.linuxserver)(PORT=1521)))
    (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = mydb)))
    TNS-12545: Connect failed because target host or object does not exist

  • Cannot connect to Database using JavaWebServer

    Hello,
    I am trying to connect to the database using the javawebserver2.0
    but when executed i get the following exception
    can any please tell when what cud be the possible problem
    Exception is:
    500 Internal Server Error
    The servlet named TxValidateUser at the requested URL
    http://nt17:6060/servlet/TxValidateUser;$sessionid$JWA24MAAAAAAFQDEYB3AAAA
    reported this exception: access denied (java.net.SocketPermission 192.100.192.122:1521 connect,resolve). Please report this to the administrator of the web server.
    java.security.AccessControlException: access denied (java.net.SocketPermission 192.100.192.122:1521 connect,resolve) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:267) at java.security.AccessController.checkPermission(AccessController.java:394) at java.lang.SecurityManager.checkPermission(SecurityManager.java:540) at java.lang.SecurityManager.checkConnect(SecurityManager.java:1039) at java.net.Socket.(Socket.java:257) at java.net.Socket.(Socket.java:95) at oracle.net.nt.TcpNTAdapter.connect(Unknown Source) at oracle.net.nt.ConnOption.connect(Unknown Source) at oracle.net.nt.ConnStrategy.execute(Unknown Source) at oracle.net.resolver.AddrResolution.resolveAndExecute(Unknown Source) at oracle.net.ns.NSProtocol.establishConnection(Unknown Source) at oracle.net.ns.NSProtocol.connect(Unknown Source) at oracle.jdbc.ttc7.TTC7Protocol.connect(TTC7Protocol.java:1213) at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:209) at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:249) at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260) at java.sql.DriverManager.getConnection(DriverManager.java:512) at java.sql.DriverManager.getConnection(DriverManager.java:172) at TxValidateUser.service(TxValidateUser.java:201) at javax.servlet.http.HttpServlet.service(HttpServlet.java:840) at com.sun.server.ServletState.callService(ServletState.java:226) at com.sun.server.ServletManager.callServletService(ServletManager.java:936) at com.sun.server.http.servlet.InvokerServlet.service(InvokerServlet.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:840) at com.sun.server.ServletState.callService(ServletState.java:226) at com.sun.server.ServletManager.callServletService(ServletManager.java:936) at com.sun.server.ProcessingState.invokeTargetServlet(ProcessingState.java:423) at com.sun.server.http.HttpProcessingState.execute(HttpProcessingState.java:79) at com.sun.server.http.stages.Runner.process(Runner.java:79) at com.sun.server.ProcessingSupport.process(ProcessingSupport.java:294) at com.sun.server.Service.process(Service.java:204) at com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java:374) at com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java:166) at com.sun.server.HandlerThread.run(HandlerThread.java:162)
    Thanks
    ROhan

    Please reply sumone its urgent
    regards
    rohan

  • Cannot connect to database using SQL Developer

    Ok. Here are the facts:
    1) I can connect to the database using PL/SQL Developer.
    2) I wanted to try SQL Developer and I am unable to connect to the same database with SQL Developer. I provide username and password and select "network alias" and click test and I get "Network adaptor could not be established"
    3) TNS names.ora file resides on a mapped drive which clearly is accessible by PL/SQL developer but not by SQL developer.
    What am i missing?
    Thanks a lot

    If you can select a network alias, then sqldeveloper has found your tnsnames and the problem lies elsewhere.
    Is the network drive specified by a UNC? SQLDeveloper doesn't work well with unc names.

  • Cannot connect to database using Oracle Data Access

    I have been able to connect to my database through SqlPlus, but I cannot make the connection to the database through my ASP.Net program.
    I set up my connection string following the following format:
    *"Data Source=(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = X.X.X.X)(PORT = X)))(CONNECT_DATA =(SERVICE_NAME = SID)(INSTANCE_NAME = SID))(HS = OK)); User Id=Blah; Password=Blah";*
    When the program tries to open the connetion, it through
    OracleException was caught
    Oracle.DataAccess.Client.OracleException was caught
    Message=""
    StackTrace:
    at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx pOpoSqlValCtx, Object src, String procedure)*
    at Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, Object src)
    at Oracle.DataAccess.Client.OracleConnection.Open()
    at GlobalIQ.Services.DatabaseLayer.SetUpConnection() in C:\GlobalIQ\GlobalIQ\Services\DatabaseLayer.cs:line 30
    InnerException:
    I do not know if this is because I didn't set something up correctly or that I am missing something. Thanks in advance

    user13488403 wrote:
    I have been able to connect to my database through SqlPlus, but I cannot make the connection to the database through my ASP.Net program. ODP, ASP-NET providers etc. forums are here
    http://forums.oracle.com/forums/category.jspa?categoryID=44
    >
    I set up my connection string following the following format:
    *"Data Source= ... (HS = OK)) ...Is the HS part really needed?

  • Sharing only users cannot connect to Lion Server

    Dear all,
    I stumbled across a funny problem, that I tried to resolve all day. I just wanted to add a sharing only user for my girlfriends new MacBook that she could use to connect to a shared Time Machine Volume.
    If I add a new standard user, this user can connect to my server via finder (connect as...) and see the shared drives. If the same user tries to connect to the Time Machine Backup Volume via the settings dialog, it receives an error message (OSStatus-error 5).
    If I add a sharing only user, this user cannot connect via finder or Time Machine (same error). The clients console states the following error message:
    /System/Library/CoreServices/NetAuthAgent.app/Contents/MacOS/NetAuthAgent[2471]      AFP error -5018 mapped to EIO
    Does anybody have an Idea?

    That is my point.  Yes, Apple still lets you add users via users and groups in system preferences but that is not how you should be adding users.  I've seen nothing but trouble when that option is used to add users and I believe that the Lion server docs say to not use that.  If you are using lion server why not use it the way it was meant to be.  Just create a account in OD and only give her access to the Time Machine Service and none of the others.

  • Cannot connect to database host...

    Hello,
    First, I want to say i'm not so good in english that's why i'm apologies for this.
    I try to use Sun VDI, my computer doesn't work in 64 bits that's why i use this product in 32 bits so I'm in a product envionnement.
    I've installed A mysql 5 server in a 2003 server with php, phpmyadmin to see database, and when i install sun vdi in my solaris 10 i have this error message:
    Cannot connect to database host...ip:3306 as user root, but when i've install mysql i've just root for user and i use this he work, and i use this login to connect in my database.
    What can Have to do now? My port is really 3306 when i install mysql and the two machine is in the same network, ping work.
    Thanks for yours futur answers
    Regards,

    Select (1/2/0) : 1
    Specify an administrator password: (in my case) xxxxxxxx _(password of my sql)_ <------ This is wrong. This can be any desired admin password.
    specify a cluster signature: 7727kkkk
    again
    you can only connect to a remote MYSQL database in a 32-bit system.
    Continue? (y/n): y
    Enter the dns name of mysql server: _192.168.168.165_ <------- This is wrong. This is an IP address and not a DNS name (not sure if that is really a problem here).
    Enter the port of mysql server : 3306
    enter mysql priviliged administrator: root_ <------- This is wrong. Here you have to enter the admin user name of your database.
    enter mysql priviliged administrator password: xxxxxxxx_ <------- Here you enter the corresponding password for this user (so password of your MySQL account)
    Do you want to use a Socket secure layer (ssl) connection for '192.168.168.165'? (yn): n
    Cannot connect to database host 192.168.168.x:3306 as user 'root'
    Please make you shure connexion daitels you have provided are correct
    Where i have wrong please?

  • Cannot connect to Database attempts hang (no errors)

    hi, i have oracle 9.2 on solaris 5.8
    weirdly, today we could not connect the db anymore. even these does not work on the server:
    sqlplus /nolog
    SQL> connect /as sysdba
    sqlplus "/ as sysdba"
    sqlplus system/**
    ALL attemps just hang , no errors.
    what can i do?
    i think the only way is reboot the machine?
    any ideas?

    here is the output
    bash-2.05# vmstat 2 20
    kthr memory page disk faults cpu
    r b w swap free re mf pi po fr de sr f0 m0 m1 m2 in sy cs us sy id
    0 0 0 1940080 1012952 9 25 51 0 0 0 0 0 7 5 7 729 777 245 15 3 82
    0 0 0 1828840 855200 0 4 0 0 0 0 0 0 386 7 387 5626 62112 3614 25 40 35
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 384 7 384 5611 62299 3786 23 40 37
    0 1 0 1828840 855200 0 0 0 0 0 0 0 0 372 6 373 5582 63459 3754 24 39 37
    0 2 0 1828840 855200 0 0 0 0 0 0 0 0 391 7 391 5640 63245 3976 23 38 40
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 374 18 374 5789 61626 3760 24 37 3
    9
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 373 7 373 5536 62333 3888 20 47 34
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 376 7 376 5585 62463 3594 24 42 35
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 354 8 354 5364 61787 3396 24 41 36
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 378 7 378 5616 61667 3777 18 47 35
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 364 11 364 5494 63075 3616 24 40 3
    6
    0 2 0 1828840 855200 0 0 0 0 0 0 0 0 388 8 388 5733 62161 3947 22 39 39
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 388 8 388 5702 61873 4142 22 43 35
    0 1 0 1828840 855200 0 0 0 0 0 0 0 0 383 7 383 5584 63365 3815 28 33 40
    1 0 0 1828840 855200 0 0 0 0 0 0 0 0 387 7 387 5643 63920 3846 29 29 41
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 378 10 378 5650 61793 3914 23 40 3
    6
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 388 7 389 5644 62798 4064 24 36 40
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 377 11 377 5592 62206 3941 23 47 3
    0
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 379 8 380 5605 61121 3959 21 50 29
    kthr memory page disk faults cpu
    r b w swap free re mf pi po fr de sr f0 m0 m1 m2 in sy cs us sy id
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 379 7 379 5511 61964 3549 19 46 35
    Also, i cannot connect the database, i dont have any active connections, cannot run any sql statements..

  • Cannot connect to database master at SQL server at SERVERNAME

    I have installed SQL 2008 R2 in a fresh win 2008 R2. I’m running the sharepoint configuration Wizard using the database server name with the correct domain
    credentials but I get the following error message. “Cannot connect to database master at SQL server at
    SERVERNAME. The database might not exist, or the current user does not have permission to connect”
    I‘m able to login to the new SQL server using the “SQL server management studio” with no problems. I used the sa account and a domain account.
    The sharepoint server is also a new installation. And both servers have the firewall disabled.
    Thanks in advance for your help.
    Simon

    Hi,
    What is your SharePoint server’s version?
    Please make sure you use the farm admin account to launch SharePoint configuration wizard. If not, please log in with this account, then check the effect.
    In addition, check if you create a named instance, such as, servername\sharepoint, however, you only specify the servername in the configuration wizard. If this is
    the case, change to servername\sharepoint, then check the effect.
    Thanks,
    Rock Wang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Regards, Rock Wang Microsoft Online Community Support

  • Users cannot connect over SMB 10.10.1 server.app 4.0 and 4.0.3

    Hello,
    I have an issue where users cannot connect to a server for files sharing over SMB.
    Info:
    All users on 10.10.1
    2 Servers on 10.10.1
    Server.app 4.0.3 but issue was also present using 4.0
    SMB connection works when connecting to the OD Master
    SMB does not work when connecting to the OD Replica ServerBut AFP works fine when connecting to the OD Replica Server.
    I have destroyed and re-added the OD replica but that did not seem to help
    This is what I see in the logs each time I try to connect(logs have been cleaned to remove client details:
    Jan  9 14:37:12 server.pretendco.com digest-service[9961]: label: default
    Jan  9 14:37:12 server.pretendco.com digest-service[9961]: dbname: od:/Local/Default
    Jan  9 14:37:12 server.pretendco.com digest-service[9961]: mkey_file: /var/db/krb5kdc/m-key
    Jan  9 14:37:12 server.pretendco.com digest-service[9961]: acl_file: /var/db/krb5kdc/kadmind.acl
    Jan  9 14:37:12 server.pretendco.com digest-service[9961]: digest-request: uid=0
    Jan  9 14:37:12 server.pretendco.com digest-service[9961]: digest-request: netr probe 0
    Jan  9 14:37:12 server.pretendco.com digest-service[9961]: digest-request: init request
    Jan  9 14:37:12 server.pretendco.com digest-service[9961]: digest-request: init return domain: SERVER2 server: SERVER2 indomain was: <NULL>
    Jan  9 14:37:13 server.pretendco.com digest-service[9961]: digest-request: uid=0
    Jan  9 14:37:13 server.pretendco.com digest-service[9961]: digest-request: init request
    Jan  9 14:37:13 server.pretendco.com digest-service[9961]: digest-request: init return domain: SERVER2 server: SERVER2 indomain was: <NULL>
    Jan  9 14:37:13 server.pretendco.com kdc[4802]: Got a canonicalize request for a LKDC realm from local-ipc
    Jan  9 14:37:13 server.pretendco.com kdc[4802]: Asked for LKDC, but there is none
    Jan  9 14:37:13 server.pretendco.com sandboxd[395] ([4802]): kdc(4802) deny file-read-data /private/etc/krb5.conf
    Jan  9 14:37:22 server.pretendco.com kdc[4802]: Got a canonicalize request for a LKDC realm from local-ipc
    Jan  9 14:37:22 server.pretendco.com kdc[4802]: Asked for LKDC, but there is none
    Jan  9 14:37:23 server.pretendco.com digest-service[9961]: digest-request: uid=0
    Jan  9 14:37:23 server.pretendco.com digest-service[9961]: digest-request: init request
    Jan  9 14:37:23 server.pretendco.com digest-service[9961]: digest-request: init return domain: SERVER2 server: SERVER2 indomain was: <NULL>
    Jan  9 14:37:23 server.pretendco.com digest-service[9961]: digest-request: uid=0
    Jan  9 14:37:23 server.pretendco.com digest-service[9961]: digest-request: init request
    Jan  9 14:37:23 server.pretendco.com digest-service[9961]: digest-request: init return domain: SERVER2 server: SERVER2 indomain was: <NULL>
    Jan  9 14:37:23 server.pretendco.com digest-service[9961]: digest-request: uid=0
    Jan  9 14:37:23 server.pretendco.com digest-service[9961]: digest-request: od failed with 2 proto=ntlmv2
    Jan  9 14:37:23 server.pretendco.com digest-service[9961]: digest-request: user=SERVER2\\username
    Jan  9 14:37:23 server.pretendco.com digest-service[9961]: digest-request: kdc failed with 36150275 proto=unknown
    Jan  9 14:37:23 server.pretendco.com digest-service[9961]: digest-request: guest failed with -1561745590 proto=ntlmv2
    Jan  9 14:37:23 server.pretendco.com digest-service[9961]: digest-request: uid=0
    Jan  9 14:37:23 server.pretendco.com digest-service[9961]: digest-request: init request
    Jan  9 14:37:23 server.pretendco.com digest-service[9961]: digest-request: init return domain: SERVER2 server: SERVER2 indomain was: <NULL>
    Jan  9 14:37:23 server.pretendco.com digest-service[9961]: digest-request: uid=0
    Jan  9 14:37:23 server.pretendco.com digest-service[9961]: digest-request: init request
    Jan  9 14:37:23 server.pretendco.com digest-service[9961]: digest-request: init return domain: SERVER2 server: SERVER2 indomain was: <NULL>
    Jan  9 14:37:23 server.pretendco.com digest-service[9961]: digest-request: uid=0
    Jan  9 14:37:23 server.pretendco.com digest-service[9961]: digest-request: od failed with 2 proto=ntlmv2
    Jan  9 14:37:23 server.pretendco.com digest-service[9961]: digest-request: user=SERVER2\\codywood
    Jan  9 14:37:23 server.pretendco.com digest-service[9961]: digest-request: kdc failed with 36150275 proto=unknown
    Jan  9 14:37:23 server.pretendco.com digest-service[9961]: digest-request: guest failed with -1561745590 proto=ntlmv2
    I suspect the problem is to do with Kerberos and in relation to this server being an OD Replica.
    I would really appreciate anyone's insight into this.
    Thanks
    Morgs

    I have the same problem although I upgraded from Lion Server to Mountain Lion Server. The error appears to go hand in hand with this error.
    userInit: CFPreferences: user home directory for user kCFPreferencesCurrentUser at /Network/Servers/fullyqualifieddomainname/Users/user is unavailable. User domains will be volatile.
    I've read a number of things to try. A lot of people point to DNS being a problem, but I'm confident this is correct in my environment.

Maybe you are looking for

  • Can't start my MacBook pro

    Good day. I ask your help. I have a MacBook Pro Intel core i5 early 2011 model MC700RS / A. So, my unfortunate story begins. I use my laptop at home, he was always connected to the internet, and so I decided to encrypt a hard drive, in fact, it is al

  • How to trigger an Idoc from Sales order creation and change

    We are trying to trigger Idoc from sales order creation and change we have done following setting mentioned below: Follow the below steps: 1. Go to NACE transaction 2. Select V1 application and select OUTPUT TYPES 3. Select the required output type a

  • MDMGX issue

    Dear MDM experts, I am trying to download Customer check tables using MDMGX. In some check tables I need to extract multi-lingual texts. In the <i><b>maintain Port....</b></i> option of MDMGX So I coded the <i><b>LANG field as SPRAS=Langkey</b>,Field

  • RGSUM could not be updated

    Getting error as RGSUM could not be updated.In j1iex when we change material type from raw to consumable.in j1id they have maintained mat type as consumable which was raw earlier at the time of po creation.

  • Oracle equivalent of TOP with DESC in TransactSQL

    Hi All, I have a question and I have not answer long time ago. I have a long rowset (with more then 50000 rows). How can I get the last 5 rows of this rowset? The solution in TransactSQL is: SELECT TOP 5 * FROM MyTable ORDER BY TIME DESC; The Oracle'