{"id":480,"date":"2012-05-24T11:46:18","date_gmt":"2012-05-24T11:46:18","guid":{"rendered":"http:\/\/www.plugged.in\/?p=480"},"modified":"2019-05-24T14:43:52","modified_gmt":"2019-05-24T11:43:52","slug":"backuppc-filelistreceive-failed-solution","status":"publish","type":"post","link":"https:\/\/www.veriteknik.net.tr\/en\/backuppc-filelistreceive-failed-solution\/","title":{"rendered":"Backuppc fileListReceive failed &#8211; Solution"},"content":{"rendered":"<p style=\"text-align: justify;\">BackupPC uses ssh and rsync to connect to the client hosts, backuppc user&#8217;s shared key must be distributed to client hosts in order log-in to the clients without password, you receive the error &#8220;filelist receive failed&#8221; as backuppc cannot log-in or cannot find rsync on the client. We assume that you already generated a private key for backuppc and distributed that key to client hosts.<\/p>\n<p style=\"text-align: justify;\">You receive the error and you don&#8217;t exactly know what to do, if this is the first time that you see this error when you add a new client there are mostly two causes of this error:<\/p>\n<ul>\n<li>Backuppc cannot log-in to the client computer, or<\/li>\n<li>rsync path is different on client computer or never installed<\/li>\n<\/ul>\n<div style=\"text-align: justify;\">and if this is not the first backup of the client, then you most probably have a previous definition of the client in known_hosts file, if you re-installed the client operating system, delete server key from ~backuppc\/.ssh\/known_hosts file and try to re-login from backuppc terminal:<\/div>\n<div>\n<div>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">vi ~backuppc\/.ssh\/known_hosts #find the corresponding servers old key and delete line by typing \"dd\", save the file with SHIFT+ZZ (saves and quits)\nsu -l backuppc #login as backuppc\nssh root@client_ip_address # and log-in to the client host, save the key by typing yes\n#use ctrl + D to log out<\/pre>\n<\/div>\n<div>Above is the easiest way to exchange client hosts public key while confirming backuppc can log in to the client host.<\/div>\n<div>\n<hr style=\"width: 100%;\" width=\"100%\">\n<\/div>\n<\/div>\n<p>First, check if you are able to log in to the client through backuppc user, to do so type from the terminal:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">su -l backuppc\nssh root@client_ip_address<\/pre>\n<p style=\"text-align: justify;\">If you were able to log-in to the server without any password or warnings go to step II, otherwise generate a new ssh key for backuppc (or if you already created one, use it) and add the key to client hosts authorized_keys file. To generate a new backuppc key, use:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">#On BackupPC Server\nssh-keygen -t rsa\ncp ~\/.ssh\/id_rsa.pub ~\/.ssh\/BackupPC_id_rsa.pub\n#Switch to client host, copy generated BackupPC_id_rsa.pub to the client with sftp, scp or rsync and\ntouch ~\/.ssh\/authorized_keys2 # create if it is not there\ncat BackupPC_id_rsa.pub &gt;&gt; ~\/.ssh\/authorized_keys2 # add the key<\/pre>\n<p style=\"text-align: justify;\">And retry to log in again as described above. <strong>Note:<\/strong> If .ssh folder doesn&#8217;t exist on the client, simply try to ssh to an arbitrary IP address and cancel the operation, the folder will be created with appropriate permissions.<br \/>\n<strong><\/strong><\/p>\n<p style=\"text-align: justify;\"><strong>Step II: rsync paths must be identical or defined<\/strong><\/p>\n<p style=\"text-align: justify;\">If you didn&#8217;t set rsync path in Host-&gt;Edit Config section of Backuppc, Backuppc will look at the default location of rsync, to check the place of rsync on the host, type:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">[root@vt ~]# which rsync\n\/usr\/bin\/rsync\n[root@vt ~]#<\/pre>\n<p style=\"text-align: justify;\">if you don&#8217;t have the app &#8220;which&#8221; simply install it with &#8220;yum install which&#8221;. If you get a result like &#8220;No rsync in &#8230;&#8221; you probably don&#8217;t have rsync installed on your host, to install type &#8220;yum install rsync&#8221; and check the path again.<\/p>\n<p style=\"text-align: justify;\">If rsync exists and not in the same path as BackupPC server, you need to set the location in Host configuration-&gt;XFer-&gt;RsyncClientPath<\/p>\n<p>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>BackupPC uses ssh and rsync to connect to the client hosts, backuppc user&#8217;s shared key must be distributed to client hosts in order log-in to the clients without password, you receive the error &#8220;filelist receive failed&#8221; as backuppc cannot log-in or cannot find rsync on the client. We assume that you already generated a private [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[370],"tags":[],"yst_prominent_words":[2177,2172,2022,1209,2180,897,828,2175,2176,2171,2173,2181,710,2182,2174,1260,2178,1084,2179,1765],"class_list":["post-480","post","type-post","status-publish","format-standard","hentry","category-linux"],"jetpack_featured_media_url":"","uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"ckaraca","author_link":"https:\/\/www.veriteknik.net.tr\/en\/author\/ckaraca\/"},"uagb_comment_info":0,"uagb_excerpt":"BackupPC uses ssh and rsync to connect to the client hosts, backuppc user&#8217;s shared key must be distributed to client hosts in order log-in to the clients without password, you receive the error &#8220;filelist receive failed&#8221; as backuppc cannot log-in or cannot find rsync on the client. We assume that you already generated a private&hellip;","_links":{"self":[{"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/posts\/480","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/comments?post=480"}],"version-history":[{"count":1,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/posts\/480\/revisions"}],"predecessor-version":[{"id":7501,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/posts\/480\/revisions\/7501"}],"wp:attachment":[{"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/media?parent=480"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/categories?post=480"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/tags?post=480"},{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/yst_prominent_words?post=480"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}