Operating System - HP-UX
1753797 Members
7089 Online
108805 Solutions
New Discussion юеВ

Recreating .cronaids files

 
SOLVED
Go to solution
Joseph C. Denman
Honored Contributor

Recreating .cronaids files

Hi Everyone!!

I have two systems (L2000) that the crons seem to stop periodically. I have to restart the crons to get them going. After further research, I have mail stating no audit id. After searches through the forum, I see that that has to do with the files in the .cronaids directory. I checked, and there are no files in the directory on these two systems. I check other systems, and the files are there??? Questions are, how can I recreate these files, and how could the files have been removed? Also, would this cause my periodic cron halting? I do not think anyone manually removed the files.

Thanks,

...jcd...
If I had only read the instructions first??
5 REPLIES 5
Paula J Frazer-Campbell
Honored Contributor

Re: Recreating .cronaids files

Hi

Chech out patching, PHCO_28980 mentions it - also look for later patch.

Paula
If you can spell SysAdmin then you is one - anon
Steven E. Protter
Exalted Contributor

Re: Recreating .cronaids files

Happened to me.
http://search.hp.com/redirect.html?url=http%3A//forums1.itrc.hp.com/service/forums/questionanswer.do%3FthreadId%3D83954&qt=.cronaids+%2Baudit+%2Bid&hit=1

http://search.hp.com/redirect.html?url=http%3A//forums1.itrc.hp.com/service/forums/questionanswer.do%3FthreadId%3D136208&qt=.cronaids+%2Baudit+%2Bid&hit=3

If I were at work, i'd post the procedure I used. I'm not.

* putting my hand on my head.

I see all. You recently converted your system to trusted mode. Surely the system is trusted.

Somewhere, deep in my search and past posts is an exact solution.

Also, with regards to the deletes, I'd start tracing cron jobs, see if you have something sweeping old files away periodically with a little bit too broad of a brush.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven E. Protter
Exalted Contributor

Re: Recreating .cronaids files

Better thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=246392

My itrc search.
http://us-support2.external.hp.com/emse/bin/doc.pl/emse/bin/doc.pl/distrib_redir=1+1080926747|*?rn=25&source=7000&searchcategory=ALL&from=forums&hpl=1&todo=search&origin=0&wpa=forums1.itrc.hp.com%3A80&searchcriteria=allwords&submit.x=6&submit.y=3&esc=us.support.itrc.hp.com&searchtext=.cronaids++audit+id&chkServStor=on&presort=rank

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Joseph C. Denman
Honored Contributor

Re: Recreating .cronaids files

Can you run tsconvert if the system is already trusted, or do you recommend unconverting it and converting back??? I really don't want to break anything.

Thanks,
...jcd...
If I had only read the instructions first??
Robert-Jan Goossens
Honored Contributor
Solution

Re: Recreating .cronaids files

Hi jdc,

Yes you can.

Check this doc,

Document description: Cron: Job did not contain a valid audit ID. See system administr
Document id: KBRC00000811

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063235497

Run tsconvert -p
This will build a file /usr/spool/cron/.cronaids with the data
the system needs

/sbin/init.d/cron stop
/sbin/init.d/cron start

Hope this helps,
Robert-Jan