I have a problem where my backup software and the operating system are no longer able to access a tape drive attached to the server. The OS is SLES 10 x64 - no service pack.
I've narrowed down the problem to the use of pre/post job commands in the backup software.
As soon as I shut down Apache in the pre-job command and start it again in the post-job command, the next backup job will fail to access the tape drive.
lsof shows that httpd2 is accessing the corresponding /dev/sg device. tar will also fail to write to the tape drive at the point in time. tar will fail with "Invalid Argument".
The main question I have is the following: the backup vendor claims there is a setting in the Apache configuration that can be changed to avoid this behaviour. However, at the moment they cannot tell me what that setting is. I've not found anything after extensive searching. Does somebody know about such a setting?