Operating System - HP-UX
1834806 Members
2567 Online
110070 Solutions
New Discussion

Re: cron process hang problem

 
AlbertLi
Occasional Advisor

cron process hang problem

Hi All:

My HP server is rp5470 with DS2405 and SW version is HP-UX 11.11.

I met one problem with cronjob nonworking. After I restart cron process, cronjob works as normal before. Does HP-UX 11.11 in rp5470 have cron process hang problem? Please advice. thanks a lot your help.

br.
Albert
10 REPLIES 10
Yogeeraj_1
Honored Contributor

Re: cron process hang problem

hi Albert,

If your patches are up-to-date, it is much unlikely that the cron is a problem.

Did the cron process start? Check your /etc/rc.log

e.g.
..
Start clock daemon
Output from "/sbin/rc2.d/S730cron start":
----------------------------
cron started
..

revert!
kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
AlbertLi
Occasional Advisor

Re: cron process hang problem

Hi:

Do you know which patch for cron process hang problem? How to check in HP server ( swlist -l product) or what?

I had restarted cron process by using

Kill -HUP cron process id

thanks a lot your help.

br.
Albert
Asif Sharif
Honored Contributor

Re: cron process hang problem

Hi Albert,

You can check with this command.
#swlist -l bundle

And see what is "GOLDQPK11i " installed.if its old then update it accodringly

http://www11.itrc.hp.com/service/patch/releaseIndexPage.do?BC=main|bundle|

Regards,
Asif Sharif
Regards,
Asif Sharif
AlbertLi
Occasional Advisor

Re: cron process hang problem

Hi:

I had run swlist -l bundle and log are bellow.

NHU1CG1:/root #swlist -l bundle
# Initializing...
# Contacting target "NHU1CG1"...
#
# Target: NHU1CG1:/
#

B2491BA B.11.11 MirrorDisk/UX
B3929CA B.11.11.03.03 HP OnLineJFS
B5725AA C.6.0.109 HP-UX Installation Utilities (Ignite-UX)
B6848BA 1.4.gm.46.7 Ximian GNOME 1.4 GTK+ Libraries for HP-UX
B8111AA 1.2.2.15.00 Java 2 RTE for HP-UX (700/800), PA1.1 + PA2.0 Add On
B8465BA A.01.05.08 HP WBEM Services for HP-UX
B9073BA B.06.02 HP-UX iCOD (Instant Capacity on Demand)
B9098AA 1.2.2.15.00 Java 2 Plugin for HP-UX (700/800)
B9788AA 1.3.1.13.01 Java2 1.3 SDK for HP-UX
B9789AA 1.3.1.13.01 Java2 1.3 RTE for HP-UX
BUNDLE B.11.11 Patch Bundle
BUNDLE11i B.11.11.0306.1 Required Patch Bundle for HP-UX 11i, June 2003
Base-VXVM B.03.50.5 Base VERITAS Volume Manager Bundle 3.5 for HP-UX
CDE-English B.11.11 English CDE Environment
CMDVIEWSDM A.1.06.00 hp StorageWorks Command View SDM
FDDI-00 B.11.11.02 PCI FDDI;Supptd HW=A3739A/A3739B;SW=J3626AA
FDDI-02 B.11.11.01 HPPB FDDI;Supptd HW=J2157B;SW=J2658BA
FEATURE11-11 B.11.11.0209.5 Feature Enablement Patches for HP-UX 11i, Sept 2002
FibrChanl-00 B.11.11.09 PCI/HSC FibreChannel;Supptd HW=A6684A,A6685A,A5158A,A6795A
FibrChanl-01 B.11.11.02 PCI-X FibreChannel;Supptd HW=A6826A,A9782A,A9784A
GOLDAPPS11i B.11.11.0406.5 Gold Applications Patches for HP-UX 11i v1, June 2004
GOLDBASE11i B.11.11.0406.5 Gold Base Patches for HP-UX 11i v1, June 2004
GigEther-00 B.11.11.19 PCI/HSC GigEther;Supptd HW=A4926A/A4929A/A4924A/A4925A;SW=J1
GigEther-01 B.11.11.15 PCI/PCI-X GigEther;Supptd HW=A6794A/A6825A/A6847A/A9782A/A97
HPUX11i-OE B.11.11.0406 HP-UX 11i Operating Environment Component
HPUXBase64 B.11.11 HP-UX 64-bit Base OS
HPUXBaseAux B.11.11.0406 HP-UX Base OS Auxiliary
HWEnable11i B.11.11.0406.4 Hardware Enablement Patches for HP-UX 11i v1, June 2004
IEther-00 B.11.11.05 PCI/PCI-X IEther;Supptd HW=A7011A/A7012A/AB352A
MOZILLA 1.4.0.01.04 Mozilla 1.4 for HP-UX
MOZILLAsrc 1.4.0.01.04 Mozilla 1.4 Source distribution
OnlineDiag B.11.11.14.15 HPUX 11.11 Support Tools Bundle, Jun 2004
OpenSSL A.00.09.07-d.002 Secure Network Communications Protocol
RAID-00 B.11.11.01 PCI RAID; Supptd HW=A5856A
T1455AA 1.3.1.13.01 Java2 1.3 Netscape Plugin for HP-UX
T1456AA 1.4.2.02.01 Java2 1.4 SDK for HP-UX
T1456AAaddon 1.4.2.02.01 Java2 1.4 SDK -AA addon for HP-UX
T1457AA 1.4.2.02.01 Java2 1.4 RTE for HP-UX
T1457AAaddon 1.4.2.02.01 Java2 1.4 RTE -AA addon for HP-UX
T1458AA 1.4.2.02.01 Java2 1.4 Netscape Plugin for HP-UX
T1471AA A.03.71.000 HP-UX Secure Shell
perl D.5.8.0.B Perl Programming Language
scsiU320-00 B.11.11.01 PCI SCSI U320; Supptd HW=A7173A

But I didn't find SW like your advice. Could you help to check which SW including cron process?

thanks a lot your help

br.
Albert
Mridul Shrivastava
Honored Contributor

Re: cron process hang problem

From the o/p provided I could find that you have June2004 bundle installed which is quite old so may think of upgrading it.

GOLDAPPS11i B.11.11.0406.5 Gold Applications Patches for HP-UX 11i v1, June 2004
GOLDBASE11i B.11.11.0406.5 Gold Base Patches for HP-UX 11i v1, June 2004
HWEnable11i B.11.11.0406.4 Hardware Enablement Patches for HP-UX 11i v1, June 2004


How many time have you faced the trouble with cron jobs?? is it too frequent or this was the first time.

If this was the first time that I would suggest you to monitor the system for a while and take some commands o/p before restarting the cron if you face the same issue again.
Time has a wonderful way of weeding out the trivial
AlbertLi
Occasional Advisor

Re: cron process hang problem

Hi:

This is my first time to happen cron process hang. Which commands do I need for monitoring?

Could you also tell me which GOLDAPPS11i and GOLDBASE11i including cron process patch?


thanks a lot

br.
Albert
Yogeeraj_1
Honored Contributor

Re: cron process hang problem

hi,

I agree with Mridul, if the problem is one-off then it is not worth updating the system with a new patch.

You will have to monitor your system a bit more. If the problem recurs soon, then you will have to look into the possibility of installing the latest patch bundles for the system...

good luck!
kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Mridul Shrivastava
Honored Contributor

Re: cron process hang problem

HPUX patch bundles can be located at
http://www12.itrc.hp.com/service/patch/releaseIndexPage.do?BC=main|

If you have HP Support then taking lsof and tusc command o/p may help HPRC to find the root cause of the cron hanging. Please note that these are the utilities which u have to install on the system and doesn't come by default.

However I will again say if this is one time problem then nothing to worry and don't take any decision in hurry. Since you have to consider lots of thing if you are going for patch upgrade. If it is a production box then u may have to check with application and DBA team before going for any changes.
Time has a wonderful way of weeding out the trivial
Yogeeraj_1
Honored Contributor

Re: cron process hang problem

>Could you also tell me which GOLDAPPS11i and GOLDBASE11i including cron process patch?


They are patch bundles and it is preferrable to install all the patches found in these bundles (as far as they are applicable).

The latest bundles can be downloaded from:
http://www11.itrc.hp.com/service/patch/releaseIndexPage.do?BC=main|


kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Yogeeraj_1
Honored Contributor

Re: cron process hang problem

hi again,

>This is my first time to happen cron process hang. Which commands do I need for monitoring?

ps -ef|grep cron


you can run it twice or 3 times a day or alternatively create a scheduled job using cron that will run and alert you accordingly.


kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)