Hi Ged, Please teach me how to configure these sockets. Why can it scan these files as below if the clamd never run?
[root@tplinuxuhgdb2 clamav]# clamscan -r /home /home/oracle/.bash_logout: OK /home/oracle/.bashrc: OK /home/oracle/.cache/gdm/session.log.old: Empty file /home/oracle/.cache/gdm/session.log: Empty file /home/oracle/.cache/imsettings/log.bak: OK /home/oracle/.cache/imsettings/log: OK /home/oracle/.cache/gnome-shell/update-check-3.22: Empty file /home/oracle/.cache/gnome-shell/update-check-3.28: Empty file /home/oracle/.cache/tracker/db-version.txt: OK /home/oracle/.cache/tracker/meta.db: OK /home/oracle/.cache/tracker/db-locale.txt: OK /home/oracle/.cache/tracker/ontologies.gvdb: OK /home/oracle/.cache/tracker/parser-sha1.txt: OK /home/oracle/.cache/tracker/locale-for-miner-user-guides.txt: OK /home/oracle/.cache/tracker/locale-for-miner-apps.txt: OK /home/oracle/.cache/tracker/last-crawl.txt: OK /home/oracle/.cache/tracker/first-index.txt: OK /home/oracle/.cache/tracker/meta.db-wal: OK /home/oracle/.cache/tracker/meta.db-shm: OK /home/oracle/.cache/event-sound-cache.tdb.tplinuxuhgdb2.localdomain.x86_64-redhat-linux-gnu: OK /home/oracle/.cache/abrt/applet_dirlist: Empty file /home/oracle/.cache/abrt/lastnotification: OK /home/oracle/.cache/gnome-software/3.22/ratings/odrs.json: OK /home/oracle/.cache/gnome-software/3.22/extensions/gnome.json: OK /home/oracle/.cache/gnome-software/3.22/flatpak/installation-tmp/repo/config: OK /home/oracle/.cache/gnome-software/3.22/flatpak/installation-tmp/.changed: Empty file /home/oracle/.cache/gnome-software/odrs/ratings.json: OK /home/oracle/.cache/gnome-software/shell-extensions/gnome.json: OK /home/oracle/.cache/gstreamer-1.0/registry.x86_64.bin: OK /home/oracle/.cache/fontconfig/3f821257dd33660ba7bbb45c32deb84c-le64.cache-4: OK /home/oracle/.cache/fontconfig/CACHEDIR.TAG: OK /home/oracle/.cache/fontconfig/46d51d90fe9d963f6f4186edb936a931-le64.cache-4: OK /home/oracle/.cache/fontconfig/75726aeed9fe8691fd29315754d820cc-le64.cache-4: OK /home/oracle/.cache/fontconfig/3830d5c3ddfd5cd38a049b759396e72e-le64.cache-4: OK /home/oracle/.cache/fontconfig/3c3fb04d32a5211b073874b125d29701-le64.cache-4: OK /home/oracle/.cache/fontconfig/2e1514a9fdd499050989183bb65136db-le64.cache-4: OK /home/oracle/.cache/fontconfig/beeeeb3dfe132a8a0633a017c99ce0c0-le64.cache-4: OK /home/oracle/.cache/fontconfig/2881ed3fd21ca306ddad6f9b0dd3189f-le64.cache-4: OK /home/oracle/.cache/fontconfig/e0636055caa850f70f1a6db008fc4729-le64.cache-4: OK /home/oracle/.cache/fontconfig/3640555adad8a8f6978400293cfce7ab-le64.cache-4: OK /home/oracle/.cache/fontconfig/47f48679023f44a4d1e44699a69464f6-le64.cache-4: OK /home/oracle/.cache/fontconfig/29c8f5b6bf15d25ebb2e963855ab41be-le64.cache-4: OK /home/oracle/.cache/fontconfig/87f5e051180a7a75f16eb6fe7dbd3749-le64.cache-4: OK /home/oracle/.cache/fontconfig/928306c3ad40271d946e41014a49fc28-le64.cache-4: OK /home/oracle/.cache/fontconfig/900402270e15d763a6e008bb2d4c7686-le64.cache-4: OK /home/oracle/.cache/fontconfig/0fef740e1edd47736fa2cccff935ab7c-le64.cache-4: OK /home/oracle/.cache/fontconfig/b6801251-8f1b-4121-b2eb-93877adc50d2-le64.cache-7: OK /home/oracle/.cache/fontconfig/0251a5afa6ac727a1e32b7d4d4aa7cf0-le64.cache-4: OK /home/oracle/.cache/fontconfig/df893b4576ad6107f9397134092c4059-le64.cache-4: OK /home/oracle/.cache/fontconfig/f132fa2327207a6ac3298c0518879731-le64.cache-4: OK /home/oracle/.cache/fontconfig/d51eeab6-f16e-4e4f-93b5-b2eb9b42ae7f-le64.cache-7: OK /home/oracle/.cache/fontconfig/12b26b760a24f8b4feb03ad48a333a72-le64.cache-4: OK /home/oracle/.cache/fontconfig/fa2b533b7056bdadb961f088bc0a978b-le64.cache-4: OK /home/oracle/.cache/fontconfig/e26bf336397aae6fcef4d3803472adec-le64.cache-4: OK /home/oracle/.cache/fontconfig/b14e78aa9400ae7a28193faee1d62280-le64.cache-7: OK /home/oracle/.cache/fontconfig/614d1caaa4d7914789410f6367de37ca-le64.cache-4: OK /home/oracle/.cache/fontconfig/d290456e58f67f52b0f8f224126f9ea8-le64.cache-4: OK /home/oracle/.cache/fontconfig/12513961c6e7090f8648812f9eaf65d6-le64.cache-4: OK /home/oracle/.cache/fontconfig/e4c10840-9d0d-4ca6-84e7-36328cdd7cd1-le64.cache-7: OK /home/oracle/.cache/fontconfig/f9d379b867d7c69c85310a4f24e5228f-le64.cache-4: OK /home/oracle/.cache/fontconfig/d759ee9cd048e494517a1be23d25a662-le64.cache-4: OK /home/oracle/.cache/fontconfig/f951a6bc01c50d58ac4af16a0108457e-le64.cache-4: OK /home/oracle/.cache/fontconfig/99a1ce9f8b6a0434aadb01d3779b0780-le64.cache-4: OK /home/oracle/.cache/fontconfig/211368abcb0ff835c229ff05c9ec01dc-le64.cache-4: OK /home/oracle/.cache/fontconfig/ac68f755438cc3dc5a526084839fc7ca-le64.cache-4: OK /home/oracle/.cache/fontconfig/b4d0b56f766d89640448751fcd18ec1e-le64.cache-4: OK /home/oracle/.cache/fontconfig/81a173283b451552b599cfaafd6236bd-le64.cache-4: OK /home/oracle/.cache/fontconfig/d3379abda271c4acd2ad0c01f565d0b0-le64.cache-4: OK /home/oracle/.cache/fontconfig/860639f272b8b4b3094f9e399e41bccd-le64.cache-4: OK /home/oracle/.cache/fontconfig/0b1bcc92b4d25cc154d77dafe3bceaa0-le64.cache-4: OK /home/oracle/.cache/fontconfig/b67b32625a2bb51b023d3814a918f351-le64.cache-4: OK /home/oracle/.cache/fontconfig/b887eea8f1b96e1d899b44ed6681fc27-le64.cache-4: OK /home/oracle/.cache/fontconfig/830f035fa84a65ce80e050178dbb630d-le64.cache-4: OK /home/oracle/.cache/fontconfig/e61abf8156cc476151baa07d67337cae-le64.cache-4: OK /home/oracle/.cache/fontconfig/c46020d7221988a13df853d2b46304fc-le64.cache-4: OK /home/oracle/.cache/fontconfig/711dae798b6bff4224ea2776edcb5c93-le64.cache-4: OK /home/oracle/.cache/fontconfig/b79f3aaa7d385a141ab53ec885cc22a8-le64.cache-4: OK /home/oracle/.cache/event-sound-cache.tdb.d350a7e159b2447e83be18272e1e6a82.x86_64-redhat-linux-gnu: OK /home/oracle/.config/user-dirs.dirs: OK /home/oracle/.config/user-dirs.locale: OK /home/oracle/.config/pulse/d350a7e159b2447e83be18272e1e6a82-device-volumes.tdb: OK /home/oracle/.config/pulse/d350a7e159b2447e83be18272e1e6a82-stream-volumes.tdb: OK /home/oracle/.config/pulse/d350a7e159b2447e83be18272e1e6a82-card-database.tdb: OK /home/oracle/.config/pulse/cookie: OK /home/oracle/.config/pulse/d350a7e159b2447e83be18272e1e6a82-default-sink: OK /home/oracle/.config/pulse/d350a7e159b2447e83be18272e1e6a82-default-source: OK /home/oracle/.config/ibus/bus/d350a7e159b2447e83be18272e1e6a82-unix-1: OK /home/oracle/.config/ibus/bus/d350a7e159b2447e83be18272e1e6a82-unix-0: OK /home/oracle/.config/dconf/user: OK /home/oracle/.config/evolution/sources/system-proxy.source: OK /home/oracle/.config/gtk-3.0/bookmarks: OK /home/oracle/.config/nautilus/desktop-metadata: OK /home/oracle/.config/gnome-initial-setup-done: OK /home/oracle/.config/yelp/yelp.cfg: OK /home/oracle/.config/Trolltech.conf: OK /home/oracle/.ICEauthority: OK /home/oracle/.local/share/keyrings/login.keyring: OK /home/oracle/.local/share/keyrings/user.keystore: OK /home/oracle/.local/share/gnome-shell/application_state: OK /home/oracle/.local/share/gnome-shell/notifications: OK /home/oracle/.local/share/telepathy/mission-control/accounts.cfg: OK /home/oracle/.local/share/telepathy/mission-control/accounts-goa.cfg: OK /home/oracle/.local/share/evolution/addressbook/system/contacts.db: OK /home/oracle/.local/share/evolution/calendar/system/calendar.ics: OK /home/oracle/.local/share/gsettings-data-convert: OK /home/oracle/.local/share/gnome-settings-daemon/input-sources-converted: Empty file /home/oracle/.local/share/tracker/data/tracker-store.journal: OK /home/oracle/.local/share/tracker/data/tracker-store.ontology.journal: OK /home/oracle/.local/share/gvfs-metadata/home: OK /home/oracle/.local/share/gvfs-metadata/root: OK /home/oracle/.local/share/gvfs-metadata/home-803ecbd3.log: OK /home/oracle/.local/share/gvfs-metadata/root-a82d60ad.log: OK /home/oracle/.local/share/flatpak/repo/config: OK /home/oracle/.local/share/flatpak/.changed: Empty file /home/oracle/.local/share/app-info/xmls/extensions-web.xml: OK /home/oracle/.esd_auth: OK /home/oracle/.bash_history: OK /home/oracle/.bash_profile: OK /home/oracle/start_oracle.sh: OK /home/oracle/Script/clear_arch.sh: OK /home/oracle/Script/copy_to_nas.sh: OK /home/oracle/Script/rmanbackup.20190323.sh: OK /home/oracle/Script/rmanbackup.sh: OK /home/oracle/Script/clear_old_file.sh: OK /home/oracle/.ssh/known_hosts: OK /home/oracle/dbvisit-standby8.0.24-linux.tar: OK /home/oracle/dbvisit/dbvagent/conf/dbvagent.db: OK /home/oracle/dbvisit/dbvagent/conf/dbvagent.conf: OK /home/oracle/dbvisit/dbvagent/conf/prikey.pem: OK /home/oracle/dbvisit/dbvagent/conf/ca.pem: OK /home/oracle/dbvisit/dbvagent/conf/cert.pem: OK /home/oracle/dbvisit/dbvagent/dbvagent: OK /home/oracle/dbvisit/dbvserver/conf/prikey.pem: OK /home/oracle/dbvisit/dbvserver/conf/ca.pem: OK /home/oracle/dbvisit/dbvserver/conf/cert.pem: OK /home/oracle/dbvisit/dbvserver/conf/dbvserver.db: OK /home/oracle/dbvisit/dbvserver/conf/dbvserver.conf: OK /home/oracle/dbvisit/dbvserver/dbvserver: OK /home/oracle/dbvisit/dbvnet/conf/dbvnetd.conf: OK /home/oracle/dbvisit/dbvnet/conf/prikey.pem: OK /home/oracle/dbvisit/dbvnet/conf/ca.pem: OK /home/oracle/dbvisit/dbvnet/conf/cert.pem: OK /home/oracle/dbvisit/dbvnet/dbvnet: OK /home/oracle/dbvisit/installer/install-dbvisit: OK /home/oracle/dbvisit/standby/lib/libmql1.so: OK /home/oracle/dbvisit/standby/lib/libipc1.so: OK /home/oracle/dbvisit/standby/lib/libociei.so: OK /home/oracle/dbvisit/standby/lib/libnnz12.so: OK /home/oracle/dbvisit/standby/lib/libclntsh.so.12.1: OK /home/oracle/dbvisit/standby/lib/libclntshcore.so.12.1: OK /home/oracle/dbvisit/standby/lib/libons.so: OK /home/oracle/dbvisit/standby/doc/init-dbvagent.sample: OK /home/oracle/dbvisit/standby/doc/README.txt: OK /home/oracle/dbvisit/standby/doc/init-dbvserver.sample: OK /home/oracle/dbvisit/standby/doc/init-dbvora.sample: OK /home/oracle/dbvisit/standby/doc/init-dbvnet.sample: OK /home/oracle/dbvisit/standby/doc/example_pre_post_processing.sh: OK /home/oracle/dbvisit/standby/dbvctl: OK /home/oracle/INSTALL.txt: OK /home/oracle/stop_oracle.sh: OK /home/oracle/.viminfo: OK /home/oracle/.dbus/session-bus/d350a7e159b2447e83be18272e1e6a82-0: OK /home/oracle/.dbus/session-bus/d350a7e159b2447e83be18272e1e6a82-1: OK /home/oracle/.kde/cache-tplinuxuhgdb2.localdomain: Symbolic link /home/oracle/.kde/share/config/ksysguardrc: OK /home/oracle/.kde/share/apps/ksysguard/ProcessTable.sgrd: OK /home/oracle/.kde/share/apps/ksysguard/SystemLoad2.sgrd: OK /home/oracle/dbvisit-standby8.0.24-linux.zip: OK /home/oracle/README.txt: OK /home/oracle/run.sh: OK /home/SAV_diagnose_20190515_115541.zip: OK /home/checkServerCapacity.sh: OK /home/sync_calendar_with_exchange.sh: OK ----------- SCAN SUMMARY ----------- Known viruses: 8539526 Engine version: 0.103.2 Scanned directories: 153 Scanned files: 164 Infected files: 0 Data scanned: 94.85 MB Data read: 489.68 MB (ratio 0.19:1) Time: 41.271 sec (0 m 41 s) Start Date: 2021:06:16 23:53:19 End Date: 2021:06:16 23:54:00 ----------- SCAN SUMMARY ----------- Known viruses: 8539185 Engine version: 0.103.2 Scanned directories: 53827 Scanned files: 243859 Infected files: 0 Total errors: 22875 Data scanned: 26135.44 MB Data read: 144370.49 MB (ratio 0.18:1) Time: 7685.714 sec (128 m 5 s) Start Date: 2021:06:16 03:15:16 End Date: 2021:06:16 05:23:22 G.W. Haywood via clamav-users <clamav-users@lists.clamav.net> 於 2021年6月16日 週三 下午10:47寫道: > Hi Eric, > > On Wed, 16 Jun 2021, Eric Jin via clamav-users wrote: > > G.W. Haywood via clamav-users <clamav-users@lists.clamav.net> 於 > 2021年6月16日 週三 下午6:25寫道: > > > >> In the clamd configuration file there should be a definition for the > >> socket on which clamd will listen - it is either a Unix socket, or a > >> TCP socket. Do you have a line in the file which defines the socket? > >> If not, since you say that the scanner has been working for two years > >> it seems that something (possibly an upgrade?) has changed it. ... > > > > The ClamAV was never upgraded until I found the service couldn't be > > started yesterday. I executed the command of "clamconf" and got the > > following results. [...] > > [...] > > Checking configuration files in /etc > > > > Config file: clamd.d/scan.conf > > > > [...] > > LocalSocket disabled > > > > LocalSocketGroup disabled > > > > LocalSocketMode disabled > > > > FixStaleSocket = "yes" > > > > TCPSocket disabled > > > > TCPAddr disabled > > [...] > > If everything you say is true then I suspect that clamd has never run > on your system. There is no local socket defined and no TCP socket, > so clamd has nothing to which it can listen. > > If you wish to run the clamd daemon, you *must* choose which type of > socket you want it to use, and set that up in its configuration file. > > -- > > 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