https://issues.apache.org/bugzilla/show_bug.cgi?id=45863
--- Comment #18 from MOB.COM <[EMAIL PROTECTED]> 2008-09-24 14:32:10 PST --- (In reply to comment #17) > (In reply to comment #16) > > Here is the explicit request for improvements from previous post: > > > > a) Immediately displaying users the error when they try to start the server: > > e.g. "could not log pid to file /etc/httpd/run/httpd.pid" > > Apache httpd 2.2.9 does log the following error if the pid file directory does > not exist: > > [Wed Sep 24 22:22:57 2008] [error] (2)No such file or directory: could not > create /my/test/directory/httpd.pid > [Wed Sep 24 22:22:57 2008] [error] httpd: could not log pid to file > /my/test/directory/httpd.pid > > So the message is already there. It does not appear on the console, but > instead > in the error log file (where it belongs). > > > b) Informing users of ASF httpd project layout's default Pidfile path in the > > httpd.conf > > It is already contained in the default configuration file > (conf/extra/httpd-mpm.conf), and the actual path used is contained in the > above > log message. > > Furthermore the build installations concerning the use of configure explain > how > to set a default, what is the name of the default layout, and in which file it > is described: > > http://httpd.apache.org/docs/2.2/programs/configure.html > > Regards, > > Rainer > Thanks for the reply, On Apache.org the Pidfile path is only specified on http://httpd.apache.org/docs/2.2/mod/mpm_common.html and that page is only linked from the bottom of http://httpd.apache.org/docs/2.2/install.html through a small link titled "Listen", which is very hard to find online, so it's good to know it is specified in and extra directory configuration file also. Is there a reason why the pidfile error should only be logged and not displayed on console as the binding error is. It causes a fatal problem, for which users get no notification on the console, whereas even the smallest misconfigurations of httpd.conf result in console error messages. We are willing to write the necessary patch code for this, unless it is better for some reason, to have this error only logged and not on console. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
