I am getting the error:
touch: cannot touch `/opt/tsrm/compliance/cme/log/20121207.log`: No such file or directory
on the touch command: touch $LOGFILE
I also checked the link: touch: cannot touch `foo': No such file or directory, But I didn't understand the answer.
Note: I was also getting mkdir: cannot create directory; I fixed this by adding the -p option.
Could this be something with the version of Linux I am working in?