Sendmail restart

Aus HS Syswiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „===Beispiel Anhand von tux203:=== tux203:~ # /etc/init.d/sendmail stop Shutting down SMTP port done tux203:~ # killall -9 sendmail sendmail: no process kille…“)

Version vom 24. April 2014, 14:56 Uhr

Beispiel Anhand von tux203:

tux203:~ # /etc/init.d/sendmail stop

Shutting down SMTP port done

tux203:~ # killall -9 sendmail

sendmail: no process killed

tux203:~ # killall -9 sendmail

sendmail: no process killed

tux203:~ # /etc/init.d/sendmail restart

Shutting down SMTP port done Initializing SMTP port (sendmail) done

tux203:~ # telnet localhost 25

Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 tux203.hoststar.ch ESMTP Sendmail 8.13.8/8.12.11; Mon, 21 May 2012 10:06:44 +0200


Damit Sendmail sauber neu gestartet wird müssen alle Sendmail Prozesse vorher beendet werden. Daher folgendes ausführen:

/etc/init.d/sendmail stop
/etc/init.d/sendmail stop
/etc/init.d/sendmail stop
killall -9 sendmail
killall -9 sendmail
killall -9 sendmail      
/etc/init.d/sendmail restart
telnet localhost 25
Meine Werkzeuge
Namensräume

Varianten
Aktionen
Navigation
Werkzeuge