[Bacula-users] Director will not connect to a remote client

2016-03-14 Thread maaf4d
Oh, finally! We're getting somewhere. So, after I took out the addresses lines, 
everything is working fine. Next step for me is to get things working on 
CloudLab. Thank you all for your help. I think I can figure out the OpenStack 
issue on my own from here.

Thank you guys so much!

-Marty

+--
|This was sent by maa...@mst.edu via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Director will not connect to a remote client

2016-03-14 Thread maaf4d
I am using the public IP address of the machines like so:

Storage { # definition of myself
  Name = storage-sd
  SDPort = 9103  # Director's port
  WorkingDirectory = "/var/lib/bacula"
  Pid Directory = "/var/run/bacula"
  Maximum Concurrent Jobs = 20
  SDAddress = public.ip.address.xx
}

+--
|This was sent by maa...@mst.edu via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Director will not connect to a remote client

2016-03-14 Thread maaf4d
This is actually not OpenStack anymore. I'm running a temporary experiment on a 
few Linux machines I got in the lab

+--
|This was sent by maa...@mst.edu via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Director will not connect to a remote client

2016-03-14 Thread maaf4d
How would I change that? Maybe that is my issue

+--
|This was sent by maa...@mst.edu via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Director will not connect to a remote client

2016-03-14 Thread maaf4d
I get the following when I use netstat:

tcp0  0 127.0.1.1:9101  0.0.0.0:*   LISTEN  
6591/bacula-dir
tcp0  0 127.0.1.1:9102  0.0.0.0:*   LISTEN  
1886/bacula-fd
tcp0  0 127.0.1.1:9103  0.0.0.0:*   LISTEN  
1865/bacula-sd


It seems to me like it's listening to the correct ports yet it still refuses 
the connection

+--
|This was sent by maa...@mst.edu via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Director will not connect to a remote client

2016-03-13 Thread maaf4d
Ok so there seems to be some kind of issue with the public IP addresses of 
OpenStack to where I can't really use the IP addresses to connect to the nodes 
even tough I can ssh to them. It's very weird.

Anyway, I tried to install Bacula on some of the machines on my lab. I made one 
machine the server, and another one a client. I opened the ports and made sure 
that they're listening on the right  ports. Although, I cannot get the machines 
to connect. When I use telnet, I get a connection refused message. I can ping 
the machines just fine.

I really appreciate all the help.

+--
|This was sent by maa...@mst.edu via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Director will not connect to a remote client

2016-03-10 Thread maaf4d
I noticed than whenever I change any address in [bacula-dir.conf, 
bacula-sd.conf, bacula-fd.com] from localhost to a public IP address, the 
machine stops listening on the matching port. This is the weirdest thing.

+--
|This was sent by maa...@mst.edu via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Director will not connect to a remote client

2016-03-10 Thread maaf4d
Maybe it's worth mentioning that I am setting up a network on a CloudLab 
infrastructure which has OpenStack installed on it. I then create two machines 
on OpenStack and install Bacula on them. My ultimate goal is to create a 
cluster (or a cloud) which would serve as the Bacula server and use machines 
not on the same network as clients to run backup jobs to observe some metrics 
for my research. I don't know if that helps with this problem or not but I 
thought it was worth mentioning.

+--
|This was sent by maa...@mst.edu via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Director will not connect to a remote client

2016-03-10 Thread maaf4d
I removed the output rules from iptables and nothing changed. Telnet stills 
"hangs" and after a while it times out

+--
|This was sent by maa...@mst.edu via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Director will not connect to a remote client

2016-03-10 Thread maaf4d
Running bconsole on the local machine which has the director installed on it

+--
|This was sent by maa...@mst.edu via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Director will not connect to a remote client

2016-03-10 Thread maaf4d
After I removed DirAddress from Bacula-dir.conf:

1) bconsole still won't connect to the director (the public IP address is being 
used in bconsole.conf.) It times out after while
2) I get the following when i run netstat now

tcp   0 0  0.0.0.0:9101   0.0.0.0:* LISTEN
tcp   0 0  127.0.0.1:91020.0.0.0:* LISTEN

+--
|This was sent by maa...@mst.edu via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Director will not connect to a remote client

2016-03-10 Thread maaf4d
IPTables on Server:
_
Chain INPUT (policy ACCEPT)
target prot opt source   destination
ACCEPT tcp  --  anywhere anywhere state NEW tcp 
dpts:bacula-dir:bacula-sd
ACCEPT tcp  --  anywhere anywhere state NEW tcp 
dpts:bacula-dir:bacula-sd

Chain FORWARD (policy ACCEPT)
target prot opt source   destination

Chain OUTPUT (policy ACCEPT)
target prot opt source   destination
ACCEPT tcp  --  anywhere anywhere state NEW tcp 
dpts:bacula-dir:bacula-sd







Client's IPTables rules:
__
Chain INPUT (policy ACCEPT)
target prot opt source   destination
ACCEPT tcp  --  anywhere anywhere state NEW tcp 
dpt:bacula-fd

Chain FORWARD (policy ACCEPT)
target prot opt source   destination

Chain OUTPUT (policy ACCEPT)
target prot opt source   destination
ACCEPT tcp  --  anywhere anywhere state NEW tcp 
dpt:bacula-fd
__





Client Machine's file daemon debug:

__
bacula-fd: filed_conf.c:452-0 Inserting director res: client-mon
10-Mar 16:48 client-fd: ERROR TERMINATION at bsys.c:438
bacula-fd is already running. pid=11903
Check file /var/run/bacula/bacula-fd.9102.pid
__




Server's director debug:

___
bacula-dir: dird.c:185-0 Debug level = 200
bacula-dir: runscript.c:296-0 runscript: debug
bacula-dir: runscript.c:297-0  --> RunScript
bacula-dir: runscript.c:298-0   --> 
Command=/etc/bacula/scripts/make_catalog_backup.pl MyCatalog
bacula-dir: runscript.c:299-0   --> Target=
bacula-dir: runscript.c:300-0   --> RunOnSuccess=1
bacula-dir: runscript.c:301-0   --> RunOnFailure=0
bacula-dir: runscript.c:302-0   --> FailJobOnError=1
bacula-dir: runscript.c:303-0   --> RunWhen=2
bacula-dir: runscript.c:296-0 runscript: debug
bacula-dir: runscript.c:297-0  --> RunScript
bacula-dir: runscript.c:298-0   --> 
Command=/etc/bacula/scripts/delete_catalog_backup
bacula-dir: runscript.c:299-0   --> Target=
bacula-dir: runscript.c:300-0   --> RunOnSuccess=1
bacula-dir: runscript.c:301-0   --> RunOnFailure=0
bacula-dir: runscript.c:302-0   --> FailJobOnError=1
bacula-dir: runscript.c:303-0   --> RunWhen=1
10-Mar 16:49 bacula-dir: ERROR TERMINATION at bsys.c:438
bacula-dir is already running. pid=13270
Check file /var/run/bacula/bacula-dir.9101.pid







server's storage daemon debug:

_
bacula-sd: stored_conf.c:704-0 Inserting director res: server-mon
10-Mar 16:50 server-sd: ERROR TERMINATION at bsys.c:438
bacula-sd is already running. pid=13189
Check file /var/run/bacula/bacula-sd.9103.pid
__




Server's Netstat:
__
root@server:~# netstat -na | grep 910[123]
tcp0  0 127.0.0.1:9102  0.0.0.0:*   LISTEN
__



Client's netstat:

root@client:~# netstat -na | grep 910[123]




Server's telnet:
___
root@server:~# telnet 128.104.223.157 9102
Trying 128.104.223.157...
___



So the issue for now is that bconsole is not connecting to the director after I 
change the local address to the public IP address. The IP addresses in bconsole 
and bacula-dir config files do match. The other issue is the clients are not 
connecting to the director. It looks to me like the ports are open but the 
machines are not listening to the correct ports.

+--
|This was sent by maa...@mst.edu via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ba

[Bacula-users] Director will not connect to a remote client

2016-03-09 Thread maaf4d
I do get a network "hang." Although, this does not make any sense to me because 
I forwarded the ports needed for Bacula. Am i doing something wrong here? Is 
there anyway I can check if my firewall is blocking the connection?

Thanks for pointing out that the passwords are included in here. I didn't even 
think about that. I will make sure not include them from now on.

+--
|This was sent by maa...@mst.edu via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Director will not connect to a remote client

2016-03-09 Thread maaf4d
Wanderlei,

Here is the fd config file of the remote machine:

Director {
Name = backup-master-001.novalocal-dir
Password = "7m1XU9Fp9uJcd76hCpoTIHLPoX3nK8veS"
}
Director {
Name = backup-master-001.novalocal-mon
Password = "YgYu3gMvctN1ZtwtTrHUZ84JB0-u0JUNf"
Monitor = yes
}
FileDaemon { # this is me
Name = test-fd
FDport = 9102 # where we listen for the director
WorkingDirectory = /var/lib/bacula
Pid Directory = /var/run/bacula
Maximum Concurrent Jobs = 20
FDAddress = 128.104.223.157
}
Messages {
Name = Standard
director = backup-master-001.novalocal-dir = all, !skipped, !restored
} 
_


When I try to use netstat on the client machine, it gives no output for any of 
the ports.

On the server, it only give an output for 9102 and here it is:

tcp0  0 127.0.0.1:9102  0.0.0.0:*   LISTEN




Ana,

I did change the IP address in bconsole and I still can't connect to it. I 
believe the previous reply to Wanderlei answers the other question. I also 
tried the command you suggested for testing the connection and it is not 
connection.


Again, I really appreciate the help

+--
|This was sent by maa...@mst.edu via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Director will not connect to a remote client

2016-03-08 Thread maaf4d
Florian,

All my machines can ping each other now but the issue is still not resolved. I 
also went through all your suggestions and made sure everything is okay. Still 
nothing.

Randy,

my ports are forwarded through the firewall but I still can't connect to the 
clients.

Jari,

When I change the director address to the public IP address, I can't connect to 
the director at all

This is driving me insane lol

+--
|This was sent by maa...@mst.edu via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Director will not connect to a remote client

2016-03-04 Thread maaf4d
So I made sure that everything was running and it still didn't work. Then, I 
tried to ping the machines and it turns out that the server can ping the 
clients but not the other way around. I have no idea why that is the case

+--
|This was sent by maa...@mst.edu via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Director will not connect to a remote client

2016-03-01 Thread maaf4d
Hi,
I would like some help with thi issue where the director cannot connect to 
either one of my file daemons. I installed the client version of bacula on a 
linux computer and a windows computer and configured them along with the 
director so they would communicate and run a backup job. Although when i go 
into the console and check the status of my clients, the connection is never 
successful. It ends up telling me that the connection timed out. Could anyone 
tell me what I am doing wrong? Here is my configurations:
Server:
Director File:

Director { # define myself
Name = backup-master-001.novalocal-dir
DIRport = 9101 # where we listen for UA connections
QueryFile = "/etc/bacula/scripts/query.sql"
WorkingDirectory = "/var/lib/bacula"
PidDirectory = "/var/run/bacula"
Maximum Concurrent Jobs = 1
Password = "f6nJvHpItEmcJ4m7J-WYSJzxdK9S2BGo6" # Console password
Messages = Daemon
DirAddress = 127.0.0.1
}
JobDefs {
Name = "DefaultJob"
Type = Backup
Level = Incremental
Client = backup-master-001.novalocal-fd
FileSet = "Full Set"
Schedule = "WeeklyCycle"
Storage = File
Messages = Standard
Pool = File
Priority = 10
Write Bootstrap = "/var/lib/bacula/%c.bsr"
}
Job {
Name = "LocalBackup"
JobDefs = "DefaultJob"
}
Job {
Name = "RemoteBackup"
JobDefs = "DefaultJob"
client = test-fd
Pool = RemoteFile
}
Job {
Name = "RemoteBackup2"
JobDefs = "DefaultJob"
client = marty-pc-fd
Pool = RemoteFile
}
Job {
Name = "BackupCatalog"
JobDefs = "DefaultJob"
Level = Full
FileSet="Catalog"
Schedule = "WeeklyCycleAfterBackup"
RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup.pl MyCatalog"
RunAfterJob = "/etc/bacula/scripts/delete_catalog_backup"
Write Bootstrap = "/var/lib/bacula/%n.bsr"
Priority = 11 # run after main backup
}
Job {
Name = "RestoreFiles"
Type = Restore
Client=backup-master-001.novalocal-fd
FileSet="Full Set"
Storage = File
Pool = Default
Messages = Standard
Where = /nonexistant/path/to/file/archive/dir/bacula-restores
}
Job {
Name = "RestoreRemote"
Type = Restore
Client=test-fd
FileSet="Full Set"
Storage = File
Pool = Default
Messages = Standard
Where = /bacula/restore
}
Job {
Name = "RestoreRemote2"
Type = Restore
Client=marty-pc-fd
FileSet="Full Set"
Storage = File
Pool = Default
Messages = Standard
Where = /bacula/restore
}
FileSet {
Name = "Full Set"
Include {
Options {
signature = MD5
}
File = /usr/sbin
}
Exclude {
File = /var/lib/bacula
File = /nonexistant/path/to/file/archive/dir
File = /proc
File = /tmp
File = /.journal
File = /.fsck
}
}
Schedule {
Name = "WeeklyCycle"
Run = Full 1st sun at 23:05
Run = Differential 2nd-5th sun at 23:05
Run = Incremental mon-sat at 23:05
}
Schedule {
Name = "WeeklyCycleAfterBackup"
Run = Full sun-sat at 23:10
}
FileSet {
Name = "Catalog"
Include {
Options {
signature = MD5
}
File = "/var/lib/bacula/bacula.sql"
}
}
Client {
Name = backup-master-001.novalocal-fd
Address = 128.104.223.158
FDPort = 9102
Catalog = MyCatalog
Password = "ulDaTfeEvHjt3JcHTR--kMe1XXYupHUWc" # password for FileDaemon
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
Client {
Name = test-fd
Address = 128.104.223.157
FDPort = 9102
Catalog = MyCatalog
Password = "7m1XU9Fp9uJcd76hCpoTIHLPoX3nK8veS" # password for FileDaemon
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
Client {
Name = marty-pc-fd
Address = 64.251.150.227
FDPort = 9102
Catalog = MyCatalog
Password = "xPPgbRxuRNTDy7hHIrYGVZ2MaCv8NkwhX2bgyvR3Kjca" # password for 
FileDaemon
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
Storage {
Name = File
Address = 128.104.223.158 # N.B. Use a fully qualified name here
SDPort = 9103
Password = "eMD7aNwcC9F_N8kwwp0tOAVL7oCXRuH9i"
Device = FileStorage
Media Type = File
}
Catalog {
Name = MyCatalog 
dbname = "bacula"; DB Address = ""; dbuser = "bacula"; dbpassword = 
"4KQniFNxHkQn"
}
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 = all, !skipped
operator = root = mount
console = all, !skipped, !saved
append = "/var/log/bacula/bacula.log" = all, !skipped
catalog = all
}
Messages {
Name = Daemon
mailcommand = "/usr/sbin/bsmtp -h localhost -f \"(Bacula) \<%r>\" -s \"Bacula 
daemon message\" %r"
mail = root = all, !skipped
console = all, !skipped, !saved
append = "/var/log/bacula/bacula.log" = all, !skipped
}
Pool {
Name = Default
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 365 days # one year
}
Pool {
Name = File
Pool Type = Backup
Label Format = Local-
Recycle = yes # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 365 days # one year
Maximum Volume By