In the process of building lamp environment, installing Apache reported an error: starting httpd:httpd :Could not reliably determine the server’s fully qualif domain name,using ::1 for ServerName
Solution:
Edit server profile
vi /etc/httpd/conf/httpd.conf
Find the servername in the file www.example.com : 80 “change to” servername ” www.localhost.com : 80 ”
you can use ‘/’ to find (/ servername) www.example.com : 80)
and remove the previous # cancel comment
Set the server to boot
chkconfig httpd on
Restart Apache
/etc/init.d/httpd restart
Read More:
- Error: Unable to find a match: httpd [How to Solve]
- [Solved] minio Failed to Upload File Error: The difference between the request time and the server‘s time is too large.
- [Nginx] solution: it can’t be accessed on the background API interface after HTTPS (access the specified port through the domain name)
- [Solved] S3fs mount error: s3fs: unable to access MOUNTPOINT…
- [Solved] Docker Install Error: [Errno 14] curl#60 – Peer‘s Certificate issuer is not recognized
- [Solved] Remote Server error: Server sent passive reply with unroutable address…
- Install and start the tftp-server server and possible solutions to Redirecting to /bin/systemctl restart xinetd.service problems
- redhat7. 5 system service is not started automatically and use systemctl start error: error getting authority: error initializing authority: CO, (the server will restart)
- [How to Solve] Apache cannot be restarted with Windows Server + Open SSL
- Linux Nagios failed to log in to internal server error (Fixed)
- The solution to the crash loop back off error of coredns in k8s deployment
- How to open X Display on the server side (locally operable remote interface)
- Ubuntu Error: dpkg: error processing package mysql-community-server (–configure):
- Error Running Context: The server unexpectedly closed the connection
- [Solved] Web server failed to start. Port 8080 was already in use.
- [Solved] mongod: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No s
- Server hardware and RAID configuration
- [Solved] redis Startup Error: Creating Server TCP listening socket 127.0. 0.1:6379: bind: no error redis
- [Solved] WSUS client access server exception error – 0x8024401f
- [Solved] sed -i error: sed: -e expression #1, char 44: invalid reference \1 on `s’ command’s RHS