Author Topic: 3.0.x zentyal logs modul leallas daily logrotate utan  (Read 1585 times)

julio

  • Guest
3.0.x zentyal logs modul leallas daily logrotate utan
« on: November 22, 2012, 01:16:36 pm »
Üdv!

a kovetkezo problemara keresem a megoldast:
a napi logrotate utan leall a zentyal logs modul,
nincs bejegyzes a gui firewall log-ban,
viszont a syslog-ban fut a loggolas.
zentyal logs ujrainditas utan (/etc/init.d/zentyal logs restart)
elindul a gui firewall log, latszodnak a ujrainditas utanni bejegyzesek.

Gyula

« Last Edit: November 22, 2012, 05:39:05 pm by julio »

Szemy

  • Zen Apprentice
  • *
  • Posts: 44
  • Karma: +0/-1
    • View Profile
Re: zentyal logs modul leallas daily logrotate utan
« Reply #1 on: November 22, 2012, 01:51:14 pm »
Szia Gyula,

3.0.X ? logrotate időpontjában mit látsz a syslogban ? és a zentyallog ban?

julio

  • Guest
Re: zentyal logs modul leallas daily logrotate utan
« Reply #2 on: November 22, 2012, 05:19:45 pm »
3.0.X, a zentyal.log-ban es az error.log-ban nem latok semmit az adott idoben,

Quote
syslog.1:
*********************************************************************************************************************************************************************************************************************************************************
utolso FW bejegyzes ami meg lathato a GUI log-ban:
Nov 22 07:54:05 zentyal kernel: [126561.919570] ebox-firewall drop IN=eth1 OUT= MAC=00:24:9b:05:47:02:00:26:cb:d5:ca:d9:08:00:45:00:00:28:d9:8a:00:00:ed:06:ea:d2
SRC=66.211.178.203 DST=xxx.xxx.xxx.xxx LEN=40 TOS=0x00 PREC=0x00 TTL=237 ID=55690 PROTO=TCP SPT=443 DPT=48383 WINDOW=9300 RES=0x00 ACK RST URGP=0 MARK=0x1
*********************************************************************************************************************************************************************************************************************************************************
Nov 22 07:55:01 zentyal CRON[24280]: (root) CMD (/usr/share/zentyal-users/slave-sync)
Nov 22 07:56:03 zentyal kernel: [126679.750020] init: zentyal.squid3-external main process (15471) killed by KILL signal
Nov 22 07:56:10 zentyal kernel: [126686.195839] init: squid3 main process (15551) killed by KILL signal
Nov 22 07:56:23 zentyal dansguardian[24512]: Started sucessfully.
Nov 22 07:56:24 zentyal rsyslogd: [origin software="rsyslogd" swVersion="5.8.6" x-pid="915" x-info="http://www.rsyslog.com"] rsyslogd was HUPed

syslog:
Nov 22 07:56:27 zentyal anacron[23871]: Job `cron.daily' terminated
Nov 22 07:56:27 zentyal anacron[23871]: Normal exit (1 job run)
Nov 22 07:58:15 zentyal dhcpd: DHCPREQUEST for 192.168.1.105 from 1c:b0:94:xx:xx:xx (android-xxxxxxxxxxxxxxxxx) via br1
Nov 22 07:58:15 zentyal dhcpd: DHCPACK on 192.168.1.105 to 1c:b0:94:xx:xx:xx (android-xxxxxxxxxxxxxxxxx) via br1
Nov 22 07:58:17 zentyal hostapd: wlan0: STA 1c:b0:94:xx:xx:xx WPA: group key handshake completed (RSN)
Nov 22 07:58:38 zentyal kernel: [126834.742822] ebox-firewall drop IN=br1 OUT=eth1 PHYSIN=wlan0 MAC=00:22:43:4b:10:f4:1c:b0:94:71:20:28:08:00
SRC=192.168.1.105 DST=173.194.35.174 LEN=52 TOS=0x00 PREC=0x00 TTL=63 ID=43572 DF PROTO=TCP SPT=43453 DPT=443 WINDOW=26094 RES=0x00 ACK FIN URGP=0 MARK=0x1
« Last Edit: November 22, 2012, 05:26:02 pm by julio »

Szemy

  • Zen Apprentice
  • *
  • Posts: 44
  • Karma: +0/-1
    • View Profile
Re: 3.0.x zentyal logs modul leallas daily logrotate utan
« Reply #3 on: November 22, 2012, 08:52:05 pm »
Bocs, azt hittem ettől okosabb leszek ... de semmi ... :(

julio

  • Guest
Re: 3.0.x zentyal logs modul leallas daily logrotate utan
« Reply #4 on: November 30, 2012, 09:31:32 am »
Hatha valakinek hasonlo problemaja akad, a nem tul elegans megoldas a kovetkezo:

a /usr/share/zentyal/loggerd szerviz latszolag fut, de valojaban nem frissit ezert
a /etc/cron.daily/logrotate script utolso soraba beszurtam a /etc/init.d/zentyal logs restart parancsot

A kerdes meg mindig, miert hal le a loggerd szerviz?