install postfix from source code, cannot start with systemd

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

install postfix from source code, cannot start with systemd

xiedeacc
first I install postfix use apt install postfix, everything goes right, can
use systemctl start postfix, but I want change some code, so I reinstall
postfix by compiling postfix, then use systemctl start postfix, it
complaint: I have googled, but failed to solve it. does anybody know it ?

systemctl status postfix.service
● postfix.service - LSB: Postfix Mail Transport Agent
   Loaded: loaded (/etc/init.d/postfix; bad; vendor preset: enabled)
  Drop-In: /run/systemd/generator/postfix.service.d
           └─50-postfix-$mail-transport-agent.conf
   Active: failed (Result: exit-code) since 二 2017-09-12 23:16:07 CST; 12s
ago
     Docs: man:systemd-sysv-generator(8)
  Process: 6339 ExecStop=/etc/init.d/postfix stop (code=exited,
status=0/SUCCESS)
  Process: 12075 ExecStart=/etc/init.d/postfix start (code=exited,
status=1/FAILURE)
    Tasks: 4
   Memory: 5.5M
      CPU: 260ms
   CGroup: /system.slice/postfix.service
           ├─1930 /usr/lib/postfix/sbin/master
           ├─1932 qmgr -l -t unix -u
           ├─4281 tlsmgr -l -t unix -u -c
           └─7779 pickup -l -t unix -u -c -o content_filter= -o
receive_override_options=no_header_body_checks

9月 12 23:16:06 xiedeacc.com systemd[1]: Starting LSB: Postfix Mail Transport
Agent...
9月 12 23:16:06 xiedeacc.com postfix[12075]:  * Starting Postfix Mail
Transport Agent postfix
9月 12 23:16:06 xiedeacc.com postfix/postfix-script[12168]: fatal: usage:
postfix start (or stop, reload, abort, flush, check, status,
set-permissions, upgrade-configuratio
9月 12 23:16:07 xiedeacc.com postfix[12075]:    ...fail!
9月 12 23:16:07 xiedeacc.com systemd[1]: postfix.service: Control process
exited, code=exited status=1
9月 12 23:16:07 xiedeacc.com systemd[1]: Failed to start LSB: Postfix Mail
Transport Agent.
9月 12 23:16:07 xiedeacc.com systemd[1]: postfix.service: Unit entered failed
state.
9月 12 23:16:07 xiedeacc.com systemd[1]: postfix.service: Failed with result
'exit-code'.




--
Sent from: http://postfix.1071664.n5.nabble.com/Postfix-Users-f2.html
Reply | Threaded
Open this post in threaded view
|

Re: install postfix from source code, cannot start with systemd

xiedeacc
my os is ubuntu 16.04, when make install I have choose /usr/lib/postfix/sbin



--
Sent from: http://postfix.1071664.n5.nabble.com/Postfix-Users-f2.html
Reply | Threaded
Open this post in threaded view
|

Re: install postfix from source code, cannot start with systemd

xiedeacc
In reply to this post by xiedeacc
here is mail log, for the post title, I decide ask a new question

postfix/postfix-script[6735] error: unknown command: 'quiet-quick-start'
postfix/postfix-script[6736] fatal: usage: postfix start (or stop, reload,
abort, flush, check, status, set-permissions, upgrade-configuration)




--
Sent from: http://postfix.1071664.n5.nabble.com/Postfix-Users-f2.html