httpd Doesn't Seem To Work In Fedora 11

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

 



This morning I wanted to play with Fedora 11's httpd and get some content up. I last worked with the web server on 04/11 according to the access logs. I was successful at that time and was able to bring up the expected "test page".

Today, when I brought up Firefox, it gave me am "unable to connect" message for both localhost and the fully qualified server hostname defined in httpd.conf. I checked my firewall. Aha! httpd wasn't trusted. I checked it off as a trusted service and restarted. Still no test page content. I recalled some SELinux error messages involving httpd, so I disabled SELinux, rebooted the system, and tried to get the test page again. Nothing. Here is what is in /var/log/httpd:

-rw-r--r--.  1 root root     0 2009-04-19 12:19 access_log
-rw-r--r--.  1 root root  1641 2009-04-11 19:32 access_log-20090419
-rw-r--r--.  1 root root 17885 2009-05-23 09:11 error_log
-rw-r--r--.  1 root root 19799 2009-04-26 09:49 error_log-20090426
-rw-r--r--.  1 root root 16467 2009-05-03 10:47 error_log-20090503
-rw-r--r--.  1 root root 17300 2009-05-10 10:45 error_log-20090510
-rw-r--r--.  1 root root 13968 2009-05-17 09:06 error_log-20090517
-rw-r--r--.  1 root root     0 2009-04-11 17:29 ssl_access_log
-rw-r--r--.  1 root root  4773 2009-05-23 09:11 ssl_error_log
-rw-r--r--.  1 root root  5217 2009-04-26 08:47 ssl_error_log-20090426
-rw-r--r--.  1 root root  4329 2009-05-03 09:39 ssl_error_log-20090503
-rw-r--r--.  1 root root  4551 2009-05-10 09:21 ssl_error_log-20090510
-rw-r--r--.  1 root root  3663 2009-05-17 09:00 ssl_error_log-20090517
-rw-r--r--.  1 root root     0 2009-04-11 17:29 ssl_request_log

Here is the last successful request, listed in access_log-20090419:

192.168.1.46 - - [11/Apr/2009:17:31:11 -0400] "GET / HTTP/1.1" 403 3918 "-" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3) Gecko/20090327 Fedora/3.1-0.11.beta3.fc11 Firefox/3.1b3" 192.168.1.46 - - [11/Apr/2009:17:31:11 -0400] "GET /icons/apache_pb2.gif HTTP/1.1" 200 1797 "http://deafeng3.signtype.info/"; "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3) Gecko/20090327 Fedora/3.1-0.11.beta3.fc11 Firefox/3.1b3" 192.168.1.46 - - [11/Apr/2009:17:31:11 -0400] "GET /icons/poweredby.png HTTP/1.1" 200 3034 "http://deafeng3.signtype.info/"; "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3) Gecko/20090327 Fedora/3.1-0.11.beta3.fc11 Firefox/3.1b3" 192.168.1.46 - - [11/Apr/2009:17:31:11 -0400] "GET /favicon.ico HTTP/1.1" 404 297 "-" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3) Gecko/20090327 Fedora/3.1-0.11.beta3.fc11 Firefox/3.1b3" 192.168.1.46 - - [11/Apr/2009:17:31:14 -0400] "GET /favicon.ico HTTP/1.1" 404 297 "-" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3) Gecko/20090327 Fedora/3.1-0.11.beta3.fc11 Firefox/3.1b3" 192.168.1.46 - - [11/Apr/2009:18:24:51 -0400] "GET / HTTP/1.1" 403 3918 "-" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3) Gecko/20090327 Fedora/3.1-0.11.beta3.fc11 Firefox/3.1b3" 192.168.1.46 - - [11/Apr/2009:18:24:55 -0400] "GET /favicon.ico HTTP/1.1" 404 297 "-" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3) Gecko/20090327 Fedora/3.1-0.11.beta3.fc11 Firefox/3.1b3" 192.168.1.46 - - [11/Apr/2009:19:32:41 -0400] "GET /favicon.ico HTTP/1.1" 404 297 "-" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3) Gecko/20090327 Fedora/3.1-0.11.beta3.fc11 Firefox/3.1b3"

Here are the last few lines of the error_log:


[Sat May 23 09:10:01 2009] [notice] caught SIGTERM, shutting down
[Sat May 23 09:11:09 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Sat May 23 09:11:09 2009] [notice] Digest: generating secret for digest authentication ...
[Sat May 23 09:11:09 2009] [notice] Digest: done
[Sat May 23 09:11:09 2009] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Sat May 23 09:11:09 2009] [notice] mod_python: using mutex_directory /tmp
[Sat May 23 09:11:10 2009] [notice] Apache/2.2.11 (Unix) DAV/2 mod_auth_pgsql/2.0.3 PHP/5.2.9 mod_python/3.3.1 Python/2.6 mod_ssl/2.2.11 OpenSSL/0.9.8k-fips mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal operations

Note: the ip address above for 192.168.1.46 is a wired connection. I also use a wireless connection a lot, with a different IP address, but that shouldn't matter, right? See wlan0:

eth0      Link encap:Ethernet  HWaddr 00:21:70:C1:AA:79
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Memory:f6fe0000-f7000000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:28 errors:0 dropped:0 overruns:0 frame:0
          TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2396 (2.3 KiB)  TX bytes:2396 (2.3 KiB)

virbr0    Link encap:Ethernet  HWaddr FE:DC:6C:10:F7:2A
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
          inet6 addr: fe80::fcdc:6cff:fe10:f72a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:6087 (5.9 KiB)

wlan0     Link encap:Ethernet  HWaddr 00:21:6A:0C:7D:FE
          inet addr:192.168.1.48  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::221:6aff:fe0c:7dfe/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:150 errors:0 dropped:0 overruns:0 frame:0
          TX packets:120 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:29903 (29.2 KiB)  TX bytes:17286 (16.8 KiB)

wmaster0 Link encap:UNSPEC HWaddr 00-21-6A-0C-7D-FE-60-BA-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

My latest kernel:

[rlc@deafeng3 ~]$ uname -a
Linux deafeng3.signtype.info 2.6.29.3-155.fc11.x86_64 #1 SMP Wed May 20 17:43:16 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

Any suggestions?

Bob







--
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