[问题]

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
yagas
帖子: 30
注册时间: 2006-12-01 11:12
送出感谢: 0
接收感谢: 0

[问题]

#1

帖子 yagas » 2008-05-02 23:50

代码: 全选

NameVirtualHost *
<VirtualHost *>
	ServerAdmin webmaster@localhost
	DocumentRoot /home/yagas/webroot/

	<Directory /home/yagas/webroot/>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride None
		Order allow,deny
		allow from all
	</Directory>

	#ErrorLog /var/log/apache2/error.log
	#LogLevel warn

	#CustomLog /var/log/apache2/access.log combined
	#ServerSignature On
</VirtualHost>
这样写有错误吗?为什么每回都是

代码: 全选

yagas@ubuntu8:/$ /etc/init.d/apache2 start
open: Permission denied
 * Starting web server apache2                                                  apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
open: Permission denied
                                                                         [fail]
回复

回到 “服务器基础应用”