feducha
СitizensТип контенту
Профили
Форум
Календарь
Все, що було написано feducha
-
Приветствую Всех! Схема такая: Шлюз, на две сетевые приходят 2а интернет канала от разных провайдеров. Нужно - объеденить интернет в один канал. Подскажите какие есть способы решения? Нужно ли вносить изменения в настройки СТГ?
-
2009-03-02 14:53:40 -- Stg v. Stg 2.405 2009-03-02 14:53:40 -- Message queue created successfully. msgKey=5555 msgID=0 2009-03-02 14:53:40 -- Timer thread started successfully. 2009-03-02 14:53:40 -- Storage plugin: mysql_store v.0.67. Loading successfull. 2009-03-02 14:53:41 -- Users started successfully. 2009-03-02 14:53:41 -- Traffcounter started successfully. 2009-03-02 14:53:41 -- Module: 'ipq_cap v.1.1'. Start successfull. 0 2009-03-02 14:53:41 -- Module: 'InetAccess authorizator v.1.2'. Start successfull. 50 2009-03-02 14:53:41 -- Module: 'Stg configurator v.0.07'. Start successfull. 220 2009-03-02 14:53:41 -- Stg started successfully. Не идет Вот еще ошибки есть передаче Link encap:Ethernet HWaddr 00:03:BA:4E:68:76 inet addr:192.168.4.1 Bcast:192.168.7.255 Mask:255.255.252.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:285 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:94 dropped:0 overruns:0 carrier:94 collisions:0 txqueuelen:1000 RX bytes:22696 (22.1 Kb) TX bytes:0 (0.0 Interrupt:9
-
Приветствую! gate fedor # cat /var/log/stargazer.log 2009-03-02 14:04:00 -- Stg v. Stg 2.405 2009-03-02 14:04:00 -- Message queue created successfully. msgKey=5555 msgID=32768 2009-03-02 14:04:00 -- Timer thread started successfully. 2009-03-02 14:04:00 -- Storage plugin: mysql_store v.0.67. Loading successfull. 2009-03-02 14:04:00 -- Users started successfully. 2009-03-02 14:04:00 -- Traffcounter started successfully. 2009-03-02 14:04:00 -- Module: 'ipq_cap v.1.1'. Start successfull. 0 2009-03-02 14:04:00 -- Module: 'CAP_NF v. 0.2'. Start successfull. 0 2009-03-02 14:04:00 -- Module: 'Ether_cap v.1.0'. Start successfull. 10 2009-03-02 14:04:00 -- Module: 'InetAccess authorizator v.1.2'. Start successfull. 50 2009-03-02 14:04:00 -- Module: 'Always Online authorizator v.1.0'. Start successfull. 70 2009-03-02 14:04:00 -- Module: 'Pinger v.1.01'. Start successfull. 100 2009-03-02 14:04:00 -- Module: 'Stg configurator v.0.07'. Start successfull. 220 2009-03-02 14:04:00 -- Stg started successfully. 2009-03-02 14:04:00 -- +++++++++++++++++++++++++++++++++++++++++++++
-
При запущенном СТГ пакеты попадают в очередь queue, что можно посмотреть в cat /proc/net/ip_queue. После того как останавливаю СТГ очередь уже не растет.
-
то что у меня загруженно Module Size Used by ipt_MASQUERADE 4224 1 xt_tcpudp 4096 16 iptable_nat 8900 1 nf_nat 21278 2 ipt_MASQUERADE,iptable_nat nf_conntrack_ipv4 19792 2 iptable_nat nf_conntrack 70448 4 ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4 iptable_filter 3648 1 openpromfs 8840 1 ip_tables 20696 2 iptable_nat,iptable_filter x_tables 21320 4 ipt_MASQUERADE,xt_tcpudp,iptable_nat,ip_tables ip_queue 12440 0 tulip 53512 0 Не понимаю -> и пропиши в фаерволе чтоб загружался модуль ядар.Должно работать. - это что значит?
-
Просто пингую на сервере с СТГ cat /proc/net/ip_queue Peer PID : 0 Copy mode : 0 Copy range : 0 Queue length : 1024 Queue max. length : 1024 Queue dropped : 176 Netlink dropped : 0
-
Не был прописан, добавил <Module cap_ipq> </Module> Это достаточно? СТГ запустился но пакеты так и не проходят в очередь попадают queue но не обрабатываются
-
Ядро собрано с queue gate linux # grep QUEUE .config CONFIG_POSIX_MQUEUE=y CONFIG_NETFILTER_NETLINK_QUEUE=m CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m CONFIG_IP_NF_QUEUE=m CONFIG_NETDEVICES_MULTIQUEUE=y я не делал вот это 1. В файле make.linux меняем строки: # PF_PACKET capture defines=-Dlinux -DTARIFF$(t) #ilbipq capture #defines=-Dlinux -DTARIFF$(t) -DCAPIPQ на # PF_PACKET capture #defines=-Dlinux -DTARIFF$(t) #ilbipq capture defines=-Dlinux -DTARIFF$(t) -DCAPIPQ 2. make clean 3. make СТГ gate stargazer # ./build ############################################################################# Building STG 2.4 for Linux ############################################################################# Checking endianess... Big Endian Checking for -lexpat... yes Checking for -lfbclient... no Checking for -lmysqlclient... yes Checking for -lpq... no - как включить?
-
Настраиваю по документации http://stg.dp.ua/doc20/conf_libipq.html Пункт 1. В файле make.linux меняем строки я не делаю, потому что такого в моем ядре нет. Пунк -> Если у нас были скрипты, подобные тому, как описано в примере по настройке сервера под Linux, то скрипты изменятся заменой слова ACCEPT на QUEUE Все ACCEPT заменил на QUEUE Модули filter и queue загружены правила все применились. Результат через QUEUE трафик у меня не идет, т.е сервер с СТГ не пингуется, авторизатор не конектится. Если делать через ACCEPT все "нормально". Подскажите, что подкрутить нужно?
-
Выкладываю инфу об оборудовании и сборке gentoo на котором все это происходило: cat /proc/cpuinfo cpu : TI UltraSparc IIe (Hummingbird) fpu : UltraSparc IIe integrated FPU prom : OBP 4.0.18 2002/05/23 18:22 type : sun4u ncpus probed : 1 ncpus active : 1 D$ parity tl1 : 0 I$ parity tl1 : 0 Cpu0ClkTck : 0000000020a9d100 MMU Type : Spitfire lspci 00:00.0 Host bridge: Sun Microsystems Computer Corp. Ultra IIe 00:03.0 Non-VGA unclassified device: ALi Corporation M7101 Power Management Controller [PMU] 00:05.0 Ethernet controller: Davicom Semiconductor, Inc. 21x4x DEC-Tulip compatible 10/100 Ethernet (rev 31) 00:07.0 ISA bridge: ALi Corporation M1533/M1535 PCI to ISA Bridge [Aladdin IV/V/V+] 00:0a.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) 00:0c.0 Ethernet controller: Davicom Semiconductor, Inc. 21x4x DEC-Tulip compatible 10/100 Ethernet (rev 31) 00:0d.0 IDE interface: ALi Corporation M5229 IDE (rev c3) emerge --info Portage 2.1.4.4 (default/linux/sparc/2008.0/server, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r7 sparc64) ================================================================= System uname: 2.6.24-gentoo-r7 sparc64 sun4u Timestamp of tree: Unknown app-shells/bash: 3.2_p17-r1 dev-lang/python: 2.4.4-r13 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.61-r1 sys-devel/automake: 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="sparc" CBUILD="sparc-unknown-linux-gnu" CFLAGS="-O2 -mcpu=v9 -pipe" CHOST="sparc-unknown-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -mcpu=v9 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" LANG="ru_RU.UTF-8" LC_ALL="" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl apache2 berkdb bzip2 cli cracklib crypt cups dri fortran gcc64 gdbm gpm iconv isdnlog ldap m64 mailwrapper midi mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session snmp sparc spl ssl tcpd truetype unicode userlocales xml zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga r128 radeon sunbw2 suncg14 suncg3 suncg6 sunffb sunleo tdfx voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
-
-
ТО же самое с ним в sgauth Stargazer Connect Disconnect Refresh Exit Online Cash: 8444249301319680.000 PrepaidTraffic: 0.000 кстате он вроде как тупить перестал до этого на конект и дисконект жал реагировал он странно то не вырубался сразу и подключался при нажатии на дисконнект, а щас как надо тока денег много а вот 130р на счет кинул Stargazer Connect Disconnect Refresh Exit Online Cash: -301741175033823.250 PrepaidTraffic: 0.000 предоплаченный кинул 100р Stargazer Connect Disconnect Refresh Exit Online Cash: -301741175033823.250 PrepaidTraffic: 100.000 А вот сюрприз! После того как добавил я 100р на prepaid у меня эта ошибка не выскакивает, посмотри на деньги Мне кажется так работает: при положительном балансе выскакивает эта ошибка, как тока минус ошибки нет. Предоплата не влияет на работу
-
Вот держи inetaccess.cpp > 20:07:10 > recv from 192.168.0.192 5555 len=96 inetaccess.cpp > 20:07:10 > User server4 FOUND! inetaccess.cpp > 20:07:10 > Add new user inetaccess.cpp > 20:07:10 > ========> InitEncrypt 'NO PASSWORD' 'server4' inetaccess.cpp > 20:07:10 > SendError_8 264 bytes sent inetaccess.cpp > 20:07:10 > Login or password is wrong! inetaccess.cpp > 20:07:10 > Monitor time 1235495142 1235495290 traffcounter.cpp > 20:07:12 > FlushAndRemove() packets: 0(rem 0) ip2packets: 0(rem 0) ping.cpp > 20:07:12 > PING::Run traffcounter.cpp > 20:07:17 > FlushAndRemove() packets: 0(rem 0) ip2packets: 0(rem 0) inetaccess.cpp > 20:07:17 > recv from 192.168.0.192 5555 len=96 inetaccess.cpp > 20:07:17 > User server4 FOUND! inetaccess.cpp > 20:07:17 > ======================> InitEncrypt dont needed inetaccess.cpp > 20:07:17 > ****** User dirs 3FF inetaccess.cpp > 20:07:17 > 1235495237.877554 200 bytes sent to 192.168.0.192:5555 len=200 inetaccess.cpp > 20:07:17 > Monitor time 1235495142 1235495297 inetaccess.cpp > 20:07:17 > recv from 192.168.0.192 5555 len=64 inetaccess.cpp > 20:07:17 > User server4 FOUND! inetaccess.cpp > 20:07:17 > ======================> InitEncrypt dont needed inetaccess.cpp > 20:07:17 > CONN_ACK_8 CONN_ACK inetaccess.cpp > 20:07:17 > rnd = 1888122962 connAck->rnd=1888122963 traffcounter.cpp > 20:07:17 > AddUser: server4 users.cpp > 20:07:17 > Add IP Idx ping.cpp > 20:07:17 > pinger.DelIP 0.0.0.0 ping.cpp > 20:07:17 > pingerCurrIP.AddIP 192.168.0.192 file_store.cpp > 20:07:17 > Directory '/var/stargazer/users//server4/messages/' cannot be opened. inetaccess.cpp > 20:07:17 > Min8(sizeof(ALIVE_SYN)) = 384 inetaccess.cpp > 20:07:17 > --->>> cash: 10000 inetaccess.cpp > 20:07:17 > --->>> cash: 4135 inetaccess.cpp > 20:07:17 > 1235495237.903928 384 bytes sent to 192.168.0.192:5555 len=384 inetaccess.cpp > 20:07:17 > Monitor time 1235495142 1235495297 inetaccess.cpp > 20:07:17 > recv from 192.168.0.192 5555 len=64 inetaccess.cpp > 20:07:17 > User server4 FOUND! inetaccess.cpp > 20:07:17 > ======================> InitEncrypt dont needed inetaccess.cpp > 20:07:17 > Monitor time 1235495142 1235495297 file_store.cpp > 20:07:17 > Directory '/var/stargazer/users//server4/messages/' cannot be opened. traffcounter.cpp > 20:07:22 > FlushAndRemove() packets: 0(rem 0) ip2packets: 0(rem 0) ping.cpp > 20:07:22 > PING::Run traffcounter.cpp > 20:07:27 > FlushAndRemove() packets: 0(rem 0) ip2packets: 0(rem 0) file_store.cpp > 20:07:28 > Directory '/var/stargazer/users//server4/messages/' cannot be opened. ^C main.cpp > 20:07:29 > Stg stopped at main.cpp:204 stgconfig.cpp > 20:07:30 > Before config.Stop() rsconf.cpp > 20:07:30 > CONFIGPROTO::Stop() rsconf.cpp > 20:07:30 > CONFIGPROTO::Stop() 0 stgconfig.cpp > 20:07:30 > After config.Stop() ping.cpp > 20:07:30 > wait ping PING stop. ping.cpp > 20:07:30 > wait ping PING stop. ping.cpp > 20:07:30 > PING::Stop() inetaccess.cpp > 20:07:30 > AUTH_IA::Stop() traffcounter.cpp > 20:07:30 > DelUser: server4 users.cpp > 20:07:30 > Del IP Idx user.cpp > 20:07:30 > Disconnect. User name 'server4' ip=192.168.0.192 inetaccess.cpp > 20:07:32 > Wake up, stupid!
-
0xf7265b38 in MYSQL_STORE::GetMessage () from /usr/lib/stg/mod_store_mysql.so (gdb) bt #0 0xf7265b38 in MYSQL_STORE::GetMessage () from /usr/lib/stg/mod_store_mysql.so #1 0x000866f8 in USER::ScanMessage () #2 0x0008d374 in USER::Authorize () #3 0xf6638848 in AUTH_AO::UpdateUserAuthorization () from /usr/lib/stg/mod_auth_ao.so #4 0xf66399f0 in AUTH_AO::Start () from /usr/lib/stg/mod_auth_ao.so #5 0x000d0564 in PLUGIN_RUNNER::Start () #6 0x0005f8e0 in main () (gdb) list *0xf7265b38 No symbol table is loaded. Use the "file" command. (gdb) list 0xf7265b38 No symbol table is loaded. Use the "file" command. (gdb)
-
Тот что в архиве и потом кладется /usr/lib/stg
-
Это я временно сделал что бы можно было valgrind юзать
-
Сделал так База на спарке, сервер СТГ на интеле он подключается к БД на спарк Работает вот как: на разных юзерах затык. И пару раз уже поднимался сервер, но конфигуратор выдал вот это Recv data answer error! valgrind -v /usr/sbin/stargazer ==22827== ==22827== Invalid read of size 4 ==22827== at 0x4C561F0: MYSQL_STORE::GetMessage(unsigned long long, STG_MSG*, std::string const&) const (in /usr/lib/stg/mod_store_mysql.so) ==22827== by 0x80A9194: USER::ScanMessage() (in /usr/sbin/stargazer) ==22827== by 0x80ADBC7: USER::Authorize(unsigned int, std::string const&, unsigned int, BASE_AUTH const*) (in /usr/sbin/stargazer) ==22827== by 0x564E283: AUTH_AO::UpdateUserAuthorization(std::_List_iterator<USER>) const (in /usr/lib/stg/mod_auth_ao.so) ==22827== by 0x564EEDB: AUTH_AO::Start() (in /usr/lib/stg/mod_auth_ao.so) ==22827== by 0x80D4CD3: PLUGIN_RUNNER::Start() (in /usr/sbin/stargazer) ==22827== by 0x80935FD: main (in /usr/sbin/stargazer) ==22827== Address 0x8 is not stack'd, malloc'd or (recently) free'd ==22827== ==22827== Process terminating with default action of signal 11 (SIGSEGV): dumping core ==22827== Access not within mapped region at address 0x8 ==22827== at 0x4C561F0: MYSQL_STORE::GetMessage(unsigned long long, STG_MSG*, std::string const&) const (in /usr/lib/stg/mod_store_mysql.so) ==22827== by 0x80A9194: USER::ScanMessage() (in /usr/sbin/stargazer) ==22827== by 0x80ADBC7: USER::Authorize(unsigned int, std::string const&, unsigned int, BASE_AUTH const*) (in /usr/sbin/stargazer) ==22827== by 0x564E283: AUTH_AO::UpdateUserAuthorization(std::_List_iterator<USER>) const (in /usr/lib/stg/mod_auth_ao.so) ==22827== by 0x564EEDB: AUTH_AO::Start() (in /usr/lib/stg/mod_auth_ao.so) ==22827== by 0x80D4CD3: PLUGIN_RUNNER::Start() (in /usr/sbin/stargazer) ==22827== by 0x80935FD: main (in /usr/sbin/stargazer) ==22827== If you believe this happened as a result of a stack overflow in your ==22827== program's main thread (unlikely but possible), you can try to increase ==22827== the size of the main thread stack using the --main-stacksize= flag. ==22827== The main thread stack size used in this run was 8388608. --22827-- Discarding syms at 0x562f910-0x5636520 in /lib/libnss_files-2.9.so due to munmap() ==22827== ==22827== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 131 from 2) ==22827== ==22827== 1 errors in context 1 of 2: ==22827== Invalid read of size 4 ==22827== at 0x4C561F0: MYSQL_STORE::GetMessage(unsigned long long, STG_MSG*, std::string const&) const (in /usr/lib/stg/mod_store_mysql.so) ==22827== by 0x80A9194: USER::ScanMessage() (in /usr/sbin/stargazer) ==22827== by 0x80ADBC7: USER::Authorize(unsigned int, std::string const&, unsigned int, BASE_AUTH const*) (in /usr/sbin/stargazer) ==22827== by 0x564E283: AUTH_AO::UpdateUserAuthorization(std::_List_iterator<USER>) const (in /usr/lib/stg/mod_auth_ao.so) ==22827== by 0x564EEDB: AUTH_AO::Start() (in /usr/lib/stg/mod_auth_ao.so) ==22827== by 0x80D4CD3: PLUGIN_RUNNER::Start() (in /usr/sbin/stargazer) ==22827== by 0x80935FD: main (in /usr/sbin/stargazer) ==22827== Address 0x8 is not stack'd, malloc'd or (recently) free'd ==22827== ==22827== 1 errors in context 2 of 2: ==22827== Invalid read of size 4 ==22827== at 0x474F23B7: (within /lib/ld-2.9.so) ==22827== by 0x476006A1: (within /lib/libc-2.9.so) ==22827== by 0x474E9925: (within /lib/ld-2.9.so) ==22827== by 0x476007A0: (within /lib/libc-2.9.so) ==22827== by 0x476008CA: __libc_dlopen_mode (in /lib/libc-2.9.so) ==22827== by 0x475DAA2D: __nss_lookup_function (in /lib/libc-2.9.so) ==22827== by 0x475DAA9B: (within /lib/libc-2.9.so) ==22827== by 0x475DC40C: __nss_services_lookup2 (in /lib/libc-2.9.so) ==22827== by 0x475E3135: getservbyname_r (in /lib/libc-2.9.so) ==22827== by 0x475E2E8D: getservbyname (in /lib/libc-2.9.so) ==22827== by 0x476BB589: mysql_server_init (in /usr/lib/mysql/libmysqlclient_r.so.15.0.0) ==22827== by 0x80929A4: (within /usr/sbin/stargazer) ==22827== Address 0x405390c is 44 bytes inside a block of size 46 alloc'd ==22827== at 0x4008EC8: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==22827== by 0x474E9A47: (within /lib/ld-2.9.so) ==22827== by 0x474E364D: (within /lib/ld-2.9.so) ==22827== by 0x474EDB56: (within /lib/ld-2.9.so) ==22827== by 0x474E9925: (within /lib/ld-2.9.so) ==22827== by 0x474ED55B: (within /lib/ld-2.9.so) ==22827== by 0x476006A1: (within /lib/libc-2.9.so) ==22827== by 0x474E9925: (within /lib/ld-2.9.so) ==22827== by 0x476007A0: (within /lib/libc-2.9.so) ==22827== by 0x476008CA: __libc_dlopen_mode (in /lib/libc-2.9.so) ==22827== by 0x475DAA2D: __nss_lookup_function (in /lib/libc-2.9.so) ==22827== by 0x475DAA9B: (within /lib/libc-2.9.so) --22827-- --22827-- supp: 16 glibc-2.9-on-SUSE-10.3-(x86) --22827-- supp: 115 dl-hack3-cond-1 ==22827== ==22827== IN SUMMARY: 2 errors from 2 contexts (suppressed: 131 from 2) ==22827== ==22827== malloc/free: in use at exit: 1,668,207 bytes in 10,704 blocks. ==22827== malloc/free: 34,168 allocs, 23,464 frees, 20,253,369 bytes allocated. ==22827== ==22827== searching for pointers to 10,704 not-freed blocks. ==22827== checked 69,278,188 bytes. ==22827== ==22827== LEAK SUMMARY: ==22827== definitely lost: 0 bytes in 0 blocks. ==22827== possibly lost: 151,456 bytes in 6,630 blocks. ==22827== still reachable: 1,516,751 bytes in 4,074 blocks. ==22827== suppressed: 0 bytes in 0 blocks. ==22827== Rerun with --leak-check=full to see details of leaked memory. --22827-- memcheck: sanity checks: 202 cheap, 9 expensive --22827-- memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use --22827-- memcheck: auxmaps_L1: 0 searches, 0 cmps, ratio 0:10 --22827-- memcheck: auxmaps_L2: 0 searches, 0 nodes --22827-- memcheck: SMs: n_issued = 242 (3872k, 3M) --22827-- memcheck: SMs: n_deissued = 0 (0k, 0M) --22827-- memcheck: SMs: max_noaccess = 65535 (1048560k, 1023M) --22827-- memcheck: SMs: max_undefined = 0 (0k, 0M) --22827-- memcheck: SMs: max_defined = 1118 (17888k, 17M) --22827-- memcheck: SMs: max_non_DSM = 242 (3872k, 3M) --22827-- memcheck: max sec V bit nodes: 2 (0k, 0M) --22827-- memcheck: set_sec_vbits8 calls: 2 (new: 2, updates: 0) --22827-- memcheck: max shadow mem size: 4176k, 4M --22827-- translate: fast SP updates identified: 29,475 ( 90.3%) --22827-- translate: generic_known SP updates identified: 2,040 ( 6.2%) --22827-- translate: generic_unknown SP updates identified: 1,112 ( 3.4%) --22827-- tt/tc: 265,440 tt lookups requiring 358,937 probes --22827-- tt/tc: 265,440 fast-cache updates, 3 flushes --22827-- transtab: new 16,253 (381,706 -> 5,636,198; ratio 147:10) [0 scs] --22827-- transtab: dumped 0 (0 -> ??) --22827-- transtab: discarded 122 (2,100 -> ??) --22827-- scheduler: 20,018,485 jumps (bb entries). --22827-- scheduler: 202/315,791 major/minor sched events. --22827-- sanity: 203 cheap, 9 expensive checks. --22827-- exectx: 6,151 lists, 3,588 contexts (avg 0 per list) --22827-- exectx: 60,919 searches, 60,341 full compares (990 per 1000) --22827-- exectx: 0 cmp2, 1,601 cmp4, 0 cmpAll --22827-- errormgr: 55 supplist searches, 247 comparisons during search --22827-- errormgr: 133 errlist searches, 2,262 comparisons during search Я думаю, что буду их ручками переносить для меня спокойнее будет, кто знает где еще не так на спарке работет. Я лучше ручками с 30ть юзеров вобью и буду тестить вот тогда и глюки есть смысл искать. Мне бы с авторизацией решить проблему )
-
(gdb) bt #0 0xf730db38 in MYSQL_STORE::GetMessage () from /usr/lib/stg/mod_store_mysql.so #1 0x000866f8 in USER::ScanMessage () #2 0x0008e2b0 in USER::Run () #3 0x000c63f8 in std::mem_fun_ref_t<void, USER>::operator() () #4 0x000c6444 in std::for_each<std::_List_iterator<USER>, std::mem_fun_ref_t<void, USER> > () #5 0x000c3924 in USERS::Run () #6 0xf7ecd3a0 in start_thread () from /lib/libpthread.so.0 #7 0xf7c372b8 in ?? () from /lib/libc.so.6 #8 0xf7c372b8 in ?? () from /lib/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?)
-
Вот это нужно? gate fedor # ulimit -c 10000 gate fedor # /usr/sbin/stargazer > log Ошибка сегментирования (core dumped) gate fedor # ls core.3910 core.4310 endianess.patch log gate fedor # gdb /usr/sbin/stargazer GNU gdb 6.7.1 Copyright © 2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "sparc-unknown-linux-gnu"... (no debugging symbols found) Using host libthread_db library "/lib/libthread_db.so.1". (gdb) core-file core.4310 Cannot access memory at address 0xf7f3e6cc (gdb) bt #0 0xf7289b38 in ?? () #1 0xf7289b24 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb)
-
Залил в мускул, при запуске СТГ вот такое users.cpp > 12:42:19 > =====================| pid: 5883 |===================== users.cpp > 12:42:19 > Day = 20 Min = 42 users.cpp > 12:42:19 > Monitor=0 file USERS /users_r traffcounter.cpp > 12:42:19 > TRAFFCOUNTER::Start() ether_cap.cpp > 12:42:19 > ETHER_CAP::Start() inetaccess.cpp > 12:42:19 > AUTH_IA::Start() inetaccess.cpp > 12:42:19 > AUTH_IA::PrepareNet() >>>> Start successfull. Port: 5555 inetaccess.cpp > 12:42:19 > Monitor=0 file AUTH_IA /inetaccess_r inetaccess.cpp > 12:42:19 > Monitor time 1235122879 1235122999 inetaccess.cpp > 12:42:19 > Monitor=0 file AUTH_IA /inetaccess_t ao.cpp > 12:42:19 > users->OpenSearch() usernum=159 traffcounter.cpp > 12:42:19 > AddUser: Fedor users.cpp > 12:42:19 > Add IP Idx users.cpp > 12:42:19 > Add IP Idx traffcounter.cpp > 12:42:19 > AddUser: 550 users.cpp > 12:42:19 > Add IP Idx traffcounter.cpp > 12:42:19 > AddUser: 42_6 users.cpp > 12:42:19 > Add IP Idx traffcounter.cpp > 12:42:19 > AddUser: 42_3 /lib/rcscripts/sh/rc-daemon.sh: line 231: 5883 Ошибка сегментирования /sbin/start-stop-daemon '--start' '--quiet' '--exec' '/usr/sbin/stargazer' '--'
-
Вот, и еще в проверке опять мне Little endian было inetaccess.cpp > 11:40:48 > recv from 192.168.1.4 5555 len=96 inetaccess.cpp > 11:40:48 > User test FOUND! inetaccess.cpp > 11:40:48 > ======================> InitEncrypt dont needed inetaccess.cpp > 11:40:48 > ****** User dirs FF030000 inetaccess.cpp > 11:40:48 > 1235119248.944828 200 bytes sent to 192.168.1.4:5555 len=200 inetaccess.cpp > 11:40:48 > Monitor time 1235119103 1235119308 inetaccess.cpp > 11:40:48 > recv from 192.168.1.4 5555 len=64 inetaccess.cpp > 11:40:48 > User test FOUND! inetaccess.cpp > 11:40:48 > ======================> InitEncrypt dont needed inetaccess.cpp > 11:40:48 > CONN_ACK_8 CONN_ACK inetaccess.cpp > 11:40:48 > rnd = 1518182376 connAck->rnd=1534959592 inetaccess.cpp > 11:40:48 > Min8(sizeof(ALIVE_SYN)) = 384 inetaccess.cpp > 11:40:48 > --->>> cash: 10000 inetaccess.cpp > 11:40:48 > --->>> cash: 10000 inetaccess.cpp > 11:40:48 > 1235119248.969937 384 bytes sent to 192.168.1.4:5555 len=384 inetaccess.cpp > 11:40:48 > Monitor time 1235119103 1235119308 inetaccess.cpp > 11:40:48 > recv from 192.168.1.4 5555 len=64 inetaccess.cpp > 11:40:48 > User test FOUND! inetaccess.cpp > 11:40:48 > ======================> InitEncrypt dont needed inetaccess.cpp > 11:40:48 > Monitor time 1235119103 1235119308 traffcounter.cpp > 11:40:48 > FlushAndRemove() packets: 0(rem 0) ip2packets: 0(rem 0) traffcounter.cpp > 11:40:53 > FlushAndRemove() packets: 0(rem 0) ip2packets: 0(rem 0) rsconf.cpp > 11:40:53 > ReciveSendConf close rsconf.cpp > 11:40:53 > CONFIGPROTO: Ready to accept ping.cpp > 11:40:54 > PING::Run Я сейчас еще раз попробую пересобрать inetaccess.cpp > 11:53:47 > User server4 FOUND! inetaccess.cpp > 11:53:47 > Add new user inetaccess.cpp > 11:53:47 > ========> InitEncrypt 'NO PASSWORD' 'server4' inetaccess.cpp > 11:53:47 > ****** User dirs FF030000 inetaccess.cpp > 11:53:47 > 1235120027.988939 200 bytes sent to 192.168.1.4:5555 len=200 inetaccess.cpp > 11:53:47 > Monitor time 1235119926 1235120087 ping.cpp > 11:53:47 > PING::Run inetaccess.cpp > 11:53:47 > recv from 192.168.1.4 5555 len=64 inetaccess.cpp > 11:53:47 > User server4 FOUND! inetaccess.cpp > 11:53:47 > ======================> InitEncrypt dont needed inetaccess.cpp > 11:53:47 > CONN_ACK_8 CONN_ACK inetaccess.cpp > 11:53:47 > rnd = 1428082395 connAck->rnd=1444859611 inetaccess.cpp > 11:53:47 > Min8(sizeof(ALIVE_SYN)) = 384 inetaccess.cpp > 11:53:47 > --->>> cash: 10000 inetaccess.cpp > 11:53:47 > --->>> cash: 10000 inetaccess.cpp > 11:53:47 > 1235120028.4364 384 bytes sent to 192.168.1.4:5555 len=384 inetaccess.cpp > 11:53:47 > Monitor time 1235119926 1235120087 inetaccess.cpp > 11:53:47 > recv from 192.168.1.4 5555 len=64 inetaccess.cpp > 11:53:47 > User server4 FOUND!
-
Сделал вот что удалил из /usr/lib/stg все файлы Пересобрал СТГ и make install Ни чего не изменило
-
# ./build ############################################################################# Building STG 2.4 for Linux ############################################################################# Checking endianess... Big Endian Checking for -lexpat... yes Checking for -lfbclient... no Checking for -lmysqlclient... yes Checking for -lpq... no make -C /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../stglibs includes make[1]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs' make includes -C stg_logger.lib make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/stg_logger.lib' cp -p stg_logger.h /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/stg_logger.lib' make includes -C stg_locker.lib make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/stg_locker.lib' cp -p stg_locker.h /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/stg_locker.lib' make includes -C crypto.lib make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/crypto.lib' cp -p ag_md5.h blowfish.h /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/crypto.lib' make includes -C common.lib make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/common.lib' cp -p debug.h stg_error.h common.h /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/common.lib' make includes -C script_executer.lib make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/script_executer.lib' cp -p script_executer.h /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/script_executer.lib' make includes -C conffiles.lib make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/conffiles.lib' cp -p conffiles.h /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/conffiles.lib' make includes -C hostallow.lib make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/hostallow.lib' cp -p hostallow.h /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/hostallow.lib' make includes -C pinger.lib make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/pinger.lib' cp -p pinger.h /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/pinger.lib' make includes -C dotconfpp.lib make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/dotconfpp.lib' cp -p dotconfpp.h mempool.h /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/dotconfpp.lib' make[1]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs' make -C /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../stglibs make[1]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs' make -C stg_logger.lib make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/stg_logger.lib' make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/stg_logger.lib' make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/stg_logger.lib' cc -I/usr/local/include -DARCH_BE -Wall -fPIC -I /usr/src/stg-2.4-2009.01.21-12.39.31/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 /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib ar rc libstg_logger.a stg_logger.o ranlib libstg_logger.a cp *.so /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib cp *.a /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/stg_logger.lib' make -C stg_locker.lib make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/stg_locker.lib' make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/stg_locker.lib' make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/stg_locker.lib' cc -I/usr/local/include -DARCH_BE -Wall -fPIC -I /usr/src/stg-2.4-2009.01.21-12.39.31/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 -lpthread -o libstg_locker.so -L /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib ar rc libstg_locker.a stg_locker.o ranlib libstg_locker.a cp *.so /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib cp *.a /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/stg_locker.lib' make -C crypto.lib make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/crypto.lib' make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/crypto.lib' make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/crypto.lib' cc -I/usr/local/include -DARCH_BE -Wall -fPIC -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c ag_md5.c cc -I/usr/local/include -DARCH_BE -Wall -fPIC -I /usr/src/stg-2.4-2009.01.21-12.39.31/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 /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib ar rc libstg_crypto.a ag_md5.o blowfish.o ranlib libstg_crypto.a cp *.so /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib cp *.a /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/crypto.lib' make -C common.lib make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/common.lib' make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/common.lib' make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/common.lib' cc -I/usr/local/include -DARCH_BE -Wall -fPIC -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c debug.c cc -I/usr/local/include -DARCH_BE -Wall -fPIC -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c stg_error.c cc -I/usr/local/include -DARCH_BE -Wall -fPIC -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c common.cpp cc -I/usr/local/include -DARCH_BE -Wall -fPIC -I /usr/src/stg-2.4-2009.01.21-12.39.31/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 /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib/libstg_crypto.so -o libstg_common.so -L /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib ar rc libstg_common.a debug.o stg_error.o common.o stg_strptime.o ranlib libstg_common.a cp *.so /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib cp *.a /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/common.lib' make -C script_executer.lib make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/script_executer.lib' make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/script_executer.lib' make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/script_executer.lib' cc -I/usr/local/include -DARCH_BE -Wall -fPIC -I /usr/src/stg-2.4-2009.01.21-12.39.31/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 /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib/libstg_common.so -o libscript_executer.so -L /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib ar rc libscript_executer.a script_executer.o ranlib libscript_executer.a cp *.so /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib cp *.a /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/script_executer.lib' make -C conffiles.lib make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/conffiles.lib' make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/conffiles.lib' make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/conffiles.lib' cc -I/usr/local/include -DARCH_BE -Wall -fPIC -I /usr/src/stg-2.4-2009.01.21-12.39.31/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 /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib ar rc libconffiles.a conffiles.o ranlib libconffiles.a cp *.so /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib cp *.a /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/conffiles.lib' make -C hostallow.lib make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/hostallow.lib' make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/hostallow.lib' make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/hostallow.lib' cc -I/usr/local/include -DARCH_BE -Wall -fPIC -I /usr/src/stg-2.4-2009.01.21-12.39.31/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 /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib ar rc libhostallow.a hostallow.o ranlib libhostallow.a cp *.so /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib cp *.a /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/hostallow.lib' make -C pinger.lib make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/pinger.lib' make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/pinger.lib' make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/pinger.lib' cc -I/usr/local/include -DARCH_BE -Wall -fPIC -I /usr/src/stg-2.4-2009.01.21-12.39.31/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 -lpthread -o libstg_pinger.so -L /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib ar rc libstg_pinger.a pinger.o ranlib libstg_pinger.a cp *.so /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib cp *.a /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/pinger.lib' make -C dotconfpp.lib make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/dotconfpp.lib' make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/dotconfpp.lib' make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/dotconfpp.lib' cc -I/usr/local/include -DARCH_BE -Wall -fPIC -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c dotconfpp.cpp cc -I/usr/local/include -DARCH_BE -Wall -fPIC -I /usr/src/stg-2.4-2009.01.21-12.39.31/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 /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib ar rc libdotconfpp.a dotconfpp.o mempool.o ranlib libdotconfpp.a cp *.so /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib cp *.a /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs/dotconfpp.lib' make[1]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/stglibs' make -C /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins make[1]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins' make -C authorization/ao make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/authorization/ao' make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/authorization/ao' make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/authorization/ao' g++ -c ao.cpp -I/usr/local/include -DARCH_BE -fPIC -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -DLINUX g++ ao.o /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -o mod_auth_ao.so ln -fs "`pwd`/mod_auth_ao.so" /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/modules/mod_auth_ao.so make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/authorization/ao' make -C authorization/inetaccess make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/authorization/inetaccess' make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/authorization/inetaccess' make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/authorization/inetaccess' g++ -c inetaccess.cpp -I/usr/local/include -DARCH_BE -fPIC -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -DLINUX g++ inetaccess.o /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lpthread -o mod_auth_ia.so ln -fs "`pwd`/mod_auth_ia.so" /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/modules/mod_auth_ia.so make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/authorization/inetaccess' make -C configuration/sgconfig make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/configuration/sgconfig' make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/configuration/sgconfig' make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/configuration/sgconfig' g++ -c stgconfig.cpp -I/usr/local/include -DARCH_BE -fPIC -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -DLINUX g++ -c rsconf.cpp -I/usr/local/include -DARCH_BE -fPIC -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -DLINUX g++ -c configproto.cpp -I/usr/local/include -DARCH_BE -fPIC -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -DLINUX g++ -c parser.cpp -I/usr/local/include -DARCH_BE -fPIC -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -DLINUX g++ -c parser_tariff.cpp -I/usr/local/include -DARCH_BE -fPIC -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -DLINUX g++ -c parser_admin.cpp -I/usr/local/include -DARCH_BE -fPIC -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -DLINUX g++ stgconfig.o rsconf.o configproto.o parser.o parser_tariff.o parser_admin.o /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib/libstg_common.so /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib/libstg_logger.so -L/usr/local/lib -shared -L/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lexpat -lpthread -o mod_conf_sg.so ln -fs "`pwd`/mod_conf_sg.so" /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/modules/mod_conf_sg.so make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/configuration/sgconfig' make -C other/ping make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/other/ping' make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/other/ping' make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/other/ping' g++ -c ping.cpp -I/usr/local/include -DARCH_BE -fPIC -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -DLINUX g++ ping.o /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib/libstg_pinger.so /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lpthread -o mod_ping.so ln -fs "`pwd`/mod_ping.so" /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/modules/mod_ping.so make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/other/ping' make -C other/rscript make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/other/rscript' make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/other/rscript' make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/other/rscript' g++ -c rscript.cpp -I/usr/local/include -DARCH_BE -fPIC -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -DLINUX g++ rscript.o /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lpthread -o mod_remote_script.so ln -fs "`pwd`/mod_remote_script.so" /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/modules/mod_remote_script.so make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/other/rscript' make -C other/radius make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/other/radius' make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/other/radius' make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/other/radius' g++ -c radius.cpp -I/usr/local/include -DARCH_BE -fPIC -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -DLINUX g++ radius.o /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lpthread -o mod_radius.so ln -fs "`pwd`/mod_radius.so" /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/modules/mod_radius.so make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/other/radius' make -C store/files make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/store/files' make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/store/files' make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/store/files' g++ -c file_store.cpp -I/usr/local/include -DARCH_BE -fPIC -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -DLINUX g++ file_store.o /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib/libconffiles.so /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib/libstg_common.so /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib/libstg_locker.so -L/usr/local/lib -shared -L/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -o mod_store_files.so ln -fs "`pwd`/mod_store_files.so" /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/modules/mod_store_files.so make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/store/files' make -C capture/cap_nf make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/capture/cap_nf' make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/capture/cap_nf' make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/capture/cap_nf' g++ -c cap_nf.cpp -I/usr/local/include -DARCH_BE -fPIC -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -DLINUX g++ cap_nf.o /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lpthread -o mod_cap_nf.so ln -fs "`pwd`/mod_cap_nf.so" /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/modules/mod_cap_nf.so make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/capture/cap_nf' make -C capture/ether_linux make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/capture/ether_linux' make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/capture/ether_linux' make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/capture/ether_linux' g++ -c ether_cap.cpp -I/usr/local/include -DARCH_BE -fPIC -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -DLINUX g++ ether_cap.o /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lpthread -o mod_cap_ether.so ln -fs "`pwd`/mod_cap_ether.so" /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/modules/mod_cap_ether.so make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/capture/ether_linux' make -C capture/ipq_linux make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/capture/ipq_linux' make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/capture/ipq_linux' make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/capture/ipq_linux' g++ -c ipq_cap.cpp -I/usr/local/include -DARCH_BE -fPIC -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -DLINUX g++ -c libipq.c -I/usr/local/include -DARCH_BE -fPIC -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -DLINUX g++ ipq_cap.o libipq.o /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lpthread -o mod_cap_ipq.so ln -fs "`pwd`/mod_cap_ipq.so" /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/modules/mod_cap_ipq.so make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/capture/ipq_linux' make -C store/mysql make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/store/mysql' make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/store/mysql' make[2]: Entering directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/store/mysql' g++ -c mysql_store.cpp -I/usr/local/include -DARCH_BE -fPIC -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -DLINUX g++ mysql_store.o /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib/libconffiles.so /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -L/usr/local/lib/mysql -I/usr/local/include/mysql -L/usr/lib/mysql -I/usr/include/mysql -shared -L/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lmysqlclient_r -o mod_store_mysql.so ln -fs "`pwd`/mod_store_mysql.so" /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/modules/mod_store_mysql.so make[2]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins/store/mysql' make[1]: Leaving directory `/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/plugins' g++ -c admin.cpp -I/usr/local/include -DARCH_BE -Wall -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -DLINUX g++ -c admins.cpp -I/usr/local/include -DARCH_BE -Wall -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -DLINUX g++ -c main.cpp -I/usr/local/include -DARCH_BE -Wall -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -DLINUX g++ -c curr_ip.cpp -I/usr/local/include -DARCH_BE -Wall -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -DLINUX g++ -c settings.cpp -I/usr/local/include -DARCH_BE -Wall -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -DLINUX g++ -c stg_timer.cpp -I/usr/local/include -DARCH_BE -Wall -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -DLINUX g++ -c tariff.cpp -I/usr/local/include -DARCH_BE -Wall -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -DLINUX g++ -c tariffs.cpp -I/usr/local/include -DARCH_BE -Wall -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -DLINUX g++ -c traffcounter.cpp -I/usr/local/include -DARCH_BE -Wall -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -DLINUX g++ -c user.cpp -I/usr/local/include -DARCH_BE -Wall -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -DLINUX g++ -c user_property.cpp -I/usr/local/include -DARCH_BE -Wall -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -DLINUX g++ -c users.cpp -I/usr/local/include -DARCH_BE -Wall -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -DLINUX g++ -c plugin_runner.cpp -I/usr/local/include -DARCH_BE -Wall -I /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../include -DLINUX g++ admin.o admins.o main.o curr_ip.o settings.o stg_timer.o tariff.o tariffs.o traffcounter.o user.o user_property.o users.o plugin_runner.o /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib/libstg_logger.so /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib/libstg_locker.so /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib/libstg_common.so /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib/libscript_executer.so /usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib/libdotconfpp.so -I/usr/local/include -DARCH_BE -Wall -L/usr/local/lib -Wl,-E -L/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -Wl,-rpath-link,/usr/src/stg-2.4-2009.01.21-12.39.31/projects/stargazer/../../lib -lexpat -lpthread -ldl -o stargazer
-
sgauth Online Cash: 2814749767106560.000 это я 10р кинул PrepaidTraffic: 0.000 И в виндовом то же самое окно с ошибкой
-
И вот еще, что при сбоке на спарке Big Endian если я не ошибаюсь а тут не оно и после проверки стг не собирается sparc stargazer # ./build ############################################################################# Building STG 2.4 for Linux ############################################################################# Checking endianess... Little Endian Checking for -lexpat... yes Checking for -lfbclient... no Checking for -lmysqlclient... yes Checking for -lpq... no
