LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CentOS 5.3 with Asterisk 1.6 and Webmin 1.491 - System Locks up (https://www.linuxquestions.org/questions/linux-newbie-8/centos-5-3-with-asterisk-1-6-and-webmin-1-491-system-locks-up-774190/)

Stese 12-08-2009 04:47 AM

CentOS 5.3 with Asterisk 1.6 and Webmin 1.491 - System Locks up
 
Hi All,

The config above seems to be partially falling over after a period of inactivity.

The machine will respond to ping, but 'higher' functions such as login via SSH, Webmin and Asterisk CLI, all seem to stop functioning. A power cycle will resolve these issues.

Unfortunately, this box is in a datacentre, so currently, I can't get to log on to the actual box, or see any screen output.

Now obviously, this isn't enough information for anyone to really diagnose this, but as a relative newbie, i'm unsure how I can troubleshoot.

Which would be the best logs to start looking in to get an idea of what may be going on? at this point, I have no indication if the issue is hardware or software.

N.B

I have done a fair amount of Googling for troubleshooting guides, but they either come back with a white paper to buy, or something tailored to a specific problem.

kirukan 12-08-2009 07:57 AM

Check the basic network stuffs(telnet the ports, traceroute the server ip and check packet lost) and hardware issues.

jstephens84 12-08-2009 07:59 AM

Quote:

Originally Posted by Stese (Post 3783787)
Hi All,

The config above seems to be partially falling over after a period of inactivity.

The machine will respond to ping, but 'higher' functions such as login via SSH, Webmin and Asterisk CLI, all seem to stop functioning. A power cycle will resolve these issues.

Unfortunately, this box is in a datacentre, so currently, I can't get to log on to the actual box, or see any screen output.

Now obviously, this isn't enough information for anyone to really diagnose this, but as a relative newbie, i'm unsure how I can troubleshoot.

Which would be the best logs to start looking in to get an idea of what may be going on? at this point, I have no indication if the issue is hardware or software.

N.B

I have done a fair amount of Googling for troubleshooting guides, but they either come back with a white paper to buy, or something tailored to a specific problem.

Setup a cron job to try and log information about running processes every 2 hours or every hour. Then once you reboot see if you can get any information about the processes.

Stese 12-08-2009 08:27 AM

Thanks for the replies so far :)

Quote:

Originally Posted by kirukan
Check the basic network stuffs(telnet the ports, traceroute the server ip and check packet lost) and hardware issues.

All the network connections are fine, and there is no packet loss.

'and hardware issues.' - Sorry, what do you mean? as far as I know the hardware is physically fine, as the machine boots correctly. Is there something specific you are asking me to check?

Quote:

Originally Posted by jstephens84
Setup a cron job to try and log information about running processes every 2 hours or every hour. Then once you reboot see if you can get any information about the processes.

That sounds like a plan, but could you point me in the direction of some information of how to do that? (of course I will be googling it anyway)

deathsfriend99 12-08-2009 11:24 AM

I was running a couple of systems with this setup. It worked without a problem, so I suspect it is not a software glitch, but some sort of hardware or driver issue. Having hardware spec's would be helpful. Are you using freepbx or trixbox to drive asterisk? Or something else?

Stese 12-09-2009 04:09 AM

Quote:

Originally Posted by deathsfriend99
Are you using freepbx or trixbox to drive asterisk? Or something else?

It's simply Asterisk 1.6.1.1 obtained from the sources @ Digium. There is no 3rd party build associated with it.

The machine is an IBM E server x305 with 2x40gb HDD's in a software raid, 2ghz Intel P4 CPU and 1GB Ram.

jstephens84 12-09-2009 09:41 AM

Stese you can add commands to be ran by crontab by typing in at a command line crontab -e. the format is

* * * * * <command>

1st star - minutes
2nd star - hours
3rd star - day of month
4th star - month
5th star - day of week.


All times are GMT -5. The time now is 04:07 PM.