VirtualBox v 5.2.18-Ubuntu 18.04.1 LTS-vboxadd-service 和 nginx 未加载

VirtualBox v 5.2.18-Ubuntu 18.04.1 LTS-vboxadd-service 和 nginx 未加载

我想寻求一些支持 :) 我还是 Ubuntu 新手,但我已经运行 Atomic-Toolkit 一段时间了,到目前为止,它一直运行良好,没有任何问题。我将其用于所有类型的媒体管理等。然而,在最近更新到 Ubuntu 18.04.1 LTS 版本后,我的 VBox Guest 共享文件夹没有挂载,nginx 服务也没有加载。

我查看了很多论坛和回复,但似乎没有人遇到类似的问题。我一直试图重新启动 vboxadd-service.service 和 nginx,但错误如下:

vboxadd-service.服务

Sep 11 12:45:07 mmonkey systemd[1]: Starting vboxadd-service.service...
Sep 11 12:45:08 mmonkey vboxadd-service[1432]: vboxadd-service.sh: Starting VirtualBox Guest Addition service.
Sep 11 12:45:09 mmonkey vboxadd-service.sh[1511]: VirtualBox Guest Addition service started.
Sep 11 12:45:09 mmonkey systemd[1]: vboxadd-service.service: Control process exited, code=exited status=1
Sep 11 12:45:09 mmonkey systemd[1]: vboxadd-service.service: Failed with result 'exit-code'.
Sep 11 12:45:09 mmonkey systemd[1]: Failed to start vboxadd-service.service.

nginx 服务

Sep 11 12:44:51 mmonkey systemd[1]: Starting A high performance web server and a reverse proxy server...
Sep 11 12:45:00 mmonkey nginx[1022]: nginx: [emerg] no "ssl_certificate" is defined for the "listen ... ssl" dire
Sep 11 12:45:00 mmonkey nginx[1022]: nginx: configuration file /etc/nginx/nginx.conf test failed
Sep 11 12:45:00 mmonkey systemd[1]: nginx.service: Control process exited, code=exited status=1
Sep 11 12:45:00 mmonkey systemd[1]: nginx.service: Failed with result 'exit-code'.
Sep 11 12:45:00 mmonkey systemd[1]: Failed to start A high performance web server and a reverse proxy server.

我使用 WINSCP 检查了相关日志,发现其中的错误如下:

nginx 服务

2018/09/11 12:13:58 [emerg] 7261#7261: no "ssl_certificate" is defined for the "listen ... ssl" directive in /etc/nginx/sites-enabled/server.atomic.conf:3

信息/etc/nginx/sites-enabled/service.atomix.conf如下:

Version=2.1
server
{
  listen 80;
  listen [::]:80;
  listen 443 ssl;
  listen [::]:443 ssl;
  server_name 192.168.1.88 mmonkey 0.0.0.0 127.0.0.1;
  access_log /var/log/nginx/server.atomic.access.log;
  error_log /var/log/nginx/server.atomic.error.log;
  index index.html index.php;

  client_body_buffer_size 128k;
  client_max_body_size 100M;
  send_timeout 5m;
  server_tokens off;

  location ~ /\.ht
  {
    deny all;
  }

  ##
  # Snippet Config
  ##

  include /etc/nginx/snippets/gzip.atomic.conf;
  include /etc/nginx/snippets/headers.atomic.conf;
  include /etc/nginx/snippets/letsencrypt.atomic.conf;
  include /etc/nginx/snippets/proxy.atomic.conf;

  include /etc/nginx/snippets/ssl.atomic.conf;
  include /etc/nginx/locations-enabled/*.atomic.conf;
}

我尝试安装较新版本的 VBOX Guest Additions,但无法安装新 ISO。它在 /media/cdrom/ 中无法识别,因此我无法运行 VBoxLinuxAdditions.run 来触发安装。

请帮忙:):)我不想从头开始重新创建所有内容,因为它是一个 60GB 的 VDI:D:D

相关内容