Probably the best thing to do is download, or grab the SRC RPM for Apache off the install CD, and install it. Then untar the full tarball (which should be in /usr/src/redhat/SOURCES) to a temporary directory, make the change in httpd.h, and then retar and gzip the directory. Once that is done, place that tar.gz file back in /usr/src/redhat/SOURCES and then rebuild the RPM with:
rpm -bb /usr/src/redhat/SPECS/[apache_spec_here.spec] That will build an RPM based on the Red Hat patches and modifications with the new value for MaxClients, and place it in /usr/src/redhat/RPMS/[ARCH]/. Hope this helps. Regards, Andy. -----Original Message----- From: Mitchell Wright [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 02, 2002 11:58 AM To: redhat list redhat.com Subject: Recompiling Apache Good Morning Everyone, I am stumped on this, and the worst thing is I know its right in front of me. I need to recompile apache. I increase my Max Clients line and am know getting the following error: apachectl start WARNING: MaxClients of 5120 exceeds compile time limit of 256 servers, lowering MaxClients to 256. To increase, please see the HARD_SERVER_LIMIT define in src/include/httpd.h. /usr/sbin/apachectl start: httpd started So, I found the line in question and increased it and went to recompile. I have all the source code but no rpm anywhere on the system. I searched redhat.com, apache.org and good to try and find an instruction set for recompiling on redhat but came up empty handed. Has anyone else experienced this? Thanks in advance... Mitchell -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list