- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Oracle8
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 06:29 AM
12-08-2004 06:29 AM
But today for the first time, the database decided to shutdown. Can anybody tell me if there are any log files on why this happened and more importantly who.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 06:39 AM
12-08-2004 06:39 AM
Re: Oracle8
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 06:47 AM
12-08-2004 06:47 AM
Re: Oracle8
If your version is 8.1.6 then change the 8.1.7 to 8.1.6
This is based on standards set by oracle.
if your instance name is datafile:
/oracle/product/8.1.7/rdbms/alertdatafile.log
Don't do any database operations as root. Do them as the user of the binaries.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 07:03 AM
12-08-2004 07:03 AM
Re: Oracle8
$cd $ORACLE_HOME/rdbms/log
Take a look at the file named alert_
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 07:16 AM
12-08-2004 07:16 AM
Re: Oracle8
Is there any more logs?
THanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 07:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 07:31 AM
12-08-2004 07:31 AM
Re: Oracle8
If you have found the log and there is nothing in it, I'd suggest looking for core dumps.
Lastly, I'd check the filesystems oracle is sitting its data on. If they are full, this may be as simple as adding some filesystem space.
Something caused it to fail, but it depends on the issue whether or not you can just boot the server and move along.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 07:48 AM
12-08-2004 07:48 AM
Re: Oracle8
I have noticed in the logs that the following is mentioned
Alter Database backup controlfile to trace
Time stamp
Completed: alter database backup controlfile to trace
just before each night when the backup goes in.
The above is also mentioned when the database went down. Does that mean somebody has run our backup script and realised what they had done?
Can we tell what user has shutdown the db?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 08:09 AM
12-08-2004 08:09 AM
Re: Oracle8
Alter database backup controlfile to trace;
is not a destructive statement - you can run this at anytime to create a text version of your controlfile contents - it is part of most standard backup scripts though.
If a normal cold backup procedure was run you should see something similar to
"ALTER DATABASE CLOSE NORMAL" in the log as well. This would tell you that the db was intentionally shut down.
If you found the alert_
The ORACLE_BASE environment variable is usually set to the login directory for the oracle account - but it could be anywhere.
Check your sulog to find out if another user did a switch to the oracle account - also check with any user who is part of the same group id as the oracle account ( usually DBA ) they would have permission to shutdown the database.
Patti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 08:13 AM
12-08-2004 08:13 AM
Re: Oracle8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 08:19 AM
12-08-2004 08:19 AM
Re: Oracle8
I will do some more investigating tomorrow. The reason why I asked about the backup. Was because I asked our DBA to check the backup script to ensure everything is in there what we needed.
follows more info from the log file.
Shutting down instance (normal)
License high water mark
time stamp
shutdown waiting for logins to complete
time stamp
shutting down instance (abort)
timestame
starting oracle instance (normal)
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 08:26 AM
12-08-2004 08:26 AM
Re: Oracle8
After any shutdown abort, you need to bring the database back up again and shut id down normally.
shutdown abort
.... messages
startup
.... messages
shutdown immediate
Also, you may have a licensing issue on your hands. WE still have Oracle 8 and I don't ever see that message.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 08:31 AM
12-08-2004 08:31 AM
Re: Oracle8
From what you posted from the alert log you might have a concern - if the backup is done after the shutdown (abort).
Shutting down instance (normal)
License high water mark
time stamp
shutdown waiting for logins to complete
time stamp
shutting down instance (abort)
timestame
starting oracle instance (normal)
If you do a shutdown - without any option - normal is the default. This means that Oracle will wait for all connected users to logout. If they leave a session open - oracle will wait and wait... regardless of activity.
The shutdown abort will bring the instance down quickly - but the database will not be is a consistent state to do a cold backup.
A better option is to do a shutdown immediate, oracle will then cancel all active session and rollback the transactions before shutting down. The database is then in a consistent state and your backup is valid. If you must do a shutdown abort ( because the shutdown immediate hangs ) then do a startup and shutdown immediate before running your backup.
Patti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 03:29 PM
12-08-2004 03:29 PM
Re: Oracle8
i would check the logs at the OS level also. If there is no messages about a shutdown in the alert.log then it must have been some sort of crash at the OS level!
did the server restart?
Are there any core dumps?
i would check the shutdown.log and also verify if the database is configured to start automatically or manually...
just some thoughts.
can you post your alert.log?
just some thoughts
regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 09:18 PM
12-08-2004 09:18 PM
Re: Oracle8
if someone connect as SYSDBA (or internal) he/she will be logged into the audiot trace file.
The audit trace file is located in $ORACLE_HOME/rdbms/audit
cf . Metalink Note:103964.1
Regards
Jean-Luc