Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I recently replaced a dying server with a new box, and am having trouble getting things to work. At least I got the named issues resolved. But I am having trouble with CGI scripts running, the httpd logs claim cgid:error ... permission denied. And I can't figure out why.
Are there some good sites with forums dedicated to Apache? A quick web search didn't turn up anything useful.
Yes. apache.org is the go-to domain for all things apache, which includes the web server.
I've bookmarked this.
Besides ExecCGI, permission errors can be caused by not having a file in the directory that is defined in DirectoryIndex and the Indexes directive is turned off.
And that may be the error seen if the file or directory is not readable by the apache/httpd user.
I'm running Server version: Apache/2.4.39 (Fedora) on Fedora 29. What is happening is that trying to bring up http://autox.team.net/mailman/listinfo is giving a 503 error. Any pages outside of the mailman directory work just fine.
I'm running Server version: Apache/2.4.39 (Fedora) on Fedora 29. What is happening is that trying to bring up http://autox.team.net/mailman/listinfo is giving a 503 error. Any pages outside of the mailman directory work just fine.
mjb.
That's a different problem than the one in your original post, and probably the result of a configuration problem with your mailman installation rather than an apache issue per se
The GNU mailman wiki may help.
I'd suspect an issue with the integration to your MTA, but we'd need more information to be more specific.
Actually I am having problems with ALL cgi programs, not just the mailman ones. The mailman ones give the 503 error, others give a permission denied error as mentioned in my first post. This problem was discussed on the mailman users list, no solutions were forthcoming there. So I'm looking for other troubleshooting opnions, figured an Apache group might have some fresh ideas about it.
Finally figured it out. The problem was the difference in the Apache CGI modules. If you use prefork MPM ( Multi Processing Modul ) you need to use mod_cgi. If you use worker MPM you need to use mod_cgid. The reverse combinations do not work. One will actually give you an error and not start the daemon, the other combination, which I had, will start the server and give no indication whatsoever about any problem, other than the 503 Service Unavailable code when trying to execute CGI programs.
And just a point of interest, I posted a description of the problem to the users@apache list, and 48 hours later no response whatsoever. Linuxquestions is WAY more helpful, thanks folks!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.