ayf Posted October 2, 2017 Добрый день. Стоит BGBilling 5.1 Не подключался я к нему где-то с месяц. Сегодня попробовал и получил: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at sun.net.NetworkClient.doConnect(NetworkClient.java:161) at sun.net.www.http.HttpClient.openServer(HttpClient.java:394) at sun.net.www.http.HttpClient.openServer(HttpClient.java:529) at sun.net.www.http.HttpClient.<init>(HttpClient.java:233) at sun.net.www.http.HttpClient.New(HttpClient.java:306) at sun.net.www.http.HttpClient.New(HttpClient.java:323) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:975) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:916) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:841) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1019) at bitel.billing.module.common.TransferData.postData(TransferData.java:147) at bitel.billing.module.common.TransferData.postData(TransferData.java:127) at ru.bitel.bgbilling.kernel.CommonTransferManager.getDocument(CommonTransferManager.java:34) at bitel.billing.module.common.DBInfoManager.getMenu(DBInfoManager.java:576) at bitel.billing.module.common.DBInfoManager.setMenuToolBarData(DBInfoManager.java:526) at bitel.billing.module.common.DBInfoManager.performConnect(DBInfoManager.java:455) at bitel.billing.module.common.DBInfoManager.connect(DBInfoManager.java:438) at bitel.billing.ShellFrame.auth(ShellFrame.java:263) at bitel.billing.ShellFrame.auth(ShellFrame.java:266) at bitel.billing.ShellFrame.auth(ShellFrame.java:266) at bitel.billing.ShellFrame.<init>(ShellFrame.java:123) at bitel.billing.ShellFrame.main(ShellFrame.java:382) Как определить, что ему не нравится? В логах чисто. Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
pppoetest Posted October 2, 2017 Ну вроде пишет, что подключиться не может : ConnectException: Connection refused Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
ayf Posted October 2, 2017 20 минут назад, pppoetest сказал: Ну вроде пишет, что подключиться не может : ConnectException: Connection refused Ну это единственное, что я понял из его вывода:))) А вот почему? Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
catalist Posted October 2, 2017 а вы эти логи в каком файле нашли? Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
ayf Posted October 2, 2017 3 минуты назад, catalist сказал: а вы эти логи в каком файле нашли? Это он пишет в терминале, при попытке запуска Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
catalist Posted October 2, 2017 запуска чего? сервера? клиента? Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
ayf Posted October 3, 2017 8 часов назад, catalist сказал: запуска чего? сервера? клиента? Клиент запускается. А после попытки обращения к серверу в терминал и валится это сообщение. На форуме Битела меня просто послали к докам... Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
Antares Posted October 3, 2017 может в яве дело?? Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
TheUser Posted October 3, 2017 Попробуйте открыть URL сервера в браузере. Там должно быть что-то вроде http://$IP:8080/bgbilling/executer Если нет - смотреть сам сервер, слушает ли он порт 8080 (netstat -an), смотреть фаервол... Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
ayf Posted October 3, 2017 3 часа назад, TheUser сказал: Попробуйте открыть URL сервера в браузере. Там должно быть что-то вроде http://$IP:8080/bgbilling/executer Если нет - смотреть сам сервер, слушает ли он порт 8080 (netstat -an), смотреть фаервол... Файерволл был отключен совсем. Не помогло. Проверил лог, ругается так: cat /usr/local/BGBillingServer/log/server.log 10-03/13:46:01 INFO [main] DefaultServerSetup - Binding javax.jms.ConnectionFactory[org.apache.activemq.ActiveMQConnectionFactory@254e8cee] to java:comp/env/mq/connectionFactory 10-03/13:46:01 INFO [main] DefaultServerSetup - Init DB connection pools 10-03/13:46:01 INFO [main] DefaultServerSetup - Binding JDBC pool "master" to java:comp/env/jdbc/master 10-03/13:46:02 INFO [main] DefaultServerSetup - Init trash pools.. 10-03/13:46:02 INFO [main] Server - Starting BGBillingServer.. 10-03/13:46:02 INFO [main] Server - HTTP Connector: *:8080 10-03/13:46:02 INFO [main] Server - Starting HTTP connector... 10-03/13:46:02 INFO [main] Server - HTTPS Connector: *:8443 10-03/13:46:02 INFO [main] Server - Starting HTTPS connector.. 10-03/13:46:02 INFO [main] Server - Browsing installed modules and plugins... 10-03/13:46:02 INFO [main] Server - bill v.5.1 build 228 from 18.03.2011 15:54:08 10-03/13:46:02 INFO [main] Server - dba v.5.1 build 134 from 29.09.2010 13:00:59 10-03/13:46:02 INFO [main] Server - ipn v.5.1 build 233 from 05.04.2011 15:15:20 10-03/13:46:02 INFO [main] Server - npay v.5.1 build 169 from 07.02.2011 19:19:27 10-03/13:46:02 INFO [main] Server - reports v.5.1 build 173 from 10.03.2011 17:08:39 10-03/13:46:02 INFO [main] Server - rscm v.5.1 build 148 from 25.03.2011 12:28:50 10-03/13:46:06 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:46:10 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:46:14 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:46:18 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:46:22 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:46:26 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:46:30 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:46:34 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:46:38 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:46:42 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:46:46 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:46:50 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:46:54 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:46:58 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:47:02 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:47:06 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:47:10 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:47:14 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:47:18 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:47:22 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:47:26 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:47:30 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:47:34 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:47:38 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:47:42 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:47:46 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:47:50 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:47:54 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:47:58 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:48:02 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:48:06 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:48:10 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:48:14 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:48:18 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:48:22 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:48:26 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:48:30 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:48:34 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:48:38 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:48:42 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:48:46 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:48:50 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:48:54 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:48:58 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:49:02 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:49:06 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:49:10 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:49:14 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:49:18 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:49:22 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:49:26 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:49:30 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:49:34 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:49:38 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:49:42 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:49:46 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:49:50 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! 10-03/13:49:54 ERROR [main] EventProcessor - Problem with MQ connection! Timeout connecting to the MQ broker! Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
TheUser Posted October 3, 2017 А, так у вас Active MQ упал, через который разные части BGBilling обмениваются сообщениями. Поднимайте. Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
ayf Posted October 3, 2017 10 минут назад, TheUser сказал: А, так у вас Active MQ упал, через который разные части BGBilling обмениваются сообщениями. Поднимайте. Осталось разобраться как:) Сижу, гуглю. Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
gawric Posted November 13, 2017 старая добрая java:) ну как ? удалось запустить? Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
ayf Posted November 17, 2017 В 13.11.2017 в 14:43, gawric сказал: старая добрая java:) ну как ? удалось запустить? Нет. По частям все говорит что работает:) А вместе не хочет:( Думаю устанавливать новый биллинг с нуля. Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
TheUser Posted November 17, 2017 5 минут назад, ayf сказал: Нет. По частям все говорит что работает:) А вместе не хочет:( Думаю устанавливать новый биллинг с нуля. Это же не Windows, чтобы его с нуля устанавливать. Задайте вопросы на forum.bitel.ru, помогут советом. Но, скорее, нужно просто грамотно глянуть что там не срастается. Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
ayf Posted November 17, 2017 6 минут назад, TheUser сказал: Это же не Windows, чтобы его с нуля устанавливать. Задайте вопросы на forum.bitel.ru, помогут советом. Но, скорее, нужно просто грамотно глянуть что там не срастается. Задал. Меня вежливо послали изучать документацию. Ну уж раз изучать, то смысл изучать версию 5.1, если можно изучить и поставить 7.1? Насколько я понял, почему-то не срастается activemq. Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
nixx Posted November 17, 2017 4 минуты назад, ayf сказал: Ну уж раз изучать, то смысл изучать версию 5.1, если можно изучить и поставить 7.1? ...если вдруг упустили это из виду, то на версию 7.1 нужная новая лицензия, за которую надо доплачивать денег. java там, по-моему, 1.6-1.7 должна быть. activemq - с ftp bgbilling'а берется. Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
ayf Posted November 17, 2017 1 минуту назад, nixx сказал: ...если вдруг упустили это из виду, то на версию 7.1 нужная новая лицензия, за которую надо доплачивать денег. java там, по-моему, 1.6-1.7 должна быть. activemq - с ftp bgbilling'а берется. Спасибо. Я считал, у меня получается, что доплатить надо будет около 10 тысяч рублей. Так activemq на сервере стоит. А вот почему он ругается - непонятно. Грубо говоря, когда я смотрю в директории, он выделен красным. Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
TheUser Posted November 17, 2017 9 минут назад, ayf сказал: Задал. Меня вежливо послали изучать документацию. Ну что ж Вы, "SDH, PDH, CCNA R&S, CCNA Wireless" изучили, а на какой-то сраный биллинг - нет? Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
ayf Posted November 17, 2017 1 минуту назад, TheUser сказал: Ну что ж Вы, "SDH, PDH, CCNA R&S, CCNA Wireless" изучили, а на какой-то сраный биллинг - нет? Ну вот теперь изучаю. Он 7 лет работал безберебойно:))) А меня учили: Работает - не трогай:))) Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
nixx Posted November 17, 2017 30 минут назад, ayf сказал: Грубо говоря, когда я смотрю в директории, он выделен красным. первое, что приходит в голову: таки у вас симлинк побился? ) Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
ayf Posted November 17, 2017 11 минут назад, nixx сказал: первое, что приходит в голову: таки у вас симлинк побился? ) возможно. А как поправить? Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
nixx Posted November 17, 2017 1 минуту назад, ayf сказал: возможно. А как поправить? нуууу... наверно сначала убедиться, что файл, на который ссылается симлинк - действительно есть. я так понимаю, что его нет (если мое представление "красного" сходится с вашим). и наверно все ведет к скачиванию с фтп бгбиллинга activemq и установке его по-новой. Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
ayf Posted November 17, 2017 11 минут назад, nixx сказал: нуууу... наверно сначала убедиться, что файл, на который ссылается симлинк - действительно есть. я так понимаю, что его нет (если мое представление "красного" сходится с вашим). и наверно все ведет к скачиванию с фтп бгбиллинга activemq и установке его по-новой. Сегодня попробую. Потом напишу, получилось или нет. Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
vop Posted November 17, 2017 "Внезапная..." - звучит очень зловеще. :) Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...