<?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: Still struggling with DATABase in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/still-struggling-with-database/m-p/2730642#M836688</link>
    <description>check your ORACLE_SID and ORACLE_HOME.&lt;BR /&gt;Make sure that you are pointing the right ORACLE_SID&lt;BR /&gt;&lt;BR /&gt;01. $svrmgrl&lt;BR /&gt;02. startup the database if it's not already started. The database must at least mounted.&lt;BR /&gt;svrmgrl&amp;gt;startup mount&lt;BR /&gt;03. spool /databasefiles.lst &lt;BR /&gt;svrmgrl&amp;gt;spool databasefiles.lst&lt;BR /&gt;04. select name from v$datafile; (This will get all the datafiles; alternatively, you can select file_name from dba_data_files) &lt;BR /&gt;svrmgrl&amp;gt;select name from v$datafile;&lt;BR /&gt;05. select member from v$logfile;&lt;BR /&gt;svrmgrl&amp;gt;select * from v$logfile;&lt;BR /&gt;06. select name from v$controlfile;&lt;BR /&gt;svrmgrl&amp;gt;select * from v$controlfile;&lt;BR /&gt;07. archive log list (archive_log_dest is where the archived destination is)&lt;BR /&gt;svrmgrl&amp;gt;archive log list;&lt;BR /&gt;Go to the destination directory of archive_log_dest parameter and remove all the files.&lt;BR /&gt;08. locating ifile by issuing show parameter ifile (alternatively, check the content of init.ora)&lt;BR /&gt;09. spool off &lt;BR /&gt;svrmgrl&amp;gt;spool off&lt;BR /&gt;10. Delete in O/S level the files listed in databasefiles.lst&lt;BR /&gt;11. remove all the entries which refer to the deleted database in tnsnames.ora and listener.ora (located in $ORACLE_HOME/network/admin) &lt;BR /&gt;12. remove all database links referring to the deleted database.&lt;BR /&gt;13. check "/var/opt/oracle/oratab" to make sure there is no entry of the database deleted. If yes, remove it.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
    <pubDate>Fri, 24 May 2002 02:27:38 GMT</pubDate>
    <dc:creator>T G Manikandan</dc:creator>
    <dc:date>2002-05-24T02:27:38Z</dc:date>
    <item>
      <title>Still struggling with DATABase</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/still-struggling-with-database/m-p/2730640#M836686</link>
      <description>Hello,&lt;BR /&gt;I'm still struggling with the oracle 9i databse. Druing the installation i have installed the sample database, now i want to remove that database. i tried to drop the database, but it said it is not open, so i did&lt;BR /&gt;alter database open command.  However, i still do the drop command...since this is a sample database i don't know what tablespace have been created, and i can't use show database command or tablespace...I apprecieate your help</description>
      <pubDate>Thu, 23 May 2002 19:00:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/still-struggling-with-database/m-p/2730640#M836686</guid>
      <dc:creator>Deanna Tran</dc:creator>
      <dc:date>2002-05-23T19:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Still struggling with DATABase</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/still-struggling-with-database/m-p/2730641#M836687</link>
      <description>Hi,&lt;BR /&gt;To drop a database, remove its datafiles, redo log files, and all other associated files&lt;BR /&gt;(control files, parameter files, archived log files).&lt;BR /&gt;To view the names of the database???s datafiles and redo log files, query the data&lt;BR /&gt;dictionary views V$DATAFILE and V$LOGFILE.</description>
      <pubDate>Fri, 24 May 2002 01:33:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/still-struggling-with-database/m-p/2730641#M836687</guid>
      <dc:creator>Printaporn_1</dc:creator>
      <dc:date>2002-05-24T01:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Still struggling with DATABase</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/still-struggling-with-database/m-p/2730642#M836688</link>
      <description>check your ORACLE_SID and ORACLE_HOME.&lt;BR /&gt;Make sure that you are pointing the right ORACLE_SID&lt;BR /&gt;&lt;BR /&gt;01. $svrmgrl&lt;BR /&gt;02. startup the database if it's not already started. The database must at least mounted.&lt;BR /&gt;svrmgrl&amp;gt;startup mount&lt;BR /&gt;03. spool /databasefiles.lst &lt;BR /&gt;svrmgrl&amp;gt;spool databasefiles.lst&lt;BR /&gt;04. select name from v$datafile; (This will get all the datafiles; alternatively, you can select file_name from dba_data_files) &lt;BR /&gt;svrmgrl&amp;gt;select name from v$datafile;&lt;BR /&gt;05. select member from v$logfile;&lt;BR /&gt;svrmgrl&amp;gt;select * from v$logfile;&lt;BR /&gt;06. select name from v$controlfile;&lt;BR /&gt;svrmgrl&amp;gt;select * from v$controlfile;&lt;BR /&gt;07. archive log list (archive_log_dest is where the archived destination is)&lt;BR /&gt;svrmgrl&amp;gt;archive log list;&lt;BR /&gt;Go to the destination directory of archive_log_dest parameter and remove all the files.&lt;BR /&gt;08. locating ifile by issuing show parameter ifile (alternatively, check the content of init.ora)&lt;BR /&gt;09. spool off &lt;BR /&gt;svrmgrl&amp;gt;spool off&lt;BR /&gt;10. Delete in O/S level the files listed in databasefiles.lst&lt;BR /&gt;11. remove all the entries which refer to the deleted database in tnsnames.ora and listener.ora (located in $ORACLE_HOME/network/admin) &lt;BR /&gt;12. remove all database links referring to the deleted database.&lt;BR /&gt;13. check "/var/opt/oracle/oratab" to make sure there is no entry of the database deleted. If yes, remove it.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 24 May 2002 02:27:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/still-struggling-with-database/m-p/2730642#M836688</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-05-24T02:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Still struggling with DATABase</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/still-struggling-with-database/m-p/2730643#M836689</link>
      <description>To be honest, from all of your postings I would suggest you seriously consider getting some training on HP-UX and Oracle.&lt;BR /&gt;It may save you some of the problems/headaches you seem to be experiencing.</description>
      <pubDate>Fri, 24 May 2002 06:19:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/still-struggling-with-database/m-p/2730643#M836689</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2002-05-24T06:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Still struggling with DATABase</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/still-struggling-with-database/m-p/2730644#M836690</link>
      <description>If the real solution sounds a bit hairy, you could recycle the database, by deleting all the sample tables and renaming the database to the next database you would have created.&lt;BR /&gt;&lt;BR /&gt;Buy a good book before you spend a fortune on training.  Hang in there.</description>
      <pubDate>Fri, 24 May 2002 07:50:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/still-struggling-with-database/m-p/2730644#M836690</guid>
      <dc:creator>Victor Geere</dc:creator>
      <dc:date>2002-05-24T07:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Still struggling with DATABase</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/still-struggling-with-database/m-p/2730645#M836691</link>
      <description>Hi Deanna&lt;BR /&gt;&lt;BR /&gt;Training is good, but my experience is that its better to learn some of the basics  yourself before attending classes as you get more out of the short time spent with the tutor.&lt;BR /&gt;&lt;BR /&gt;And struggling as it seems you are doing is the best way of learning even if it feels frustrating at times. &lt;BR /&gt;Remember;&lt;BR /&gt;What you hear you forget,&lt;BR /&gt;what you see you remember&lt;BR /&gt;and what you DO you understand.&lt;BR /&gt;(Quote from someone)&lt;BR /&gt;&lt;BR /&gt;Andreas</description>
      <pubDate>Sat, 25 May 2002 14:22:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/still-struggling-with-database/m-p/2730645#M836691</guid>
      <dc:creator>Andreas D. Skjervold</dc:creator>
      <dc:date>2002-05-25T14:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: Still struggling with DATABase</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/still-struggling-with-database/m-p/2730646#M836692</link>
      <description>Hi TG &lt;BR /&gt;I have a question in regards to your procedure&lt;BR /&gt;.lst &lt;BR /&gt;11. remove all the entries which refer to the deleted database in tnsnames.ora and listener.ora (located in $ORACLE_HOME/network/admin) &lt;BR /&gt;-- is this mean i should delete the listener.ora and tnsnames.ora file?&lt;BR /&gt;Where does these file come from?&lt;BR /&gt;&lt;BR /&gt;12. remove all database links referring to the deleted database. &lt;BR /&gt;13. check "/var/opt/oracle/oratab" to make sure there is no entry of the database deleted. If yes, &lt;BR /&gt;&lt;BR /&gt;I don't have the oratab subdirectory,&lt;BR /&gt;but when i do cd /var/opt/oracle&lt;BR /&gt;I got this oraIns#Oracle Installer Location File Location&lt;BR /&gt;#Tue Feb 19 16:04:02 MST 2002&lt;BR /&gt;inventory_loc=/home/oracle/oraInventory&lt;BR /&gt;inst_group=dba&lt;BR /&gt;ORACLE_SID=dia2  &lt;BR /&gt;** again, should i just edited the oracle_SID ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 28 May 2002 19:27:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/still-struggling-with-database/m-p/2730646#M836692</guid>
      <dc:creator>Deanna Tran</dc:creator>
      <dc:date>2002-05-28T19:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Still struggling with DATABase</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/still-struggling-with-database/m-p/2730647#M836693</link>
      <description>The tnsnames.ora and listener.ora files are networking files that allow others to connect to the database and you to connect to other databases.  They should be in the ORACLE_HOME/network/admin directory.  They were probably created with a wizard when you created the starter database.  The tnsnames.ora defines where databases are (for example when you use the connect string 'mydb' it looks in this file to see what server it is located on, what port to use, and wha the actual sid is).  The listener.ora defines what databases this server will "listen" for connect attempts on.  You will need these files for furture databases.  I would not delete the files, just edit them to remove the current entires (or change the currrent entries to reflect the data from the new instance you will be creating).  &lt;BR /&gt;&lt;BR /&gt;oratab is a file located usually lcoated in /etc.  It should have one entry for every database on the server.  It lists the oracle home for the database and a Y or N to indicate if the database should be started/stopped on server reboot.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.   &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 29 May 2002 15:43:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/still-struggling-with-database/m-p/2730647#M836693</guid>
      <dc:creator>Jeanine Kone</dc:creator>
      <dc:date>2002-05-29T15:43:43Z</dc:date>
    </item>
  </channel>
</rss>

