Hello Fabrice,
Now httpd.dispatcher starts. Really trying hard to understand what
happened, because I did nothing except that I later ran this command->
/usr/local/pf/bin/pfcmd pfconfig show config::Pf
Would appreciate some explanation to prevent future occurence.
Regards,
Kehinde
On Tue, Aug 29, 2017 at 11:31 AM, Akala Kehinde <[email protected]>
wrote:
> Hello Fabrice,
>
> THis is thze output I get:
>
> },
> 'fencing' => {
> 'interception_proxy' =>
> 'disabled',
> 'interception_proxy_port' =>
> '8080,3128',
> 'range' => '',
> 'isolation_passthroughs' => [],
> 'whitelist' => '',
> 'proxy_passthroughs' => [
> '
> crl.geotrust.com',
> '
> ocsp.geotrust.com',
> '
> crl.thawte.com',
> '
> ocsp.thawte.com',
> '
> crl.comodoca.com',
> '
> ocsp.comodoca.com',
> '
> crl.incommon.org',
> '
> ocsp.incommon.org',
> '
> crl.usertrust.com',
> '
> ocsp.usertrust.com',
> '
> mscrl.microsoft.com',
> '
> crl.microsoft.com',
> '
> ocsp.apple.com',
> '
> ocsp.digicert.com',
> '
> ocsp.entrust.com',
> '
> srvintl-crl.verisign.com',
> '
> ocsp.verisign.com',
> '
> ctldl.windowsupdate.com',
> '
> crl.globalsign.net',
> '
> pki.google.com',
> '
> www.microsoft.com',
> '
> crl.godaddy.com',
> '
> ocsp.godaddy.com',
> '
> certificates.godaddy.com',
> '
> crl.globalsign.com',
> '
> secure.globalsign.com',
> '
> cacerts.digicert.com',
> '
> crt.comodoca.com',
> '
> crl.incommon-rsa.org',
> '
> crl.quovadisglobal.com',
> '
> cert.incommon.org',
> '
> crt.usertrust.com',
> '
> crl.verisign.com',
> '
> crl.starfieldtech.com',
> '
> developer.apple.com',
> '
> ts-crl.ws.symantec.com',
> '
> certificates.intel.com'
> ],
>
> The fencing proxy_passthroughs is not seen anywhere on the PF web UI in
> the Fencing section.
>
> Regards,
> Kehinde
>
> On Mon, Aug 28, 2017 at 11:32 PM, Durand fabrice <[email protected]>
> wrote:
>
>> Sorry i forgot the command:
>>
>> bin/pfcmd pfconfig get config::Pf
>>
>>
>>
>> Le 2017-08-28 à 17:05, Akala Kehinde a écrit :
>>
>> Hello Fabrice,.
>>
>> Thanks always for your quick responses. Funny enough, I never tampered
>> with the proxy-passthrough configuration.
>>
>> Which command should run?
>>
>> On 28 Aug 2017 10:52 PM, "Fabrice Durand via PacketFence-users" <
>> [email protected]> wrote:
>>
>>> Hello Akala,
>>>
>>> it looks that it's an issue with proxypassthrough configuration.
>>>
>>> Check if this command return the correct config for
>>> fencing.proxy_passthroughs
>>>
>>> Regards
>>>
>>> Fabrice
>>>
>>>
>>>
>>> Le 2017-08-28 à 16:36, Akala Kehinde via PacketFence-users a écrit :
>>>
>>>
>>>
>>> On 28 Aug 2017 8:10 PM, "Akala Kehinde" <[email protected]> wrote:
>>>
>>>
>>> HI guys,
>>>
>>> Quick one.
>>>
>>> I just suddenly get this error when trying to connect on Reg VLAN. User
>>> gets a 503 error message when trying to redirect via captive portal:
>>> Seems some code was fetched from PF gitub and in the process lead to the
>>> error.
>>>
>>>
>>> See some logs below:
>>>
>>> *httpd.dispatcher|not started*
>>>
>>> */var/log/messages*
>>>
>>> Aug 28 18:10:07 egelsbach.testmawoh.de haproxy[3314]: 172.16.98.10:55086
>>> [28/Aug/2017:18:10:04.282] portal-http-172.16.98.1 proxy/<NOSRV>
>>> 10/0/-1/-1/3015 503 213 - - SC-- 0/0/0/0/3 0/0 "POST / HTTP/1.1"
>>>
>>>
>>>
>>> */packetfence.log *
>>> Aug 28 19:10:02 egelsbach packetfence: INFO pfcmd.pl(9434): Daemon
>>> httpd.dispatcher took 0.026 seconds to start. (pf::services::manager::launch
>>> Service)
>>> Aug 28 19:10:02 egelsbach pfhttpd: panic: json: cannot unmarshal number
>>> into Go value of type string
>>> Aug 28 19:10:02 egelsbach pfhttpd: goroutine 1 [running]:
>>> Aug 28 19:10:02 egelsbach pfhttpd: panic(0xa7cb80, 0xc4201ad2c0)
>>> Aug 28 19:10:02 egelsbach pfhttpd: /usr/local/go/src/runtime/panic.go:500
>>> +0x1a1
>>> Aug 28 19:10:02 egelsbach pfhttpd: github.com/inverse-inc/packetf
>>> ence/go/pfconfigdriver.decodeJsonInterface(0xe9aae0
>>> <http://github.com/inverse-inc/packetfence/go/pfconfigdriver.decodeJsonInterface%280xe9aae0>,
>>> 0xc42000e3d8, 0xc420143900, 0x4d2, 0x500, 0xa35820, 0xc420141e50)
>>> Aug 28 19:10:02 egelsbach pfhttpd: /tmp/tmp.RFVjTHbjr1/src/github
>>> .com/inverse-inc/packetfence/go/pfconfigdriver/fetch.go:173 +0x182
>>> Aug 28 19:10:02 egelsbach pfhttpd: github.com/inverse-inc/packetf
>>> ence/go/pfconfigdriver.decodeInterface(0xe9aae0
>>> <http://github.com/inverse-inc/packetfence/go/pfconfigdriver.decodeInterface%280xe9aae0>,
>>> 0xc42000e3d8, 0xb45bba, 0x4, 0xc420143900, 0x4d2, 0x500, 0xa35820,
>>> 0xc420141e50)
>>> Aug 28 19:10:02 egelsbach pfhttpd: /tmp/tmp.RFVjTHbjr1/src/github
>>> .com/inverse-inc/packetfence/go/pfconfigdriver/fetch.go:159 +0xc3
>>> Aug 28 19:10:02 egelsbach pfhttpd: github.com/inverse-inc/packetf
>>> ence/go/pfconfigdriver.FetchDecodeSocket(0xe9aae0
>>> <http://github.com/inverse-inc/packetfence/go/pfconfigdriver.FetchDecodeSocket%280xe9aae0>,
>>> 0xc42000e3d8, 0x7fbee85fb200, 0xeef700, 0x0, 0xe9aae0)
>>> Aug 28 19:10:02 egelsbach pfhttpd: /tmp/tmp.RFVjTHbjr1/src/github
>>> .com/inverse-inc/packetfence/go/pfconfigdriver/fetch.go:252 +0x2b7
>>> Aug 28 19:10:02 egelsbach pfhttpd: github.com/inverse-inc/packetf
>>> ence/go/pfconfigdriver.FetchDecodeSocketCache(0xe9aae0
>>> <http://github.com/inverse-inc/packetfence/go/pfconfigdriver.FetchDecodeSocketCache%280xe9aae0>,
>>> 0xc42000e3d8, 0x7fbee85fb200, 0xeef700, 0xeef701, 0x16, 0xc4200d9700)
>>> Aug 28 19:10:02 egelsbach pfhttpd: /tmp/tmp.RFVjTHbjr1/src/github
>>> .com/inverse-inc/packetfence/go/pfconfigdriver/fetch.go:228 +0x21c
>>> Aug 28 19:10:02 egelsbach pfhttpd: github.com/inverse-inc/packetf
>>> ence/go/pfconfigdriver.(*Pool).refreshStruct(0xeee360
>>> <http://github.com/inverse-inc/packetfence/go/pfconfigdriver.%28*Pool%29.refreshStruct%280xeee360>,
>>> 0xe9aae0, 0xc42000e3d8, 0xa90c40, 0xeef700)
>>> Aug 28 19:10:02 egelsbach pfhttpd: /tmp/tmp.RFVjTHbjr1/src/github
>>> .com/inverse-inc/packetfence/go/pfconfigdriver/pool.go:95 +0x319
>>> Aug 28 19:10:02 egelsbach pfhttpd: github.com/inverse-inc/packetf
>>> ence/go/pfconfigdriver.(*Pool).AddStruct(0xeee360
>>> <http://github.com/inverse-inc/packetfence/go/pfconfigdriver.%28*Pool%29.AddStruct%280xeee360>,
>>> 0xe9aae0, 0xc42000e3d8, 0xa90c40, 0xeef700)
>>> Aug 28 19:10:02 egelsbach pfhttpd: /tmp/tmp.RFVjTHbjr1/src/github
>>> .com/inverse-inc/packetfence/go/pfconfigdriver/pool.go:74 +0xdc
>>> Aug 28 19:10:02 egelsbach pfhttpd: github.com/inverse-inc/packetf
>>> ence/go/caddy/httpdispatcher.setup(0xc42007ca20
>>> <http://github.com/inverse-inc/packetfence/go/caddy/httpdispatcher.setup%280xc42007ca20>,
>>> 0x4, 0xb4e78e)
>>> Aug 28 19:10:02 egelsbach pfhttpd: /tmp/tmp.RFVjTHbjr1/src/github
>>> .com/inverse-inc/packetfence/go/caddy/httpdispatcher/httpdis
>>> patcher.go:25 +0xbe
>>> Aug 28 19:10:02 egelsbach pfhttpd: github.com/inverse-inc/packetf
>>> ence/go/caddy/caddy.executeDirectives(0xc4201b65b0
>>> <http://github.com/inverse-inc/packetfence/go/caddy/caddy.executeDirectives%280xc4201b65b0>,
>>> 0x7ffe7dda0f3e, 0x35, 0xee5fa0, 0x34, 0x34, 0xc420076b00, 0x4, 0x4, 0x0,
>>> ...)
>>> Aug 28 19:10:02 egelsbach pfhttpd: /tmp/tmp.RFVjTHbjr1/src/github
>>> .com/inverse-inc/packetfence/go/caddy/caddy/caddy.go:597 +0x597
>>> Aug 28 19:10:02 egelsbach pfhttpd: github.com/inverse-inc/packetf
>>> ence/go/caddy/caddy.ValidateAndExecuteDirectives(0xe99fa0
>>> <http://github.com/inverse-inc/packetfence/go/caddy/caddy.ValidateAndExecuteDirectives%280xe99fa0>,
>>> 0xc4201b87c0, 0xc4201b65b0, 0x4b5200, 0xb45b6a, 0x4)
>>> Aug 28 19:10:02 egelsbach pfhttpd: /tmp/tmp.RFVjTHbjr1/src/github
>>> .com/inverse-inc/packetfence/go/caddy/caddy/caddy.go:547 +0x3b5
>>> Aug 28 19:10:02 egelsbach pfhttpd: github.com/inverse-inc/packetf
>>> ence/go/caddy/caddy.startWithListenerFds(0xe99fa0
>>> <http://github.com/inverse-inc/packetfence/go/caddy/caddy.startWithListenerFds%280xe99fa0>,
>>> 0xc4201b87c0, 0xc4201b65b0, 0x0, 0x0, 0x0)
>>> Aug 28 19:10:02 egelsbach pfhttpd: /tmp/tmp.RFVjTHbjr1/src/github
>>> .com/inverse-inc/packetfence/go/caddy/caddy/caddy.go:451 +0x6b
>>> Aug 28 19:10:02 egelsbach pfhttpd: github.com/inverse-inc/packetf
>>> ence/go/caddy/caddy.Start(0xe99fa0
>>> <http://github.com/inverse-inc/packetfence/go/caddy/caddy.Start%280xe99fa0>,
>>> 0xc4201b87c0, 0x0, 0x0, 0x0)
>>> Aug 28 19:10:02 egelsbach pfhttpd: /tmp/tmp.RFVjTHbjr1/src/github
>>> .com/inverse-inc/packetfence/go/caddy/caddy/caddy.go:443 +0x13d
>>> Aug 28 19:10:02 egelsbach pfhttpd: github.com/inverse-inc/packetf
>>> ence/go/caddy/caddy/caddy/caddymain.Run()
>>> <http://github.com/inverse-inc/packetfence/go/caddy/caddy/caddy/caddymain.Run%28%29>
>>> Aug 28 19:10:02 egelsbach pfhttpd: /tmp/tmp.RFVjTHbjr1/src/github
>>> .com/inverse-inc/packetfence/go/caddy/caddy/caddy/caddymain/run.go:131
>>> +0x2c4
>>> Aug 28 19:10:02 egelsbach pfhttpd: main.main()
>>> Aug 28 19:10:02 egelsbach pfhttpd: /tmp/tmp.RFVjTHbjr1/src/github
>>> .com/inverse-inc/packetfence/go/caddy/caddy/caddy/main.go:13 +0x1b
>>> Aug 28 19:10:02 egelsbach packetfence: ERROR pfcmd.pl(9434):
>>> pf::services::manager::httpd_dispatcher=HASH(0xa91c948)->name died or
>>> has failed to start (pf::services::manager::postStartCleanup)
>>>
>>>
>>> WIll appreciate a quick input as I have to present a demo tomorrow.
>>>
>>> Thank you.
>>>
>>> Regards,
>>> Kehinde
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> 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
>>> [email protected]https://lists.sourceforge.net/lists/listinfo/packetfence-users
>>>
>>>
>>> --
>>> Fabrice [email protected] :: +1.514.447.4918 <%28514%29%20447-4918>
>>> (x135) :: www.inverse.ca
>>> Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence
>>> (http://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
>>>
>>>
>>
>
------------------------------------------------------------------------------
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