David Niklas writes:
Hello, I'm a gentoo user and I installed courier 0.75.0 and I am reading the install docs and came to the part where it reads:'Start the Courier mal server as root: /usr/lib/courier/sbin/courier/start' Since I figured that courier was installed in PATH I ran: % courier start; echo $? 0 But courier is not running. I looked in my syslog on term 10 (ctrl-alt-F10). Nothing about courier. I tried listing the packages content but there is only one file named courier. I also tried running: % /usr/share/courier/courierctl.start; echo $? /etc/courier/courierd: line 40: /etc/enviroment: No such file or directory 1 Now, I can fix this, but first I need to know three things for bug reporting: 1. What env file does courier need?
A shell script that sets your global environment variables, such as LOCALE, etc.
2. Why is configuring the server and this file not previously mentioned in the docs and what step should it be done at?
It occurs automatically when running the configure script, which searches for the first file that exists from the following list.
/etc/environment /etc/default/locale /etc/sysconfig/i18n /etc/sysconfig/language /etc/locale.confCourier must've been built on a system where /etc/environment existed, and this one does not. Either that, or the base distribution has been updated and the location of the global environment script has changed.
3. Why does courier return 0 when it fails to start?
Because that's what happens in a broken, improper, install. Garbage in, garbage out.
Edit /etc/courier/courierd, or /usr/lib/courier/share/etc/courierd, or wherever the configured config directory is, and change /etc/environment to what it should be on your system.
pgpO6lb5BwirC.pgp
Description: PGP signature
------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users