LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-08-2009, 04:47 AM   #1
Stese
LQ Newbie
 
Registered: Dec 2009
Location: Hants, UK
Distribution: CentOS 5.3
Posts: 6

Rep: Reputation: 0
Question 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.
 
Old 12-08-2009, 07:57 AM   #2
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,274

Rep: Reputation: 148Reputation: 148
Check the basic network stuffs(telnet the ports, traceroute the server ip and check packet lost) and hardware issues.
 
Old 12-08-2009, 07:59 AM   #3
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by Stese View Post
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.
 
Old 12-08-2009, 08:27 AM   #4
Stese
LQ Newbie
 
Registered: Dec 2009
Location: Hants, UK
Distribution: CentOS 5.3
Posts: 6

Original Poster
Rep: Reputation: 0
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)

Last edited by Stese; 12-08-2009 at 08:29 AM. Reason: forgot to thank, and more
 
Old 12-08-2009, 11:24 AM   #5
deathsfriend99
Member
 
Registered: Nov 2007
Distribution: CentOS 6
Posts: 195

Rep: Reputation: 22
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?
 
Old 12-09-2009, 04:09 AM   #6
Stese
LQ Newbie
 
Registered: Dec 2009
Location: Hants, UK
Distribution: CentOS 5.3
Posts: 6

Original Poster
Rep: Reputation: 0
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.
 
Old 12-09-2009, 09:41 AM   #7
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS-Asterisk- /var/spool/asterisk/monitor How to decipher who's call is who's? tananthulus Linux - Newbie 2 12-08-2009 04:50 AM
Slight Asterisk GUI Issues on CentOS 5 sseeker Linux - Server 6 01-30-2009 06:22 AM
Asterisk GUI Won't Save CentOS 5 sseeker Linux - Server 6 06-10-2008 03:24 AM
Centos 4.2 & ndiswrapper: set essid locks system Terpster Linux - Wireless Networking 2 04-03-2006 04:04 PM
CentOS / Asterisk scroll break help arpanet1969 Linux - Newbie 1 07-06-2005 01:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration