Bootprozeß

Post Reply
Message
Author
Gerd

Bootprozeß

#1 Post by Gerd »

Tach,

Wenn ich Linux (SUSE 7.2) starte, wird der Sendmail - Deamon nicht gestartet. dies hole ich mit "/etc/init.d/sendmail start" nach.
Kann jemand einem Newbie sagen, wie dieser SMTP - Deamon beim Booten automatisch gestartet wird ?
Jegliche Tipps ( welche Eintragungen ? wo?) wären nett !

mfG

Gerd

Descartes

Re: Bootprozeß

#2 Post by Descartes »

Existieren die SymLinks auf dem RunLevel Verzeichnis:
Wenn nicht, dann anlegen mit:

ln -s /etc/init.d/sendmail /etc/init.d/rc[35].d/K13sendmail
ln -s /etc/init.d/sendmail /etc/init.d/rc[35].d/S11sendmail

<blockquote><pre><font size="1" face="">code:</font><hr><font face="Courier New" size="2">
$ descartes@router:~> ls -l /etc/init.d/rc[35].d/[KS]1[13]sendmail
lrwxrwxrwx 1 root root 11 Feb 14 2002 /etc/init.d/rc3.d/K13sendmail -> ../sendmail
lrwxrwxrwx 1 root root 11 Feb 14 2002 /etc/init.d/rc3.d/S11sendmail -> ../sendmail
lrwxrwxrwx 1 root root 11 Feb 14 2002 /etc/init.d/rc5.d/K13sendmail -> ../sendmail
lrwxrwxrwx 1 root root 11 Feb 14 2002 /etc/init.d/rc5.d/S11sendmail -> ../sendmail


$ grep -A 5 -B 5 -i smtp /etc/rc.config
#
# Have mail daemon on SMTP port? (yes/no)
# This is needed, if you receive email from other hosts via tcp/ip.
# It is NOT needed, if you have a uucp-only host or only out-going email.
#
# If set to "yes", sendmail will be started as daemon. As uucp site, you
# can get along with "SMTP=no", if you make a "sendmail -q" call after
# each poll. (As rmail is only queuing the mail, but not delivering it...)
#
SMTP="yes"

</font><hr></pre></blockquote>
Natürlich sollte in /etc/rc.config die Variable SMTP entsprechend gesetzt sein.

Beginnend mit SuSE 8.0 wurde die Datei /etc/rc.config aufgesplittet in verschiedene kleinere Dateien die allesamt unterhalb von /etc/sysconfig liegen.

biber
Posts: 34
Joined: 29. Mar 2002 19:44
Location: Reutlingen

Re: Bootprozeß

#3 Post by biber »

Hallo,

kansch´ vergessa <img src="http://www.pl-forum.de/UltraBoard/Images/Sad.gif" border="0" align="middle">, hat Descartes ja schon geschrieben!
SORRY

(vieleicht reicht es mit yast(1) unter "Administration des Systems" -> "Konfigurationsdateien verändern" START_SMTP (oder heißt das START_SENDMAIL?) = yes zu setzen?)

Tschüß
Steffen
Last edited by biber on 05. Oct 2002 18:58, edited 1 time in total.
Open minds. Open sources. Open futures. <img src="http://www.pl-forum.de/UltraBoard/Images/Wilk.gif" border="0" align="middle">

Post Reply