Problem: The Moodle webpage stopped working with error message Secure Connection Failed (PR_END_OF_FILE_ERROR).
Server Details: VPS with root access running CentOS 7, Webmin (installed without LAMP), Webuzo (installed with LAMP). Two other apps are installed in Dockers and connected to Moodle.
Possible Reason for error: In Webuzo I edited php.ini to increase max_upload_filesize from 20M to 200M. Restarted the server from server homepage (not Webuzo). It gave error. I did shutdown the server and started again. Wala, website stopped working.
Some Attempts, Commands and outputs:
(1) The command service httpd status
gives following error
service status
(2) The command find /usr/ -name httpd.conf
gives this output
/usr/lib/tmpfiles.d/httpd.conf
/usr/local/webuzo/conf/webuzo/httpd.conf
/usr/local/apps/apache/etc/original/httpd.conf
/usr/local/apps/apache/etc/httpd.conf
I opened file in Webuzo directory, un-commented the line Listen 12.34.56.78:80
and changed IP with My IP. Next line Listen 80
was not commented, I left it that way, which didn't work, later commented it out but website still didn't work. There are two instances where it mentions 127.0.0.1 with same statements, given below (I did not change anything)
<Location /webuzo-server-info>
SetHandler server-info
Order deny,allow
Deny from all
Allow from 127.0.0.1 ::1 localhost
The command whereis httpd.conf
gives a different set of directories.
(3) service webuzo restart
(runs successfully)
(4) service httpd start
or even restart
(gives following error)
(98)Address already in use:make_sock: could not bind to address 0.0.00:80
no listening sockets available, shutting down
Unable to open logs
When I type my IP in browser, it displays Apache Test Page with message "This website is working properly".
(5) netsatat -ntlp
(one line from the output is below)
tcp 0 0.0.0.0:80 0.0.0.0:* LISTEN 1034/httpd
(No other service is using port 80)
Thanks in advance.