When I compile Clamav, here are some of the settings that I use for the application:
Owner - clamav
./configure --prefix=/usr --sysconfdir=/etc
Everything else is pretty much std linux OS. The biggest change is the systemctl which now runs the service scripts.
This is what I am currently seeing:
- Code: Select all
[root@ns clamav-0.98]# systemctl status clamd.service
clamd.service - SYSV: clamdis a standard UNIX program that scans for Viruses.
Loaded: loaded (/etc/rc.d/init.d/clamd)
Active: failed (Result: exit-code) since Mon, 2013-12-02 10:34:33 EST; 27s ago
Process: 27288 ExecStart=/etc/rc.d/init.d/clamd start (code=exited, status=1/FAILURE)
CGroup: name=systemd:/system/clamd.service
â 11819 /usr/sbin/clamd
Dec 02 10:34:18 ns.IT-Security-inc.com clamd[27294]: Log file size limited to 10485760 bytes.
Dec 02 10:34:18 ns.IT-Security-inc.com clamd[27294]: Reading databases from /usr/share/clamav
Dec 02 10:34:18 ns.IT-Security-inc.com clamd[27294]: Not loading PUA signatures.
Dec 02 10:34:18 ns.IT-Security-inc.com clamd[27294]: Bytecode: Security mode set to "TrustSigned".
Dec 02 10:34:30 ns.IT-Security-inc.com clamd[27294]: Loaded 2964067 signatures.
Dec 02 10:34:33 ns.IT-Security-inc.com clamd[27288]: Starting clamd: ERROR: LOCAL: Socket file /tm...s.
Dec 02 10:34:33 ns.IT-Security-inc.com clamd[27294]: LOCAL: Socket file /tmpfs/clamd.sock is in us...s.
Dec 02 10:34:33 ns.IT-Security-inc.com clamd[27288]: [FAILED]
Dec 02 10:34:33 ns.IT-Security-inc.com systemd[1]: Failed to start SYSV: clamdis a standard UNIX ...s..
Dec 02 10:34:33 ns.IT-Security-inc.com systemd[1]: Unit clamd.service entered failed state
So, any suggestions as what is going wrong here?
Thank you in advance.