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)' crontabs-1.7-3 tetex-dvilj-0.9-6 tetex-dvips-0.9-6 tetex-xdvi-0.9-6 vim-common-5.3-3 vim-minimal-5.3-3 vixie-cron-3.0.1-26 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 /bin/ex /bin/rvi /bin/rview /bin/vi /bin/view [root@mail2 bin]# Note: vi has been put in /bin, and crontab expects it in /usr/bin Simon
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 ***