OS errors/missing commands


 
Thread Tools Search this Thread
Operating Systems Linux OS errors/missing commands
# 1  
Old 11-13-2007
OS errors/missing commands

Hi all, .... I have major errors on entering the shell. On login I get:

-bash: dircolors: command not found
-bash: tr: command not found
-bash: fgrep: command not found
-bash: grep: command not found
-bash: grep: command not found
-bash: id: command not found
-bash: [: =: unary operator expected
-bash: whoami: command not found
-bash: grep: command not found
-bash: mesg: command not found
-bash: dircolors: command not found
-bash: who: command not found
-bash: cut: command not found
-bash: cut: command not found
-bash: hostname: command not found
-bash: mail: command not found
-bash: date: command not found
-bash: who: command not found
-bash: hostname: command not found
-bash: date: command not found
-bash: who: command not found
-bash: hostname: command not found
-bash: date: command not found
-bash: who: command not found
-bash: cut: command not found
-bash: cut: command not found
-bash: who: command not found
-bash: mail: command not found
-bash: hostname: command not found
-bash: date: command not found
-bash: who: command not found


Using Centos 4.5 on a dual Xeon server with WHM/CP and a few rpm's.

This happened after installing Flash Media Server which has been removed.

Many crucial unix commands are not functioning. Can't even use ping or mkdir, etc.

Any thoughts? Can I avoid an OS restore?


root@host [/bin]#
root@host [/bin]# pwd
/bin
root@host [/bin]# echo #path

root@host [/bin]# cd /
root@host [/]# echo /bin/*
/bin/arch /bin/ash /bin/ash.static /bin/awk /bin/basename /bin/bash /bin/bsh /bin/cat /bin/chgrp /bin/chmod /bin/chown /bin/cp /bin/cpio /bin/csh /bin/cut /bin/date /bin/dd /bin/df /bin/dmesg /bin/dnsdomainname /bin/doexec /bin/domainname /bin/dumpkeys /bin/echo /bin/ed /bin/egrep /bin/env /bin/ex /bin/false /bin/fgrep /bin/gawk /bin/gettext /bin/grep /bin/gtar /bin/gunzip /bin/gzip /bin/hostname /bin/igawk /bin/ipcalc /bin/kbd_mode /bin/kill /bin/ksh /bin/link /bin/ln /bin/loadkeys /bin/login /bin/ls /bin/mail /bin/mailx /bin/mkdir /bin/mknod /bin/mktemp /bin/more /bin/mount /bin/mt /bin/mv /bin/netstat /bin/nice /bin/nisdomainname /bin/passwd /bin/pgawk /bin/ping /bin/ping6 /bin/ps /bin/pwd /bin/red /bin/rm /bin/rmdir /bin/rpm /bin/rvi /bin/rview /bin/sed /bin/setfont /bin/setserial /bin/sh /bin/sleep /bin/sort /bin/stty /bin/su /bin/sum /bin/sync /bin/tar /bin/tcsh /bin/touch /bin/tracepath /bin/tracepath6 /bin/traceroute /bin/traceroute6 /bin/true /bin/umount /bin/uname /bin/unicode_start /bin/unicode_stop /bin/unlink /bin/usleep /bin/vi /bin/view /bin/ypdomainname /bin/zcat
root@host [/]# echo /usr/bin*
/usr/bin
root@host [/]#
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Systemd errors of missing file “No such file or directory” inspite of file being present

The contents of my service file srvtemplate-data-i4-s1.conf is Description=test service for users After=network.target local-fs.target Type=forking RemainAfterExit=no PIDFile=/data/i4/srvt.pid LimitCORE=infinity EnvironmentFile=%I . . . WantedBy=multi-user.target (0 Replies)
Discussion started by: rupeshkp728
0 Replies

2. UNIX for Dummies Questions & Answers

Missing FTP configuration files/commands

I was asked if I can create an FTP only user on a UNIX system I've inherited at work. (Solaris). I've worked on UNIX systems for a long time, but never really as an admin. I searched the web, and on this forum, for information on exactly how to do this. (The new user will also need to be... (4 Replies)
Discussion started by: HeyMoe
4 Replies

3. Shell Programming and Scripting

How to catch errors in a shell script ( multiple commands )?

Hi I have a shell script like that Main() { DAY=$(date +"%d-%m-%Y") TIME=$(date +"%T") Command 1 Command 2 ... Command n } I would like to catch errors from all commands in Main() and write these errors into a file , something likes this: Main if < error > then echo... (3 Replies)
Discussion started by: bobochacha29
3 Replies

4. Red Hat

Yum - resolving missing dependencies that are not missing

I am trying to install VirtualBox on RHEL 5 but I need the 32 bit version for 32 bit Windows. When I run yum I get the following: sudo yum localinstall /auto/spvtg-it/spvss-migration/Software/VirtualBox-4.3-4.3.2_90405_el6-1.i686.rpm Loaded plugins: fastestmirror Setting up Local Package... (13 Replies)
Discussion started by: gw1500se
13 Replies

5. SuSE

How to resolve missing missing dependencies with opensuse 11.3 and 12.3?

Hello, This is a programming question as well as a suse question, so let me know if you think I should post this in programming. I have an application that I compiled under opensuse 12.2 using g77-3.3/g++3.3. The program compiles and runs just fine. I gave the application to a colleague who... (2 Replies)
Discussion started by: LMHmedchem
2 Replies

6. Solaris

Compile errors on Solaris 10 (missing libwrap)

I'm trying to compile tacacs+-F4.0.4.18 on Solaris 10 (sparc based server). It fails during the "./configure" phase with the following error: checking whether to use libwrap... yes configure: error: Could not find libwrap. You must first install tcp_wrappers. I do a have tcpwrappers... (4 Replies)
Discussion started by: pingmeback
4 Replies

7. Shell Programming and Scripting

Can BASH execute commands on a remote server when the commands are embedded in shell

I want to log into a remote server transfer over a new config and then backup the existing config, replace with the new config. I am not sure if I can do this with BASH scripting. I have set up password less login by adding my public key to authorized_keys file, it works. I am a little... (1 Reply)
Discussion started by: bash_in_my_head
1 Replies

8. UNIX for Dummies Questions & Answers

Major OS errors/Bash errors help!!!!

Hi all, dummy here.... I have major errors on entering the shell. On login I get: -bash: dircolors: command not found -bash: tr: command not found -bash: fgrep: command not found -bash: grep: command not found -bash: grep: command not found -bash: id: command not found -bash: [: =: unary... (12 Replies)
Discussion started by: wcmmlynn
12 Replies

9. AIX

Adapter Errors and Link Errors

$ errpt | more IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION 3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR 3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR B8113DD1 ... (2 Replies)
Discussion started by: mcastill66
2 Replies

10. UNIX for Advanced & Expert Users

Adapter Errors and Link Errors

$ errpt | more IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION 3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR 3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR B8113DD1 ... (0 Replies)
Discussion started by: mcastill66
0 Replies
Login or Register to Ask a Question