The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Executing file without excute permission. ashish_uiit UNIX for Dummies Questions & Answers 4 05-08-2008 03:34 PM
is there any way to excute script every N seconds? umen Shell Programming and Scripting 7 03-30-2006 01:06 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 09-10-2002
Registered User
 

Join Date: Mar 2002
Location: London, England
Posts: 262
help! can't excute

I can't excute any commands in /usr/bin

when I try to excute commands in /usr/bin
the error message is displayed " No Such device or
address"

Can you Help?

Thanks in Advance
Forum Sponsor
  #2  
Old 09-10-2002
Registered User
 

Join Date: Feb 2002
Location: Bradford, UK
Posts: 70
Can execute them using the absolute address?

i.e. /usr/bin/<command>

Is /usr/bin in your list of paths?

echo $PATH

If you find it's not in your paths, check your .profile

You could also check the permissions of the commands in /usr/bin

If it's not any of these, post back with a bit more detail if possible
  #3  
Old 09-10-2002
Registered User
 

Join Date: Mar 2002
Location: London, England
Posts: 262
I have already checked the above suggestions but none of commands in the /usr/bin directory can be executed, no changes has been made on server.
  #4  
Old 09-10-2002
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
I believe in other posts you have mentioned you run Solaris.

Was /usr a separate file partition?

If it was, you may have a problem with it mounting. Check to see if it's mounted with the df command (that should be out of /bin/df).

If it was not separate, then suggest a boot -s from cdrom...you can bring your server down with sync, sync, sync, halt and it probably won't hurt it as bad as just a poweroff since init 0 will run through the rc kill scripts and possibly hang (due to the problem).

Was the server up and running when this happened? Can you get to the /var/adm/messages to cat the file? You can also try dmesg which may show any error. Or if you were using a volume manager (SDS or Veritas) those commands may show something.
  #5  
Old 09-10-2002
flim flam flamma jamma
 

Join Date: May 2001
Location: Chicago IL, USA
Posts: 1,006
RTM has a good idea actually.

I remember right after i did an install the disk had gone bad but it still looked mounted but i could not get any of the data but i could see it all. it was quite weird.

try unmounting that FS and then remounting. If you get errors remounting it (and its not from your command error) then sounds like you might have a currupt FS.
  #6  
Old 09-10-2002
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
If this is SunOS, can you verify that "/usr/bin/uname -a" fails and "/sbin/uname -a" succeeds? The former is dynamically linked while the latter is statically linked. If the dynamically linked version is failing you have some kind of shared library problem. By running truss on the dynamically linked version, I notice the open on /dev/zero which looks like the only opportunity that I see to generate the particular error that you are reporting. Can you verify that /dev/zero is present? What shell are you using?
  #7  
Old 09-10-2002
Registered User
 

Join Date: Mar 2002
Location: London, England
Posts: 262
Thanks everyone.

I rebooted the server and the server had problem coming back up. it seems server cannot see the disk

from OK prompt I issued probe-scsi-all

and the this displayed the error message "Fast Data Access MMU"

I followed the procedure on sunsolve and this solved the problem

http://sunsolve.sun.com/pub-cgi/retr...20access%20mmu

Note
I followed the procedure without reinstalling the OS and this
sovled the problem

Thanks again
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 01:47 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