Apache will not start
-
-
I do, as FOG was working normally before and the install skipped it when it was going through the motions.
Though I did run sudo /etc/init.d/mysqld status and it couldn’t find the command, but a manual check of etc shows the folder for it and all the files appear to be there. -
sudo service mysql status
-
mj@fog-server:/opt/trunk/bin$ sudo service mysql status
mysql start/running, process 5271
mj@fog-server:/opt/trunk/bin$ -
@Tim.Trageser said:
mj@fog-server:/opt/trunk/bin$ sudo service mysql status
mysql start/running, process 5271
mj@fog-server:/opt/trunk/bin$Mysql running But have you mysqlNd installed ? The native driver
-
How do I find out?
-
sudo apt-get update sudo apt-get install php5-mysqlnd sudo service apache2 restart
-
mj@fog-server:/opt/trunk/bin$ sudo apt-get install php5-mysqlnd
Reading package lists… Done
Building dependency tree
Reading state information… Done
php5-mysqlnd is already the newest version.
The following package was automatically installed and is no longer required:
account-plugin-windows-live
Use ‘apt-get autoremove’ to remove it.
0 upgraded, 0 newly installed, 0 to remove and 28 not upgraded. -
Try to restart the server, may helps.
-
Done that several times.
-
Already tried to reinstall FOG?
-
Yes, I have. The install reports that Apache fails to start.
-
Tried to reinstall Apache manually?
-
I have not manually tried reinstalling Apache, but I don’t think that will fix it as the error message from Apache states:
SSLCertificateFile: file ‘/var/www/fog/management/other/ssl/srvpublic.crt’ does not exist or is empty
When I look in that location the file doesn’t exist.
-
Can you paste your V-Host config?
-
Where would I find that?
-
/etc/apache2/sites-enabled
-
Sorry, you don’t have to paste your V-Host Config, wouldn’t help.
Try to put my srvpublic.crt to the location, mentioned by the error. Maybe this helps
srvpublic.zip -
Now I am missing:
SSLCertificateKeyFile: file ‘/opt/fog/snapins/ssl/.srvprivate.key’ does not exist or is empty
-
hmmm…the ssl directory is missing from within snapins