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

sendmail problem: on maintenance mode

208 views
Skip to first unread message

Rock July

unread,
Feb 8, 2012, 12:56:55 PM2/8/12
to
Hi Guys,

need your help badly. I install sendmail 8.14.5 in solaris 10 but when
I tried to enable the smtp:sendmail service it keeps on restarting and
stays on maintenance mode. Below are the errors and some info on my
server.

Invalid operation mode l
[ Feb 8 19:50:20 Method "start" exited with status 0 ]
[ Feb 8 19:50:20 Stopping because all processes in service exited. ]
[ Feb 8 19:50:20 Executing stop method ("/lib/svc/method/smtp-
sendmail stop 139") ]
[ Feb 8 19:50:20 Method "stop" exited with status 0 ]
[ Feb 8 19:50:20 Executing start method ("/lib/svc/method/smtp-
sendmail start") ]
Invalid operation mode l
[ Feb 8 19:50:20 Method "start" exited with status 0 ]
[ Feb 8 19:50:20 Stopping because all processes in service exited. ]
[ Feb 8 19:50:21 Executing stop method ("/lib/svc/method/smtp-
sendmail stop 141") ]
[ Feb 8 19:50:21 Method "stop" exited with status 0 ]
[ Feb 8 19:50:21 Executing start method ("/lib/svc/method/smtp-
sendmail start") ]
Invalid operation mode l

bash-3.00# uname -a
SunOS hostname 5.10 Generic_142909-17 sun4u sparc SUNW,Sun-Fire-V240

bash-3.00# /usr/lib/sendmail -d0.1 -bt < /dev/null | grep -i version
Version 8.14.5

bash-3.00# cat /etc/release
Oracle Solaris 10 9/10 s10s_u9wos_14a SPARC
Copyright (c) 2010, Oracle and/or its affiliates. All rights
reserved.
Assembled 11 August 2010

Thanks,
Rock

Claus Aßmann

unread,
Feb 8, 2012, 1:51:17 PM2/8/12
to
Rock July wrote:

> need your help badly. I install sendmail 8.14.5 in solaris 10 but when
> I tried to enable the smtp:sendmail service it keeps on restarting and
> stays on maintenance mode. Below are the errors and some info on my

You might want to ask in a Solaris newsgroup about SMF,
e.g., where to find the error logs.

> Invalid operation mode l

Solaris seems to compile sendmail with _FFR_LOCAL_DAEMON,
see the fine source code:

#define MD_LOCAL 'l' /* like daemon, but localhost only */

sendmail.h and main.c

Rock July

unread,
Feb 10, 2012, 3:17:56 AM2/10/12
to
On Feb 9, 2:51 am, Claus Aßmann <ca+sendmail(-no-copies-
I was able to solve the issue. I just change the mode inside /lib/svc/
method/smtp-sendmail from -bl to -bd.

Regards,
Rock

cjav...@gmail.com

unread,
Oct 22, 2018, 4:01:16 PM10/22/18
to
You Rock!
0 new messages