Hi Ged, 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. BR, Eric. G.W. Haywood via clamav-users <clamav-users@lists.clamav.net> 於 2021年6月16日 週三 下午2:43寫道: > Hi Eric, > > On Wed, 16 Jun 2021, Eric Jin via clamav-users wrote: > > > The ClamAV was installed in the oracle server two years ago. The > > clamd@scan.service could be started and running for a long time. The > > following output is from the command of "clamconf -n" in the oracle > server. > > Please help me confirm if it could find the cause. Thanks. > > > > [root@tplinuxuhgdb2 clamd.d]# clamconf -n > > [...snip...] > > Database information > > -------------------- > > Database directory: /var/lib/clamav > > daily.cld: version 26202, sigs: 3989629, built on Tue Jun 15 19:21:24 > 2021 > > bytecode.cld: version 333, sigs: 92, built on Mon Mar 8 23:21:51 2021 > > main.cld: version 59, sigs: 4564902, built on Mon Nov 25 21:56:15 2019 > > bytecode.cvd: version 333, sigs: 92, built on Mon Mar 8 23:21:51 2021 > > main.cvd: version 59, sigs: 4564902, built on Mon Nov 25 21:56:15 2019 > > Total number of signatures: 13119617 > > [...snip...] > > I haven't looked in depth at the output but at first sight this looks > wrong. Again I don't know if it's causing your problem. For both the > main.* and the bytecode.* signatures in your database, you have both a > .cld and a .cvd file. They are two different representations of the > same thing; a .cvd file is compressed and a .cld file is not. Perhaps > you can try deleting one of them, then (re)start clamd. > > The build information is a little overwhelming compared to mine (see > below). I don't know what it might be telling me without spending a > bit of time on it, and I don't have enough spare time at the moment to > do that. If you can wait, I'll take a look at it when I get a chance. > It would be much less effort if you built ClamAV from source yourself, > and test the resulting clamd binary on your system - or even if I did > that for you. > > -- > > 73, > Ged. > > _______________________________________________ > > clamav-users mailing list > clamav-users@lists.clamav.net > https://lists.clamav.net/mailman/listinfo/clamav-users > > > Help us build a comprehensive ClamAV guide: > https://github.com/vrtadmin/clamav-faq > > http://www.clamav.net/contact.html#ml >
_______________________________________________ clamav-users mailing list clamav-users@lists.clamav.net https://lists.clamav.net/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml