freebsd lsyncd 실패

freebsd lsyncd 실패

lsyncd는 로그 파일에 /pool/www/yiiazertag/azertag/css/ 폴더를 사용합니다.

Wed Nov  6 13:27:11 2019 Normal: --- Startup, daemonizing ---
Wed Nov  6 13:27:11 2019 Normal: --- Startup ---
Wed Nov  6 13:27:11 2019 Normal: recursive startup rsync: /pool/www/yiiazertag/azertag/css/ -> [email protected]:/pool/www/yiiazertag/azertag/css/
sending incremental file list

sent 1,697 bytes  received 15 bytes  3,424.00 bytes/sec
total size is 974,876  speedup is 569.44
Wed Nov  6 13:27:11 2019 Normal: Startup of /pool/www/yiiazertag/azertag/css/ -> [email protected]:/pool/www/yiiazertag/azertag/css/ finished.

그것은 중요하지 않습니다.

root@main2:/ # service lsyncd status
lsyncd is running as pid 2044.

lsyncd는 /pool/www/yiiazertag/azertag/newsimages/ 폴더에서 작동합니다.

Wed Nov  6 15:01:38 2019 Normal: --- Startup, daemonizing ---
Wed Nov  6 15:01:38 2019 Normal: --- Startup ---

아니요. 그게 다야. lsyncd가 실행되고 있지 않습니다.

root@main2:/ # service lsyncd status
lsyncd is not running.
root@main2:/ # cat /usr/local/etc/lsyncd.conf
settings {
  logfile    = "/var/log/lsyncd.log",
  statusFile = "/var/log/lsyncd.status",
  statusInterval = 1,
  maxProcesses = 1,
  insist = 1,
}
sync{
  default.rsync,
  delay = 0,
  source = "/pool/www/yiiazertag/azertag/newsimages/",
  target = "[email protected]:/pool/www/yiiazertag/azertag/newsimages/",
  rsync = {
    archive  = true,
    compress = true,
    acls = true,
    verbose = true,
    owner = true,
    group = true,
    perms = true,
    temp_dir="/tmp/",


    -- binary = "/usr/local/bin/rsync",
    -- sparse = true,
    -- update = true,
    -- protect_args = false,
    -- whole_file = false,
    -- links = true,
    _extra = { "--omit-dir-times" },
    rsh = "ssh -p 44400 -o StrictHostKeyChecking=no",
    -- rsync_path = "/usr/local/bin/sudo /usr/local/bin/rsync"
  },
  delete = true
}

CSS 폴더는 복사할 수 있지만 newsimages 폴더는 복사할 수 없습니다. Lsyncd 서비스가 중지되었습니다. 도와주세요.

root@main2:/ # sysctl kern.maxfiles kern.maxfilesperproc kern.openfiles
kern.maxfiles: 500000
kern.maxfilesperproc: 490000
kern.openfiles: 274

관련 정보