Re: httpd Doesn't Seem To Work In Fedora 11

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 05/23/2009 10:12 AM, "Jóhann B. Guðmundsson" wrote:
Works fine for me Selinux enabled

httpd-2.2.11-8.x86_64

First check if the service is running

( service httpd status )

Else check if the syntax of the confs are ok

(  apachectl -t )

If it's not then restore/revert the changes you made to the
conf files you did make backup right!

If the syntax is ok but the daemon ain't running

start disabling modules one by one and try starting the daemon

start disabling the ones that are in /etc/httpd/conf.d/

A rule of thumb is not to install modules that you do no intent to use

Some of the modules can conflict with each other and thus prevent the
daemon
from running.

Check if the daemon is listening

( netstat -pant )

If it is then you can disable the firewall and selinux for a brief
moment to check if its blocking access
to the daemon thou you should always be able to access the daemon via
localhost

( service iptables stop&&  setenforce 0 and  service iptables start&&
setenforce 1 to enable it again )

Thank you, I get the impression that httpd is listening on port 443 but not port 80 and that is the problem:

[root@deafeng3 ~]# service httpd status
httpd (pid  2335) is running...
[root@deafeng3 ~]# apachectl -t
Syntax OK
You have new mail in /var/spool/mail/root
[root@deafeng3 ~]# netstat -pant
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:39689 0.0.0.0:* LISTEN 1798/rpc.statd tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 2263/mysqld tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1785/rpcbind tcp 0 0 192.168.122.1:53 0.0.0.0:* LISTEN 2480/dnsmasq tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2110/sshd tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 1870/cupsd tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 3097/sendmail: acce tcp 0 0 :::111 :::* LISTEN 1785/rpcbind tcp 0 0 :::22 :::* LISTEN 2110/sshd tcp 0 0 ::1:631 :::* LISTEN 1870/cupsd tcp 0 0 :::443 :::* LISTEN 2335/httpd

I'll work on this over the weekend. Perhaps I made a syntax error with the conf file. That is the only item I changed for a default install of httpd. I seem to remember that I installed tomcat5 and tomcat6 after httpd, but these services are not running per chkconfig:


tomcat5 0:off 1:off 2:off 3:off 4:off 5:off 6:off tomcat6 0:off 1:off 2:off 3:off 4:off 5:off 6:off


Bob





JBG


--
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux