1834690 Members
2374 Online
110069 Solutions
New Discussion

Re: Cron Daemnon Problem

 
User_10
Occasional Advisor

Cron Daemnon Problem

Hi

I am having 10 HP C3000 Workstations running with Hp Ux 11.11 and 11.00.I am facing a problem in running cron jobs.Cron daemon is not running.once i execute the corntab -e and saves it, i will receive a error message "cron may not be running - call your system administrator".
I have tried starting the service /sbin/init.d/cron start.But the result is same.Any patch is available for this cron issue?

Thanks in advance
7 REPLIES 7
Joseph Loo
Honored Contributor

Re: Cron Daemnon Problem

hi,

check if cron indeed is running:

# ps -ef|grep -i cron

if not, run:
# /usr/sbin/cron

regards.
what you do not see does not mean you should not believe
renarios
Trusted Contributor

Re: Cron Daemnon Problem

Hi,

What does your syslog say? Possible there's more information in that.
You could also open two shell sessions. One you start a tail -f of your syslog and in the other one you restart your cron.

Cheerio,

Renarios
Nothing is more successfull as failure
User_10
Occasional Advisor

Re: Cron Daemnon Problem

Hi
The ps -ef | grep cron doesn't give any processes.i have tried running /usr/sbin/cron but it is not showing any thing
Joseph Loo
Honored Contributor

Re: Cron Daemnon Problem

hi,

since ps do not capture any running cron daemon. u have to start it:

# /sbin/init.d/cron start
or
# /usr/sbin/cron

make u have permission to do so.

regards.
what you do not see does not mean you should not believe
Ermin Borovac
Honored Contributor

Re: Cron Daemnon Problem

Please post the output of

# ll /usr/sbin/cron; what /usr/sbin/cron; file /usr/sbin/cron

If there anything in /var/adm/cron/log?
Indira Aramandla
Honored Contributor

Re: Cron Daemnon Problem

Hi,

Cron not running.
Firstly, check "mail" for the user in question. Any errors from cron will go their.

ps -ef | grep cron

If it returns no process, cron is not running.

/sbin/init.d/cron start

To check if its set to autorun, check /etc/rc.config.d/cron

make sure the run variable is set to 1

IA
Never give up, Keep Trying
Hoang Chi Cong_1
Honored Contributor

Re: Cron Daemnon Problem

Hello

OK, go to /sbin/init.d/
Check for cron:
/sbin/init.d/#ll | grep cron
The out put like this:
-r-xr-xr-x 1 bin bin 1275 Nov 14 2000 cron

Just type: #cron

Regard,
Hoang Chi Cong
Looking for a special chance.......