Quote:
Originally Posted by btmiller
Run "iptables -L" to make sure you don't have a packet filter on the machine preventing access to port 80. Also, as I said, check and make sure Apache is actually running (when you run "ps aux", do you see the httpd processes?).
Also, see if there is any information in the log files in /var/log/httpd or /var/log/apache2.
|
Here!
[root@ip-172-31-6-114 ec2-user]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
////////////////////////////////////////////////////////////
[root@ip-172-31-6-114 ec2-user]# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.2 2920 1488 ? Ss 22:19 0:00 /sbin/init
root 2 0.0 0.0 0 0 ? S 22:19 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S 22:19 0:00 [migration/0]
root 4 0.0 0.0 0 0 ? S 22:19 0:00 [ksoftirqd/0]
root 5 0.0 0.0 0 0 ? S 22:19 0:00 [migration/0]
root 6 0.0 0.0 0 0 ? S 22:19 0:00 [watchdog/0]
root 7 0.0 0.0 0 0 ? R 22:19 0:00 [events/0]
root 8 0.0 0.0 0 0 ? S 22:19 0:00 [cgroup]
root 9 0.0 0.0 0 0 ? S 22:19 0:00 [khelper]
root 10 0.0 0.0 0 0 ? S 22:19 0:00 [netns]
root 11 0.0 0.0 0 0 ? S 22:19 0:00 [async/mgr]
root 12 0.0 0.0 0 0 ? S 22:19 0:00 [pm]
root 13 0.0 0.0 0 0 ? S 22:19 0:00 [xenwatch]
root 14 0.0 0.0 0 0 ? S 22:19 0:00 [xenbus]
root 15 0.0 0.0 0 0 ? S 22:19 0:00 [sync_supers]
root 16 0.0 0.0 0 0 ? S 22:19 0:00 [bdi-default]
root 17 0.0 0.0 0 0 ? S 22:19 0:00 [kintegrityd/0]
root 18 0.0 0.0 0 0 ? S 22:19 0:00 [kblockd/0]
root 19 0.0 0.0 0 0 ? S 22:19 0:00 [ata_aux]
root 20 0.0 0.0 0 0 ? S 22:19 0:00 [ata_sff/0]
root 21 0.0 0.0 0 0 ? S 22:19 0:00 [ksuspend_usbd]
root 22 0.0 0.0 0 0 ? S 22:19 0:00 [khubd]
root 23 0.0 0.0 0 0 ? S 22:19 0:00 [kseriod]
root 24 0.0 0.0 0 0 ? S 22:19 0:00 [md/0]
root 25 0.0 0.0 0 0 ? S 22:19 0:00 [md_misc/0]
root 26 0.0 0.0 0 0 ? S 22:19 0:00 [linkwatch]
root 27 0.0 0.0 0 0 ? S 22:19 0:00 [khungtaskd]
root 28 0.0 0.0 0 0 ? S 22:19 0:00 [kswapd0]
root 29 0.0 0.0 0 0 ? SN 22:19 0:00 [ksmd]
root 30 0.0 0.0 0 0 ? S 22:19 0:00 [aio/0]
root 31 0.0 0.0 0 0 ? S 22:19 0:00 [crypto/0]
root 36 0.0 0.0 0 0 ? S 22:19 0:00 [kthrotld/0]
root 38 0.0 0.0 0 0 ? S 22:19 0:00 [khvcd]
root 39 0.0 0.0 0 0 ? S 22:19 0:00 [kpsmoused]
root 40 0.0 0.0 0 0 ? S 22:19 0:00 [usbhid_resume]
root 70 0.0 0.0 0 0 ? S 22:19 0:00 [kstriped]
root 185 0.0 0.0 0 0 ? S 22:19 0:00 [jbd2/xvda1-8]
root 186 0.0 0.0 0 0 ? S 22:19 0:00 [ext4-dio-unwr]
root 195 0.0 0.0 0 0 ? S 22:19 0:00 [flush-202:1]
root 277 0.0 0.1 2720 960 ? S<s 22:20 0:00 /sbin/udevd -d
root 523 0.0 0.0 0 0 ? S 22:20 0:00 [kauditd]
root 695 0.0 0.1 2856 792 ? Ss 22:20 0:00 /sbin/dhclient
root 731 0.0 0.1 12956 792 ? S<sl 22:20 0:00 auditd
root 756 0.0 0.2 36244 1564 ? Sl 22:20 0:00 /sbin/rsyslogd
rpc 787 0.0 0.1 2596 812 ? Ss 22:20 0:00 rpcbind
rpcuser 805 0.0 0.2 2860 1248 ? Ss 22:20 0:00 rpc.statd
dbus 831 0.0 0.1 13264 1072 ? Ssl 22:20 0:00 dbus-daemon --s
root 848 0.0 0.4 12196 2764 ? Ss 22:20 0:00 cupsd -C /etc/c
68 878 0.0 0.3 16628 2396 ? Ssl 22:20 0:00 hald
root 879 0.0 0.2 4000 1224 ? S 22:20 0:00 hald-runner
root 937 0.0 0.2 29036 1604 ? Ssl 22:20 0:00 automount --pid
root 1059 0.0 0.1 8964 1056 ? Ss 22:21 0:00 /usr/sbin/sshd
root 1154 0.0 0.4 12980 2592 ? Ss 22:21 0:00 /usr/libexec/po
postfix 1160 0.0 0.4 13056 2548 ? S 22:21 0:00 pickup -l -t fi
postfix 1161 0.0 0.4 13128 2592 ? S 22:21 0:00 qmgr -l -t fifo
root 1178 0.0 0.1 5328 912 ? Ss 22:21 0:00 /usr/sbin/abrtd
root 1186 0.0 0.2 6028 1288 ? Ss 22:21 0:01 crond
root 1197 0.0 0.0 3008 472 ? Ss 22:21 0:00 /usr/sbin/atd
root 1210 0.0 0.1 5168 652 ? Ss 22:21 0:00 /usr/bin/rhsmce
root 1225 0.0 0.1 8796 832 ? Ss 22:21 0:00 /usr/sbin/certm
root 1237 0.0 0.0 2028 504 tty1 Ss+ 22:21 0:00 /sbin/mingetty
root 1239 0.0 0.0 2028 508 tty2 Ss+ 22:21 0:00 /sbin/mingetty
root 1241 0.0 0.0 2028 508 tty3 Ss+ 22:21 0:00 /sbin/mingetty
root 1243 0.0 0.0 2028 512 tty4 Ss+ 22:21 0:00 /sbin/mingetty
root 1248 0.0 0.2 3376 1824 ? S< 22:21 0:00 /sbin/udevd -d
root 1249 0.0 0.2 3376 1808 ? S< 22:21 0:00 /sbin/udevd -d
root 1250 0.0 0.0 2028 508 tty5 Ss+ 22:21 0:00 /sbin/mingetty
root 1252 0.0 0.0 2028 512 tty6 Ss+ 22:21 0:00 /sbin/mingetty
root 1487 0.0 0.5 11908 3356 ? Ss 22:49 0:00 sshd: ec2-user
ec2-user 1492 0.0 0.2 11908 1628 ? S 22:49 0:00 sshd: ec2-user@
ec2-user 1493 0.0 0.2 5144 1692 pts/0 Ss 22:49 0:00 -bash
root 1517 0.0 0.4 10648 2544 pts/0 S 22:49 0:00 sudo su
root 1519 0.0 0.2 7504 1780 pts/0 S 22:49 0:00 su
root 1520 0.0 0.2 5244 1760 pts/0 S 22:49 0:00 bash
root 1617 0.0 0.1 2036 640 ttyS0 Ss+ 22:55 0:00 /sbin/agetty /d
root 1618 6.0 0.1 4956 1068 pts/0 R+ 22:55 0:00 ps aux