Hi all,
I'm new to PF. I used to install pf via ZEN package and this time to our Poc
environment, we need to install pf in a centos 7 server.
I install the pf as the administration guide(Software Installation part) said
and nothing wrong appeared.
But when I want to do the web-based configuration interface, the web GUI can't
open at all.
I tried to set timeout value in
"/lib/systemd/system/packetfence-httpd.admin.service" as this
posthttps://www.mail-archive.com/[email protected]/msg13567.html
said but it didn't work...
Below is some configuration and status check for pf, can anyone pls help me ?
[root@localhost logs]# curl http://172.22.19.220:9191
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator at
[email protected] to inform them of the time this error
occurred,
and the actions you performed just before this error.</p>
<p>More information about this error may be available
in the server error log.</p>
</body></html>
[root@localhost logs]# curl http://172.22.19.220:1443
curl: (52) Empty reply from server
[root@localhost logs]# curl http://172.22.19.220
curl: (7) Failed connect to 172.22.19.220:80; Connection refused
[root@localhost logs]# ps -elf |grep httpd
4 S root 4365 1 16 80 0 - 266681 poll_s 23:43 ? 00:00:17
/usr/sbin/httpd -f /usr/local/pf/var/conf/httpd.conf.d/httpd.admin -DFOREGROUND
-Drhel
0 S root 4370 4365 0 80 0 - 26973 pipe_w 23:44 ? 00:00:00
/usr/bin/logger -thttpd_admin_err -plocal5.err
0 S root 4371 4365 0 80 0 - 26973 pipe_w 23:44 ? 00:00:00
/usr/bin/logger -thttpd_admin_access -plocal5.info
0 S root 4372 4365 0 80 0 - 26973 pipe_w 23:44 ? 00:00:00
/usr/bin/logger -thttpd_admin_access -plocal5.info
5 S pf 4373 4365 0 80 0 - 266747 futex_ 23:44 ? 00:00:00
/usr/sbin/httpd -f /usr/local/pf/var/conf/httpd.conf.d/httpd.admin -DFOREGROUND
-Drhel
5 S pf 4374 4365 0 80 0 - 266748 futex_ 23:44 ? 00:00:00
/usr/sbin/httpd -f /usr/local/pf/var/conf/httpd.conf.d/httpd.admin -DFOREGROUND
-Drhel
5 S pf 4375 4365 0 80 0 - 266714 ep_pol 23:44 ? 00:00:00
/usr/sbin/httpd -f /usr/local/pf/var/conf/httpd.conf.d/httpd.admin -DFOREGROUND
-Drhel
5 S pf 4376 4365 0 80 0 - 266714 futex_ 23:44 ? 00:00:00
/usr/sbin/httpd -f /usr/local/pf/var/conf/httpd.conf.d/httpd.admin -DFOREGROUND
-Drhel
0 R root 4380 2229 0 80 0 - 28162 - 23:45 pts/1 00:00:00 grep
--color=auto httpd
[root@localhost logs]# netstat -atp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
PID/Program name
tcp 0 0 0.0.0.0:sun-as-jpda 0.0.0.0:* LISTEN
4365/httpd
tcp 0 0 0.0.0.0:6379 0.0.0.0:* LISTEN
3343/redis-server *
tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN
926/sshd
tcp 0 0 localhost:smtp 0.0.0.0:* LISTEN
1926/master
tcp 0 0 0.0.0.0:ies-lm 0.0.0.0:* LISTEN
4365/httpd
tcp 0 0 localhost:37104 localhost:6379 ESTABLISHED
3345/pfconfig
tcp 0 0 localhost:ssh localhost:65507 ESTABLISHED
4146/sshd: root@pts
tcp 0 196 localhost:ssh localhost:63192 ESTABLISHED
2227/sshd: root@pts
tcp 0 0 localhost:6379 localhost:37104 ESTABLISHED
3343/redis-server *
tcp6 0 0 [::]:6379 [::]:* LISTEN
3343/redis-server *
tcp6 0 0 [::]:ssh [::]:* LISTEN
926/sshd
tcp6 0 0 localhost:smtp [::]:* LISTEN
1926/master
[root@localhost logs]# tail -50 httpd.admin.error
Sep 4 07:26:59 localhost httpd_admin_err: AH00558: httpd: Could not reliably
determine the server's fully qualified domain name, using ::1. Set the
'ServerName' directive globally to suppress this message
Sep 4 07:26:59 localhost httpd_admin_err: [Mon Sep 04 07:26:59.898180 2017]
[ssl:warn] [pid 4186] AH01909: RSA certificate configured for
packetfence.packetfence.org:443 does NOT include an ID which matches the server
name
Sep 4 07:26:59 localhost httpd_admin_err: [Mon Sep 04 07:26:59.927529 2017]
[mpm_prefork:notice] [pid 4186] AH00163: Apache/2.4.6 (CentOS)
OpenSSL/1.0.1e-fips mod_apreq2-20090110/2.8.0 mod_perl/2.0.9 Perl/v5.16.3
configured -- resuming normal operations
Sep 4 07:26:59 localhost httpd_admin_err: [Mon Sep 04 07:26:59.927550 2017]
[core:notice] [pid 4186] AH00094: Command line: '/usr/sbin/httpd -f
/usr/local/pf/var/conf/httpd.conf.d/httpd.admin -D FOREGROUND -D rhel'
Sep 4 07:34:28 localhost httpd_admin_err: [Mon Sep 04 07:34:28.118595 2017]
[ssl:warn] [pid 4239] AH01909: RSA certificate configured for
packetfence.packetfence.org:443 does NOT include an ID which matches the server
name
Sep 4 07:34:28 localhost httpd_admin_err: perl: warning: Setting locale failed.
Sep 4 07:34:28 localhost httpd_admin_err: perl: warning: Please check that
your locale settings:
Sep 4 07:34:28 localhost httpd_admin_err: LANGUAGE = (unset),
Sep 4 07:34:28 localhost httpd_admin_err: LC_ALL = (unset),
Sep 4 07:34:28 localhost httpd_admin_err: LANG = "en_US,UTF-8"
Sep 4 07:34:28 localhost httpd_admin_err: are supported and installed on
your system.
Sep 4 07:34:28 localhost httpd_admin_err: perl: warning: Falling back to the
standard locale ("C").
Sep 4 07:34:30 localhost httpd_admin_err: perl: warning: Setting locale failed.
Sep 4 07:34:30 localhost httpd_admin_err: perl: warning: Please check that
your locale settings:
Sep 4 07:34:30 localhost httpd_admin_err: LANGUAGE = (unset),
Sep 4 07:34:30 localhost httpd_admin_err: LC_ALL = (unset),
Sep 4 07:34:30 localhost httpd_admin_err: LANG = "en_US,UTF-8"
Sep 4 07:34:30 localhost httpd_admin_err: are supported and installed on
your system.
Sep 4 07:34:30 localhost httpd_admin_err: perl: warning: Falling back to the
standard locale ("C").
Sep 4 07:34:36 localhost httpd_admin_err: [Mon Sep 4 07:34:36 2017]
pfappserver.pm: Cannot determine desired terminal width, using default of 80
columns
Sep 4 07:34:37 localhost httpd_admin_err: AH00558: httpd: Could not reliably
determine the server's fully qualified domain name, using ::1. Set the
'ServerName' directive globally to suppress this message
Sep 4 07:34:37 localhost httpd_admin_err: [Mon Sep 04 07:34:37.076043 2017]
[ssl:warn] [pid 4239] AH01909: RSA certificate configured for
packetfence.packetfence.org:443 does NOT include an ID which matches the server
name
Sep 4 07:34:37 localhost httpd_admin_err: [Mon Sep 04 07:34:37.104823 2017]
[mpm_prefork:notice] [pid 4239] AH00163: Apache/2.4.6 (CentOS)
OpenSSL/1.0.1e-fips mod_apreq2-20090110/2.8.0 mod_perl/2.0.9 Perl/v5.16.3
configured -- resuming normal operations
Sep 4 07:34:37 localhost httpd_admin_err: [Mon Sep 04 07:34:37.104852 2017]
[core:notice] [pid 4239] AH00094: Command line: '/usr/sbin/httpd -f
/usr/local/pf/var/conf/httpd.conf.d/httpd.admin -D FOREGROUND -D rhel'
Sep 4 07:38:38 localhost httpd_admin_err: [Mon Sep 4 07:38:38 2017] (eval
5938): Variable "$REST_PARSERS" is not imported at (eval 5938) line 2, <DATA>
line 1003.
Sep 3 23:43:53 localhost httpd_admin_err: [Sun Sep 03 23:43:53.077530 2017]
[mpm_prefork:emerg] [pid 4248] (4)Interrupted system call: AH00144: couldn't
grab the accept mutex
Sep 3 23:43:53 localhost httpd_admin_err: [Sun Sep 03 23:43:53.077540 2017]
[mpm_prefork:emerg] [pid 4250] (4)Interrupted system call: AH00144: couldn't
grab the accept mutex
Sep 3 23:43:53 localhost httpd_admin_err: [Sun Sep 03 23:43:53.077541 2017]
[mpm_prefork:emerg] [pid 4249] (4)Interrupted system call: AH00144: couldn't
grab the accept mutex
Sep 3 23:43:53 localhost httpd_admin_err: [Sun Sep 03 23:43:53.077582 2017]
[mpm_prefork:notice] [pid 4239] AH00170: caught SIGWINCH, shutting down
gracefully
Sep 3 23:44:05 localhost httpd_admin_err: [Sun Sep 03 23:44:05.262189 2017]
[ssl:warn] [pid 4365] AH01909: RSA certificate configured for
packetfence.packetfence.org:443 does NOT include an ID which matches the server
name
Sep 3 23:44:05 localhost httpd_admin_err: perl: warning: Setting locale failed.
Sep 3 23:44:05 localhost httpd_admin_err: perl: warning: Please check that
your locale settings:
Sep 3 23:44:05 localhost httpd_admin_err: LANGUAGE = (unset),
Sep 3 23:44:05 localhost httpd_admin_err: LC_ALL = (unset),
Sep 3 23:44:05 localhost httpd_admin_err: LANG = "en_US,UTF-8"
Sep 3 23:44:05 localhost httpd_admin_err: are supported and installed on
your system.
Sep 3 23:44:05 localhost httpd_admin_err: perl: warning: Falling back to the
standard locale ("C").
Sep 3 23:44:07 localhost httpd_admin_err: perl: warning: Setting locale failed.
Sep 3 23:44:07 localhost httpd_admin_err: perl: warning: Please check that
your locale settings:
Sep 3 23:44:07 localhost httpd_admin_err: LANGUAGE = (unset),
Sep 3 23:44:07 localhost httpd_admin_err: LC_ALL = (unset),
Sep 3 23:44:07 localhost httpd_admin_err: LANG = "en_US,UTF-8"
Sep 3 23:44:07 localhost httpd_admin_err: are supported and installed on
your system.
Sep 3 23:44:07 localhost httpd_admin_err: perl: warning: Falling back to the
standard locale ("C").
Sep 3 23:44:13 localhost httpd_admin_err: [Sun Sep 3 23:44:13 2017]
pfappserver.pm: Cannot determine desired terminal width, using default of 80
columns
Sep 3 23:44:14 localhost httpd_admin_err: AH00558: httpd: Could not reliably
determine the server's fully qualified domain name, using ::1. Set the
'ServerName' directive globally to suppress this message
Sep 3 23:44:14 localhost httpd_admin_err: [Sun Sep 03 23:44:14.287892 2017]
[ssl:warn] [pid 4365] AH01909: RSA certificate configured for
packetfence.packetfence.org:443 does NOT include an ID which matches the server
name
Sep 3 23:44:14 localhost httpd_admin_err: [Sun Sep 03 23:44:14.312093 2017]
[mpm_prefork:notice] [pid 4365] AH00163: Apache/2.4.6 (CentOS)
OpenSSL/1.0.1e-fips mod_apreq2-20090110/2.8.0 mod_perl/2.0.9 Perl/v5.16.3
configured -- resuming normal operations
Sep 3 23:44:14 localhost httpd_admin_err: [Sun Sep 03 23:44:14.312111 2017]
[core:notice] [pid 4365] AH00094: Command line: '/usr/sbin/httpd -f
/usr/local/pf/var/conf/httpd.conf.d/httpd.admin -D FOREGROUND -D rhel'
Sep 3 23:45:06 localhost httpd_admin_err: [Sun Sep 3 23:45:06 2017] (eval
5938): Variable "$REST_PARSERS" is not imported at (eval 5938) line 2, <DATA>
line 1003.------------------------------------------------------------------------------
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