找回密码
 注册
查看: 3127|回复: 0

/usr/local/apache/bin/apachectl: line 94: lynx: command not found

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2020-6-5 17:26:21 | 显示全部楼层 |阅读模式
/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
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 04:27 , Processed in 0.023654 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表