dgaudet 98/03/27 00:51:46
Modified: src/main http_main.c Log: Verbose error messages are so much more useful to our users... and to us as well because they can avert "bug" reports. Fix a few more... there's dozens more that could do with improvements. Revision Changes Path 1.314 +7 -3 apache-1.3/src/main/http_main.c Index: http_main.c =================================================================== RCS file: /export/home/cvs/apache-1.3/src/main/http_main.c,v retrieving revision 1.313 retrieving revision 1.314 diff -u -r1.313 -r1.314 --- http_main.c 1998/03/26 21:20:50 1.313 +++ http_main.c 1998/03/27 08:51:39 1.314 @@ -2473,7 +2473,9 @@ if ((ent = getpwuid(uid)) == NULL) { aplog_error(APLOG_MARK, APLOG_ALERT, server_conf, - "getpwuid: couldn't determine user name from uid"); + "getpwuid: couldn't determine user name from uid %u, " + "you probably need to modify the User directive", + (unsigned)uid); exit(1); } @@ -2489,7 +2491,8 @@ if (initgroups(name, group_id) == -1) { aplog_error(APLOG_MARK, APLOG_ALERT, server_conf, - "initgroups: unable to set groups"); + "initgroups: unable to set groups for User %s " + "and Group %u", name, (unsigned)group_id); exit(1); } #ifdef MULTIPLE_GROUPS @@ -2501,7 +2504,8 @@ #endif if (setgid(group_id) == -1) { aplog_error(APLOG_MARK, APLOG_ALERT, server_conf, - "setgid: unable to set group id"); + "setgid: unable to set group id to Group %u", + (unsigned)group_id); exit(1); } #endif