Hallo! Wer kann mir sagen was ich hier kaputt gemacht habe???? Er meldet einen fehler, aber führt den befehlt trotzdem aus..... MFG Raphy root@trinity:/ > rcsmb restart /usr/sbin/rcsmb: ~#: command not found /usr/sbin/rcsmb: ~#: command not found Shutting down SMB services: done /usr/sbin/rcsmb: ~#: command not found Starting SMB services: done root@trinity:/ > ************************************************************************** root@trinity:/ > rcapache restart /usr/sbin/rcapache: ~#: command not found /usr/sbin/rcapache: ~#: command not found Shutting down service httpd done /usr/sbin/rcapache: ~#: command not found Starting service httpd done root@trinity:/ > -- Sent through GMX FreeMail - http://www.gmx.net
On Die, Jan 30, 2001 at 10:08:27 +0100, R.Wagener@gmx.de wrote:
Wer kann mir sagen was ich hier kaputt gemacht habe???? Er meldet einen fehler, aber führt den befehlt trotzdem aus.....
root@trinity:/ > rcsmb restart /usr/sbin/rcsmb: ~#: command not found
^^ Das ist das Kommando, was er nicht findet. Da hat sich offensichtlich jemand beim Editieren einer Datei vertan und nun steht statt "#" (Kommentar in der Shell) eben "~#" drin. Damit wird eine Datei ~# gesucht, die er ausführen will. [andere rc-Scripts] Da die Fehlermeldung in mehreren Scripts kommt, vermute ich mal /etc/rc.config als Übeltäter, die wird nämlich immer gesourced. Mach mal ein: grep "^~#" /etc/rc.config Jan
On Tue, 30 Jan 2001, R.Wagener@gmx.de wrote:
Hallo!
Wer kann mir sagen was ich hier kaputt gemacht habe???? Er meldet einen fehler, aber führt den befehlt trotzdem aus.....
MFG Raphy
root@trinity:/ > rcsmb restart /usr/sbin/rcsmb: ~#: command not found /usr/sbin/rcsmb: ~#: command not found Shutting down SMB services: done /usr/sbin/rcsmb: ~#: command not found Starting SMB services: done root@trinity:/ > ************************************************************************** root@trinity:/ > rcapache restart /usr/sbin/rcapache: ~#: command not found /usr/sbin/rcapache: ~#: command not found Shutting down service httpd done /usr/sbin/rcapache: ~#: command not found Starting service httpd done root@trinity:/ >
mögliche Ursache: beim Editieren der Datei im joe an mcedit gedacht und F10 für Ende gedrückt ;-) -- may the tux be with You! Joerg Thuemmler sysadmin@vordruckleitverlag.de
participants (3)
-
Jan.Trippler@t-online.de
-
Joerg Thuemmler
-
R.Wagener@gmx.de