[Bacula-users] Director will not connect to a remote client
2016-03-10 12:08:20
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]
tcp 0 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 maaf4d AT mst DOT edu via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT 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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|