LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-29-2004, 10:57 PM   #1
Sartre
LQ Newbie
 
Registered: Jul 2003
Location: Santa Barbara CA
Distribution: Slackware and Fedora
Posts: 19

Rep: Reputation: 0
Using Vi, getting "blkopen's read failed" error


Hi,
I'm trying to edit files using vi, but getting the following error:
Code:
bash-2.05b$ vi .bashrc
blkopen's read failed
if I try editing the same file as root, there is no problem.
Here's an ls -la of .bashrc (this isn't limited to just this file, but any I try to edit with this user.)

Code:
bash-2.05b$ ls -la .bashrc
-rwx--x--x  1 sartre users 195 Aug 30 08:23 .bashrc
Any help is greatly appreciated, as google isn't helping much.
 
Old 09-29-2004, 11:28 PM   #2
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
what's your username?
(not a vi user, the error is slightly cryptic to me)
 
Old 09-29-2004, 11:41 PM   #3
Sartre
LQ Newbie
 
Registered: Jul 2003
Location: Santa Barbara CA
Distribution: Slackware and Fedora
Posts: 19

Original Poster
Rep: Reputation: 0
My username is sartre.
Some more troubleshooting on my end turned up a couple of things:

/usr/bin/vi is a link to elvis

I'm able to edit files using joe or vim, just not elvis .
 
Old 09-30-2004, 02:05 AM   #4
dustu76
Member
 
Registered: Sep 2004
Distribution: OpenSuSe
Posts: 153

Rep: Reputation: 30
Is elvis an editor... (there are so many of them)...

Anyway, as root, when you issue this command "which vi", is "/usr/bin/vi" returned?

If answer is yes, try checking whether there is any .elvisrc or something like that for root & try copying that...

If the answer is no, then root is using "vi" in a differnt directory which evidently is working. Create a softlink/alias to that & invoke...

HTH.
 
Old 09-30-2004, 03:39 PM   #5
Sartre
LQ Newbie
 
Registered: Jul 2003
Location: Santa Barbara CA
Distribution: Slackware and Fedora
Posts: 19

Original Poster
Rep: Reputation: 0
I pointed /usr/bin/vi to /usr/bin/vim and all is right with the world.

I'd like to know what the specific error means...
anyways, thanks for the help.
 
Old 10-25-2004, 08:50 PM   #6
vace
LQ Newbie
 
Registered: Oct 2004
Posts: 1

Rep: Reputation: 0
I just had the same problem, so I found your post through a google search.
I think the reason why you got that error was b/c you ran out of space in /var (at least that was my problem).

-- Val
 
Old 10-27-2004, 01:40 AM   #7
Sartre
LQ Newbie
 
Registered: Jul 2003
Location: Santa Barbara CA
Distribution: Slackware and Fedora
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks vace, that looks like it was it. A little housecleaning fixed it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting "Short read in buffer_copy" error with "dpkg" stalefries Linux - Software 6 03-24-2010 03:19 PM
failed "Read Cd/Dvd Capacity" FC4 on a HP Pav8000 evans0409 Linux - Hardware 4 10-14-2005 05:50 PM
What is "read manifest failed: Success"? (RH 7.3, trouble installing RPMs) vfoo Linux - Software 1 07-06-2005 10:56 AM
does failed using urpmi messed up my "Install Software" / "mandrake update" ??? sirpelidor Mandriva 1 11-02-2003 09:00 PM
X won't start: "Fatal server error: failed to initialize core devices" ! Debianewb Linux - Newbie 14 08-27-2002 05:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration