LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-10-2007, 12:19 PM   #1
mattsoftnet
Member
 
Registered: Jan 2006
Posts: 120

Rep: Reputation: 15
services crashing


I have a centos server with cpanel running in it. pretty standard setup. apache, mysql, exim... what would cause services to fail and be automatically restarted or need to be restarted manually? my server provider said once that it's hitting a hard ram limit, but I hardly ever see it go over 50% usage. there has to be some reason for this to be happening.
 
Old 05-12-2007, 01:19 PM   #2
waelaltaqi
Member
 
Registered: Sep 2005
Location: USA, TN
Distribution: CentOS & Ubuntu for Desktop
Posts: 454

Rep: Reputation: 31
it's not always the amount of memory you have on the machine. it's also how much memory assigned to each service. a service might restart due a a whole bunch of reasons. Memory is one....
you need to lookup your log files to see error messages...
please excute
Code:
vi /var/log/messages
read thoroughly and post error messages. if a service is restarting by it's own then the output should be mentioned there. without giving some error messages, not body will be able to help out.
 
Old 05-13-2007, 11:46 AM   #3
mattsoftnet
Member
 
Registered: Jan 2006
Posts: 120

Original Poster
Rep: Reputation: 15
ok, mysql crashed and automatically restarted earlier today. I looked in that log file you said about, but all I see is a bunch of login failures for ftp then a bunch for ssh username root. it's nothing DoS related because the ftp logins are spaced out over a few hours, and the ssh failures happened a half hour after mysql restarted. any other place I could try looking?
 
Old 05-13-2007, 12:01 PM   #4
waelaltaqi
Member
 
Registered: Sep 2005
Location: USA, TN
Distribution: CentOS & Ubuntu for Desktop
Posts: 454

Rep: Reputation: 31
what about /var/log/mysql.log? i have mysql on my server and that's where is saves log @
here is a view at mysql /var/log directory:
Code:
[root@mailgw log]# ls
acpid            cron~      maillog~     quarantine_report_log  secure.4
amanda           cron.1     maillog.1    rpmpkgs                spooler
anaconda.log     cron.2     maillog.2    rpmpkgs.1              spooler.1
anaconda.syslog  cron.3     maillog.3    rpmpkgs.2              spooler.2
anaconda.xlog    cron.4     maillog.4    rpmpkgs.3              spooler.3
audit            cups       messages     rpmpkgs.4              spooler.4
bandwidth        dmesg      messages.1   sa                     squid
boot.log         freshclam  messages.2   samba                  uucp
boot.log.1       httpd      messages.3   scrollkeeper.log       vbox
boot.log.2       iptraf     messages.4   secure                 wtmp
boot.log.3       lastlog    mysqld.log   secure.1               wtmp.1
boot.log.4       mail       ppp          secure.2               yum.log
cron             maillog    prelink.log  secure.3
as you see, there is a log file for mysql ... look through that file and post.
 
  


Reply



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
Services for Unix crashing when mounting NFS maddave Red Hat 3 11-24-2006 07:40 AM
services-admin/Services deardron Ubuntu 7 09-22-2006 08:32 PM
Media Services on Linux platform similar to Windows Media Services happyok Linux - Software 3 05-27-2006 04:36 PM
X crashing rrr-jr Linux - Software 2 01-31-2006 04:06 PM
TightVNC Ver terminal Services.. also looking for terminal Services for linux 2782d4 Linux - Security 3 05-20-2004 02:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:44 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
Open Source Consulting | Domain Registration