stark писал(а):
А если в папке сервера билинга запустить
Код:
./bg_installer.sh update
Нормально запускается ?
Если лог я правильно понял то да
Код:
./bg_installer.sh update
02-18/10:21:37 INFO [main] DefaultServerSetup - Binding javax.jms.ConnectionFa ctory[org.apache.activemq.ActiveMQConnectionFactory@c038203] to java:comp/env/mq /connectionFactory
02-18/10:21:37 INFO [main] DefaultServerSetup - Init DB connection pools
02-18/10:21:38 INFO [main] DefaultServerSetup - Binding JDBC pool "master" to java:comp/env/jdbc/master
02-18/10:21:39 INFO [main] AnnotatedMBean - Register MBean ru.bitel.bgbilling. server.util:type=DatabaseConnectionPool,name=master
02-18/10:21:40 INFO [main] DefaultServerSetup - Init trash pools..
mq 02-18/10:21:41 INFO [EventProcessor-init] EventProcessor - Init EventProcess or MQ connection factory...
mq 02-18/10:21:41 DEBUG [EventProcessor-init] FailoverTransport - Reconnect was triggered but transport is not started yet. Wait for start to connect the transp ort.
mq 02-18/10:21:41 DEBUG [EventProcessor-init] FailoverTransport - Started.
mq 02-18/10:21:41 DEBUG [EventProcessor-init] FailoverTransport - Waking up reco nnect task
mq 02-18/10:21:41 DEBUG [ActiveMQ Task] FailoverTransport - urlList connectionLi st:[nio://127.0.0.1:61616?socketBufferSize=1000000]
mq 02-18/10:21:41 DEBUG [ActiveMQ Task] FailoverTransport - Attempting connect t o: nio://127.0.0.1:61616?socketBufferSize=1000000
mq 02-18/10:21:43 DEBUG [ActiveMQ Task] WireFormatNegotiator - Sending: WireForm atInfo { version=6, properties={TcpNoDelayEnabled=true, SizePrefixDisabled=false , CacheSize=1024, StackTraceEnabled=true, CacheEnabled=true, TightEncodingEnable d=true, MaxInactivityDuration=30000, MaxInactivityDurationInitalDelay=10000}, ma gic=[A,c,t,i,v,e,M,Q]}
mq 02-18/10:21:44 DEBUG [ActiveMQ NIO Worker] WireFormatNegotiator - Received Wi reFormat: WireFormatInfo { version=9, properties={TcpNoDelayEnabled=true, SizePr efixDisabled=false, CacheSize=1024, StackTraceEnabled=true, CacheEnabled=true, T ightEncodingEnabled=true, MaxFrameSize=9223372036854775807, MaxInactivityDuratio n=30000, MaxInactivityDurationInitalDelay=10000}, magic=[A,c,t,i,v,e,M,Q]}
mq 02-18/10:21:44 DEBUG [ActiveMQ NIO Worker] WireFormatNegotiator - tcp:///127. 0.0.1:61616 before negotiation: OpenWireFormat{version=6, cacheEnabled=false, st ackTraceEnabled=false, tightEncodingEnabled=false, sizePrefixDisabled=false}
mq 02-18/10:21:44 DEBUG [ActiveMQ NIO Worker] WireFormatNegotiator - tcp:///127. 0.0.1:61616 after negotiation: OpenWireFormat{version=6, cacheEnabled=true, stac kTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
mq 02-18/10:21:44 DEBUG [ActiveMQ Task] FailoverTransport - Connection establish ed
mq 02-18/10:21:44 INFO [ActiveMQ Task] FailoverTransport - Successfully connect ed to nio://127.0.0.1:61616?socketBufferSize=1000000
02-18/10:21:45 ERROR [main] EventProcessor - Problem with MQ connection! Timeou t connecting to the MQ broker!
02-18/10:21:46 DEBUG [main] EventProcessor - Add ru.bitel.bgbilling.server.util .Setup$1@441772e to BG.Event.ru.bitel.bgbilling.kernel.event.events.system.Modul eConfigModifiedEvent
Update starting...
Update from ftp://ftp.bgbilling.ru/pub/bgbilling
Server version is 6.1
Set passive mode...
Changing dir to /pub/bgbilling/6.1
Checking updates for ru.bitel.bgbilling.plugins.crm..
Checking updates for ru.bitel.bgbilling.plugins.helpdesk..
Checking updates for inet..
Found update for inet build 652 packet inet_6.1_658.zip updating to build 658
Checking updates for voiceip..
Checking updates for npay..
Found update for npay build 183 packet npay_6.1_184.zip updating to build 184
Checking updates for ru.bitel.bgbilling.plugins.cladr..
Checking updates for bill..
Found update for bill build 251 packet bill_6.1_253.zip updating to build 253
Checking updates for server..
Found update for BGBillingServer build 1037 packet update_6.1.zip updating to bu ild 1041
Checking updates for update_lib..
Found update for update_lib build packet update_lib_6.1_64.zip updating to buil d 64
Install 5 updates (y/N):
y
Downloading inet_6.1_658.zip OK
Downloading npay_6.1_184.zip OK
Downloading bill_6.1_253.zip OK
Downloading update_6.1.zip OK
Downloading update_lib_6.1_64.zip OK
Start installing..
Module(plugin): inet already installed. Reinstalling....
Data extract finished...
Extract data => OK
Database updated...
Install ticket inserted..
Base update => OK
Reinit module instanses
REINIT module => 1
Table 'bgbilling.inv_ip_resource_subscription_dyn_201112' doesn't exist
Table 'bgbilling.inv_ip_resource_subscription_dyn_1_201112' doesn't exist
Module Instance init => OK
Executing call PutFile; param: inet.xml:actions
Result => true
Executing call PutFile; param: ru:dyn
Result => true
Execute calls => OK
File's copy finished...
File copy => OK
Remove libs => OK
Module inet was successfull installed!
Please, restart BGBilling server.
Module(plugin): npay already installed. Reinstalling....
Data extract finished...
Extract data => OK
Database updated...
Install ticket inserted..
Base update => OK
Reinit module instanses
REINIT module => 3
Module Instance init => OK
Executing call PutFile; param: npay.xml:actions
Result => true
Execute calls => OK
File's copy finished...
File copy => OK
Remove libs => OK
Module npay was successfull installed!
Please, restart BGBilling server.
Module(plugin): bill already installed. Reinstalling....
Data extract finished...
Extract data => OK
Database updated...
Install ticket inserted..
Base update => OK
Reinit module instanses
REINIT module => 4
Module Instance init => OK
Executing call PutFile; param: bill.xml:actions
Result => true
Executing call PutFile; param: stamp.gif:webroot
Result => true
Executing call PutFile; param: WEB-INF:webroot
Result => true
Execute calls => OK
File's copy finished...
File copy => OK
Remove libs => OK
Module bill was successfull installed!
Please, restart BGBilling server.
Installing module(plugin): update...
Data extract finished...
Extract data => OK
Database updated...
Install ticket inserted..
Base update => OK
Module Instance init => OK
Executing call ExecuteSQL; param: patch.sql
(1060) Duplicate column name 'tgid'
(1060) Duplicate column name 'scrid'
(1061) Duplicate key name 'pid'
(1050) Table 'tariff_group' already exists
(1050) Table 'tariff_group_tariff' already exists
(1050) Table 'contract_tariff_group' already exists
(1050) Table 'contract_script' already exists
(1050) Table 'script' already exists
(1050) Table 'script_event_queue' already exists
(1050) Table 'script_event_type' already exists
(1050) Table 'script_function' already exists
(1050) Table 'script_function_event_type' already exists
(1054) Unknown column 'laf' in 'user'
(1050) Table 'bgs_group' already exists
(1050) Table 'bgs_group_action' already exists
(1050) Table 'bgs_user_group' already exists
(1050) Table 'bgs_module_action' already exists
(1060) Duplicate column name 'room'
(1060) Duplicate column name 'status'
(1050) Table 'bgs_user_action' already exists
(1060) Duplicate column name 'parent_tree'
(1075) Incorrect table definition; there can be only one auto column and it must be defined as a key
(1060) Duplicate column name 'id'
(1060) Duplicate column name 'date1'
(1060) Duplicate column name 'date2'
(1060) Duplicate column name 'title'
(1061) Duplicate key name 'cid'
(1060) Duplicate column name 'mid'
(1060) Duplicate column name 'event_id'
(1050) Table 'object_type' already exists
(1050) Table 'object_param' already exists
(1050) Table 'object_type_param' already exists
(1050) Table 'object' already exists
(1050) Table 'object_list_value' already exists
(1050) Table 'object_param_value_text' already exists
(1050) Table 'object_param_value_address' already exists
(1050) Table 'object_param_value_date' already exists
(1050) Table 'object_param_value_list' already exists
(1060) Duplicate column name 'config'
(1050) Table 'user_tables' already exists
(1060) Duplicate column name 'name_pattern'
(1060) Duplicate column name 'scid'
(1061) Duplicate key name 'scid'
(1060) Duplicate column name 'sub_list'
(1060) Duplicate column name 'pos'
(1060) Duplicate column name 'pos'
(1061) Duplicate key name 'cid'
(1061) Duplicate key name 'cid'
(1060) Duplicate column name 'gid'
(1050) Table 'web_request_count' already exists
(1060) Duplicate column name 'cgr'
(1060) Duplicate column name 'cgr'
(1061) Duplicate key name 'cid'
(1060) Duplicate column name 'pids'
(1060) Duplicate column name 'pids'
(1060) Duplicate column name 'contract_pid'
(1060) Duplicate column name 'contract_cid'
(1060) Duplicate column name 'pos'
(1061) Duplicate key name 'pos'
(1060) Duplicate column name 'script'
(1060) Duplicate column name 'id'
(1060) Duplicate column name 'enabled'
(1050) Table 'plugin_config' already exists
(1050) Table 'contract_logon_last' already exists
(1050) Table 'contract_password_once' already exists
(1060) Duplicate column name 'config'
(1060) Duplicate column name 'comment'
(1060) Duplicate column name 'days'
(1060) Duplicate column name 'status'
(1060) Duplicate column name 'status_date'
(1060) Duplicate column name 'last_tariff_change'
(1060) Duplicate column name 'data'
(1060) Duplicate column name 'date1'
(1060) Duplicate column name 'emid'
(1060) Duplicate column name 'eid'
(1060) Duplicate column name 'emid'
(1060) Duplicate column name 'eid'
(1060) Duplicate column name 'load_log'
(1060) Duplicate column name 'p_index'
(1060) Duplicate column name 'cityid'
(1060) Duplicate column name 'cityid'
(1060) Duplicate column name 'pod'
(1060) Duplicate column name 'cityid'
(1060) Duplicate column name 'visibled'
(1050) Table 'sql_template' already exists
(1060) Duplicate column name 'pos'
(1061) Duplicate key name 'cid'
(1060) Duplicate column name 'event_mode'
(1060) Duplicate column name 'actual'
(1060) Duplicate column name 'cgr_mode'
(1060) Duplicate column name 'cgr_mode'
(1060) Duplicate column name 'crm_customer_id'
(1061) Duplicate key name 'crm_customer_id'
(1060) Duplicate column name 'crm_user_id'
(1072) Key column 'crm_user_id' doesn't exist in table
(1060) Duplicate column name 'sub_mode'
(1060) Duplicate column name 'pod_diapazon'
(1060) Duplicate column name 'actual'
(1060) Duplicate column name 'gr'
(1060) Duplicate column name 'pattern'
(1060) Duplicate column name 'face'
(1060) Duplicate column name 'isusing'
(1050) Table 'contract_module' already exists
(1050) Table 'contract_status_log' already exists
(1050) Table 'periodic_errors' already exists
(1060) Duplicate column name 'history'
(1050) Table 'contract_parameter_type_1_log' already exists
(1050) Table 'contract_parameter_type_5_log' already exists
(1050) Table 'contract_parameter_type_6_log' already exists
(1050) Table 'contract_parameter_type_7_log' already exists
(1050) Table 'contract_parameter_type_8_log' already exists
(1050) Table 'contract_pattern_modules' already exists
(1091) Can't DROP 'pfid_id'; check that column/key exists
(1091) Can't DROP 'id_pfid'; check that column/key exists
(1091) Can't DROP 'pfid_date2_id'; check that column/key exists
(1091) Can't DROP 'pfid_gr_date2_id'; check that column/key exists
(1091) Can't DROP 'date2_'; check that column/key exists
(1091) Can't DROP 'pfid_date2'; check that column/key exists
(1091) Can't DROP 'pfid_date2_gr'; check that column/key exists
(1091) Can't DROP 'pfid_gr_date2'; check that column/key exists
(1091) Can't DROP 'yy_mm_cid'; check that column/key exists
(1050) Table 'contract_comment_patterns' already exists
(1060) Duplicate column name 'patid'
(1060) Duplicate column name 'title_pattern_id'
(1060) Duplicate column name 'cgr_mode'
(1060) Duplicate column name 'cgr_mode'
(1060) Duplicate column name 'ptitle'
(1060) Duplicate column name 'regtype'
(1050) Table 'contract_parameter_type_2_log' already exists
(1050) Table 'contract_parameter_type_3_log' already exists
(1050) Table 'contract_parameter_type_4_log' already exists
(1050) Table 'script_lib' already exists
(1091) Can't DROP 'PRIMARY'; check that column/key exists
(1061) Duplicate key name 'cid_pid'
(1050) Table 'global_script' already exists
(1050) Table 'tariff_option' already exists
(1050) Table 'tariff_option_activate_mode' already exists
(1050) Table 'contract_tariff_option' already exists
(1060) Duplicate column name 'date1'
(1060) Duplicate column name 'depends'
(1060) Duplicate column name 'incompatible'
(1060) Duplicate column name 'activated_mode'
(1060) Duplicate column name 'activated_time'
(1060) Duplicate column name 'deactivated_time'
(1060) Duplicate column name 'deactivation_mode'
(1060) Duplicate column name 'reactivation_mode'
(1060) Duplicate column name 'contract_groups'
(1060) Duplicate column name 'user_id'
(1060) Duplicate column name 'change_time'
(1060) Duplicate column name 'user_id'
(1060) Duplicate column name 'change_time'
(1060) Duplicate column name 'user_id'
(1060) Duplicate column name 'change_time'
(1054) Unknown column 'mode' in 'log_contract_mode'
(1060) Duplicate column name 'comment'
(1060) Duplicate column name 'comment'
(1050) Table 'log_contract_face' already exists
(1060) Duplicate column name 'ishidden'
(1060) Duplicate column name 'pos'
(1060) Duplicate column name 'uninstall'
(1050) Table 'user_menu' already exists
(1050) Table 'bgs_group_menu' already exists
(1060) Duplicate column name 'replaced_from'
(1091) Can't DROP 'House'; check that column/key exists
(1091) Can't DROP 'cityid'; check that column/key exists
(1061) Duplicate key name 'HouseU'
(1050) Table 'scheduled_periodic_run' already exists
(1060) Duplicate column name 'description'
(1060) Duplicate column name 'executed'
(1060) Duplicate column name 'time_change'
(1050) Table 'contract_parameter_type_phone' already exists
(1050) Table 'contract_parameter_type_phone_item' already exists
(1050) Table 'contract_parameter_type_phone_log' already exists
(1060) Duplicate column name 'email'
(1060) Duplicate column name 'emid'
(1060) Duplicate column name 'eid'
(1146) Table 'bgbilling.user_dispatch_reference' doesn't exist
(1146) Table 'bgbilling.user_dispatch_reference' doesn't exist
(1060) Duplicate column name 'country_id'
(1050) Table 'address_country' already exists
(1060) Duplicate column name 'start_time'
(1060) Duplicate column name 'amount'
(1050) Table 'sequential_ids' already exists
(1050) Table 'object_param_value_text_log' already exists
(1050) Table 'object_param_value_list_log' already exists
(1050) Table 'object_param_value_date_log' already exists
(1050) Table 'object_param_value_address_log' already exists
(1050) Table 'object_param_value_flag' already exists
(1050) Table 'object_param_value_flag_log' already exists
(1060) Duplicate column name 'custom_value'
(1060) Duplicate column name 'tree_id'
(1146) Table 'bgbilling.tariff_tree_link' doesn't exist
(1060) Duplicate column name 'editable'
(1060) Duplicate column name 'lm'
(1050) Table 'entity' already exists
(1050) Table 'entity_attr_address' already exists
(1050) Table 'entity_attr_date' already exists
(1050) Table 'entity_attr_house' already exists
(1050) Table 'entity_attr_int' already exists
(1050) Table 'entity_attr_list' already exists
(1050) Table 'entity_attr_text' already exists
(1050) Table 'entity_spec' already exists
(1050) Table 'entity_spec_attr' already exists
(1050) Table 'entity_spec_attr_link' already exists
(1050) Table 'entity_spec_attr_list' already exists
(1050) Table 'entity_spec_type' already exists
(1050) Table 'script_backup' already exists
(1050) Table 'contract_notification' already exists
(1050) Table 'message_for_users' already exists
(1060) Duplicate column name 'users'
(1050) Table 'script_classes' already exists
(1050) Table 'script_classes_ifaces' already exists
(1050) Table 'global_script_link' already exists
(1050) Table 'event_script_link' already exists
(1060) Duplicate column name 'last_mod'
(1091) Can't DROP 'gr_code'; check that column/key exists
(1091) Can't DROP 'new_index'; check that column/key exists
(1060) Duplicate column name 'format_key'
(1060) Duplicate column name 'format_key'
(1050) Table 'address_config' already exists
(1060) Duplicate column name 'description'
(1060) Duplicate column name 'title'
(1060) Duplicate column name 'errorCount'
(1060) Duplicate column name 'hideForWeb'
(1060) Duplicate column name 'class'
(1060) Duplicate column name 'module_id'
(1060) Duplicate column name 'format_key'
(1060) Duplicate column name 'entityTitleMacros'
(1061) Duplicate key name 'script_type'
(1060) Duplicate column name 'unit'
(1050) Table 'tariff_label' already exists
(1050) Table 'tariff_label_link' already exists
(1050) Table 'contract_reserve' already exists
(1050) Table 'contract_reserve_total' already exists
(1050) Table 'contract_reserve_types' already exists
(1060) Duplicate column name 'payback'
(1060) Duplicate column name 'payback'
(1050) Table 'inv_product' already exists
(1050) Table 'inv_product_spec' already exists
(1050) Table 'inv_product_spec_activation_mode' already exists
(1050) Table 'inv_product_spec_service_link' already exists
(1050) Table 'inv_service_spec' already exists
(1050) Table 'inv_product_period' already exists
(1060) Duplicate column name 'flags'
(1060) Duplicate column name 'periodic'
(1060) Duplicate column name 'identifier'
(1060) Duplicate column name 'description'
(1050) Table 'inv_service' already exists
(1060) Duplicate column name 'deviceState'
(1060) Duplicate column name 'deviceState'
(1060) Duplicate column name 'entityId'
(1061) Duplicate key name 'entity'
(1060) Duplicate column name 'activationTime'
(1050) Table 'web_menu' already exists
(1050) Table 'contract_web_menu' already exists
(1060) Duplicate column name 'activationPrice'
(1060) Duplicate column name 'deviceProductId'
(1060) Duplicate column name 'flags'
(1060) Duplicate column name 'prolongationTime'
(1060) Duplicate column name 'flags'
(1060) Duplicate column name 'opids'
(1060) Duplicate column name 'opids'
(1060) Duplicate column name 'comment'
(1060) Duplicate column name 'delete_mode'
(1060) Duplicate column name 'title_web'
Executing database update...OK
Result => true
Executing call ExecuteSQL; param: kernel_event.sql
Executing database update...OK
Result => true
Executing call AddSchedulerTasks; param: patch.sc
Result => true
Executing call PutFile; param: style.css:webroot
Result => true
Executing call PutFile; param: menu.xml:data
Result => true
Executing call PutFile; param: log4j.xml:data
Result => true
Executing call PutFile; param: toolbar.xml:data
Result => true
Executing call PutFile; param: default.web.xml:data
Result => true
Executing call PutFile; param: js:webroot
Result => true
Executing call PutFile; param: css:webroot
Result => true
Executing call PutFile; param: img:webroot
Result => true
Executing call PutFile; param: help:webroot
Result => true
Executing call PutFile; param: widget:webroot
Result => true
Executing call PutFile; param: WEB-INF:webroot
Result => true
Executing call PutFile; param: actions:.
Result => true
Executing call PutFile; param: snapshot.sh:.
Result => true
Executing call PutFile; param: update.sh:.
Result => true
Execute calls => OK
File's copy finished...
File copy => OK
Remove libs => OK
Module update was successfull installed!
Please, restart BGBilling server.
Installing module(plugin): update_lib...
Data extract finished...
Extract data => OK
Database updated...
Install ticket inserted..
Base update => OK
Module Instance init => OK
Execute calls => OK
File's copy finished...
File copy => OK
Remove libs => OK
Module update_lib was successfull installed!
Please, restart BGBilling server.
REPLACED FILES:
/usr/local/BGBillingServer/webroot/WEB-INF/jspf/webcontent.jsp
02-18/10:23:18 INFO [Thread-4] EventProcessor - Shutdown EventProcessor...
02-18/10:23:18 DEBUG [Thread-4] ActiveMQMessageConsumer - remove: ID:bgbilling- 33128-1424236901291-0:1:2:1, lastDeliveredSequenceId:0