При установке модуля (freebsd 9.3 x64) вылетает ошибка установки, типа конфиг не может найти (:
root@utm:/netup/etc # sh /netup-payment-systems-FreeBSD-5.9-bsd93_x64.sh -i
* Starting installation ... failed
* ERROR: Failed to prepare netup-payment-systems configuration
Если запустить еще раз установку - говорит, что все файлы на месте, но при запуске модуля (/usr/local/etc/rc.d/netup-payment-systems.sh start) - не стартует с ошибкой failed.
я так понял, что чего-то нехватает, сделал следующее:
/netup/netup-payment-systems/bin/netup-payment-systems --version
/usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11 required by /netup/netup-payment-systems/bin/netup-payment-systems not found
и тут я впал в ступор - libstd++.so.6 имеется, но не работает. Видеть то я вижу, что внутри этой либы версия GLIBCXX не такая какая нужна а куда копать чото не знаю. Может кто подсказать??
upd. нашел в gcc47 эту же либу, но strings показал, что искомый 3.4.11 там имеется - заменил, --version Ошибок больше не показывает, но при этом при установке все равно Failed (хотя все файлы распаковываются), при попытке запуска так:
* Starting netup-payment-systems ... failed
* No /var/run/netup-payment-systems.pid
* Check parameters in /netup/etc/netup-payment-systems.config.xml
* See error messages in log file (by default /netup/log/netup-payment-systems.log)
меня больше смущает что не создается pid. Подскажите должен ли он создаваться сразу, или допустим это из-за того, что по каким-то причинам не может прицепится к mysql??
в логах следующее (судя по всему к БД цепляется, т.к. таблица events - появилась в БД):
Код: Выделить всё
18/02/2016 08:00:33:718363 [0x803407400] DEBUG Herz NetUp Payment Systems [17735]
Build 5.9-bsd93_x64 Rev #34162 (OS FreeBSD-9.3-RELEASE, DB mysql), 2015-12-24 09:58:44
(c) Copyright 2001-2015 NetUP LLC.
18/02/2016 08:00:33:718478 [0x803407400] DEBUG Herz starting init_bus
18/02/2016 08:00:33:718568 [0x803407400] INFO SQLManagerImpl Database connection setup: event [netup:sys][database_configuration][1.0] ([131241]134067[131246]) {
type='string, value: "mysql"'
name='string, value: "PAYMENT_SYSTEMS"'
host='string, value: "localhost"'
max='int, value: 20'
option='string, value: ""'
password='string, value: ""'
port='string, value: "3306"'
socket='string, value: "/tmp/mysql.sock"'
login='string, value: "root"'
verification='string, value: "yes"'
db namespace='string, value: ""'
}
18/02/2016 08:00:33:718703 [0x803407400] INFO SQLManagerImpl Initial thread database connection. Configuration event [netup:sys][database_configuration][1.0] ([131241]134067[131246]) {
type='string, value: "mysql"'
name='string, value: "PAYMENT_SYSTEMS"'
host='string, value: "localhost"'
max='int, value: 20'
option='string, value: ""'
password='string, value: ""'
port='string, value: "3306"'
socket='string, value: "/tmp/mysql.sock"'
login='string, value: "root"'
verification='string, value: "yes"'
db namespace='string, value: ""'
}
18/02/2016 08:00:33:722861 [0x803407400] SQL MYSQLDriverImplV2 create database if not exists PAYMENT_SYSTEMS
18/02/2016 08:00:33:729556 [0x803407400] ERROR CommonTools getaddrinfo(utm): hostname nor servname provided, or not known
18/02/2016 08:00:33:750637 [0x803407400] ERROR CommonTools gethostbyname(utm): Unknown host
18/02/2016 08:00:33:750659 [0x803407400] DEBUG MYSQLDriverImplV2 port: 3306
18/02/2016 08:00:33:750671 [0x803407400] SQL SQLDriverImplV2 [OK] mysql> [CONNECT host: 'localhost' port: '3306' client flag: '' unix_socket: '/tmp/mysql.sock' db_name: 'PAYMENT_SYSTEMS' user: 'root' password: ''] time spent 0 seconds.
18/02/2016 08:00:33:750895 [0x803407400] SQL SQLDriverImplV2 [OK] mysql> SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED time spent 0 seconds.
18/02/2016 08:00:33:750909 [0x803407400] INFO MYSQLVerifierImpl (events)
18/02/2016 08:00:33:750993 [0x803407400] SQL SQLDriverImplV2 [OK] mysql> [BEGIN TRANSACTION] time spent 0 seconds.
18/02/2016 08:00:33:751323 [0x803407400] SQL SQLDriverImplV2 [OK] mysql> SHOW TABLES LIKE 'events' (1 row) time spent 0 seconds.
18/02/2016 08:00:33:751638 [0x803407400] SQL SQLDriverImplV2 [OK] mysql> SELECT * FROM events LIMIT 0 time spent 0 seconds.
18/02/2016 08:00:33:752519 [0x803407400] SQL SQLDriverImplV2 [OK] mysql> SHOW FIELDS FROM events LIKE 'id' (1 row) time spent 0 seconds.
18/02/2016 08:00:33:753581 [0x803407400] SQL SQLDriverImplV2 [OK] mysql> SHOW FIELDS FROM events LIKE 'created' (1 row) time spent 0 seconds.
18/02/2016 08:00:33:754617 [0x803407400] SQL SQLDriverImplV2 [OK] mysql> SHOW FIELDS FROM events LIKE 'modified' (1 row) time spent 0 seconds.
18/02/2016 08:00:33:755559 [0x803407400] SQL SQLDriverImplV2 [OK] mysql> SHOW FIELDS FROM events LIKE 'deleted' (1 row) time spent 0 seconds.
18/02/2016 08:00:33:756516 [0x803407400] SQL SQLDriverImplV2 [OK] mysql> SHOW FIELDS FROM events LIKE 'modified_by' (1 row) time spent 0 seconds.
18/02/2016 08:00:33:757475 [0x803407400] SQL SQLDriverImplV2 [OK] mysql> SHOW FIELDS FROM events LIKE 'created_by' (1 row) time spent 0 seconds.
18/02/2016 08:00:33:758016 [0x803407400] SQL SQLDriverImplV2 [OK] mysql> SHOW FIELDS FROM events LIKE 'name' (1 row) time spent 0 seconds.
18/02/2016 08:00:33:758593 [0x803407400] SQL SQLDriverImplV2 [OK] mysql> SHOW FIELDS FROM events LIKE 'family' (1 row) time spent 0 seconds.
18/02/2016 08:00:33:759599 [0x803407400] SQL SQLDriverImplV2 [OK] mysql> SHOW FIELDS FROM events LIKE 'version' (1 row) time spent 0 seconds.
18/02/2016 08:00:33:760182 [0x803407400] SQL SQLDriverImplV2 [OK] mysql> SHOW FIELDS FROM events LIKE 'role_mask' (1 row) time spent 0 seconds.
18/02/2016 08:00:33:760268 [0x803407400] SQL SQLDriverImplV2 [OK] mysql> [COMMIT TRANSACTION] time spent 0 seconds.
18/02/2016 08:00:33:760276 [0x803407400] INFO SQLManagerImpl Finished commit
18/02/2016 08:00:33:760359 [0x803407400] WARNING SQLVerifierImpl DB Verification warned on field events.name (database column default_value: '0' != scheme column default_value: '0'). Table events.
18/02/2016 08:00:33:760382 [0x803407400] WARNING SQLVerifierImpl DB Verification warned on field events.family (database column default_value: '0' != scheme column default_value: '0'). Table events.
18/02/2016 08:00:33:760395 [0x803407400] WARNING SQLVerifierImpl DB Verification warned on field events.version (database column default_value: '0' != scheme column default_value: '0'). Table events.
18/02/2016 08:00:33:760426 [0x803407400] WARNING SQLVerifierImpl DB Verification warned on field events.role_mask (database column default_value: '0' != scheme column default_value: '0'). Table events.
18/02/2016 08:00:33:760442 [0x803407400] DEBUG Herz starting init_caches
18/02/2016 08:00:33:760447 [0x803407400] DEBUG Herz starting init_handle_data
18/02/2016 08:00:33:761050 [0x803407400] DEBUG Herz 8 thread[s] with mask 0xfffd
18/02/2016 08:00:33:761069 [0x803407400] DEBUG Herz 1 thread[s] with mask 0x2
18/02/2016 08:00:33:761081 [0x803407400] DEBUG Herz 4 thread[s] with mask 0x10000
18/02/2016 08:00:33:761085 [0x803407400] DEBUG Herz 4 thread[s] with mask 0x20000
18/02/2016 08:00:33:761089 [0x803407400] DEBUG Herz 2 thread[s] with mask 0x40
18/02/2016 08:00:33:761102 [0x803407400] INFO InternalTransactionQueueManager All of the handlers were destroyed.
18/02/2016 08:00:33:761144 [0x803409c00] INFO TransactionHandler Started. Thread id [0x803409c00]
18/02/2016 08:00:33:861422 [0x803407400] INFO TransactionHandlerImpl Thread [0x803409c00] will exec transactions with priorities (1 << priority) in the bitset {0xfffd}
18/02/2016 08:00:33:861522 [0x803407400] INFO TransactionHandlerImpl Thread [0x80340a000] will exec transactions with priorities (1 << priority) in the bitset {0xfffd}
18/02/2016 08:00:33:861622 [0x803407400] INFO TransactionHandlerImpl Thread [0x80340a400] will exec transactions with priorities (1 << priority) in the bitset {0xfffd}
18/02/2016 08:00:33:861665 [0x80340a000] INFO TransactionHandler Started. Thread id [0x80340a000]
18/02/2016 08:00:33:861694 [0x803407400] INFO TransactionHandlerImpl Thread [0x80340a800] will exec transactions with priorities (1 << priority) in the bitset {0xfffd}
18/02/2016 08:00:33:861739 [0x80340a400] INFO TransactionHandler Started. Thread id [0x80340a400]
18/02/2016 08:00:33:861768 [0x803407400] INFO TransactionHandlerImpl Thread [0x80340ac00] will exec transactions with priorities (1 << priority) in the bitset {0xfffd}
18/02/2016 08:00:33:861800 [0x80340a800] INFO TransactionHandler Started. Thread id [0x80340a800]
18/02/2016 08:00:33:861850 [0x803407400] INFO TransactionHandlerImpl Thread [0x80340b000] will exec transactions with priorities (1 << priority) in the bitset {0xfffd}
18/02/2016 08:00:33:861864 [0x80340ac00] INFO TransactionHandler Started. Thread id [0x80340ac00]
18/02/2016 08:00:33:861933 [0x80340b000] INFO TransactionHandler Started. Thread id [0x80340b000]
18/02/2016 08:00:33:861951 [0x803407400] INFO TransactionHandlerImpl Thread [0x80340b400] will exec transactions with priorities (1 << priority) in the bitset {0xfffd}
18/02/2016 08:00:33:861995 [0x803407400] INFO TransactionHandlerImpl Thread [0x80340b800] will exec transactions with priorities (1 << priority) in the bitset {0xfffd}
18/02/2016 08:00:33:862050 [0x803407400] INFO TransactionHandlerImpl Thread [0x80340bc00] will exec transactions with priorities (1 << priority) in the bitset {0x2}
18/02/2016 08:00:33:862082 [0x80340b800] INFO TransactionHandler Started. Thread id [0x80340b800]
18/02/2016 08:00:33:862123 [0x803407400] INFO TransactionHandlerImpl Thread [0x80340c000] will exec transactions with priorities (1 << priority) in the bitset {0x10000}
18/02/2016 08:00:33:862155 [0x80340bc00] INFO TransactionHandler Started. Thread id [0x80340bc00]
18/02/2016 08:00:33:862209 [0x803407400] INFO TransactionHandlerImpl Thread [0x80340c400] will exec transactions with priorities (1 << priority) in the bitset {0x10000}
18/02/2016 08:00:33:862210 [0x80340c000] INFO TransactionHandler Started. Thread id [0x80340c000]
18/02/2016 08:00:33:862283 [0x80340c400] INFO TransactionHandler Started. Thread id [0x80340c400]
18/02/2016 08:00:33:862281 [0x803407400] INFO TransactionHandlerImpl Thread [0x80340c800] will exec transactions with priorities (1 << priority) in the bitset {0x10000}
18/02/2016 08:00:33:862359 [0x80340c800] INFO TransactionHandler Started. Thread id [0x80340c800]
18/02/2016 08:00:33:862376 [0x803407400] INFO TransactionHandlerImpl Thread [0x80340cc00] will exec transactions with priorities (1 << priority) in the bitset {0x10000}
18/02/2016 08:00:33:862452 [0x803407400] INFO TransactionHandlerImpl Thread [0x80340d000] will exec transactions with priorities (1 << priority) in the bitset {0x20000}
18/02/2016 08:00:33:862500 [0x80340cc00] INFO TransactionHandler Started. Thread id [0x80340cc00]
18/02/2016 08:00:33:862515 [0x803407400] INFO TransactionHandlerImpl Thread [0x80340d400] will exec transactions with priorities (1 << priority) in the bitset {0x20000}
18/02/2016 08:00:33:862582 [0x80340d000] INFO TransactionHandler Started. Thread id [0x80340d000]
18/02/2016 08:00:33:862592 [0x803407400] INFO TransactionHandlerImpl Thread [0x80340d800] will exec transactions with priorities (1 << priority) in the bitset {0x20000}
18/02/2016 08:00:33:862648 [0x80340d400] INFO TransactionHandler Started. Thread id [0x80340d400]
18/02/2016 08:00:33:862674 [0x803407400] INFO TransactionHandlerImpl Thread [0x80340dc00] will exec transactions with priorities (1 << priority) in the bitset {0x20000}
18/02/2016 08:00:33:862715 [0x80340d800] INFO TransactionHandler Started. Thread id [0x80340d800]
18/02/2016 08:00:33:862753 [0x803407400] INFO TransactionHandlerImpl Thread [0x80340e000] will exec transactions with priorities (1 << priority) in the bitset {0x40}
18/02/2016 08:00:33:862772 [0x80340dc00] INFO TransactionHandler Started. Thread id [0x80340dc00]
18/02/2016 08:00:33:863203 [0x80340e000] INFO TransactionHandler Started. Thread id [0x80340e000]
18/02/2016 08:00:33:863230 [0x803407400] INFO TransactionHandlerImpl Thread [0x80340e400] will exec transactions with priorities (1 << priority) in the bitset {0x40}
18/02/2016 08:00:33:863238 [0x803407400] INFO InternalTransactionQueueManager System is using 19 handlers, max queue size is 300000
18/02/2016 08:00:33:863247 [0x803407400] INFO CertificationCenterImpl deletion of all of the SSL primitives in the module
18/02/2016 08:00:33:863284 [0x80340e400] INFO TransactionHandler Started. Thread id [0x80340e400]
18/02/2016 08:00:33:863364 [0x80340b400] INFO TransactionHandler Started. Thread id [0x80340b400]
18/02/2016 08:00:33:871173 [0x803407400] INFO CertificationCenterImpl Certificate verification succeeded.
18/02/2016 08:00:33:872023 [0x803407400] DEBUG Herz starting init_parsers_and_serializers
18/02/2016 08:00:33:872037 [0x803407400] INFO HTTPParserWithURLParams HTTPParserWithURLParamsImpl->init()
18/02/2016 08:00:33:872046 [0x803407400] DEBUG Herz init plugins started
18/02/2016 08:00:33:872049 [0x803407400] DEBUG Herz Plugins path = /netup/netup-payment-systems/plugins
18/02/2016 08:00:33:872054 [0x803407400] INFO PluginManager Scanning /netup/netup-payment-systems/plugins/
18/02/2016 08:00:33:874349 [0x803407400] ERROR CertificationCenterImpl License verification of the "event [netup:http]export_payments[1.billing_systems] ([131436]131261[134524])" failed.