Can's make httpd working - logs busy messages w/o any load applied
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Can's make httpd working - logs busy messages w/o any load applied
Hello,
I installed apache httpd on RHEL yesterday and still trying to make it working (can't even get a welcome page).
I've changed the log level to "debug" and keep getting the following message: server seems busy (see full text below). Needless to say, there, is no load applied to the server (HTTPD). Could you please share your thoughts. You can see all the relevant data below.
Thanks,
Leo
PS. I haven't changed anything in httpd.conf
Server version: Apache/2.2.15
6.4 (Santiago)
Linux r008k2n0c 2.6.32-358.23.2.el6.x86_64 #1 SMP Sat Sep 14 05:32:37 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux
[Wed May 18 10:47:12 2016] [info] server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 8 children, there are 4 idle, and 4 total children
service iptables status
Table: filter
Chain INPUT (policy ACCEPT)
num target prot opt source destination
1 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:443 state NEW,ESTABLISHED
2 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 state NEW,ESTABLISHED
Chain FORWARD (policy ACCEPT)
num target prot opt source destination
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
1 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp spt:443 state ESTABLISHED
2 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp spt:80 state ESTABLISHED
When you say you "installed" httpd did you do a yum install of the one RedHat supplies or are you saying you downloaded and installed it from somewhere else?
Did you start it after you installed it? (i.e. with the RedHat one did you run "service httpd start"?)
If you run "lsof -i :80" and "lsof -i :443" do they show any httpd process LISTENing on those ports?
Do they show as LISTENing on all interfaces *:<port> or just on localhost (127.0.0.1)?
On a RHEL 6.7 here I just started httpd for the first time then opened port 80 in the firewall. After doing that I was able to access it via browser from my workstation successfully. It displayed the default "Red Hat Enterprise Linux Test Page".
You might want to run "ps -ef |grep httpd" to verify it spawned other non-root processes.
Do you have SELinux set to enforcing by any chance?
Also you might want to do a web search for your message:
"server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers"
The "info" in that line suggests to me it isn't an error per se but there are a number of hits I've seen for that. Some of them suggest it might be related to the network load on your server. Presumably you don't have any web traffic coming here yet if you just turned it on (unless it is exposed to the internet and script kiddies have found it already).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.