|
|
/usr/local/apache/bin/apachectl: line 94: lynx: command not found
; a% F6 z* F) ]& ^; H7 u* P. P# X8 a, P0 L' f7 _' z8 t3 r9 ?
/usr/local/apache/bin/apachectl status9 \1 q# a$ y0 |: `1 K# {
/usr/local/apache/bin/apachectl: line 94: lynx: command not found" a. B' o6 v5 p
s$ O$ N8 k, r# q
解决方法:
& O3 A9 B0 |$ R7 [' Z0 f[root@centos6 conf]# yum install -y lynx
% ?; K; X- u: u4 W
% i- R" X6 o$ ?2 H7 F$ @6 h/ l8 O: v' }再次执行:5 B! A) D0 K _# a+ z
[root@centos6 conf]# /usr/local/apache/bin/apachectl status9 W2 o: W6 P# }4 W' b1 e
Looking up localhost6 L# A) `, l2 F' H* E
Making HTTP connection to localhost
# i4 y3 ~! T( x8 ~Alert!: Unable to connect to remote host.4 p8 a1 `( d$ H5 y( a! f9 }8 X
lynx: Can't access startfile http://localhost/server-status- ?0 \9 ~6 U4 X3 t
, `; P# T( V" S4 }3 q: A
[root@centos6 conf]# vim /etc/sysconfig/selinux 9 x0 t- f# ^' B
SELINUX=disabled# e. G) v2 g7 u+ ~: I
' p( O6 R" C* r[root@centos6 conf]# setenforce 0* ~( P4 x- s1 R/ ?$ M& ]
( P- r6 G* \% ^$ C/ @6 g$ r5 l. {
|
|