小编loo*_*bee的帖子

为什么不能使用两个遥控器进行 rsync?

serverfault 用户注意:hynekcer 的四条评论在这里回答了这个封闭的问题。然后它在其他评论中被很好地接受为一个定期回答的问题。现在正在投票决定重新开放。


当源和目标都是远程时,rsync 会抱怨:

The source and destination cannot both be remote. rsync error: syntax or usage error (code 1) at main.c(1156) [Receiver=3.0.7]

让 rsync 做到这一点是否存在不可逾越的技术障碍?或者这只是一个尚未实施的情况?在内存中创建一个本地缓冲区来调解两个遥控器之间的传输似乎相对容易,同时保存散列和数据。

rsync remote

44
推荐指数
2
解决办法
2万
查看次数

ntpd 不断添加本地服务器,同时被告知不要添加

我正在公司网络中配置 ntp。

我弄完了

restrict default ignore
restrict -6 default ignore
Run Code Online (Sandbox Code Playgroud)

server明确列出s(我使用的是来自 的公共服务器pool.ntp.org)。我也没有启用broadcastclient

过了一会儿,ntpq -p一直只显示本地网络中我没有添加到配置文件中的特定服务器。

不应该restrict default ignore让 ntpd 忽略来自未明确提及的服务器的所有数据包吗?

我检查了我正在使用的服务器dig,地址似乎是正确的。

这是ntpq -pn

     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 10.200.10.253   .INIT.          16 u    -   64    0    0.000    0.000   0.000
Run Code Online (Sandbox Code Playgroud)

和我的当前ntp.conf(评论已删除)

driftfile /var/lib/ntp/ntp.drift
statsdir /var/log/ntpstats/

statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type …
Run Code Online (Sandbox Code Playgroud)

debian configuration ntp

5
推荐指数
1
解决办法
635
查看次数

标签 统计

configuration ×1

debian ×1

ntp ×1

remote ×1

rsync ×1