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

RE: crond stops after logging off

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!



-----Original Message-----
From: redhat-list-bounces redhat com [mailto:redhat-list-bounces redhat com]
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

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

site-update-request bubbanfriends org

with a message of: 


redhat-list mailing list
unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe

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