- 论坛徽章:
- 0
|
我的debian是独立安装在一台主机上的,局域网内分配的地址是192.168.0.113,用ssh远程控制,apt-get install apache2 后,port.conf文件里只有一条:Listen 80,我修改为Listen 192.168.0.113:80,apache2,执行/etc/init.d/apache2 start 后,出现以下提示:- Starting web server (apache2)...apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
- (98)Address already in use: make_sock: could not bind to address 192.168.0.113:80
- no listening sockets available, shutting down
- Unable to open logs
- failed!
复制代码
提示上看,是不是ServerName设置不对,但我在/etc/apache2/apache2.conf里找不到ServerName,不知道该如何设置,/etc/apache2/httpd.conf是空的。
我是liunx、debian、lamp的新手,请教大家了,谢谢 |
|