nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Automatically restart unix daemon

This is a discussion on Automatically restart unix daemon within the Linux software forums, part of the Linux Getting Started category; Dear all, How do i automatically restart unix daemon such as sendmail, Apache web server? Sometime my unix daemon dies ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 12-16-2006, 04:52 AM
raj raj is offline
Contributors
User
 
Join Date: Jun 2005
Location: Hyderabad
Posts: 151
Rep Power: 4
raj is on a distinguished road
Default Automatically restart unix daemon

Dear all,

How do i automatically restart unix daemon such as sendmail, Apache web server? Sometime my unix daemon dies at 3AM in the morning and I need to login into box to get it back.

I'd appreciate if someone help me out with this problem.
__________________
Raj
Linux rulz.
I have never turned back in my life ; I shall not do so today.. haha
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 12-16-2006, 10:18 AM
Junior Member
User
 
Join Date: Jun 2006
Location: New Zealand
Posts: 21
Rep Power: 0
Beresford
Default

Have a look here:

http://www.cyberciti.biz/tips/howto-...x-service.html
Reply With Quote
  #3 (permalink)  
Old 12-16-2006, 12:29 PM
Senior Member
User
 
Join Date: Dec 2006
Location: /B!n@ry
My distro: openSuSE 10.2
Posts: 127
Rep Power: 0
B!n@ry
Send a message via MSN to B!n@ry
Default

Under Red Hat systems:
Code:
service demoan-name restart
Under any other plus Red Hat:
Code:
/etc/init.d/daemon-name restart
__________________
LivE Free 0r DiE
L!nux rul3z aLL
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
solaris restart sshd Solaris/OpenSolaris 2 01-20-2007 09:18 AM
solaris inetd restart Solaris/OpenSolaris 1 01-18-2006 09:29 PM
BSD start daemon All about FreeBSD/OpenBSD/NetBSD 1 01-09-2006 12:06 PM
freebsd syslogd restart All about FreeBSD/OpenBSD/NetBSD 1 12-30-2005 01:41 AM
restart the ssh service goku1 Linux software 1 12-23-2005 12:19 AM


All times are GMT +5.5. The time now is 07:46 PM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36