Showing posts with label Apache. Show all posts
Showing posts with label Apache. Show all posts

Thursday, May 23, 2024

SSLCertificateFile: file '/etc/pki/tls/certs/localhost.crt' does not exist or is empty

 Error on Oracle linux9

After installing Letsencrypt, i am getting this error "SSLCertificateFile: file '/etc/pki/tls/certs/localhost.crt' does not exist or is empty" when trying to execute certbot --apache

How to fix :

systemctl restart httpd

After this, you can successfully execute the command certbot --apache and the issue if solved.

Wednesday, November 6, 2013

zimbra apache not running

Issue: While accessing IP/domain name i can't get the zimbra mail login page.

Checked the zimbra apache and it seems running, but while nmap i can't see port 80 opened.
Checked iptables, selinux,/etc/host file etc

 Couple of .pid files in /opt/zimbra/log were owned by root instead of zimbra including zmmailboxmgr.pid. That prevented mailboxmgr to come up as user zimbra. Once thepermissions were fixed, everything was normal. Most like cause is that zimbra was restarted by user root somehow.
Changed the ownership to zimbra in /opt/zimbra/log
Stop all the zimbra services (zmcontrol stop)
Start all the zimbra services (zmcontrol start)