I guess we found the cause...
but to me it's a bit strange..
I checked the logfile and it looks like
that dbunload went on working for at least half an hour after I aborted the Job doing the unload!
from 6:14h on the Jobs doing the unload hung.
at 9:51 I aborted the JOBS with the dbunload. the JOBS ended at 9:51h.
But looking at the logfile, dbunload worked until 10:22h.
So this should be the reason why the logfile was in use !?
Logfile:
20191120/061430.541 - U0037032 0001572 - 20191114 REORG ;OH,MELD,AH,RH,XAO
20191120/061430.541 - U0037032 0001573 - 20191115 REORG ;OH,MELD,AH,RH,XAO
20191120/061430.541 - U0037032 0001574 - 20191116 REORG ;OH,MELD,AH,RH,XAO
20191120/061430.556 - U0037032 0001575 - 20191117 REORG ;OH,MELD,AH,RH,XAO
20191120/061430.556 - U0037032 0001576 - 20191118 REORG ;OH,MELD,AH,RH,XAO
20191120/061430.556 - U0037032 0001577 - 20191119 REORG ;OH,MELD,AH,RH,XAO
20191120/061430.556 - U0037111 Starting reorganization for client: 'ALL'
20191120/100747.722 - U0003524 UCUDB: ===> Time critical DB call! OPC: 'EXEC' time: '13997:109.278.399'
20191120/100747.722 - U0003525 UCUDB: ===> 'ALTER TABLE DIVDB ACTIVATE NOT LOGGED INITIALLY WITH EMPTY TABLE'
20191120/100754.056 - U0011667 Count of records in 'MELD' = '28971'
20191120/100754.056 - U0037110 Delete records from table 'MELD' / progress '100'%
20191120/100754.056 - U0037172 Finished cleanup of Table Meld
.......
......
20191120/102200.720 - U0003525 UCUDB: ===> 'delete from AH where AH_idnr in (select DIVDB_PK from DIVDB)'
20191120/102200.845 - U0011667 Count of records in 'AH' = '75549'
20191120/102200.845 - U0037110 Delete records from table 'AH' / progress '100'%
20191120/102200.845 - U0037167 Finished cleanup of Table AH.
20191120/102201.110 - U0011667 Count of records in 'XAO' = '6'
20191120/102201.110 - U0037110 Delete records from table 'XAO' / progress '100'%
20191120/102201.110 - U0037162 Finished cleanup of Table XAO.
20191120/102201.141 - U0003523 UCUDB: Maximum time required for a DB call: '13997:109.278.399'.
20191120/102201.141 - U0003522 UCUDB: Database closed. Total time for DB calls: '14854:537.247.999' seconds.
20191120/102201.141 - U0003549 UCUDB: ' 1003' 'OTHERS ' calls took '4:010.083.500' sec.
20191120/102201.141 - U0003549 UCUDB: ' 14' 'SELECT ' calls took '0:740.817.999' sec.
20191120/102201.141 - U0003549 UCUDB: ' 2529' 'EXECUTE ' calls took '14845:924.804.199' sec.
20191120/102201.141 - U0003549 UCUDB: ' 0' 'UPDATE ' calls took '0:000.000.000' sec.
20191120/102201.141 - U0003549 UCUDB: ' 0' 'DELETE ' calls took '0:000.000.000' sec.
20191120/102201.141 - U0003549 UCUDB: ' 1' 'INSERT ' calls took '0:001.937.700' sec.
20191120/102201.141 - U0003549 UCUDB: ' 1818' 'READ ' calls took '0:027.545.999' sec.
20191120/102201.141 - U0003549 UCUDB: ' 3790' 'CLOSESTMT ' calls took '0:005.475.800' sec.
20191120/102201.141 - U0003549 UCUDB: ' 510' 'TRANSACT ' calls took '3:826.582.800' sec.
Original Message:
Sent: 11-20-2019 07:51 AM
From: Wolfgang Brueckler
Subject: Error DBUNLOAD V10
We suppose that a Backup-job locked the file and will also investigate further.
thats definitely a valid cause...
cheers, Wolfgang
------------------------------
Support Info:
if you are using one of the latest version of UC4 / AWA / One Automation please get in contact with Support to open a ticket.
Otherwise update/upgrade your system and check if the problem still exists.
Original Message:
Sent: 11-20-2019 05:26 AM
From: Claudia Walter
Subject: Error DBUNLOAD V10
Hi
thank you for your immediate answer Wolfgang!
I will check the logfile. I didnt do that I have to admit.
I supposed it contains the same information like the report of the JOBS.
Meanwhile I restarted the JOBS for a 3 time an it worked!
We suppose that a Backup-job locked the file and will also investigate further.
Thank you very much!
Claudia
Original Message:
Sent: 11-20-2019 04:56 AM
From: Wolfgang Brueckler
Subject: Error DBUNLOAD V10
Hi
usually this err message appears when a process uses (= writes to) the logfile.
Means that ucybdbun.exe is still writing into the logfile ..\TEMP\ucybdbun_log_00.txt
this can be caused by a db lock too => check Db unload logfile !!
=> kill / end the DB unload process and restart the job.
KR WOlfgang
------------------------------
Support Info:
if you are using one of the latest version of UC4 / AWA / One Automation please get in contact with Support to open a ticket.
Otherwise update/upgrade your system and check if the problem still exists.
Original Message:
Sent: 11-20-2019 04:28 AM
From: Claudia Walter
Subject: Error DBUNLOAD V10
Hi,
we have the problem that our DBUNLOAD
"c:\Automic\V10\utility\bin>ucybdbun -BTRANSPORTALL -D -C100 -X..\db\transport_0100_save_MI.txt "
hung in the last run. The reason is unknown.
I aborted the JOBS, and when I try to restart I get the Error:
"Permission denied, can't create logfile ..\TEMP\ucybdbun_log_00.txt"
Has anyone an idea how to fix that?