This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
CSF Firewall / CSF blocks all IPs except the ones in the whitelist
« on: June 05, 2022, 12:10:13 AM »
The CSF Firewall on my server is blocking all requests from IPs except the ones in the whitelist, but some ports still work like CWP admin and user panels, websites, Apache Tomcat. Anything that is not installed by CWP (such as Docker which I installed) doesn't work unless the client's IP is in the whitelist.
2
CentOS 7 Problems / Re: Apache won't start because it is trying to get localhost.crt
« on: April 30, 2022, 07:50:59 PM »
I installed on a clean OS, it was the first thing I installed. I did in the past switch to Nginx but I had switched back to Apache.
The command you said did work. Thank you.
The command you said did work. Thank you.
3
CentOS 7 Problems / Apache won't start because it is trying to get localhost.crt
« on: April 30, 2022, 04:05:18 AM »
Apache on my server won't start because /etc/httpd/conf.d/ssl.conf is trying to get /etc/pki/tls/certs/localhost.crt which doesn't exist.
Apache logs:
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2022-04-30 03:51:20 UTC; 2s ago
Docs: man:httpd(
man:apachectl(
Process: 5335 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 5335 (code=exited, status=1/FAILURE)
Apr 30 03:51:20 cwp.johnbdev.cf systemd[1]: Starting The Apache HTTP Server...
Apr 30 03:51:20 cwp.johnbdev.cf httpd[5335]: AH00526: Syntax error on line 100 of /etc/httpd/conf.d/ssl.conf:
Apr 30 03:51:20 cwp.johnbdev.cf httpd[5335]: SSLCertificateFile: file '/etc/pki/tls/certs/localhost.crt' does not exist or is empty
Apr 30 03:51:20 cwp.johnbdev.cf systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Apr 30 03:51:20 cwp.johnbdev.cf systemd[1]: Failed to start The Apache HTTP Server.
Apr 30 03:51:20 cwp.johnbdev.cf systemd[1]: Unit httpd.service entered failed state.
Apr 30 03:51:20 cwp.johnbdev.cf systemd[1]: httpd.service failed.
Apache logs:
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2022-04-30 03:51:20 UTC; 2s ago
Docs: man:httpd(

man:apachectl(

Process: 5335 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 5335 (code=exited, status=1/FAILURE)
Apr 30 03:51:20 cwp.johnbdev.cf systemd[1]: Starting The Apache HTTP Server...
Apr 30 03:51:20 cwp.johnbdev.cf httpd[5335]: AH00526: Syntax error on line 100 of /etc/httpd/conf.d/ssl.conf:
Apr 30 03:51:20 cwp.johnbdev.cf httpd[5335]: SSLCertificateFile: file '/etc/pki/tls/certs/localhost.crt' does not exist or is empty
Apr 30 03:51:20 cwp.johnbdev.cf systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Apr 30 03:51:20 cwp.johnbdev.cf systemd[1]: Failed to start The Apache HTTP Server.
Apr 30 03:51:20 cwp.johnbdev.cf systemd[1]: Unit httpd.service entered failed state.
Apr 30 03:51:20 cwp.johnbdev.cf systemd[1]: httpd.service failed.
Pages: [1]