aleph_startup stops with "aleph_que.c: Permission denied" message for que_batch.old
- Product: Aleph
- Product Version: 20, 21, 22, 23
- Relevant for Installation Type: Dedicated-Direct, Direct, Local, Total Care
Description
In running aleph_startup in an environment (such as PACSCL) with separate aleph instances for individual libraries, messages such as the following are seen in the aleph_startup log:
aleph_que.c: Permission denied
mv: try to overwrite `/exlibris/aleph/a23_1/usm01/files/que_batch.old', overriding mode 0644 (rw-r--r--)?
mv: try to overwrite `/exlibris/aleph/a23_1/vir01/files/que_batch.old',
mv: try to overwrite `/exlibris/aleph/u23_1/pma01/files/que_batch.old'
This happens in the background so there is no way to respond to the messages.
Resolution
You could try running it in the foreground, that is, rather than:
csh -f aleph_startup > & aleph_startup.mmdd.log &
you would just do:
csh -f aleph_startup
Then you could respond to any such messages.
It seems that this happens when you are the aleph user and don't have permission to overwrite the pma01/files/que_batch.old or when you are the pma_user and don't have permission to overwrite the usm01/files/que_batch.old.
Since the que_batch.old files are not usually of any value or use, this was solved by deleting all of them with the following command:
rm -f /exlibris/aleph/*/*/*/files/que_batch.old
aleph_startup was then able to run successfully.
- Article last edited: 8-Mar-2018