<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: exp script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/exp-script/m-p/4181545#M693142</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;From Oracle error codes:&lt;BR /&gt;&lt;BR /&gt;ORA-12162: TNS:net service name is&lt;BR /&gt;incorrectly specified&lt;BR /&gt;&lt;BR /&gt;Cause: The connect descriptor corresponding to&lt;BR /&gt;the net service name in TNSNAMES.ORA or in the&lt;BR /&gt;directory server (Oracle Internet Directory) is &lt;BR /&gt;incorrectly specified.&lt;BR /&gt;&lt;BR /&gt;Action: If using local naming make sure there&lt;BR /&gt;are no syntax errors in the corresponding&lt;BR /&gt;connect descriptor in the TNSNAMES.ORA file. If &lt;BR /&gt;using directory naming check the information&lt;BR /&gt;provided through the administration used for&lt;BR /&gt;directory naming.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;VK2COT</description>
    <pubDate>Thu, 17 Apr 2008 06:43:38 GMT</pubDate>
    <dc:creator>VK2COT</dc:creator>
    <dc:date>2008-04-17T06:43:38Z</dc:date>
    <item>
      <title>exp script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exp-script/m-p/4181541#M693138</link>
      <description>ORACLE_HOME=/u01/app/oracle/OraHome_1&lt;BR /&gt;#&lt;BR /&gt;# oracle owner at your site.&lt;BR /&gt;exp_script &lt;BR /&gt;&lt;BR /&gt;PATH=${PATH}:$ORACLE_HOME/bin&lt;BR /&gt;export ORACLE_HOME PATH&lt;BR /&gt;su oracle -c "exp system/redhat file='/archivelog/backup/itoslive.dmp' consistent=y  owner='itoslive' statistics=none log='/archivelog/backup/itoslive.log'"&lt;BR /&gt;echo "connected as `id` user"&lt;BR /&gt;$ls -l exp_script.sh&lt;BR /&gt;&lt;BR /&gt;permission&lt;BR /&gt;-rwxr-x---   1 root dba 313 Apr 17 12:49 exp_script.sh&lt;BR /&gt;&lt;BR /&gt;output&lt;BR /&gt;$./exp_script.sh&lt;BR /&gt;&lt;BR /&gt;Export: Release 10.2.0.3.0 - Production on Thu Apr 17 12:52:53 2008&lt;BR /&gt;&lt;BR /&gt;Copyright (c) 1982, 2005, Oracle.  All rights reserved.&lt;BR /&gt;EXP-00056: ORACLE error 12162 encountered&lt;BR /&gt;ORA-12162: TNS:net service name is incorrectly specified&lt;BR /&gt;EXP-00000: Export terminated unsuccessfully&lt;BR /&gt;connected as uid=0(root) gid=3(sys) groups=0(root),1(other),2(bin),4(adm),5(daemon),6(mail),7(lp),20(users) user&lt;BR /&gt;&lt;BR /&gt;this  script fails&lt;BR /&gt;pls provide  inputs&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;&lt;BR /&gt;ahamad&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Apr 2008 06:25:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exp-script/m-p/4181541#M693138</guid>
      <dc:creator>sh5490</dc:creator>
      <dc:date>2008-04-17T06:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: exp script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exp-script/m-p/4181542#M693139</link>
      <description>Check your ORACLE_SID - &lt;A href="http://www.dba-oracle.com/t_ora_12162_tns_net_service_name.htm" target="_blank"&gt;http://www.dba-oracle.com/t_ora_12162_tns_net_service_name.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Thu, 17 Apr 2008 06:40:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exp-script/m-p/4181542#M693139</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2008-04-17T06:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: exp script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exp-script/m-p/4181543#M693140</link>
      <description>hi Ahamad,&lt;BR /&gt;&lt;BR /&gt;did you try to run the EXP command as the Oracle user"&lt;BR /&gt;&lt;BR /&gt;exp system/redhat file='/archivelog/backup/itoslive.dmp' consistent=y owner='itoslive' statistics=none log='/archivelog/backup/itoslive.log&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;any errors?&lt;BR /&gt;&lt;BR /&gt;revert!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Thu, 17 Apr 2008 06:42:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exp-script/m-p/4181543#M693140</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2008-04-17T06:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: exp script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exp-script/m-p/4181544#M693141</link>
      <description>&lt;!--!*#--&gt;hi again&lt;BR /&gt;&lt;BR /&gt;try also:&lt;BR /&gt;su - oracle -c "exp system/redhat file='/archivelog/backup/itoslive.dmp' consistent=y owner='itoslive' statistics=none log='/archivelog/backup/itoslive.log'"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;NB. not just "su oracle" but "su - oracle"&lt;BR /&gt;&lt;BR /&gt;revert!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Thu, 17 Apr 2008 06:43:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exp-script/m-p/4181544#M693141</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2008-04-17T06:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: exp script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exp-script/m-p/4181545#M693142</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;From Oracle error codes:&lt;BR /&gt;&lt;BR /&gt;ORA-12162: TNS:net service name is&lt;BR /&gt;incorrectly specified&lt;BR /&gt;&lt;BR /&gt;Cause: The connect descriptor corresponding to&lt;BR /&gt;the net service name in TNSNAMES.ORA or in the&lt;BR /&gt;directory server (Oracle Internet Directory) is &lt;BR /&gt;incorrectly specified.&lt;BR /&gt;&lt;BR /&gt;Action: If using local naming make sure there&lt;BR /&gt;are no syntax errors in the corresponding&lt;BR /&gt;connect descriptor in the TNSNAMES.ORA file. If &lt;BR /&gt;using directory naming check the information&lt;BR /&gt;provided through the administration used for&lt;BR /&gt;directory naming.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;VK2COT</description>
      <pubDate>Thu, 17 Apr 2008 06:43:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exp-script/m-p/4181545#M693142</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2008-04-17T06:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: exp script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exp-script/m-p/4181546#M693143</link>
      <description>Hi Ahamad&lt;BR /&gt;&lt;BR /&gt;add this in your script&lt;BR /&gt;&lt;BR /&gt;ORACLE_HOME=/u01/app/oracle/OraHome_1; export ORACLE_HOME&lt;BR /&gt;&lt;BR /&gt;ORACLE_SID=abcd; export ORACLE_SID</description>
      <pubDate>Thu, 17 Apr 2008 06:47:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exp-script/m-p/4181546#M693143</guid>
      <dc:creator>Jeeshan</dc:creator>
      <dc:date>2008-04-17T06:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: exp script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exp-script/m-p/4181547#M693144</link>
      <description>hi ashan/yoograj&lt;BR /&gt;&lt;BR /&gt;thanks for u inputs&lt;BR /&gt;putting ORACLE_SID entry &amp;amp;  - switch &lt;BR /&gt;&lt;BR /&gt;the script works&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;&lt;BR /&gt;ahamad</description>
      <pubDate>Thu, 17 Apr 2008 07:27:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exp-script/m-p/4181547#M693144</guid>
      <dc:creator>sh5490</dc:creator>
      <dc:date>2008-04-17T07:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: exp script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exp-script/m-p/4181548#M693145</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;Thats good news. Hope you are NOT using this script as your primary backup and that you have RMAN configured for daily backups.&lt;BR /&gt;&lt;BR /&gt;all the best&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeerah</description>
      <pubDate>Thu, 17 Apr 2008 07:38:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exp-script/m-p/4181548#M693145</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2008-04-17T07:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: exp script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exp-script/m-p/4181549#M693146</link>
      <description>Hi ahamad&lt;BR /&gt;&lt;BR /&gt;Good to hear from you.&lt;BR /&gt;&lt;BR /&gt;Ygeeraj&lt;BR /&gt;&lt;BR /&gt;I just skip but thnx for the su - oracle pointing.&lt;BR /&gt;&lt;BR /&gt;BTW, where's the bunny Ahamad?? :)</description>
      <pubDate>Thu, 17 Apr 2008 07:43:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exp-script/m-p/4181549#M693146</guid>
      <dc:creator>Jeeshan</dc:creator>
      <dc:date>2008-04-17T07:43:02Z</dc:date>
    </item>
  </channel>
</rss>

