There are a couple reasons why Pyzor crashes, one is if you restart "BIND " 
(named), Pyzor fails on its first attempt to contact the Pyzor website.
 
The second is for some reason both "Exim" & "Postfix" which ever you are using 
wants access to the Pyzor home directory, If you check the abrtd log you will 
see the backtrace, it also shows in the message log as failures. Its trying to 
send an email of the error.

I do the following on every Baruwa build:-

mkdir /var/spool/postfix/.pyzor
sudo ln -s /var/spool/postfix/.pyzor /var/www/.pyzor
sudo chown -R postfix:apache /var/spool/postfix/.pyzor
sudo chmod ug+rwx /var/spool/postfix/.pyzor
sudo chmod ug+rw /var/spool/postfix/.pyzor/*
su postfix -s /bin/bash -c 'pyzor discover'

Replace postfix with exim if running exim. Use sudo or su, which ever works for 
your setup.

Also I place the home directory of pyzor in:-  /etc/mail/spamassassin/.pyzor
Add to local.cf:- 
 use_pyzor 1
 pyzor_options --homedir /etc/mail/spamassassin/.pyzor

Then I run:-

 pyzor --homedir /etc/mail/spamassassin/.pyzor discover

this is the first thing I do, then the above to fix for the abrt error.

 Hope this helps
   

-----Original Message-----
From: [email protected] [mailto:[email protected]] 
On Behalf Of [email protected]
Sent: Wednesday, 9 September 2015 8:00 PM
To: [email protected]
Subject: Baruwa Digest, Vol 60, Issue 1

Send Baruwa mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.baruwa.org/mailman/listinfo/baruwa
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific than "Re: 
Contents of Baruwa digest..."


Today's Topics:

   1. Pyzor crashing (Raymond)
   2. Baruwa uwsgi problem (??????? ?.)


----------------------------------------------------------------------

Message: 1
Date: Tue, 08 Sep 2015 11:06:49 -0500
From: Raymond <[email protected]>
To: Baruwa users list <[email protected]>
Subject: [Baruwa] Pyzor crashing
Message-ID: <1441728409.2977.63.camel@mint-1>
Content-Type: text/plain; charset="UTF-8"

Centos 6.2 baruwa 2.1



syslog is rapping off messages like this with every new connection:

Sep  8 11:03:35 relay-4 abrt: detected unhandled Python exception in 
'/usr/bin/pyzor'
Sep  8 11:03:35 relay-4 abrtd: New client connected Sep  8 11:03:35 relay-4 
abrt-server[20423]: Not saving repeating crash in '/usr/bin/pyzor'




Where would I start looking to identify the problem?




------------------------------

Message: 2
Date: Tue, 08 Sep 2015 19:56:58 +0300
From: ??????? ?. <[email protected]>
To: [email protected]
Subject: [Baruwa] Baruwa uwsgi problem
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"





Hello,
After installing nginx+uwsgi I see "Internal server error" when accessing 
Baruwa UI.
There is the following message in /var/log/uwsgi/uwsgi-baruwa.log log:
--- no python application found, check your startup logs for errors --- I 
followed the instructions from  
https://pythonhosted.org/baruwa/community/nginx-uwsgi.html .
Could someone advice what I need to check in order to fix the issue?
Thank you advance!

Best regards,
Nicolai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.baruwa.org/pipermail/baruwa/attachments/20150908/4f8d26ee/attachment-0001.html>

------------------------------

_______________________________________________
http://pledgie.com/campaigns/12056

End of Baruwa Digest, Vol 60, Issue 1
*************************************

_______________________________________________
http://pledgie.com/campaigns/12056

Reply via email to