Re: [squid-users] Ntlm_auth error

2007-04-19 Thread Erick Dantas Rotole
The command testparm shows:

# testparm
Load smb config files from /usr/local/etc/samba/smb.conf
Loaded services file OK.
WARNING: passdb expand explicit = yes is deprecated
Server role: ROLE_DOMAIN_MEMBER
Press enter to see a dump of your service definitions
[global]
unix charset = iso-8859-1
display charset = iso-8859-1
workgroup = DOMAIN
realm = DOMAIN.XXX.COM
server string = Servidor Proxy
interfaces = lnc0
security = ADS
password server = 32.94.200.22 32.94.200.80
passdb backend = tdbsam
log file = /var/log/samba/log.%m
max log size = 50
load printers = No
preferred master = No
domain master = No
idmap uid = 1-2
idmap gid = 1-2
winbind use default domain = Yes
hosts allow = 32.94.200.0/21, 172.16.0.0/16, 10.0.0.0/8,
127.0.0.1/32


Em Qui, 2007-04-19 às 10:32 +0200, Kinkie escreveu:
 On 4/19/07, Erick Dantas Rotole [EMAIL PROTECTED] wrote:
  When I start squid i get the following error:
 
  ntlm_auth: error opening config file /usr/local/etc/samba/smb.conf.
  Error was Illegal byte sequence
 
  I have already set the smb.conf permision to 777 in order to test but
  the problem persist.
 
  Thanks
 
 I'd suggest you to check the samba configuration file with the command
 testparm from the Samba suite. More likely than not you have spurious
 characters in there, such as CR or weird byte-codes..
 
 --
/kinkie



[squid-users] Ntlm_auth error

2007-04-18 Thread Erick Dantas Rotole

When I start squid i get the following error:

ntlm_auth: error opening config file /usr/local/etc/samba/smb.conf.
Error was Illegal byte sequence

I have already set the smb.conf permision to 777 in order to test but
the problem persist.

Thanks

Erick Dantas Rotole

--
Erick Dantas Rotole


Re: [squid-users] Squid freebsd error signal 4

2006-12-08 Thread Erick Dantas Rotole
I downgrade server 2 to squid 2.5 last version and the problem does not
exist anymnore.  What is happening to squid 2.6 .


Thanks

Em Qui, 2006-12-07 às 17:07 -0200, Erick Dantas Rotole escreveu:
 Signal 4 indicates illegal instruction. The problem only hapens when
 server 2 gets all the load. When the load is share by both server or
 all the load is on server 1, there is no problem.
 I have already changed the server 2 to a machine with 2 processors and
 the problem persists. 
  
 Server 1 has squid squid-2.5.13_1 and server 2 squid-2.6.5
  
  
 
  
  
  
 2006/12/7, Mark Elsen [EMAIL PROTECTED]: 
 On 12/7/06, Erick Dantas Rotole [EMAIL PROTECTED]
 wrote: 
  I have 2 squids working together using freebsd carp an round
 Robin to
  balance the load. When server 1 gets all the load i have no
 proplem, but
  when server 2 gets all the load squit stops with signal 4.
 Server 1 has 
  2 processor and server 2 has 1 processor. Can this error be
 caused due
  to high load???
 
(# makewhatis)
 
% man -k signal
 
 Some of the man pages, should have  list with the meaning 
 of the sig numbers, may help.
 
 M.
 
 
 
 -- 
 Erick Dantas Rotole 



Re: [squid-users] Squid freebsd error signal 4

2006-12-08 Thread Erick Dantas Rotole
Henrik,

I had already tried to compile without compiler otimization but the
problem gets worst.

Best regards

Erick
Em Sex, 2006-12-08 às 15:47 +0100, Henrik Nordstrom escreveu:
 fre 2006-12-08 klockan 15:07 +0100 skrev Mark Elsen:
 
   The problem of illegal instruction is one of those tough things to crack.
   You may want to compile the intended 2.6 release without compiler
   optimizations. See if this helps.
 
 And as always on any fatal error:
 
 Squid FAQ Sending bug reports to the Squid team
 http://wiki.squid-cache.org/SquidFaq/TroubleShooting#head-7067fc0034ce967e67911becaabb8c95a34d576d
 
 Regards
 Henrik



Re: [squid-users] Squid freebsd error signal 4

2006-12-08 Thread Erick Dantas Rotole
Thanks Henrik, I will send the coredump to the squid team as soon as
possible.



Em Sex, 2006-12-08 às 16:32 +0100, Henrik Nordstrom escreveu:
 fre 2006-12-08 klockan 13:27 -0200 skrev Erick Dantas Rotole:
 
  I had already tried to compile without compiler otimization but the
  problem gets worst.
 
 So follow the FAQ entry and maybe we can get it fixed.
 
 Regards
 Henrik



Re: [squid-users] Squid freebsd error signal 4

2006-12-08 Thread Erick Dantas Rotole
Ok.
Em Sex, 2006-12-08 às 16:44 +0100, Henrik Nordstrom escreveu:
 fre 2006-12-08 klockan 13:41 -0200 skrev Erick Dantas Rotole:
  Thanks Henrik, I will send the coredump to the squid team as soon as
  possible.
  
 
 Not the core dump, but the back trace as instructed in the FAQ.
 
 Regards
 Henrik



[squid-users] Squid freebsd error signal 4

2006-12-07 Thread Erick Dantas Rotole
I have 2 squids working together using freebsd carp an round Robin to
balance the load. When server 1 gets all the load i have no proplem, but
when server 2 gets all the load squit stops with signal 4. Server 1 has
2 processor and server 2 has 1 processor. Can this error be caused due
to high load???


Thanks! 



[squid-users] Squid restarting

2006-11-17 Thread Erick Dantas Rotole
I have a web proxy solution (Squid + Dansguardian +75 Ntlm Helpers to
authenticate in the AD) supporting 1500 users.
In the last 3 days the squid started to Die (restart) with the following
errors, about 4 times in the day.

Resume

Warning: all ntlmauthenticator process are busy.
Consider increasing the number of ntlmauthenticator to at least 300
storeDirWriteCleanLogs: Starting ...
Fatal: too many queued ntlmauthenticator requests (376 on 75)
Squid cache  : Terminated abnormaly

1 - I was using squid for 5 months and the problem started 3 days ago.
Can a virus or trojan cause this problem?How could I detect it, my squid
has 2 gb logs? Is there any tool or command (grep) that could help me?

2 - Am I using few authentication helpers for 1500 users? How many
helpers should I use?

3 -  Can the size of my logs cause this problem?

Thanks!




[squid-users] export squid logs to sql

2006-11-02 Thread Erick Dantas Rotole
Is there any tool used to export squid logs to a sql database and that
has a good web interface to make some reports an queries???



Thanks!!!
Erick



RES: RES: [squid-users] Freebsd -Squid - danguardian- Winbind-XMallocError

2006-09-02 Thread Erick Dantas Rotole
 Henrik,

Thanks a lot. I will test and the send the results.


See you


-Mensagem original-
De: Henrik Nordstrom [mailto:[EMAIL PROTECTED] 
Enviada em: sexta-feira, 1 de setembro de 2006 11:47
Para: Erick Dantas Rotole
Cc: squid-users@squid-cache.org
Assunto: Re: RES: [squid-users] Freebsd -Squid - danguardian-
Winbind-XMallocError

On Fri, 2006-09-01 at 07:27 -0300, Erick Dantas Rotole wrote:
 Henrik,
 
 I had already read the FAQ. But the configuration for FREEBSD I think 
 it is for older version.

Possible. The reasoning is the same.

  Searching the web I found. 
 
 add the following values to /boot/loader.conf which worked:
 kern.maxdsiz=1073741824 # 1GB
 kern.dfldsiz=1073741824 # 1GB
 kern.maxssiz=134217728 # 128MB
 
 Is that rigth? I have to set kern.maxdsiz or kern.maxssiz. Thanks!


maxdsiz is the key parameter. Not sure if dfldsiz needs to be set.

you shoud not need to change massiz.

Regards
Henrik



[squid-users] Freebsd -Squid - danguardian- Winbind- XMalloc Error

2006-09-01 Thread Erick Dantas Rotole
I have  a box with freebsd 6.1, squid-2.5.13_1 (Ntlm authentication),
dansguardian-2.9.6.1_1 and samba-3.0.22,1 2gb RAM 2 cpu. When The box has
800MB memory active, 1.2GB memory inact and 0 free memory. I get the error
FATAL: xmalloc: Unable to allocate 65535 bytes and the squid process
restart. I really need help, I have already search google and the list but
haven't found the solution. Thanks




RES: [squid-users] Freebsd -Squid - danguardian- Winbind- XMallocError

2006-09-01 Thread Erick Dantas Rotole
Henrik,

I had already read the FAQ. But the configuration for FREEBSD I think it is
for older version. Searching the web I found. 

add the following values to /boot/loader.conf which worked:
kern.maxdsiz=1073741824 # 1GB
kern.dfldsiz=1073741824 # 1GB
kern.maxssiz=134217728 # 128MB

Is that rigth? I have to set kern.maxdsiz or kern.maxssiz. Thanks!



8.7 xmalloc: Unable to allocate 4096 bytes! 
by Henrik Nordstrom

Messages like FATAL: xcalloc: Unable to allocate 4096 blocks of 1 bytes!
appear when Squid can't allocate more memory, and on most operating systems
(inclusive BSD) there are only two possible reasons: 

The machine is out of swap 
The process' maximum data segment size has been reached 
The first case is detected using the normal swap monitoring tools available
on the platform (pstat on SunOS, perhaps pstat is used on BSD as well).

To tell if it is the second case, first rule out the first case and then
monitor the size of the Squid process. If it dies at a certain size with
plenty of swap left then the max data segment size is reached without no
doubts.

The data segment size can be limited by two factors: 

Kernel imposed maximum, which no user can go above 
The size set with ulimit, which the user can control.   

-Mensagem original-
De: Henrik Nordstrom [mailto:[EMAIL PROTECTED] 
Enviada em: sexta-feira, 1 de setembro de 2006 03:50
Para: Erick Dantas Rotole
Cc: squid-users@squid-cache.org
Assunto: Re: [squid-users] Freebsd -Squid - danguardian- Winbind-
XMallocError

fre 2006-09-01 klockan 03:21 -0300 skrev Erick Dantas Rotole:

 800MB memory active, 1.2GB memory inact and 0 free memory. I get the 
 error
 FATAL: xmalloc: Unable to allocate 65535 bytes and the squid process 
 restart. I really need help, I have already search google and the list 
 but haven't found the solution. Thanks

See the FAQ. It's not related to the amount of memory available but to OS
configuration limiting process size.

Regards
Henrik