I've just upgraded to Debian Jessie and [touch wood!] everything seems to have gone OK. Nginx, PHP5-fpm and mySQL are all running fine, so no broken websites. However, never having worked with systemd before, I'm confused by a couple of things:
1: Using
systemctl list-units shows me [amongst a long list of others] the three services I mentioned are all running:
Code:
mysql.service loaded active running LSB: Start and stop the mysql database server daemon
nginx.service loaded active running A high performance web server and a reverse proxy server
php5-fpm.service loaded active running The PHP FastCGI Process Manager
2: However when I try and get the status of each service using
sudo systemctl is-enabled XXX the mySQL one returns an error:
Code:
$ sudo systemctl is-enabled nginx
enabled
$ sudo systemctl is-enabled php5-fpm
enabled
$ sudo systemctl is-enabled mysql
Failed to get unit file state for mysql.service: No such file or directory
3: However, using
sudo systemctl stop XXX and
sudo systemctl start XXX successfully starts/stops all three services [including mySQL] without error
Can I safely ignore the
"Failed to get unit file state for mysql.service" error, or do I need to do some extra configuring to bring mySQL completely 'under systemd's wing' [so to speak]?
_________________
**************************
Mental Diarrhoea**************************