惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
SegmentFault 最新的问题
Google DeepMind News
Google DeepMind News
G
Google Developers Blog
Martin Fowler
Martin Fowler
MongoDB | Blog
MongoDB | Blog
月光博客
月光博客
Jina AI
Jina AI
宝玉的分享
宝玉的分享
人人都是产品经理
人人都是产品经理
D
DataBreaches.Net
V
V2EX
WordPress大学
WordPress大学
T
The Blog of Author Tim Ferriss
Last Week in AI
Last Week in AI
B
Blog
博客园 - 叶小钗
小众软件
小众软件
Stack Overflow Blog
Stack Overflow Blog
P
Proofpoint News Feed
A
About on SuperTechFans
J
Java Code Geeks
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Y
Y Combinator Blog
Microsoft Security Blog
Microsoft Security Blog

Rat's Blog - Apache

Linux VPS使用Webbench/Apache-ab进行网站压力测试 - Rat's Blog Apache环境强制http 301跳转https的方法 - Rat's Blog CentOS 6系统Apache环境配置SSL证书教程 - Rat's Blog Linux VPS下Nginx与Apache环境防盗链设置方法 - Rat's Blog
apache端口被异常占用导致无法启动的解决方法 - Rat's Blog
博主: Rat's · 2015-01-21 · via Rat's Blog - Apache

说明:在安装LNMPA一键包时候会出现因端口被占用而导致Apache无法启动的问题,一般一键包Apache默认端口是88,具体以错误提示信息为准!如Address already in use: make_sock: could not bind to address 127.0.0.1:88最后面的88即为被占用端口。

1、检查88端口被哪个进程占用

netstat -lnp|grep 88   

此时可以看到使用该端口的进程,后面都有LISTEN xx/yy 此信息,xx即为进程号

2、查看进程的详细信息

ps xx  #xx为进程号

3、杀掉进程,重新启动apache

kill -9 xx        #杀掉编号为xx的进程(请根据实际情况输入)
service httpd start #启动apache

版权声明:本文为原创文章,版权归 Rat's Blog 所有,转载请注明出处!

本文链接:https://www.moerats.com/archives/86/

如教程需要更新,或者相关链接出现404,可以在文章下面评论留言。

Vultr新用户注册送100美元/16个机房按小时计费,支持支付宝,【点击查看】。