UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsUNIX Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
  #1  
Old September 1st, 2004, 12:58 AM
stilots stilots is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 2 stilots User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
can't open your crontab file error

I've encountered the error when i try to edit corntab -e, pls help me i also try viewing /etc/cron.d directory I'm not in the deny access what should i do?
I'm running UNIX Solaris 2.xx x86/intel platform

thanks

Reply With Quote
  #2  
Old September 1st, 2004, 04:22 AM
guggach guggach is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2004
Location: Middle Europa
Posts: 1,083 guggach User rank is Corporal (100 - 500 Reputation Level)guggach User rank is Corporal (100 - 500 Reputation Level)guggach User rank is Corporal (100 - 500 Reputation Level)guggach User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 19 h 49 m 57 sec
Reputation Power: 9
is your user in the /etc/cron.d/cron.allow ?
post the error mssg && uname -a

Reply With Quote
  #3  
Old September 5th, 2004, 07:42 AM
stilots stilots is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 2 stilots User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thumbs up problem already fix

I'd copy cron.d directory from other terminal tru network and execute crontab -e command and I succesfully opened and edited crontab file, maybe the crontab file is corrupted thats why i cannot open crontab file before

Reply With Quote
  #4  
Old September 5th, 2004, 07:56 AM
guggach guggach is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2004
Location: Middle Europa
Posts: 1,083 guggach User rank is Corporal (100 - 500 Reputation Level)guggach User rank is Corporal (100 - 500 Reputation Level)guggach User rank is Corporal (100 - 500 Reputation Level)guggach User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 19 h 49 m 57 sec
Reputation Power: 9
NO crontab is not in cron.d dir

Reply With Quote
  #5  
Old September 6th, 2004, 02:03 AM
kanis kanis is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Location: Spokane, WA, USA
Posts: 72 kanis User rank is Lance Corporal (50 - 100 Reputation Level)kanis User rank is Lance Corporal (50 - 100 Reputation Level)kanis User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 4 h 26 m 26 sec
Reputation Power: 4
Send a message via ICQ to kanis
Try /var/adm/crontab/ to look for them. My memory is a bit vague when it comes to Solaris.

As for the possibility of your file being corrupted, are you sure that you have your .allow in working order?

Reply With Quote
  #6  
Old April 8th, 2008, 03:05 AM
carmchaweb carmchaweb is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 1 carmchaweb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m
Reputation Power: 0
Have you logged in as "su"?

Reply With Quote
  #7  
Old April 8th, 2008, 05:53 AM
SimonJM SimonJM is offline
Contributing User
Dev Shed Novice (500 - 999 posts) Click here for more information
 
Join Date: Mar 2006
Posts: 671 SimonJM User rank is First Lieutenant (10000 - 20000 Reputation Level)SimonJM User rank is First Lieutenant (10000 - 20000 Reputation Level)SimonJM User rank is First Lieutenant (10000 - 20000 Reputation Level)SimonJM User rank is First Lieutenant (10000 - 20000 Reputation Level)SimonJM User rank is First Lieutenant (10000 - 20000 Reputation Level)SimonJM User rank is First Lieutenant (10000 - 20000 Reputation Level)SimonJM User rank is First Lieutenant (10000 - 20000 Reputation Level)SimonJM User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Week 6 Days 23 h 26 m 49 sec
Reputation Power: 196
Nice try - that thread WAS 3/12 years deceased!
__________________
"I feel so miserable without you; it's almost like having you here" - Stephen Bishop

Reply With Quote
  #8  
Old July 23rd, 2008, 05:14 PM
PawanRatwani PawanRatwani is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2008
Posts: 3 PawanRatwani User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 38 sec
Reputation Power: 0
Unhappy crontab: can't open your crontab file.

I am facing the same error when I run crontab -l though it working for other user ids.

I checked for entry in cron.allow and entry was present, nothing in cron.deny.

Can someone suggest?

Reply With Quote
  #9  
Old July 24th, 2008, 06:06 AM
SimonJM SimonJM is offline
Contributing User
Dev Shed Novice (500 - 999 posts) Click here for more information
 
Join Date: Mar 2006
Posts: 671 SimonJM User rank is First Lieutenant (10000 - 20000 Reputation Level)SimonJM User rank is First Lieutenant (10000 - 20000 Reputation Level)SimonJM User rank is First Lieutenant (10000 - 20000 Reputation Level)SimonJM User rank is First Lieutenant (10000 - 20000 Reputation Level)SimonJM User rank is First Lieutenant (10000 - 20000 Reputation Level)SimonJM User rank is First Lieutenant (10000 - 20000 Reputation Level)SimonJM User rank is First Lieutenant (10000 - 20000 Reputation Level)SimonJM User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Week 6 Days 23 h 26 m 49 sec
Reputation Power: 196
Does that user have any cron entries?
What error message do you get?

Creating a new thread may have been better!

Reply With Quote
  #10  
Old July 24th, 2008, 08:47 AM
PawanRatwani PawanRatwani is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2008
Posts: 3 PawanRatwani User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 38 sec
Reputation Power: 0
Quote:
Originally Posted by SimonJM
Does that user have any cron entries?
What error message do you get?

Creating a new thread may have been better!


crontab -e was working i was able to open the temp file, added some entries to it. :w :x
then crontab -l failed.
then crontab -e shows empty file.

Reply With Quote
  #11  
Old July 24th, 2008, 09:38 AM
PawanRatwani PawanRatwani is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2008
Posts: 3 PawanRatwani User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 38 sec
Reputation Power: 0
Thumbs up can't open your crontab file error

Update:
Problem resolved.

Cause: I was saving the file with :w :x

Solution: Save the temp file after crontab -e as :w followed by :q


Reply With Quote
  #12  
Old Yesterday, 03:08 AM
SimonJM SimonJM is offline
Contributing User
Dev Shed Novice (500 - 999 posts) Click here for more information
 
Join Date: Mar 2006
Posts: 671 SimonJM User rank is First Lieutenant (10000 - 20000 Reputation Level)SimonJM User rank is First Lieutenant (10000 - 20000 Reputation Level)SimonJM User rank is First Lieutenant (10000 - 20000 Reputation Level)SimonJM User rank is First Lieutenant (10000 - 20000 Reputation Level)SimonJM User rank is First Lieutenant (10000 - 20000 Reputation Level)SimonJM User rank is First Lieutenant (10000 - 20000 Reputation Level)SimonJM User rank is First Lieutenant (10000 - 20000 Reputation Level)SimonJM User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Week 6 Days 23 h 26 m 49 sec
Reputation Power: 196
Ahh, the old "lets' do the edit and not bother save it afterwards" ploy - an old favourite!

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > can't open your crontab file error


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |