Hi all,
I'm getting a similar issue on two separate CentOS 7 servers that I've setup 
today. I get through the configurator up until the service start section, but 
when I do httpd.graphite never starts. Restarting the services from the CLI 
gets the following result:

bin/pfcmd service pf restart
service|command
keepalived|already stopped
httpd.graphite|already stopped
radsniff|already stopped
statsd|already stopped
collectd|already stopped
carbon-relay|already stopped
carbon-cache|already stopped
pfbandwidthd|already stopped
p0f|already stopped
suricata|already stopped
snort|already stopped
pfdetect|already stopped
pfmon|already stopped
httpd.webservices|stop
dhcpd|stop
httpd.portal|stop
httpd.parking|stop
httpd.proxy|already stopped
pfdhcplistener_eno16777984|stop
pfdhcplistener_eno50336512|stop
pfdhcplistener_eno33557248|stop
pfdns|stop
pfqueue|stop
snmptrapd|already stopped
pfsetvlan|already stopped
radiusd|stop
radiusd-acct|stop
httpd.aaa|stop
redis_queue|stop
iptables|stop
haproxy|already stopped
httpd.admin|stop
AH00548: NameVirtualHost has no effect and will be removed in the next release 
/usr/local/pf/var/conf/httpd.conf.d/httpd.admin:194
httpd.admin|start
Checking configuration sanity...
iptables|start
redis_queue|start
AH00548: NameVirtualHost has no effect and will be removed in the next release 
/usr/local/pf/var/conf/httpd.conf.d/httpd.aaa:169
httpd.aaa|start
radiusd-acct|start
radiusd|start
pfqueue|start
pfdns|start
pfdhcplistener_eno33557248|start
pfdhcplistener_eno50336512|start
pfdhcplistener_eno16777984|start
httpd.parking|start
AH00548: NameVirtualHost has no effect and will be removed in the next release 
/usr/local/pf/var/conf/httpd.conf.d/httpd.portal:243
httpd.portal|start
dhcpd|start
AH00548: NameVirtualHost has no effect and will be removed in the next release 
/usr/local/pf/var/conf/httpd.conf.d/httpd.webservices:169
httpd.webservices|start
pfmon|start
p0f|start
Starting carbon-cache (instance a)
carbon-cache|start
Starting carbon-relay (instance a)
carbon-relay|start
collectd|start
statsd|start
radsniff|start
[Tue Aug  9 15:49:44 2016] pfcmd.pl: Use of uninitialized value $result in 
pattern match (m//) at /usr/local/pf/lib/pf/services/manager/httpd.pm line 79.



in packetfence.log

Aug 09 15:49:33 pfcmd.pl(12061) INFO: Daemon httpd.webservices took 3.646 
seconds to start. (pf::services::manager::launchService)
Aug 09 15:49:40 pfcmd.pl(12061) INFO: Daemon pfmon took 3.918 seconds to start. 
(pf::services::manager::launchService)
Aug 09 15:49:40 pfcmd.pl(12061) INFO: Daemon p0f took 0.124 seconds to start. 
(pf::services::manager::launchService)
Aug 09 15:49:41 pfcmd.pl(12061) INFO: Daemon carbon-cache took 0.557 seconds to 
start. (pf::services::manager::launchService)
Aug 09 15:49:42 pfcmd.pl(12061) INFO: Daemon carbon-relay took 0.582 seconds to 
start. (pf::services::manager::launchService)
Aug 09 15:49:42 pfcmd.pl(12061) INFO: Daemon collectd took 0.101 seconds to 
start. (pf::services::manager::launchService)
Aug 09 15:49:42 pfcmd.pl(12061) INFO: Daemon statsd took 0.029 seconds to 
start. (pf::services::manager::launchService)
Aug 09 15:49:42 pfcmd.pl(12061) INFO: Daemon radsniff took 0.255 seconds to 
start. (pf::services::manager::launchService)
Aug 09 15:49:43 pfcmd.pl(12061) WARN: Problem trying to run command: LANG=C 
/usr/sbin/httpd -v called from manager::httpd::apache_version. OS Error: Cannot 
allocate memory (pf::util::pf_run)
Aug 09 15:49:44 pfcmd.pl(12061) INFO: Daemon httpd.graphite took 0.000 seconds 
to start. (pf::services::manager::launchService)

Trying to manually start that service from CLI gets:
# bin/pfcmd service httpd.graphite start
service|command
httpd.admin|already started
Checking configuration sanity...
[Tue Aug  9 15:55:50 2016] pfcmd.pl: Use of uninitialized value $result in 
pattern match (m//) at /usr/local/pf/lib/pf/services/manager/httpd.pm line 79.
[Tue Aug  9 15:55:50 2016] pfcmd.pl: Use of uninitialized value $result in 
pattern match (m//) at /usr/local/pf/lib/pf/services/manager/httpd.pm line 79.
httpd.graphite|not started


Any clues what this might be? The only thing I'm doing out of the ordinary that 
I can think of is shrinking the subnets of the registration and isolation 
networks right down as this is just a dev environment. This meant that some 
manual reconfig of the dhcp start and end ranges in networks.conf was required.

Cheers,
Andi
________________________________

[Cardiff Metropolitan University - Queens Anniversary Prizes 
2015]<http://www.cardiffmet.ac.uk/news/Pages/Cardiff-Met-research-recognised-in-Queens-Anniversary-Prizes-for-Higher-and-Further-Education.aspx>
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to