![]() |
Bonjour et bienvenu par les États-Unis à la UNIX et Linux Forums! Merci de votre visite et vous joindre à notre communauté mondiale.
|
|
google unix.com
|
|||||||
| Forums | S'inscrire | Forum Rules | Liens | Albums | FAQ | Liste des membres | Calendrier | Recherche | Aujourd'hui, les postes | Marquer les forums comme lus |
| UNIX pour les nuls Questions et réponses Si vous ne savez pas où poster un UNIX ou Linux question, post it here. Tous les systèmes UNIX et Linux, débutants bienvenus! |
Plus d'UNIX et Linux Forum Sujets Vous trouverez peut-être utile
|
||||
| Fil | Thread Starter | Forum | Réponses | Last Post |
| Bash / Unix Command Errors | wcmmlynn | UNIX for Advanced & Expert Users | 0 | 11-13-2007 03:47 AM |
| erreurs avec bm.zip | csaunders | UNIX Benchmarks | 0 | 04-04-2006 02:41 PM |
| Adapter les erreurs et les erreurs de lien | mcastill66 | AIX | 2 | 08-02-2005 06:51 PM |
| Adapter les erreurs et les erreurs de lien | mcastill66 | UNIX for Advanced & Expert Users | 0 | 08-02-2005 06:11 PM |
| awk erreurs | billy5 | De programmation et de script Shell | 4 | 06-22-2005 06:30 PM |
![]() |
|
|
LinkBack | Thread Tools | Recherche sur ce Thread | Rate Thread | Modes d'affichage |
|
|
|
||||
|
Major OS erreurs / Bash erreurs aider!
Salut à tous, mannequin ici .... J'ai des erreurs importantes sur l'entrée du réservoir. Le 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: [: \u003d: opérateur unaire attendu -bash: whoami: command not found -bash: grep: command not found -bash: mesg: command not found -bash: dircolors: command not found -bash: qui: 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: qui: command not found -bash: hostname: command not found -bash: Date: command not found -bash: qui: command not found -bash: hostname: command not found -bash: Date: command not found -bash: qui: command not found -bash: cut: command not found -bash: cut: command not found -bash: qui: command not found -bash: mail: command not found -bash: hostname: command not found -bash: Date: command not found -bash: qui: command not found Utilisation Centos 4.5 sur un serveur Xeon double avec WHM / CP et quelques rpm. Cela s'est produit après l'installation de Flash Media Server, qui a été supprimée. De nombreuses commandes unix essentiel ne fonctionnent pas. Ne peut même pas utiliser ou ping mkdir, etc Any thoughts? Puis-je éviter de restaurer un système d'exploitation? |
|
||||
|
Hm, dépend ..
Vous aurez à travailler uniquement avec des commandes internes de bash .... Code:
#see where we are pwd # see where commands are supposed to be echo $PATH # go to the root cd / # see what root directories there are echo * # see if anything is in bin echo /bin/* # and usr/bin echo /usr/bin/* |
|
||||
|
Vous aurez à travailler uniquement avec des commandes internes de bash ....
Ran les commandes, tous les Grecs de moi ...
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 / couper / bin / date / bin / dd / bin / df / bin / dmesg / bin / nom_domaine_DNS / 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 / lien / 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 / rouge / bin / rm / bin / rmdir / bin / rpm / bin / RVI / bin / rview / bin /sed / bin / setfont / bin / setserial / bin / sh / bin / sleep / bin / genre / bin / stty / bin / su / bin / somme / 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 [/] # |
|
||||
|
près, il a été "echo $ PATH", pas "# echo PATH"
et "echo / usr / bin / *" et non "/ echo / usr / bin *" si elle ressemble à toutes les commandes existent, mais peut-être que votre PATH est saccagé. Essayer si "echo $ PATH" rien ne s'imprime pas alors essayez ... Code:
PATH=/bin:/usr/bin export PATH |
|
||||
|
Désolé ... et merci pour votre aide!
root @ host [/] # echo $ PATH / usr / local / jdk / bin: / usr / local / jdk / bin: / usr / kerberos / bin: / usr / lib / courier-imap / sbin: / usr / lib / courier-imap / bin: / usr / local / ant / bin: / usr / local / bin: / usr/X11R6/bin: / root / bin: / usr / local / bin: / usr/X11R6/bin A noté également dans le ls / bin filets une liste de commandes mais plusieurs sont redlined. root @ host [/ bin] # ls . / Csh @ faux * ln * nisdomainname setserial @ * vrai * .. / Cut * fgrep loadkeys * passwd @ @ @ sh umount * arch * date * * * login gawk pgawk sommeil * * * uname cendres * dd * gettext * ls ping * * * trier unicode_start * ash.static * df * grep ping6 mail * * * * stty unicode_stop * awk dmesg @ * @ gtar mailx @ ps su * * * unlink basename nom_domaine_DNS * @ mkdir gunzip * * * pwd somme @ usleep * bash doexec * * * gzip mknod rouge * @ * sync vi* bsh @ @ nom de domaine hôte mktemp * * * rm tar * @ vue cat dumpkeys * * * * plus igawk rmdir tcsh * @ * ypdomainname chgrp ipcalc * echo * * * monter tr / min * contact * * zcat chmod ed * * * mt kbd_mode RVI * @ * tracepath chown egrep * @ * tuer rview mv * @ * tracepath6 cp * env * ksh netstat * * sed* Traceroute cpio ex @ link * * * nice * setfont traceroute6 * Votre recommandation est un grand temp fix (PATH \u003d / bin: / usr / bin export PATH), mais quand je logout / login il casse à nouveau. Existe-t-il un moyen de corriger ce chemin? Dernière édition par wcmmlynn; au 11.13.2007 03:59 AM.. Motif: Plus de données |
|
||||
|
Citation:
Vous avez tout en tant que root, ou avez-vous un compte d'utilisateur standard pour un travail normal? .... et devrait également avoir la racine "/ sbin" et "/ usr / sbin" dans le chemin. On dirait que vous avez beaucoup plus que vous avez besoin pour le fonctionnement normal de la racine, tout mais l'évier de la cuisine (et les répertoires que vous avez réellement besoin). |
![]() |
| Bookmarks |
| Tags |
| cpio, commandes Unix |
| Thread Tools | Recherche sur ce Thread |
| Modes d'affichage | Rate this thread |
|
|