Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #185582

Re: Systemd: Error when replacing postfix LSB init with postfix.service on Debian 8 (jessie)

From Tom Browder <tom.browder@gmail.com>
Newsgroups linux.debian.user
Subject Re: Systemd: Error when replacing postfix LSB init with postfix.service on Debian 8 (jessie)
Date 2017-08-20 18:50 +0200
Message-ID <ugBAf-Z0-27@gated-at.bofh.it> (permalink)
References <ugA1t-9x-39@gated-at.bofh.it> <ugAb9-d9-29@gated-at.bofh.it> <ugAuu-l6-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, Aug 20, 2017 at 10:17 AM, Nicolas George <george@nsup.org> wrote:
> Le tridi 3 fructidor, an CCXXV, Tom Browder a écrit :
>> >   # systemctl start postfix
>> >   # systemctl status postfix
>> >
>> > and got several lines basically saying posfix.service was disabled.
>
>> The exact message is:
>>
>> * postfix.service - Postfix Mail Transport Agent
>>    Loaded: loaded (/etc/systemd/system/postfix.service; disabled)
>>    Active: active (running) since Fri 2017-08-18 04:51:33 CDT; 2 days ago
>>    CGroup: /system.slice/postfix.service
>>            |- 1505 /usr/lib/postfix/master
>>            |- 9515 pickup -l -t unix -u -c
>>            `-19868 qmgr -l -t unix -u
>
> Looks like Postfix is running correctly.
>
> Note that "systemctl start" is transient. If you want to make it start
> automatically at boot, you have to use "systemctl enable".

Okay, I did:

#  mv /etc/init.d/postfix /etc/init.d/postfix.orig
#  cp postfix.service /etc/systemd
#  systemctl enable postfix
#  systemctl daemon-reload
#  systemctl stop postfix
#  systemctl start postfix
#  systemctl status postfix
* postfix.service - Postfix Mail Transport Agent
   Loaded: loaded (/etc/systemd/system/postfix.service; enabled)
   Active: active (exited) since Sun 2017-08-20 11:25:02 CDT; 1min 37s ago
  Process: 524 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
 Main PID: 524 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/postfix.service

And all looks good!

Thanks, Nicolas.

Best regards,

-Tom

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Systemd: Error when replacing postfix LSB init with postfix.service  on Debian 8 (jessie) Tom Browder <tom.browder@gmail.com> - 2017-08-20 17:10 +0200
  Re: Systemd: Error when replacing postfix LSB init with  postfix.service on Debian 8 (jessie) Nicolas George <george@nsup.org> - 2017-08-20 17:20 +0200
  Re: Systemd: Error when replacing postfix LSB init with  postfix.service on Debian 8 (jessie) Tom Browder <tom.browder@gmail.com> - 2017-08-20 17:20 +0200
    Re: Systemd: Error when replacing postfix LSB init with  postfix.service on Debian 8 (jessie) Nicolas George <george@nsup.org> - 2017-08-20 17:40 +0200
      Re: Systemd: Error when replacing postfix LSB init with  postfix.service on Debian 8 (jessie) Tom Browder <tom.browder@gmail.com> - 2017-08-20 18:10 +0200
        Re: Systemd: Error when replacing postfix LSB init with  postfix.service on Debian 8 (jessie) Nicolas George <george@nsup.org> - 2017-08-20 19:00 +0200
          Re: Systemd: Error when replacing postfix LSB init with  postfix.service on Debian 8 (jessie) Tom Browder <tom.browder@gmail.com> - 2017-08-20 19:10 +0200
      Re: Systemd: Error when replacing postfix LSB init with  postfix.service on Debian 8 (jessie) Tom Browder <tom.browder@gmail.com> - 2017-08-20 18:50 +0200
        Systemd: Error when replacing postfix LSB init with postfix.service  on Debian 8 (jessie) Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2017-08-25 06:10 +0200
    Re: Systemd: Error when replacing postfix LSB init with postfix.service on Debian 8 (jessie) Sven Hartge <sven@svenhartge.de> - 2017-08-20 19:40 +0200
      Re: Systemd: Error when replacing postfix LSB init with  postfix.service on Debian 8 (jessie) Tom Browder <tom.browder@gmail.com> - 2017-08-20 21:20 +0200
      Re: Systemd: Error when replacing postfix LSB init with  postfix.service on Debian 8 (jessie) Tom Browder <tom.browder@gmail.com> - 2017-08-21 03:00 +0200
        Re: Systemd: Error when replacing postfix LSB init with postfix.service on Debian 8 (jessie) Sven Hartge <sven@svenhartge.de> - 2017-08-21 09:40 +0200
          Re: Systemd: Error when replacing postfix LSB init with  postfix.service on Debian 8 (jessie) Tom Browder <tom.browder@gmail.com> - 2017-08-21 12:10 +0200
            Re: Systemd: Error when replacing postfix LSB init with postfix.service on Debian 8 (jessie) Sven Hartge <sven@svenhartge.de> - 2017-08-21 12:50 +0200
              Systemd: Error when replacing postfix LSB init with postfix.service  on Debian 8 (jessie) Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2017-08-25 06:20 +0200
                Re: Systemd: Error when replacing postfix LSB init with postfix.service on Debian 8 (jessie) Sven Hartge <sven@svenhartge.de> - 2017-08-25 09:40 +0200
            Re: Systemd: Error when replacing postfix LSB init with  postfix.service on Debian 8 (jessie) Christian Seiler <christian@iwakd.de> - 2017-08-21 14:30 +0200
              Re: Systemd: Error when replacing postfix LSB init with postfix.service on Debian 8 (jessie) Sven Hartge <sven@svenhartge.de> - 2017-08-21 15:20 +0200

csiph-web