Red Hat Bugzilla – Bug 378
minimal vi doesn't have /usr/bin/vi so crontab -e fails
Last modified: 2008-05-01 11:37:48 EDT
on a fresh install of redhat 5.2/intel
I have the following packages installed on a new 5.2 box.
[root@mail2 bin]# rpm -qa | egrep '(cron|vi)'
Note: when using crontab -e I get the following error:
[root@mail2 bin]# crontab -e
/bin/sh: /usr/bin/vi: No such file or directory
crontab: "/usr/bin/vi" exited with status 126
[root@mail2 bin]# rpm -ql vim-minimal
Note: vi has been put in /bin, and crontab expects it in
I need more information from you about the specific packages that you
installed besides the ones for cron and vi. For example, did you do a
workstation install, or a custom, and if so, which packages did you
select. In test lab I was unable to replicate your problem, as in
fresh install there was a symbolic link from /usr/bin/vi to /bin/vi.
*** This bug has been marked as a duplicate of 120 ***