Apache Installed
-
@Lakshmana said in Apache Installed:
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN -
tcp 0 0 :::80 :::* LISTEN -
tcp 0 0 :::22 :::* LISTEN -
tcp 0 0 ::1:631 :::* LISTEN -
tcp 0 0 ::1:25 :::* LISTEN -
udp 0 0 0.0.0.0:631 0.0.0.0:* -
udp 0 0 0.0.0.0:68 0.0.0.0:*Looks like you are forgetting to be root when doing systems administration tasks. Switch to root before doing any of this.
-
netstat -an | grep -i tcp | grep -i listening | grep 80
ps ax | grep -v grep | grep -E 'apache|httpd'
again, my bad. Could be your grep doesn't support -E, just use
ps ax | grep -v grep | grep apache
ps ax | grep -v grep | grep httpd
instead.
-
@thwr said in Apache Installed:
ps ax | grep -v grep | grep httpd
[root@localhost ~]# ps ax | grep -v grep | grep apache
[root@localhost ~]# ps ax | grep -v grep | grep httpd
2239 ? Ss 0:00 /usr/sbin/httpd
2246 ? S 0:00 /usr/sbin/httpd
2247 ? S 0:00 /usr/sbin/httpd
2248 ? S 0:00 /usr/sbin/httpd
2249 ? S 0:00 /usr/sbin/httpd
2250 ? S 0:00 /usr/sbin/httpd
2251 ? S 0:00 /usr/sbin/httpd
2252 ? S 0:00 /usr/sbin/httpd
2253 ? S 0:00 /usr/sbin/httpd -
Okay, so at this point, httpd is definitely running.