#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2004
    Posts
    2
    Rep 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
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Jul 2004
    Location
    Middle Europa
    Posts
    1,200
    Rep Power
    14
    is your user in the /etc/cron.d/cron.allow ?
    post the error mssg && uname -a
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2004
    Posts
    2
    Rep 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
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Jul 2004
    Location
    Middle Europa
    Posts
    1,200
    Rep Power
    14
    NO crontab is not in cron.d dir
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2004
    Location
    Spokane, WA, USA
    Posts
    72
    Rep Power
    10
    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?
  10. #6
  11. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2008
    Posts
    1
    Rep Power
    0
    Have you logged in as "su"?
  12. #7
  13. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Mar 2006
    Posts
    2,447
    Rep Power
    1751
    Nice try - that thread WAS 3/12 years deceased!
    The moon on the one hand, the dawn on the other:
    The moon is my sister, the dawn is my brother.
    The moon on my left and the dawn on my right.
    My brother, good morning: my sister, good night.
    -- Hilaire Belloc
  14. #8
  15. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2008
    Posts
    3
    Rep 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?
  16. #9
  17. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Mar 2006
    Posts
    2,447
    Rep Power
    1751
    Does that user have any cron entries?
    What error message do you get?

    Creating a new thread may have been better!
    The moon on the one hand, the dawn on the other:
    The moon is my sister, the dawn is my brother.
    The moon on my left and the dawn on my right.
    My brother, good morning: my sister, good night.
    -- Hilaire Belloc
  18. #10
  19. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2008
    Posts
    3
    Rep Power
    0
    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.
  20. #11
  21. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2008
    Posts
    3
    Rep 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

  22. #12
  23. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Mar 2006
    Posts
    2,447
    Rep Power
    1751
    Ahh, the old "lets' do the edit and not bother save it afterwards" ploy - an old favourite!
    The moon on the one hand, the dawn on the other:
    The moon is my sister, the dawn is my brother.
    The moon on my left and the dawn on my right.
    My brother, good morning: my sister, good night.
    -- Hilaire Belloc

IMN logo majestic logo threadwatch logo seochat tools logo