SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Missing emails after upgrade to 5.0.2
Author Message
Post Missing emails after upgrade to 5.0.2 
Hi,
I just upgraded Bacula 3.0.3 to 5.0.2 on a Centos 5.4.
I followed the instructions to build the rpms < at > http://wiki.bacula.org/doku.php?id=howto_install_bacula_5.0.2_from_src.rpm_on_rhel_5_or_centos_5.
Now I don't get any emails sent from bacula.
Everything else seems to work like before upgrade.
I haven't changed anything in the Messages entry in bacula-dir.conf:

Messages {
  Name = Standard
  mailcommand = "/usr/sbin/bsmtp -h localhost -f "(Bacula) <%r>" -s "Bacula: %t %e of %c %l" %r"
  operatorcommand = "/usr/sbin/bsmtp -h localhost -f "(Bacula) <%r>" -s "Bacula: Intervention needed for %j" %r"
  mail = root < at > localhost = all, !skipped           
  operator = root < at > localhost = mount
  console = all, !skipped, !saved
  append = "/var/lib/bacula/log" = all, !skipped
}

The messages are passed on to /var/lib/bacula/log and I've successfully sent emails with bsmtp to the same recipient from command prompt.
Does anyone got any idea how to solve this problem?
Best Regards

Post Missing emails after upgrade to 5.0.2 
Hi,
if you switch to the backup-user (bacula?), perhaps you will be unable
to send mail because the rights of libbac-5.0.1.so are to strong:
bacula < at > backup-srv: $ /usr/sbin/bsmtp -h mailgate.domain.de -f
bacula < at > domain.de -s "testmail von bsmtp" bacula < at > domain.de
/usr/sbin/bsmtp: error while loading shared libraries: libbac-5.0.1.so:
cannot open shared object file: Permission denied

ls -lsa /usr/lib/libbac-5.0.1.so
152 -rwxr-x--- 1 root root 359306 Jan 1 1980 /usr/lib/libbac-5.0.1.so

chmod 755 /usr/lib/libbac-5.0.1.so should help. Or change the group, or
use visudo and add following: bacula ALL = NOPASSWD: /usr/sbin/bsmtp
(then you must call bsmtp with sudo - i do that way because i start
bacula from a cd-distro - devil-linux)

Udo


Am 08.07.2010 11:32, schrieb Patric Buskas:
Hi,
I just upgraded Bacula 3.0.3 to 5.0.2 on a Centos 5.4.
I followed the instructions to build the rpms < at >
http://wiki.bacula.org/doku.php?id=howto_install_bacula_5.0.2_from_src.rpm_on_rhel_5_or_centos_5.
Now I don't get any emails sent from bacula.
Everything else seems to work like before upgrade.
I haven't changed anything in the Messages entry in bacula-dir.conf:

Messages {
Name = Standard
mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\"
-s \"Bacula: %t %e of %c %l\" %r"
operatorcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\)
\<%r\>\" -s \"Bacula: Intervention needed for %j\" %r"
mail = root < at > localhost = all, !skipped
operator = root < at > localhost = mount
console = all, !skipped, !saved
append = "/var/lib/bacula/log" = all, !skipped
}

The messages are passed on to /var/lib/bacula/log and I've
successfully sent emails with bsmtp to the same recipient from command
prompt.
Does anyone got any idea how to solve this problem?
Best Regards

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB