It fixed by changing host name to IP in storage config file?!

On Wednesday, August 15, 2018 at 2:08:52 PM UTC+4:30, MrPine wrote:
> hi,
> I am new to bareos ... I created new job but can not run it. test jobs run 
> without any problem but my new job(it has new client,fileset,storage,jobdefs) 
> has this error:
> ==============
> 15-Aug 14:01 pc-fd JobId 7: Error: lib/bsock.c:208 bnet_host2ipaddrs() for 
> host "BackupServer" failed: ERR=The requested name is valid, but no data of 
> the requested type was found.
> 15-Aug 14:01 pc-fd JobId 7: Fatal error: Failed to connect to Storage daemon: 
> BackupServer:9103
> 15-Aug 14:01 bareos-dir JobId 7: Fatal error: Bad response to Storage 
> command: wanted 2000 OK storage
> ===========
> BackupServer:~# cat /etc/hosts
> 127.0.0.1     BackupServer      localhost
> 192.168.0.157 BackupServer backupServer
> 
> BackupServer:~# hostname
> BackupServer
> BackupServer:~# ping backupserver
> PING BackupServer (127.0.0.1) 56(84) bytes of data.
> 64 bytes from BackupServer (127.0.0.1): icmp_seq=1 ttl=64 time=0.031 ms
> 64 bytes from BackupServer (127.0.0.1): icmp_seq=2 ttl=64 time=0.019 ms
> =========
> 
> Any Help?!

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to