Thanks for your help. I deleted bytecode.cvd and main.cvd but the service still not be started. The output is as below. I can wait till you are available. Thanks.
[root@tplinuxuhgdb2 clamav]# ls
bytecode.cld daily.cld main.cld mirrors.dat
[root@tplinuxuhgdb2 clamav]# systemctl start clamd@scan.service
Job for clamd@scan.service failed because the control process exited with error code. See "systemctl status clamd@scan.service" and "journalctl -xe" for details.
[root@tplinuxuhgdb2 clamav]# journalctl -xe
--
-- Unit clamd@scan.service has failed.
--
-- The result is failed.
Jun 16 16:23:28 tplinuxuhgdb2.localdomain systemd[1]: Unit clamd@scan.service entered failed state.
Jun 16 16:23:28 tplinuxuhgdb2.localdomain systemd[1]: clamd@scan.service failed.
Jun 16 16:23:28 tplinuxuhgdb2.localdomain systemd[1]: clamd@scan.service holdoff time over, scheduling restart.
Jun 16 16:23:28 tplinuxuhgdb2.localdomain systemd[1]: Stopped clamd scanner (scan) daemon.
-- Subject: Unit clamd@scan.service has finished shutting down
-- Defined-By: systemd
-- Support:
http://lists.freedesktop.org/mailman/listinfo/systemd-devel--
-- Unit clamd@scan.service has finished shutting down.
Jun 16 16:23:28 tplinuxuhgdb2.localdomain systemd[1]: Starting clamd scanner (scan) daemon...
-- Subject: Unit clamd@scan.service has begun start-up
-- Defined-By: systemd
-- Support:
http://lists.freedesktop.org/mailman/listinfo/systemd-devel--
-- Unit clamd@scan.service has begun starting up.
Jun 16 16:23:28 tplinuxuhgdb2.localdomain clamd[4888]: Received 0 file descriptor(s) from systemd.
Jun 16 16:23:28 tplinuxuhgdb2.localdomain clamd[4888]: Please define server type (local and/or TCP).
Jun 16 16:23:28 tplinuxuhgdb2.localdomain clamd[4887]: ERROR: Please define server type (local and/or TCP).
Jun 16 16:23:28 tplinuxuhgdb2.localdomain systemd[1]: clamd@scan.service: control process exited, code=exited status=1
Jun 16 16:23:28 tplinuxuhgdb2.localdomain systemd[1]: Failed to start clamd scanner (scan) daemon.
-- Subject: Unit clamd@scan.service has failed
-- Defined-By: systemd
-- Support:
http://lists.freedesktop.org/mailman/listinfo/systemd-devel--
-- Unit clamd@scan.service has failed.
--
-- The result is failed.
Jun 16 16:23:28 tplinuxuhgdb2.localdomain systemd[1]: Unit clamd@scan.service entered failed state.
Jun 16 16:23:28 tplinuxuhgdb2.localdomain systemd[1]: clamd@scan.service failed.
Jun 16 16:23:28 tplinuxuhgdb2.localdomain systemd[1]: clamd@scan.service holdoff time over, scheduling restart.
Jun 16 16:23:28 tplinuxuhgdb2.localdomain systemd[1]: Stopped clamd scanner (scan) daemon.
-- Subject: Unit clamd@scan.service has finished shutting down
-- Defined-By: systemd
-- Support:
http://lists.freedesktop.org/mailman/listinfo/systemd-devel--
-- Unit clamd@scan.service has finished shutting down.
Jun 16 16:23:28 tplinuxuhgdb2.localdomain systemd[1]: start request repeated too quickly for clamd@scan.service
Jun 16 16:23:28 tplinuxuhgdb2.localdomain systemd[1]: Failed to start clamd scanner (scan) daemon.
-- Subject: Unit clamd@scan.service has failed
-- Defined-By: systemd
-- Support:
http://lists.freedesktop.org/mailman/listinfo/systemd-devel--
-- Unit clamd@scan.service has failed.
--
-- The result is failed.
Jun 16 16:23:28 tplinuxuhgdb2.localdomain systemd[1]: Unit clamd@scan.service entered failed state.
Jun 16 16:23:28 tplinuxuhgdb2.localdomain systemd[1]: clamd@scan.service failed.
Eric.