Want to connect sqlplus through linux

Hi Friends I am newbie to Linux . I am working as oracle DBA on 10g . Till last day I had worked on windows platform. Now my company want me to work on Linux platform . I am first time using Linux dont know A,B,C of Linux . I want to connect sqlplus through linux command prompt. I have exported enviornment variable of oracle but I am getting permission denied Below mention steps I ahd followed . Please help me to solve it
[oracle@bhel1 mj]$ ORACLE_SID=V7;export ORACLE_SID
[oracle@bhel1 mj]$ ORACLE_HOME=/usr/lib/oracle/v7/app/oracle/prod
ver;export ORACLE_HOME
[oracle@bhel1 mj]$ PATH=$ORACLE_HOME/bin:$PATH;export PATH
[oracle@bhel1 mj]$ NLS_LANG=AMERICAN_AMERICA.AL32UTF8;export NLS_
[oracle@bhel1 mj]$ LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_P
LIBRARY_PATH
[oracle@bhel1 mj]$ sqlplus/nolog
bash: sqlplus/nolog: Permission denied
[oracle@bhel1 mj]$

[oracle@bhel1 ~]$ echo $ORACLE_SID
v7
[oracle@bhel1 ~]$ echo $ORACLE_HOME
/oracle/product/10.2.0/db_1
[oracle@bhel1 ~]$ env
HOSTNAME=bhel1
SHELL=/bin/bash
TERM=ansi
HISTSIZE=1000
QTDIR=/usr/lib/qt-3.3
USER=oracle
LD_LIBRARY_PATH=/oracle/product/10.2.0/db_1/lib
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;0
1:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.b
tm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:
*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*
.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;3
5:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:
ORACLE_SID=v7
ORACLE_BASE=/oracle
KDEDIR=/usr
MAIL=/var/spool/mail/oracle
PATH=/usr/kerberos/bin:/usr/bin:/bin:/usr/X11R6/bin:/oracle/bin:/oracle/bin:/ora
cle/product/10.2.0/db_1/bin
LOGIN=oracle
INPUTRC=/etc/inputrc
PWD=/oracle
LANG=en_US.UTF-8
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
KRB5CCNAME=FILE:/tmp/krb5cc_p3315
SHLVL=1
HOME=/oracle
LOGNAME=oracle
LESSOPEN=|/usr/bin/lesspipe.sh %s
ORACLE_HOME=/oracle/product/10.2.0/db_1
G_BROKEN_FILENAMES=1
_=/usr/bin/env
[oracle@bhel1 ~]$ echo $ORACLE_SID
v7
[oracle@bhel1 ~]$ echo $ORACLE_HOME
/oracle/product/10.2.0/db_1
[oracle@bhel1 ~]$ enc
-bash: enc: command not found
[oracle@bhel1 ~]$ env
HOSTNAME=bhel1
SHELL=/bin/bash
TERM=ansi
HISTSIZE=1000
QTDIR=/usr/lib/qt-3.3
USER=oracle
LD_LIBRARY_PATH=/oracle/product/10.2.0/db_1/lib
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;0
1:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.b
tm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:
*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*
.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;3
5:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:
ORACLE_SID=v7
ORACLE_BASE=/oracle
KDEDIR=/usr
MAIL=/var/spool/mail/oracle
PATH=/usr/kerberos/bin:/usr/bin:/bin:/usr/X11R6/bin:/oracle/bin:/oracle/bin:/ora
cle/product/10.2.0/db_1/bin
LOGIN=oracle
INPUTRC=/etc/inputrc
PWD=/oracle
LANG=en_US.UTF-8
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
KRB5CCNAME=FILE:/tmp/krb5cc_p3315
SHLVL=1
HOME=/oracle
LOGNAME=oracle
LESSOPEN=|/usr/bin/lesspipe.sh %s
ORACLE_HOME=/oracle/product/10.2.0/db_1
G_BROKEN_FILENAMES=1
_=/usr/bin/env
[oracle@bhel1 ~]$
friend please find as required

Similar Messages

  • Not able to connect sqlplus in linux

    Hi,
    I am using Enterprise Linux 5. I am not able to connect database using sqlplus.
    After entering sqlplus command, getting following error:
    [ra10g@blue ~] sqlplus / as sysdba
    /oracle/oa10g/10204/bin/sqlplus: Line 41: syntex error near unexpected token 'set'
    /oracle/oa10g/10204/bin/sqlplus: Line 41: 'if ("$ORASID" == '') set ORASID="*"'
    I had checked all the enviorment variables.
    ORACLE_HOME = /oracle/oa10g/10204
    ORASID = orcl
    LD_LIBRARY_PATH = /oracle/oa10g/10204/lib:/lib:/usr/lib
    Please give me any solution regarding this.
    Thanks in advance.
    Would appriciate your prompt response.
    Regards,
    Vishal Patel

    user11796357 wrote:
    Re:
    may be some enviromnet variable setting problem
    ty this
    export ORACLE_HOME=/oracle/oa10g/10204
    export Oracle_SID=orclIf you actually did this, then you will fail. The variable is ORACLE_SID and the variable name is case sensitive.
    If the database was already created with the SID orcl, check whether the SID exists in oratab (command -> tail /etc/oratab) and then you can source the oraenv file as follows
    . oraenv
    orcl
    Note that sourcing is using the dot (period) and space before command. If you do not know what "source a file" means in bash, I strongly encourage you to spend some time with the bash tutorial on the net.

  • When I want to connect Nike+  through iTunes, I receive an error: "iTunes could not connect to Nike ". WIll this be fixed?

    This is only happening today. But I can log in to NIke+ normally through my web browser.

    I am having this same problem with my first generation nano...i p lugged it into the computer and it said that same error message and deleted what had been on there before... this is very frustrating as i now have a useless ipod... if anyone has any advice for us please help!!! lyzzie

  • I have a macbook pro with lion os. and i want to connect it to my optoma dlp projector. when i connect through a mini display to vga adapter in MBP it detects as OPTOMA XGA but no image on the screen.

    i have a macbook pro. i want to connect it to projector and i have a minidisplay to vga adapter. i could connect my MBP to benq projector successfully and for  all other displays( Monitors). but when i connect it to optoma projector, MBP detects the display as OPTOMA XGA but nothing on bigger screen. i tried changing the resolution and refresh rate also but no changes.
    In my office we got benq projectors , for that it is working very well.(plug and play).
    and also i want to say that there is no problem with the optoma projector seems, because all other windows laptops are working well with that.
    i was struggling with this since one month. i googled it could not find anything supportive for my problem. please help me regarding this. i am new to apple. i hope there must be genius around here.
    thnak you

    Rwogera wrote:
    I couldn't transmit sound either, do i need another cable like Kim said? i mean it cant be transmitted through this HDMI port? as for me i have one of the latest mac pro with intel core i5..tnx
    I need to know which MacBook Pro you have.  Only mid-2010  and later MBP's transmit sound through MiniDisplay Port to HDMI.  I have no information about the Mac Pro, so you might want to go to that Forum and ask there.

  • I want to connect my G5 at home with my G5 at work through Internet

    I want to connect my G5 at home with my G5 at work through Internet. How do I do that?
    Thank you

    Assuming he works for a company, the first person to talk to is whoever is in charge of the company's network. Most company networks are firewalled, and usually won't permit access except by authorized users with company-approved VPN software.

  • I want to connect a DataBase(oracle) through Tomcat5.

    i want to connect a DataBase(oracle) through Tomcat5.
    pls tell me the steps how can i do this .or pls give me any link
    thanks previously

    The bottom line is. If you can't figure this part out on your own then you have no business doing any JDBC programming anyway. Think of it as a minimal competency test to make sure it's safe for you to proceed. It isn't safe yet.

  • I want to connect Visual foxpro database through forms6i.

    Hi ,
    I want to connect Visual foxpro database through forms6i.
    actually i want to access Visual foxpro database in forms6i and retrive and update data from forms6i.
    please help me urgently how can i do this in forms6i.
    Thanks,
    Md.Muniruzzaman Khan
    Email : [email protected]

    do the following steps for hetrogenous service
    Step 1
    Create ODBC named Access1.
    Step 2
    Go to urs inithsodbc.ora file which reside at
    ORACLE_HOME\hs\admin\inithsodbc.ora
    and overrite by
    # This is a sample agent init file that contains the HS parameters that are
    # needed for an ODBC Agent.
    # HS init parameters
    HS_FDS_CONNECT_INFO = Access1
    HS_FDS_TRACE_LEVEL = off
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    Step 3
    Add the following entry to the tnsnames.ora file:
    ACCESS1.WORLD =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
    (CONNECT_DATA=(SID=ACCESS1))
    (HS=OK)
    Step 4
    Add the following entry into the listener.ora file:
    (SID_DESC=
    (SID_NAME=ACCESS1)
    (ORACLE_HOME=D:\Oracle)
    ---Define urs oracle home path in mine case it is at D:\Oracle--
    (PROGRAM=hsodbc)
    Step 5
    Reload the listener from contol panel services yours listener service
    Step 6
    Create a database link using:
    CREATE DATABASE LINK access1.world CONNECT TO "MyUser" IDENTIFIED BY "MyPassword" USING 'ACCESS1.WORLD';
    Step 7
    Connect to scott/tiger
    Query the table using:
    SELECT *
    FROM [email protected];
    Step 8
    Same you can connect to urs forms and write above sql in cursor
    Acknowledge me.
    Khurram Siddiqui

  • Wanting to connect an older G4 Powerbook running OS 10.4.11 to a Marantz SR4023 receiver amplifier with only RCA inputs to play iTunes through it on stereo speakers. Can anyone advise how to do this?

    Wanting to connect an older G4 Powerbook running OS 10.4.11 to a Marantz SR4023 receiver amplifier with only RCA inputs to play iTunes through it on stereo speakers. Can anyone advise how to do this? Not tech savvy at all here, and will be happy with a simple hard wired connection.  The Powerbook is old, and I no longer want to use it for anything but connecting iTunes radio, and my iTunes library to my stereo system.

    Hi,
    There were many PowerBook G4 models (http://support.apple.com/kb/HT3065) with different ports (http://support.apple.com/kb/ht2369).
    If necessary, a manual can be found here:
    http://support.apple.com/manuals/#PowerBook%20G4
    Generally speaking, the output of a headphone port can often be used for the connection to an amplifier. You would need an appropriate cable (typically, 3.5 mm stereo plug to two RCA plugs). Choose a suitable amplifier input (high level). Do verify the allowed amplifier input voltage levels and the impedance before you connect.
    Jan

  • How to connect to sqlplus through Unix

    Hi ,
    Any body can help me how to connect sqlplus from the shall script(.ksh)
    I am using below command, but nor working
    VAR=`$SQLPLUS -s id/password << EOF
    SQL Query
    EOF`

    790264 wrote:
    Hi ,
    Any body can help me how to connect sqlplus from the shall script(.ksh)
    I am using below command, but nor working
    VAR=`$SQLPLUS -s id/password << EOF
    SQL Query
    EOF`
    bcm@bcm-laptop:~$ ./show_sql.sh
    cat show_sql.sh
    sqlplus user1/user1 << EOF
    spool now.lis
    select sysdate from dual;
    exit
    EOF
    cat now.lis
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Aug 12 18:35:54 2011
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> SQL>
    SYSDATE
    2011-08-12 18:35:54
    SQL> Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> select sysdate from dual;
    SYSDATE                                                                        
    2011-08-12 18:35:54                                                            
    SQL> exit
    bcm@bcm-laptop:~$

  • How to connect oracle on linux

    O/S= Windows XP SP2
    ORACLE Client- 10.2.0.1
    Oracle : 10.2.0.1... linux RHEL4
    Sir,
    I am having a machine with RHEL4 installed on VMWare. I want to connect ORACLE installed in linux on windows. I have installed Oracle Client on Windows. Now Pl. guide how can I be able to connect oracle through Oracle Client. I want to use ORACLE for some development on ASP.Net.
    Following is the Tnsname.ora file of Linux installation
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/10.2.0/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    Kindly Guide me the Steps how can I connect ORACLE.
    Thanks

    Sir,
    here I am pasting output of all commands.
    [oracle@localhost ~]$ env|sort
    CLASSPATH=/u01/app/oracle/product/10.2.0/db_1/JRE:/u01/app/oracle/product/10.2.0/db_1/jlib:/u01/app/oracle/product/10.2.0/db_1/rdbms/jlib
    COLORTERM=gnome-terminal
    DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-onw8BmaUC9
    DESKTOP_SESSION=default
    DISPLAY=:0.0
    G_BROKEN_FILENAMES=1
    GDMSESSION=default
    GNOME_DESKTOP_SESSION_ID=Default
    GNOME_KEYRING_SOCKET=/tmp/keyring-7u3EBx/socket
    GTK_RC_FILES=/etc/gtk/gtkrc:/home/oracle/.gtkrc-1.2-gnome2
    HISTSIZE=1000
    HOME=/home/oracle
    HOSTNAME=localhost.localdomain
    INPUTRC=/etc/inputrc
    KDEDIR=/usr
    LANG=en_US.UTF-8
    LD_LIBRARY_PATH=/u01/app/oracle/product/10.2.0/db_1/lib:/lib:/usr/lib
    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=/u01/app/oracle
    ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
    ORACLE_SID=orcl
    ORACLE_TERM=xterm
    PATH=/u01/app/oracle/product/10.2.0/db_1/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/oracle/bin
    PWD=/home/oracle
    QTDIR=/usr/lib/qt-3.3
    SESSION_MANAGER=local/localhost.localdomain:/tmp/.ICE-unix/3185
    SHELL=/bin/bash
    SHLVL=2
    SSH_AGENT_PID=3213
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    SSH_AUTH_SOCK=/tmp/ssh-RAdzDO3212/agent.3212
    TERM=xterm
    TMPDIR=/tmp
    TMP=/tmp
    USER=oracle
    _=/usr/bin/env
    WINDOWID=37748817
    XAUTHORITY=/home/oracle/.Xauthority
    [oracle@localhost ~]$ cat /etc/hosts
    127.0.0.1 localhost.localdomain localhost
    [oracle@localhost ~]$ lsnrctl status
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 09-JUL-2010 16:00:14
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date 09-JUL-2010 13:28:24
    Uptime 0 days 2 hr. 31 min. 49 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl" has 2 instance(s).
    Instance "ORCL", status UNKNOWN, has 1 handler(s) for this service...
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orcl_XPT" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@localhost ~]$ lsnrctl status
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 09-JUL-2010 16:00:19
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date 09-JUL-2010 13:28:24
    Uptime 0 days 2 hr. 31 min. 54 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl" has 2 instance(s).
    Instance "ORCL", status UNKNOWN, has 1 handler(s) for this service...
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orcl_XPT" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@localhost ~]$ [oracle@localhost ~]$ lsnrctl service
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 09-JUL-2010 16:03:25
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "orcl" has 2 instance(s).
    Instance "ORCL", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:5 refused:0
    LOCAL SERVER
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:1 refused:0 state:ready
    LOCAL SERVER
    Service "orclXDB" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: localhost.localdomain, pid: 3421>
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=32808))
    Service "orcl_XPT" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:1 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully
    [oracle@localhost ~]$ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jul 9 16:03:38 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> startup mount
    ORA-32004: obsolete and/or deprecated parameter(s) specified
    ORA-01081: cannot start already-running ORACLE - shut it down first
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    [oracle@localhost ~]$

  • ERROR 53761 Connection  Bind through PTA failed (91). Retrying...

    We are using Enterprise Directory Server 7.0 (zip version) on two Linux machines A & B. Independently directory servers are working fine on both machines A & B. DSCC is running on Machine A (deployed in Sun app server 9.1)which is managing the directory server (DS1) on same machine A.
    We want to manage DS2 running on machine B using DSCC running on machine A. We can create a instance on DS2 (machine2) using DSCC running on machine A but see the operation error in DSCC console as "Unexpected Error".
    I checked the DS2 error logs, it says..
    [12/Oct/2010:10:23:13 -0700] - ERROR<53761> - Plugins - conn=-1 op=-1 msgId=-1 - Connection Bind through PTA failed (91). Retrying...
    [12/Oct/2010:10:23:13 -0700] - ERROR<53761> - Plugins - conn=-1 op=-1 msgId=-1 - Connection Bind through PTA failed (91).
    I tried to enable the access via DSCC to DS1, it enables the access as "message comes successfully enabled" but i still do see the operation error in DSCC console as "Unexpected Error" for DS2.
    This is my current pass through plugin entry in DS2
    dn: cn=Pass Through Authentication,cn=plugins,cn=config
    objectClass: top
    objectClass: nsSlapdPlugin
    objectClass: ds-signedPlugin
    objectClass: extensibleObject
    cn: Pass Through Authentication
    nsslapd-pluginPath: /opt/ldapapp/ds7/dsee7/lib/passthru-plugin.so
    nsslapd-pluginInitfunc: passthruauth_init
    nsslapd-pluginType: preoperation
    nsslapd-pluginarg0: ldap://DS1.csueastbay.edu:3998/cn=dscc
    nsslapd-pluginEnabled: on
    modifiersName: cn=dirmgr
    modifyTimestamp: 20101007221727Z
    nsslapd-pluginId: passthruauth
    nsslapd-pluginVersion: 7.0
    nsslapd-pluginVendor: Sun Microsystems, Inc.
    nsslapd-pluginDescription: pass through authentication plugin
    if I set the nsslapd-pluginarg0 parameter as ldap://*DS2*.csueastbay.edu:3998/cn=dscc (Note DS2 instead of DS1) then I get the operational status in DSCC for DS2 host as Inaccessible (*to enable access click on the server and then on "Enable Access")* .
    Now I enable the access using DSCC on host A and message comes access is enabled successfully for DS2 and but I again see the operational Status as "Unexpected Error" for DS2 host.
    Could you please shadow some light what could be wrong?
    Appreciated your quick response.
    Thanks

    Thanks for the reply. I do see the host names in /etc/hosts file on both the machines ( DSCC as well actual directory server) but no positive response yet. I think the error is lying here. Ran dsccmon on the server where Directory server 7.0 is running.
    [diruser@ds1 ~]$ dsccmon view-servers -E
    Server Status Version Entry# Suffix# Roles
    ds1.csueastbay.edu:1389 ERROR - 0 0 ---
    ds1.csueastbay.edu:1389 {
    ERROR_UNEXPECTED_FAILURE[javax.naming.NamingException: [LDAP: error code 1 - Can't connect to the LDAP server]]
    at com.sun.directory.dcc.core.ServerCacheEntryImpl.reportException(ServerCacheEntryImpl.java:195)
    at com.sun.directory.dcc.core.ServerLoader.run(TopologyLoader.java:334)
    Caused by: javax.naming.NamingException: [LDAP: error code 1 - Can't connect to the LDAP server]
    at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3081)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2987)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2789)
    at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2703)
    at com.sun.jndi.ldap.LdapCtx.ensureOpen(LdapCtx.java:2602)
    at com.sun.jndi.ldap.LdapCtx.ensureOpen(LdapCtx.java:2576)
    at com.sun.jndi.ldap.LdapCtx.reconnect(LdapCtx.java:2572)
    at javax.naming.ldap.InitialLdapContext.reconnect(InitialLdapContext.java:173)
    at com.sun.directory.common.ssl.LdapContextUtils$3.run(LdapContextUtils.java:251)
    at java.lang.Thread.run(Thread.java:619)
    Embedded exception:
    javax.naming.NamingException: [LDAP: error code 1 - Can't connect to the LDAP server]
    at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3081)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2987)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2789)
    at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2703)
    at com.sun.jndi.ldap.LdapCtx.ensureOpen(LdapCtx.java:2602)
    at com.sun.jndi.ldap.LdapCtx.ensureOpen(LdapCtx.java:2576)
    at com.sun.jndi.ldap.LdapCtx.reconnect(LdapCtx.java:2572)
    at javax.naming.ldap.InitialLdapContext.reconnect(InitialLdapContext.java:173)
    at com.sun.directory.common.ssl.LdapContextUtils$3.run(LdapContextUtils.java:251)
    at java.lang.Thread.run(Thread.java:619)
    1 server error(s) displayed

  • I want to connect my apple tv to my bose lifestyle 48 surround, how to i do this?

    I want to connect my apple tv to my bose lifestyle 48 surround system, how to I do this?

    Hi guys thank you for your replays but i am still stuck...
    wiston it is a home cinema surround sound system with LG dvd player with NO optical outlet. one hdmi one scart outlet i have my speakers all running through the back of the LG reciever not (amplifier) i have only 2 hdmi outlets at the back of the tv  and  a opitcal outlet,the two hdmi ports is for sky hd the other is the hdmi junction box, therefore i am using a hdmi junction box with my ps3 and LG and apple tv running through,then i press a switch from one to another to play ps3 and LG DVD player bit of a pain but all works through surround sound how i want it too only ps3 and LG dvd player though.NOT apple tv ...
    I have tryed different things but with no joy i even looked on youtube for a video to try and show me lol,  does it look like i will have to buy a dvd player (reciever) with optical out? to connect to apple tv??
    As much information as possible would be helpfull as apple dont seem to have any idea when i called them.
    Thank you apple communitie.

  • Hi there can anyone help me out.  I have Apple TV and I am trying to connect wirelessly through a zyxel wireless hotspot gateway, I know a tad extreme but a friend had one free,  anyway I can find the router but no Internet connection?

    Hi there can anyone help me out.  I have Apple TV and I am trying to connect wirelessly through a zyxel wireless hotspot gateway, I know a tad extreme but a friend had one free,  anyway I can find the router but no Internet connection?

    The only people who can possibly assist you with this is Apple Customer Relations, call your local Apple contact number and ask for Customer Relations then explain your situation clearly and politely (be firm but don't rant).
    You might want to investiage what the local laws are regarding defective goods and 'fit for use' definitions on warranties etc. Consumer Protection can be a useful tool to use or bargain with if needed ...

  • I have 2 yr old Iphone 4 and have not backed up or connected to Itunes or backed up for 1 yr. I have new computer and want to connect and copy Itunes folder from external HD to new computer and install Itunes. What steps should I take and what precautions

    I have a 2 yr old Iphone 4 and have not backed up or connected to Itunes up for 1 yr. I have new Windows 7 computer and want to connect and copy Itunes backed up folder from external HD (a year ago) to new computer and install new Itunes and new IOS. What steps should I take and what precautions? I don't want to lose any data on my phone such as music, photos, contacts, notes, texts etc, nor lose music from prior backed up Itune folder. Apps should be OK from app store? Thanks for any help.

    Hello CosK,
    The following guide can step you through the process of using a backup of your iPhone 5 to transfer your content to your iPhone 5s.
    Transfer content from an iPhone, iPad, or iPod touch to a new device
    http://support.apple.com/kb/HT2109
    Should one or both of your phones fail to appear in iTunes, the following article provides troublesooting steps that can assist.
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    Cheers,
    Allen

  • I want to connect to a network printer hp cp1518ni with different versions of windows (win7& winxp)

    I want to connect to a network printer hp cp1518ni with different versions of windows (win7 & winxp) . My pc with win 7 work ok but the pc with win xp not "see" the printer on the network. What is the additional driver should I install?
    thanks
    This question was solved.
    View Solution.

    Hi @OHIMATAS,
    I see by your post that you are unable to network the printer to the Windows XP computer, but the Windows 7 computer is connected. I can help you with this.
    Make sure the Windows XP computer is connected to the correct network name, not a Guest network either.
    Print a configuration page to get the printer's IP address.
    Printing a Configuration Page.
    Try and access the printer's Embedded Web Server on the Windows XP computer.
    Type the IP address into your web browser's address bar. (Internet Explorer)
    Did it load the webpage?
    If you can't access the printer's EWS, then check the IP address on the computer to see if the first 3 sets of numbers match the printer's IP. They have to match to be on the same network.
    Go to start, type run in the search box, type in cmd, then type ipconfig.
    Check the IPV4 address.
    Now check the IPV4 address for the printer.
    Do the first 3 sets of numbers match?
    Try and ping the printer.
    In the same window, type ping printers IP address (space between ping and IP address)
    What are the results?
    Run the add printer wizard through printers and faxes, if you were able to access the printer's EWS.
    Please provide in detail the results if you are still having issues.
    Have a nice day!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

Maybe you are looking for