I have a fresh install of ISPCONFIG on ubuntu 16.04. I am getting some messages, cannot make out what these mean and how to correct it. Also the websites become inaccessible. after I start mysql, everything starts functioning properly. Apache status: Code: root@server2:/# service apache2 status * apache2.service - LSB: Apache2 web server Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled) Drop-In: /lib/systemd/system/apache2.service.d `-apache2-systemd.conf Active: active (running) since Thu 2017-09-14 07:44:04 IST; 9h ago Docs: man:systemd-sysv-generator(8) Process: 9078 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS) Process: 27790 ExecReload=/etc/init.d/apache2 reload (code=exited, status=0/SUCCESS) Process: 9105 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCCESS) CGroup: /system.slice/apache2.service |- 2699 /usr/sbin/apache2 -k start |- 3874 /usr/sbin/apache2 -k start |- 4100 /usr/sbin/apache2 -k start |- 6203 /opt/phpfcgi-5.3.29/bin/php-cgi |- 6306 /usr/sbin/apache2 -k start |- 9126 /usr/sbin/apache2 -k start |- 9129 vlogger (access log |- 9130 /usr/sbin/fcgi-pm -k start |- 9131 /usr/sbin/apache2 -k start |- 9137 /usr/bin/php-cgi -d disable_classes= -d disable_functions= -d magic_quotes_gpc=off -d open_basedir= -d session.save_path=/usr/local/ispcon |- 9138 /usr/bin/php-cgi -d disable_classes= -d disable_functions= -d magic_quotes_gpc=off -d open_basedir= -d session.save_path=/usr/local/ispcon |- 9698 /opt/phpfcgi-5.4.45/bin/php-cgi Mysql Status: Code: root@server2:/# service mysql status * mysql.service - MySQL Community Server Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2017-09-14 01:16:03 IST; 15h ago Process: 24292 ExecStartPost=/usr/share/mysql/mysql-systemd-start post (code=exited, status=0/SUCCESS) Process: 24283 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS) Main PID: 24291 (mysqld) CGroup: /system.slice/mysql.service `-24291 /usr/sbin/mysqld but when I restart mysql service I don't get any error on the screen and after that everything starts working fine. update: mysql error.log Code: 2017-09-14T14:11:32.275991Z 0 [Note] IPv6 is available. 2017-09-14T14:11:32.276001Z 0 [Note] - '::' resolves to '::'; 2017-09-14T14:11:32.276023Z 0 [Note] Server socket created on IP: '::'. 2017-09-14T14:11:32.286854Z 0 [Note] Event Scheduler: Loaded 0 events 2017-09-14T14:11:32.287649Z 0 [Note] /usr/sbin/mysqld: ready for connections. Version: '5.7.19-0ubuntu0.16.04.1' socket: '/var/run/mysqld/mysqld.sock' port: 3306 (Ubuntu) 2017-09-14T14:11:32.287673Z 0 [Note] Executing 'SELECT * FROM INFORMATION_SCHEMA.TABLES;' to get a list of tables using the deprecated partition engine. You may use the startup option '--disable-partition-engine-check' to skip this check. 2017-09-14T14:11:32.287680Z 0 [Note] Beginning of list of non-natively partitioned tables 2017-09-14T14:11:32.409145Z 0 [Note] End of list of non-natively partitioned tables 2017-09-14T14:11:32.813957Z 13 [Note] Access denied for user 'root'@'localhost' (using password: NO)
I don't see any errors in the status reports above. When websites are using a MySQL backend and MySQL is not started, then the websites will not be accessible until MySQL gets started.