RE: crond stops after logging off

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I managed to start the crond and let it stay on running after logoff by
doing "/etc/init.d/crond start &" as root. 

The problem I had seems to be related to the fact that we cannot login as
root directly. We have to login as regular user first using secured id, then
su to root. It happens twice already. If I su to root and then do "service
crond start" and logoff, the crond process is lost. It took me a while to
realize that it was me who actually terminated the crond!

Conway 

 

-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx]
On Behalf Of Mike Burger
Sent: Monday, January 24, 2005 9:02 PM
To: General Red Hat Linux discussion list
Subject: Re: crond stops after logging off

On Mon, 24 Jan 2005, Chu, Conway wrote:

> I login as a regular user and then su to root. Use "service crond 
> start" to start the crond deamon then logoff. But login again and use 
> "service crond status", it displays that the pid exists but the 
> process is no longer available. Looks like crond terminates after 
> logging off.  Question is, besides starting crond at boot time, how to 
> start crond and let it run and able to logoff"?

Crond isn't dependant on your being logged in.

You should probably do "service crond status" after you've started it, to
see if it's really still running.

Then, you'd do well to check /var/log/cron and /var/log/messages for any
errors or other messages that might give you an idea of what's going on.
--
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org

To be notified of updates to the web site, visit
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a message
to:

site-update-request@xxxxxxxxxxxxxxxxx

with a message of: 

subscribe

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux