Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Starting sendmail problem

176 views
Skip to first unread message

Mario Pranjic

unread,
Jul 2, 2004, 9:22:53 AM7/2/04
to
Hi!

When I try to start sendmail via SRC sendmail is not started and in
syslog i get this:

Jul 2 15:19:32 axpsapp1 sendmail[28748]: NOQUEUE: SYSERR(root):
Invalid operation mode: use the "-bd" flag when invoking sendmail via
SRC


In /etc/rc.tcpip I have:
start /usr/lib/sendmail "$src_running" "-bd -q${qpi}"


As far as I know, SRC should start sendmail with -bd flag.

System iz AIX 5100-05.

Any idea what might be a problem?

Thanks!

Mario.

Paul Landay

unread,
Jul 2, 2004, 9:38:23 AM7/2/04
to Mario Pranjic

Try this:
startsrc -s sendmail -a "-bd -q30"

Paul Landay

Mario Pranjic

unread,
Jul 2, 2004, 9:52:18 AM7/2/04
to
On Fri, 02 Jul 2004 09:38:23 -0400, Paul Landay <lan...@us.ibm.com>
wrote:

>startsrc -s sendmail -a "-bd -q30"

Thanks! That helped!

Stil, I don't get it. The same parameters are in /etc/rc.tcpip file.

Mario.

Paul Landay

unread,
Jul 2, 2004, 10:33:42 AM7/2/04
to Mario Pranjic

The startsrc command does not read the /etc/rc.tcpip file.
The /etc/rc.tcpip file calls the startsrc command with
those parameters.

Read the /etc/rc.tcpip script carefully.
The line:


start /usr/lib/sendmail "$src_running" "-bd -q${qpi}"

calls the 'start' function which is defined at
the top of the rc.tcpip script. The start function
uses the $src_running flag to tell it to use startsrc
to start up sendmail. It strips off the /usr/lib
part of /usr/lib/sendmail and prefixes the "-db -q..."
with the '-a' flag, giving you the command:


startsrc -s sendmail -a "-bd -q30"

Paul Landay

0 new messages