Re: [Bacula-users] bsmtp still uses the old IP address

2005-08-23 Thread Bradley D. Larson

Previously I have done (many times in trying to solve this)  a:

./bacula restart

to stop and start bacula my problem continued.

This time (for something completely different) I performed a

   ./bacula stop
   ./bacula start

and the IP is correct


Martin Simmons wrote:


On Mon, 22 Aug 2005 17:25:21 -0400, Ryan Novosielski <[EMAIL PROTECTED]> said:
   



 Ryan> Make sure you did a reload, and make sure the config file you think you 
 Ryan> are using is the one you're actually using.


The "show all" console command is useful here to see what is loaded.

__Martin

 



--
Bradley Larson
Terramarc / Crary -- Manager of Information Systems
PO Box 849
NW 12th St
West Fargo  ND  58078  USA

voice: 701-282-5520  ext 352 fax: 701-282-9522
www.terramarc.com[EMAIL PROTECTED]




---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bsmtp still uses the old IP address

2005-08-23 Thread Martin Simmons
> On Mon, 22 Aug 2005 17:25:21 -0400, Ryan Novosielski <[EMAIL PROTECTED]> 
> said:

  Ryan> Make sure you did a reload, and make sure the config file you think you 
  Ryan> are using is the one you're actually using.

The "show all" console command is useful here to see what is loaded.

__Martin


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bsmtp still uses the old IP address

2005-08-22 Thread Ryan Novosielski
Make sure you did a reload, and make sure the config file you think you 
are using is the one you're actually using.


 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  | | Ryan Novosielski - User Support Spec. III
|$&| |__| |  | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.| IST/AST - NJMS Medical Science Bldg - C630 




Dan Langille wrote:


On 22 Aug 2005 at 10:02, Bradley D. Larson wrote:

 

Recently we changed our subnet and everything in bacula works great with 
the one exception... It is still trying to email the backup status to 
the old email server...
   



How do you know it's trying to email to the old email servers?

Is that 192.168.1.5?

 

I have changed all configuration files I can find and searched for 
others but can not find where bacula is getting this IP address.  I'm 
almost of the opinion that it was compiled into the executable at 
install time! May it never be!!!  About the only thing I have left is to 
un-install/re-install.
   



Have you checked /etc/hosts on the director?

 

As I mentioned before... everything works great other than this email 
notification.


Below is the actual error...

22-Aug 01:17 bacula-dir: BackupCatalog.2005-08-22_01.10.01 Error:
message.c:473 Mail program terminated in error.
CMD=/home/bacula/bacula/sbin/bsmtp -h 192.168.1.5 -f "(Bacula)
[EMAIL PROTECTED]" -s "Bacula: Backup OK of bacula-fd Full"
[EMAIL PROTECTED] ERR=Child died from signal 15: Termination 
   



Does bacula-dir.conf have a line like this?

mailcommand = "/usr/local/sbin/bsmtp -h localhost -f \"\(Bacula\) 
%r\" -s \"Bacula: %t %e of %c %l\" %r"


Perhaps you have put something else in place of localhost above?

 





---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bsmtp still uses the old IP address

2005-08-22 Thread Bradley D. Larson

Dan,

Thanks for responding so quickly to reply to your responses:

1. Yes, the old mail server is 192.168.1.5
2.  The /etc/hosts file has only the following entries:

   127.0.0.1   localhost.localdomain localhost
   192.168.73.27   bacula bacula.crary.com

3. bacula-dir.conf contains the following bsmtp options:

   Messages {
 Name = Standard
 mailcommand = "/home/bacula/bacula/sbin/bsmtp -h 192.168.73.5 -f
   \"\(Bacula\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
 operatorcommand = "/home/bacula/bacula/sbin/bsmtp -h 192.168.73.5
   -f \"\(Bacula\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
 mail = [EMAIL PROTECTED] = all, !skipped
 operator = [EMAIL PROTECTED] = mount
 console = all, !skipped, !saved
 append = "/home/bacula/bacula/bin/working/log" = all, !skipped
   }


   Messages {
 Name = Daemon
 mailcommand = "/home/bacula/bacula/sbin/bsmtp -h 192.168.73.5 -f
   \"\(Bacula\) %r\" -s \"Bacula daemon message\" %r"
 mail = [EMAIL PROTECTED] = all, !skipped
 console = all, !skipped, !saved
 append = "/home/bacula/bacula/bin/working/log" = all, !skipped
   }




Dan Langille wrote:


On 22 Aug 2005 at 10:02, Bradley D. Larson wrote:

 

Recently we changed our subnet and everything in bacula works great with 
the one exception... It is still trying to email the backup status to 
the old email server...
   



How do you know it's trying to email to the old email servers?

Is that 192.168.1.5?

 

I have changed all configuration files I can find and searched for 
others but can not find where bacula is getting this IP address.  I'm 
almost of the opinion that it was compiled into the executable at 
install time! May it never be!!!  About the only thing I have left is to 
un-install/re-install.
   



Have you checked /etc/hosts on the director?

 

As I mentioned before... everything works great other than this email 
notification.


Below is the actual error...

22-Aug 01:17 bacula-dir: BackupCatalog.2005-08-22_01.10.01 Error:
message.c:473 Mail program terminated in error.
CMD=/home/bacula/bacula/sbin/bsmtp -h 192.168.1.5 -f "(Bacula)
[EMAIL PROTECTED]" -s "Bacula: Backup OK of bacula-fd Full"
[EMAIL PROTECTED] ERR=Child died from signal 15: Termination 
   



Does bacula-dir.conf have a line like this?

mailcommand = "/usr/local/sbin/bsmtp -h localhost -f \"\(Bacula\) 
%r\" -s \"Bacula: %t %e of %c %l\" %r"


Perhaps you have put something else in place of localhost above?

 



--
Bradley Larson
Terramarc / Crary -- Manager of Information Systems
PO Box 849
NW 12th St
West Fargo  ND  58078  USA

voice: 701-282-5520  ext 352 fax: 701-282-9522
www.terramarc.com[EMAIL PROTECTED]




---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bsmtp still uses the old IP address

2005-08-22 Thread Dan Langille
On 22 Aug 2005 at 10:02, Bradley D. Larson wrote:

> Recently we changed our subnet and everything in bacula works great with 
> the one exception... It is still trying to email the backup status to 
> the old email server...

How do you know it's trying to email to the old email servers?

Is that 192.168.1.5?

> I have changed all configuration files I can find and searched for 
> others but can not find where bacula is getting this IP address.  I'm 
> almost of the opinion that it was compiled into the executable at 
> install time! May it never be!!!  About the only thing I have left is to 
> un-install/re-install.

Have you checked /etc/hosts on the director?

> As I mentioned before... everything works great other than this email 
> notification.
> 
> Below is the actual error...
> 
> 22-Aug 01:17 bacula-dir: BackupCatalog.2005-08-22_01.10.01 Error:
> message.c:473 Mail program terminated in error.
> CMD=/home/bacula/bacula/sbin/bsmtp -h 192.168.1.5 -f "(Bacula)
> [EMAIL PROTECTED]" -s "Bacula: Backup OK of bacula-fd Full"
> [EMAIL PROTECTED] ERR=Child died from signal 15: Termination 

Does bacula-dir.conf have a line like this?

mailcommand = "/usr/local/sbin/bsmtp -h localhost -f \"\(Bacula\) 
%r\" -s \"Bacula: %t %e of %c %l\" %r"

Perhaps you have put something else in place of localhost above?

-- 
Dan Langille : http://www.langille.org/
BSDCan - The Technical BSD Conference - http://www.bsdcan.org/




---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bsmtp still uses the old IP address

2005-08-22 Thread Bradley D. Larson
Recently we changed our subnet and everything in bacula works great with 
the one exception... It is still trying to email the backup status to 
the old email server...


I have changed all configuration files I can find and searched for 
others but can not find where bacula is getting this IP address.  I'm 
almost of the opinion that it was compiled into the executable at 
install time! May it never be!!!  About the only thing I have left is to 
un-install/re-install.


As I mentioned before... everything works great other than this email 
notification.


Below is the actual error...

22-Aug 01:17 bacula-dir: BackupCatalog.2005-08-22_01.10.01 Error: 
message.c:473 Mail program terminated in error.
CMD=/home/bacula/bacula/sbin/bsmtp -h 192.168.1.5 -f "(Bacula) 
[EMAIL PROTECTED]" -s "Bacula: Backup OK of bacula-fd Full" [EMAIL PROTECTED]

ERR=Child died from signal 15: Termination

--
Bradley Larson
Terramarc / Crary -- Manager of Information Systems
PO Box 849
NW 12th St
West Fargo  ND  58078  USA

voice: 701-282-5520  ext 352 fax: 701-282-9522
www.terramarc.com[EMAIL PROTECTED]




---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users