Hi, I am installing PacketFence on a Centos 6 VM. I have followed the install PDF (for now I am just trying to setup inline settings for testing) but after I complete the Configurator wizard not all of my services are starting. - I manually stopped PacketFence and manually started it again on the console and I got the following output:
---- [root@server logs]# service packetfence start Starting PacketFence...Set name-type for VLAN subsystem. Should be visible in /proc/net/vlan/config service|command memcached|start httpd: apr_sockaddr_info_get() failed for server.packetfence httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName httpd.admin|start Checking configuration sanity... Internet Systems Consortium DHCP Server 4.1.1-P1 Copyright 2004-2010 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file Wrote 0 leases to leases file. Listening on LPF/eth0.10/08:00:27:2a:4d:39/10.0.2.0/24 Sending on LPF/eth0.10/08:00:27:2a:4d:39/10.0.2.0/24 No subnet declaration for eth0.2 (no IPv4 addresses). ** Ignoring requests on eth0.2. If this is not what you want, please write a subnet declaration in your dhcpd.conf file for the network segment to which interface eth0.2 is attached. ** No subnet declaration for eth0.22 (no IPv4 addresses). ** Ignoring requests on eth0.22. If this is not what you want, please write a subnet declaration in your dhcpd.conf file for the network segment to which interface eth0.22 is attached. ** Sending on Socket/fallback/fallback-net dhcpd|start httpd: apr_sockaddr_info_get() failed for server.packetfence httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName [Sun Sep 07 17:47:43 2014] [warn] NameVirtualHost 10.0.1.22:80 has no VirtualHosts [Sun Sep 07 17:47:43 2014] [warn] NameVirtualHost 10.0.1.22:443 has no VirtualHosts [Sun Sep 07 17:47:43 2014] [warn] NameVirtualHost 10.0.1.22:80 has no VirtualHosts [Sun Sep 07 17:47:43 2014] [warn] NameVirtualHost 10.0.1.22:443 has no VirtualHosts (98)Address already in use: make_sock: could not bind to address 10.0.1.22:80 no listening sockets available, shutting down Unable to open logs httpd.portal|not started Syntax error on line 63 of /usr/local/pf/conf/httpd.conf.d/httpd.webservices: Can't locate JSON/XS.pm in @INC (@INC contains: /usr/local/pf/lib /usr/local/pf/html/pfappserver/lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at /usr/local/pf/lib/pf/WebAPI/JSONRPC.pm line 16.\nBEGIN failed--compilation aborted at /usr/local/pf/lib/pf/WebAPI/JSONRPC.pm line 16.\nCompilation failed in require at /usr/local/pf/lib/pf/WebAPI.pm line 28.\nBEGIN failed--compilation aborted at /usr/local/pf/lib/pf/WebAPI.pm line 28.\nCompilation failed in require at (eval 2) line 3.\n httpd.webservices|not started Can't locate JSON/XS.pm in @INC (@INC contains: /usr/local/pf/lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/pf/lib/pf/api/jsonrpcclient.pm line 28. BEGIN failed--compilation aborted at /usr/local/pf/lib/pf/api/jsonrpcclient.pm line 28. Compilation failed in require at /usr/local/pf/lib/pf/firewallsso.pm line 19. BEGIN failed--compilation aborted at /usr/local/pf/lib/pf/firewallsso.pm line 19. Compilation failed in require at /usr/local/pf/sbin/pfdhcplistener line 36. BEGIN failed--compilation aborted at /usr/local/pf/sbin/pfdhcplistener line 36. Can't locate JSON/XS.pm in @INC (@INC contains: /usr/local/pf/lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/pf/lib/pf/api/jsonrpcclient.pm line 28. BEGIN failed--compilation aborted at /usr/local/pf/lib/pf/api/jsonrpcclient.pm line 28. Compilation failed in require at /usr/local/pf/lib/pf/firewallsso.pm line 19. BEGIN failed--compilation aborted at /usr/local/pf/lib/pf/firewallsso.pm line 19. Compilation failed in require at /usr/local/pf/sbin/pfdhcplistener line 36. BEGIN failed--compilation aborted at /usr/local/pf/sbin/pfdhcplistener line 36. Can't locate JSON/XS.pm in @INC (@INC contains: /usr/local/pf/lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/pf/lib/pf/api/jsonrpcclient.pm line 28. BEGIN failed--compilation aborted at /usr/local/pf/lib/pf/api/jsonrpcclient.pm line 28. Compilation failed in require at /usr/local/pf/lib/pf/firewallsso.pm line 19. BEGIN failed--compilation aborted at /usr/local/pf/lib/pf/firewallsso.pm line 19. Compilation failed in require at /usr/local/pf/sbin/pfdhcplistener line 36. BEGIN failed--compilation aborted at /usr/local/pf/sbin/pfdhcplistener line 36. Can't locate JSON/XS.pm in @INC (@INC contains: /usr/local/pf/lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/pf/lib/pf/api/jsonrpcclient.pm line 28. BEGIN failed--compilation aborted at /usr/local/pf/lib/pf/api/jsonrpcclient.pm line 28. Compilation failed in require at /usr/local/pf/lib/pf/firewallsso.pm line 19. BEGIN failed--compilation aborted at /usr/local/pf/lib/pf/firewallsso.pm line 19. Compilation failed in require at /usr/local/pf/sbin/pfdhcplistener line 36. BEGIN failed--compilation aborted at /usr/local/pf/sbin/pfdhcplistener line 36. pfdhcplistener|not started pfdns|start pfmon|start snmptrapd|start pfsetvlan|start radiusd|start [root@server logs]# ---- Can anyone shed some light where I am going wrong with this? Also I shold mention that I am not running my VM with the minimum amount of ram - its supposed to be 4G of ram but I have only allocated 3G. But I don't think this is what my problem is. Thanks ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ PacketFence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users
