Hi
Just taken one of our server to 15 from 16 and initially mysql and http did not seem to start. I manually started them and they seemed to be okay.
However looking at services:
[root@moodle httpd]# service --status-all
btseed.service - SYSV: Start up seed clients for BitTorrent
Loaded: loaded (/etc/rc.d/init.d/btseed)
Active: inactive (dead)
CGroup: name=systemd:/system/btseed.service
bttrack.service - SYSV: Start up tracker for BitTorrent
Loaded: loaded (/etc/rc.d/init.d/bttrack)
Active: inactive (dead)
CGroup: name=systemd:/system/bttrack.service
haldaemon.service - HAL Hardware Manager
Loaded: loaded (/lib/systemd/system/haldaemon.service; static)
Active: inactive (dead)
CGroup: name=systemd:/system/haldaemon.service
httpd.service - The Apache HTTP Server (prefork MPM)
Loaded: loaded (/lib/systemd/system/httpd.service; enabled)
Active: active (running) since Wed, 23 Nov 2011 13:57:43 +0000; 18h ago
Process: 705 ExecStart=/usr/sbin/httpd $OPTIONS -k start (code=exited, status=0/SUCCESS)
Main PID: 842 (httpd)
CGroup: name=systemd:/system/httpd.service
â 842 /usr/sbin/httpd -k start
â 990 /usr/sbin/httpd -k start
...
â 998 /usr/sbin/httpd -k start
â 3265 /usr/sbin/httpd -k start
netconsole module not loaded
Configured devices:
lo eth0
Currently active devices:
lo eth0
sandbox is stopped
[root@moodle httpd]#
But
[root@moodle httpd]# service mysqld status
Redirecting to /bin/systemctl status mysqld.service
mysqld.service - MySQL database server
Loaded: loaded (/lib/systemd/system/mysqld.service; enabled)
Active: active (running) since Wed, 23 Nov 2011 13:57:48 +0000; 18h ago
Process: 974 ExecStartPost=/usr/libexec/mysqld-wait-ready $MAINPID (code=exited, status=0/SUCCESS)
Process: 772 ExecStart=/usr/bin/mysqld_safe --nowatch --basedir=/usr (code=exited, status=0/SUCCESS)
Process: 706 ExecStartPre=/usr/libexec/mysqld-prepare-db-dir (code=exited, status=0/SUCCESS)
Main PID: 973 (mysqld)
CGroup: name=systemd:/system/mysqld.service
â 973 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --log-error=/var/log/mysqld.log --pid-file=/var/run/mysqld/mysql...
[root@moodle httpd]#
How come "service --status-all" does not tell me if mysqld is running but
"service mysqld status" seems to indicate everything is okay?
Cheers Paul