Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • Are you using SELinux? If so, you could disable it temporary with setenforce 0 and then re-enable it with setenforce 1. By the way ausearch --start recent will tell you recent SELinux denials. Regarding error logging, you could also redirect the stdout and stderr of smbclient to some files. Commented Apr 28, 2012 at 5:09
  • Thanks @CristianCiupitu I am on Ubuntu server, i believe it is Hardy. I had tried redirecting the output to some files, but i don't think I did it correctly. I'll update my question. Commented Apr 28, 2012 at 5:13
  • 1
    You need to redirect both stdout and stderr and maybe you should have also used an absolute path for the "log". Try /root/hrdatafeed >/root/last_run.txt 2>&1 or /root/hrdatafeed >/root/stdout.txt 2>/root/stderr.txt. Commented Apr 29, 2012 at 3:35
  • @CristianCiupitu thanks for all your help, you should make yours an answer. Helped me to diagnose and get it working! Commented Apr 30, 2012 at 17:41
  • There's no need; the important thing is that you've solved your problem. By the way In SF, when should a response be submitted as a comment and instead of an answer (and vice-versa)?. Commented May 1, 2012 at 17:59