Re: [Bacula-users] Special Permissions to Stop and Start Services during backup

2017-04-28 Thread Jim Richardson
Thank you everyone for your responses. I have gotten it to work the solution is below. Andy: no there is not an extra dot. Martin: bacula-fd is running as root. I will remove sudo configuration all together Ben: Thanks, seeing that the bacula-fd service is running as root I have removed the

Re: [Bacula-users] Special Permissions to Stop and Start Services during backup

2017-04-28 Thread Roberts, Ben
Hi Jim, Note that sudo requires the command be executed from a TTY by default for security, which isn't compatible with how system services run. Do you have a defaults entry for bacula that disables the "requiretty" option? Not having this would manifest as a permission denied as if the sudo ru

[Bacula-users] bpipe Error closing for file what is wrong?

2017-04-28 Thread Tomasz Bialek
First time I would like to say hallo I have a problem with the bpipe (configuration?). I want to run a virtual machine backup like in the example by Heitor but I have an error: xen7test-fd JobId 117: Error: bpipe-fd: Error closing for file /var/tmp/Odoo_8.xva: 268435457 I can see that the image

Re: [Bacula-users] Special Permissions to Stop and Start Services during backup

2017-04-28 Thread Martin Simmons
> On Fri, 28 Apr 2017 00:46:09 +, Jim Richardson said: > > I am starting to get into a few special circumstances that I need to have a > service stopped before I can back it up I am receiving the errors below. I > have established a Bacula sudoers file that should allow for things, but >

Re: [Bacula-users] Special Permissions to Stop and Start Services during backup

2017-04-28 Thread andy
On Fri, Apr 28, 2017 at 12:46:09AM +, Jim Richardson wrote: > > # cat /etc/sudoers.d/bacula > > bacula ALL=NOPASSWD: /usr/bin/systemctl. > Is there really a trailing "." there? I don't think that will work... Check your system security log - usually /var/log/secure or /var/log/auth.log -