Unable to connect to CUPS server

某一台Samba Server 出現如下訊息
printing/print_cups.c:cups_cache_reload(85) Unable to connect to CUPS server localhost

之前smb.conf 記得load printers 有mark起來
但今天一問Google大神
testparm -v | grep print
一看
load printers = Yes
printing = cups
原來 printing是cups,難怪我cups已停,但還是一直不停連
修正如下
load printers = no
printing = bsd
就不會一直出現之前的錯誤訊息了

順帶一提,之前遇到iptables的問題,因為那時想做分流,後來雖然沒做
不過還是測試了一下
公司有一台Server有兩張網卡,想要讓兩張網卡都能對外連線進來,
這當然沒什麼問題,不過那時我心想iptables要如何設呢??
之前是針對eth0 在設定,難道eth1也要設嗎
兩張網卡要設的ip是同一網段,
經測試後,原來eth1不用設,只要設單一介面(eth0)就好了
講白話一點,就是只開放80port,另一張也會是同樣的Rule

沒有留言:

張貼留言