Syntax error on line 198 httpd.conf: ServerAdmin takes one argument
2010-04-21 23:18
525 查看
启动Apache Start时出现异常:
Syntax error on line 198 of C:/Program Files/Apache Group/Apache2/conf/httpd.conf:
ServerAdmin takes one argument, The email address of the server administrator
解决方法:
将
# ServerAdmin: Your address, where problems with the server should be
# e-mailed. This address appears on some server-generated pages, such
# as error documents. e.g. admin@your-domain.com
#
ServerAdmin
改为:
# ServerAdmin: Your address, where problems with the server should be
# e-mailed. This address appears on some server-generated pages, such
# as error documents. e.g. admin@your-domain.com
#ServerAdmin
配置完毕后:
运行--->cmd-->键入: d: 注释:进入D盘,由于我的apache安装在E盘键入: cd apache2 注释:进入D:\apache2\目录
键入: cd bin 注释:进入E:\apache2\bin\ 目录
键入: Apache.exe -k install -n apache2 注释:添加了apache这个服务了,下面我们要启动它
键入: net start apache2 注释:启动apache2服务
关闭服务器是: net stop apache2OK,问题解决
Syntax error on line 198 of C:/Program Files/Apache Group/Apache2/conf/httpd.conf:
ServerAdmin takes one argument, The email address of the server administrator
解决方法:
将
# ServerAdmin: Your address, where problems with the server should be
# e-mailed. This address appears on some server-generated pages, such
# as error documents. e.g. admin@your-domain.com
#
ServerAdmin
改为:
# ServerAdmin: Your address, where problems with the server should be
# e-mailed. This address appears on some server-generated pages, such
# as error documents. e.g. admin@your-domain.com
#ServerAdmin
配置完毕后:
运行--->cmd-->键入: d: 注释:进入D盘,由于我的apache安装在E盘键入: cd apache2 注释:进入D:\apache2\目录
键入: cd bin 注释:进入E:\apache2\bin\ 目录
键入: Apache.exe -k install -n apache2 注释:添加了apache这个服务了,下面我们要启动它
键入: net start apache2 注释:启动apache2服务
关闭服务器是: net stop apache2OK,问题解决
相关文章推荐
- Syntax error on line 198 httpd.conf: ServerAdmin takes one argument
- httpd.exe: Syntax error on line 129 of D:/ApaServ/Apache2.2/conf/httpd.conf
- httpd: Syntax error on line 53 of /usr/local/apache/conf/httpd.conf的解决方法
- Syntax error on line of /etc/httpd/conf/httpd.conf: Could not open configuration file *.conf denied
- httpd: Syntax error on line 53 of /usr/local/apache/conf/httpd.conf
- apache重启错误: httpd: Syntax error on line 57 of /etc/httpd/httpd.conf: Cannot load /usr/local/apache2/
- syntax error on line 26, col 2: ` password:' (ArgumentError)
- 安装完PHP后启动httpd报错:httpd: Syntax error on line 53 ...
- 源码安装apache后启动报错 1.现象 安装apache时,在安装完后去启动报错如下。 httpd: Syntax error on line 161 of /etc/ht
- httpd: Syntax error on line 53 of /usr/local/apache
- Windows 平台下解决httpd.exe: syntax error on line 39
- httpd: Syntax error on line 140 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache
- FreeBSD 8 Warning: syntax error on file /boot/loader.conf
- python3 translate() takes exactly one argument (2 given) in python error
- rsyslogd: error during parsing file /etc/rsyslog.conf, on or before line 55: warnings occured in fil
- Multiple markers at this line, Syntax error on token
- You have an error MySQL server version for the right syntax to use near 'TYPE=InnoDB' at line 20
- AH00526: Syntax error on line 534 of D:/Apache/Apache24/conf/httpd.conf: PHP
- rsyslogd: error during parsing file /etc/rsyslog.conf, on or before line 55: warnings occured in fil
- linux下apache中httpd.conf的ServerAdmin 是设置的什么?