Let's see if it's just a timeout or something else.
Raise the StartLimitInterval to 120 seconds by doing the following:

1. Edit /lib/systemd/system/packetfence-httpd.admin.service and set 
StartLimitInterval=120

2. Reload the systemd configuration: 
# systemctl daemon-reload

3. Restart the admin: 
# systemctl restart packetfence-httpd.admin 



Please report the results, with logs if it fails.

Regards,
--
Louis Munro
[email protected] <mailto:[email protected]>  ::  www.inverse.ca 
<http://www.inverse.ca/> 
+1.514.447.4918 x125  :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu <http://www.sogo.nu/>) and 
PacketFence (www.packetfence.org <http://www.packetfence.org/>)

> On Jul 19, 2017, at 12:24, Jarek via PacketFence-users 
> <[email protected]> wrote:
> 
> Hello!
> 
> Dnia 2017-07-19, śro o godzinie 11:07 -0400, Louis Munro via
> PacketFence-users pisze:
>> Hi Jarek,
>> Can you report the output of this command please?
>> 
>> 
>> # systemct cat packetfence-httpd.admin
> 
> 
> # /lib/systemd/system/packetfence-httpd.admin.service
> [Unit]
> Description=PacketFence Administration  Apache HTTP Server 
> Documentation=man:httpd(8)
> Documentation=man:apachectl(8)
> Wants=packetfence-base.target packetfence-config.service
> After=packetfence-base.target packetfence-config.service
> packetfence-haproxy.service
> 
> [Service]
> StartLimitBurst=3
> StartLimitInterval=60
> Type=notify
> PIDFile=/usr/local/pf/var/run/httpd.admin.pid
> Environment=X_PORTAL=default
> ExecStartPre=/usr/local/pf/bin/pfcmd service httpd.admin generateconfig
> ExecStart=/usr/sbin/apache2
> -f /usr/local/pf/var/conf/httpd.conf.d/httpd.admin -DFOREGROUND
> -Ddebian
> ExecReload=/bin/kill -USR1 ${MAINPID}
> ExecStop=/bin/kill -WINCH ${MAINPID}
> # We want systemd to give httpd some time to finish gracefully, but
> still want
> # it to kill httpd after TimeoutStopSec if something went wrong during
> the
> # graceful stop. Normally, Systemd sends SIGTERM signal right after the
> # ExecStop, which would kill httpd. We are sending useless SIGCONT here
> to give
> # httpd time to finish.
> TimeoutStopSec=60
> KillMode=mixed
> KillSignal=SIGCONT
> PrivateTmp=true
> Restart=on-failure
> Slice=packetfence.slice
> 
> [Install]
> WantedBy=packetfence.target
> 
> 
> Best regards
> Jarek
> 
> 
>> Regards,
>> --
>> Louis Munro
>> [email protected]  ::  www.inverse.ca 
>> +1.514.447.4918 x125  :: +1 (866) 353-6153 x125
>> Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and
>> PacketFence (www.packetfence.org)

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to