所以我更改了文件权限,这样我就可以从 ubuntu gui 文件资源管理器编辑配置和 ini 文件(之前无法保存它们)我正在使用带有服务器附加功能的 ubuntu 18.04。apache2 php7.2 所以不行。我使用了:sudo chmod a+rwx /path/to/file。然后在 ubuntu 文件资源管理器中,我的 php.ini 文件仍然不允许我保存它们,我在右键单击选择信息并转到中间选项卡后更改了其中的权限。直到我执行上述 sudo 命令后,此选项才消失。现在我收到 503 服务不可用错误,甚至无法通过其 ip 访问服务器。服务器在完全系统重启后才崩溃。
这是错误日志
Apr 6 09:38:36 jserver systemd-resolved[1042]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.
Apr 6 09:38:36 jserver systemd-resolved[1042]: message repeated 2 times: [ Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.]
Apr 6 18:29:38 jserver [3200]: gnome-shell: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Apr 6 18:33:47 jserver kernel: [ 0.995826] ERST: Error Record Serialization Table (ERST) support is initialized.
Apr 6 18:33:47 jserver kernel: [ 1.085209] RAS: Correctable Errors collector initialized.
Apr 6 18:33:47 jserver kernel: [ 10.569264] EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro
Apr 6 18:33:49 jserver gpu-manager[1483]: Error: can't open /lib/modules/5.3.0-45-generic/updates/dkms
Apr 6 18:33:49 jserver gpu-manager[1483]: Error: can't open /lib/modules/5.3.0-45-generic/updates/dkms
Apr 6 18:33:59 jserver systemd-resolved[1176]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.
Apr 6 18:33:59 jserver systemd-resolved[1176]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.
Apr 6 18:34:01 jserver php-fpm7.2[1822]: [06-Apr-2020 18:34:01] ERROR: [/etc/php/7.2/fpm/php-fpm.conf:110] unknown entry 'upload_max_filesize'
Apr 6 18:34:01 jserver php-fpm7.2[1822]: [06-Apr-2020 18:34:01] ERROR: failed to load configuration file '/etc/php/7.2/fpm/php-fpm.conf'
Apr 6 18:34:01 jserver php-fpm7.2[1822]: [06-Apr-2020 18:34:01] ERROR: FPM initialization failed
Apr 6 18:34:20 jserver gnome-shell[2969]: Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation
Apr 6 18:34:29 jserver /usr/lib/gdm3/gdm-x-session[3450]: #011(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Apr 6 18:34:37 jserver gsd-xsettings[3747]: Failed to get current display configuration state: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.gnome.Mutter.DisplayConfig" does not exist
Apr 6 18:34:37 jserver gsd-sharing[3737]: Failed to StopUnit service: GDBus.Error:org.freedesktop.systemd1.NoSuchUnit: Unit gnome-user-share-webdav.service not loaded.
Apr 6 18:34:37 jserver gsd-sharing[3737]: Failed to StopUnit service: GDBus.Error:org.freedesktop.systemd1.NoSuchUnit: Unit rygel.service not loaded.
Apr 6 18:34:37 jserver gsd-sharing[3737]: Failed to StopUnit service: GDBus.Error:org.freedesktop.systemd1.NoSuchUnit: Unit gnome-remote-desktop.service not loaded.
Apr 6 18:34:38 jserver gnome-shell[3593]: JS ERROR: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.freedesktop.ReserveDevice1.Audio0': no such name#012getUniqueBusNameSync@/usr/share/gnome-shell/extensions/[email protected]/util.js:58:20#012traverseBusNames/<@/usr/share/gnome-shell/extensions/[email protected]/util.js:82:34
Apr 6 18:34:39 jserver gnome-shell[3593]: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.76 was not provided by any .service files
Apr 6 18:34:39 jserver gnome-shell[3593]: Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation
Apr 6 18:34:39 jserver pulseaudio[3618]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms)
如果有人能帮忙那就太好了。