forum.bitel.ru http://forum.bitel.ru/ |
|
Помогите установить bgbilling 5.1 http://forum.bitel.ru/viewtopic.php?f=22&t=8993 |
Страница 1 из 2 |
Автор: | Рамиль [ 25 фев 2014, 10:13 ] |
Заголовок сообщения: | Помогите установить bgbilling 5.1 |
Помогите установить bgbilling 5.1 на Debian 7. Попробывал сам сделать из всего установленного работает только апач и мускуль. С линуксом работаю впервые. не спрашивайте пожалуйста :"Что конкретно не работает?" и т.п. Буду признателен за поддрежку в режиме онлайн( аська или что-нибудь другое). спасибо |
Автор: | skyb [ 25 фев 2014, 10:54 ] |
Заголовок сообщения: | Re: Помогите установить bgbilling 5.1 |
Поищите, я гдето подробно расписывал на форуме как чего устанавливать, там переписка была с человеком |
Автор: | stark [ 25 фев 2014, 12:12 ] |
Заголовок сообщения: | Re: Помогите установить bgbilling 5.1 |
а почему 5.1 ? а не 5.2 хотя бы .. И может быть проще все-таки постепенно решать проблемы: не запустился сервер, что в логах и т.д. |
Автор: | dimOn [ 25 фев 2014, 13:05 ] |
Заголовок сообщения: | Re: Помогите установить bgbilling 5.1 |
Цитата: Что конкретно не работает? без ответа на такой вопрос на любом тематическом форуме завернут.
|
Автор: | Рамиль [ 25 фев 2014, 15:45 ] |
Заголовок сообщения: | Re: Помогите установить bgbilling 5.1 |
Убедили! Старк, 51 т.к на рабочей машине стоит 5.1. я только пришел в на эту фирму. тут все работает ок. мне нужно "все потрогать" и протестить переход на 60 на тестовой машине. ставлю BGBillingServer. Дошел до пункта: Вместо предыдущих пунктов с созданием руками ссылок итп - альтернативно можно воспользоваться инструментарием операционной системы и сделать настройку демонов цивилизованно. Здесь приведён пример, могут быть варианты, для настройки под ваш дистрибутив обратитесь к документации по системе: Копируем скрипт(ы) служб в /etc/rc.d/init.d Ставим правильные права chmod 755 /etc/rc.d/init.d/bgbilling Добавляем службу chkconfig --add bgbilling. Скрипты в init.d скопировал, права дал. Сделал: root@BGBilling:/etc/init.d# chkconfig --add bgbilling Ответ: insserv: warning: script 'bgbilling' missing LSB tags and overrides insserv: warning: script 'bgdataloader' missing LSB tags and overrides insserv: warning: script 'bgcommonrc' missing LSB tags and overrides insserv: warning: script 'bgscheduler' missing LSB tags and overrides bgbilling 0:off 1:off 2:on 3:on 4:on 5:on 6:off root@BGBilling:/etc/init.d# chkconfig --level 2345 bgbilling on root@BGBilling:/etc/init.d# /sbin/service bgbilling start bash: /sbin/service: Нет такого файла или каталога root@BGBilling:/etc/init.d# Что у меня нет и как это исправить? |
Автор: | skyb [ 25 фев 2014, 15:57 ] |
Заголовок сообщения: | Re: Помогите установить bgbilling 5.1 |
а я говорил уже что кентось лучше ставить? |
Автор: | Рамиль [ 25 фев 2014, 16:01 ] |
Заголовок сообщения: | Re: Помогите установить bgbilling 5.1 |
Скуб, да, говорил. На рабочей машине стоит дебиан. |
Автор: | zavndw [ 25 фев 2014, 16:03 ] |
Заголовок сообщения: | Re: Помогите установить bgbilling 5.1 |
проверьте ЛС |
Автор: | skyb [ 25 фев 2014, 16:04 ] |
Заголовок сообщения: | Re: Помогите установить bgbilling 5.1 |
1) Debian 7 BGBilling 5.1 JDK 1.7.0 Так как скрипты сделаны для редхат/кентось и тд, лучше начинать с нее, если не знаете как написать под другую, я тоже с дебайном дел не знаю =) биллинг лучше ставить 5.2 минимум, а лучше 6.0 как первая установка, потом придется обновлятся ява на биллинге не поддерживается 1.7 до версии 6.1, а в ней только 1.7 |
Автор: | skyb [ 25 фев 2014, 16:04 ] |
Заголовок сообщения: | Re: Помогите установить bgbilling 5.1 |
zavndw писал(а): проверьте ЛС а, да, у мну в подписи есть то как можно в конфу попасть!!! |
Автор: | zavndw [ 25 фев 2014, 16:06 ] |
Заголовок сообщения: | Re: Помогите установить bgbilling 5.1 |
skyb писал(а): zavndw писал(а): проверьте ЛС а, да, у мну в подписи есть то как можно в конфу попасть!!! пора на вацап переезжать:) |
Автор: | skyb [ 25 фев 2014, 16:11 ] |
Заголовок сообщения: | Re: Помогите установить bgbilling 5.1 |
zavndw писал(а): skyb писал(а): zavndw писал(а): проверьте ЛС а, да, у мну в подписи есть то как можно в конфу попасть!!! пора на вацап переезжать:) ее купил фейсбук, все печально...но вроде есть замена ) |
Автор: | zavndw [ 25 фев 2014, 16:32 ] |
Заголовок сообщения: | Re: Помогите установить bgbilling 5.1 |
skyb писал(а): zavndw писал(а): skyb писал(а): zavndw писал(а): проверьте ЛС а, да, у мну в подписи есть то как можно в конфу попасть!!! пора на вацап переезжать:) ее купил фейсбук, все печально...но вроде есть замена ) будем через фейсбук сидеть:) |
Автор: | stark [ 25 фев 2014, 18:36 ] |
Заголовок сообщения: | Re: Помогите установить bgbilling 5.1 |
Рамиль писал(а): Убедили! Старк, 51 т.к на рабочей машине стоит 5.1. я только пришел в на эту фирму. тут все работает ок. мне нужно "все потрогать" и протестить переход на 60 на тестовой машине. ставлю BGBillingServer. Дошел до пункта: Вместо предыдущих пунктов с созданием руками ссылок итп - альтернативно можно воспользоваться инструментарием операционной системы и сделать настройку демонов цивилизованно. Здесь приведён пример, могут быть варианты, для настройки под ваш дистрибутив обратитесь к документации по системе: Копируем скрипт(ы) служб в /etc/rc.d/init.d Ставим правильные права chmod 755 /etc/rc.d/init.d/bgbilling Добавляем службу chkconfig --add bgbilling. Скрипты в init.d скопировал, права дал. Сделал: root@BGBilling:/etc/init.d# chkconfig --add bgbilling Ответ: insserv: warning: script 'bgbilling' missing LSB tags and overrides insserv: warning: script 'bgdataloader' missing LSB tags and overrides insserv: warning: script 'bgcommonrc' missing LSB tags and overrides insserv: warning: script 'bgscheduler' missing LSB tags and overrides bgbilling 0:off 1:off 2:on 3:on 4:on 5:on 6:off root@BGBilling:/etc/init.d# chkconfig --level 2345 bgbilling on root@BGBilling:/etc/init.d# /sbin/service bgbilling start bash: /sbin/service: Нет такого файла или каталога root@BGBilling:/etc/init.d# Что у меня нет и как это исправить? Вот тут что-то об это есть. Предлагают или удалить insserv или оформить заголовок файла. |
Автор: | Phricker [ 25 фев 2014, 18:58 ] |
Заголовок сообщения: | Re: Помогите установить bgbilling 5.1 |
А еще я предлагал попробовать вручную запустить биллинг. Работает или нет. Автозапуск это даже не вторичное ![]() |
Автор: | zavndw [ 26 фев 2014, 04:17 ] |
Заголовок сообщения: | Re: Помогите установить bgbilling 5.1 |
в ручную все работает, осталось ему решить автостарт activemq. |
Автор: | Рамиль [ 26 фев 2014, 08:47 ] |
Заголовок сообщения: | Re: Помогите установить bgbilling 5.1 |
Не работает автостарт activemq.Вот что пишет. мне кажется многовато, не должно оно так быть. Так? Что делать? Как быть? Ручками все запускается и работает Код: root@BGBilling:/home/qwerty# chkconfig --add activemq insserv: warning: script 'K01bgbilling' missing LSB tags and overrides insserv: warning: script 'S99bgsheduler' missing LSB tags and overrides insserv: warning: script 'S99bgdataloader' missing LSB tags and overrides insserv: warning: script 'S20activemq' missing LSB tags and overrides insserv: warning: script 'activemq' missing LSB tags and overrides insserv: warning: current start runlevel(s) (2) of script `activemq' overrides LSB defaults (2 3 4 5). insserv: warning: current stop runlevel(s) (empty) of script `activemq' overrides LSB defaults (0 1 6). insserv: warning: script 'bgdataloader' missing LSB tags and overrides insserv: warning: script 'bgbilling' missing LSB tags and overrides insserv: warning: script 'bgcommonrc' missing LSB tags and overrides insserv: warning: script 'bgscheduler' missing LSB tags and overrides insserv: There is a loop at service bgbilling if started insserv: There is a loop between service bgbilling and mountnfs if started insserv: loop involving service mountnfs at depth 10 insserv: loop involving service nfs-common at depth 9 insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Max recursions depth 99 reached insserv: loop involving service exim4 at depth 11 insserv: There is a loop between service bgbilling and mountall if started insserv: loop involving service mountall at depth 6 insserv: loop involving service checkfs at depth 5 insserv: loop involving service mountnfs-bootclean at depth 12 insserv: There is a loop between service bgbilling and urandom if started insserv: loop involving service urandom at depth 7 insserv: loop involving service networking at depth 9 insserv: There is a loop between service bgbilling and mountdevsubfs if started insserv: loop involving service mountdevsubfs at depth 2 insserv: loop involving service udev at depth 1 insserv: There is a loop at service minissdpd if started insserv: loop involving service mountall-bootclean at depth 8 insserv: loop involving service rsyslog at depth 14 insserv: There is a loop between service bgbilling and udev if started insserv: loop involving service mountkernfs at depth 1 insserv: loop involving service bgbilling at depth 1 insserv: exiting now without changing boot order! /sbin/insserv failed, exit code 1 activemq 0:off 1:off 2:on 3:off 4:off 5:off 6:off root@BGBilling:/home/qwerty# Код: insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Max recursions depth 99 reached insserv: loop involving service exim4 at depth 11 insserv: There is a loop between service bgbilling and mountall if started insserv: loop involving service mountall at depth 6 insserv: loop involving service checkfs at depth 5 insserv: loop involving service mountnfs-bootclean at depth 12 insserv: There is a loop between service bgbilling and urandom if started insserv: loop involving service urandom at depth 7 insserv: loop involving service networking at depth 9 insserv: There is a loop between service bgbilling and mountdevsubfs if started insserv: loop involving service mountdevsubfs at depth 2 insserv: loop involving service udev at depth 1 insserv: There is a loop at service minissdpd if started insserv: loop involving service mountall-bootclean at depth 8 insserv: loop involving service rsyslog at depth 14 insserv: There is a loop between service bgbilling and udev if started insserv: loop involving service mountkernfs at depth 1 insserv: loop involving service bgbilling at depth 1 insserv: exiting now without changing boot order! /sbin/insserv failed, exit code 1 insserv: warning: script 'K01bgbilling' missing LSB tags and overrides insserv: warning: script 'S99bgsheduler' missing LSB tags and overrides insserv: warning: script 'S99bgdataloader' missing LSB tags and overrides insserv: warning: script 'S20activemq' missing LSB tags and overrides insserv: warning: script 'activemq' missing LSB tags and overrides insserv: warning: script 'bgdataloader' missing LSB tags and overrides insserv: warning: script 'bgbilling' missing LSB tags and overrides insserv: warning: script 'bgcommonrc' missing LSB tags and overrides insserv: warning: script 'bgscheduler' missing LSB tags and overrides insserv: There is a loop at service bgbilling if started insserv: There is a loop between service bgbilling and mountnfs if started insserv: loop involving service mountnfs at depth 10 insserv: loop involving service nfs-common at depth 9 insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgbilling depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgscheduler depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Starting bgdataloader depends on minissdpd and therefore on system facility `$all' which can not be true! insserv: Max recursions depth 99 reached insserv: loop involving service exim4 at depth 11 insserv: There is a loop between service bgbilling and mountall if started insserv: loop involving service mountall at depth 6 insserv: loop involving service checkfs at depth 5 insserv: loop involving service mountnfs-bootclean at depth 12 insserv: There is a loop between service bgbilling and urandom if started insserv: loop involving service urandom at depth 7 insserv: loop involving service networking at depth 9 insserv: There is a loop between service bgbilling and mountdevsubfs if started insserv: loop involving service mountdevsubfs at depth 2 insserv: loop involving service udev at depth 1 insserv: There is a loop at service minissdpd if started insserv: loop involving service mountall-bootclean at depth 8 insserv: loop involving service rsyslog at depth 14 insserv: There is a loop between service bgbilling and udev if started insserv: loop involving service mountkernfs at depth 1 insserv: loop involving service bgbilling at depth 1 insserv: exiting now without changing boot order! /sbin/insserv failed, exit code 1 root@BGBilling:/home/qwerty# |
Автор: | skyb [ 26 фев 2014, 09:06 ] |
Заголовок сообщения: | Re: Помогите установить bgbilling 5.1 |
юзайте тег code |
Автор: | ok-2004 [ 26 фев 2014, 09:30 ] |
Заголовок сообщения: | Re: Помогите установить bgbilling 5.1 |
Рамиль , не парьтесь, наплюйте на скрипты БЖБ и insserv debiana. Удалите всё что успели наделать в папке /etc/init.d/ и сделяйте так: 1. в каталоге /etc например ( можно в любом другом ) создайте файл с именем bg ( например вот так nano /etc/bg ): Код: #!/bin/sh export JAVA_HOME=/opt/java/jdk what () { case $prog in bgbilling) serverstart=server_start.sh serverstop=server_stop.sh BGBILLING_HOME=/usr/local/BGBillingServer ;; bgdataloader) serverstart=data_loader_start.sh serverstop=data_loader_stop.sh BGBILLING_HOME=/usr/local/BGBillingServer ;; bgscheduler) serverstart=scheduler_start.sh serverstop=scheduler_stop.sh BGBILLING_HOME=/usr/local/BGBillingServer ;; netflow) serverstart=netflow_start.sh serverstop=netflow_stop.sh BGBILLING_HOME=/usr/local/BGIPNNetflowCollector ;; voip) serverstart=radius_start.sh serverstop=radius_stop.sh BGBILLING_HOME=/usr/local/BGRadiusVoip ;; vpn) serverstart=radius_start.sh serverstop=radius_stop.sh BGBILLING_HOME=/usr/local/BGRadiusDialup ;; esac } if [ x$2 = x ] then case $1 in start) for prog in bgbilling bgdataloader bgscheduler netflow vpn voip do what echo -n $"Starting $prog: " $BGBILLING_HOME/$serverstart RETVAL=$? [ $RETVAL -eq 0 ] && echo "$prog start OK" sleep 2 done ;; stop) for prog in vpn voip netflow bgdataloader bgscheduler bgbilling do what echo -n $"Stoping $prog: " $BGBILLING_HOME/$serverstop RETVAL=$? [ $RETVAL -eq 0 ] && echo "$prog stop OK" sleep 5 done ;; *) echo "bg start|stop|status [b|d|s|n]" ;; esac else case "$2" in vpn) serverstart=radius_start.sh serverstop=radius_stop.sh serverstatus=radius_status.sh BGBILLING_HOME=/usr/local/BGRadiusDialup ;; serv) prog="bgbilling" serverstart=server_start.sh serverstop=server_stop.sh serverstatus=server_status.sh BGBILLING_HOME=/usr/local/BGBillingServer ;; voip) prog="voip" serverstart=radius_start.sh serverstop=radius_stop.sh serverstatus=radius_status.sh BGBILLING_HOME=/usr/local/BGRadiusVoip ;; s) prog="bgscheduler" serverstart=scheduler_start.sh serverstop=scheduler_stop.sh serverstatus=scheduler_status.sh BGBILLING_HOME=/usr/local/BGBillingServer ;; nf) prog="netflow" serverstart=netflow_start.sh serverstop=netflow_stop.sh serverstatus=netflow_status.sh BGBILLING_HOME=/usr/local/BGIPNNetflowCollector ;; esac case "$1" in start) echo -n $"Starting $prog: " $BGBILLING_HOME/$serverstart RETVAL=$? [ $RETVAL -eq 0 ] && echo "$prog start OK" ;; stop) echo -n $"Stoping $prog: " $BGBILLING_HOME/$serverstop RETVAL=$? [ $RETVAL -eq 0 ] && echo "$prog stop OK" ;; status) $BGBILLING_HOME/$serverstatus ;; *) echo "4oo ?!" ;; esac fi сделяёте его исполняемым: chmod +x /etc/bg 2. В этом же каталоге. можно в другом каком нибудь выполнить команду: ln -s /opt/activemq/bin/linux/activemq activemq навсякий случай дайте команду chmod +x /etc/activemq 3. Добавьте в конец /etc/rc.local строки ( nano /etc/rc.local ): Код: sleep 5 /etc/activemq start sleep 5 /etc/bg start exit 0 Если в /etc/rc.local ничего больше нет ( убедитесь что в начале стоит просто #!/bin/sh а не #!/bin/sh -e ) можно запускать весь БЖБ так : /etc/rc.local |
Автор: | Рамиль [ 26 фев 2014, 09:39 ] |
Заголовок сообщения: | Re: Помогите установить bgbilling 5.1 |
Хотелось бы сделать по документации все... А не могли бы Вы прокомментировать действия и код, который нужно засунуть в файл? Типа:"/etc/rc2.d //каталог из которого запускаются скрипты при 2 уровне запуска" |
Автор: | skyb [ 26 фев 2014, 11:15 ] |
Заголовок сообщения: | Re: Помогите установить bgbilling 5.1 |
Рамиль писал(а): Хотелось бы сделать по документации все... А не могли бы Вы прокомментировать действия и код, который нужно засунуть в файл? Типа:"/etc/rc2.d //каталог из которого запускаются скрипты при 2 уровне запуска" а чем это не документация, это особенность ОС стартавать так демоны |
Автор: | ok-2004 [ 26 фев 2014, 12:05 ] |
Заголовок сообщения: | Re: Помогите установить bgbilling 5.1 |
Здесь вот в чём дело , Рамиль. Долгое время все линуксовые дистрибутивы запускались с помощью старого доброго sysvinit. Все каталоги /etc/rc*.d указывали с помощью ссылок на скрипты в /etc/init.d/. В последнее время на дебиан -юбунту - based дистрах пошла не нужная мода на всякие рюшки типа upstart и ещё того хуже на systemd. Всё это было сделано только с одной целью - сделать как можно более быстрой загрузку ОС путём распараллеливания загрузки. Для дескотопов это может и хорошо, но для серверов, которые грузятся раз в год это - не нужное усложнение. Дебиан и юбунту, в отличие от редхата и центоса - дистры общего назначения , десктопно- серверные, значит система инициализации для них общая как в серверном , так и в лесктопном вариантах.( хотя редхат уже перешёл на systemd, с чем его и поздравляю, фатальная ошибка! ) И вот что получается, если дебиан ещё кое-как следует пока идеологии sysvinit , но вынужден проверять уже скрипты запуска на соответствие lsb. Именно для этого и существуют update-rc.d или insserv вместо того чтобы просто сделать просто ln -s /etc/init.d/service /etc/rc2.d/S99service. А в юбунту пошли ищё хуже - все скрипты в /etc/init.d/ - просто ссылки на /lib/init/upstart_job, который при старте исполняет директивы для этого сервиса из /etc/init/service.conf. В результате mysql на нём уже запускается не через mysqld_safe. А это очень плохо. А debian-testing ваще мингрирует на systemd ( а значит и юбунту в конечном итоге там окажется ). Миграция скриптов с sysvinit на systemd - гемор ещё тот. И разработчики БЖБ обязательно наступят на эти лыжи по полной программе, а значит и наступите Вы, если будете следовать документации. Хорошо что существует пока дистроназависимая лазейка в виде /etc/rc.local. И я ей пользуюсь при запуске БЖБ версий 4.5, 4.6, 5.0, 5.1, 6.0 с 2008 года на дебиане 4.0, 5.0 , 6.0, 7.0, ubuntu 12.04 . И "клал" и буду "класть" на священные войны адептов update-rc.d, insserv, service stop/start и прочую хрень, которую напридумают ещё в будущем. |
Автор: | skyb [ 26 фев 2014, 12:25 ] |
Заголовок сообщения: | Re: Помогите установить bgbilling 5.1 |
ok-2004 А с какой версии шапка на системд перешла? |
Автор: | abu [ 26 фев 2014, 12:54 ] |
Заголовок сообщения: | Re: Помогите установить bgbilling 5.1 |
Про автостарт в Debian'e есть на вики: http://wiki.bitel.ru/index.php/%D0%A1%D ... %8F_Debian http://wiki.bitel.ru/index.php/%D0%A1%D ... %8F_Debian правда, не знаю, чем они друг от друга отличаются, но вот так - две статьи. |
Автор: | ok-2004 [ 26 фев 2014, 12:57 ] |
Заголовок сообщения: | Re: Помогите установить bgbilling 5.1 |
Ставил в декабре rhel 7 beta2 - он там точно уже был. ( хотел проверить как там работает драйвер mpt3sas. Так кстати и не поборол это драйвер. Он там контролируется acpid. а acpid уже запускается через systemd ) Кстати "шапка" и подкинула этот systemd в массы. Чесно говоря меня системд меньше всего волнует, пользоваться им не собираюсь. Больше всего волнует что мускуль в юбунте стал запускаться и контролироваться через upstart_job. Типичный случай - база под innodb. В случае ошибок в базе mysqld_safe видел что сервер сам убрал mysql.pid и стопорнулся, смотрел по perror что за ошибка, и не запускал мускул дабы больше не усугублять ситуацию. upstart-у похрену на эти тонкости. если стоит в /etc/init/mysql.conf "respawn" - значит "respawn" до посинения, пока вся база не грохнется. Думаю, что с systemd будет ещё хуже. Во всяком случае bugs.launcpad.net или bugs.debian.org с тегом "systemd" или "upstart" рисуют картину пока в черных красках. |
Автор: | dimOn [ 26 фев 2014, 13:46 ] |
Заголовок сообщения: | Re: Помогите установить bgbilling 5.1 |
Цитата: Миграция скриптов с sysvinit на systemd - гемор ещё тот. И разработчики БЖБ обязательно наступят на эти лыжи по полной программе, а значит и наступите Вы, если будете следовать документации. В чём гемор то? Описатели сервисов на systemd на порядки легче, логичнее и предсказуемее, чем костыли на sysvinit. И состоят из 10 строк. У меня пару лет всё работает как часы, сами systemd-юниты тут тоже примеры выкладывали где-то. |
Автор: | Рамиль [ 26 фев 2014, 14:33 ] |
Заголовок сообщения: | Re: Помогите установить bgbilling 5.1 |
ok-2004, не могли бы Вы поподробней расписать что нужно сделать по-вашему...не понятно мне совсем(((( |
Автор: | zavndw [ 26 фев 2014, 14:42 ] |
Заголовок сообщения: | Re: Помогите установить bgbilling 5.1 |
dimOn писал(а): Цитата: Миграция скриптов с sysvinit на systemd - гемор ещё тот. И разработчики БЖБ обязательно наступят на эти лыжи по полной программе, а значит и наступите Вы, если будете следовать документации. В чём гемор то? Описатели сервисов на systemd на порядки легче, логичнее и предсказуемее, чем костыли на sysvinit. И состоят из 10 строк. У меня пару лет всё работает как часы, сами systemd-юниты тут тоже примеры выкладывали где-то. о да, уже год где то прошел с момента как мы на systemd повесили БЖБ, я же и тогда кидал примеры юнитов:) я с напарником парк на 60% перевел на systemd |
Автор: | zavndw [ 26 фев 2014, 14:44 ] |
Заголовок сообщения: | Re: Помогите установить bgbilling 5.1 |
Рамиль писал(а): ok-2004, не могли бы Вы поподробней расписать что нужно сделать по-вашему...не понятно мне совсем(((( вам человек предлагает использовать другие методы автозапуска:) не использовать те что идут с биллингом |
Автор: | dimOn [ 26 фев 2014, 15:05 ] |
Заголовок сообщения: | Re: Помогите установить bgbilling 5.1 |
Ну невозможно все скрипты поддержать же с таким зоопарком и фрагментацией. Вот с системд как-то уже перспектива нарисовывается получше, т.к. единое окружение системное в линуксах это большое благо. Я джвенадцать лет этого ждал. |
Страница 1 из 2 | Часовой пояс: UTC + 5 часов [ Летнее время ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |