找回密码
 注册
查看: 3128|回复: 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/ Q4 c- I4 \" `* g8 W. p

/ ^9 {+ A4 c% k/ y) z/usr/local/apache/bin/apachectl status
0 k, T. w- O1 z: h* ?5 e6 s0 ]/usr/local/apache/bin/apachectl: line 94: lynx: command not found
, Q# e# }& r$ _1 ?1 m7 Z/ h6 e  y7 V
解决方法:
" b7 b) C% x. l1 z6 K[root@centos6 conf]# yum install -y lynx
7 ^- ]0 j) u7 |1 u" b+ ~8 _5 J3 n: `6 i, ^# f( ?) d8 M/ ]5 U$ {, c
再次执行:
. [/ \" S, ]* x, y2 F: m$ ?, E" u[root@centos6 conf]# /usr/local/apache/bin/apachectl status# i" |" D2 e3 J
Looking up localhost3 j. F, t5 d+ k6 c+ s
Making HTTP connection to localhost% D  ]9 a8 U6 M% K. I: k
Alert!: Unable to connect to remote host.( x% }/ q& O+ R/ T
lynx: Can't access startfile http://localhost/server-status
; c* L* ?2 D4 `: m9 x* {) h2 j5 x7 @5 k  z
[root@centos6 conf]# vim /etc/sysconfig/selinux 5 \: [3 j: v2 N1 D! K4 }# z0 ?3 g
SELINUX=disabled* r5 T/ L9 Z1 S0 Y$ v. G6 u
6 L  V1 c( K* Z( m6 t1 A* C( w  _
[root@centos6 conf]# setenforce 0& O" S" Y5 K* Z" s* \  r/ ]( Q
% g& D: a# Y; ~- G& ^6 v
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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