Перейти до

Рекомендованные сообщения

  • Відповіді 972
  • Створено
  • Остання відповідь

Top Posters In This Topic

Опубліковано:

Появился вопросик по pptpd

 

Если моя машина без DHCP ( 192,168,4,20)

то что мне указывать в пункте 2,2,1 и 2,2,2

там где поля с айпи адресами ???

 

Могу ли я диапозон айпи сам выдумать

или он должен както DHCP соответсвовать

либо я должен на сервере собственную службу DHCP запустить и сконфигурировать ....

 

и еще вопрос по поводу шейпера

у меня в etc/ppp/ нет каталога ip-up.d

если я его просто создам , мне будет нужна какаято дополнительная донастройка ???

Опубліковано:
после патча пути к библиотекам другие, приходится вручную править, но это мелочи, всего в паре мест чуть-чуть подкорректировать на такие же как в оригинальном стг.

Что конкретно и где надо поменять?

и нельзя ли выпустить патч, который затрагивает makefile?

Опубліковано:

При компиляции стг 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

Опубліковано:
Что конкретно и где надо поменять?

#include "mysql_store.h"

#include "blowfish.h"

в mysql_store.cpp посмотри, как в оригинальном стг прописано

Опубліковано:

to: Alferov

Хочу удостовериться, правильно ли я собрал на версии stg-2.404-9.7

Если копировать в исходники из архива stg-web_0.0.8 внутри из mod_store_mysql-0.67, то патч выдает, что патч уже применен. А на чистый stg-2.404-9.7 патч применяется гладко и далее работает все, только смущает при запуске:

Storage plugin: mysql_store v.0.67 (STG-Web). Loading successfull.

Должно же встречаться (Alf).Правильно ли?

Опубліковано:

Всё домучал эту новогоднюю сборку :)

вот что сделал после патченья:

в 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, чтоб народ не мучался :)

а лучше даже патч поправить

Опубліковано:

freebsd 6.3 Сервер, версия 2.404.9.7 пропатчен, все что в доках сделал, а в веб админку не пускает!

Message queue created successfully. msgKey=5555 msgID=65536
Timer thread started successfully.
Storage plugin: mysql_store v.0.67 (STG-Web). Loading successfull.
Users started successfully.
Traffcounter started successfully.
Module: 'bpf_cap v.1.0'. Start successfull. 0
Module: 'InetAccess authorizator v.1.2'. Start successfull. 50
Module: 'Always Online authorizator v.1.0'. Start successfull. 70
Module: 'Pinger v.1.01'. Start successfull. 100
Module: 'Stg configurator v.0.07'. Start successfull. 220
Stg started successfully.

в виндовой все без проблем! под виндой админа нового завел не помогло

не пропускает логин и пароль В доступе отказано !!!

В базе пароль пробывал менять как раньше было написано -не помогло!

Опубліковано:

Куда именно не пускает? В пользовательский или в админский раздел?

sgconf_xml работает? Из консоли данные получать удается?

Опубліковано:

Пересобрал все заново. Не получяется не в веб админку и не веб пользователем! Через виндовую админку безпроблем.

перед этим соберал без патча кругом по веб интерфейсу ходил только пару функций не работало!

sgconf_xml работает?

посути работает не ругается на КК

Из консоли данные получать удается?

Не знаю как это сделать?? посмотреть??

Опубліковано:

вобщем случилась такая беда, подключил трех юзеров завел их соответственно но через конфигуратор прошло дня три вырубили у нас свет, пропало два последних юзера в логах чисто...

 

 

Stargazer 2.4 с мускулем от Альфа

 

 

и при добавлении пользователя пишет

Пользователь test успешно добавлен

 

 

Ошибка при добавлении пользователя в таблицу web_stg_users

Продолжить редактирование

 

 

 

 

Пользователь test отредактирован.

Изменены следующие параметры:

Параметр Старое значение Новое значение

tariff  "*_NO_TARIFF_*"  "unlim-"

group  ""  "unlim 18"

password  "*_EMPTY_PASSWORD_*"  "test"

ip  "*"  "172.24.3.253"

name  ""  "?"

address  ""  "?"

phone  ""  "?"

dealer_percent  "0"  ""

 

 

 

Ответ сервера: ok

 

Вернуться на страницу поиска

 

 

Ответ сервера: ok

 

при етом пользователь добавляется и все нормально, в логе СТГ тоже пишет что юзер добавлен

 

и в таблицу web_stg_users полльзователя заносит

Опубліковано:
Пересобрал все заново. Не получяется не в веб админку и не  веб пользователем! Через виндовую админку безпроблем.

перед этим соберал без патча кругом по веб интерфейсу ходил только пару функций не работало!

sgconf_xml работает?

посути работает не ругается на КК

Из консоли данные получать удается?

Не знаю как это сделать?? посмотреть??

установка sgconf.1.04.9 все поставила на свои места!

все да не все в юзерке "Операции со счетом" не один пункт не открывается!

Опубліковано:
вобщем случилась такая беда, подключил трех юзеров завел их соответственно но через конфигуратор прошло дня три вырубили у нас свет, пропало два последних юзера в логах чисто...

Не совсем понятно, при чем тут stg-web. При добавлении пользователей через виндовый конфигуратор не добавляются записи в таблицу web_stg_users. Страшного при этом ничего не случится. СТГ при этом будет работать с этим юзером и ошибок быть не должно. Ошибки будут при работе с web-мордой... незначительные.

Что же до пропадания юзеров, то не совсем понятно почему они вообще в базу не попали. Та часть mysql-модуля, которая отвечает за это, вообще не трогалась. Т.е. это ошибка либо самого стг, либо модуля mysql_store.

 

все да не все в юзерке "Операции со счетом" не один пункт не открывается!

Очень информативно. ))

Что именно происходит при попытке открытия чего либо?

Опубліковано:
Что именно происходит при попытке открытия чего либо?

когда жму на любую с этих ссылок

» Карта оплаты

» Обещанный платеж

» Денежный перевод

 

"Веб-узел не может отобразить страницу HTTP 500"

Опубліковано:

[root@gw sgconf_xml]# ./sgconf_xml

./sgconf_xml: symbol lookup error: //usr/lib/stg/libstg_common.so: undefined symbol: stgTime

 

Народ - а как с этим бороться собственно... библиотека данная на месте.....?!

Опубліковано:
"Веб-узел не может отобразить страницу HTTP 500"

500 - это ошибка веб-сервера. Смотри логи апача, или что там у тебя.

 

root@gw sgconf_xml]# ./sgconf_xml

./sgconf_xml: symbol lookup error: //usr/lib/stg/libstg_common.so: undefined symbol: stgTime

 

Народ - а как с этим бороться собственно... библиотека данная на месте.....?!

Скопируй эту либу еще раз в /usr/lib/stg

Она меняется при сборке sgconf_xml. С чем это связано - хз. Какие то заморочки компиляции. Об этом лучше спросить разработчиков стг.

Опубліковано:

500 - это ошибка веб-сервера. Смотри логи апача, или что там у тебя.

 

 

Из лога апача

[sun May 04 10:40:09 2008] [error] [client 192.168.15.3] PHP Parse error:  syntax error, unexpected $end in /usr/local/www/apache22/data/stat/html/user/cards.php on line 202, referer: http://stat/html/user/

Опубліковано:
Хм... а почему 500? Странно.

Может файлик битый? Перезалить не пробовал?

собака была зарыта в самом php. переустановка ришила проблему!

Опубліковано:

Очередной раз спасибо г-ну Алферову за активную помощ всем пользователем данной полезной фичи, на самом деле все заработало после переноса модуля из исходников в стг, но что теперь делать с такой траблой в админке наверху в левом углу (Create actions table... error! (query is empty)).

Наверное из за этого нельзя использовать некоторые прелести данной веб морды, на пример как детализация сеансов или открытые сеансы?!

Опубліковано:

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

Как пофиксить?

рекомендации с первой стр. все выполнены

версия стг stg-2.404.9.7, админка 0.08

Опубліковано:
Очередной раз спасибо г-ну Алферову за активную помощ всем пользователем данной полезной фичи, на самом деле все заработало после переноса модуля из исходников в стг, но что теперь делать с такой траблой в админке наверху в левом углу (Create actions table... error! (query is empty)).

Наверное из за этого нельзя использовать некоторые прелести данной веб морды, на пример как детализация сеансов или открытые сеансы?!

В базе в ручную!!!

CREATE TABLE `actions` (
`unid` varchar(64) NOT NULL default '',
`login` varchar(50) NOT NULL default '',
`time_start` datetime NOT NULL default '0000-00-00 00:00:00',
`time_stop` datetime NOT NULL default '0000-00-00 00:00:00',
`time_on` int(11) NOT NULL default '0',
`admin` varchar(64) NOT NULL default '',
`ip` varchar(17) NOT NULL default '',
`call_to` varchar(254) NOT NULL default '',
`call_from` varchar(254) NOT NULL default '',
`action` varchar(64) NOT NULL default '',
`d_all` bigint(30) NOT NULL default '0',
`u_all` bigint(30) NOT NULL default '0',
`d0` bigint(30) NOT NULL default '0',
`u0` bigint(30) NOT NULL default '0',
`d1` bigint(30) NOT NULL default '0',
`u1` bigint(30) NOT NULL default '0',
`d2` bigint(30) NOT NULL default '0',
`u2` bigint(30) NOT NULL default '0',
`d3` bigint(30) NOT NULL default '0',
`u3` bigint(30) NOT NULL default '0',
`d4` bigint(30) NOT NULL default '0',
`u4` bigint(30) NOT NULL default '0',
`d5` bigint(30) NOT NULL default '0',
`u5` bigint(30) NOT NULL default '0',
`d6` bigint(30) NOT NULL default '0',
`u6` bigint(30) NOT NULL default '0',
`d7` bigint(30) NOT NULL default '0',
`u7` bigint(30) NOT NULL default '0',
`d8` bigint(30) NOT NULL default '0',
`u8` bigint(30) NOT NULL default '0',
`d9` bigint(30) NOT NULL default '0',
`u9` bigint(30) NOT NULL default '0',
`cash_before` double(12,2) NOT NULL default '0.00',
`cash_after` double(12,2) NOT NULL default '0.00',
`cash_minus` double(12,2) NOT NULL default '0.00',
`comment` varchar(254) default NULL,
PRIMARY KEY  (`unid`),
KEY `login` (`login`),
KEY `action` (`action`)
) TYPE=MyISAM;

 

А лучше поставь все с начала и с патчем!

мне помогло!

Опубліковано:
Очередной раз спасибо г-ну Алферову за активную помощ всем пользователем данной полезной фичи, на самом деле все заработало после переноса модуля из исходников в стг, но что теперь делать с такой траблой в админке наверху в левом углу (Create actions table... error! (query is empty)).

Наверное из за этого нельзя использовать некоторые прелести данной веб морды, на пример как детализация сеансов или открытые сеансы?!

В базе в ручную!!!

CREATE TABLE `actions` (
`unid` varchar(64) NOT NULL default '',
`login` varchar(50) NOT NULL default '',
`time_start` datetime NOT NULL default '0000-00-00 00:00:00',
`time_stop` datetime NOT NULL default '0000-00-00 00:00:00',
`time_on` int(11) NOT NULL default '0',
`admin` varchar(64) NOT NULL default '',
`ip` varchar(17) NOT NULL default '',
`call_to` varchar(254) NOT NULL default '',
`call_from` varchar(254) NOT NULL default '',
`action` varchar(64) NOT NULL default '',
`d_all` bigint(30) NOT NULL default '0',
`u_all` bigint(30) NOT NULL default '0',
`d0` bigint(30) NOT NULL default '0',
`u0` bigint(30) NOT NULL default '0',
`d1` bigint(30) NOT NULL default '0',
`u1` bigint(30) NOT NULL default '0',
`d2` bigint(30) NOT NULL default '0',
`u2` bigint(30) NOT NULL default '0',
`d3` bigint(30) NOT NULL default '0',
`u3` bigint(30) NOT NULL default '0',
`d4` bigint(30) NOT NULL default '0',
`u4` bigint(30) NOT NULL default '0',
`d5` bigint(30) NOT NULL default '0',
`u5` bigint(30) NOT NULL default '0',
`d6` bigint(30) NOT NULL default '0',
`u6` bigint(30) NOT NULL default '0',
`d7` bigint(30) NOT NULL default '0',
`u7` bigint(30) NOT NULL default '0',
`d8` bigint(30) NOT NULL default '0',
`u8` bigint(30) NOT NULL default '0',
`d9` bigint(30) NOT NULL default '0',
`u9` bigint(30) NOT NULL default '0',
`cash_before` double(12,2) NOT NULL default '0.00',
`cash_after` double(12,2) NOT NULL default '0.00',
`cash_minus` double(12,2) NOT NULL default '0.00',
`comment` varchar(254) default NULL,
PRIMARY KEY  (`unid`),
KEY `login` (`login`),
KEY `action` (`action`)
) TYPE=MyISAM;

 

А лучше поставь все с начала и с патчем!

мне помогло!

Спасибо - помогло на самом деле - исправило кое какие касяки

Но почему нельзя тогда посмотреть кто в онлайн или сесии ???? Просто пишет что по запросу ни чего не найдено((

Гость
Эта тема закрыта для публикации сообщений.
  • Зараз на сторінці   0 користувачів

    • Немає користувачів, що переглядають цю сторінку.

×
×
  • Створити нове...