Press enter to see results or esc to cancel.

pyzor: got response: No servers available! Maybe try the ‘discover’ command

Eger pyzor boyle bir hata donduruyorsa servers dosyasiniz bos veya “pyzor discover” komutu calistirilmamis demektir. Eger calistirmissaniz ve hala boyle bir hata aliyorsaniz bir sekilde servers dosyasina veri yazilamamistir. Yazamadiysa bizde elle yazariz 😛 (servers dosyasinin yerini yine log’lardan bulabiliriz, benimkisi /etc/spamassassin/servers altindaymis.)

Cozum;

vim /etc/spamassassin/servers icine public.pyzor.org:24441 satirini eklemekle problem cozulmus oluyor.

Log’lar

Jan 24 12:25:01 msg amavis[19876]: (19876-02) SA dbg: pyzor: got response: No servers available! Maybe try the ‘discover’ command
Jan 24 12:25:01 msg amavis[19876]: (19876-02) SA dbg: pyzor: failure to parse response “No servers available! Maybe try the ‘discover’ command”

Jan 24 12:16:53 msg amavis[19871]: SA dbg: pyzor: got response: Traceback (most recent call last):\\n File “/usr/bin/pyzor”, line 8, in <module>\\n pyzor.client.run()\\n File “/usr/lib/pymodules/python2.5/pyzor/client.py”, line 1022, in run\\n ExecCall().run()\\n File “/usr/lib/pymodules/python2.5/pyzor/client.py”, line 189, in run\\n self.servers = self.get_servers(servers_fn)\\n File “/usr/lib/pymodules/python2.5/pyzor/client.py”, line 422, in get_servers\\n servers.read(open(servers_fn))\\nIOError: [Errno 13] Permission denied: ‘/etc/spamassassin/servers