Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 720954

Summary: www-servers/lighttpd-1.4.53: Fastcgi for munin-2.0.56 cgi connection refused on socket
Product: Gentoo Linux Reporter: squishypandadev
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: major    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Lighttpd Error Log
Combined lighttpd and munin config
Portage package use

Description squishypandadev 2020-05-04 15:10:02 UTC
Lighttpd Fastcgi configured for munin cgi gives connection refused on both html and graph cgi sockets. Socket files exist and have correct permissions. Socat also gives connection refused error when trying to connect to socket file.

Tried on clean amd64 VM and got the same errors. Tried latest test packages on VM and still got the above errors.

Munin html cron works fine. Munin cgi scripts have the right permissions and can be executed from the shell with no problems.

Munin cgi logs are empty

Reproducible: Always

Steps to Reproduce:
1. Install munin/lighttpd
2. Setup munin to use cgi for html and graph
3. Run lighttpd daemon and get error
Actual Results:  
Fast cgi sockets for munin give connection refused

Expected Results:  
Fast cgi sockets run munin cgi scripts
Comment 1 squishypandadev 2020-05-04 15:10:53 UTC
Created attachment 635984 [details]
Lighttpd Error Log
Comment 2 squishypandadev 2020-05-04 15:11:22 UTC
Created attachment 635986 [details]
Combined lighttpd and munin config
Comment 3 squishypandadev 2020-05-04 15:11:41 UTC
Created attachment 635988 [details]
Portage package use
Comment 4 squishypandadev 2020-05-04 15:17:56 UTC
On test vm, php works with no issues
Comment 5 squishypandadev 2020-05-04 15:35:30 UTC
Fixed; process did not have write access to /var/log/munin cgi logs