[Xymon] nginx as the web server

Mark Felder feld at feld.me
Mon Nov 17 17:56:00 CET 2014


On Sat, Nov 15, 2014, at 15:23, Bill Arlofski wrote:
> 
>  <facepalm>
> 
> Mark, list, et al
> 
> OK, I see what the problem is (was).
> 
> When you run the configure script for Xymon, it asks you what user name
> your
> web server is running under.
> 
> This is so that when you run:
> 
> make install
> 
> it know what ownerships to set on some of the dirs in the www directory
> (notes, snap, rep) and on the ~xymon/server/etc/critical.cfg file.
> 
> My critical.cfg file was 664 apache:apache from when I answered the "what
> user
> does your web server run under" question on a previous install/upgrade.
> 
> I just changed my web server from apache to nginx, and of course the
> username
> that nginx runs under is not "apache". ;)
> 
> I had caught this on the snap and rep dirs in www, but completely missed
> the
> critical.cfg file in etc.
> 
> So this is 100% working under nginx now, but my only concern is that I
> got no
> indication in any logs that the webserver (nginx) could not write to the
> critical.cfg file, so that is kind of interesting.
> 
> Hopefully, sharing my embarrassment will same someone else the trouble.
> :)
> 

This is good info. I don't do manual installs -- I install it from
FreeBSD ports which handles the configuration of Xymon automatically.
And FreeBSD shares the user/group "www" between Apache and Nginx, which
avoids this problem.



More information about the Xymon mailing list