FDSocket closed dari Bacula Server ke Bacula Client

Gue bingung bacula-client config normal dan gak ada error, ditelnet ke localhost port lokal juga masuk tapi kok error koneksi ke bacula-client dari server bacula.

Dari client ke localhost

# telnet localhost 9102
Trying ::1…
Trying 127.0.0.1…
Connected to localhost.
Escape character is ‘^]’.
^]
telnet> quit
Connection closed.

Dari server ke client

# telnet 1.1.1.1 9102
Trying 1.1.1.1…
telnet: Unable to connect to remote host: Connection refused

Solusi

Setelah diselidiki ternyata LISTENnya cuma 127.0.0.1 bukan 0.0.0.0

root@hris:/etc/bacula# netstat -tulpn | grep LISTEN | grep 9102
tcp 0 0 127.0.0.1:9102 0.0.0.0:* LISTEN 20526/bacula-fd

Akhirnya biar jadi 0.0.0.0 (All IP address), kasih komentar aja bagian FDAddress nya

FileDaemon { # this is me
Name = hris-fd
FDport = 9102 # where we listen for the director
WorkingDirectory = /var/lib/bacula
Pid Directory = /var/run/bacula
Maximum Concurrent Jobs = 20
# FDAddress = 127.0.0.1
}

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s