Перейти до

Установка Stg


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

Ну на нет как я уже говорил, и суда нет. У меня на пхп все отлично отрабатывает. shell_exec юзай, и выполняй, пока... Ну в общем, ты понял...

Ссылка на сообщение
Поделиться на других сайтах
  • 2 weeks later...

C башом и со всем разобрался,кроме одного

RTNETLINK answers: File exists

We have an error talking to the kernel

Хотя этот код

# ========= shaping by userdata0 ==========

speedR=$(grep -i "^Userdata0=" /var/stargazer/users/$LOGIN/conf | cut -f 2 -d"=")

speed=$(echo $speedR | grep "^[0-9]*[0-9]$")

 

if [ -z "$speed" ]

then

speedkb=$default_speed

else

speedkb="$speed"kbit

fi

# ======= shaping by userdata0 end ========

Работает.. но мне нужно по тарифу..

Ссылка на сообщение
Поделиться на других сайтах

Прошу прощения =) Я лохонулся) в OnDisconnect криво написал один код) поэтому он инет то отключал,а шнапер то не отключал (не удалял правило) Поэтому писало,что типа уже создано!

СПАСИБО Neelix'у!!!! Век не забуду) (если проживу век =) ы)

Ссылка на сообщение
Поделиться на других сайтах
  • 3 weeks later...
написать WMZ или WMU кошелек? :)

Блин только яндекс,слушай напиши в аську 364921083

Есть пару вопросов связаны с ограничкой.

То есть смотри

Вводишь 255.0.0.0 (маску)

Скорость локальная 1 гб/сек

Но мне это не надо,у меня 1 сервер за 4 дома отвечает

Другой за 4 других,а если маску 255.0.0.0 между ними нет связи (если соединятся между домами) (иправить можно,но это лишний кабель и коммуникатор) то есть 255.0.0.0 - это напрямую

Ну и связи нет между разными домами (т.к старгазера 2 и сервера 2)

Если настроить маску 255.255.248.0 (как мне нужно)

Связь со всеми - есть

И tracert идет не напрямую а например вот так.

 

Трассировка маршрута к 10-23-72-111.*****.ru [10.23.72.111]

с максимальным числом прыжков 30:

 

1 <1 мс <1 мс <1 мс gw-1.******.ru [10.23.64.10]

2 <1 мс <1 мс <1 мс 10-23-72-111.*****.ru [10.23.72.111]

 

- это где первый сервер

 

Где второй

 

Трассировка маршрута к 10-23-73-5.*****.ru [10.23.73.5]

с максимальным числом прыжков 30:

 

1 <1 мс <1 мс <1 мс gw-1.******.ru [10.23.64.10]

1 <1 мс <1 мс <1 мс gw-2.******.ru [10.23.64.8] - шлюзовой сервер 2

2 <1 мс <1 мс <1 мс 10-23-73-5.*****.ru [10.23.73.5]

 

Трассировка завершена.

А если канал забить - пинг будет нереальный,т.к проходит через сервер.

А если с 255.0.0.0 вот

 

Трассировка маршрута к 10-23-73-5.*****.ru [10.23.73.5]

с максимальным числом прыжков 30:

 

1 * * * Превышен интервал ожидания для запроса.

 

и все...

 

То есть сначала сервер,потом клиент.

А если через 255.0.0.0 - на прямую.

То сразу клиент.

И конечно скорость он режет т.к проходит через сервер.

То есть,как НЕ ограничивать скорость ТОЛЬКО для 10.23.0.0/16

 

(и да,если авторизатор офф,скорость 1 гб,как нужно,если он вкл,то выбранный тариф к примеру 512 кб между ними)

Ссылка на сообщение
Поделиться на других сайтах
  • 3 weeks later...

Помогите пытаюсь поставить вот что пишет

server:/home/viktor/stg-2.405.9.8/projects/stargazer# ./build
#############################################################################
   Building STG 2.4 for Linux 
#############################################################################
Checking for -lexpat... yes
Checking for -lfbclient... no
Checking for -lmysqlclient... no
gmake -C /home/viktor/stg-2.405.9.8/projects/stargazer/../../stglibs includes
gmake[1]: Entering directory `/home/viktor/stg-2.405.9.8/stglibs'
gmake includes -C stg_logger.lib
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/stglibs/stg_logger.lib'
cp -p stg_logger.h /home/viktor/stg-2.405.9.8/projects/stargazer/../../include
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/stglibs/stg_logger.lib'
gmake includes -C stg_locker.lib
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/stglibs/stg_locker.lib'
cp -p stg_locker.h /home/viktor/stg-2.405.9.8/projects/stargazer/../../include
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/stglibs/stg_locker.lib'
gmake includes -C crypto.lib
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/stglibs/crypto.lib'
cp -p ag_md5.h blowfish.h /home/viktor/stg-2.405.9.8/projects/stargazer/../../include
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/stglibs/crypto.lib'
gmake includes -C common.lib
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/stglibs/common.lib'
cp -p debug.h stg_error.h common.h /home/viktor/stg-2.405.9.8/projects/stargazer/../../include
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/stglibs/common.lib'
gmake includes -C script_executer.lib
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/stglibs/script_executer.lib'
cp -p script_executer.h /home/viktor/stg-2.405.9.8/projects/stargazer/../../include
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/stglibs/script_executer.lib'
gmake includes -C conffiles.lib
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/stglibs/conffiles.lib'
cp -p conffiles.h /home/viktor/stg-2.405.9.8/projects/stargazer/../../include
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/stglibs/conffiles.lib'
gmake includes -C hostallow.lib
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/stglibs/hostallow.lib'
cp -p hostallow.h /home/viktor/stg-2.405.9.8/projects/stargazer/../../include
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/stglibs/hostallow.lib'
gmake includes -C pinger.lib
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/stglibs/pinger.lib'
cp -p pinger.h /home/viktor/stg-2.405.9.8/projects/stargazer/../../include
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/stglibs/pinger.lib'
gmake includes -C dotconfpp.lib
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/stglibs/dotconfpp.lib'
cp -p dotconfpp.h mempool.h /home/viktor/stg-2.405.9.8/projects/stargazer/../../include
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/stglibs/dotconfpp.lib'
gmake[1]: Leaving directory `/home/viktor/stg-2.405.9.8/stglibs'
gmake -C /home/viktor/stg-2.405.9.8/projects/stargazer/../../stglibs
gmake[1]: Entering directory `/home/viktor/stg-2.405.9.8/stglibs'
gmake  -C stg_logger.lib
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/stglibs/stg_logger.lib'
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/stglibs/stg_logger.lib'
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/stglibs/stg_logger.lib'
g++ -O2 -I/usr/local/include -Wall -fPIC -I /home/viktor/stg-2.405.9.8/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c stg_logger.cpp
g++ -L/usr/local/lib -shared -Wl,-rpath,/usr/lib/stg -Wl,-soname,libstg_logger.so stg_logger.o  -o libstg_logger.so -L /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib 
ar rc libstg_logger.a stg_logger.o
ranlib libstg_logger.a
cp *.so /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib
cp *.a /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/stglibs/stg_logger.lib'
gmake  -C stg_locker.lib
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/stglibs/stg_locker.lib'
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/stglibs/stg_locker.lib'
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/stglibs/stg_locker.lib'
g++ -O2 -I/usr/local/include -Wall -fPIC -I /home/viktor/stg-2.405.9.8/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c stg_locker.cpp
g++ -L/usr/local/lib -shared -Wl,-rpath,/usr/lib/stg -Wl,-soname,libstg_locker.so stg_locker.o  -o libstg_locker.so -L /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib 
ar rc libstg_locker.a stg_locker.o
ranlib libstg_locker.a
cp *.so /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib
cp *.a /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/stglibs/stg_locker.lib'
gmake  -C crypto.lib
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/stglibs/crypto.lib'
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/stglibs/crypto.lib'
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/stglibs/crypto.lib'
g++ -O2 -I/usr/local/include -Wall -fPIC -I /home/viktor/stg-2.405.9.8/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c ag_md5.c
ag_md5.c: In function ‘char* libshadow_md5_crypt(const char*, const char*)’:
ag_md5.c:324: warning: deprecated conversion from string constant to ‘char*’
g++ -O2 -I/usr/local/include -Wall -fPIC -I /home/viktor/stg-2.405.9.8/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c blowfish.cpp
g++ -L/usr/local/lib -shared -Wl,-rpath,/usr/lib/stg -Wl,-soname,libstg_crypto.so ag_md5.o blowfish.o  -o libstg_crypto.so -L /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib 
ar rc libstg_crypto.a ag_md5.o blowfish.o
ranlib libstg_crypto.a
cp *.so /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib
cp *.a /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/stglibs/crypto.lib'
gmake  -C common.lib
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/stglibs/common.lib'
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/stglibs/common.lib'
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/stglibs/common.lib'
g++ -O2 -I/usr/local/include -Wall -fPIC -I /home/viktor/stg-2.405.9.8/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c debug.c
g++ -O2 -I/usr/local/include -Wall -fPIC -I /home/viktor/stg-2.405.9.8/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c stg_error.c
stg_error.c: In function ‘char* GetErrorString(RESULT_DATA)’:
stg_error.c:30: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:36: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:41: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:46: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:51: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:56: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:61: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:66: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:71: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:76: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:81: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:86: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:91: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:96: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:101: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:106: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:111: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:116: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:121: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:127: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:132: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:137: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:142: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:148: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:153: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:158: warning: deprecated conversion from string constant to ‘char*’
g++ -O2 -I/usr/local/include -Wall -fPIC -I /home/viktor/stg-2.405.9.8/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c common.cpp
g++ -O2 -I/usr/local/include -Wall -fPIC -I /home/viktor/stg-2.405.9.8/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c stg_strptime.cpp
g++ -L/usr/local/lib -shared -Wl,-rpath,/usr/lib/stg -Wl,-soname,libstg_common.so debug.o stg_error.o common.o stg_strptime.o -lstg_crypto -o libstg_common.so -L /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib 
ar rc libstg_common.a debug.o stg_error.o common.o stg_strptime.o
ranlib libstg_common.a
cp *.so /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib
cp *.a /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/stglibs/common.lib'
gmake  -C script_executer.lib
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/stglibs/script_executer.lib'
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/stglibs/script_executer.lib'
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/stglibs/script_executer.lib'
g++ -O2 -I/usr/local/include -Wall -fPIC -I /home/viktor/stg-2.405.9.8/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c script_executer.cpp
g++ -L/usr/local/lib -shared -Wl,-rpath,/usr/lib/stg -Wl,-soname,libscript_executer.so script_executer.o  -o libscript_executer.so -L /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib 
ar rc libscript_executer.a script_executer.o
ranlib libscript_executer.a
cp *.so /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib
cp *.a /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/stglibs/script_executer.lib'
gmake  -C conffiles.lib
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/stglibs/conffiles.lib'
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/stglibs/conffiles.lib'
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/stglibs/conffiles.lib'
g++ -O2 -I/usr/local/include -Wall -fPIC -I /home/viktor/stg-2.405.9.8/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c conffiles.cpp
g++ -L/usr/local/lib -shared -Wl,-rpath,/usr/lib/stg -Wl,-soname,libconffiles.so conffiles.o  -o libconffiles.so -L /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib 
ar rc libconffiles.a conffiles.o
ranlib libconffiles.a
cp *.so /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib
cp *.a /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/stglibs/conffiles.lib'
gmake  -C hostallow.lib
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/stglibs/hostallow.lib'
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/stglibs/hostallow.lib'
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/stglibs/hostallow.lib'
g++ -O2 -I/usr/local/include -Wall -fPIC -I /home/viktor/stg-2.405.9.8/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c hostallow.cpp
g++ -L/usr/local/lib -shared -Wl,-rpath,/usr/lib/stg -Wl,-soname,libhostallow.so hostallow.o  -o libhostallow.so -L /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib 
ar rc libhostallow.a hostallow.o
ranlib libhostallow.a
cp *.so /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib
cp *.a /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/stglibs/hostallow.lib'
gmake  -C pinger.lib
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/stglibs/pinger.lib'
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/stglibs/pinger.lib'
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/stglibs/pinger.lib'
g++ -O2 -I/usr/local/include -Wall -fPIC -I /home/viktor/stg-2.405.9.8/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c pinger.cpp
g++ -L/usr/local/lib -shared -Wl,-rpath,/usr/lib/stg -Wl,-soname,libstg_pinger.so pinger.o  -o libstg_pinger.so -L /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib 
ar rc libstg_pinger.a pinger.o
ranlib libstg_pinger.a
cp *.so /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib
cp *.a /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/stglibs/pinger.lib'
gmake  -C dotconfpp.lib
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/stglibs/dotconfpp.lib'
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/stglibs/dotconfpp.lib'
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/stglibs/dotconfpp.lib'
g++ -O2 -I/usr/local/include -Wall -fPIC -I /home/viktor/stg-2.405.9.8/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c dotconfpp.cpp
g++ -O2 -I/usr/local/include -Wall -fPIC -I /home/viktor/stg-2.405.9.8/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c mempool.cpp
g++ -L/usr/local/lib -shared -Wl,-rpath,/usr/lib/stg -Wl,-soname,libdotconfpp.so dotconfpp.o mempool.o  -o libdotconfpp.so -L /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib 
ar rc libdotconfpp.a dotconfpp.o mempool.o
ranlib libdotconfpp.a
cp *.so /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib
cp *.a /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/stglibs/dotconfpp.lib'
gmake[1]: Leaving directory `/home/viktor/stg-2.405.9.8/stglibs'
gmake -C /home/viktor/stg-2.405.9.8/projects/stargazer/plugins
gmake[1]: Entering directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins'
gmake  -C authorization/ao
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/authorization/ao'
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/authorization/ao'
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/authorization/ao'
g++ -c ao.cpp -O2 -I/usr/local/include -Wall -fPIC -I /home/viktor/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ ao.o /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/home/viktor/stg-2.405.9.8/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lstg_common -o mod_auth_ao.so
ln -fs "`pwd`/mod_auth_ao.so" /home/viktor/stg-2.405.9.8/projects/stargazer/modules/mod_auth_ao.so
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/authorization/ao'
gmake  -C authorization/inetaccess
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/authorization/inetaccess'
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/authorization/inetaccess'
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/authorization/inetaccess'
g++ -c inetaccess.cpp -O2 -I/usr/local/include -Wall -fPIC -I /home/viktor/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ inetaccess.o /usr/lib/libpthread.so /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/home/viktor/stg-2.405.9.8/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lpthread -lstg_common -o mod_auth_ia.so
ln -fs "`pwd`/mod_auth_ia.so" /home/viktor/stg-2.405.9.8/projects/stargazer/modules/mod_auth_ia.so
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/authorization/inetaccess'
gmake  -C configuration/sgconfig
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/configuration/sgconfig'
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/configuration/sgconfig'
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/configuration/sgconfig'
g++ -c stgconfig.cpp -O2 -I/usr/local/include -Wall -fPIC -I /home/viktor/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c rsconf.cpp -O2 -I/usr/local/include -Wall -fPIC -I /home/viktor/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c configproto.cpp -O2 -I/usr/local/include -Wall -fPIC -I /home/viktor/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c parser.cpp -O2 -I/usr/local/include -Wall -fPIC -I /home/viktor/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
parser.cpp: In member function ‘virtual int PARSER_CHG_USER::ParseStart(void*, const char*, const char**)’:
parser.cpp:729: warning: ‘creditExpire’ may be used uninitialized in this function
g++ -c parser_tariff.cpp -O2 -I/usr/local/include -Wall -fPIC -I /home/viktor/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c parser_admin.cpp -O2 -I/usr/local/include -Wall -fPIC -I /home/viktor/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
parser_admin.cpp: In member function ‘virtual void PARSER_CHG_ADMIN::CreateAnswer()’:
parser_admin.cpp:242: warning: ‘p’ may be used uninitialized in this function
g++ stgconfig.o rsconf.o configproto.o parser.o parser_tariff.o parser_admin.o /usr/lib/libpthread.so /usr/lib/libexpat.so /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib/libstg_logger.so -L/usr/local/lib -shared -L/home/viktor/stg-2.405.9.8/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lpthread -lexpat -lstg_common -lstg_logger -o mod_conf_sg.so
ln -fs "`pwd`/mod_conf_sg.so" /home/viktor/stg-2.405.9.8/projects/stargazer/modules/mod_conf_sg.so
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/configuration/sgconfig'
gmake  -C other/ping
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/other/ping'
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/other/ping'
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/other/ping'
g++ -c ping.cpp -O2 -I/usr/local/include -Wall -fPIC -I /home/viktor/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ ping.o /usr/lib/libpthread.so /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib/libstg_pinger.so /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/home/viktor/stg-2.405.9.8/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lpthread -lstg_pinger -lstg_common -o mod_ping.so
ln -fs "`pwd`/mod_ping.so" /home/viktor/stg-2.405.9.8/projects/stargazer/modules/mod_ping.so
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/other/ping'
gmake  -C other/rscript
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/other/rscript'
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/other/rscript'
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/other/rscript'
g++ -c rscript.cpp -O2 -I/usr/local/include -Wall -fPIC -I /home/viktor/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ rscript.o /usr/lib/libpthread.so /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/home/viktor/stg-2.405.9.8/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lpthread -lstg_common -o mod_remote_script.so
ln -fs "`pwd`/mod_remote_script.so" /home/viktor/stg-2.405.9.8/projects/stargazer/modules/mod_remote_script.so
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/other/rscript'
gmake  -C other/radius
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/other/radius'
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/other/radius'
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/other/radius'
g++ -c radius.cpp -O2 -I/usr/local/include -Wall -fPIC -I /home/viktor/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
radius.cpp: In member function ‘int RADIUS::ProcessData(RAD_PACKET*)’:
radius.cpp:441: warning: unused variable ‘addr’
g++ radius.o /usr/lib/libpthread.so /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/home/viktor/stg-2.405.9.8/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lpthread -lstg_common -o mod_radius.so
ln -fs "`pwd`/mod_radius.so" /home/viktor/stg-2.405.9.8/projects/stargazer/modules/mod_radius.so
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/other/radius'
gmake  -C store/files
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/store/files'
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/store/files'
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/store/files'
g++ -c file_store.cpp -O2 -I/usr/local/include -Wall -fPIC -I /home/viktor/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
/home/viktor/stg-2.405.9.8/projects/stargazer/../../include/user_ips.h: In function ‘const USER_IPS StrToIPS(const std::string&)’:
/home/viktor/stg-2.405.9.8/projects/stargazer/../../include/user_ips.h:243: warning: ‘m’ may be used uninitialized in this function
g++ file_store.o /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib/libconffiles.so /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/home/viktor/stg-2.405.9.8/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lconffiles -lstg_common -o mod_store_files.so
ln -fs "`pwd`/mod_store_files.so" /home/viktor/stg-2.405.9.8/projects/stargazer/modules/mod_store_files.so
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/store/files'
gmake  -C capture/ether_linux
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/capture/ether_linux'
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/capture/ether_linux'
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/capture/ether_linux'
g++ -c ether_cap.cpp -O2 -I/usr/local/include -Wall -fPIC -I /home/viktor/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ ether_cap.o /usr/lib/libpthread.so /home/viktor/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/home/viktor/stg-2.405.9.8/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lpthread -lstg_common -o mod_cap_ether.so
ln -fs "`pwd`/mod_cap_ether.so" /home/viktor/stg-2.405.9.8/projects/stargazer/modules/mod_cap_ether.so
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/capture/ether_linux'
gmake  -C capture/ipq_linux
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/capture/ipq_linux'
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/capture/ipq_linux'
gmake[2]: Entering directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/capture/ipq_linux'
g++ -c ipq_cap.cpp -O2 -I/usr/local/include -Wall -fPIC -I /home/viktor/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
In file included from ipq_cap.cpp:2:
/usr/include/linux/netfilter.h:44: error: field ‘in’ has incomplete type
/usr/include/linux/netfilter.h:45: error: field ‘in6’ has incomplete type
gmake[2]: *** [ipq_cap.o] Ошибка 1
gmake[2]: Leaving directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins/capture/ipq_linux'
gmake[1]: *** [capture/ipq_linux] Ошибка 2
gmake[1]: Leaving directory `/home/viktor/stg-2.405.9.8/projects/stargazer/plugins'
gmake: *** [plugins] Ошибка 2
server:/home/viktor/stg-2.405.9.8/projects/stargazer#

Ссылка на сообщение
Поделиться на других сайтах
А поискать по форуму слабо?

Я уже раза 4 отвечал на такой вопрос.

Чесно говоря ненашел мож потому что новичек в линкус и незнаю его нюансов подскажи плиз

Ссылка на сообщение
Поделиться на других сайтах

См., например, здесь http://local.com.ua/forum/index.php?showto...mp;#entry101938

Ну и лучше все же взять новую версию отсюда http://stg.dp.ua/download/stg-2.4-2009.03.05-09.41.01.tgz , где подобных проблем наблюдаться не должно.

Ссылка на сообщение
Поделиться на других сайтах
С этим вопросом, пожалуйста, обратитесь к манам или в другой раздел форума.

Здесь обсуждается только stargazer.

Вы не поняли я про это где оно меняется

post-1028-1237061878_thumb.jpg

Ссылка на сообщение
Поделиться на других сайтах
  • 1 month later...

Создайте аккаунт или войдите в него для комментирования

Вы должны быть пользователем, чтобы оставить комментарий

Создать аккаунт

Зарегистрируйтесь для получения аккаунта. Это просто!

Зарегистрировать аккаунт

Вхід

Уже зарегистрированы? Войдите здесь.

Войти сейчас
  • Зараз на сторінці   0 користувачів

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

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