我最近在一个数字海洋实例上更新到Ubuntu 18.04,并且我的apache服务器未正确托管我的虚拟主机,从而产生ERR_CONNECTION_REFUSED。我一直在尝试解决问题,但是/var/log/apache2/{error.log或access.log}中似乎没有任何信息。 lsof似乎提供了最有见地的信息,但是我不太确定从这里出发。非常感谢您的帮助!
admin:~/ $ lsof | grep apache [20:39:48]
apache2 1063 root cwd unknown /proc/1063/cwd (readlink: Permission denied)
apache2 1063 root rtd unknown /proc/1063/root (readlink: Permission denied)
apache2 1063 root txt unknown /proc/1063/exe (readlink: Permission denied)
apache2 1063 root NOFD /proc/1063/fd (opendir: Permission denied)
apache2 1093 www-data cwd unknown