Re: [Bacula-users] bacula-fd cannot access files from the system still getting [permission denied]

2015-08-16 Thread JING YANG
I check my journctl. I did journalctl -u bacula-dir.service, now it show a different error says' Aug 15 23:56:17 thidwick bacula-dir[5858]: 15-Aug 23:56 Message delivery ERROR: Mail program terminated in error. CMD=/usr/lib/bacula/bsmtp -h localhost -f

Re: [Bacula-users] bacula-fd cannot access files from the system still getting [permission denied]

2015-08-15 Thread Josip Deanovic
On Friday 2015-08-14 22:37:48 Ana Emília M. Arruda wrote: Hello Jing, I misunderstood the issue. You are able to start the client file daemon. Could you post the “permission denied” error messages you are getting? Best regards, Ana It might be related to selinux if selinux is in use.

Re: [Bacula-users] bacula-fd cannot access files from the system still getting [permission denied]

2015-08-15 Thread Kern Sibbald
Hello, I also think this may be a selinux problem. The best way to know is if Jing understands kernel and selinux logs, he can see if there are any selinux rejections, since they will not clearly show as being a selinux problem in the Bacula messages (the OS does not furnish this info). Another

Re: [Bacula-users] bacula-fd cannot access files from the system still getting [permission denied]

2015-08-15 Thread Josh Fisher
On 8/14/2015 8:00 PM, JING YANG wrote: Dear Ana, It is like this, -rw-r- 1 bacula bacula 5 Aug 14 02:19 bacula-sd.9103.pid Are you sure that bacula-sd runs as bacula:bacula and not bacula:tape? -rw-r- 1 root root 5 Aug 14 02:19 bacula-fd.9102.pid -rw-r- 1 bacula

Re: [Bacula-users] bacula-fd cannot access files from the system still getting [permission denied]

2015-08-15 Thread Josip Deanovic
On Saturday 2015-08-15 12:15:13 Kern Sibbald wrote: Hello, I also think this may be a selinux problem. The best way to know is if Jing understands kernel and selinux logs, he can see if there are any selinux rejections, since they will not clearly show as being a selinux problem in the

Re: [Bacula-users] bacula-fd cannot access files from the system still getting [permission denied]

2015-08-15 Thread Kern Sibbald
On 15.08.2015 17:44, Josip Deanovic wrote: On Saturday 2015-08-15 12:15:13 Kern Sibbald wrote: Hello, I also think this may be a selinux problem. The best way to know is if Jing understands kernel and selinux logs, he can see if there are any selinux rejections, since they will not clearly

Re: [Bacula-users] bacula-fd cannot access files from the system still getting [permission denied]

2015-08-14 Thread Ana Emília M . Arruda
Hello Jing, Have you checked the write permissions on your Pid Directory? PIDFILE=/var/run/bacula/$NAME.$PORT.pid Best regards, Ana Em sex, 14 de ago de 2015 às 14:07, Jing At Penn yan...@sas.upenn.edu escreveu: Dear Josip, I really appreciate your help. I am using archlinux. I

Re: [Bacula-users] bacula-fd cannot access files from the system still getting [permission denied]

2015-08-14 Thread Jing At Penn
Dear Josip, I really appreciate your help. I am using archlinux. I figured the system daemon configuration file is running under /use/lib/systemd/system/bacula-fd.service. So I changed the user and group in there. Now, I checked ps aux | grep bacula-fd it's running as root. However, I

Re: [Bacula-users] bacula-fd cannot access files from the system still getting [permission denied]

2015-08-14 Thread JING YANG
Dear Ana, It is like this, -rw-r- 1 bacula bacula 5 Aug 14 02:19 bacula-sd.9103.pid -rw-r- 1 root root 5 Aug 14 02:19 bacula-fd.9102.pid -rw-r- 1 bacula bacula 5 Aug 14 11:05 bacula-dir.9101.pid anything wrong here? Thanks, Jing On Fri, Aug 14, 2015 at 2:58 PM, Ana

Re: [Bacula-users] bacula-fd cannot access files from the system still getting [permission denied]

2015-08-14 Thread Ana Emília M . Arruda
Hello Jing, I misunderstood the issue. You are able to start the client file daemon. Could you post the “permission denied” error messages you are getting? Best regards, Ana On Fri, Aug 14, 2015 at 9:00 PM, JING YANG yan...@sas.upenn.edu wrote: Dear Ana, It is like this, -rw-r-

Re: [Bacula-users] bacula-fd cannot access files from the system still getting [permission denied]

2015-08-13 Thread Josip Deanovic
On Tuesday 2015-08-11 17:40:17 Jing Yang wrote: Here is my init.d script file, i did not see the -u option …. BUSER and BGROUP are the two things some other mailing list user told me to put there, however, that does not work either. Hi! I am not sure what OS you are using so my advice here

[Bacula-users] bacula-fd cannot access files from the system still getting [permission denied]

2015-08-11 Thread Jing Yang
Hi, I have been searching around a lot about “permission denied” errors, however, none of them matches my case. I am keeping getting Permission denied error on bacula-fd daemon. In the manual, it says that run the file system daemon as root. I am assuming it means the following,

Re: [Bacula-users] bacula-fd cannot access files from the system still getting [permission denied]

2015-08-11 Thread Josip Deanovic
On Tuesday 2015-08-11 02:40:01 Jing Yang wrote: Hi, I have been searching around a lot about “permission denied” errors, however, none of them matches my case. I am keeping getting Permission denied error on bacula-fd daemon. In the manual, it says that run the file system daemon as

Re: [Bacula-users] bacula-fd cannot access files from the system still getting [permission denied]

2015-08-11 Thread Heitor Faria
Hi, I have been searching around a lot about “permission denied” errors, however, none of them matches my case. I am keeping getting Permission denied error on bacula-fd daemon. In the manual, it says that run the file system daemon as root. I am assuming it means

Re: [Bacula-users] bacula-fd cannot access files from the system still getting [permission denied]

2015-08-11 Thread Josip Deanovic
On Tuesday 2015-08-11 11:24:49 JING YANG wrote: Dear Josip, Thank you for your reply. ps aux | grep bacula-fd gives me the following: bacula 31630 0.0 0.1 198364 2936 ?Ssl 11:09 0:00 /usr/bin/bacula-fd -c /etc/bacula/bacula-fd.conf Does this look right? I have