Перейти до

Stiff

Маглы
  • Всього повідомлень

    48
  • Приєднався

  • Останній візит

Все, що було написано Stiff

  1. Stiff

    Stargazer+mysql+freeradius_mysql+vpn+stg-web

    Фрирадиус удали, собери стг с модулем радиус. Функции сервера радиус будет выполнять сьаргейзер (а не freeradius). Настрой модуль радиуса по прилагающейся к нему инструкции. Соответственно, никакой базы данных заливать не надо, так же проконтролировать, чтоб секретный ключ в настройках radiusclient и stargazer.conf совпадал. Так же надо будет изменить конфиг pptpd, убрать require-mschap-v2 иrequire-mppe-128, поставить require-chap (не умеет модуль радиуса к стг работать с mschapv2). Когда запущен стг, можно протестировать работу модуля радиус утилитой radtest, она входит в фрирадиус. Так что лучше его не удаляй, а просто снеси конфиги и убери из init.d Если будет время и желание, могу попытаться переписать данный мануал для новичков, только вместо фрирадиуса-модуль радиус для стг. Пишите, если надо
  2. Была такая ошибка, лечилась добавлением строки SHELL=/bin/bash в начало файла Makefile Ну и deps, разумеется перед сборкой надо удалить
  3. или VPN
  4. Stiff

    Шейпинг

    Попробуй увеличить буфер А вообще, если шейпить vpn, то чем tbf не устраивает? его настроить в разы проще
  5. Двух адресов для каждого клиента или двух адресов для всех клиентов? если второе, то потеря невелика
  6. IP адрес по-настоящему реальный, когда он висит на интерфейсе у клиента.
  7. Stiff

    Stg-web With Mysql

    Названия направлений подсчёта трафика на странице root/stg.php?act=getserverinfo отображаются кракозябрами, для примера вот так ~. При этом, в stargazer.conf они прописаны латиницей. В это же время имена пользователей, если их задать кирилицей, отображаются корректно. Как пофиксить? рекомендации с первой стр. все выполнены версия стг stg-2.404.9.7, админка 0.08
  8. Stiff

    Stargazer & Squid

    Прикрутил к сквиду радиус. Теперь пользователей авторизует нормально, но не переводит их в состояние "онлайн". Соответственно и трафик считает только если выставить пользователю флажок "всегда онлайн" Что можно сделать? не хочу, чтоб у меня все юзеры были "всегда онлайн"
  9. Stiff

    Stargazer+mysql+freeradius_mysql+vpn+stg-web

    2Shtorm выкинь этот фрирадиус, прикрути лучше модуль radius к старгейзеру.
  10. Stiff

    Stargazer & Squid

    Насчёт радиуса очень интересно :-) модуль vpn я уже прикрутил. А умеет ли сквид считать трафик и передавать его по radius?
  11. Юзеры выходят в инет через сквид, на сквиде происходит авторизация (открытым текстом) по аккаунту из старгейзера. Ну и соответственно стг считает трафик и тарифицирует его. Возможна ли такая конфигурация? Если у кого-нибудь есть наработки по этому поводу, большая просьба привести примеры конфигов. Цель всего этого - безболезненно для пользователей убить трафик инспектор.
  12. Stiff

    Stg-web With Mysql

    Всё домучал эту новогоднюю сборку вот что сделал после патченья: в mysql_store.cpp: #include <mysql.h> #include <errmsg.h> Сменил на #include <mysql/mysql.h> #include <mysql/errmsg.h> также в в mysql_store.h заменил: #include <mysql.h> на #include <mysql/mysql.h> Просьба включить в сообщение на 1й странице или в FAQ, чтоб народ не мучался а лучше даже патч поправить
  13. Stiff

    Stg-web With Mysql

    При компиляции стг 2.404.97, наложен только лишь патч mysql-0.67_stg-2.404.9.7.patch mysql_store.cpp:311: error: ‘mysql_num_rows’ was not declared in this scope mysql_store.cpp:314: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp: At global scope: mysql_store.cpp:319: error: ‘int MYSQL_STORE::CheckAllTables’ is not a static member of ‘class MYSQL_STORE’ mysql_store.cpp:319: error: ‘MYSQL’ was not declared in this scope mysql_store.cpp:319: error: ‘sock’ was not declared in this scope mysql_store.cpp:320: error: expected ‘,’ or ‘;’ before ‘{’ token mysql_store.cpp: In member function ‘int MYSQL_STORE::GetAllParams(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >*, const std::string&, const std::string&) const’: mysql_store.cpp:625: error: ‘MYSQL_RES’ was not declared in this scope mysql_store.cpp:625: error: ‘res’ was not declared in this scope mysql_store.cpp:626: error: ‘MYSQL_ROW’ was not declared in this scope mysql_store.cpp:626: error: expected `;' before ‘row’ mysql_store.cpp:627: error: ‘MYSQL’ was not declared in this scope mysql_store.cpp:627: error: ‘sock’ was not declared in this scope mysql_store.cpp:638: error: ‘mysql_error’ was not declared in this scope mysql_store.cpp:639: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:643: error: ‘mysql_store_result’ was not declared in this scope mysql_store.cpp:647: error: ‘mysql_error’ was not declared in this scope mysql_store.cpp:651: error: ‘mysql_num_rows’ was not declared in this scope mysql_store.cpp:655: error: ‘row’ was not declared in this scope mysql_store.cpp:655: error: ‘mysql_fetch_row’ was not declared in this scope mysql_store.cpp:659: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:660: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp: In member function ‘virtual int MYSQL_STORE::RestoreUserConf(USER_CONF*, const std::string&) const’: mysql_store.cpp:720: error: ‘MYSQL_RES’ was not declared in this scope mysql_store.cpp:720: error: ‘res’ was not declared in this scope mysql_store.cpp:721: error: ‘MYSQL_ROW’ was not declared in this scope mysql_store.cpp:721: error: expected `;' before ‘row’ mysql_store.cpp:722: error: ‘MYSQL’ was not declared in this scope mysql_store.cpp:722: error: ‘sock’ was not declared in this scope mysql_store.cpp:728: error: ‘mysql_error’ was not declared in this scope mysql_store.cpp:729: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:733: error: ‘mysql_store_result’ was not declared in this scope mysql_store.cpp:736: error: ‘mysql_error’ was not declared in this scope mysql_store.cpp:737: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:741: error: ‘row’ was not declared in this scope mysql_store.cpp:741: error: ‘mysql_fetch_row’ was not declared in this scope mysql_store.cpp:749: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:751: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:757: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:759: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:765: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:767: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:773: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:775: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:783: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:785: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:798: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:800: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:821: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:823: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:828: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:829: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp: In member function ‘virtual int MYSQL_STORE::RestoreUserStat(USER_STAT*, const std::string&) const’: mysql_store.cpp:836: error: ‘MYSQL_RES’ was not declared in this scope mysql_store.cpp:836: error: ‘res’ was not declared in this scope mysql_store.cpp:837: error: ‘MYSQL_ROW’ was not declared in this scope mysql_store.cpp:837: error: expected `;' before ‘row’ mysql_store.cpp:838: error: ‘MYSQL’ was not declared in this scope mysql_store.cpp:838: error: ‘sock’ was not declared in this scope mysql_store.cpp:844: error: ‘mysql_error’ was not declared in this scope mysql_store.cpp:845: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:849: error: ‘mysql_store_result’ was not declared in this scope mysql_store.cpp:852: error: ‘mysql_error’ was not declared in this scope mysql_store.cpp:853: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:857: error: ‘row’ was not declared in this scope mysql_store.cpp:857: error: ‘mysql_fetch_row’ was not declared in this scope mysql_store.cpp:870: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:872: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:880: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:882: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:892: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:894: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:900: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:902: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:908: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:910: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:916: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:918: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:924: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:926: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:932: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:934: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:938: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:939: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp: In member function ‘virtual int MYSQL_STORE::WriteLogString(const std::string&, const std::string&, const std::string&) const’: mysql_store.cpp:1048: error: ‘MYSQL_RES’ was not declared in this scope mysql_store.cpp:1048: error: ‘result’ was not declared in this scope mysql_store.cpp:1049: error: ‘MYSQL’ was not declared in this scope mysql_store.cpp:1049: error: ‘sock’ was not declared in this scope mysql_store.cpp:1051: error: ‘MysqlConnect’ was not declared in this scope mysql_store.cpp:1055: error: ‘mysql_list_tables’ was not declared in this scope mysql_store.cpp:1058: error: ‘mysql_error’ was not declared in this scope mysql_store.cpp:1059: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1063: error: ‘mysql_num_rows’ was not declared in this scope mysql_store.cpp:1065: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:1075: error: ‘mysql_error’ was not declared in this scope mysql_store.cpp:1076: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1093: error: ‘mysql_error’ was not declared in this scope mysql_store.cpp:1094: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1097: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp: In member function ‘virtual int MYSQL_STORE::RestoreAdmin(ADMIN_CONF*, const std::string&) const’: mysql_store.cpp:1286: error: ‘MYSQL_RES’ was not declared in this scope mysql_store.cpp:1286: error: ‘res’ was not declared in this scope mysql_store.cpp:1287: error: ‘MYSQL_ROW’ was not declared in this scope mysql_store.cpp:1287: error: expected `;' before ‘row’ mysql_store.cpp:1288: error: ‘MYSQL’ was not declared in this scope mysql_store.cpp:1288: error: ‘sock’ was not declared in this scope mysql_store.cpp:1294: error: ‘mysql_error’ was not declared in this scope mysql_store.cpp:1295: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1299: error: ‘mysql_store_result’ was not declared in this scope mysql_store.cpp:1302: error: ‘mysql_error’ was not declared in this scope mysql_store.cpp:1303: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1307: error: ‘mysql_num_rows’ was not declared in this scope mysql_store.cpp:1309: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:1311: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1315: error: ‘row’ was not declared in this scope mysql_store.cpp:1315: error: ‘mysql_fetch_row’ was not declared in this scope mysql_store.cpp:1322: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:1324: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1354: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:1356: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1364: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:1366: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1374: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:1376: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1384: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:1386: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1394: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:1396: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1404: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:1406: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1414: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:1416: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1420: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:1421: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp: In member function ‘virtual int MYSQL_STORE::RestoreTariff(TARIFF_DATA*, const std::string&) const’: mysql_store.cpp:1455: error: ‘MYSQL_RES’ was not declared in this scope mysql_store.cpp:1455: error: ‘res’ was not declared in this scope mysql_store.cpp:1456: error: ‘MYSQL_ROW’ was not declared in this scope mysql_store.cpp:1456: error: expected `;' before ‘row’ mysql_store.cpp:1457: error: ‘MYSQL’ was not declared in this scope mysql_store.cpp:1457: error: ‘sock’ was not declared in this scope mysql_store.cpp:1463: error: ‘mysql_error’ was not declared in this scope mysql_store.cpp:1464: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1468: error: ‘mysql_store_result’ was not declared in this scope mysql_store.cpp:1471: error: ‘mysql_error’ was not declared in this scope mysql_store.cpp:1472: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1479: error: ‘row’ was not declared in this scope mysql_store.cpp:1479: error: ‘mysql_fetch_row’ was not declared in this scope mysql_store.cpp:1488: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:1490: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1503: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:1505: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1513: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:1515: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1523: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:1525: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1533: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:1535: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1543: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:1545: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1552: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:1554: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1561: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:1563: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1570: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:1572: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1578: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:1580: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1586: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:1588: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1597: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:1599: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1616: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:1618: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1622: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:1623: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp: In member function ‘virtual int MYSQL_STORE::WriteDetailedStat(const std::map<IP_DIR_PAIR, STAT_NODE, std::less<IP_DIR_PAIR>, std::allocator<std::pair<const IP_DIR_PAIR, STAT_NODE> > >*, time_t, const std::string&, const std::string&) const’: mysql_store.cpp:1729: error: ‘MYSQL_RES’ was not declared in this scope mysql_store.cpp:1729: error: ‘result’ was not declared in this scope mysql_store.cpp:1730: error: ‘MYSQL’ was not declared in this scope mysql_store.cpp:1730: error: ‘sock’ was not declared in this scope mysql_store.cpp:1733: error: ‘MysqlConnect’ was not declared in this scope mysql_store.cpp:1734: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1738: error: ‘mysql_list_tables’ was not declared in this scope mysql_store.cpp:1741: error: ‘mysql_error’ was not declared in this scope mysql_store.cpp:1742: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1746: error: ‘mysql_num_rows’ was not declared in this scope mysql_store.cpp:1748: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:1761: error: ‘mysql_error’ was not declared in this scope mysql_store.cpp:1762: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1815: error: ‘mysql_error’ was not declared in this scope mysql_store.cpp:1816: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1820: error: ‘mysql_store_result’ was not declared in this scope mysql_store.cpp:1826: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp: In member function ‘virtual int MYSQL_STORE::GetMessage(uint64_t, STG_MSG*, const std::string&) const’: mysql_store.cpp:1887: error: ‘MYSQL_RES’ was not declared in this scope mysql_store.cpp:1887: error: ‘res’ was not declared in this scope mysql_store.cpp:1888: error: ‘MYSQL_ROW’ was not declared in this scope mysql_store.cpp:1888: error: expected `;' before ‘row’ mysql_store.cpp:1889: error: ‘MYSQL’ was not declared in this scope mysql_store.cpp:1889: error: ‘sock’ was not declared in this scope mysql_store.cpp:1898: error: ‘mysql_error’ was not declared in this scope mysql_store.cpp:1899: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1903: error: ‘mysql_store_result’ was not declared in this scope mysql_store.cpp:1906: error: ‘mysql_error’ was not declared in this scope mysql_store.cpp:1907: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1911: error: ‘row’ was not declared in this scope mysql_store.cpp:1911: error: ‘mysql_fetch_row’ was not declared in this scope mysql_store.cpp:1915: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:1917: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1923: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:1925: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1931: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:1933: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1939: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:1941: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1947: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:1949: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1955: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:1957: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1964: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:1965: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp: In member function ‘virtual int MYSQL_STORE::GetMessageHdrs(std::vector<STG_MSG_HDR, std::allocator<STG_MSG_HDR> >*, const std::string&) const’: mysql_store.cpp:1986: error: ‘MYSQL_RES’ was not declared in this scope mysql_store.cpp:1986: error: ‘res’ was not declared in this scope mysql_store.cpp:1987: error: ‘MYSQL_ROW’ was not declared in this scope mysql_store.cpp:1987: error: expected `;' before ‘row’ mysql_store.cpp:1988: error: ‘MYSQL’ was not declared in this scope mysql_store.cpp:1988: error: ‘sock’ was not declared in this scope mysql_store.cpp:1994: error: ‘mysql_error’ was not declared in this scope mysql_store.cpp:1995: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:1999: error: ‘mysql_store_result’ was not declared in this scope mysql_store.cpp:2002: error: ‘mysql_error’ was not declared in this scope mysql_store.cpp:2003: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp:2007: error: ‘mysql_num_rows’ was not declared in this scope mysql_store.cpp:2012: error: ‘row’ was not declared in this scope mysql_store.cpp:2012: error: ‘mysql_fetch_row’ was not declared in this scope mysql_store.cpp:2045: error: ‘mysql_free_result’ was not declared in this scope mysql_store.cpp:2046: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp: In member function ‘int MYSQL_STORE::MysqlSetQuery(const char*) const’: mysql_store.cpp:2053: error: ‘MYSQL’ was not declared in this scope mysql_store.cpp:2053: error: ‘sock’ was not declared in this scope mysql_store.cpp:2055: error: ‘mysql_close’ was not declared in this scope mysql_store.cpp: At global scope: mysql_store.cpp:2059: error: ‘MYSQL’ has not been declared mysql_store.cpp: In member function ‘int MYSQL_STORE::MysqlGetQuery(const char*, int*&) const’: mysql_store.cpp:2060: error: ‘MysqlConnect’ was not declared in this scope mysql_store.cpp: At global scope: mysql_store.cpp:2066: error: expected constructor, destructor, or type conversion before ‘*’ token gmake[2]: *** [mysql_store.o] Error 1 gmake[2]: Leaving directory `/usr/src/stg-2.404.9.7/projects/stargazer/plugins/store/mysql' gmake[1]: *** [store/mysql] Error 2 gmake[1]: Leaving directory `/usr/src/stg-2.404.9.7/projects/stargazer/plugins' gmake: *** [plugins] Error 2
  14. Stiff

    Stg-web With Mysql

    Что конкретно и где надо поменять? и нельзя ли выпустить патч, который затрагивает makefile?
  15. Stiff

    Stg-web With Mysql

    Если пропатчить версию 2.404.9.7 патчем mysql-0.67_stg-2.404.9.7.patch, то она вообще не компилируется, выдаёт ошибку на этаме компиляции плагина mysql_store
  16. Stiff

    Stg-web With Mysql

    2Akela: у меня такая же проблема на убунту серв. 7.10, stg-2.404.9.7, админка версии 0.08. Выдаёт ошибку Create actions table... error! (query is empty) у меня несколько вопросов: 1. Обязательно ли патчить новогоднюю версию стг для нормальной работы с админкой? 2. Какая версия веб-админки лучше всего работает с новогоним релизом?
  17. Stiff

    Новая сборка СТГ 2.4

    Помогите разобраться с проблемой Установлена новогодняя версия стг (2.404.9.7) на сервер с линуксом ubuntu server 7.10. Подключаюсь виндовым конфигуратором версии 1.89.9. Подключение проходит в нормальном режиме, пользователи создаются нормально. Но загвоздка возникает, когда пытаюсь сменить тип учитываемого трафика с upload на что-то другое. После нажатия кнопки "сохранить" после закрытия окошка "тариф успешно изменён" это значение везде сбрасывается на "upload" обратно. Пытался использовать модули сохранения mysql и files - результат одинаковый. вот что выводит стг во время смены тарифа: parser.cpp > 16:29:32 > PARSER_SEND_MESSAGE::ParseStart el = SetTariff configproto.cpp > 16:29:32 > Start parser_tariff.cpp > 16:29:32 > PARSER_GET_TARIFFS::ParseStart configproto.cpp > 16:29:32 > Start parser_tariff.cpp > 16:29:32 > PARSER_ADD_TARIFF::ParseStart configproto.cpp > 16:29:32 > Start parser_tariff.cpp > 16:29:32 > PARSER_DEL_TARIFF::ParseStart configproto.cpp > 16:29:32 > Start parser_tariff.cpp > 16:29:32 > PARSER_CHG_TARIFF::ParseStart el = SetTariff depth = 1 configproto.cpp > 16:29:32 > ParseXMLStart parser_tariff.cpp > 16:29:32 > PARSER_CHG_TARIFF::ParseStart el = Time0 depth = 2 configproto.cpp > 16:29:32 > ParseXMLStart parser_tariff.cpp > 16:29:32 > PARSER_CHG_TARIFF::ParseStart el = TraffType0 depth = 2 configproto.cpp > 16:29:32 > ParseXMLStart parser_tariff.cpp > 16:29:32 > PARSER_CHG_TARIFF::ParseStart el = Time1 depth = 2 configproto.cpp > 16:29:32 > ParseXMLStart parser_tariff.cpp > 16:29:32 > PARSER_CHG_TARIFF::ParseStart el = TraffType1 depth = 2 configproto.cpp > 16:29:32 > ParseXMLStart parser_tariff.cpp > 16:29:32 > PARSER_CHG_TARIFF::ParseStart el = Time2 depth = 2 configproto.cpp > 16:29:32 > ParseXMLStart parser_tariff.cpp > 16:29:32 > PARSER_CHG_TARIFF::ParseStart el = TraffType2 depth = 2 configproto.cpp > 16:29:32 > ParseXMLStart parser_tariff.cpp > 16:29:32 > PARSER_CHG_TARIFF::ParseStart el = Time3 depth = 2 configproto.cpp > 16:29:32 > ParseXMLStart parser_tariff.cpp > 16:29:32 > PARSER_CHG_TARIFF::ParseStart el = TraffType3 depth = 2 configproto.cpp > 16:29:32 > ParseXMLStart parser_tariff.cpp > 16:29:32 > PARSER_CHG_TARIFF::ParseStart el = Time4 depth = 2 configproto.cpp > 16:29:32 > ParseXMLStart parser_tariff.cpp > 16:29:32 > PARSER_CHG_TARIFF::ParseStart el = TraffType4 depth = 2 configproto.cpp > 16:29:32 > ParseXMLStart parser_tariff.cpp > 16:29:32 > PARSER_CHG_TARIFF::ParseStart el = Time5 depth = 2 configproto.cpp > 16:29:32 > ParseXMLStart parser_tariff.cpp > 16:29:32 > PARSER_CHG_TARIFF::ParseStart el = TraffType5 depth = 2 configproto.cpp > 16:29:32 > ParseXMLStart parser_tariff.cpp > 16:29:32 > PARSER_CHG_TARIFF::ParseStart el = Time6 depth = 2 configproto.cpp > 16:29:32 > ParseXMLStart parser_tariff.cpp > 16:29:32 > PARSER_CHG_TARIFF::ParseStart el = TraffType6 depth = 2 configproto.cpp > 16:29:32 > ParseXMLStart parser_tariff.cpp > 16:29:32 > PARSER_CHG_TARIFF::ParseStart el = Time7 depth = 2 configproto.cpp > 16:29:32 > ParseXMLStart parser_tariff.cpp > 16:29:32 > PARSER_CHG_TARIFF::ParseStart el = TraffType7 depth = 2 configproto.cpp > 16:29:32 > ParseXMLStart parser_tariff.cpp > 16:29:32 > PARSER_CHG_TARIFF::ParseStart el = Time8 depth = 2 configproto.cpp > 16:29:32 > ParseXMLStart parser_tariff.cpp > 16:29:32 > PARSER_CHG_TARIFF::ParseStart el = TraffType8 depth = 2 configproto.cpp > 16:29:32 > ParseXMLStart parser_tariff.cpp > 16:29:32 > PARSER_CHG_TARIFF::ParseStart el = Time9 depth = 2 configproto.cpp > 16:29:32 > ParseXMLStart parser_tariff.cpp > 16:29:32 > PARSER_CHG_TARIFF::ParseStart el = TraffType9 depth = 2 configproto.cpp > 16:29:32 > ParseXMLStart parser_tariff.cpp > 16:29:32 > PARSER_CHG_TARIFF::ParseStart el = PriceDayA depth = 2 parser_tariff.cpp > 16:29:32 > ParseSlashedDoubleParams - OK!!! configproto.cpp > 16:29:32 > ParseXMLStart parser_tariff.cpp > 16:29:32 > PARSER_CHG_TARIFF::ParseStart el = PriceDayB depth = 2 parser_tariff.cpp > 16:29:32 > ParseSlashedDoubleParams - OK!!! configproto.cpp > 16:29:32 > ParseXMLStart parser_tariff.cpp > 16:29:32 > PARSER_CHG_TARIFF::ParseStart el = PriceNightA depth = 2 parser_tariff.cpp > 16:29:32 > ParseSlashedDoubleParams - OK!!! configproto.cpp > 16:29:32 > ParseXMLStart parser_tariff.cpp > 16:29:32 > PARSER_CHG_TARIFF::ParseStart el = PriceNightB depth = 2 parser_tariff.cpp > 16:29:32 > ParseSlashedDoubleParams - OK!!! configproto.cpp > 16:29:32 > ParseXMLStart parser_tariff.cpp > 16:29:32 > PARSER_CHG_TARIFF::ParseStart el = Threshold depth = 2 parser_tariff.cpp > 16:29:32 > ParseSlashedIntParams - OK!!! configproto.cpp > 16:29:32 > ParseXMLStart parser_tariff.cpp > 16:29:32 > PARSER_CHG_TARIFF::ParseStart el = SinglePrice depth = 2 parser_tariff.cpp > 16:29:32 > ParseSlashedIntParams - OK!!! configproto.cpp > 16:29:32 > ParseXMLStart parser_tariff.cpp > 16:29:32 > PARSER_CHG_TARIFF::ParseStart el = NoDiscount depth = 2 parser_tariff.cpp > 16:29:32 > ParseSlashedIntParams - OK!!! configproto.cpp > 16:29:32 > ParseXMLStart parser_tariff.cpp > 16:29:32 > PARSER_CHG_TARIFF::ParseStart el = Fee depth = 2 configproto.cpp > 16:29:32 > ParseXMLStart parser_tariff.cpp > 16:29:32 > PARSER_CHG_TARIFF::ParseStart el = Free depth = 2 configproto.cpp > 16:29:32 > ParseXMLStart parser_tariff.cpp > 16:29:32 > PARSER_CHG_TARIFF::ParseStart el = PassiveCost depth = 2 configproto.cpp > 16:29:32 > currParser == NULL Сталкивался ли кто-нибудь с таким? Подскажите, в какую сторону копать?
  18. Реальные айпихи раздаёт не старгейзер, а DHCP сервер. В принципе возможно, просто вместо NAT на сервере поднимается маршрутизация
  19. Stiff

    мелкие баги

    Наблюдаю неприятный глюк: меняю тарифный план в конфигураторе, ставлю подсчёт трафика "download", нажимаю кнопку сохранить. Появляется окошко "тариф успешно сохранён", но после закрытия этого окошка значение поля "подсчёт трафика" сбрасывается на "upload". Использую новогодний билд с модулем mysql. Версия конфигуратора 1.89.9 Можно ли пофиксить это?
  20. Большая просьба добавить в мануал по инсталляции, что, к примеру, для убунту должен быть установлен пакет libssl-dev, без него не может при компиляции найти md5.h
  21. Stiff

    Deps:2: *** Missing Separator. Stop.

    Нет, причина была не в этом. Поиск в гугле и на форуме по слову "ubuntu" дал результаты: Решение данной проблемы - добавление строки SHELL=/bin/bash в Makefile.
  22. Stiff

    Deps:2: *** Missing Separator. Stop.

    Найдено ли решение? тоже бьюсь над этой проблемой. Убунту сервер 7.10
  23. Помогите плз, где можно скачать модуль radius для старгейзера? если ссылка непублична, просьба выслать в личку
×
×
  • Створити нове...