forum.bitel.ru http://forum.bitel.ru/ |
|
Первичный запуск http://forum.bitel.ru/viewtopic.php?f=1&t=10174 |
Страница 1 из 3 |
Автор: | nurikzaripov [ 11 фев 2015, 11:12 ] |
Заголовок сообщения: | Первичный запуск |
Добрый день! Планируем переход на bgbilling в связи с чем есть пару вопросов подскажите пожалуйста. Установлена версия demo 6.1 с модулем inet. 1. Создал договор прописал логин пароль добавил NAS прописал пул адресов для выдачи. Не получается авторизоваться. В документации написано что необходим модуль BGRadius чтобы его скачать ссылки нету, он идет с модулем inet? И по документации не нашел куда положить файлик dictionary.xml(пока закинул в корень папки с BG). 2. У кого есть опыт по переходу от Netup, какие есть подводные камни? Тестовый стенд собран на debian 7 в роли nas выступает микротик |
Автор: | zavndw [ 11 фев 2015, 11:31 ] |
Заголовок сообщения: | Re: Первичный запуск |
для inet вам надо еще 2 приложения доставить http://bgbilling.ru/v6.1/download/inet/ ... 6.1_23.zip http://bgbilling.ru/v6.1/download/inet/ ... 6.1_22.zip у вас без BGInetAccess авторизация ни как выйдет В модуле устройства надо еще создать |
Автор: | stark [ 11 фев 2015, 11:54 ] |
Заголовок сообщения: | Re: Первичный запуск |
nurikzaripov писал(а): Добрый день! Планируем переход на bgbilling в связи с чем есть пару вопросов подскажите пожалуйста. Установлена версия demo 6.1 с модулем inet. 1. Создал договор прописал логин пароль добавил NAS прописал пул адресов для выдачи. Не получается авторизоваться. В документации написано что необходим модуль BGRadius чтобы его Где про это написано ? Дайте ссылку. |
Автор: | nurikzaripov [ 11 фев 2015, 12:08 ] |
Заголовок сообщения: | Re: Первичный запуск |
stark писал(а): nurikzaripov писал(а): Добрый день! Планируем переход на bgbilling в связи с чем есть пару вопросов подскажите пожалуйста. Установлена версия demo 6.1 с модулем inet. 1. Создал договор прописал логин пароль добавил NAS прописал пул адресов для выдачи. Не получается авторизоваться. В документации написано что необходим модуль BGRadius чтобы его Где про это написано ? Дайте ссылку. http://bgbilling.ru/v6.1/doc/ch14s08s01.html |
Автор: | zavndw [ 11 фев 2015, 12:10 ] |
Заголовок сообщения: | Re: Первичный запуск |
зачем вы настраиваете модуль inet по мануалу от Модуль DialUp? |
Автор: | nurikzaripov [ 11 фев 2015, 12:12 ] |
Заголовок сообщения: | Re: Первичный запуск |
zavndw писал(а): для inet вам надо еще 2 приложения доставить http://bgbilling.ru/v6.1/download/inet/ ... 6.1_23.zip http://bgbilling.ru/v6.1/download/inet/ ... 6.1_22.zip у вас без BGInetAccess авторизация ни как выйдет В модуле устройства надо еще создать При установке модуля Access и Accounting выходят ошибки Код: /usr/local/BGBillingServer# ./bg_installer.sh BGInetAccounting_6.1_22.zip
02-11/11:09:13 INFO [main] DefaultServerSetup - Binding javax.jms.ConnectionFactory[org.apache.activemq.ActiveMQConnectionFactory@c038203] to java:comp/env/mq/connectionFactory 02-11/11:09:13 INFO [main] DefaultServerSetup - Init DB connection pools 02-11/11:09:13 INFO [main] DefaultServerSetup - Binding JDBC pool "master" to java:comp/env/jdbc/master 02-11/11:09:13 INFO [main] AnnotatedMBean - Register MBean ru.bitel.bgbilling.server.util:type=DatabaseConnectionPool,name=master 02-11/11:09:13 INFO [main] DefaultServerSetup - Init trash pools.. mq 02-11/11:09:13 INFO [EventProcessor-init] EventProcessor - Init EventProcessor MQ connection factory... mq 02-11/11:09:13 DEBUG [EventProcessor-init] FailoverTransport - Reconnect was triggered but transport is not started yet. Wait for start to connect the transport. mq 02-11/11:09:13 DEBUG [EventProcessor-init] FailoverTransport - Started. mq 02-11/11:09:13 DEBUG [EventProcessor-init] FailoverTransport - Waking up reconnect task mq 02-11/11:09:13 DEBUG [ActiveMQ Task] FailoverTransport - urlList connectionList:[nio://127.0.0.1:61616?socketBufferSize=1000000] mq 02-11/11:09:13 DEBUG [ActiveMQ Task] FailoverTransport - Attempting connect to: nio://127.0.0.1:61616?socketBufferSize=1000000 mq 02-11/11:09:13 DEBUG [ActiveMQ Task] WireFormatNegotiator - Sending: WireFormatInfo { version=6, properties={TcpNoDelayEnabled=true, SizePrefixDisabled=false, CacheSize=1024, StackTraceEnabled=true, CacheEnabled=true, TightEncodingEnabled=true, MaxInactivityDuration=30000, MaxInactivityDurationInitalDelay=10000}, magic=[A,c,t,i,v,e,M,Q]} mq 02-11/11:09:13 DEBUG [ActiveMQ NIO Worker] WireFormatNegotiator - Received WireFormat: WireFormatInfo { version=9, properties={TcpNoDelayEnabled=true, SizePrefixDisabled=false, CacheSize=1024, StackTraceEnabled=true, CacheEnabled=true, TightEncodingEnabled=true, MaxFrameSize=9223372036854775807, MaxInactivityDuration=30000, MaxInactivityDurationInitalDelay=10000}, magic=[A,c,t,i,v,e,M,Q]} mq 02-11/11:09:13 DEBUG [ActiveMQ NIO Worker] WireFormatNegotiator - tcp:///127.0.0.1:61616 before negotiation: OpenWireFormat{version=6, cacheEnabled=false, stackTraceEnabled=false, tightEncodingEnabled=false, sizePrefixDisabled=false} mq 02-11/11:09:13 DEBUG [ActiveMQ NIO Worker] WireFormatNegotiator - tcp:///127.0.0.1:61616 after negotiation: OpenWireFormat{version=6, cacheEnabled=true, stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false} mq 02-11/11:09:13 DEBUG [ActiveMQ Task] FailoverTransport - Connection established mq 02-11/11:09:13 INFO [ActiveMQ Task] FailoverTransport - Successfully connected to nio://127.0.0.1:61616?socketBufferSize=1000000 02-11/11:09:14 DEBUG [main] EventProcessor - Add ru.bitel.bgbilling.server.util.Setup$1@441772e to BG.Event.ru.bitel.bgbilling.kernel.event.events.system.ModuleConfigModifiedEvent java.util.zip.ZipException: invalid entry size (expected 122368 but got 122375 bytes) at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:384) at java.util.zip.ZipInputStream.read(ZipInputStream.java:196) at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:140) at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:118) at bitel.billing.server.installer.InstallerModule.getModuleInf(InstallerModule.java:111) at bitel.billing.server.installer.InstallerModule.<init>(InstallerModule.java:39) at bitel.billing.server.installer.ModuleInstaller.parseArgs(ModuleInstaller.java:95) at bitel.billing.server.installer.ModuleInstaller.main(ModuleInstaller.java:21) 02-11/11:09:14 INFO [Thread-4] EventProcessor - Shutdown EventProcessor... 02-11/11:09:14 DEBUG [Thread-4] ActiveMQMessageConsumer - remove: ID:bgbilling-35165-1423634953634-0:1:2:1, lastDeliveredSequenceId:0 |
Автор: | zavndw [ 11 фев 2015, 12:14 ] |
Заголовок сообщения: | Re: Первичный запуск |
nurikzaripov писал(а): zavndw писал(а): для inet вам надо еще 2 приложения доставить http://bgbilling.ru/v6.1/download/inet/ ... 6.1_23.zip http://bgbilling.ru/v6.1/download/inet/ ... 6.1_22.zip у вас без BGInetAccess авторизация ни как выйдет В модуле устройства надо еще создать При установке модуля Access и Accounting выходят ошибки Код: /usr/local/BGBillingServer# ./bg_installer.sh BGInetAccounting_6.1_22.zip 02-11/11:09:13 INFO [main] DefaultServerSetup - Binding javax.jms.ConnectionFactory[org.apache.activemq.ActiveMQConnectionFactory@c038203] to java:comp/env/mq/connectionFactory 02-11/11:09:13 INFO [main] DefaultServerSetup - Init DB connection pools 02-11/11:09:13 INFO [main] DefaultServerSetup - Binding JDBC pool "master" to java:comp/env/jdbc/master 02-11/11:09:13 INFO [main] AnnotatedMBean - Register MBean ru.bitel.bgbilling.server.util:type=DatabaseConnectionPool,name=master 02-11/11:09:13 INFO [main] DefaultServerSetup - Init trash pools.. mq 02-11/11:09:13 INFO [EventProcessor-init] EventProcessor - Init EventProcessor MQ connection factory... mq 02-11/11:09:13 DEBUG [EventProcessor-init] FailoverTransport - Reconnect was triggered but transport is not started yet. Wait for start to connect the transport. mq 02-11/11:09:13 DEBUG [EventProcessor-init] FailoverTransport - Started. mq 02-11/11:09:13 DEBUG [EventProcessor-init] FailoverTransport - Waking up reconnect task mq 02-11/11:09:13 DEBUG [ActiveMQ Task] FailoverTransport - urlList connectionList:[nio://127.0.0.1:61616?socketBufferSize=1000000] mq 02-11/11:09:13 DEBUG [ActiveMQ Task] FailoverTransport - Attempting connect to: nio://127.0.0.1:61616?socketBufferSize=1000000 mq 02-11/11:09:13 DEBUG [ActiveMQ Task] WireFormatNegotiator - Sending: WireFormatInfo { version=6, properties={TcpNoDelayEnabled=true, SizePrefixDisabled=false, CacheSize=1024, StackTraceEnabled=true, CacheEnabled=true, TightEncodingEnabled=true, MaxInactivityDuration=30000, MaxInactivityDurationInitalDelay=10000}, magic=[A,c,t,i,v,e,M,Q]} mq 02-11/11:09:13 DEBUG [ActiveMQ NIO Worker] WireFormatNegotiator - Received WireFormat: WireFormatInfo { version=9, properties={TcpNoDelayEnabled=true, SizePrefixDisabled=false, CacheSize=1024, StackTraceEnabled=true, CacheEnabled=true, TightEncodingEnabled=true, MaxFrameSize=9223372036854775807, MaxInactivityDuration=30000, MaxInactivityDurationInitalDelay=10000}, magic=[A,c,t,i,v,e,M,Q]} mq 02-11/11:09:13 DEBUG [ActiveMQ NIO Worker] WireFormatNegotiator - tcp:///127.0.0.1:61616 before negotiation: OpenWireFormat{version=6, cacheEnabled=false, stackTraceEnabled=false, tightEncodingEnabled=false, sizePrefixDisabled=false} mq 02-11/11:09:13 DEBUG [ActiveMQ NIO Worker] WireFormatNegotiator - tcp:///127.0.0.1:61616 after negotiation: OpenWireFormat{version=6, cacheEnabled=true, stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false} mq 02-11/11:09:13 DEBUG [ActiveMQ Task] FailoverTransport - Connection established mq 02-11/11:09:13 INFO [ActiveMQ Task] FailoverTransport - Successfully connected to nio://127.0.0.1:61616?socketBufferSize=1000000 02-11/11:09:14 DEBUG [main] EventProcessor - Add ru.bitel.bgbilling.server.util.Setup$1@441772e to BG.Event.ru.bitel.bgbilling.kernel.event.events.system.ModuleConfigModifiedEvent java.util.zip.ZipException: invalid entry size (expected 122368 but got 122375 bytes) at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:384) at java.util.zip.ZipInputStream.read(ZipInputStream.java:196) at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:140) at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:118) at bitel.billing.server.installer.InstallerModule.getModuleInf(InstallerModule.java:111) at bitel.billing.server.installer.InstallerModule.<init>(InstallerModule.java:39) at bitel.billing.server.installer.ModuleInstaller.parseArgs(ModuleInstaller.java:95) at bitel.billing.server.installer.ModuleInstaller.main(ModuleInstaller.java:21) 02-11/11:09:14 INFO [Thread-4] EventProcessor - Shutdown EventProcessor... 02-11/11:09:14 DEBUG [Thread-4] ActiveMQMessageConsumer - remove: ID:bgbilling-35165-1423634953634-0:1:2:1, lastDeliveredSequenceId:0 Читайте пожалуйста документацию http://bgbilling.ru/v6.1/doc/ch17s13s01.html я же не зря написал приложения а не модуля |
Автор: | nurikzaripov [ 11 фев 2015, 12:14 ] |
Заголовок сообщения: | Re: Первичный запуск |
zavndw писал(а): зачем вы настраиваете модуль inet по мануалу от Модуль DialUp? Потому что в инструкции к модулю инет не нашел описание про радиус. Еще в затруднение вгоняет то, что скриншоты с разных версий программ |
Автор: | zavndw [ 11 фев 2015, 12:16 ] |
Заголовок сообщения: | Re: Первичный запуск |
nurikzaripov писал(а): zavndw писал(а): зачем вы настраиваете модуль inet по мануалу от Модуль DialUp? Потому что в инструкции к модулю инет не нашел описание про радиус плохо искали, http://bgbilling.ru/v6.1/doc/ch17s13s03.html начните с главы inet http://bgbilling.ru/v6.1/doc/ch17.html и по порядку все там есть |
Автор: | nurikzaripov [ 11 фев 2015, 12:17 ] |
Заголовок сообщения: | Re: Первичный запуск |
zavndw писал(а): nurikzaripov писал(а): zavndw писал(а): зачем вы настраиваете модуль inet по мануалу от Модуль DialUp? Потому что в инструкции к модулю инет не нашел описание про радиус плохо искали, http://bgbilling.ru/v6.1/doc/ch17s13s03.html начните с главы inet http://bgbilling.ru/v6.1/doc/ch17.html и по порядку все там есть Спасибо, подскажите куда положить файлик dictionary.xml? |
Автор: | zavndw [ 11 фев 2015, 12:18 ] |
Заголовок сообщения: | Re: Первичный запуск |
на нас, если мне память не изменяет. Из биллинга вы передаете атрибуты которые нас должен понимать вот еще wiki Схемы подключения |
Автор: | stark [ 11 фев 2015, 14:47 ] |
Заголовок сообщения: | Re: Первичный запуск |
nurikzaripov писал(а): zavndw писал(а): nurikzaripov писал(а): zavndw писал(а): зачем вы настраиваете модуль inet по мануалу от Модуль DialUp? Потому что в инструкции к модулю инет не нашел описание про радиус плохо искали, http://bgbilling.ru/v6.1/doc/ch17s13s03.html начните с главы inet http://bgbilling.ru/v6.1/doc/ch17.html и по порядку все там есть Спасибо, подскажите куда положить файлик dictionary.xml? не понял, а зачем его куда-то класть? Он есть в сборках acces/accounting-серверов, лежит в корне. Если у вас какие-то специфичные атрибуты, которых там нет, то нужно отредактировать этот файл там. |
Автор: | stark [ 11 фев 2015, 14:49 ] |
Заголовок сообщения: | Re: Первичный запуск |
Если плохо понятно, то почитайте еще общий алгоритм настройки : http://bgbilling.ru/v6.1/doc/ch17s13s08.html |
Автор: | nurikzaripov [ 17 фев 2015, 13:10 ] |
Заголовок сообщения: | Re: Первичный запуск |
zavndw писал(а): nurikzaripov писал(а): zavndw писал(а): для inet вам надо еще 2 приложения доставить http://bgbilling.ru/v6.1/download/inet/ ... 6.1_23.zip http://bgbilling.ru/v6.1/download/inet/ ... 6.1_22.zip у вас без BGInetAccess авторизация ни как выйдет В модуле устройства надо еще создать При установке модуля Access и Accounting выходят ошибки Код: /usr/local/BGBillingServer# ./bg_installer.sh BGInetAccounting_6.1_22.zip 02-11/11:09:13 INFO [main] DefaultServerSetup - Binding javax.jms.ConnectionFactory[org.apache.activemq.ActiveMQConnectionFactory@c038203] to java:comp/env/mq/connectionFactory 02-11/11:09:13 INFO [main] DefaultServerSetup - Init DB connection pools 02-11/11:09:13 INFO [main] DefaultServerSetup - Binding JDBC pool "master" to java:comp/env/jdbc/master 02-11/11:09:13 INFO [main] AnnotatedMBean - Register MBean ru.bitel.bgbilling.server.util:type=DatabaseConnectionPool,name=master 02-11/11:09:13 INFO [main] DefaultServerSetup - Init trash pools.. mq 02-11/11:09:13 INFO [EventProcessor-init] EventProcessor - Init EventProcessor MQ connection factory... mq 02-11/11:09:13 DEBUG [EventProcessor-init] FailoverTransport - Reconnect was triggered but transport is not started yet. Wait for start to connect the transport. mq 02-11/11:09:13 DEBUG [EventProcessor-init] FailoverTransport - Started. mq 02-11/11:09:13 DEBUG [EventProcessor-init] FailoverTransport - Waking up reconnect task mq 02-11/11:09:13 DEBUG [ActiveMQ Task] FailoverTransport - urlList connectionList:[nio://127.0.0.1:61616?socketBufferSize=1000000] mq 02-11/11:09:13 DEBUG [ActiveMQ Task] FailoverTransport - Attempting connect to: nio://127.0.0.1:61616?socketBufferSize=1000000 mq 02-11/11:09:13 DEBUG [ActiveMQ Task] WireFormatNegotiator - Sending: WireFormatInfo { version=6, properties={TcpNoDelayEnabled=true, SizePrefixDisabled=false, CacheSize=1024, StackTraceEnabled=true, CacheEnabled=true, TightEncodingEnabled=true, MaxInactivityDuration=30000, MaxInactivityDurationInitalDelay=10000}, magic=[A,c,t,i,v,e,M,Q]} mq 02-11/11:09:13 DEBUG [ActiveMQ NIO Worker] WireFormatNegotiator - Received WireFormat: WireFormatInfo { version=9, properties={TcpNoDelayEnabled=true, SizePrefixDisabled=false, CacheSize=1024, StackTraceEnabled=true, CacheEnabled=true, TightEncodingEnabled=true, MaxFrameSize=9223372036854775807, MaxInactivityDuration=30000, MaxInactivityDurationInitalDelay=10000}, magic=[A,c,t,i,v,e,M,Q]} mq 02-11/11:09:13 DEBUG [ActiveMQ NIO Worker] WireFormatNegotiator - tcp:///127.0.0.1:61616 before negotiation: OpenWireFormat{version=6, cacheEnabled=false, stackTraceEnabled=false, tightEncodingEnabled=false, sizePrefixDisabled=false} mq 02-11/11:09:13 DEBUG [ActiveMQ NIO Worker] WireFormatNegotiator - tcp:///127.0.0.1:61616 after negotiation: OpenWireFormat{version=6, cacheEnabled=true, stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false} mq 02-11/11:09:13 DEBUG [ActiveMQ Task] FailoverTransport - Connection established mq 02-11/11:09:13 INFO [ActiveMQ Task] FailoverTransport - Successfully connected to nio://127.0.0.1:61616?socketBufferSize=1000000 02-11/11:09:14 DEBUG [main] EventProcessor - Add ru.bitel.bgbilling.server.util.Setup$1@441772e to BG.Event.ru.bitel.bgbilling.kernel.event.events.system.ModuleConfigModifiedEvent java.util.zip.ZipException: invalid entry size (expected 122368 but got 122375 bytes) at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:384) at java.util.zip.ZipInputStream.read(ZipInputStream.java:196) at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:140) at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:118) at bitel.billing.server.installer.InstallerModule.getModuleInf(InstallerModule.java:111) at bitel.billing.server.installer.InstallerModule.<init>(InstallerModule.java:39) at bitel.billing.server.installer.ModuleInstaller.parseArgs(ModuleInstaller.java:95) at bitel.billing.server.installer.ModuleInstaller.main(ModuleInstaller.java:21) 02-11/11:09:14 INFO [Thread-4] EventProcessor - Shutdown EventProcessor... 02-11/11:09:14 DEBUG [Thread-4] ActiveMQMessageConsumer - remove: ID:bgbilling-35165-1423634953634-0:1:2:1, lastDeliveredSequenceId:0 Читайте пожалуйста документацию http://bgbilling.ru/v6.1/doc/ch17s13s01.html я же не зря написал приложения а не модуля Добрый день! Делаю по инструкции /usr/local/BGInetAccess# ./update.sh Error: Could not find or load main class bitel.billing.server.installer.library.LibraryUpdate Что не может найти? В настройка проверил логин пароль к базе пути к MQ и самому BG. Конфиги идентичны |
Автор: | stark [ 17 фев 2015, 13:35 ] |
Заголовок сообщения: | Re: Первичный запуск |
nurikzaripov писал(а): Добрый день! Делаю по инструкции /usr/local/BGInetAccess# ./update.sh Error: Could not find or load main class bitel.billing.server.installer.library.LibraryUpdate Что не может найти? В настройка проверил логин пароль к базе пути к MQ и самому BG. Конфиги идентичны В lib/app есть kernel.jar ? Если его распаковать (это обычный zip-ский архив), там есть внутри bitel/billing/server/installer/library/LibraryUpdate.class |
Автор: | nurikzaripov [ 17 фев 2015, 15:21 ] |
Заголовок сообщения: | Re: Первичный запуск |
stark писал(а): nurikzaripov писал(а): Добрый день! Делаю по инструкции /usr/local/BGInetAccess# ./update.sh Error: Could not find or load main class bitel.billing.server.installer.library.LibraryUpdate Что не может найти? В настройка проверил логин пароль к базе пути к MQ и самому BG. Конфиги идентичны В lib/app есть kernel.jar ? Если его распаковать (это обычный zip-ский архив), там есть внутри bitel/billing/server/installer/library/LibraryUpdate.class Да есть. Распаковал, в папку с BGBilling положить? |
Автор: | stark [ 17 фев 2015, 15:37 ] |
Заголовок сообщения: | Re: Первичный запуск |
nurikzaripov писал(а): stark писал(а): nurikzaripov писал(а): Добрый день! Делаю по инструкции /usr/local/BGInetAccess# ./update.sh Error: Could not find or load main class bitel.billing.server.installer.library.LibraryUpdate Что не может найти? В настройка проверил логин пароль к базе пути к MQ и самому BG. Конфиги идентичны В lib/app есть kernel.jar ? Если его распаковать (это обычный zip-ский архив), там есть внутри bitel/billing/server/installer/library/LibraryUpdate.class Да есть. Распаковал, в папку с BGBilling положить? не надо никуда класть, надо было проверить что оно у вас есть..Вы же про BGInetAccess говорите . какая у вас ОС? Покажите содержимое update.sh. Вы его не меняли? |
Автор: | nurikzaripov [ 17 фев 2015, 16:16 ] |
Заголовок сообщения: | Re: Первичный запуск |
Debian 7 update.sh Код: #!/bin/sh cd ${0%${0##*/}}. . ./setenv.sh APP_DIR=. CLASSPATH=${APP_DIR}:${APP_DIR}/lib/ext/*:${APP_DIR}/lib/app/* ${JAVA_HOME}/bin/java -Djava.net.preferIPv4Stack=true -Dsetup.name=inet-access -Xmx256m -cp ${CLASSPATH} bitel.billing.server.installer.library.LibraryUpdate $1 $2 $3 setenv.sh Код: JAVA_HOME=/usr/
if [ -z "$JAVA_HOME" ]; then echo "The JAVA_HOME environment variable is not defined" echo "This environment variable is needed to run this program" exit 1 fi |
Автор: | stark [ 17 фев 2015, 17:13 ] |
Заголовок сообщения: | Re: Первичный запуск |
А какая java? что показывает Код: /usr/bin/java -version
|
Автор: | stark [ 17 фев 2015, 17:14 ] |
Заголовок сообщения: | Re: Первичный запуск |
А сервер биллинга вы запустили ? Он нормально работает ? На той же java? |
Автор: | nurikzaripov [ 17 фев 2015, 17:39 ] |
Заголовок сообщения: | Re: Первичный запуск |
Да сервер работает, путь к ява указал как у биллинга |
Автор: | zavndw [ 17 фев 2015, 17:48 ] |
Заголовок сообщения: | Re: Первичный запуск |
а версия явы какая? |
Автор: | nurikzaripov [ 17 фев 2015, 17:54 ] |
Заголовок сообщения: | Re: Первичный запуск |
zavndw писал(а): а версия явы какая? java version "1.8.0_31" Java(TM) SE Runtime Environment (build 1.8.0_31-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode) |
Автор: | zavndw [ 17 фев 2015, 17:56 ] |
Заголовок сообщения: | Re: Первичный запуск |
поставьте 1.7 она рекомендуется к 6.1 |
Автор: | nurikzaripov [ 17 фев 2015, 18:09 ] |
Заголовок сообщения: | Re: Первичный запуск |
zavndw писал(а): поставьте 1.7 она рекомендуется к 6.1 Попробую, но ядро биллинга взлетело же |
Автор: | zavndw [ 17 фев 2015, 18:12 ] |
Заголовок сообщения: | Re: Первичный запуск |
не факт что оно корректно работает |
Автор: | stark [ 17 фев 2015, 18:42 ] |
Заголовок сообщения: | Re: Первичный запуск |
А если в папке сервера билинга запустить Код: ./bg_installer.sh update Нормально запускается ? |
Автор: | nurikzaripov [ 18 фев 2015, 11:25 ] |
Заголовок сообщения: | Re: Первичный запуск |
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 |
Автор: | dimOn [ 18 фев 2015, 11:47 ] |
Заголовок сообщения: | Re: Первичный запуск |
вы после установки сервера+модуля сервер обновляли хоть раз? а теперь update работает? |
Автор: | nurikzaripov [ 18 фев 2015, 11:49 ] |
Заголовок сообщения: | Re: Первичный запуск |
dimOn писал(а): вы после установки сервера+модуля сервер обновляли хоть раз? а теперь update работает? После установки ни разу. update также не работает Код: ./update.sh
Error: Could not find or load main class bitel.billing.server.installer.library.LibraryUpdate |
Страница 1 из 3 | Часовой пояс: UTC + 5 часов [ Летнее время ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |