

# Mountpoint 故障排除
<a name="mountpoint-troubleshooting"></a>

适用于 Amazon S3 的 Mountpoint 由 Amazon Web Services 支持 提供支持。如果您需要帮助，请联系 [Amazon Web Services 支持 中心](https://console.amazonaws.cn/support/home#/)。

您也可以在 GitHub 上查看并提交 Mountpoint [问题](https://github.com/awslabs/mountpoint-s3/issues)。

如果您在该项目中发现潜在的安全问题，我们要求您通过我们的[漏洞报告页面](https://www.amazonaws.cn/security/vulnerability-reporting/)通知 Amazon 安全部门。不要创建公开的 GitHub 问题。

如果您的应用程序在使用 Mountpoint 时出现异常行为，则可以检查日志信息以诊断问题。

**日志记录**

默认情况下，Mountpoint 会将高严重性日志信息发送到 [https://datatracker.ietf.org/doc/html/rfc5424](https://datatracker.ietf.org/doc/html/rfc5424)。

要查看最新的 Linux 发行版（包括 Amazon Linux）上的日志，请运行以下 `journald` 命令：

```
journalctl -e SYSLOG_IDENTIFIER=mount-s3
```

在其他 Linux 系统上，`syslog` 条目很可能写入到文件（例如 `/var/log/syslog`）中。

您可以使用这些日志对应用程序进行故障排除。例如，如果您的应用程序尝试覆盖现有文件，操作将失败，并且您将在日志中看到类似于以下内容的行：

```
[WARN] open{req=12 ino=2}: mountpoint_s3::fuse: open failed: inode error: inode 2 (full key "README.md") is not writable
```

有关更多信息，请参阅 GitHub 上的适用于 Amazon S3 的 Mountpoint 的[日志记录](https://github.com/awslabs/mountpoint-s3/blob/main/doc/LOGGING.md)。