LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 04-25-2019, 08:16 AM   #1
mjbradakis
Member
 
Registered: Apr 2012
Posts: 40

Rep: Reputation: Disabled
Good discussion group for Apache?


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.

Thanks.

mjb.
 
Old 04-25-2019, 12:00 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,694

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
I don't know if there are others but here is the main one...

https://httpd.apache.org/

What distribution/version is running on the new box?

Did you enable CGI in the apache configuration file?

https://httpd.apache.org/docs/2.4/howto/cgi.html
 
1 members found this post helpful.
Old 04-25-2019, 01:10 PM   #3
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
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.
 
Old 04-25-2019, 01:56 PM   #4
mjbradakis
Member
 
Registered: Apr 2012
Posts: 40

Original Poster
Rep: Reputation: Disabled
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.
 
Old 04-25-2019, 02:17 PM   #5
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Quote:
Originally Posted by mjbradakis View Post
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.
 
Old 04-26-2019, 09:18 AM   #6
mjbradakis
Member
 
Registered: Apr 2012
Posts: 40

Original Poster
Rep: Reputation: Disabled
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.

mjb.
 
Old 04-26-2019, 12:48 PM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by mjbradakis View Post
Are there some good sites with forums dedicated to Apache?
not apache only, but web admin: http://www.webmasterworld.com/login.cgi
got some pretty good answers there a few times when i was in over my head.
 
Old 04-28-2019, 04:19 AM   #8
mjbradakis
Member
 
Registered: Apr 2012
Posts: 40

Original Poster
Rep: Reputation: Disabled
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!

mjb.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Block bitmap for group 416 not in group (block 0) + group descriptors corrupted? quanta Linux - Server 1 12-08-2010 10:40 AM
group: add complete group into other group max_mad SUSE / openSUSE 1 04-12-2006 01:43 AM
Group Admin, Group Root, or God over Group crickett Linux - General 5 07-12-2004 04:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration