keep recieving same email warning?

neorder

Verified User
Joined
Oct 1, 2003
Messages
392
what's the problem with it?

i followed http://www.directadmin.com/forum/showthread.php?s=&threadid=1187 to install ClamAv 0.67, MailScanner 4.28, Exim 4.24, but unsuccessful.

after that, i keep recieving email warning from SIM, says

[05/03/04 21:25:01]: SMTP restart failed, could not find /etc/init.d/sendmail.

what's the location for sendmail then? does DA use different location?

/usr/lib/sendmail
/usr/sbin/sendmail
/usr/local/lib/php/Mail/sendmail.php

is it the first one?

my system is redhat 9.0
what's the path for # path to SMTP service init script ?


--------------------------------------------------------------------------
msg is as below:


System integrity monitor on gck.dnsdns.net has taken action in responce
to an event. Recent event logs are enclosed below for your inspection. There has
been 22 events today, if an average of 8 events is reached, e-mail alerts will
be terminated for the duration of the day.

- Events Summary:
Total event count: 22
Average event count: 2

- Service Summary:
FTP [online - 2 events]
HTTP [online - 0 events]
DNS [online - 0 events]
SSH [online - 0 events]
MYSQL [online - 3 events]
SMTP [restart failed - 1 events]
XINET [online - 0 events]

- System Summary:
LOAD [0.12 - status good - 0 events]
NETWORK [eth0 - online - 0 events]

- SIM Log:
[05/03/04 21:25:01]: SSH service is online.
[05/03/04 21:25:01]: MYSQL service is online.
[05/03/04 21:25:01]: XINET service is online.
[05/03/04 21:25:01]: SMTP service is offline.
[05/03/04 21:25:01]: SMTP restart failed, could not find /etc/init.d/sendmail.
[05/03/04 21:30:00]: LOAD 0.12 (status good)
[05/03/04 21:30:00]: NETWORK is online.
[05/03/04 21:30:00]: FTP service is online.
[05/03/04 21:30:00]: HTTP service is online.
[05/03/04 21:30:00]: DNS service is online.
[05/03/04 21:30:00]: SSH service is online.
[05/03/04 21:30:00]: MYSQL service is online.
[05/03/04 21:30:00]: XINET service is online.
[05/03/04 21:30:00]: SMTP service is offline.
[05/03/04 21:30:00]: SMTP restart failed, could not find /etc/init.d/sendmail.

- System Log:
May 3 06:22:21 gck last message repeated 7 times
May 3 06:23:22 gck last message repeated 6 times
May 3 06:24:32 gck last message repeated 7 times
May 3 06:25:42 gck last message repeated 7 times
May 3 06:26:02 gck last message repeated 2 times
May 3 06:26:05 gck kernel: ** IN_TCP DROP ** IN=eth0 OUT=
MAC=00:0d:61:c4:54:66:00:e0:52:d8:41:0e:08:00 SRC=65.48.216.184
DST=65.75.183.163 LEN=48 TOS=0x04 PREC=0x00 TTL=111 ID=19253 DF PROTO=TCP
SPT=4186 DPT=2745 WINDOW=16384 RES=0x00 SYN URGP=0
May 3 06:26:12 apple mail: Process did not exit cleanly, returned 255 with
signal 0
May 3 06:26:52 gck last message repeated 4 times
May 3 06:27:53 gck last message repeated 6 times
May 3 06:29:03 gck last message repeated 7 times
May 3 06:29:23 gck last message repeated 2 times
May 3 06:29:27 gck kernel: ** IN_TCP DROP ** IN=eth0 OUT=
MAC=00:0d:61:c4:54:66:00:e0:52:d8:41:0e:08:00 SRC=65.78.112.157
DST=65.75.183.166 LEN=48 TOS=0x04 PREC=0x00 TTL=112 ID=5146 DF PROTO=TCP
SPT=4775 DPT=2745 WINDOW=64240 RES=0x00 SYN URGP=0
May 3 06:29:33 gck mail: Process did not exit cleanly, returned 255 with
signal 0
May 3 06:29:33 apple kernel: ** IN_TCP DROP ** IN=eth0 OUT=
MAC=00:0d:61:c4:54:66:00:e0:52:d8:41:0e:08:00 SRC=65.78.112.157
DST=65.75.183.166 LEN=48 TOS=0x04 PREC=0x00 TTL=112 ID=5424 DF PROTO=TCP
SPT=4775 DPT=2745 WINDOW=64240 RES=0x00 SYN URGP=0
May 3 06:29:43 apple mail: Process did not exit cleanly, returned 255 with
signal 0
 
Last edited:

nobaloney

NoBaloney Internet Svcs - In Memoriam †
Joined
Jun 16, 2003
Messages
26,119
Location
California
What OS are you using?

I'm not running the CLAMAV install in question, but if you're running DA on any version of RHL, this should fix the problem:

From the root login:

# ln -s /etc/rc.d/init.d/sendmail /etc/rc.d/init.d/exim

Then restart your CLAMAV install.

Jeff
 

neorder

Verified User
Joined
Oct 1, 2003
Messages
392
thanks for your always help, jlasman

my problem doesn't resolved yet, i just diabled to SIM to monitor my SMTP, to stop the incoming email.

my problem is SIM can't find the SMTP service in DA.

[05/04/04 01:40:00]: SSH service is online.
[05/04/04 01:40:00]: MYSQL service is online.
[05/04/04 01:40:00]: XINET service is online.
[05/04/04 01:40:00]: SMTP service is offline.
[05/04/04 01:40:00]: SMTP restart failed, could not find
/etc/rc.d/init.d/sendmail.
[05/04/04 01:45:01]: LOAD 1.51 (status good)
[05/04/04 01:45:01]: NETWORK is online.
[05/04/04 01:45:01]: FTP service is online.
[05/04/04 01:45:01]: HTTP service is online.
[05/04/04 01:45:01]: DNS service is online.
[05/04/04 01:45:01]: SSH service is online.
[05/04/04 01:45:01]: MYSQL service is online.
[05/04/04 01:45:01]: XINET service is online.
[05/04/04 01:45:01]: SMTP service is offline.
[05/04/04 01:45:01]: SMTP restart failed, could not find
/etc/rc.d/init.d/sendmail.

it looks i don't have smtp, i will check it later on.
 

ProWebUK

Verified User
Joined
Jun 9, 2003
Messages
2,326
Location
UK
Thats because DA doesn't use sendmail... it uses exim..

Since DA monitors all apart from xinetd you should disable sim for everything besides xinetd....

Chris
 

neorder

Verified User
Joined
Oct 1, 2003
Messages
392
ProWebUK said:
Thats because DA doesn't use sendmail... it uses exim..

Since DA monitors all apart from xinetd you should disable sim for everything besides xinetd....

Chris
okay, i got it, thanks.:)
 
Top