Baruwa 2.0.1 Node status.

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Baruwa 2.0.1 Node status.

Michael Van Der Beek

Hi Support,

 

I’m running 2.0.1 using exim. Using http://www.baruwa-install.com/#admin

Fixed some things in the script.

Rabbit needs to update to 3.3.0 otherwise it cannot find the file.

/var/log/clamav/*.log was set to root:root.. so needs to change to clamav:clamav

/var/lib/clamav was also set to root:root so the downloads failed.. also set to clamav:clamav.

Other than that, everything seems fine. Oh i turned off selinux before install.

 

I have 2 interfaces on the system. Internal 10.20.1.196 and external 192.168.50.70 (facing the router).. port 25 is portforwarded.

Mail can arrive and process correctly.

 

I only have one system that is active.

Do I add the node as localhost (127.0.0.1) or the interface IP (192.168.50.70)?

 

Either way, I get error retrieving data.

Any suggestion?

 

Secondly, for the pdf generation. It seems to work everywhere except for spam score distribution.

 

Regards,

 

Michael


_______________________________________________
http://pledgie.com/campaigns/12056
Reply | Threaded
Open this post in threaded view
|

Re: Baruwa 2.0.1 Node status.

jeremymcs
I fixed those issues already. ... Odd

Node status is the Host you set in rabbit. Hopefully fqdn. 

--

Jeremy McSpadden

Flux Labs | http://www.fluxlabs.net | Endless Solutions

Office : 850-250-5590x501 | Cell : 850-890-2543 | Fax : 850-254-2955


On Apr 23, 2014, at 11:41 PM, "Michael Van Der Beek" <[hidden email]> wrote:

Hi Support,

 

I’m running 2.0.1 using exim. Using http://www.baruwa-install.com/#admin

Fixed some things in the script.

Rabbit needs to update to 3.3.0 otherwise it cannot find the file.

/var/log/clamav/*.log was set to root:root.. so needs to change to clamav:clamav

/var/lib/clamav was also set to root:root so the downloads failed.. also set to clamav:clamav.

Other than that, everything seems fine. Oh i turned off selinux before install.

 

I have 2 interfaces on the system. Internal 10.20.1.196 and external 192.168.50.70 (facing the router).. port 25 is portforwarded.

Mail can arrive and process correctly.

 

I only have one system that is active.

Do I add the node as localhost (127.0.0.1) or the interface IP (192.168.50.70)?

 

Either way, I get error retrieving data.

Any suggestion?

 

Secondly, for the pdf generation. It seems to work everywhere except for spam score distribution.

 

Regards,

 

Michael

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

_______________________________________________
http://pledgie.com/campaigns/12056
Reply | Threaded
Open this post in threaded view
|

Re: Baruwa 2.0.1 Node status.

Michael Van Der Beek

Hi Jeremy,

 

Ah setting the fqdn works.

 

Now I have a different problem.

 

For some strange reason I am getting

WebApp Error: <type 'exceptions.AttributeError'>: 'function' object has no attribute 'id'

 

When I try to train an email as spam or clean.

In celeryd.log  for each of the above error.

2014-04-25 09:47:35,861 Baruwa[1420]: Got task from broker: process-quarantined-msg[7b530ff4-dd25-4224-9772-3a0434608bf5]

2014-04-25 09:47:35,861 Baruwa[1420]: Processing quarantined message: 1WdMj1-0006on-Si

2014-04-25 09:47:35,926 Baruwa[1420]: Task process-quarantined-msg[7b530ff4-dd25-4224-9772-3a0434608bf5] raised exception: AttributeError("'function' object has

no attribute 'id'",)

Traceback (most recent call last):

  File "/home/baruwa/px/lib/python2.6/site-packages/celery/task/trace.py", line 233, in trace_task

    R = retval = fun(*args, **kwargs)

  File "/home/baruwa/px/lib/python2.6/site-packages/celery/task/trace.py", line 420, in __protected_call__

    return self.run(*args, **kwargs)

  File "/home/baruwa/px/lib/python2.6/site-packages/baruwa/tasks/messages.py", line 140, in process_quarantined_msg

    return process_message(job, logger)

  File "/home/baruwa/px/lib/python2.6/site-packages/baruwa/tasks/messages.py", line 107, in process_message

    task=task.id, error=str(exception)))

AttributeError: 'function' object has no attribute 'id'

 

In httpd/baruwa_error.log

[Fri Apr 25 09:47:36 2014] [error] [client 10.10.0.232] Error - <type 'exceptions.AttributeError'>: 'function' object has no attribute 'id', referer: Baruwa warning: numerical links are often malicious: http://10.20.1.196/messages/detail/82

 

 

Any idea whats wrong? Yesterday I could retrain email accordingly.

 

Regards,

 

Michael

 

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Jeremy McSpadden
Sent: Thursday, 24 April, 2014 7:06 PM
To: Baruwa users list
Subject: Re: [Baruwa] Baruwa 2.0.1 Node status.

 

I fixed those issues already. ... Odd



Node status is the Host you set in rabbit. Hopefully fqdn. 



--

Jeremy McSpadden

Flux Labs | http://www.fluxlabs.net | Endless Solutions

Office : 850-250-5590x501 | Cell : 850-890-2543 | Fax : 850-254-2955


On Apr 23, 2014, at 11:41 PM, "Michael Van Der Beek" <[hidden email]> wrote:

Hi Support,

 

I’m running 2.0.1 using exim. Using http://www.baruwa-install.com/#admin

Fixed some things in the script.

Rabbit needs to update to 3.3.0 otherwise it cannot find the file.

/var/log/clamav/*.log was set to root:root.. so needs to change to clamav:clamav

/var/lib/clamav was also set to root:root so the downloads failed.. also set to clamav:clamav.

Other than that, everything seems fine. Oh i turned off selinux before install.

 

I have 2 interfaces on the system. Internal 10.20.1.196 and external 192.168.50.70 (facing the router).. port 25 is portforwarded.

Mail can arrive and process correctly.

 

I only have one system that is active.

Do I add the node as localhost (127.0.0.1) or the interface IP (192.168.50.70)?

 

Either way, I get error retrieving data.

Any suggestion?

 

Secondly, for the pdf generation. It seems to work everywhere except for spam score distribution.

 

Regards,

 

Michael

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


_______________________________________________
http://pledgie.com/campaigns/12056
Reply | Threaded
Open this post in threaded view
|

Re: Baruwa 2.0.1 Node status.

Michael Van Der Beek

Hi Jeremy,

 

Another thing I noticed when such an error occurs. The system sends out an error but with From User: <>

Which bounces off exchange since it filters out <> users. Hence it gets stuck in the outbound queue.

 

Regards,

 

Michael

 

 

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Michael Van Der Beek
Sent: Friday, 25 April, 2014 9:18 AM
To: Baruwa users list
Subject: Re: [Baruwa] Baruwa 2.0.1 Node status.

 

Hi Jeremy,

 

Ah setting the fqdn works.

 

Now I have a different problem.

 

For some strange reason I am getting

WebApp Error: <type 'exceptions.AttributeError'>: 'function' object has no attribute 'id'

 

When I try to train an email as spam or clean.

In celeryd.log  for each of the above error.

2014-04-25 09:47:35,861 Baruwa[1420]: Got task from broker: process-quarantined-msg[7b530ff4-dd25-4224-9772-3a0434608bf5]

2014-04-25 09:47:35,861 Baruwa[1420]: Processing quarantined message: 1WdMj1-0006on-Si

2014-04-25 09:47:35,926 Baruwa[1420]: Task process-quarantined-msg[7b530ff4-dd25-4224-9772-3a0434608bf5] raised exception: AttributeError("'function' object has

no attribute 'id'",)

Traceback (most recent call last):

  File "/home/baruwa/px/lib/python2.6/site-packages/celery/task/trace.py", line 233, in trace_task

    R = retval = fun(*args, **kwargs)

  File "/home/baruwa/px/lib/python2.6/site-packages/celery/task/trace.py", line 420, in __protected_call__

    return self.run(*args, **kwargs)

  File "/home/baruwa/px/lib/python2.6/site-packages/baruwa/tasks/messages.py", line 140, in process_quarantined_msg

    return process_message(job, logger)

  File "/home/baruwa/px/lib/python2.6/site-packages/baruwa/tasks/messages.py", line 107, in process_message

    task=task.id, error=str(exception)))

AttributeError: 'function' object has no attribute 'id'

 

In httpd/baruwa_error.log

[Fri Apr 25 09:47:36 2014] [error] [client 10.10.0.232] Error - <type 'exceptions.AttributeError'>: 'function' object has no attribute 'id', referer: Baruwa has detected a possible fraud attempt from "10.20.1.196" claiming to be Baruwa warning: numerical links are often malicious: http://10.20.1.196/messages/detail/82

 

 

Any idea whats wrong? Yesterday I could retrain email accordingly.

 

Regards,

 

Michael

 

 

From: [hidden email] [[hidden email]] On Behalf Of Jeremy McSpadden
Sent: Thursday, 24 April, 2014 7:06 PM
To: Baruwa users list
Subject: Re: [Baruwa] Baruwa 2.0.1 Node status.

 

I fixed those issues already. ... Odd

 

Node status is the Host you set in rabbit. Hopefully fqdn. 

 

--

Jeremy McSpadden

Flux Labs | http://www.fluxlabs.net | Endless Solutions

Office : 850-250-5590x501 | Cell : 850-890-2543 | Fax : 850-254-2955


On Apr 23, 2014, at 11:41 PM, "Michael Van Der Beek" <[hidden email]> wrote:

Hi Support,

 

I’m running 2.0.1 using exim. Using http://www.baruwa-install.com/#admin

Fixed some things in the script.

Rabbit needs to update to 3.3.0 otherwise it cannot find the file.

/var/log/clamav/*.log was set to root:root.. so needs to change to clamav:clamav

/var/lib/clamav was also set to root:root so the downloads failed.. also set to clamav:clamav.

Other than that, everything seems fine. Oh i turned off selinux before install.

 

I have 2 interfaces on the system. Internal 10.20.1.196 and external 192.168.50.70 (facing the router).. port 25 is portforwarded.

Mail can arrive and process correctly.

 

I only have one system that is active.

Do I add the node as localhost (127.0.0.1) or the interface IP (192.168.50.70)?

 

Either way, I get error retrieving data.

Any suggestion?

 

Secondly, for the pdf generation. It seems to work everywhere except for spam score distribution.

 

Regards,

 

Michael

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


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