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

推荐订阅源

GbyAI
GbyAI
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
N
Netflix TechBlog - Medium
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
F
Full Disclosure
V
Visual Studio Blog
aimingoo的专栏
aimingoo的专栏
NISL@THU
NISL@THU
S
Schneier on Security
T
The Exploit Database - CXSecurity.com
P
Privacy International News Feed
Latest news
Latest news
C
CERT Recently Published Vulnerability Notes
P
Privacy & Cybersecurity Law Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
C
CXSECURITY Database RSS Feed - CXSecurity.com
AWS News Blog
AWS News Blog
C
Cybersecurity and Infrastructure Security Agency CISA
L
Lohrmann on Cybersecurity
Apple Machine Learning Research
Apple Machine Learning Research
The GitHub Blog
The GitHub Blog
T
Tor Project blog
A
About on SuperTechFans
博客园 - 司徒正美
P
Proofpoint News Feed
T
Threat Research - Cisco Blogs
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Jina AI
Jina AI
Microsoft Security Blog
Microsoft Security Blog
Blog — PlanetScale
Blog — PlanetScale
罗磊的独立博客
Security Latest
Security Latest
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Hugging Face - Blog
Hugging Face - Blog
云风的 BLOG
云风的 BLOG
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
L
LINUX DO - 热门话题
Know Your Adversary
Know Your Adversary
T
Tenable Blog
K
Kaspersky official blog
Simon Willison's Weblog
Simon Willison's Weblog
宝玉的分享
宝玉的分享
有赞技术团队
有赞技术团队
Cisco Talos Blog
Cisco Talos Blog
U
Unit 42
T
The Blog of Author Tim Ferriss
T
Threatpost
D
DataBreaches.Net
Engineering at Meta
Engineering at Meta
P
Palo Alto Networks Blog

博客园 - simhare

Fix “Windows cannot access the specified device path or file” Error Domain Space mysql 登录后 修改密码 git delete repository php - func_get_args mysql key mul - 看不懂 mysql show create table `tablename` 查看建表语句 zend framework assumptions linux vsftpd linux chkconfig pkill kill 看看自己是谁 linux 本地编码-如何解决乱码 linux添加用户-例如oracle 博文阅读密码验证 - 博客园 yum 只下载不安装 mysql netstat linux pts tty linux pts Linux 启动 进入单用户模式 其他用户无法连接
apache start stop
simhare · 2013-05-01 · via 博客园 - simhare

[root@DBSVR01 e]# service httpd status
httpd is stopped
[root@DBSVR01 e]# apachectl start
httpd: Could not reliably determine the server's fully qualified domain name, using 168.168.80.8 for ServerName
[root@DBSVR01 e]# vim /etc/hosts
[root@DBSVR01 e]#

[root@DBSVR01 e]# apachectl start
httpd: Could not reliably determine the server's fully qualified domain name, using 168.168.80.8 for ServerName
[root@DBSVR01 e]# vim /etc/hosts
[root@DBSVR01 e]# apachectl -k start
httpd: Could not reliably determine the server's fully qualified domain name, using 168.168.80.8 for ServerName
httpd (pid 1733) already running
[root@DBSVR01 e]# service httpd start
Starting httpd:
[root@DBSVR01 e]# service httpd status
httpd (pid  1733) is running...
[root@DBSVR01 e]#

[root@DBSVR01 e]# service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 168.168.80.8 for ServerName
                                                           [  OK  ]
[root@DBSVR01 e]#

(httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.111 for ServerName)
是因为DNS没配置好. 如果不想配置DNS, 就在httpd.conf , 在最前加入 ServerName localhost:80 即可

[root@DBSVR01 e]# /usr/sbin/apachectl -k stop
httpd: Could not reliably determine the server's fully qualified domain name, using 168.168.80.8 for ServerName
[root@DBSVR01 e]# service httpd status
httpd dead but subsys locked
[root@DBSVR01 e]# service httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 168.168.80.8 for ServerName
                                                           [  OK  ]
[root@DBSVR01 e]# i

[root@DBSVR01 e]# /usr/sbin/apachectl help
Usage: /usr/sbin/httpd [-D name] [-d directory] [-f file]
                       [-C "directive"] [-c "directive"]
                       [-k start|restart|graceful|graceful-stop|stop]
                       [-v] [-V] [-h] [-l] [-L] [-t] [-S]
Options:
  -D name            : define a name for use in <IfDefine name> directives
  -d directory       : specify an alternate initial ServerRoot
  -f file            : specify an alternate ServerConfigFile
  -C "directive"     : process directive before reading config files
  -c "directive"     : process directive after reading config files
  -e level           : show startup errors of level (see LogLevel)
  -E file            : log startup errors to file
  -v                 : show version number
  -V                 : show compile settings
  -h                 : list available command line options (this page)
  -l                 : list compiled in modules
  -L                 : list available configuration directives
  -t -D DUMP_VHOSTS  : show parsed settings (currently only vhost settings)
  -S                 : a synonym for -t -D DUMP_VHOSTS
  -t -D DUMP_MODULES : show all loaded modules
  -M                 : a synonym for -t -D DUMP_MODULES
  -t                 : run syntax check for config files
[root@DBSVR01 e]#