Пытаюсь перенести DrWeb ES 6.0.2 с Win 2k3 на Debian Squeeze со меной БД с IntDB на PgSQL.
На исходном сервере (Win2k3) остановил сервер и сделал экспорт командой:
C:\Program Files\DrWeb Enterprise Server\bin>drwcsd.exe -home="C:\Program Files\ DrWeb Enterprise Server" -var-root="C:\Program Files\DrWeb Enterprise Server\var " -verbosity=all exportdb D:\123\esbase.es
На Debian установил DrWeb ES, установил из бэкпортов PostgreSQL 9.1 и настроил ES на работу с PgSQL. Перенес на Debian экспортированный файл, остановил сервер DrWeb и выполнил команду:
root@nfs-client:~# /etc/init.d/drwcsd importdb /opt/drwcs/esbase.es
импорт завершился без сообщений, в логе вот такая ошибка:
Подскажите,пожалуйста, как корректно импортировать базу?......
20111121.191816.06 tr2 [ 4599 4599] main [DbMgr] Restoring table "avd_report_archive" ...
20111121.191816.06 tr2 [ 4599 4599] main [DbMgr] Restoring table "admin_activity" ...
20111121.191820.08 tr2 [ 4599 4599] main [DbMgr] Restoring table "server_schedule" ...
20111121.191820.16 tr2 [ 4599 4599] main [DbMgr] Restoring table "admins" ...
20111121.191820.16 tr2 [ 4599 4599] main [DbMgr] Restoring table "admin_attributes" ...
20111121.191820.16 tr2 [ 4599 4599] main [DbMgr] Restoring table "activity_data" ...
20111121.191824.06 ERR [ 4599 4599] main [DB] Failed, ERROR: invalid byte sequence for encoding "UTF8": 0xcaeb, 00.001, INSERT INTO activity_data VALUES(?,?,?,?) ["20790296-d11d-b211-a86e-c800300e7d01", "Error", "Verify new configuration error because of cannot create DB conne", "20111116130458353"]
20111121.191824.06 ERR [ 4599 4599] main [DB] Failed, ERROR: invalid byte sequence for encoding "UTF8": 0xcaeb; ERROR: invalid byte sequence for encoding "UTF8": 0xcaeb, 00.000, INSERT INTO activity_data VALUES(?,?,?,?) ["20790296-d11d-b211-a86e-c800300e7d01", "Error", "Verify new configuration error because of cannot create DB conne", "20111116130458353"]
20111121.191824.06 ERR [ 4599 4599] main [DB] Failed, ERROR: invalid byte sequence for encoding "UTF8": 0xcaeb; ERROR: invalid byte sequence for encoding "UTF8": 0xcaeb; ERROR: invalid byte sequence for encoding "UTF8": 0xcaeb, 00.000, INSERT INTO activity_data VALUES(?,?,?,?) ["20790296-d11d-b211-a86e-c800300e7d01", "Error", "Verify new configuration error because of cannot create DB conne", "20111116130458353"]
20111121.191824.06 ERR [ 4599 4599] main [DB] Failed, ERROR: invalid byte sequence for encoding "UTF8": 0xcaeb; ERROR: invalid byte sequence for encoding "UTF8": 0xcaeb; ERROR: invalid byte sequence for encoding "UTF8": 0xcaeb; ERROR: invalid byte sequence for encoding "UTF8": 0xcaeb, 00.000, INSERT INTO activity_data VALUES(?,?,?,?) ["20790296-d11d-b211-a86e-c800300e7d01", "Error", "Verify new configuration error because of cannot create DB conne", "20111116130458353"]
20111121.191824.06 ERR [ 4599 4599] main [DB] Failed, ERROR: invalid byte sequence for encoding "UTF8": 0xcaeb; ERROR: invalid byte sequence for encoding "UTF8": 0xcaeb; ERROR: invalid byte sequence for encoding "UTF8": 0xcaeb; ERROR: invalid byte sequence for encoding "UTF8": 0xcaeb; ERROR: current transaction is aborted, commands ignored until end of transaction block, 00.000, INSERT INTO activity_data VALUES(?,?,?,?) ["20790296-d11d-b211-a86e-c800300e7d01", "Error", "Verify new configuration error because of cannot create DB conne", "20111116130458353"]
20111121.191824.06 ERR [ 4599 4599] main [DB] Failed, ERROR: invalid byte sequence for encoding "UTF8": 0xcaeb; ERROR: invalid byte sequence for encoding "UTF8": 0xcaeb; ERROR: invalid byte sequence for encoding "UTF8": 0xcaeb; ERROR: invalid byte sequence for encoding "UTF8": 0xcaeb; ERROR: current transaction is aborted, commands ignored until end of transaction block; ERROR: current transaction is aborted, commands ignored until end of transaction block, 00.000, INSERT INTO activity_data VALUES(?,?,?,?) ["20790296-d11d-b211-a86e-c800300e7d01", "Error", "Verify new configuration error because of cannot create DB", "20111116130458353"]
20111121.191824.07 ERR [ 4599 4599] main [DB] Failed, ERROR: invalid byte sequence for encoding "UTF8": 0xcaeb; ERROR: invalid byte sequence for encoding "UTF8": 0xcaeb; ERROR: invalid byte sequence for encoding "UTF8": 0xcaeb; ERROR: invalid byte sequence for encoding "UTF8": 0xcaeb; ERROR: current transaction is aborted, commands ignored until end of transaction block; ERROR: current transaction is aborted, commands ignored until end of transaction block; ERROR: current transaction is aborted, commands ignored until end of transaction block, 00.000, INSERT INTO activity_data VALUES(?,?,?,?) ["20790296-d11d-b211-a86e-c800300e7d01", "Error", "Verify new configuration error because of c", "20111116130458353"]
20111121.191824.07 ERR [ 4599 4599] main [DB] Failed, ERROR: invalid byte sequence for encoding "UTF8": 0xcaeb; ERROR: invalid byte sequence for encoding "UTF8": 0xcaeb; ERROR: invalid byte sequence for encoding "UTF8": 0xcaeb; ERROR: invalid byte sequence for encoding "UTF8": 0xcaeb; ERROR: current transaction is aborted, commands ignored until end of transaction block; ERROR: current transaction is aborted, commands ignored until end of transaction block; ERROR: current transaction is aborted, commands ignored until end of transaction block; ERROR: current transaction is aborted, commands ignored until end of transaction block, 00.000, INSERT INTO activity_data VALUES(?,?,?,?) ["20790296-d11d-b211-a86e-c800300e7d01", "Error", "Verify new configuration error b", "20111116130458353"]
20111121.191824.07 ERR [ 4599 4599] main [DB] Unsuccessful SQL import database, rolling back
20111121.191824.07 wrn [ 4599 4599] main [DBPool] Broken DB instance "server_t::importdb()" has been thrown away
20111121.191824.07 FTL [ 4599 4599] main [Server] Cannot import database because of
20111121.191824.07 FTL [ 4599 4599] main import file "/opt/drwcs/esbase.es" is corrupted because of
20111121.191824.07 FTL [ 4599 4599] main cannot insert record #6802 into table
20111121.191824.07 tr0 [ 4599 4599] main Dr.Web ® Enterprise Server REL-600 Build 6.00.2.201109160 (Linux/x86) is terminating
20111121.191824.07 ntc [ 4599 4599] main [Linux] System uptime is 04:43:10
20111121.191824.07 ntc [ 4599 4599] main [Linux] Now there are 84 processes, load average: 1.03 0.87 0.44
...
Спасибо.