|
|
/usr/local/apache/bin/apachectl: line 94: lynx: command not found( h9 G! w- B& f& P# P o" k w( R! ^ L
[1 [' \3 _3 a" X/usr/local/apache/bin/apachectl status2 k, N M6 U0 p& m1 O4 c$ e
/usr/local/apache/bin/apachectl: line 94: lynx: command not found# |9 U$ E( I( u+ Y: M: U
* z" v$ G4 t6 F" ~! [解决方法:6 }1 N; B- f5 L3 I U$ ]' E0 o
[root@centos6 conf]# yum install -y lynx
; u/ c4 s* ?/ ?
. l( q0 C5 y- D. s1 l再次执行:
5 Z: j! p* N/ E2 s6 c J1 a[root@centos6 conf]# /usr/local/apache/bin/apachectl status
- m5 C0 n/ m9 Y! A8 E; ~; e+ d; {; BLooking up localhost
1 \7 A) k( \, eMaking HTTP connection to localhost
! s# q8 h8 \6 t$ [! s) ZAlert!: Unable to connect to remote host.
5 x7 a0 Q2 g" blynx: Can't access startfile http://localhost/server-status
' R! L4 R9 b( z+ M; ~* k
7 e9 A+ R" c: ]2 Q$ c# |) A5 _[root@centos6 conf]# vim /etc/sysconfig/selinux : M2 x7 j) v) i+ C, C6 V
SELINUX=disabled" }+ K9 }8 y/ D8 l+ e
' L8 e+ O/ O* k4 M. X
[root@centos6 conf]# setenforce 02 w1 s( {/ V3 u$ @1 G4 r3 \
' m, `- O) w! ~ |
|