full stop httpd and mysqld ?

Discussion in 'Site & Server Administration' started by travelmate, Nov 27, 2009.

  1. #1
    Hi !

    I have dedicated server and i try to stop mysqld and httpd servers with the command: service mysqld stop and service httpd stop
    The servers stop, but after 1-2 minutes they running by self again .

    How can i make full stop the servers ?

    I Have Centos.
     
    travelmate, Nov 27, 2009 IP
  2. mainstreamnet

    mainstreamnet Guest

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Do you have cpanel installed? If so disable the httpd and mysql service monitor.
     
    mainstreamnet, Nov 27, 2009 IP
  3. sahabcse

    sahabcse Well-Known Member

    Messages:
    272
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    140
    #3
    Please run the below command

    #killall -9 httpd
    #killall -9 mysqld
     
    sahabcse, Nov 28, 2009 IP
  4. oc-scott

    oc-scott Active Member

    Messages:
    420
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    68
    #4
    Also, check if you have process resource monitor (PRM) or similar scripts installed in the server to restart the services incase if it goes down.
     
    oc-scott, Nov 28, 2009 IP
  5. ahref

    ahref Well-Known Member

    Messages:
    1,123
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    170
    #5
    Stop chkservd service first as chkservd service start any service which stop.
     
    ahref, Nov 29, 2009 IP
  6. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #6
    There probably is somekind of server monitor which checks if these are off and enables them autoamtically ..check for this
     
    Bohra, Nov 29, 2009 IP
  7. CanSpace

    CanSpace Well-Known Member

    Messages:
    291
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    108
    #7
    In all likelihood this will NOT fix the problem. It will just shutdown the servers in an unfriendly way and they will be started back up again.

    Like others have said, it is probably some monitoring app...
     
    CanSpace, Nov 29, 2009 IP
  8. don19

    don19 Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    try to use service stop and start
     
    don19, Nov 29, 2009 IP
  9. don19

    don19 Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    or you may try to find httpd and mysqld log
     
    don19, Nov 29, 2009 IP
  10. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #10
    See if you are running the mysqlmanager process. It is designed to bring failed mysqld processes back online if they go down. It was built into MySQL 5.0.xx, but I think it was removed in 5.1.xx (not sure if it was replaced with something else or not).
     
    digitalpoint, Dec 1, 2009 IP
  11. olddocks

    olddocks Notable Member

    Messages:
    3,275
    Likes Received:
    165
    Best Answers:
    0
    Trophy Points:
    215
    #11
    check for any entries in cron as well

     
    olddocks, Dec 3, 2009 IP