• Как настроить синхронизацию с linux console на сервер OwnCloud?

    @ExTreMeUA Автор вопроса
    owncloudcmd /home/user/folder1 https://cloud.domen.com/owncloud/
    [08/10 09:58:13.486909, 6] csync_config_parse_file:  config file /home/user/.ocsync/ocsync.conf not found, checking /home/user/.ocsync/ocsync.conf
    [08/10 09:58:13.487578, 9] _csync_config_copy_default:  Copy /etc/config/ocsync.conf to /home/user/.ocsync/ocsync.conf
    [08/10 09:58:13.488069, 5] csync_init:  Could not load config file /home/user/.ocsync/ocsync.conf, using defaults.
    [08/10 09:58:13.488559, 5] csync_init:  Could not load /etc/ocsync/ocsync_exclude.conf -
    [08/10 09:58:13.488677, 7] csync_init:  Could not load /home/user/.ocsync/ocsync_exclude.conf -
    [08/10 09:58:13.488808, 9] csync_vio_init:  capabilities: atomar copy support: yes
    [08/10 09:58:13.488937, 9] csync_vio_init:  capabilities: post copy stat: no
    [08/10 09:58:13.489072, 9] csync_vio_init:  capabilities: time sync required: no
    [08/10 09:58:13.500077, 9] csync_vio_init:  capabilities: unix extensions: 0
    [08/10 09:58:13.500117, 9] csync_vio_init:  capabilities: use send_file: yes
    [08/10 09:58:13.500129, 9] csync_vio_init:  capabilities: get support: no
    [08/10 09:58:13.500141, 9] csync_vio_init:  capabilities: put support: no
    [08/10 09:58:13.500152, 9] csync_init:  Module does not need time synchronization.
    08-10 09:58:13:500 void Mirall::CSyncThread::startSync() Sync started
    08-10 09:58:13:500 starting to sync  QThread(0x1b68500) QThread(0x1b68500)
    08-10 09:58:13:500 Loading config:  "/home/user/.local/share/data//owncloudcmd/owncloud.cfg"  (URL is  "" )
    08-10 09:58:13:502 Transaction Start  "checkConnect"
    08-10 09:58:13:502 Columns in the current journal:  ("phash", "pathlen", "path", "inode", "uid", "gid", "mode", "modtime", "type", "md5", "fileid")
    08-10 09:58:13:502 =====sync DB has only 0 items, enable recursive PROPFIND if csync supports it
    08-10 09:58:13:502 void Mirall::CSyncThread::startSync() No default Account object, huh?
    08-10 09:58:13:502 #### Update start #################################################### >>
    08-10 09:58:13:502 csync_update: Journal: /home/user/folder1/.csync_journal.db
    08-10 09:58:13:504 csync_memstat_check: Memory: 244084K total size, 15984K resident, 12408K shared
    08-10 09:58:13:505 csync_ftw: Uniq ID from Database: .rnd -> <NULL>
    08-10 09:58:13:505 csync_walker: file: /home/user/folder1/.rnd
    08-10 09:58:13:505 _csync_detect_update: ==> file: .rnd - hash 16787234017151261655, mtime: 1452799839, fileId:
    08-10 09:58:13:505 csync_statedb_get_stat_by_hash: No result record found for phash = 16787234017151261655
    08-10 09:58:13:505 _csync_detect_update: file: .rnd, instruction: INSTRUCTION_NEW <<=
    08-10 09:58:13:505 csync_ftw: Uniq ID from Database: .bash_logout -> <NULL>
    08-10 09:58:13:505 csync_walker: file: /home/user/folder1/.bash_logout
    08-10 09:58:13:505 _csync_detect_update: ==> file: .bash_logout - hash 18017627007786167402, mtime: 1452798946, fileId:
    08-10 09:58:13:505 csync_statedb_get_stat_by_hash: No result record found for phash = 18017627007786167402
    08-10 09:58:13:506 _csync_detect_update: file: .bash_logout, instruction: INSTRUCTION_NEW <<=
    08-10 09:58:13:506 csync_ftw: Uniq ID from Database: .selected_editor -> <NULL>
    08-10 09:58:13:506 csync_walker: file: /home/user/folder1/.selected_editor
    08-10 09:58:13:506 _csync_detect_update: ==> file: .selected_editor - hash 15293096050438569465, mtime: 1470751298, fileId:
    08-10 09:58:13:506 csync_statedb_get_stat_by_hash: No result record found for phash = 15293096050438569465
    08-10 09:58:13:506 _csync_detect_update: file: .selected_editor, instruction: INSTRUCTION_NEW <<=
    08-10 09:58:13:506 csync_ftw: Uniq ID from Database: ubuntu-14.04-LTS-apache2.4.9-php5.5.14.sh -> <NULL>
    08-10 09:58:13:506 csync_walker: file: /home/user/folder1/ubuntu-14.04-LTS-apache2.4.9-php5.5.14.sh
    08-10 09:58:13:506 _csync_detect_update: ==> file: ubuntu-14.04-LTS-apache2.4.9-php5.5.14.sh - hash 11550951029848957772, mtime: 1452799555, fileId:
    08-10 09:58:13:507 csync_statedb_get_stat_by_hash: No result record found for phash = 11550951029848957772
    08-10 09:58:13:507 _csync_detect_update: file: ubuntu-14.04-LTS-apache2.4.9-php5.5.14.sh, instruction: INSTRUCTION_NEW <<=
    08-10 09:58:13:507 csync_ftw: Uniq ID from Database: .profile -> <NULL>
    08-10 09:58:13:507 csync_walker: file: /home/user/folder1/.profile
    08-10 09:58:13:508 _csync_detect_update: ==> file: .profile - hash 8248587146411616198, mtime: 1452798946, fileId:
    08-10 09:58:13:508 csync_statedb_get_stat_by_hash: No result record found for phash = 8248587146411616198
    08-10 09:58:13:508 _csync_detect_update: file: .profile, instruction: INSTRUCTION_NEW <<=
    08-10 09:58:13:508 csync_ftw: Uniq ID from Database: .bash_history -> <NULL>
    08-10 09:58:13:508 csync_walker: file: /home/user/folder1/.bash_history
    08-10 09:58:13:509 _csync_detect_update: ==> file: .bash_history - hash 59697181716714979, mtime: 1470748230, fileId:
    08-10 09:58:13:509 csync_statedb_get_stat_by_hash: No result record found for phash = 59697181716714979
    08-10 09:58:13:509 _csync_detect_update: file: .bash_history, instruction: INSTRUCTION_NEW <<=
    08-10 09:58:13:509 csync_ftw: Uniq ID from Database: .bashrc -> <NULL>
    08-10 09:58:13:509 csync_walker: file: /home/user/folder1/.bashrc
    08-10 09:58:13:509 _csync_detect_update: ==> file: .bashrc - hash 1755258766520144642, mtime: 1452798946, fileId:
    08-10 09:58:13:509 csync_statedb_get_stat_by_hash: No result record found for phash = 1755258766520144642
    08-10 09:58:13:509 _csync_detect_update: file: .bashrc, instruction: INSTRUCTION_NEW <<=
    08-10 09:58:13:509 csync_ftw:  <= Closing walk for /home/user/folder1 with read_from_db 0
    08-10 09:58:13:509 csync_update: Update detection for local replica took 0.00 seconds walking 7 files.
    08-10 09:58:13:510 csync_memstat_check: Memory: 244084K total size, 16052K resident, 12476K shared
    08-10 09:58:13:510 oc_module: opendir method called on https://cloud.domen.com/owncloud
    08-10 09:58:13:510 oc_module: * scheme https
    08-10 09:58:13:510 oc_module: * host cloud.domen.com
    08-10 09:58:13:510 oc_module: * port 0
    08-10 09:58:13:510 oc_module: * path /owncloud
    08-10 09:58:13:510 oc_module: Invalid scheme https, go outa here!
    08-10 09:58:13:510 oc_module: fetch_resource_list_recursive Starting recursive propfind https://cloud.domen.com/owncloud /owncloud
    Segmentation fault (core dumped)
    root@weblocal:~# clear
    root@weblocal:~# owncloudcmd /home/user/folder1 https://cloud.domen.com/owncloud/
    [08/10 09:58:41.810803, 6] csync_config_parse_file:  config file /home/user/.ocsync/ocsync.conf not found, checking /home/user/.ocsync/ocsync.conf
    [08/10 09:58:41.810923, 9] _csync_config_copy_default:  Copy /etc/config/ocsync.conf to /home/user/.ocsync/ocsync.conf
    [08/10 09:58:41.810963, 5] csync_init:  Could not load config file /home/user/.ocsync/ocsync.conf, using defaults.
    [08/10 09:58:41.811001, 5] csync_init:  Could not load /etc/ocsync/ocsync_exclude.conf -
    [08/10 09:58:41.811035, 7] csync_init:  Could not load /home/user/.ocsync/ocsync_exclude.conf -
    [08/10 09:58:41.811225, 9] csync_vio_init:  capabilities: atomar copy support: yes
    [08/10 09:58:41.811275, 9] csync_vio_init:  capabilities: post copy stat: no
    [08/10 09:58:41.811307, 9] csync_vio_init:  capabilities: time sync required: no
    [08/10 09:58:41.811338, 9] csync_vio_init:  capabilities: unix extensions: 0
    [08/10 09:58:41.811367, 9] csync_vio_init:  capabilities: use send_file: yes
    [08/10 09:58:41.811395, 9] csync_vio_init:  capabilities: get support: no
    [08/10 09:58:41.811425, 9] csync_vio_init:  capabilities: put support: no
    [08/10 09:58:41.811467, 9] csync_init:  Module does not need time synchronization.
    08-10 09:58:41:811 void Mirall::CSyncThread::startSync() Sync started
    08-10 09:58:41:811 starting to sync  QThread(0x13c9500) QThread(0x13c9500)
    08-10 09:58:41:811 Loading config:  "/home/user/.local/share/data//owncloudcmd/owncloud.cfg"  (URL is  "" )
    08-10 09:58:41:813 Transaction Start  "checkConnect"
    08-10 09:58:41:813 Columns in the current journal:  ("phash", "pathlen", "path", "inode", "uid", "gid", "mode", "modtime", "type", "md5", "fileid")
    08-10 09:58:41:813 =====sync DB has only 0 items, enable recursive PROPFIND if csync supports it
    08-10 09:58:41:814 void Mirall::CSyncThread::startSync() No default Account object, huh?
    08-10 09:58:41:814 #### Update start #################################################### >>
    08-10 09:58:41:814 csync_update: Journal: /home/user/folder1/.csync_journal.db
    08-10 09:58:41:815 csync_memstat_check: Memory: 244084K total size, 15984K resident, 12408K shared
    08-10 09:58:41:815 csync_ftw: Uniq ID from Database: .rnd -> <NULL>
    08-10 09:58:41:815 csync_walker: file: /home/user/folder1/.rnd
    08-10 09:58:41:815 _csync_detect_update: ==> file: .rnd - hash 16787234017151261655, mtime: 1452799839, fileId:
    08-10 09:58:41:816 csync_statedb_get_stat_by_hash: No result record found for phash = 16787234017151261655
    08-10 09:58:41:816 _csync_detect_update: file: .rnd, instruction: INSTRUCTION_NEW <<=
    08-10 09:58:41:816 csync_ftw: Uniq ID from Database: .bash_logout -> <NULL>
    08-10 09:58:41:816 csync_walker: file: /home/user/folder1/.bash_logout
    08-10 09:58:41:816 _csync_detect_update: ==> file: .bash_logout - hash 18017627007786167402, mtime: 1452798946, fileId:
    08-10 09:58:41:816 csync_statedb_get_stat_by_hash: No result record found for phash = 18017627007786167402
    08-10 09:58:41:816 _csync_detect_update: file: .bash_logout, instruction: INSTRUCTION_NEW <<=
    08-10 09:58:41:816 csync_ftw: Uniq ID from Database: .selected_editor -> <NULL>
    08-10 09:58:41:816 csync_walker: file: /home/user/folder1/.selected_editor
    08-10 09:58:41:816 _csync_detect_update: ==> file: .selected_editor - hash 15293096050438569465, mtime: 1470751298, fileId:
    08-10 09:58:41:816 csync_statedb_get_stat_by_hash: No result record found for phash = 15293096050438569465
    08-10 09:58:41:816 _csync_detect_update: file: .selected_editor, instruction: INSTRUCTION_NEW <<=
    08-10 09:58:41:817 csync_ftw: Uniq ID from Database: ubuntu-14.04-LTS-apache2.4.9-php5.5.14.sh -> <NULL>
    08-10 09:58:41:817 csync_walker: file: /home/user/folder1/ubuntu-14.04-LTS-apache2.4.9-php5.5.14.sh
    08-10 09:58:41:817 _csync_detect_update: ==> file: ubuntu-14.04-LTS-apache2.4.9-php5.5.14.sh - hash 11550951029848957772, mtime: 1452799555, fileId:
    08-10 09:58:41:817 csync_statedb_get_stat_by_hash: No result record found for phash = 11550951029848957772
    08-10 09:58:41:817 _csync_detect_update: file: ubuntu-14.04-LTS-apache2.4.9-php5.5.14.sh, instruction: INSTRUCTION_NEW <<=
    08-10 09:58:41:817 csync_ftw: Uniq ID from Database: .profile -> <NULL>
    08-10 09:58:41:817 csync_walker: file: /home/user/folder1/.profile
    08-10 09:58:41:817 _csync_detect_update: ==> file: .profile - hash 8248587146411616198, mtime: 1452798946, fileId:
    08-10 09:58:41:817 csync_statedb_get_stat_by_hash: No result record found for phash = 8248587146411616198
    08-10 09:58:41:817 _csync_detect_update: file: .profile, instruction: INSTRUCTION_NEW <<=
    08-10 09:58:41:817 csync_ftw: Uniq ID from Database: .bash_history -> <NULL>
    08-10 09:58:41:817 csync_walker: file: /home/user/folder1/.bash_history
    08-10 09:58:41:817 _csync_detect_update: ==> file: .bash_history - hash 59697181716714979, mtime: 1470748230, fileId:
    08-10 09:58:41:817 csync_statedb_get_stat_by_hash: No result record found for phash = 59697181716714979
    08-10 09:58:41:818 _csync_detect_update: file: .bash_history, instruction: INSTRUCTION_NEW <<=
    08-10 09:58:41:818 csync_ftw: Uniq ID from Database: .bashrc -> <NULL>
    08-10 09:58:41:818 csync_walker: file: /home/user/folder1/.bashrc
    08-10 09:58:41:818 _csync_detect_update: ==> file: .bashrc - hash 1755258766520144642, mtime: 1452798946, fileId:
    08-10 09:58:41:818 csync_statedb_get_stat_by_hash: No result record found for phash = 1755258766520144642
    08-10 09:58:41:818 _csync_detect_update: file: .bashrc, instruction: INSTRUCTION_NEW <<=
    08-10 09:58:41:818 csync_ftw:  <= Closing walk for /home/user/folder1 with read_from_db 0
    08-10 09:58:41:818 csync_update: Update detection for local replica took 0.00 seconds walking 7 files.
    08-10 09:58:41:818 csync_memstat_check: Memory: 244084K total size, 16052K resident, 12476K shared
    08-10 09:58:41:818 oc_module: opendir method called on https://cloud.domen.com/owncloud
    08-10 09:58:41:818 oc_module: * scheme https
    08-10 09:58:41:818 oc_module: * host cloud.domen.com
    08-10 09:58:41:818 oc_module: * port 0
    08-10 09:58:41:818 oc_module: * path /owncloud
    08-10 09:58:41:818 oc_module: Invalid scheme https, go outa here!
    08-10 09:58:41:818 oc_module: fetch_resource_list_recursive Starting recursive propfind https://cloud.domen.com/owncloud /owncloud
    Segmentation fault (core dumped)
  • Почему zimbra не отправляет сообщения с первого раза?

    @ExTreMeUA Автор вопроса
    TOParh: поменял на 8.8.8.8
    nslookup gmail.com
    Server: 8.8.8.8
    Address: 8.8.8.8#53

    Non-authoritative answer:
    Name: gmail.com
    Address: 216.58.214.229

    не помогло
  • GLPI 0.85 - как починить русские шрифты при экспорте в pdf?

    @ExTreMeUA
    1) в файле glpi/inc/export.function.php объявляем новую функцию utf8_decode_cyr:
    function utf8_decode_cyr($value){
    return iconv(UTF-8, Windows-1251,$value);
    }
    и заменяем везде вызов функции utf8_decode на нашу utf8_decode_cyr.
    2) качаем шрифты и распаковываем их в glpi/lib/ezpdf/fonts/
  • Почему zimbra не отправляет сообщения с первого раза?

    @ExTreMeUA Автор вопроса
    Константин Берёзов:
    nslookup gmail.com
    Server: 127.0.0.1
    Address: 127.0.0.1#53

    Non-authoritative answer:
    Name: gmail.com
    Address: 216.58.214.229
  • Почему zimbra не отправляет сообщения с первого раза?

    @ExTreMeUA Автор вопроса
    Константин Берёзов: на другой (например гугловский), внутри работает нормально.
    в МТА сервера прописаны адреса 127.0.0.0/8 192.168.1.0/24 [::1]/128 [fe80::]/64

    работает все за фаерволом порты по вики zimbra прописаны
  • Как перенести виртуальную машину Proxmox вместе со всеми снапшотами?

    @ExTreMeUA
    У меня все перенеслось на другой сервер и снапшоты и бекапы
    после копирования ВМ заходил в /etc/pve/qemu-server и поправлял каждую перенесенную ВМ *.conf
    согласно предыдущим х-кам