I-MSCP Version 1.1
UBUNTU 12.10
I like 2/3rd of the internet was affected by the heartbleed bug, so I rekeyed my cert and re ran the setup
# cd /var/www/imscp/engine/setup
# perl imscp-setup --debug --reconfigure
setup completes with no errors but apache does not start:
- [Sun Apr 13 14:40:20 2014] [error] [client 94.102.49.168] File does not exist: /etc/apache2/htdocs
- [Sun Apr 13 14:40:20 2014] [error] [client 94.102.49.168] File does not exist: /etc/apache2/htdocs
- piped log program '/usr/local/sbin/vlogger -i -n -t access.log -d /etc/imscp/apache/working/vlogger.conf /var/log/apache2' failed unexpectedly
- piped log program '/usr/local/sbin/vlogger -i -n -t access.log -d /etc/imscp/apache/working/vlogger.conf /var/log/apache2' failed unexpectedly
- piped log program '/usr/local/sbin/vlogger -i -n -t access.log -d /etc/imscp/apache/working/vlogger.conf /var/log/apache2' failed unexpectedly
- DBI connect('database=ispcp;host=127.0.0.1;port=3306','vlogger_user',...) failed: Can't connect to MySQL server on '127.0.0.1' (111) at /usr/local/sbin/vlogger line 524
- piped log program '/usr/local/sbin/vlogger -i -n -t access.log -d /etc/imscp/apache/working/vlogger.conf /var/log/apache2' failed unexpectedly
- DBI connect('database=ispcp;host=127.0.0.1;port=3306','vlogger_user',...) failed: Can't connect to MySQL server on '127.0.0.1' (111) at /usr/local/sbin/vlogger line 266
- [Sun Apr 13 16:47:26 2014] [notice] caught SIGTERM, shutting down
- [Sun Apr 13 16:47:26 2014] [alert] (4)Interrupted system call: FastCGI: read() from pipe failed (0)
- [Sun Apr 13 16:47:26 2014] [alert] (4)Interrupted system call: FastCGI: the PM is shutting down, Apache seems to have disappeared - bye
- [Sun Apr 13 16:47:29 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
- [Sun Apr 13 16:47:29 2014] [notice] FastCGI: process manager initialized (pid 4374)
- [Sun Apr 13 16:47:29 2014] [notice] Apache/2.2.22 (Ubuntu) mod_gnutls/0.5.10 mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_ssl/2.2.22 OpenSSL/1.0.1 configured -- resuming normal operations
- piped log program '/usr/local/sbin/vlogger -i -n -t access.log -d /etc/imscp/apache/working/vlogger.conf /var/log/apache2' failed unexpectedly
- [Sun Apr 13 16:53:07 2014] [notice] caught SIGTERM, shutting down
- [Sun Apr 13 16:53:08 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
- [Sun Apr 13 16:53:08 2014] [notice] FastCGI: process manager initialized (pid 4575)
- [Sun Apr 13 16:53:08 2014] [notice] Apache/2.2.22 (Ubuntu) mod_gnutls/0.5.10 mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_ssl/2.2.22 OpenSSL/1.0.1 configured -- resuming normal operations
- [Sun Apr 13 16:56:16 2014] [notice] caught SIGTERM, shutting down
- [Sun Apr 13 16:56:16 2014] [alert] (2)No such file or directory: FastCGI: read() from pipe failed (0)
- [Sun Apr 13 16:56:16 2014] [alert] (2)No such file or directory: FastCGI: the PM is shutting down, Apache seems to have disappeared - bye
- [Sun Apr 13 16:56:18 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
- [Sun Apr 13 16:56:18 2014] [notice] FastCGI: process manager initialized (pid 4739)
- [Sun Apr 13 16:56:18 2014] [notice] Apache/2.2.22 (Ubuntu) mod_gnutls/0.5.10 mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_ssl/2.2.22 OpenSSL/1.0.1 configured -- resuming normal operations
- piped log program '/usr/local/sbin/vlogger -i -n -t access.log -d /etc/imscp/apache/working/vlogger.conf /var/log/apache2' failed unexpectedly
- piped log program '/usr/local/sbin/vlogger -i -n -t access.log -d /etc/imscp/apache/working/vlogger.conf /var/log/apache2' failed unexpectedly
- piped log program '/usr/local/sbin/vlogger -i -n -t access.log -d /etc/imscp/apache/working/vlogger.conf /var/log/apache2' failed unexpectedly
- piped log program '/usr/local/sbin/vlogger -i -n -t access.log -d /etc/imscp/apache/working/vlogger.conf /var/log/apache2' failed unexpectedly
- [Sun Apr 13 17:25:16 2014] [notice] caught SIGTERM, shutting down
- [Sun Apr 13 17:25:16 2014] [alert] (4)Interrupted system call: FastCGI: read() from pipe failed (0)
- [Sun Apr 13 17:25:16 2014] [alert] (4)Interrupted system call: FastCGI: the PM is shutting down, Apache seems to have disappeared - bye
- [Sun Apr 13 17:25:52 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
- [Sun Apr 13 17:25:52 2014] [notice] FastCGI: process manager initialized (pid 5518)
- [Sun Apr 13 17:25:52 2014] [notice] Apache/2.2.22 (Ubuntu) mod_gnutls/0.5.10 mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_ssl/2.2.22 OpenSSL/1.0.1 configured -- resuming normal operations
- [Sun Apr 13 17:34:05 2014] [notice] caught SIGTERM, shutting down
- [Sun Apr 13 17:34:05 2014] [alert] (4)Interrupted system call: FastCGI: read() from pipe failed (0)
- [Sun Apr 13 17:34:05 2014] [alert] (4)Interrupted system call: FastCGI: the PM is shutting down, Apache seems to have disappeared - bye
Now if i reconfigure and do not use ssl then apache starts, so i know its an issue with the new .crt but not sure what
I rekeyed the cert by issuing the commands
openssl req -new -newkey rsa:2048 -nodes -keyout yourdomain.key -out yourdomain.csr
Then i selected the key file, the bundle and the actual .crt in the setup gui but apache wont load.
UPDATE SOLVED
This was my fault I was selecting the wrong private key in the process, so redoing it all from scratch and clearing out the directory with my crts solved my issues.
Thanks,
David