- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- crontab[105] errors
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 05:48 AM
07-02-2003 05:48 AM
The crontable has started giving weird errors - crontab[105] and won't show the actual file details, the file does actually exist in /var/spool/cron/crontabs/root but when typing = crontab -l, i get the error crontab[105].
It looks like the cron itself is mis-interpreting the command line. It errors saying the minutes (ie. 00) not found. it looks like this =
+ 00 08 dba dcollect gdr metron root root.020703 sysadmin dba dcollect gdr metro
n root root.020703 sysadmin dba dcollect gdr metron root root.020703 sysadmin /u
sr/local/bin/avro_datasize
I have also deleted and restarted cron itself.
Please help, thanks
Lee Oliver
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 05:53 AM
07-02-2003 05:53 AM
Re: crontab[105] errors
From man crontab:
The entries in a crontab file are lines of six fields each. The
fields are separated by spaces or tabs. The lines have the following
format:
minute hour monthday month weekday command
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 05:58 AM
07-02-2003 05:58 AM
Re: crontab[105] errors
BTW, the way HP does it is the standard
Review Pete's comment. If you are not using one of the fields, use asterics for every time.
20 3 * * 2-6
at 3 20 a.m. Tuesday thru saturday.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 06:08 AM
07-02-2003 06:08 AM
Re: crontab[105] errors
If
+ 00 08 dba dcollect gdr metron root root.020703 sysadmin dba dcollect gdr metro
n root root.020703 sysadmin dba dcollect gdr metron root root.020703 sysadmin /u
sr/local/bin/avro_datasize
Is the format of your cron entry then it is incorrect.
If the entry /var/spool/cron/crontabs/root is corrupt either restore it from backup or try
strings /var/spool/cron/crontabs/root >/var/spool/cron/crontabs/root_new
and then copy /var/spool/cron/crontabs/root to /var/spool/cron/crontabs/root_bak and replace it with the root_new file and test with:-
crontab -l and post the results
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 06:13 AM
07-02-2003 06:13 AM
Re: crontab[105] errors
What does crontab -e give you?
Can you see all the cron entries?
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 06:16 AM
07-02-2003 06:16 AM
Re: crontab[105] errors
Sorry there is no '+' sign in the beginning of the file, this is displayed when running the command through 'ksh -x' debug mode.
sorry for the confusion.
lee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 06:18 AM
07-02-2003 06:18 AM
Re: crontab[105] errors
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 06:22 AM
07-02-2003 06:22 AM
Re: crontab[105] errors
root@N-0/var/spool/cron/crontabs>crontab -l
crontab[13]: 20: not found.
crontab[16]: 01: not found.
crontab[19]: 01: not found.
crontab[31]: 50: not found.
crontab[32]: 50: not found.
crontab[33]: 50: not found.
crontab[34]: 50: not found.
crontab[35]: 50: not found.
crontab[36]: 50: not found.
crontab[37]: 50: not found.
crontab[38]: 50: not found.
crontab[39]: 50: not found.
crontab[40]: 50: not found.
crontab[41]: 50: not found.
Here is what is in the actual root crontab file =
# SI Systems collection from mwa
20 03 * * * /var/opt/perf/si/siextract.hpux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 06:28 AM
07-02-2003 06:28 AM
Re: crontab[105] errors
You get the same output from 'crontab -e' as i do from the 'crontab -l'.
cheers
Lee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 06:34 AM
07-02-2003 06:34 AM
Re: crontab[105] errors
Looks like a corupt cron file:-
What is the ownership and timestamps on:-
/var/spool/cron/crontabs/root
Try the fix I suggested as this will remove any non printable chars from the file.
But I guess it is now time find last nights backup tape or you can get it from your ignite tape.
How is life in the travel industry?
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 06:34 AM
07-02-2003 06:34 AM
Re: crontab[105] errors
As it sounds as if there's some corruption or possibly control chars in the file I'd suggest that you use crontab -r to delete the existing crontab, then build a fresh crontab from scratch and resubmit using crontab
Don't be tempted to edit the /var/spool/cron/crontabs/root directly.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 06:39 AM
07-02-2003 06:39 AM
Re: crontab[105] errors
take a printout of your existing crontab ( root) and then just recreate it.
It looks like crontab root is corrupted. I guess error 105 means no audit id.
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 06:43 AM
07-02-2003 06:43 AM
Re: crontab[105] errors
He copied the crontab -l > fred into /usr/bin/crontab.
This caused the corruption.
Thanks for the help
Lee
Ps. He's now got the sack........and playing with his playstation 2..... :o)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 06:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 06:55 AM
07-02-2003 06:55 AM
Re: crontab[105] errors
He's now got root access to a Playstation. That may be safe enough!
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 07:14 AM
07-02-2003 07:14 AM
Re: crontab[105] errors
Travel Industry is terrible, lots of hours for very little pay......
Nobody is booking any holidays......
Very busy, not enough time, training up Pete and Steve, lost Raj. all go here.
Hope you're doing well.
Lee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 08:03 AM
07-02-2003 08:03 AM
Re: crontab[105] errors
Glad you solved it!
Where has Raj gone and have you got another DBA?
Life here busy, I am IT/Technical director for the IBP group not much Unix but lots of fun dealing with all aspects of the sound/lighting and stage management for shows.
Had a nice gig last week at the Churchill International - High Commissioner for Malaysia and Lord Mayor of Westminster in audience.
Paula