- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Error in crontab -e
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
Discussions
Discussions
Forums
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
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
тАО01-05-2010 02:29 PM
тАО01-05-2010 02:29 PM
Error in crontab -e
root# crontab -e
/bin/sh: emacs: command not found
crontab: "emacs" exited with status 127
Can some one please help me in that?
Thanks for your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2010 02:41 PM
тАО01-05-2010 02:41 PM
Re: Error in crontab -e
your default editor is emacs, you could try tu use vi instead of emacs.
EDITOR=vi;
export EDITOR
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2010 07:33 AM
тАО01-06-2010 07:33 AM
Re: Error in crontab -e
Can some one please help me?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2010 08:41 AM
тАО01-06-2010 08:41 AM
Re: Error in crontab -e
Try running "which crontab": it should report the full pathname of the actual command run by the shell. If it's a shell function or alias, the command should display the function/alias definition.
If the response is the default "/usr/bin/crontab", verify that the crontab command has not been replaced with a custom script: run "file /usr/bin/crontab". If the response includes the word "text", it's most likely a script of some kind: read it to see what it actually does and where the real crontab command is hidden.
You could also invoke the crontab command with full pathname to stop shell aliases and functions from taking effect: i.e. "/usr/bin/crontab -e".
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2010 09:13 AM
тАО01-06-2010 09:13 AM
Re: Error in crontab -e
Perhaps so, but we can't see what you checked
or how you checked it. You may know what
you're talking about, but you may not. How
can we (non-psychics) know what's true,
unless you show us some actual commands with
their actual output?
What does "man crontab" say about how it
chooses an editor for "-e" on this system
(which you have not identified in any way)?