Date: Tue, 21 May 2013 14:30:01 GMT From: ccc fanta <cccfanta@gmail.com> To: freebsd-bugs@FreeBSD.org Subject: Re: misc/178811: nginx invoked by /usr/sbin/service failed to start passenger Message-ID: <201305211430.r4LEU18F024975@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/178811; it has been noted by GNATS. From: ccc fanta <cccfanta@gmail.com> To: bug-followup@FreeBSD.org, cccfanta@gmail.com Cc: Subject: Re: misc/178811: nginx invoked by /usr/sbin/service failed to start passenger Date: Tue, 21 May 2013 22:26:27 +0800 --047d7b6782fc1a865d04dd3b3c3c Content-Type: text/plain; charset=ISO-8859-1 After further digging, it seems that I also need to modify /etc/rc in order to fix my problem completely. It doesn't sound right. Basically I need a way to set PATH to include /usr/local/bin before starting nginx with passenger. Is that a easy way to do it? I found a ugly hack to workaround this problem. It's to include the following line in /etc/rc.conf. export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin: btw I don't have this problem in Freebsd 8.3 and it just comes up after upgrade to 9.1. --047d7b6782fc1a865d04dd3b3c3c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable After further digging, it seems that I also need to modify /etc/rc in order= to fix my problem completely.=A0 It doesn't sound right.<br><br>Basica= lly I need a way to set PATH to include /usr/local/bin before starting ngin= x with passenger.=A0 Is that a easy way to do it?=A0 I found a ugly hack to= workaround this problem.=A0 It's to include the following line in /etc= /rc.conf.<br> <br>export PATH=3D/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/s= bin:<br><br>btw I don't have this problem in Freebsd 8.3 and it just co= mes up after upgrade to 9.1.=A0 <br> --047d7b6782fc1a865d04dd3b3c3c--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305211430.r4LEU18F024975>