forsms
5th April 2002, 18:33
We have Baan5c/Informix/HPUX11
Whenever I am trying to change any field of table whina000 (through session whina0100s000), I am getting a bw message "Error 254 (Commit transaction has faild in the audit server)"
The Audit is ON for the table whina000.
The log.audit has the following log:
2002-04-05[10:26:53(UTC+05:00)]:E:bsp: Log message called from /port.7.1c.02/vobs/tt/servers/AUDIT/serv_db.c: #1
18 keyword: Simple Commit
2002-04-05[10:26:53(UTC+05:00)]:E:bsp: Pid 28195 Uid 125 Euid 125 Gid 125 Egid 125 Pset IKhan@ENGNT21:212
2002-04-05[10:26:53(UTC+05:00)]:E:bsp: user_type S language 2 user_name bsp tty ote locale ISO88591/NULL
2002-04-05[10:26:53(UTC+05:00)]:E:bsp: Errno 2 (No such file or directory) bdb_errno 0
2002-04-05[10:26:53(UTC+05:00)]:E:bsp: Log_mesg: Sess whina0100s000 : flush_to_file failed for table whina000650
. ABORT !!
I have also done convert-to-runtime in the Tables by Database session.
also, if anybody can give some info on "flush_to_file" error.
Thanks in advance for help
patvdv
5th April 2002, 18:43
Did you try with AUDIT OFF?
forsms
5th April 2002, 19:11
thanks for the quick reply!!!
I logged in as bsp, executed the session ttaad4111m000 (Tables by Database). Selected the row with table whin000 --> Deseleted "Audit ON" --> Saved the changes--> Converted to run time-->opened a new bshell--> tried to execute session whian0100s000 --> it is now giving me error
"Starting session is not allowed. Audit trail for table whina000 is not switched on in sesion "Tables By Database"..
so i reversed the process to put he audit "ON" on the table.
In the process, i noticed one thing..
After I had made the audit "ON":
in one company i can save the changes, while for the other company it is not allowing. both the companies are attached to the same prod package combination (so i can switch between the companies)...
is this problem company related.
Thanks in advance.
patvdv
5th April 2002, 19:18
Yes, mmm it is of course a parameter table. Are you running in multi-tiers or all on 1 server?
forsms
5th April 2002, 19:43
All Baan tables and applications are on one server.
patvdv
5th April 2002, 19:45
Check the audit files and parent directories for that particular table. Are the permissions well set?
forsms
5th April 2002, 21:52
i have cheked all the files and there owner...for all the files /dir. it is bsp:bsp..
NPRao
5th April 2002, 23:03
check the audit file permissions on the directory and the subdirectories under it.
$BSE/audit
forsms
5th April 2002, 23:34
$BSE/audit has bsp:bsp and drwxrwx--- persmissions
OK company details are as follows:
$BSE/audit/658 has bsp:bsp and drwxrwxrwx permisions
There are two files $BSE/audit/658/awhina directory:
aina000658.inf and aina000658.000
Problem company details are as follows:
$BSE/audit/650 has bsp:bsp and drwxrwxrwx permissions
However there is one file $BSE/audit/650/awhina directory:
aina000650.inf.
Permissions are ok
forsms
6th April 2002, 01:12
any help???
NPRao
6th April 2002, 01:26
checking back on our system I have I think you need to have 777 on the audit.
drwxrwxrwx 50 bsp bsp 1024 Feb 22 10:32 audit
>ll audit
total 182
drwxrwxrwx 50 bsp bsp 1024 Feb 22 10:32 .
drwxrwxr-x 35 bsp bsp 1024 Feb 25 16:21 ..
drwxrwxrwx 15 bsp bsp 1024 Nov 21 15:28 000
drwxrwxrwx 70 bsp bsp 2048 Jan 8 10:04 015
drwxrwxrwx 70 bsp bsp 2048 Jan 8 09:46 016
drwxrwxrwx 93 bsp bsp 2048 Aug 1 2001 020
drwxrwxrwx 72 bsp bsp 2048 Feb 20 17:01 022
drwxrwxrwx 93 bsp bsp 2048 Aug 1 2001 025
drwxrwxrwx 72 bsp bsp 2048 Feb 20 17:02 053
drwxrwxrwx 71 bsp bsp 2048 Dec 20 14:51 055
drwxrwxrwx 93 bsp bsp 2048 Jul 13 2001 056
drwxrwxrwx 85 bsp bsp 2048 Jun 18 2001 060
drwxrwxrwx 93 bsp bsp 2048 Jul 13 2001 061
drwxrwxrwx 90 bsp bsp 2048 Jun 18 2001 062
drwxrwxrwx 83 bsp bsp 2048 Jul 13 2001 063
drwxrwxrwx 80 bsp bsp 2048 Jun 18 2001 064
drwxrwxrwx 90 bsp bsp 2048 Jun 18 2001 065
drwxrwxrwx 2 bsp bsp 96 Oct 16 09:58 066
drwxrwxrwx 68 bsp bsp 2048 Jun 18 2001 067
drwxrwxrwx 93 bsp bsp 2048 Aug 1 2001 068
drwxrwxrwx 80 bsp bsp 2048 Jun 18 2001 072
drwxrwxrwx 80 bsp bsp 2048 Jun 18 2001 076
drwxrwxrwx 70 bsp bsp 2048 Dec 20 16:02 120
drwxrwxrwx 40 bsp bsp 1024 Jun 18 2001 123
drwxrwxrwx 73 bsp bsp 2048 Feb 20 17:03 150
drwxrwxrwx 78 bsp bsp 2048 Nov 19 15:41 151
drwxrwxrwx 90 bsp bsp 2048 Feb 20 17:03 152
drwxrwxrwx 73 bsp bsp 2048 Feb 20 17:04 153
drwxrwxrwx 67 bsp bsp 2048 Jun 18 2001 160
drwxrwxrwx 80 bsp bsp 2048 Jun 18 2001 165
drwxrwxrwx 73 bsp bsp 2048 Feb 20 17:04 169
drwxrwxrwx 18 bsp bsp 1024 Feb 20 17:04 201
drwxrwxrwx 72 bsp bsp 2048 Feb 20 17:05 202
drwxrwxrwx 70 bsp bsp 2048 Feb 22 09:44 230
drwxrwxrwx 70 bsp bsp 2048 Feb 22 10:29 231
drwxrwxrwx 70 bsp bsp 2048 Feb 22 10:54 232
drwxrwxrwx 80 bsp bsp 2048 Jun 18 2001 265
drwxrwxrwx 70 bsp bsp 2048 Dec 20 16:19 333
drwxrwxrwx 2 bsp bsp 96 Oct 16 09:58 500
drwxrwxrwx 67 bsp bsp 2048 Jun 18 2001 600
drwxrwxrwx 67 bsp bsp 2048 Jun 18 2001 665
drwxrwxrwx 80 bsp bsp 2048 Jun 18 2001 777
drwxrwxrwx 85 bsp bsp 2048 Nov 27 12:20 888
drwxrwxrwx 70 bsp bsp 2048 Dec 20 16:47 889
drwxrwxrwx 70 bsp bsp 2048 Dec 21 07:58 900
drwxrwxrwx 74 bsp bsp 2048 Feb 20 17:55 901
drwxrwxrwx 74 bsp bsp 2048 Sep 26 2001 902
drwxrwxrwx 70 bsp bsp 2048 Aug 7 2001 997
drwxrwxrwx 70 bsp bsp 2048 Aug 7 2001 998
drwxrwxrwx 94 bsp bsp 2048 Aug 15 2001 999
checking the documents I have -
This document will guide you through the procedure for correcting file and directory permissions in Baan. Briefly stated, the procedure includes:
· Setting permissions on all directories (from $BSE on down) to 777 drwxrwxrwx
· Setting all owners and groups on directories to: bsp
· Setting permissions on all files in all directories to 660 -- -rw-rw----
· Making all files in $BSE/lib, $BSE/etc, and $BSE/bin executable
· Correcting permissions and ownership of files as needed.
forsms
6th April 2002, 08:24
still ....the problem is not yet solved !!!
NPRao
6th April 2002, 11:14
checking the tools manual for the error codes -
254 EAUDABORT This indicates that a commit transaction has failed in the audit server. See the log.audit file for more information.
did you check the log.audit file ??
forsms
6th April 2002, 11:25
Yes,
it is the same as u can see on the initiation paragraph of this problem.
Thanks in advance
forsms
6th April 2002, 11:46
the problem is solved....but in a very different way.
I deleted the file in the directory $BSE/audit/650/awhina/aina000650.inf and removed the directory awhina.
Than I just tried to change some data in whina000 through the session whina0100s000. and this time it worked !!!
The directory awhina and two files are now automatically created (and hopefully in the future will be updated :)
Thanks for help guys !!!:
patvdv
6th April 2002, 14:08
For some reason that specific audit file must have been corrupted.
nneilitz
2nd March 2004, 22:12
I just had the same issue in atdpur and same resolution worked. Thanks also.