[OpenIndiana-discuss] Help needed starting postfix as a service - maintenance state

Stephan Althaus Stephan.Althaus at Duedinghausen.eu
Mon Jan 23 11:06:35 UTC 2023


On 1/23/23 11:47, Predrag Zecevic via openindiana-discuss wrote:
> On 23.01.2023 11:38, Stephan Althaus wrote:
>> On 1/23/23 11:36, Predrag Zecevic via openindiana-discuss wrote:
>>> tail -20 $(svcprop -p restarter/logfile svc:/network/smtp:postfix) 
>>
>> Hello!
>>
>> Thanks for your help..
>>
>> Nothing new here, There are my tests visible with svcadm clear 
>> postfix...
>>
>>
>> # tail -20 $(svcprop -p restarter/logfile svc:/network/smtp:postfix)
>> [ Jan 23 09:29:38 Method "start" exited with status 1. ]
>> [ Jan 23 09:30:37 Leaving maintenance because clear requested. ]
>> [ Jan 23 09:30:37 Enabled. ]
>> [ Jan 23 09:30:37 Executing start method ("/usr/sbin/postfix start"). ]
>> [ Jan 23 09:30:38 Method "start" exited with status 1. ]
>> [ Jan 23 09:32:16 Leaving maintenance because clear requested. ]
>> [ Jan 23 09:32:16 Enabled. ]
>> [ Jan 23 09:32:16 Executing start method ("/usr/sbin/postfix start"). ]
>> [ Jan 23 09:32:17 Method "start" exited with status 1. ]
>> [ Jan 23 09:44:37 Disabled. ]
>> [ Jan 23 09:44:37 Rereading configuration. ]
>> [ Jan 23 09:45:08 Enabled. ]
>> [ Jan 23 09:45:08 Executing start method ("/usr/sbin/postfix start"). ]
>> [ Jan 23 09:45:09 Method "start" exited with status 1. ]
>> [ Jan 23 09:45:09 Executing start method ("/usr/sbin/postfix start"). ]
>> [ Jan 23 09:45:10 Method "start" exited with status 1. ]
>> [ Jan 23 09:45:10 Executing start method ("/usr/sbin/postfix start"). ]
>> [ Jan 23 09:45:11 Method "start" exited with status 1. ]
>> [ Jan 23 09:45:22 Leaving maintenance because disable requested. ]
>> [ Jan 23 09:45:22 Disabled. ]
>>
>>
>> Stephan
>>
>>
> Than, maybe, mail log can show more. To check where it goes (I am 
> using rsyslog):
> :; grep -w mail /etc/rsyslog.conf
> *.err;kern.debug;daemon.notice;mail.crit        /var/adm/messages
> # Log anything (except auth, cron, daemon & mail) of level info or 
> higher.
> *.info;mail.none;auth.none;cron.none            -/var/log/misc.log
> # Log all the auth, daemon & mail messages in one place.
> mail.*                                          -/var/log/mail.log
>
> :; less /var/log/mail.log # might give a hint next...
>
> HTH
> Regards.
>>
>> _______________________________________________
>> openindiana-discuss mailing list
>> openindiana-discuss at openindiana.org
>> https://openindiana.org/mailman/listinfo/openindiana-discuss
>
Hello!

Jan 23 12:00:47 mail postfix/postfix-script[28446]: [ID 947731 
mail.crit] fatal: the Postfix mail system is already running
Jan 23 12:00:48 mail postfix/postfix-script[28628]: [ID 947731 
mail.crit] fatal: the Postfix mail system is already running
Jan 23 12:00:49 mail postfix/postfix-script[28794]: [ID 947731 
mail.crit] fatal: the Postfix mail system is already running

the process is not running because of zone reboot:

# ps ax|grep post
  28813 pts/3    S  0:00 grep post
# netstat -a -P tcp|grep smtp
#

I am not shure how the start of "/usr/sbin/postfix start" within the 
service should find a process, there is no process and no other listener 
on the port...

Manual start/stop works as expected..

# postfix start
postfix/postfix-script: starting the Postfix mail system
# netstat -a -P tcp|grep smtp
       *.smtp               *.*                 0      0 128000      0 
LISTEN

Stephan





More information about the openindiana-discuss mailing list