Jump to content

Main Page/Qmail service issue in RHEL6 Sphaerapharma: Difference between revisions

From TetraWiki
 
Line 9: Line 9:
http://www.kluner.net/2011/04/04/daemontools-on-redhat-enterprise-6-0/
http://www.kluner.net/2011/04/04/daemontools-on-redhat-enterprise-6-0/


create /etc/init/svscan.conf
create /etc/init/svscan.conf with following entry
 
start on runlevel [345]
 
respawn


start on runlevel [345]
respawn
  exec /command/svscanboot
  exec /command/svscanboot


now, tell init, it should re-read it’s configuration, and then start svscanboot:


      * initctl reload-configuration
initctl reload-configuration
      * initctl stop svscan
initctl stop svscan
      * initctl start svscan
initctl start svscan


If Svscan is running then kill by   
If Svscan is running then kill by   


    kill -HUP <Pid of Svscan>  
kill -HUP <Pid of Svscan>  
 
kill -HUP <pid of service>
    kill -HUP <pid of service>

Latest revision as of 07:59, 24 October 2013


Qmail Service Issue in RHEL 6[edit]

SVSCAN Issue ,as init q will not work on RHEL 6

http://www.kluner.net/2011/04/04/daemontools-on-redhat-enterprise-6-0/

create /etc/init/svscan.conf with following entry

start on runlevel [345]
respawn
exec /command/svscanboot

now, tell init, it should re-read it’s configuration, and then start svscanboot:

initctl reload-configuration
initctl stop svscan
initctl start svscan

If Svscan is running then kill by

kill -HUP <Pid of Svscan> 
kill -HUP <pid of service>