LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-17-2004, 08:04 PM   #1
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 219

Rep: Reputation: 32
Question weird problem with binaries 'env' and 'clear'


When I booted, slack went through the occasional hard-disk check for errors, and found some. After correcting them, my kernel kinda went haywire. I had trouble with installing video drivers, and I got all these messages about errors loading hotplug.

My video drivers work now, but I still get the hotplug error like ten times per boot.

/etc/hotplug.d/default/default.hotplug: line 1: error: cannot execute binary file
. . . no modules for PCI slot.

I also get an occasional

. . . no modules for USB product 0/0/0

and one is

. . . no modules for USB product 413c/2001/1

I'm running kernel 2.6.4, in 2.6.2 I only get the "no modules" error.

I checked for /usr/bin/env and it wasn't there. So I copied it over from the bootable slack disk, thinking it would be able to run env. I made sure it is executable and part of the group bin. Still doesn't work:

root@computer:~$ env
-bash: /usr/bin/env: cannot execute binary file


I also noticed that the 'clear' command stopped working. It turns out that clear was still there, but clear is just a shell scrip that runs 'tput clear'. Tput was gone, so I replaced that too. Clear still doesn't work either:

root@computer:~$ clear
/usr/bin/clear: line 2: /usr/bin/tput: cannot execute binary file

Any ideas?
 
Old 03-17-2004, 09:22 PM   #2
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
reinstall or install binutils

you should reinstall, or install binutils.

although. env is a builtin bash command.

your installation is funky, obviously.
 
Old 03-18-2004, 04:19 PM   #3
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 219

Original Poster
Rep: Reputation: 32
Installation worked great for a few months. I think my fixed errors borked it. What's binutils?
 
Old 03-18-2004, 04:39 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,354
Blog Entries: 55

Rep: Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541
I would suggest using whatever means you have to verify your other installed packages, logs and auth are verified clean before reinstalling stuff.
Just in case, I'm not hinting at a compromised box.
 
  


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
Installing java runtime env problem ur-unholyness Linux - Software 2 04-10-2005 01:32 AM
env problem on Linux Redhat 2.1 ashley75 Linux - General 6 03-21-2005 09:39 AM
Installing Gentoo - env-update problem SeT Linux - General 1 01-03-2004 04:10 AM
chroot problem (thinks 'env' is a directory) d33pdream Linux - General 1 02-23-2003 02:11 PM
RedHat 7.3 PATH env variable problem NewRedHatter Linux - Newbie 4 09-01-2002 05:14 AM

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

All times are GMT -5. The time now is 12:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration