EFW Support

Support => General Support => Topic started by: danielcsgomes on Wednesday 01 September 2010, 08:03:42 pm



Title: Endian 2.4 restarts every 30minutes
Post by: danielcsgomes on Wednesday 01 September 2010, 08:03:42 pm
Hello again,

I'm getting some problems on company, the endian firewall restarts every 30 minutes, and i don't know why. Our company lives from internet and that breaks reduce a lot our produtivity.

There is any way to see what is making the endian restarts a lot?


Title: Re: Endian 2.4 restarts every 30minutes
Post by: mrkroket on Thursday 02 September 2010, 04:22:03 am
Check logs, write here the machine spec. It is virtual?
Your question is very ambiguous, problems are only solved by analisys.


Title: Re: Endian 2.4 restarts every 30minutes
Post by: danielcsgomes on Thursday 02 September 2010, 04:45:56 am
Machine Specs:

Pentium IV
Gigabyte Socket 775 GA-G31M-S2L
2 Gb Ram
40Gb Hard drive (a old one)
2 Nic's TPlink

What logs are needed and where are located to make this analisys?

Just to know, i'm new user to all this stuffs and never had work with linux.

Thanks for your help,

Daniel Gomes


Title: Re: Endian 2.4 restarts every 30minutes
Post by: mrkroket on Thursday 02 September 2010, 06:06:44 am
Log Files:
Enter console (via Putty / ssh as is easier to copy out the logs):
    dmesg | more
or maybe dmesg | grep error

cat /var/log/messages | grep -v dhcpd | grep -v sshd | grep -v fcron
If there is nothing strange, it could be a kernel panic, that leaves little trace.

Check the machine for hardware problems: Bad memory, high temp, etc...
Try to get a screen of the error. Connect a monitor to the EFW and wait for the error to come, then take a photo of the error.
You can use a webcam saving each n seconds to catch up the error (I did it this way!)


Title: Re: Endian 2.4 restarts every 30minutes
Post by: danielcsgomes on Thursday 02 September 2010, 06:55:04 am
Log Files:
Enter console (via Putty / ssh as is easier to copy out the logs):
    dmesg | more
or maybe dmesg | grep error

cat /var/log/messages | grep -v dhcpd | grep -v sshd | grep -v fcron
If there is nothing strange, it could be a kernel panic, that leaves little trace.

Check the machine for hardware problems: Bad memory, high temp, etc...
Try to get a screen of the error. Connect a monitor to the EFW and wait for the error to come, then take a photo of the error.
You can use a webcam saving each n seconds to catch up the error (I did it this way!)



/var/log/message:
Quote
Sep  1 00:05:09 endian kernel: [ 2627.075975] fetchipac[11990]: segfault at 1 ip b762ce16 sp bfb57fa8 error 4 in libc-2.3.4.so[b75d9000+114000]
Sep  1 00:10:09 endian kernel: [ 2927.075741] fetchipac[12532]: segfault at 1 ip b7625e16 sp bffbb268 error 4 in libc-2.3.4.so[b75d2000+114000]
Sep  1 00:15:09 endian kernel: [ 3227.078301] fetchipac[13075]: segfault at 1 ip b764be16 sp bfabf3b8 error 4 in libc-2.3.4.so[b75f8000+114000]
Sep  1 00:20:09 endian kernel: [ 3527.082425] fetchipac[13617]: segfault at 1 ip b7659e16 sp bffc2f58 error 4 in libc-2.3.4.so[b7606000+114000]

In the file i got a lot of this errors, can be the cause?

(http://a.yfrog.com/img840/708/endiandashboard.jpg)

One thing i repair, it is the most restarts happen on the work hours, but off the work hours it restarts too but not with me same often.

Sorry about my english,

Daniel gomes


Title: Re: Endian 2.4 restarts every 30minutes
Post by: danielcsgomes on Friday 03 September 2010, 08:45:46 am
Any hint? I really need to know what to do, any help is welcome.


Thanks,

Daniel Gomes


Title: Re: Endian 2.4 restarts every 30minutes
Post by: mrkroket on Saturday 04 September 2010, 01:25:43 am
This is a well known problem in EFW 2.4 Community

Possible Fixes (upgrade fetchipac and iptables to a newer version):
The hard and proper way:
http://www.efwsupport.com/index.php?topic=1904.0 (http://www.efwsupport.com/index.php?topic=1904.0)

The fast way (copy an .so file to trick fetchipac):
http://www.efwsupport.com/index.php?topic=1987.0 (http://www.efwsupport.com/index.php?topic=1987.0)

Once you fix that problem, check if your problem persists.
How about CPU temperature and memory ?. Did you check the hardware?


Title: Re: Endian 2.4 restarts every 30minutes
Post by: mrkroket on Tuesday 07 September 2010, 06:53:38 am
Any news?


Title: Re: Endian 2.4 restarts every 30minutes
Post by: danielcsgomes on Tuesday 07 September 2010, 07:44:29 am
It keep restarting but with lower frequence. Now it restarts about 10 times a day. What is the last kernel update to endian?

Thanks,

Daniel Gomes