Unable to edit crontab via root and run service commands
Issue
- Unable to edit crontab entries
- Unable to start crond
[root@localhost Packages]# crontab -e
/bin/vi: No such file or directory
crontab: "/bin/vi" exited with status 1
You have new mail in /var/spool/mail/root
[root@localhost Packages]# service crond status
-bash: /sbin/service: /bin/sh: bad interpreter: No such file or directory
Environment
- Red Hat Enterprise Linux 6.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
