Unable to connect to CUPS server localhost:631 – Connection refused on samba log

2018-09-29 KENNETH 0

환경 OS : CentOS-6 samba : 3.6 (centos6의 고유 패키지)   samba 로그 또는 /var/log/messages printing/print_cups.c:151(cups_connect) Unable to connect to CUPS server localhost:631 – Connection refused   원인 cups 서비스는 당연히 꺼놓았는데 계속해서 발생하며 요청하는 상황은 smb에서 프 린터 설정을 활성화 시켜서 윈도우의 기본 기능인 사용 가능한 프린터 찾는 것 때 문에 자꾸 접근해서 메세지를 쌓게 만들어 발생되는 것 이라고 한다.. 출처 : https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-c01925386   해결 비활성화 시킨다…. file : smb.conf 위치 : [global] 섹션   고찰 참고한 자료 에서는 내용중 “printing” 지시자에 대해서 “none” 설정을 권장 했는데.. printing = none 실제로 적용을 해보니 WARNING: Ignoring invalid value ‘none’ for parameter ‘printing’ 이런 경고문을 띄웠다.. 아마도 해당 환경의 삼바 버전이 참고 내용의 버전과 맞지 않았기 때문일 것이다. 그래서 지시자를 “none” 에서 “bsd” 로 변경 시도 했다.