Home » RDBMS Server » Backup & Recovery » how to take backup from LAN client with EXP (9i)?
how to take backup from LAN client with EXP (9i)? [message #235345] Sat, 05 May 2007 03:34 Go to next message
brijal_j_patel
Messages: 28
Registered: May 2007
Location: Surat,India
Junior Member
hello all,
I have one server running Oracle 9i Database and many client running D2K at my Job Place.
When i take Backup from Server, it will work fine. But I cann't take backup from any of client computers.

at client
C:\>EXP scott/tiger@oracle file=c:\abc.dmp log=c:\abc.log

EXP-00056: ORACLE error 12154 encountered
ORA-12154: TNS:could not reslove service name
EXP-00000: Export terminated unsuccessfully.

I also set TNSNames.ora at all client machine. and my program runs fine. So what i have to change at client.

Please help me
Re: how to take backup from LAN client with EXP (9i)? [message #235351 is a reply to message #235345] Sat, 05 May 2007 04:34 Go to previous messageGo to next message
Michel Cadot
Messages: 68716
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
There is no relation between exp and your error.
Error manual says:
ora-12154: TNS:could not resolve the connect identifier specified
 *Cause:  A connection to a database or other service was requested using
 a connect identifier, and the connect identifier specified could not
 be resolved into a connect descriptor using one of the naming methods
 configured. For example, if the type of connect identifier used was a
 net service name then the net service name could not be found in a
 naming method repository, or the repository could not be
 located or reached.
 *Action:
   - If you are using local naming (TNSNAMES.ORA file):
      - Make sure that "TNSNAMES" is listed as one of the values of the
        NAMES.DIRECTORY_PATH parameter in the Oracle Net profile
        (SQLNET.ORA)
      - Verify that a TNSNAMES.ORA file exists and is in the proper
        directory and is accessible.
      - Check that the net service name used as the connect identifier
        exists in the TNSNAMES.ORA file.
      - Make sure there are no syntax errors anywhere in the TNSNAMES.ORA
        file.  Look for unmatched parentheses or stray characters. Errors
        in a TNSNAMES.ORA file may make it unusable.
   - If you are using directory naming:
      - Verify that "LDAP" is listed as one of the values of the
        NAMES.DIRETORY_PATH parameter in the Oracle Net profile
        (SQLNET.ORA).
      - Verify that the LDAP directory server is up and that it is
        accessible.
      - Verify that the net service name or database name used as the
        connect identifier is configured in the directory.
      - Verify that the default context being used is correct by
        specifying a fully qualified net service name or a full LDAP DN
        as the connect identifier
   - If you are using easy connect naming:
      - Verify that "EZCONNECT" is listed as one of the values of the
        NAMES.DIRETORY_PATH parameter in the Oracle Net profile
        (SQLNET.ORA).
      - Make sure the host, port and service name specified
        are correct.
      - Try enclosing the connect identifier in quote marks.

   See the Oracle Net Services Administrators Guide or the Oracle
   operating system specific guide for more information on naming.

Regards
Michel
Re: how to take backup from LAN client with EXP (9i)? [message #235385 is a reply to message #235345] Sat, 05 May 2007 08:06 Go to previous messageGo to next message
Mohammad Taj
Messages: 2412
Registered: September 2006
Location: Dubai, UAE
Senior Member

Hi,
Post your TNSNAMES.ORA or LISTENER.ORA file.


Regards
Taj
icon14.gif  Re: how to take backup from LAN client with EXP (9i)? [message #235499 is a reply to message #235351] Sun, 06 May 2007 23:13 Go to previous message
brijal_j_patel
Messages: 28
Registered: May 2007
Location: Surat,India
Junior Member
Thanks Michel,
I made entry in Oracle Database Install Directory at Client Machine and it will work there.
Brijal Laughing
Previous Topic: dont want rman to backup controlfile and spfile auto
Next Topic: List all users in a dmp file.
Goto Forum:
  


Current Time: Tue Nov 26 21:43:23 CST 2024