Apache重启报错原因

#Apache重启报错原因
[[email protected] /]# service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd: httpd: apr_sockaddr_info_get() failed for www.example.com
httpd: Could not reliably determine the server‘s fully qualified domain name, using 127.0.0.1 for ServerName
                                                           [  OK  ]
#编译主配置文件
[[email protected] /]# vi /etc/httpd/conf/httpd.conf
ServerName node1.example.com:80							   #取消注释
[[email protected] /]# service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
时间: 2024-08-19 04:13:22

Apache重启报错原因的相关文章

linux下apache重启报错

重启apache报错信息如下: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message. 处理方法非常简单: 1)进入apache安装目录: 2)编辑httpd.conf文件,搜索#ServerName,在其下面添加一行--S

表空间正在热备份时关闭实例重启报错的重现和解决

最近一个客户的库在OPEN时报错需要恢复,发现原因为当时一个表空间正在热备份-->ALTER TABLESPACE TEST1 BEGIN BACKUP;  然后实例异常关闭(可能为ABORT或KILL SMON等进程,这里据说为存储直接关闭导致),然后重启时遇到此错误. 在ORACLE 10.2.0.1及11.2.0.4版本中重现了此错误,在这两个版本中同样的情况但是报错信息不太一样,具体情况如下: 10.2.0.1.0 版本表空间正在热备份时关闭实例重启报错的重现和解决: SQL> sel

VMware报错“原因: 未能锁定文件”,打开失败

原文:http://jingyan.baidu.com/article/425e69e6bf64dbbe15fc16fe.html VMware打开复制的虚拟机,报错"原因: 未能锁定文件",打开失败,可能的原因是复制虚拟机时,被复制的虚拟机未关机或未挂起或未正常关闭,磁盘锁文件未自动删除,下次启动虚拟机时就会弹出上面的那个错误. Vmware为了防止有多虚拟机共用一个虚拟磁盘造成数据的丢失和性能的削弱,每次启动Vmware时会给虚拟磁盘加一个磁盘锁(后缀为.lck的那个文件),对虚拟

源码安装Apache,报错:Cannot use an external APR with the bundled APR-util和httpd: Could not reliably determine the server's fully qualified domain name

一.解决APR和APR-util错误: 1.1.安装APR: [[email protected] httpd-2.2.23]# cd srclib/apr [[email protected] apr]# ./configure --prefix=/usr/local/apr root@ganglia apr]# make && make install 1.2.安装APR-util: [[email protected] apr]# cd ../apr-util/ [[email pr

empty(trim($str))报错原因

最近写程序的时候发现一个这样的问题,一个if判断如下: [php] if (!empty(trim($ch_url))) { ... } [/php] 执行程序报出如下错误: [code] Fatal error: Can't use function return value in write context in ... [/code] 调整为如下形式则不报错误 [php] $ch_url = trim($ch_url); if (!empty($ch_url)) { ... } [/php

Oracle EBS-SQL (MRP-7):检查MRP计划运行报错原因之超大数据查询2.sql

The following scripts can be used to check for huge line numbers: -- PO Requisitions select * from PO_REQUISITION_LINES_ALL where LINE_NUM > 1000000000; -- PO Lines select * from PO_LINES_ALL where LINE_NUM > 1000000000; -- Receiving Supply SELECT *

Apache(httpd) 报错You don't have permission to access /on this server.

项目需要,增加个访问端口,指向不同目录. 但是一直报"You don't have permission to access /on this server."错误 配置文件语法检查: #/etc/init.d/httpd configtest 或 apachectl -t 直接输入:/etc/init.d/httpd 会新显示选项 [[email protected] ~]# /etc/init.d/httpd  Usage: httpd {start|stop|restart|co

Android Studio使用org.apache.http报错

Android Studio使用org.apache.http报错需要加上这句话: useLibrary 'org.apache.http.legacy'

kettle界面语言修改成中文后,重启报错

今天在设置kettle的界面时,想看看中文是什么样子的,于是就把如图的地方都改成了中文 重启后,kettle启不来了一直报错 java.lang.ArrayIndexOutOfBoundsException: 5 at org.pentaho.di.ui.spoon.dialog.TipsDialog.getTip(TipsDialog.java:191) at org.pentaho.di.ui.spoon.dialog.TipsDialog.<init>(TipsDialog.java:7