smcd service fails to start on CentOS/RHEL 8 after install.

book

Article ID: 187512

calendar_today

Updated On:

Products

Endpoint Protection

Issue/Introduction

When installing Endpoint Protection (SEP) on CentOS/RHEL 8, the smc service fails to start.  

Fri Mar 27 11:43:41 PDT 2020: failed to start smcd .

[email protected] ~]$ sudo service smcd start
Starting smcd (via systemctl):  Job for smcd.service failed because the control process exited with error code.
See "systemctl status smcd.service" and "journalctl -xe" for details.
                                                           [FAILED]
[email protected] ~]$ systemctl status smcd.service
● smcd.service - LSB: Symantec AntiVirus Scanner
   Loaded: loaded (/etc/rc.d/init.d/smcd; generated)
   Active: failed (Result: exit-code) since Fri 2020-03-27 12:00:46 PDT; 39s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 10826 ExecStop=/etc/rc.d/init.d/smcd stop (code=exited, status=0/SUCCESS)
  Process: 10874 ExecStart=/etc/rc.d/init.d/smcd start (code=exited, status=127)

Mar 27 12:00:46 centos systemd[1]: Starting LSB: Symantec AntiVirus Scanner...
Mar 27 12:00:46 centos smcd[10874]: /opt/Symantec/symantec_antivirus/smcd: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory
Mar 27 12:00:46 centos smcd[10874]: [28B blob data]
Mar 27 12:00:46 centos systemd[1]: smcd.service: Control process exited, code=exited status=127
Mar 27 12:00:46 centos systemd[1]: smcd.service: Failed with result 'exit-code'.
Mar 27 12:00:46 centos systemd[1]: Failed to start LSB: Symantec AntiVirus Scanner.

Cause

The glibc package in CentOS 8 no longer includes the libnsl shared library. 

Environment

Release : 14.2.5569.2100

Component : smcd

Resolution

Install the libnsl library. 

sudo yum install libnsl.i686