/etc/rc: sendmail parms don't match /etc/rc.conf

/etc/rc: sendmail parms don't match /etc/rc.conf

Post by Mike Andre » Mon, 16 Jul 2001 09:51:41



Or do they?

Here's what is in /etc/rc.conf and should be passed to sendmail
during startup:

Quote:> sendmail_enable="YES"   # Run the sendmail daemon (or NO).
> sendmail_flags="-bd -q30m" # Flags to sendmail (if enabled)

Here's what my slightly-modified /etc/rc writes to the console
during boot:

Quote:>  sendmail flags are -bd -q30m

And here's what ps awux|grep sendmail shows when all the /etc/rc*
scripts finish running and I can get logged on:

Quote:>  root   188  0.0  0.4  2508 2008  ??  Is    5:28PM   0:00.03 /usr/bin/sendmail -FCronDaemon -odi -oem -oi -t
>  root   189  0.0  0.4  2508 2008  ??  Is    5:28PM   0:00.03 /usr/bin/sendmail -FCronDaemon -odi -oem -oi -t

And I have to start sendmail manually, which is a real PITA.

Any ideas on what's causing this and how to fix it?

Alternatively, any ideas on how to instrument things so I'll
have a better chance of finding the cause?

--
Nature and nature's laws lay hid in night,
God said, "Let Newton be," and all was light.
It did not last; the devil howling "Ho!
Let Einstein be!" restored the status quo.

 
 
 

/etc/rc: sendmail parms don't match /etc/rc.conf

Post by Torste » Mon, 16 Jul 2001 22:21:01



Quote:> Here's what my slightly-modified /etc/rc writes to the console
> during boot:
>>  sendmail flags are -bd -q30m
> And here's what ps awux|grep sendmail shows when all the /etc/rc*
> scripts finish running and I can get logged on:
>>  root   188  0.0  0.4  2508 2008  ??  Is    5:28PM   0:00.03 /usr/bin/sendmail -FCronDaemon -odi -oem -oi -t
>>  root   189  0.0  0.4  2508 2008  ??  Is    5:28PM   0:00.03 /usr/bin/sendmail -FCronDaemon -odi -oem -oi -t

Whatever it is you are running, it isn't sendmail(8). Real sendmail
lives in /usr/sbin/, not in /usr/bin/. It also changes what is
shown by ps to something like this:

    sendmail: accepting connections (sendmail)

/Torsten

 
 
 

/etc/rc: sendmail parms don't match /etc/rc.conf

Post by Mike Andre » Tue, 17 Jul 2001 01:19:26



:> Here's what my slightly-modified /etc/rc writes to the console
:> during boot:

:>>  sendmail flags are -bd -q30m

:> And here's what ps awux|grep sendmail shows when all the /etc/rc*
:> scripts finish running and I can get logged on:

:>>  root   188  0.0  0.4  2508 2008  ??  Is    5:28PM   0:00.03 /usr/bin/sendmail -FCronDaemon -odi -oem -oi -t
:>>  root   189  0.0  0.4  2508 2008  ??  Is    5:28PM   0:00.03 /usr/bin/sendmail -FCronDaemon -odi -oem -oi -t

: Whatever it is you are running, it isn't sendmail(8). Real sendmail
: lives in /usr/sbin/, not in /usr/bin/. It also changes what is
: shown by ps to something like this:

:    sendmail: accepting connections (sendmail)

I totally agree.

The real sendmail is where it should be:

Quote:> $ which sendmail
> /usr/sbin/sendmail

The bogus sendmail doesn't even exist:

Quote:> $ ls -al /usr/bin/sendmail
> ls: /usr/bin/sendmail: No such file or directory

Here's the one I start by hand:

Quote:> root    569  0.0  0.4  2492 2108  ??  Ss   10:31AM   0:00.18 sendmail: accepting connections (sendmail)

Trying to kill the bogus sendmails just turns them into zombies:

Quote:> mikea   189  0.0  0.0     0    0  ??  Z    10:27AM   0:00.00  (sendmail)
> mikea   188  0.0  0.0     0    0  ??  Z    10:27AM   0:00.00  (sendmail)

And I've been grepping around, too, to find what is starting the
nonexistant /usr/bin/sendmail, with no success.

Ideas are welcome.

--
"AOL would be a giant diesel-smoking bus with hundreds of ebola victims on
board throwing dead wombats and rotten cabbage at the other cars"
 - a.s.r throws the Information Superhighway metaphor into reverse.

 
 
 

/etc/rc: sendmail parms don't match /etc/rc.conf

Post by Christopher Meiklejo » Tue, 17 Jul 2001 02:32:36


I think it could have somthing to do with the Cron BSD mailings that
mail the daily output stuff possibly... (seeing that it is starting
with -FCronDaemon). you know?

I am not really sure though..

Any other ideas?

--chris




> :> Here's what my slightly-modified /etc/rc writes to the console
> :> during boot:

> :>>  sendmail flags are -bd -q30m

> :> And here's what ps awux|grep sendmail shows when all the /etc/rc*
> :> scripts finish running and I can get logged on:

> :>>  root   188  0.0  0.4  2508 2008  ??  Is    5:28PM   0:00.03 /usr/bin/sendmail -FCronDaemon -odi -oem -oi -t
> :>>  root   189  0.0  0.4  2508 2008  ??  Is    5:28PM   0:00.03 /usr/bin/sendmail -FCronDaemon -odi -oem -oi -t

> : Whatever it is you are running, it isn't sendmail(8). Real sendmail
> : lives in /usr/sbin/, not in /usr/bin/. It also changes what is
> : shown by ps to something like this:

> :    sendmail: accepting connections (sendmail)

> I totally agree.

> The real sendmail is where it should be:
> > $ which sendmail
> > /usr/sbin/sendmail

> The bogus sendmail doesn't even exist:
> > $ ls -al /usr/bin/sendmail
> > ls: /usr/bin/sendmail: No such file or directory

> Here's the one I start by hand:
> > root    569  0.0  0.4  2492 2108  ??  Ss   10:31AM   0:00.18 sendmail: accepting connections (sendmail)

> Trying to kill the bogus sendmails just turns them into zombies:
> > mikea   189  0.0  0.0     0    0  ??  Z    10:27AM   0:00.00  (sendmail)
> > mikea   188  0.0  0.0     0    0  ??  Z    10:27AM   0:00.00  (sendmail)

> And I've been grepping around, too, to find what is starting the
> nonexistant /usr/bin/sendmail, with no success.

> Ideas are welcome.

--
Christopher Meiklejohn          
Systems Administrator
Conversent Communications
401.384.6000 x245                      

 
 
 

1. difference between /etc/rc.sysinit and /etc/rc.d/rc.sysinit ?

What is the difference between /etc/rc.sysinit and /etc/rc.d/rc.sysinit?
I am using Redhat 8. I did a diff on them and they are identical.
/etc/rc.sysinit is apparently a copy of /etc/rc.d/rc.sysinit since it
says that it is that file, even though it's not (see below).


#!/bin/bash
#
# /etc/rc.d/rc.sysinit - run once at boot time

I want to change something in whichever of these scripts is run at
bootup, but I don't know which one gets run.

Thanks,
Russell

2. lp print spooler

3. SOLUTIONS TO: /etc/rc.net, /etc/host.conf and 'ps' problems

4. The Black Hat Briefings Asia Announcement and USA Call for Papers

5. which user does /etc/rc.d/rc.local / rc.sysinit run as?

6. Q: How to generate a shared library?

7. /etc/rc.d/rc.sysinit: /etc/sysconfig/keyboard: No such file or directory

8. Welcome to kernel source tour (FreeBSD 2.1.5R and Linux 2.0.28)

9. REQUEST /etc(/rc.d/rc.*) conf. files for SLIP connection

10. /etc/rc.net, /etc/host.conf and ps problems

11. static_routes in /etc/rc.conf doesn't work??

12. Slackware UMSDOS Install Prob: Can't find rc.M, rc.S, etc..

13. /etc/rc.d/rc.inet1 can't fork.