PavelVinogradov / sams2

Automatically exported from code.google.com/p/sams2
GNU General Public License v2.0
21 stars 20 forks source link

(Trac:100) Проблема с записью логов в пайп #98

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
(Trac:100) Originaly reported by Arkasha18 on 2007-12-07 13:34:25

samsf отваливается при попытке записи логов 
через пайп

бектрес

Код:

#0  SearchDNSBase (DNS=0xbfa0d460) at logtool.c:247
#1  0x0804a93b in TestLocalURL (url=0xbfa115ab 
"http://www.nclug.ru/files/e107.css") at logtool.c:370
#2  0x0804ae0d in ReadNewData (conn=0x805e298, conn2=0x8074a70) at daemon.c:370
#3  0x0804c03b in main (argc=2, argv=Cannot access memory at address 0x5
) at daemon.c:681

на сервере SQL5 squid + ntlm (samba)
[client]
SQUID_DB=squidlog
SAMS_DB=squidctrl
MYSQLHOSTNAME=localhost
MYSQLUSER=sams
MYSQLPASSWORD=sams
MYSQLVERSION=5.0
SQUIDCACHEFILE=access.log
SQUIDROOTDIR=/etc/squid
SQUIDLOGDIR=/var/log/squid
SAMSPATH=/opt/sams
SQUIDPATH=/usr/sbin
SQUIDGUARDLOGPATH=/var/log
SQUIDGUARDDBPATH=/var/lib/squidguard/db
RECODECOMMAND=iconv -f KOI8-R -t 866 %finp > %fout
LDAPSERVER=RADIO137
LDAPBASEDN=192.168.0.1
LDAPUSER=administrator
LDAPUSERPASSWD=xxx
LDAPUSERSGROUP=Users
REJIKPATH=/root/redirector-3.2.1/redirector
SHUTDOWNCOMMAND=shutdown -h now

Original issue reported on code.google.com by bl...@nixdev.net on 5 Jun 2011 at 7:45

GoogleCodeExporter commented 9 years ago
Commented by blaze@nixdev.net on 2007-12-08 04:30:51:

samsf официально не поддерживается. Чтобы он 
заработал его надо сильно переписать. 
ПОэтому пока рекомендую использовать 
дискретный парсинг логов.

Original comment by bl...@nixdev.net on 5 Jun 2011 at 7:45

GoogleCodeExporter commented 9 years ago
Commented by blaze@nixdev.net on 2010-09-06 10:45:49:

Milestone sams-1.1.0 deleted

Original comment by bl...@nixdev.net on 5 Jun 2011 at 7:45