jobd.log: Error: create_library_file_name / aleph_que.c: No such file or ...
- Article Type: General
- Product: Aleph
- Product Version: 18.01
Description:
You see the following error in the $alephe_scratch/jobd.log and the job doesn't execute:
Error: create_library_file_name - no env variable found for abc0_dev
defaulting to aleph_dev.... que_batch
aleph_que.c: No such file or directory
(Examples are clear_vir01, util_a_12_c, etc.)
Resolution:
The two common causes of this error are as follows:
1. ***All versions***
The job_list parameters being shifted too far to the left or right.
Example:
!!-!!!!!!!!-!-!!!!!!!!!!!!!!!!!!!!-!!!!!-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!-!!!!!!
W1 05:00:00 Y VIR01 clear_vir01 VIR01
The job_list parameters for columns 5,6, and 7 need to be shifted one position to the left:
!!-!!!!!!!!-!-!!!!!!!!!!!!!!!!!!!!-!!!!!-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!-!!!!!!
W1 05:00:00 Y VIR01 clear_vir01 VIR01
(To see the preceding columns properly, you may need to paste it into Notepad or do something else to display it in a non-proportional font.)
After correcting this, you need to stop/start the job daemon (util e/15) to make the change take effect.
2. ***Specific to Version 19 or higher:***
It can also be caused by specifying "Y" in column 3 for a "csh -f ..." job_list entry -- such as the clear_vir01 entry. If you have "csh -f ..." in column 5, you should have "N" in column 3.
If you want the job to be coordinated with the shutdown/startup of servers, you can do that with the time in column 2.
Here is a sequence which might be used for clear_vir01 in v19-up:
W0 05:00:00 N server_monitor -tks WWW
W0 05:00:30 N server_monitor -tks PC
W0 05:01:00 N clear_vir01_log csh -f /exlibris/aleph/a19_1/aleph/proc/clear_vir01 VIR01
W0 05:02:30 Y VIR01 p_sys_01 VIR01,WWW,
W0 05:03:00 Y VIR01 p_sys_01 VIR01,PC
Note: you will need to do "echo $aleph_proc" on your server to get the appropriate value for "/exlibris/aleph/a19_1/".
(KB 16384-4178 describes a problem which required the use of the full path in the job_list entry for clear_vir01 in version 19-up --but which has been fixed by rep_change's.)
After correcting this, you need to stop/start the job daemon (util e/15) to make the change take effect.
Additional Information
faq
- Article last edited: 10/8/2013