Queda de rede constante

1. Queda de rede constante

Jonathan Rodrigues
john_master12

(usa Ubuntu)

Enviado em 21/02/2011 - 14:44h

Vamos la eu tenho um servidor aqui squid com sarg
ele é um servidor gateway

os clientes conectam por ele, sem internet nele sem internet para os clienes, a rede esta configurada dessa forma

Modem ---> mikrotick----->servidor proxy-----> cliente

esta caindo a rede constantemente. não sei o que pode ser..
quando reinicio a o servidor volta a rede
alguma ideia estou procurando os registro de log para ser postado aqui

minha syslog

Feb 21 14:39:21 Proxy kernel: [ 17.571136] parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
Feb 21 14:39:21 Proxy kernel: [ 17.593954] type=1400 audit(1298309951.692:2): apparmor="STATUS" operation="profile_load" name="/sbin/dhclient3" pid=492 comm="apparmor_parser"
Feb 21 14:39:21 Proxy kernel: [ 17.594503] type=1400 audit(1298309951.692:3): apparmor="STATUS" operation="profile_load" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=492 comm="apparmor_parser"
Feb 21 14:39:21 Proxy kernel: [ 17.594864] type=1400 audit(1298309951.692:4): apparmor="STATUS" operation="profile_load" name="/usr/lib/connman/scripts/dhclient-script" pid=492 comm="apparmor_parser"
Feb 21 14:39:21 Proxy kernel: [ 17.681119] lp0: using parport0 (interrupt-driven).
Feb 21 14:39:21 Proxy kernel: [ 18.175099] eth0: link up, 100Mbps, full-duplex, lpa 0x4DE1
Feb 21 14:39:21 Proxy kernel: [ 18.212342] gameport gameport0: NS558 PnP Gameport is pnp00:0b/gameport0, io 0x201, speed 946kHz
Feb 21 14:39:21 Proxy kernel: [ 18.310649] ppdev: user-space parallel port driver
Feb 21 14:39:21 Proxy kernel: [ 18.470662] VIA 82xx Modem 0000:00:11.6: enabling device (0000 -> 0001)
Feb 21 14:39:21 Proxy kernel: [ 18.471099] ACPI: PCI Interrupt Link [ALKC] enabled at IRQ 22
Feb 21 14:39:21 Proxy kernel: [ 18.471110] alloc irq_desc for 22 on node -1
Feb 21 14:39:21 Proxy kernel: [ 18.471114] alloc kstat_irqs on node -1
Feb 21 14:39:21 Proxy kernel: [ 18.471129] VIA 82xx Modem 0000:00:11.6: PCI INT C -> Link[ALKC] -> GSI 22 (level, low) -> IRQ 22
Feb 21 14:39:21 Proxy kernel: [ 19.220035] VIA 82xx Modem 0000:00:11.6: setting latency timer to 64
Feb 21 14:39:21 Proxy kernel: [ 19.724274] VIA 82xx Modem 0000:00:11.6: PCI INT C disabled
Feb 21 14:39:21 Proxy kernel: [ 19.724300] VIA 82xx Modem: probe of 0000:00:11.6 failed with error -13
Feb 21 14:39:21 Proxy kernel: [ 19.724720] VIA 82xx Audio 0000:00:11.5: PCI INT C -> Link[ALKC] -> GSI 22 (level, low) -> IRQ 22
Feb 21 14:39:21 Proxy kernel: [ 19.724884] VIA 82xx Audio 0000:00:11.5: setting latency timer to 64
Feb 21 14:39:21 Proxy kernel: [ 20.243178] codec_read: codec 0 is not valid [0xfe0000]
Feb 21 14:39:21 Proxy kernel: [ 20.260349] codec_read: codec 0 is not valid [0xfe0000]
Feb 21 14:39:21 Proxy kernel: [ 20.277353] codec_read: codec 0 is not valid [0xfe0000]
Feb 21 14:39:21 Proxy kernel: [ 20.288916] codec_read: codec 0 is not valid [0xfe0000]
Feb 21 14:39:21 Proxy squid[687]: Squid Parent: child process 695 started
Feb 21 14:39:21 Proxy kernel: [ 20.688338] type=1400 audit(1298309961.954:5): apparmor="STATUS" operation="profile_replace" name="/sbin/dhclient3" pid=713 comm="apparmor_parser"
Feb 21 14:39:21 Proxy kernel: [ 20.688984] type=1400 audit(1298309961.954:6): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=713 comm="apparmor_parser"
Feb 21 14:39:21 Proxy kernel: [ 20.689254] type=1400 audit(1298309961.954:7): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=713 comm="apparmor_parser"
Feb 21 14:39:21 Proxy kernel: [ 20.705174] type=1400 audit(1298309961.970:8): apparmor="STATUS" operation="profile_load" name="/usr/sbin/dhcpd3" pid=718 comm="apparmor_parser"
Feb 21 14:39:21 Proxy kernel: [ 20.720707] type=1400 audit(1298309961.986:9): apparmor="STATUS" operation="profile_load" name="/usr/sbin/mysqld" pid=722 comm="apparmor_parser"
Feb 21 14:39:22 Proxy kernel: [ 20.732645] type=1400 audit(1298309961.998:10): apparmor="STATUS" operation="profile_load" name="/usr/sbin/tcpdump" pid=726 comm="apparmor_parser"
Feb 21 14:39:22 Proxy cron[777]: (CRON) INFO (pidfile fd = 3)
Feb 21 14:39:22 Proxy cron[795]: (CRON) STARTUP (fork ok)
Feb 21 14:39:22 Proxy cron[795]: Error: bad hour; while reading /etc/crontab
Feb 21 14:39:22 Proxy cron[795]: (*system*) ERROR (Syntax error, this crontab file will be ignored)
Feb 21 14:39:22 Proxy cron[795]: (CRON) INFO (Running @reboot jobs)
Feb 21 14:39:22 Proxy noip2[816]: v2.1.9 daemon started with NAT enabled
Feb 21 14:39:22 Proxy kernel: [ 21.168989] padlock: VIA PadLock not detected.
Feb 21 14:39:22 Proxy dhcpd: /etc/dhcp3/dhcpd.conf line 20: semicolon expected.
Feb 21 14:39:22 Proxy dhcpd: option
Feb 21 14:39:22 Proxy dhcpd: ^
Feb 21 14:39:22 Proxy dhcpd: /etc/dhcp3/dhcpd.conf line 21: unexpected end of file
Feb 21 14:39:22 Proxy dhcpd: }
Feb 21 14:39:22 Proxy dhcpd: ^
Feb 21 14:39:22 Proxy dhcpd: Configuration file errors encountered -- exiting
Feb 21 14:39:22 Proxy dhcpd: Internet Systems Consortium DHCP Server V3.1.3
Feb 21 14:39:22 Proxy dhcpd: Copyright 2004-2009 Internet Systems Consortium.
Feb 21 14:39:22 Proxy dhcpd: All rights reserved.
Feb 21 14:39:22 Proxy dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Feb 21 14:39:22 Proxy dhcpd: /etc/dhcp3/dhcpd.conf line 20: semicolon expected.
Feb 21 14:39:22 Proxy dhcpd: option

Feb 21 14:39:22 Proxy dhcpd: ^
Feb 21 14:39:22 Proxy dhcpd: /etc/dhcp3/dhcpd.conf line 21: unexpected end of file
Feb 21 14:39:22 Proxy dhcpd: }
Feb 21 14:39:22 Proxy dhcpd: ^
Feb 21 14:39:22 Proxy dhcpd: Configuration file errors encountered -- exiting
Feb 21 14:39:22 Proxy dhcpd: Internet Systems Consortium DHCP Server V3.1.3
Feb 21 14:39:22 Proxy dhcpd: Copyright 2004-2009 Internet Systems Consortium.
Feb 21 14:39:22 Proxy dhcpd: All rights reserved.
Feb 21 14:39:22 Proxy dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Feb 21 14:39:22 Proxy dhcpd: /etc/dhcp3/dhcpd.conf line 20: semicolon expected.
Feb 21 14:39:22 Proxy dhcpd: option
Feb 21 14:39:22 Proxy dhcpd: ^
Feb 21 14:39:22 Proxy dhcpd: /etc/dhcp3/dhcpd.conf line 21: unexpected end of file
Feb 21 14:39:22 Proxy dhcpd: }
Feb 21 14:39:22 Proxy dhcpd: ^
Feb 21 14:39:22 Proxy dhcpd: Configuration file errors encountered -- exiting
Feb 21 14:39:22 Proxy kernel: [ 21.403467] padlock: VIA PadLock Hash Engine not detected.
Feb 21 14:39:22 Proxy modprobe: FATAL: Error inserting padlock_sha (/lib/modules/2.6.35-25-generic-pae/kernel/drivers/crypto/padlock-sha.ko): No such device
Feb 21 14:39:22 Proxy kernel: [ 21.471427] type=1400 audit(1298309962.734:11): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/mysqld" pid=875 comm="apparmor_parser"
Feb 21 14:39:23 Proxy noip2[816]: No host 'grupocoesa.no-ip.org' found at dynupdate.no-ip.com.
Feb 21 14:39:23 Proxy kernel: [ 22.233960] Adding 765948k swap on /dev/mapper/cryptswap1. Priority:-1 extents:1 across:765948k
Feb 21 14:39:24 Proxy /etc/mysql/debian-start[978]: Upgrading MySQL tables if necessary.
Feb 21 14:39:24 Proxy /etc/mysql/debian-start[981]: /usr/bin/mysql_upgrade: the '--basedir' option is always ignored
Feb 21 14:39:24 Proxy /etc/mysql/debian-start[981]: Looking for 'mysql' as: /usr/bin/mysql
Feb 21 14:39:24 Proxy /etc/mysql/debian-start[981]: Looking for 'mysqlcheck' as: /usr/bin/mysqlcheck
Feb 21 14:39:24 Proxy /etc/mysql/debian-start[981]: This installation of MySQL is already upgraded to 5.1.49, use --force if you still need to run mysql_upgrade
Feb 21 14:39:24 Proxy /etc/mysql/debian-start[988]: Checking for insecure root accounts.
Feb 21 14:39:24 Proxy /etc/mysql/debian-start[992]: Triggering myisam-recover for all MyISAM tables
Feb 21 14:39:30 Proxy kernel: [ 28.816026] eth0: no IPv6 routers present
Feb 21 15:09:01 Proxy CRON[1160]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm)



  


2. Re: Queda de rede constante

Renato Carneiro Pacheco
renato_pacheco

(usa Debian)

Enviado em 21/02/2011 - 14:51h

Huiahuiahaiuha!! Pode ser qq coisa! C tem q ser mais específico, kra. Da forma q vc elabora as perguntas fica difícil (ou até desmotivante) t ajudar...


3. Re: Queda de rede constante

Renato Carneiro Pacheco
renato_pacheco

(usa Debian)

Enviado em 21/02/2011 - 15:14h

Os logs:

/var/log/squid/aceess.log
/var/log/messages

É bom sempre olhar esses logs pra saber qual pode ser o problema. Tente v no momento da queda. Outra coisa é observar se o link da mikrotik caiu tb, para certificar q o problema foi originado no squid e não em outro lugar.


4. Re: Queda de rede constante

Jonathan Rodrigues
john_master12

(usa Ubuntu)

Enviado em 21/02/2011 - 15:21h

lgo de quando caiu

/var/log/mensagen


Feb 21 14:39:21 Proxy kernel: [ 2.112038] ata3: SATA link down 1.5 Gbps (SStatus 0 SControl 300)
Feb 21 14:39:21 Proxy kernel: [ 2.216375] ata2.01: ATAPI: HL-DT-ST DVDRAM GSA-H44N, RB00, max UDMA/66
Feb 21 14:39:21 Proxy kernel: [ 2.216408] ata2.01: limited to UDMA/33 due to 40-wire cable
Feb 21 14:39:21 Proxy kernel: [ 2.232248] ata2.01: configured for UDMA/33
Feb 21 14:39:21 Proxy kernel: [ 2.238121] scsi 1:0:1:0: CD-ROM HL-DT-ST DVDRAM GSA-H44N RB00 PQ: 0 ANSI: 5
Feb 21 14:39:21 Proxy kernel: [ 2.250310] sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
Feb 21 14:39:21 Proxy kernel: [ 2.250321] Uniform CD-ROM driver Revision: 3.20
Feb 21 14:39:21 Proxy kernel: [ 2.251346] sr 1:0:1:0: Attached scsi generic sg1 type 5
Feb 21 14:39:21 Proxy kernel: [ 2.452037] ata4: SATA link down 1.5 Gbps (SStatus 0 SControl 300)
Feb 21 14:39:21 Proxy kernel: [ 2.485719] agpgart: Detected VIA KM400/KM400A chipset
Feb 21 14:39:21 Proxy kernel: [ 2.499305] agpgart-via 0000:00:00.0: AGP aperture is 64M @ 0xe0000000
Feb 21 14:39:21 Proxy kernel: [ 8.528922] EXT4-fs (dm-0): INFO: recovery required on readonly filesystem
Feb 21 14:39:21 Proxy kernel: [ 8.528933] EXT4-fs (dm-0): write access will be enabled during recovery
Feb 21 14:39:21 Proxy kernel: [ 11.407157] EXT4-fs (dm-0): orphan cleanup on readonly fs
Feb 21 14:39:21 Proxy kernel: [ 11.407299] EXT4-fs (dm-0): 5 orphan inodes deleted
Feb 21 14:39:21 Proxy kernel: [ 11.407303] EXT4-fs (dm-0): recovery complete
Feb 21 14:39:21 Proxy kernel: [ 11.517896] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: (null)
Feb 21 14:39:21 Proxy kernel: [ 16.806055] udev[355]: starting version 163
Feb 21 14:39:21 Proxy kernel: [ 17.059852] lp: driver loaded but no devices found
Feb 21 14:39:21 Proxy kernel: [ 17.089086] EXT4-fs (dm-0): re-mounted. Opts: errors=remount-ro
Feb 21 14:39:21 Proxy kernel: [ 17.144734] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
Feb 21 14:39:21 Proxy kernel: [ 17.571002] parport_pc 00:09: reported by Plug and Play ACPI
Feb 21 14:39:21 Proxy kernel: [ 17.571136] parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
Feb 21 14:39:21 Proxy kernel: [ 17.593954] type=1400 audit(1298309951.692:2): apparmor="STATUS" operation="profile_load" name="/sbin/dhclient3" pid=492 comm="apparmor_parser"
Feb 21 14:39:21 Proxy kernel: [ 17.594503] type=1400 audit(1298309951.692:3): apparmor="STATUS" operation="profile_load" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=492 comm="apparmor_parser"
Feb 21 14:39:21 Proxy kernel: [ 17.594864] type=1400 audit(1298309951.692:4): apparmor="STATUS" operation="profile_load" name="/usr/lib/connman/scripts/dhclient-script" pid=492 comm="apparmor_parser"
Feb 21 14:39:21 Proxy kernel: [ 17.681119] lp0: using parport0 (interrupt-driven).
Feb 21 14:39:21 Proxy kernel: [ 18.175099] eth0: link up, 100Mbps, full-duplex, lpa 0x4DE1
Feb 21 14:39:21 Proxy kernel: [ 18.212342] gameport gameport0: NS558 PnP Gameport is pnp00:0b/gameport0, io 0x201, speed 946kHz
Feb 21 14:39:21 Proxy kernel: [ 18.310649] ppdev: user-space parallel port driver
Feb 21 14:39:21 Proxy kernel: [ 18.470662] VIA 82xx Modem 0000:00:11.6: enabling device (0000 -> 0001)
Feb 21 14:39:21 Proxy kernel: [ 18.471099] ACPI: PCI Interrupt Link [ALKC] enabled at IRQ 22
Feb 21 14:39:21 Proxy kernel: [ 18.471129] VIA 82xx Modem 0000:00:11.6: PCI INT C -> Link[ALKC] -> GSI 22 (level, low) -> IRQ 22
Feb 21 14:39:21 Proxy kernel: [ 19.724274] VIA 82xx Modem 0000:00:11.6: PCI INT C disabled
Feb 21 14:39:21 Proxy kernel: [ 19.724300] VIA 82xx Modem: probe of 0000:00:11.6 failed with error -13
Feb 21 14:39:21 Proxy kernel: [ 19.724720] VIA 82xx Audio 0000:00:11.5: PCI INT C -> Link[ALKC] -> GSI 22 (level, low) -> IRQ 22
Feb 21 14:39:21 Proxy squid[687]: Squid Parent: child process 695 started
Feb 21 14:39:21 Proxy kernel: [ 20.688338] type=1400 audit(1298309961.954:5): apparmor="STATUS" operation="profile_replace" name="/sbin/dhclient3" pid=713 comm="apparmor_parser"
Feb 21 14:39:21 Proxy kernel: [ 20.688984] type=1400 audit(1298309961.954:6): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=713 comm="apparmor_parser"
Feb 21 14:39:21 Proxy kernel: [ 20.689254] type=1400 audit(1298309961.954:7): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=713 comm="apparmor_parser"
Feb 21 14:39:21 Proxy kernel: [ 20.705174] type=1400 audit(1298309961.970:8): apparmor="STATUS" operation="profile_load" name="/usr/sbin/dhcpd3" pid=718 comm="apparmor_parser"
Feb 21 14:39:21 Proxy kernel: [ 20.720707] type=1400 audit(1298309961.986:9): apparmor="STATUS" operation="profile_load" name="/usr/sbin/mysqld" pid=722 comm="apparmor_parser"
Feb 21 14:39:22 Proxy kernel: [ 20.732645] type=1400 audit(1298309961.998:10): apparmor="STATUS" operation="profile_load" name="/usr/sbin/tcpdump" pid=726 comm="apparmor_parser"
Feb 21 14:39:22 Proxy kernel: [ 21.168989] padlock: VIA PadLock not detected.
Feb 21 14:39:22 Proxy kernel: [ 21.403467] padlock: VIA PadLock Hash Engine not detected.
Feb 21 14:39:22 Proxy kernel: [ 21.471427] type=1400 audit(1298309962.734:11): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/mysqld" pid=875 comm="apparmor_parser"
Feb 21 14:39:23 Proxy kernel: [ 22.233960] Adding 765948k swap on /dev/mapper/cryptswap1. Priority:-1 extents:1 across:765948k



5. Re: Queda de rede constante

Jonathan Rodrigues
john_master12

(usa Ubuntu)

Enviado em 21/02/2011 - 15:26h

o link do mk não caiu somente do servidor


6. Re: Queda de rede constante

Renato Carneiro Pacheco
renato_pacheco

(usa Debian)

Enviado em 21/02/2011 - 15:29h

O squid caiu quando a conexão caiu? Tente executar o squid desse forma abaixo:

# squid -NCd1

E fique monitorando pra saber se ele cai...


7. Re: Queda de rede constante

Jonathan Rodrigues
john_master12

(usa Ubuntu)

Enviado em 21/02/2011 - 15:30h

log acess.log do squid


1298312783.204 49 192.168.0.6 TCP_MISS/500 386 POST http://192.168.0.254:8014/secreg/secreg.dll? - DIRECT/192.168.0.254 text/html
1298312791.784 61 192.168.0.6 TCP_MISS/500 386 POST http://192.168.0.254:8014/secreg/secreg.dll? - DIRECT/192.168.0.254 text/html
1298312792.392 29 192.168.0.6 TCP_DENIED/403 713 POST http://servidor:8014/secreg/secreg.dll? - NONE/- text/html
1298312800.972 60 192.168.0.6 TCP_MISS/500 386 POST http://192.168.0.254:8014/secreg/secreg.dll? - DIRECT/192.168.0.254 text/html
1298312801.596 29 192.168.0.6 TCP_DENIED/403 713 POST http://servidor:8014/secreg/secreg.dll? - NONE/- text/html
1298312810.207 60 192.168.0.6 TCP_MISS/500 386 POST http://192.168.0.254:8014/secreg/secreg.dll? - DIRECT/192.168.0.254 text/html
1298312810.815 29 192.168.0.6 TCP_DENIED/403 713 POST http://servidor:8014/secreg/secreg.dll? - NONE/- text/html
1298312819.364 61 192.168.0.6 TCP_MISS/500 386 POST http://192.168.0.254:8014/secreg/secreg.dll? - DIRECT/192.168.0.254 text/html
1298312819.972 29 192.168.0.6 TCP_DENIED/403 713 POST http://servidor:8014/secreg/secreg.dll? - NONE/- text/html
1298312828.571 31 192.168.0.6 TCP_DENIED/403 713 POST http://servidor:8014/secreg/secreg.dll? - NONE/- text/html
1298312829.186 55 192.168.0.6 TCP_MISS/500 386 POST http://192.168.0.254:8014/secreg/secreg.dll? - DIRECT/192.168.0.254 text/html
1298312837.772 61 192.168.0.6 TCP_MISS/500 386 POST http://192.168.0.254:8014/secreg/secreg.dll? - DIRECT/192.168.0.254 text/html
1298312838.380 5 192.168.0.6 TCP_DENIED/403 713 POST http://servidor:8014/secreg/secreg.dll? - NONE/- text/html
1298312846.960 60 192.168.0.6 TCP_MISS/500 386 POST http://192.168.0.254:8014/secreg/secreg.dll? - DIRECT/192.168.0.254 text/html
1298312847.568 29 192.168.0.6 TCP_DENIED/403 713 POST http://servidor:8014/secreg/secreg.dll? - NONE/- text/html
1298312856.117 29 192.168.0.6 TCP_DENIED/403 713 POST http://servidor:8014/secreg/secreg.dll? - NONE/- text/html
1298312856.756 60 192.168.0.6 TCP_MISS/500 386 POST http://192.168.0.254:8014/secreg/secreg.dll? - DIRECT/192.168.0.254 text/html
1298312865.342 67 192.168.0.6 TCP_MISS/500 386 POST http://192.168.0.254:8014/secreg/secreg.dll? - DIRECT/192.168.0.254 text/html
1298312865.945 29 192.168.0.6 TCP_DENIED/403 713 POST http://servidor:8014/secreg/secreg.dll? - NONE/- text/html
1298312874.525 19 192.168.0.6 TCP_DENIED/403 713 POST http://servidor:8014/secreg/secreg.dll? - NONE/- text/html
1298312875.302 192 192.168.0.6 TCP_MISS/500 386 POST http://192.168.0.254:8014/secreg/secreg.dll? - DIRECT/192.168.0.254 text/html
1298312883.994 29 192.168.0.6 TCP_DENIED/403 713 POST http://servidor:8014/secreg/secreg.dll? - NONE/- text/html
1298312884.634 61 192.168.0.6 TCP_MISS/500 386 POST http://192.168.0.254:8014/secreg/secreg.dll? - DIRECT/192.168.0.254 text/html
1298312893.182 18 192.168.0.6 TCP_DENIED/403 713 POST http://servidor:8014/secreg/secreg.dll? - NONE/- text/html
1298312893.822 47 192.168.0.6 TCP_MISS/500 386 POST http://192.168.0.254:8014/secreg/secreg.dll? - DIRECT/192.168.0.254 text/html
1298312902.433 29 192.168.0.6 TCP_DENIED/403 713 POST http://servidor:8014/secreg/secreg.dll? - NONE/- text/html
1298312903.073 61 192.168.0.6 TCP_MISS/500 386 POST http://192.168.0.254:8014/secreg/secreg.dll? - DIRECT/192.168.0.254 text/html
1298312911.635 74 192.168.0.6 TCP_MISS/500 386 POST http://192.168.0.254:8014/secreg/secreg.dll? - DIRECT/192.168.0.254 text/html
1298312912.229 29 192.168.0.6 TCP_DENIED/403 713 POST http://servidor:8014/secreg/secreg.dll? - NONE/- text/html
1298312920.778 29 192.168.0.6 TCP_DENIED/403 713 POST http://servidor:8014/secreg/secreg.dll? - NONE/- text/html
1298312921.419 61 192.168.0.6 TCP_MISS/500 386 POST http://192.168.0.254:8014/secreg/secreg.dll? - DIRECT/192.168.0.254 text/html
1298312929.998 29 192.168.0.6 TCP_DENIED/403 713 POST http://servidor:8014/secreg/secreg.dll? - NONE/- text/html
1298312930.637 60 192.168.0.6 TCP_MISS/500 386 POST http://192.168.0.254:8014/secreg/secreg.dll? - DIRECT/192.168.0.254 text/html
1298312939.186 29 192.168.0.6 TCP_DENIED/403 713 POST http://servidor:8014/secreg/secreg.dll? - NONE/- text/html
1298312939.832 67 192.168.0.6 TCP_MISS/500 386 POST http://192.168.0.254:8014/secreg/secreg.dll? - DIRECT/192.168.0.254 text/html
1298312948.452 29 192.168.0.6 TCP_DENIED/403 713 POST http://servidor:8014/secreg/secreg.dll? - NONE/- text/html
1298312949.086 30 192.168.0.6 TCP_MISS/500 386 POST http://192.168.0.254:8014/secreg/secreg.dll? - DIRECT/192.168.0.254 text/html
1298312957.672 61 192.168.0.6 TCP_MISS/500 386 POST http://192.168.0.254:8014/secreg/secreg.dll? - DIRECT/192.168.0.254 text/html
1298312958.280 29 192.168.0.6 TCP_DENIED/403 713 POST http://servidor:8014/secreg/secreg.dll? - NONE/- text/html
1298312966.829 61 192.168.0.6 TCP_MISS/500 386 POST http://192.168.0.254:8014/secreg/secreg.dll? - DIRECT/192.168.0.254 text/html
1298312967.436 20 192.168.0.6 TCP_DENIED/403 713 POST http://servidor:8014/secreg/secreg.dll? - NONE/- text/html
1298312976.016 31 192.168.0.6 TCP_DENIED/403 713 POST http://servidor:8014/secreg/secreg.dll? - NONE/- text/html
1298312976.656 60 192.168.0.6 TCP_MISS/500 386 POST http://192.168.0.254:8014/secreg/secreg.dll? - DIRECT/192.168.0.254 text/html
1298312985.273 66 192.168.0.6 TCP_MISS/500 386 POST http://192.168.0.254:8014/secreg/secreg.dll? - DIRECT/192.168.0.254 text/html
1298312985.875 29 192.168.0.6 TCP_DENIED/403 713 POST http://servidor:8014/secreg/secreg.dll? - NONE/- text/html
1298312994.393 30 192.168.0.6 TCP_DENIED/403 713 POST http://servidor:8014/secreg/secreg.dll? - NONE/- text/html
1298312995.033 62 192.168.0.6 TCP_MISS/500 386 POST http://192.168.0.254:8014/secreg/secreg.dll? - DIRECT/192.168.0.254 text/html
1298313003.628 61 192.168.0.6 TCP_MISS/500 386 POST http://192.168.0.254:8014/secreg/secreg.dll? - DIRECT/192.168.0.254 text/html
1298313004.236 29 192.168.0.6 TCP_DENIED/403 713 POST http://servidor:8014/secreg/secreg.dll? - NONE/- text/html
1298313012.770 61 192.168.0.6 TCP_MISS/500 386 POST http://192.168.0.254:8014/secreg/secreg.dll? - DIRECT/192.168.0.254 text/html
1298313013.377 29 192.168.0.6 TCP_DENIED/403 713 POST http://servidor:8014/secreg/secreg.dll? - NONE/- text/html




8. Re: Queda de rede constante

Avena
avena

(usa Debian)

Enviado em 21/02/2011 - 15:35h

no syslog tem erros como

Feb 21 14:39:22 Proxy dhcpd: /etc/dhcp3/dhcpd.conf line 20: semicolon expected.
Feb 21 14:39:22 Proxy dhcpd: option
Feb 21 14:39:22 Proxy dhcpd: ^
Feb 21 14:39:22 Proxy dhcpd: /etc/dhcp3/dhcpd.conf line 21: unexpected end of file
Feb 21 14:39:22 Proxy dhcpd: }
Feb 21 14:39:22 Proxy dhcpd: ^
Feb 21 14:39:22 Proxy dhcpd: Configuration file errors encountered -- exiting

ai mostra que linhas 21 e 22 do /etc/dhcp3/dhcpd.conf - seu dhcp3-server configura errado ..acho que falta um }

como o servidor faz proxy...e tipo um gateway pra clientes e legal ver se squid e nat ou outras regras esta ok. se interfaces estao configuradas ok e se dhcp3-server esta ok. (pelo log ja da problema.)


dica pra tu se orientar
http://www.istf.com.br/perguntas/
leia e vai por ele.

vai ver que quanto tiver duvida vai se mais focado no que esta acontecendo.

pois do jeito que anda...como colega disse e desmotivante.


9. Re: Queda de rede constante

Jonathan Rodrigues
john_master12

(usa Ubuntu)

Enviado em 21/02/2011 - 15:49h

renato squid NCD1

2011/02/21 15:49:55| Squid is already running! Process ID 695


meu dhcpd.conf

ddns-update-style ad-hoc;

# meu dominio
option domain-name "grupocoesa.com.br";
# dns do speedy
option domain-name-servers 200.26.200.70;

#tempo de renovacao de ips
default-lease-time 600;
#tempo maximo de renovacao de ip
max-lease-time 7200;

#nivel de log
log-facility local7;

#configuracao da rede
subnet 201.26.200.0 netmask 255.255.255.0 {
range 201.26.200.0 201.26.200.254;
option broadcast-address 201.26.200.0
option routers 200.204.0.10
}
tah algo estranho pq eu num uso o dhcp
so esta instalado mas eu não uso


10. Re: Queda de rede constante

Jonathan Rodrigues
john_master12

(usa Ubuntu)

Enviado em 21/02/2011 - 15:53h

dei um service --status-all
vi o dhcp3 tah parado


11. Re: Queda de rede constante

Renato Carneiro Pacheco
renato_pacheco

(usa Debian)

Enviado em 21/02/2011 - 15:54h

Ô, meu Deus, dai-me paciência!

O comando q t passei é pra ser executado pra iniciar o squid e não quando ele já estiver em execução. Outra coisa: analise as msgs, pois vc simplesmente nem as lê e joga aki. Assim vc evita aborrecimento...


12. Re: Queda de rede constante

Jonathan Rodrigues
john_master12

(usa Ubuntu)

Enviado em 21/02/2011 - 15:57h

squid -NCd1

2011/02/21 15:58:50| Starting Squid Cache version 2.7.STABLE9 for i386-debian-linux-gnu...
2011/02/21 15:58:50| Process ID 1709
2011/02/21 15:58:50| With 1024 file descriptors available
2011/02/21 15:58:50| Using epoll for the IO loop
2011/02/21 15:58:50| Performing DNS Tests...
2011/02/21 15:58:50| Successful DNS name lookup tests...
2011/02/21 15:58:50| DNS Socket created at 0.0.0.0, port 37834, FD 6
2011/02/21 15:58:50| Adding domain Coesa from /etc/resolv.conf
2011/02/21 15:58:50| Adding nameserver 200.204.0.10 from /etc/resolv.conf
2011/02/21 15:58:50| Adding nameserver 200.204.0.138 from /etc/resolv.conf
2011/02/21 15:58:50| User-Agent logging is disabled.
2011/02/21 15:58:50| Referer logging is disabled.
2011/02/21 15:58:50| logfileOpen: opening log /var/log/squid/access.log
2011/02/21 15:58:50| Unlinkd pipe opened on FD 11
2011/02/21 15:58:50| Swap maxSize 2097152 + 1048576 KB, estimated 241979 objects
2011/02/21 15:58:50| Target number of buckets: 12098
2011/02/21 15:58:50| Using 16384 Store buckets
2011/02/21 15:58:50| Max Mem size: 1048576 KB
2011/02/21 15:58:50| Max Swap size: 2097152 KB
2011/02/21 15:58:50| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2011/02/21 15:58:50| logfileOpen: opening log /var/log/squid/store.log
2011/02/21 15:58:50| Rebuilding storage in /var/spool/squid (CLEAN)
2011/02/21 15:58:50| Using Least Load store dir selection
2011/02/21 15:58:50| Current Directory is /root
2011/02/21 15:58:50| Loaded Icons.
2011/02/21 15:58:51| Accepting transparently proxied HTTP connections at 0.0.0.0, port 3140, FD 13.
2011/02/21 15:58:51| Accepting ICP messages at 0.0.0.0, port 3130, FD 14.
2011/02/21 15:58:51| HTCP Disabled.
2011/02/21 15:58:51| WCCP Disabled.
2011/02/21 15:58:51| Ready to serve requests.
2011/02/21 15:58:51| Store rebuilding is 14.5% complete
2011/02/21 15:58:51| Done reading /var/spool/squid swaplog (28327 entries)
2011/02/21 15:58:51| Finished rebuilding storage from disk.
2011/02/21 15:58:51| 28327 Entries scanned
2011/02/21 15:58:51| 0 Invalid entries.
2011/02/21 15:58:51| 0 With invalid flags.
2011/02/21 15:58:51| 28327 Objects loaded.
2011/02/21 15:58:51| 0 Objects expired.
2011/02/21 15:58:51| 0 Objects cancelled.
2011/02/21 15:58:51| 0 Duplicate URLs purged.
2011/02/21 15:58:51| 0 Swapfile clashes avoided.
2011/02/21 15:58:51| Took 1.4 seconds (19597.2 objects/sec).
2011/02/21 15:58:51| Beginning Validation Procedure
2011/02/21 15:58:51| Completed Validation Procedure
2011/02/21 15:58:51| Validated 28327 Entries
2011/02/21 15:58:51| store_swap_size = 458564k
2011/02/21 15:58:52| storeLateRelease: released 0 objects
^C2011/02/21 15:59:16| Preparing for shutdown after 6 requests
2011/02/21 15:59:16| Waiting 0 seconds for active connections to finish
2011/02/21 15:59:16| FD 13 Closing HTTP connection
2011/02/21 15:59:16| Shutting down...
2011/02/21 15:59:16| FD 14 Closing ICP connection
2011/02/21 15:59:16| Closing unlinkd pipe on FD 11
2011/02/21 15:59:16| storeDirWriteCleanLogs: Starting...
2011/02/21 15:59:16| Finished. Wrote 28327 entries.
2011/02/21 15:59:16| Took 0.0 seconds (1472603.5 entries/sec).
2011/02/21 15:59:16| logfileClose: closing log /var/log/squid/store.log
2011/02/21 15:59:16| logfileClose: closing log /var/log/squid/access.log
2011/02/21 15:59:16| Squid Cache (Version 2.7.STABLE9): Exiting normally.



01 02



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts