Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用docker搭建时发生的Apache2错误,找不到设置servername的文件 #133

Open
zhizhemodi opened this issue Dec 27, 2023 · 0 comments

Comments

@zhizhemodi
Copy link

zhizhemodi commented Dec 27, 2023

根据UOJ部署指北执行之后,查看docker logs看到下面的记录,找不到网上可用的解决方案
OS: CentOS8.2
Docker: version 20.10.10

Initing UOJ System bundle...


==> Doing initial config and start service
 * Starting MySQL database server mysqld                                 [ OK ] 
mysql: [Warning] Using a password on the command line interface can be insecure.
mysql: [Warning] Using a password on the command line interface can be insecure.
table upgrades created.
finished!
 * Stopping NTP server ntpd                                              [ OK ] 
 * Starting NTP server ntpd                                              [ OK ] 
 * Stopping MySQL database server mysqld                                 [ OK ] 
 * Starting MySQL database server mysqld                                 [ OK ] 
 * Restarting Apache httpd web server apache2                                   AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.5. Set the 'ServerName' directive globally to suppress this message
                                                                         [ OK ]


***Installation complete. Enjoy!***
 * Starting NTP server ntpd                                              [ OK ] 
 * Starting MySQL database server mysqld                                 [ OK ] 
 * Starting Apache httpd web server apache2                                      * 
[root@iZbp11sex44qvjoqbc4z6yZ ~]# docker logs uoj
Initing UOJ System bundle...


==> Doing initial config and start service
 * Starting MySQL database server mysqld                                 [ OK ] 
mysql: [Warning] Using a password on the command line interface can be insecure.
mysql: [Warning] Using a password on the command line interface can be insecure.
table upgrades created.
finished!
 * Stopping NTP server ntpd                                              [ OK ] 
 * Starting NTP server ntpd                                              [ OK ] 
 * Stopping MySQL database server mysqld                                 [ OK ] 
 * Starting MySQL database server mysqld                                 [ OK ] 
 * Restarting Apache httpd web server apache2                                   AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.5. Set the 'ServerName' directive globally to suppress this message
                                                                         [ OK ]


***Installation complete. Enjoy!***
 * Starting NTP server ntpd                                              [ OK ] 
 * Starting MySQL database server mysqld                                 [ OK ] 
 * Starting Apache httpd web server apache2                                      * 
[root@iZbp11sex44qvjoqbc4z6yZ ~]# docker logs uoj
Initing UOJ System bundle...


==> Doing initial config and start service
 * Starting MySQL database server mysqld                                 [ OK ] 
mysql: [Warning] Using a password on the command line interface can be insecure.
mysql: [Warning] Using a password on the command line interface can be insecure.
table upgrades created.
finished!
 * Stopping NTP server ntpd                                              [ OK ] 
 * Starting NTP server ntpd                                              [ OK ] 
 * Stopping MySQL database server mysqld                                 [ OK ] 
 * Starting MySQL database server mysqld                                 [ OK ] 
 * Restarting Apache httpd web server apache2                                   AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.5. Set the 'ServerName' directive globally to suppress this message
                                                                         [ OK ]


***Installation complete. Enjoy!***
 * Starting NTP server ntpd                                              [ OK ] 
 * Starting MySQL database server mysqld                                 [ OK ] 
 * Starting Apache httpd web server apache2                                      * 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant