I just performed a fresh install on a brand new vps and am running the trial license of cpanel. I went through everything, logged in to whm, configured the contact email and resolvers, and then rebooted as that is what the dashboard was prompting me to do. I haven't done anything else. I received an email after rebooting indicating that nscd was down. I restarted nscd and checked, and it appears to be running:
However, in whm under Server Status -> Service Status it's still showing as being down. I grepped through the logs but didn't see anything helpful (all of these are from >20 minutes prior to receiving the email notification):
Any ideas? Thanks.
Edit: Literally the instant I created the thread, I got the email that it was back up. Is the Service Status page only updated periodically? Still wondering if there's a way to debug why it happened.
-Michael
Code:
[[email protected] ~]# /scripts/restartsrv_nscd
Waiting for “nscd” to restart ………waiting for “nscd” to initialize ………finished.
Service Status
nscd (/usr/sbin/nscd) is running as nscd with PID 12559 (systemd+/proc check method).
Startup Log
Jan 04 22:04:29 vps.myserver.com systemd[1]: Starting Name Service Cache Daemon...
Jan 04 22:04:29 vps.myserver.com systemd[1]: Started Name Service Cache Daemon.
nscd restarted successfully.
[[email protected] ~]# ps aux | grep nscd
nscd 12559 0.0 0.0 737984 1644 ? Ssl 22:04 0:00 /usr/sbin/nscd
root 12624 0.0 0.0 112708 976 pts/0 S+ 22:05 0:00 grep --color=auto nscd
Code:
[[email protected] ~]# grep "nscd" /var/log/messages
Jan 4 21:26:47 vps yum[26106]: Installed: nscd-2.17-260.el7.x86_64
Jan 4 21:37:53 vps nscd: 32305 monitoring file `/etc/passwd` (1)
Jan 4 21:37:53 vps nscd: 32305 monitoring directory `/etc` (2)
Jan 4 21:37:53 vps nscd: 32305 monitoring file `/etc/group` (3)
Jan 4 21:37:53 vps nscd: 32305 monitoring directory `/etc` (2)
Jan 4 21:37:53 vps nscd: 32305 monitoring file `/etc/hosts` (4)
Jan 4 21:37:53 vps nscd: 32305 monitoring directory `/etc` (2)
Jan 4 21:37:53 vps nscd: 32305 monitoring file `/etc/resolv.conf` (5)
Jan 4 21:37:53 vps nscd: 32305 monitoring directory `/etc` (2)
Jan 4 21:37:53 vps nscd: 32305 monitoring file `/etc/services` (6)
Jan 4 21:37:53 vps nscd: 32305 monitoring directory `/etc` (2)
Jan 4 21:37:53 vps nscd: 32305 disabled inotify-based monitoring for file `/etc/netgroup': No such file or directory
Jan 4 21:37:53 vps nscd: 32305 stat failed for file `/etc/netgroup'; will try again later: No such file or directory
Jan 4 21:37:53 vps nscd: 32305 Access Vector Cache (AVC) started
Edit: Literally the instant I created the thread, I got the email that it was back up. Is the Service Status page only updated periodically? Still wondering if there's a way to debug why it happened.
-Michael