LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 05-18-2016, 11:18 AM   #1
leox2
LQ Newbie
 
Registered: May 2016
Posts: 2

Rep: Reputation: Disabled
Question 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
 
Old 05-18-2016, 12:26 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
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)?
 
1 members found this post helpful.
Old 05-18-2016, 12:44 PM   #3
leox2
LQ Newbie
 
Registered: May 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you for your reply!

I've installed httpd via yum (#yum install httpd)

It is running:

# service httpd status
httpd (pid 12900) is running..

# lsof -i :80
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
httpd 12900 root 4u IPv6 66651356 0t0 TCP *:http (LISTEN)

# lsof -i :443 (no output) [ installed w/o mod_ssl]

Actually telnet is able to connect (locally and from remote machines)

]# telnet r008k2n0c 80
Trying 10.78.218.104...
Connected to r008k2n0c.
Escape character is '^]'.

However, if I input GET, HEAD, etc. nothing is happening
 
Old 05-18-2016, 01:01 PM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Odd.

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?
 
Old 05-18-2016, 01:09 PM   #5
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
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).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
VPS has load 200, httpd load no activity, netstat nothing postcd Linux - Networking 1 12-01-2013 04:08 PM
What is Busy box?, what is the of it?, how to make busy box work for ARM target. somesha Linux - Newbie 1 05-04-2009 02:35 PM
ssh logs to a machine, running X already, and SOUND resource busy frenchn00b Debian 2 04-22-2008 12:27 AM
Exim Busy / Analysing logs etc MPK Linux - Software 1 02-06-2005 12:30 AM
AC97 busy flag messages sardaukar_siet Linux - Hardware 0 03-14-2003 09:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:35 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