- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ORA-09925: Unable to create audit trail file
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-16-2002 11:43 PM
12-16-2002 11:43 PM
ORA-09925: Unable to create audit trail file
Every night we shut down the oracle DB to perform backup. After backup, sometimes when database is coming up, the error "ORA-09925: Unable to create audit trail file" will appear. The database will be mounted but not open. Will need to restart the DB to make sure DB is OK.
My file/directories permission are already set properly.
Is this an oracle9i bug?
Please Help!
Yew Meng
IS this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2002 11:56 PM
12-16-2002 11:56 PM
Re: ORA-09925: Unable to create audit trail file
this problem may be related to disk access/corruption problem.
This error indicates that you are unable to write to the audit directory. You have checked your audit directory and there is plenty of freespace available. You have even removed the aud$ files from the directory and this does not seem to help. All permissions are also correctly set.
(see attached metalink document)
run fsck against the filesystem, unmount and mount the filesystem.
Hope this helps!
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2002 12:03 AM
12-17-2002 12:03 AM
Re: ORA-09925: Unable to create audit trail file
1. sorry forgot to attach note.
2. It can also be a disk space problem.
Make space available in $ORACLE_HOME/rdbms/audit by removing files that are not needed
or Make sure the directory exists and is readable by oracle
or Change init.ora audit_file_dest to an existing directory.
3. What other errors do youhave in your alert log?
Regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2002 01:38 AM
12-17-2002 01:38 AM
Re: ORA-09925: Unable to create audit trail file
Make sure that the directory exist and it has the permissions for oracle user.
Revert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2002 02:57 AM
12-17-2002 02:57 AM
Re: ORA-09925: Unable to create audit trail file
Think my filesystem should be consistent. This error only happens once in while (like two weeks).
fsck was not run.
T G,
as a matter of fact, Oracle9i was upgraded from 8i this year. Therefore there are two oracle user in the system.
oracle8 and oracle9.
The owner for user_dump_dest=/directory
is actually own by oracle8:dba.
permission is set at
drwxrwxr-x.
Is this a concern?
The frustrating part is that it happens intermittenly.
Thanks for the help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2002 03:27 AM
12-17-2002 03:27 AM
Re: ORA-09925: Unable to create audit trail file
ORACLE_BASE
ORACLE_HOME
REvert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2002 03:34 AM
12-17-2002 03:34 AM
Re: ORA-09925: Unable to create audit trail file
the inodes.
check your OS /var/adm/syslog/syslog.log file for any messages.
Please revert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2002 04:13 AM
12-17-2002 04:13 AM
Re: ORA-09925: Unable to create audit trail file
To check the INODES for the device.
use:
df -i
Regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2002 07:49 PM
12-18-2002 07:49 PM
Re: ORA-09925: Unable to create audit trail file
The ORACLE_HOME=/oracle9
could not get hold of ORACLE_BASE. think it should be /oracle9 also.
attached is the output of inodes for /oracle9 filesystem where the audit trail resides.
By the way, DB auditing is not enabled in the init.ora.
Why is there is audit trail in /oracle9/rdbms/audit?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2002 07:56 PM
12-18-2002 07:56 PM
Re: ORA-09925: Unable to create audit trail file
This does not have to have the audit_trial enabled or auditing enabled.
Because auditing make entries in the tables of the database.
When the database is down and the administrative accouts startup and do anything on the instance it is logged here.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2002 09:23 PM
12-18-2002 09:23 PM
Re: ORA-09925: Unable to create audit trail file
Thanks for the explanation!
Is there any known cause to what I am facing now?
Any resolution?
Thanks!
Yew Meng
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2002 09:57 PM
12-18-2002 09:57 PM
Re: ORA-09925: Unable to create audit trail file
$ls -l $ORACLE_HOME/rdbms/audit
drwxr-xr-x 2 oracle dba 9216 Dec 17 16:06 audit
$ls -l $ORACLE_HOME/bin/oracle
-rwsr-s--x 1 oracle dba 38514400 Oct 5 05:33 oracle
Check you have proper permissions on the executable
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2002 10:02 PM
12-18-2002 10:02 PM
Re: ORA-09925: Unable to create audit trail file
REvert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2002 10:43 PM
12-18-2002 10:43 PM
Re: ORA-09925: Unable to create audit trail file
According to Oracle Metalink, the only possibilities for this error occuring are:
a. $ORACLE_HOME/rdbms/audit directory is full or
b. $ORACLE_HOME/rdbms/audit directory doesn't exist
This error happens only on Unix systems. Oracle tries to create an audit file (in releases 7.1.3 onwards) even if auditing is not enabled. By default this information is written to $ORACLE_HOME/rdbms/audit or to the directory specified by init.ora parameter audit_file_dest.
To fix this:
1. Ensure the directory $ORACLE_HOME/rdbms/audit or the directory specified by the init.ora parameter AUDIT_FILE_DEST exists, is writable by the oracle software owner and that the disk is not full. Make space available in $ORACLE_HOME/rdbms/audit or AUDIT_FILE_DEST by removing files that are not needed.
2. Check $ORACLE_HOME/bin/oracle has permission of 6755. If not, then correct the permissions by executing this from the $ORACLE_HOME/bin directory:
chmod 6755 oracle
If this is not the case, most probably you are facing a bug! Then i would suggest that you create an iTAR or contact your Oracle Support
Hope this helps!
Best Regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2002 06:50 PM
12-22-2002 06:50 PM
Re: ORA-09925: Unable to create audit trail file
therefore space may not be the issue here.
ORACLE_HOME=/oracle9
file permission for /oracle9/rdbms/audit is
drwxrwxr-x
as for /oracle9/bin/oracle
file permission is rwxrwx--x
not the wan specifed by TG
rwsr-s--x or 6755.
Is this a concern?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2002 11:48 PM
12-22-2002 11:48 PM
Re: ORA-09925: Unable to create audit trail file
make a copy of the present file as it is
and change the permissions of the $ORACLE_HOME/bin/oracle
to
$chown 6755 $ORACLE_HOME/bin/oracle
$ls -l $ORACLE_HOME/rdbms/audit
drwxr-xr-x 2 oracle dba 9216 Dec 17 16:06 audit
$ls -l $ORACLE_HOME/bin/oracle
-rwsr-s--x 1 oracle dba 38514400 Oct 5 05:33 oracle
Also check the audit dir for the proper permissions.
REvert once things are done and the results.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2002 06:48 AM
12-23-2002 06:48 AM
Re: ORA-09925: Unable to create audit trail file
Though not familiar with Oracle 9i, we're still 8i, We lost an entire database and had to go to backups and apply archive logs last two weeks ago.
The disk the oracle db was sitting on did not fail. There was a meltdown of another disk higher up the scsi chain and it interfered with disk operations of the disk oracle was on and we went down.
The audit file in question above might be on a bad disk, but in general, most shops put oracle on large, reliable disk arrays.
Are there any lbolt messages when you hit dmesg? Even if there are any, even on scsi devices unrelated to the actual oracle disks could be messing you up.
In the above mentioned failure, we lost access to a Seagate Xiotech disk array which isn't sharing SCSI addresses with anything. It's a SCSI device hung off its own fiber card. I guess all SCSI devices are related somehow, but in our case the box is old and the Fibre card has to be unplugged to do an ignite recovery.
Probably a most unhelpful post, but good luck to you.
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-23-2002 05:50 PM
12-23-2002 05:50 PM
Re: ORA-09925: Unable to create audit trail file
noted on your point.
But dont think i will change the oracle permission binaries without consulting the DBA. once relevant changes made will keep you posted.
Steven,
Thanks for sharing your experience.
That's what I initially thought also. However not much came out from syslog and dmesg.
FYI, the oracle9 binaries sits on a FC60 disk array wiht RAID 5 configured over 4 x 73 GB disks.
Thanks Again! &
Merry Christmas!