我已经有这个问题几次,我不知道是什么原因造成的
Failed to start apache : .: 45: Can't open /etc/apache2/envvars
当我看到一个dir列表,我得到envvars旁边的这些问号,有没有人知道这是什么意思?
操作系统是Ubuntu 10的,如果有帮助
drwxr-xr-x 7 root root 4096 Jan 29 11:56 . drwxr-xr-x 83 root root 4096 Feb 4 10:34 .. -rw-r--r-- 1 root root 8113 Sep 29 01:52 apache2.conf -rw-r--r-- 1 root root 8027 Oct 3 22:26 apache2.conf.dpkg-old drwxr-xr-x 2 root root 4096 Jan 29 11:56 conf.d ?????????? ? ? ? ? ? envvars -rw-r--r-- 1 root root 0 Oct 3 22:25 httpd.conf ?????????? ? ? ? ? ? magic drwxr-xr-x 2 root root 4096 Jan 29 11:56 mods-available drwxr-xr-x 2 root root 4096 Jan 29 10:18 mods-enabled ?????????? ? ? ? ? ? ports.conf drwxr-xr-x 2 root root 4096 Jan 29 11:56 sites-available drwxr-xr-x 2 root root 4096 Jan 29 11:55 sites-enabled
更新刚刚听到托pipe公司的回复,他们将我的VPS移动到一个新的硬件节点昨晚,并在他们最后的东西是不完全正确的,从而造成了这个问题
我唯一一次看到目录列表中的问号是当磁盘出现问题时。 如果可能的话,您可能需要尝试卸载分区,或者加载一个Live Linux Distro并运行fsck -f
更新刚刚听到托pipe公司的回复,他们将我的VPS移动到一个新的硬件节点昨晚,并在他们最后的东西是不完全正确的,从而造成了这个问题