At 12:10 AM 3/12/2005, Norman Zhang wrote:
Are the following options set correctly?
dcc_home /usr/sbin dcc_dccifd_path /usr/sbin/dccifd dcc_path /usr/sbin
No.. dcc_home should be set to where your dcc config files are
Okay. dcc_home /var/lib/dcc
# ls -l /var/lib/dcc total 60 -rw-r--r-- 1 dcc dcc 3897 Sep 28 03:32 dcc_conf srw-rw-rw- 1 root root 0 Mar 11 17:51 dccifd= -rw-r--r-- 1 dcc dcc 825 Sep 28 03:32 flod -rw-r--r-- 1 dcc dcc 561 Sep 28 03:32 grey_flod -rw-r--r-- 1 dcc dcc 500 Sep 28 03:32 grey_whitelist -rw------- 1 dcc dcc 2556 Sep 28 03:32 ids drwxr-xr-x 2 dcc dcc 6 Sep 28 03:32 log/ -rw------- 1 dcc dcc 4460 Sep 28 03:32 map -rw------- 1 dcc dcc 4460 Sep 28 03:32 map.rpmsave -rw------- 1 dcc dcc 842 Sep 28 03:32 map.txt drwxr-xr-x 6 dcc dcc 57 Mar 11 14:38 userdirs/ -rw-r--r-- 1 dcc dcc 3104 Sep 28 03:32 whiteclnt -rw-r--r-- 1 dcc dcc 12124 Sep 28 03:32 whitecommon -rw-r--r-- 1 dcc dcc 486 Sep 28 03:32 whitelist
dcc_dccifd_path should not be the path to the dccifd binary, it should be the path to the dccifd SOCKET that dccifd creates when it is running. (For SA to use dccifd instead of dccproc you must start dccifd and get it running as a daemon)
I think dccifd socket is created in /var/lib/dcc. Do I specify its location in /var/lib/dcc/dcc_conf or dccifd? dccifd seems to be empty.
Really, you probably don't need to manually set any of these. SA's defaults should work fine, the only thing you might need to set is the path to the dccifd socket, depending on how you start dccifd.
I started dccifd by running
# /usr/sbin/dccifd
manually. Should I set dcc_dccifd_path /var/lib/dcc? Is dcc_path /usr/sbin fine?
Regards, Norman Zhang