首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Amazon 2023 HTTPD启动失败

Amazon 2023 HTTPD启动失败
EN

Server Fault用户
提问于 2023-04-30 20:05:14
回答 1查看 64关注 0票数 0

我有一个按需使用的AWS实例,我试图引导它并启动apache,但是得到了这个错误,我已经查找了这个错误,并且无法接近解决或诊断它。

代码语言:javascript
复制
The job identifier is 26531 and the job result is failed.
Apr 30 19:34:45 ip-172-31-21-205.ec2.internal systemd[1]: Dependency failed for httpd-init.service - One-time temporary TLS key generation for httpd.service.
Subject: A start job for unit httpd-init.service has failed
Defined-By: systemd
Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
 
A start job for unit httpd-init.service has finished with a failure.
 
 The job identifier is 26596 and the job result is dependency.
Apr 30 19:34:45 ip-172-31-21-205.ec2.internal systemd[1]: httpd-init.service: Job httpd-init.service/start failed with result 'dependency'.
Apr 30 19:34:45 ip-172-31-21-205.ec2.internal systemd[1]: Dependency failed for php-fpm.service - The PHP FastCGI Process Manager.
 Subject: A start job for unit php-fpm.service has failed
Defined-By: systemd
Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
 
A start job for unit php-fpm.service has finished with a failure.

The job identifier is 26597 and the job result is dependency.
Apr 30 19:34:45 ip-172-31-21-205.ec2.internal systemd[1]: php-fpm.service: Job php-fpm.service/start failed with result 'dependency'.
Apr 30 19:34:45 ip-172-31-21-205.ec2.internal systemd[1]: Dependency failed for httpd.service - The Apache HTTP Server.
Subject: A start job for unit httpd.service has failed
Defined-By: systemd
Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
 
A start job for unit httpd.service has finished with a failure.
 
The job identifier is 26519 and the job result is dependency.
Apr 30 19:34:45 ip-172-31-21-205.ec2.internal systemd[1]: httpd.service: Job httpd.service/start failed with result 'dependency'.
Apr 30 19:34:45 ip-172-31-21-205.ec2.internal sudo[4084]: pam_unix(sudo:session): session closed for user root
Apr 30 19:34:45 ip-172-31-21-205.ec2.internal audit[4084]: USER_END pid=4084 uid=1000 auid=1000 ses=2 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:session_close grantors=>
Apr 30 19:34:45 ip-172-31-21-205.ec2.internal audit[4084]: CRED_DISP pid=4084 uid=1000 auid=1000 ses=2 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_e>
Apr 30 19:34:45 ip-172-31-21-205.ec2.internal kernel: EXT4-fs (nvme1n1): VFS: Can't find ext4 filesystem
EN

回答 1

Server Fault用户

发布于 2023-04-30 20:13:03

事实证明,这是我的错误-- /var安装在无法访问的设备上,更准确地说,/etc/fstab中的文件系统格式是不正确的。

我已经更正了设备格式,现在https和php-fpm正在正常运行。

票数 0
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/1130059

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档