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
> lmu...@inverse.ca  ::  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)
> 
> > On Jul 19, 2017, at 10:00, jarek via PacketFence-users
> > <packetfence-users@lists.sourceforge.net> wrote:
> > 
> > Hello!
> > 
> > I'm trying to setup packetfence on new Debian 8. I've tried few
> > times from scratch but failed. 
> > At the moment packetfence-httpd.admin.service is continously
> > restarting. I'm able to open configurator page, but after few 
> > seconds it becames unavailable. What I'm doing wrong ?
> > 
> > syslog:
> > 
> > Jul 19 15:53:19 rj01 systemd[1]: packetfence-httpd.admin.service
> > start operation timed out. Terminating.
> > Jul 19 15:54:19 rj01 systemd[1]: packetfence-httpd.admin.service
> > stop-final-sigterm timed out. Killing.
> > Jul 19 15:54:20 rj01 systemd[1]: packetfence-httpd.admin.service:
> > main process exited, code=killed, status=9/KILL
> > Jul 19 15:54:20 rj01 systemd[1]: Failed to start PacketFence
> > Administration  Apache HTTP Server.
> > Jul 19 15:54:20 rj01 systemd[1]: Unit
> > packetfence-httpd.admin.service entered failed state.
> > Jul 19 15:54:20 rj01 systemd[1]: packetfence-httpd.admin.service
> > holdoff time over, scheduling restart.
> > Jul 19 15:54:20 rj01 systemd[1]: Stopping PacketFence Administration
> > Apache HTTP Server...
> > Jul 19 15:54:20 rj01 systemd[1]: Starting PacketFence Administration
> > Apache HTTP Server...
> > Jul 19 15:54:31 rj01 pfcmd[28577]: service|command
> > Jul 19 15:54:32 rj01 pfcmd[28577]: httpd.admin|config generated
> > Jul 19 15:55:28 rj01 apache2[28583]: [Wed Jul 19 15:55:28 2017]
> > pfappserver.pm: Cannot determine desired terminal width, using
> > default of 80 columns
> > Jul 19 15:55:31 rj01 apache2[28583]: AH00558: apache2: Could not
> > reliably determine the server's fully qualified domain name, using
> > 127.0.1.1. Set the 'ServerName' directive globally to suppress this
> > message
> > Jul 19 15:56:03 rj01 systemd[1]: packetfence-httpd.admin.service
> > start operation timed out. Terminating.
> > 
> > journalctl -xe
> > 
> > lip 19 15:54:31 rj01 pfcmd[28577]: service|command
> > lip 19 15:54:32 rj01 packetfence[28577]: INFO pfcmd.pl(28577):
> > generating /usr/local/pf/var/conf/ssl-certificates.conf
> > (pf::services::manager::httpd::generateCommonConfig)
> > lip 19 15:54:32 rj01 packetfence[28577]: INFO pfcmd.pl(28577):
> > generating /usr/local/pf/var/conf/captive-portal-common
> > (pf::services::manager::httpd::generateCommonConfig)
> > lip 19 15:54:32 rj01 pfcmd[28577]: httpd.admin|config generated
> > lip 19 15:55:28 rj01 apache2[28583]: [Wed Jul 19 15:55:28 2017]
> > pfappserver.pm: Cannot determine desired terminal width, using
> > default of 80 columns
> > lip 19 15:55:31 rj01 admin_catalyst[28583]: httpd.admin(28583) WARN:
> > [mac:[undef]] Unicode::Encoding plugin is auto-applied, please
> > remove this from your appclass and make sure to define "encoding"
> > config (Catalyst::setup_
> > lip 19 15:55:31 rj01 admin_catalyst[28583]: httpd.admin(28583) WARN:
> > [mac:[undef]] Deprecated 'static' config key used, please use the
> > key 'Plugin::Static::Simple' instead (Class::MOP::Class:::before)
> > lip 19 15:55:31 rj01 apache2[28583]: AH00558: apache2: Could not
> > reliably determine the server's fully qualified domain name, using
> > 127.0.1.1. Set the 'ServerName' directive globally to suppress this
> > message
> > lip 19 15:55:31 rj01 httpd_admin_err[28585]: [Wed Jul 19
> > 15:55:31.326772 2017] [ssl:warn] [pid 28583] AH01909:
> > packetfence.packetfence.org:443:0 server certificate does NOT
> > include an ID which matches the server name
> > lip 19 15:56:03 rj01 systemd[1]: packetfence-httpd.admin.service
> > start operation timed out. Terminating.
> > lip 19 15:56:28 rj01 httpd_admin_err[28585]: [Wed Jul 19 15:56:28
> > 2017] pfappserver.pm: Cannot determine desired terminal width, using
> > default of 80 columns
> > lip 19 15:56:31 rj01 admin_catalyst[28583]: httpd.admin(28583) WARN:
> > [mac:[undef]] Unicode::Encoding plugin is auto-applied, please
> > remove this from your appclass and make sure to define "encoding"
> > config (Catalyst::setup_
> > lip 19 15:56:31 rj01 admin_catalyst[28583]: httpd.admin(28583) WARN:
> > [mac:[undef]] Deprecated 'static' config key used, please use the
> > key 'Plugin::Static::Simple' instead (Class::MOP::Class:::before)
> > lip 19 15:56:31 rj01 httpd_admin_err[28585]: AH00558: apache2: Could
> > not reliably determine the server's fully qualified domain name,
> > using 127.0.1.1. Set the 'ServerName' directive globally to suppress
> > this message
> > lip 19 15:56:31 rj01 httpd_admin_err[28588]: [Wed Jul 19
> > 15:56:31.755543 2017] [ssl:warn] [pid 28583] AH01909:
> > packetfence.packetfence.org:443:0 server certificate does NOT
> > include an ID which matches the server name
> > lip 19 15:56:31 rj01 httpd_admin_err[28588]: [Wed Jul 19
> > 15:56:31.976233 2017] [mpm_prefork:notice] [pid 28583] AH00163:
> > Apache/2.4.10 (Debian) OpenSSL/1.0.2k mod_apreq2-20090110/2.8.0
> > mod_perl/2.0.9dev Perl/v5.20.2 config
> > lip 19 15:56:31 rj01 httpd_admin_err[28588]: [Wed Jul 19
> > 15:56:31.976364 2017] [core:notice] [pid 28583] AH00094: Command
> > line: '/usr/sbin/apache2
> > -f /usr/local/pf/var/conf/httpd.conf.d/httpd.admin -D FOREGROUND -D
> > debian'
> > lip 19 15:57:03 rj01 systemd[1]: packetfence-httpd.admin.service
> > stop-final-sigterm timed out. Killing.
> > lip 19 15:57:03 rj01 systemd[1]: packetfence-httpd.admin.service:
> > main process exited, code=killed, status=9/KILL
> > lip 19 15:57:03 rj01 systemd[1]: Failed to start PacketFence
> > Administration  Apache HTTP Server.
> > -- Subject: Unit packetfence-httpd.admin.service has failed
> > -- Defined-By: systemd
> > -- Support:
> > http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> > 
> > 
> > ------------------------------------------------------------------------------
> > 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
> > PacketFence-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/packetfence-users
> > 
> 
> 
> ------------------------------------------------------------------------------
> 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
> PacketFence-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/packetfence-users





------------------------------------------------------------------------------
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
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to