If error messages such as the following appear (particularly in delivery logs) when the system is put into production:
Unable to rename file ‘/tmp/tmp0000.tmp’ to /usr/local/neolane/nl6/bin/…/var/XXX/mta/86510470.xml ;(errno=18, Invalid cross-device link) (iRc=-52)
The cause is as follows:
Adobe Campaign generates temporary files under /tmp, and then renames them to move them to /usr/local/neolane/nl6/var. This error occurs when both folders (/tmp and /usr/local/neolane/nl6/var, which is in fact a symbolic link to /var/nl6) correspond to different devices. The df command is used for verification.
To correct this problem, the temporary files must be generated in the same device as the destination. For example, by executing:
$ cd ~/nl6/var $ mkdir tmp $ vi ~/nl6/customer.sh
and then adding: