1837981 Members
1836 Online
110124 Solutions
New Discussion

Re: at Command

 
Olebile
Frequent Advisor

at Command

I am trying to run the "at" on HP-UX 11 and it does not execute, what should I look for. I have the at.allow file all the neccesary names for the users?
Perfomance Monitoring is not always easy
17 REPLIES 17
James R. Ferguson
Acclaimed Contributor

Re: at Command

Hi:

What error do you see? Does any entry appear in 'var/adm/cron/log' for your process?

Regards!

...JRF...
Pete Randall
Outstanding Contributor

Re: at Command

Just out of curiosity, remove the at.allow file and touch //usr/lib/cron/at.deny. This would allow everyone to use at.

Pete

Pete
Olebile
Frequent Advisor

Re: at Command

the is what I have under /var/adm/cron/log

rescheduling at job Fri Nov 15 15:16:25 GMT 2002
! a queue max run limit reached Fri Nov 15 15:16:25 GMT 2002
! rescheduling at job Fri Nov 15 15:16:25 GMT 2002
! a queue max run limit reached Fri Nov 15 15:16:25 GMT 2002
! rescheduling at job Fri Nov 15 15:16:25 GMT 2002
! a queue max run limit reached Fri Nov 15 15:16:25 GMT 2002
! rescheduling at job Fri Nov 15 15:16:25 GMT 2002


Perfomance Monitoring is not always easy
Jean-Louis Phelix
Honored Contributor

Re: at Command

hi,

Did you check that your cron process is running ? Also a process could be in a wait state if the max concurrent number of jobs for at has been reached (man queuedefs), but you should see it in /var/adm/cron/logs. This could happen if you have launched jobs which never end. Try a :

#UNIX95= ps -eHf

to see cron's child

Regards.
It works for me (© Bill McNAMARA ...)
Jean-Louis Phelix
Honored Contributor

Re: at Command

hi,

haing a look at your logs, I confirm that you should have a look at your queuedefs file and perhaps kill old running jobs ...

#UNIX95= ps -efH

Just type this command with same spaces and look fro cron.

Jean-Louis
It works for me (© Bill McNAMARA ...)
James R. Ferguson
Acclaimed Contributor

Re: at Command

Hi:

You may want to increase the limit for concurrent jobs in ' /var/adm/cron/queuedefs'. See 'man 4 queuedefs' for more explanation.

Regards!

...JRF...
Pete Randall
Outstanding Contributor

Re: at Command

Oh, THAT at problem!!

See this thread:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x1cb03a7b3682d611abdb0090277a778c,00.html

In a nutshell: you probably have patch PHCO_24702 on your system. You need PHCO_27141.

Pete

Pete
Pete Randall
Outstanding Contributor

Re: at Command

Any luck?

Pete

Pete
Shannon Petry
Honored Contributor

Re: at Command

Update to current patch levels.

This is a problem with 11.X under certain circumstances this error pops up.

I dont remember the patch number now, but if you search the patch site for cron you will quicky find them, or load the latest QRM from HP.

I always modify queuedefs, and though I made a type, played with different settings, etc.. nothing helped. Bug! ;)

Good Luck!
Shannon
Microsoft. When do you want a virus today?
Pete Randall
Outstanding Contributor

Re: at Command

Shannon,

See above.

Pete

Pete
Shannon Petry
Honored Contributor

Re: at Command

LOL, sorry Pete!

I hate that the new window's dont open new, so I avoid hitting links unless I have too!

Did not mean to step on you toes!
Shannon
Microsoft. When do you want a virus today?
Pete Randall
Outstanding Contributor

Re: at Command

No problem, I was just trying to save you looking.

Pete

Pete
Olebile
Frequent Advisor

Re: at Command

Gentlemen,

I need to download the patch PHCO_22767 as per your recommendations. I found that there is a more recnt patch PHCO_27141, what is your recommendation.

rgds

Olebile
Perfomance Monitoring is not always easy
Pete Randall
Outstanding Contributor

Re: at Command

Sorry for the delay, PHCO_27141 IS the one I recommended. To quote from the patch text:
"PHCO_24702 introduced behavior whereby cron(1M) may no longer execute at(1) jobs."

If you have PHCO_24702 on your system (and I'm betting you do), install PHCO_27141.

And let us know.

Pete

Pete
Pete Randall
Outstanding Contributor

Re: at Command

Hello?

Any luck?

Pete

Pete
Olebile
Frequent Advisor

Re: at Command

The patch addressed the problem. You just saved me the stress. Believe me I tried a lot of things before the patch advice.

Thank You!!!
Perfomance Monitoring is not always easy
Pete Randall
Outstanding Contributor

Re: at Command

You're welcome. Glad to help.

Pete

Pete