The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Trying to run java file in crontab karmariv UNIX for Dummies Questions & Answers 1 04-07-2008 01:12 AM
How to edit the crontab file rajus19 Shell Programming and Scripting 2 05-25-2007 05:34 AM
Reformat Crontab file alnita Shell Programming and Scripting 1 04-10-2007 11:28 PM
need help to write crontab file deepa20 Shell Programming and Scripting 4 02-06-2006 05:34 AM
crontab file mclaughline Filesystems, Disks and Memory 1 08-17-2005 07:21 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 05-15-2001
Registered User
 

Join Date: Apr 2001
Location: Wisconsin
Posts: 6
Unhappy

I just set up an ftp server with Red Hat 5.2. I am doing the work, I'm baby stepping, but it seems like every step I get stuck. Currently, I'm trying to set up a crontab job, but I'm getting the following message: /bin/sh: /usr/bin/vi: No such file or directory. I see that vi exists in /bin/vi, but not /usr/bin/vi. is there a place where I need to set a path for this? This message occurs for all users set up on the server as well as root.
Forum Sponsor
  #2  
Old 05-15-2001
PxT's Avatar
PxT PxT is offline
Registered User
 

Join Date: Oct 2000
Location: Sacramento, CA
Posts: 909
Somewhat unrelated to your question, but why are you using RedHat 5.2? That distribution is pretty old by now. I would recommend moving to 7.0 or 6.2 at least.

Now to your question: What is the crontab entry you are trying to setup? If you post the line here, we can give you more advice.
  #3  
Old 05-15-2001
Registered User
 

Join Date: Apr 2001
Location: Wisconsin
Posts: 6
crontab

I am simply trying to set up a timed email of some visitor statistics on a weekly basis. I want to run a shell program and output it to an email address every Sunday at a certain time. At a command line I type "crontab -e", and I get:

no crontab for nasco - using an empty one
/bin/sh: /usr/bin/vi: No such file or directory
crontab: "/usr/bin/vi" exited with status 126

(I am logged in as nasco)

BTW, I just received CD's for 7.1...if I install that right over 5.2, will it save all of my settings (IP, Users, groups, etc), or will I have to remove/install?




  #4  
Old 05-15-2001
mib mib is offline
Registered User
 

Join Date: Jan 2001
Location: Calicut
Posts: 228
You can solve vi problem by creating a symbolic link to /bin/vi:

ln -s /bin/vi /usr/bin/vi


but it's highly recomended to upgrade. RH 7.0 is buggy. use 7.1


HTH
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:40 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0