|
|
/usr/local/apache/bin/apachectl: line 94: lynx: command not found
$ U2 J5 B# s4 ^4 O3 m
X& n/ s- c- E; k1 e H# I2 o8 ?$ U/usr/local/apache/bin/apachectl status
s1 J* f. D& ^/usr/local/apache/bin/apachectl: line 94: lynx: command not found, S; f" _& V# d' N- Y n$ ^- n
/ [0 J# G4 @+ T6 \3 s6 E
解决方法:
2 ?1 _! ~7 @7 z; e) J6 \[root@centos6 conf]# yum install -y lynx
% _ C: o) r- p, T. x0 R- i$ [6 ~( K
% i! H9 W7 A1 e: z再次执行:
, z; I3 C2 D7 w; A% O1 b' R' o[root@centos6 conf]# /usr/local/apache/bin/apachectl status0 V: O: d+ x3 P, p1 s
Looking up localhost
' Z& A: a! s- OMaking HTTP connection to localhost$ e2 z. p+ F- ^
Alert!: Unable to connect to remote host.
0 L& _+ {; L) S* l- \$ Xlynx: Can't access startfile http://localhost/server-status6 |; M3 x$ @% n
2 V8 A) N5 k7 E' U+ e9 F) a- Z[root@centos6 conf]# vim /etc/sysconfig/selinux
% @+ u2 H; m: i# Y, ~+ }, v) ZSELINUX=disabled
+ C# z6 x k9 w4 g+ X3 E8 k4 H
5 ?' R O/ g0 }. L[root@centos6 conf]# setenforce 0
) r. y2 R* y! P8 C2 l9 x$ H* c* P2 ^, d" o$ I
|
|