I tried to restart the server with this… it didn’t work - sudo /opt/bitnami/ctlscript.sh restart
Try:
sudo /opt/bitnami/ctlscript.sh restart apache
or
sudo systemctl stop apache2.service
sudo systemctl start apache2.service
Unmonitored apache
Syntax OK
/opt/bitnami/apache2/scripts/ctl.sh : apache not running
Syntax OK
(98)Address already in use: AH00073: make_sock: unable to listen for connections on address [::]:80
(98)Address already in use: AH00073: make_sock: unable to listen for connections on address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
/opt/bitnami/apache2/scripts/ctl.sh : httpd could not be started
Monitored apache
ok something happened… I had this happen before. It is now showing the default apache2 page on chrome… I forget what I had to do last time to get off of that but it was a restart of some kind.
Looks like something is on :80 but couldn’t be shutdown and now httpd can’t start because it needs :80
Please show:
ps -ef | grep 80
3568 1519 0 17:27 pts/0 00:00:00 grep 80
try:
sudo ps -ef | grep -Ei 'httpd|apache'
Also, retry:
sudo /opt/bitnami/ctlscript.sh restart
$ sudo /opt/bitnami/ctlscript.sh restart
Syntax OK
/opt/bitnami/apache2/scripts/ctl.sh : apache not running
/opt/bitnami/php/scripts/ctl.sh : php-fpm stopped
/opt/bitnami/mysql/scripts/ctl.sh : mysql stopped
/opt/bitnami/mysql/scripts/ctl.sh : mysql started at port 3306
/opt/bitnami/php/scripts/ctl.sh : php-fpm started
Syntax OK
(98)Address already in use: AH00073: make_sock: unable to listen for connections on address [::]:80
(98)Address already in use: AH00073: make_sock: unable to listen for connections on address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
/opt/bitnami/apache2/scripts/ctl.sh : httpd could not be started
Concerning.
Please show:
sudo ps -ef | grep -Ei 'httpd|apache'
root 721 1 0 17:21 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 723 721 0 17:21 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 724 721 0 17:21 ? 00:00:00 /usr/sbin/apache2 -k start
geomerg+ 4556 1519 0 17:34 pts/0 00:00:00 grep -Ei httpd|apache
We can kill apache and then restart Bitnami.
sudo kill 721
sudo /opt/bitnami/ctlscript.sh restart
was working on safari, now I have the apache default screen also on safari…
Syntax OK
/opt/bitnami/apache2/scripts/ctl.sh : apache not running
/opt/bitnami/php/scripts/ctl.sh : php-fpm stopped
/opt/bitnami/mysql/scripts/ctl.sh : mysql stopped
/opt/bitnami/mysql/scripts/ctl.sh : mysql started at port 3306
/opt/bitnami/php/scripts/ctl.sh : php-fpm started
Syntax OK
/opt/bitnami/apache2/scripts/ctl.sh : httpd started at port 80
came back on line on safari but now the original error on chrome is back
Yeah, the cert is still the old/expired one.
did you look at the stack over flow post I posted on the original post… He said he had to rename the folder to get it to point to new ssl
he said " Just renaming the startuplab.io-0001
folder into startuplab.io
fixed the issue."
Yes, but how did you install the last cert?
Did you have to copy the files to other locations?
You said you only had one cert.
Please show output of:
sudo certbot certificates
I don’t think so, I followed a tutorial on installing an auto-renewing ssl certificate with certbot. I posted all the certs it showed.