Brent Addis | 4 Dec 04:09 2011
Picon

Releasing messages - 1.1.1 Ubuntu Oneric

Hi,

I have upgraded our cluster to Oneiric and the latest packages from the Baruwa Repo.

Everything appears to work okay apart from any of the release/learn actions.

If I disable javascript it appears to be okay, I can release messages, celery sees it and the end user sees the message.

Error:  Error connecting to server. check network!

When I run this, I have run tcpdump on both lo and eth0 and there is no traffic coming from the system trying to talk to anything.

I can find no logs in apache not syslog.

This happens with Firefox when used with Ubuntu
IE & Firefox within windows.

Are there any patches or anything that I can install to rectify this?

Let me know if there is anything else I can provide

 
Otherwise it looks great, Awesome work Andrew!


 

Brent Addis
Systems Integration Specialist
Network Service Providers Ltd.
  
Unit 1, 13 Farnham St, Parnell, Auckland 1052
PO Box 90208, Victoria West, Auckland

 

Email: brent.addis <at> nsp.co.nz | Support: support <at> nsp.co.nz | Web: http://www.nsp.co.nz

Tel: +64-9-306-0230 | Support: +64-9-306-0234 | Fax: +64-9-306-0239


This email message and any accompanying attachments may contain legally priveliged and confidential information intended for the addressee only.  If you are not the addressee your use of this information is strictly prohibited.

 

NSP - 2011 Managed Services Rookie of the Year Award - Australasia

 

_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056
John Hudson | 4 Dec 18:19 2011

How do I add a domain?

I have recently installed Baruwa on Ubuntu oneiric using the online development manual. I believe that to add domains you have to be a domain admin. I have tried to change the profile from administrator using the account type dropdown. When I click update validation complains that I should enter a whole number in Sa high score and Sa high score. I have removed the decimal point and the update appears to succeed.

 

The profile settings still show account type as administrator. Spam high and low score have .0 added. When I click edit Account Type is shown as Domain Admin. Sa high and low score validation fails again.

 

How can I add a domain?

_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056
Jeremy McSpadden | 4 Dec 18:28 2011
Picon

Re: How do I add a domain?

Settings > Accounts > (click icon beside your domain admin account >
Scroll down to Domains Managed, click Add. 

Your SA scores should be 5 & 10 Usually. Setting it to .0 would be pointless as all would pass. 


--
Jeremy McSpadden

On Dec 4, 2011, at 11:19 AM, "John Hudson" <john-luo4QdlHCY5zyzON3hdc1g@public.gmane.org> wrote:

<!-- /* Font Definitions */ <at> font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-fareast-language:EN-US;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} .MsoChpDefault {mso-style-type:export-only; font-family:"Calibri","sans-serif"; mso-fareast-language:EN-US;} <at> page WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt;} div.WordSection1 {page:WordSection1;} -->

I have recently installed Baruwa on Ubuntu oneiric using the online development manual. I believe that to add domains you have to be a domain admin. I have tried to change the profile from administrator using the account type dropdown. When I click update validation complains that I should enter a whole number in Sa high score and Sa high score. I have removed the decimal point and the update appears to succeed.

 

The profile settings still show account type as administrator. Spam high and low score have .0 added. When I click edit Account Type is shown as Domain Admin. Sa high and low score validation fails again.

 

How can I add a domain?

_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056
_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056
fabio_miotti | 5 Dec 13:56 2011

zombie process+no records returned

Hi

i have 2 problems:
1) i have installed baruwa in ubuntu server  11.1
after installation there is zombie process
user: celeryd
command: python defunct

how can i solve it ?

2) in baruwa ie,i have "no records returned" in messages?

why?

/var/spool/MailScanner   is 755 postfix: www-data

/var/spool/MailScanner/incoming is 755 postfix: clamav

thanks
_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056
Andrew Colin Kissa | 5 Dec 14:03 2011
Picon

Re: zombie process+no records returned


On 05 Dec 2011, at 2:56 PM, fabio_miotti@... wrote:

> 1) i have installed baruwa in ubuntu server  11.1 
> after installation there is zombie process 
> user: celeryd 
> command: python defunct 
> 
> how can i solve it ? 

Please check why the process died, "service baruwa status" as well
as the logs in /var/log/baruwa

> 
> 2) in baruwa ie,i have "no records returned" in messages? 
> 
> why? 

Have you configured the perl module "Always Looked Up Last = &BaruwaSQL"
please check MailScanner --lint for errors as well as you maillog.

--
Baruwa - www.baruwa.org

_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056

fabio_miotti | 5 Dec 14:19 2011

Rif: Re: zombie process+no records returned

1)  with "service baruwa status" -->  celeryd is running

when i reboot server, in /var/log/baruwa/celeryd.log there there is some errors:

amqplib://baruwa <at> localhost:5672/baruwa
- ** ----------   . loader:      djcelery.loaders.DjangoLoader
- ** ----------   . logfile:     /var/log/baruwa/celeryd.log <at> INFO
- ** ----------   . concurrency: 1
- ** ----------   . events:      ON
- *** --- * ---   . beat:        ON
-- ******* ----
--- ***** ----- [Queues]
 --------------   . default:     exchange:default (direct) binding:default
                  . spamassassin: exchange:default (direct) binding:spamassassin

[Tasks]
  . delete-domain-signature-files
  . delete-user-signature-files
  . generate-domain-signature-files
  . generate-user-signature-files
  . preview-message
  . process-quarantine
  . process-quarantined-msg
  . release-message
  . test-smtp-server
[2011-12-05 12:30:15,165: INFO/PoolWorker-2] child process calling self.run()
[2011-12-05 12:30:15,172: WARNING/MainProcess] celery <at> spamassassin has started.
[2011-12-05 12:30:15,173: ERROR/MainProcess] Consumer: Connection Error: [Errno 111] Connection refused. Trying again in 2 seconds...
[2011-12-05 12:30:15,174: INFO/Beat] child process calling self.run()
[2011-12-05 12:30:15,174: INFO/Beat] Celerybeat: Starting...
[2011-12-05 12:30:15,197: INFO/Beat] process shutting down
[2011-12-05 12:30:15,197: WARNING/Beat] Process Beat:
[2011-12-05 12:30:15,197: WARNING/Beat] Traceback (most recent call last):
[2011-12-05 12:30:15,197: WARNING/Beat] File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
[2011-12-05 12:30:15,197: WARNING/Beat] self.run()
[2011-12-05 12:30:15,197: WARNING/Beat] File "/usr/lib/pymodules/python2.7/celery/beat.py", line 437, in run
[2011-12-05 12:30:15,197: WARNING/Beat] self.service.start(embedded_process=True)
[2011-12-05 12:30:15,197: WARNING/Beat] File "/usr/lib/pymodules/python2.7/celery/beat.py", line 377, in start
[2011-12-05 12:30:15,197: WARNING/Beat] interval = self.scheduler.tick()
[2011-12-05 12:30:15,197: WARNING/Beat] File "/usr/lib/pymodules/python2.7/celery/beat.py", line 184, in tick
[2011-12-05 12:30:15,197: WARNING/Beat] next_time_to_run = self.maybe_due(entry, self.publisher)
[2011-12-05 12:30:15,197: WARNING/Beat] File "/usr/lib/pymodules/python2.7/kombu/utils/__init__.py", line 221, in __get__
[2011-12-05 12:30:15,198: WARNING/Beat] value = obj.__dict__[self.__name__] = self.__get(obj)
[2011-12-05 12:30:15,198: WARNING/Beat] File "/usr/lib/pymodules/python2.7/celery/beat.py", line 275, in publisher
[2011-12-05 12:30:15,198: WARNING/Beat] return self.Publisher(connection=self.connection)
[2011-12-05 12:30:15,198: WARNING/Beat] File "/usr/lib/pymodules/python2.7/celery/app/amqp.py", line 328, in TaskPublisher
[2011-12-05 12:30:15,198: WARNING/Beat] return TaskPublisher(*args, **self.app.merge(defaults, kwargs))
[2011-12-05 12:30:15,198: WARNING/Beat] File "/usr/lib/pymodules/python2.7/celery/app/amqp.py", line 156, in __init__
[2011-12-05 12:30:15,198: WARNING/Beat] super(TaskPublisher, self).__init__(*args, **kwargs)
[2011-12-05 12:30:15,198: WARNING/Beat] File "/usr/lib/pymodules/python2.7/kombu/compat.py", line 80, in __init__
[2011-12-05 12:30:15,198: WARNING/Beat] self.backend = connection.channel()
[2011-12-05 12:30:15,198: WARNING/Beat] File "/usr/lib/pymodules/python2.7/kombu/connection.py", line 124, in channel
[2011-12-05 12:30:15,198: WARNING/Beat] chan = self.transport.create_channel(self.connection)
[2011-12-05 12:30:15,198: WARNING/Beat] File "/usr/lib/pymodules/python2.7/kombu/connection.py", line 444, in connection
[2011-12-05 12:30:15,199: WARNING/Beat] self._connection = self._establish_connection()
[2011-12-05 12:30:15,199: WARNING/Beat] File "/usr/lib/pymodules/python2.7/kombu/connection.py", line 410, in _establish_connection
[2011-12-05 12:30:15,199: WARNING/Beat] conn = self.transport.establish_connection()
[2011-12-05 12:30:15,199: WARNING/Beat] File "/usr/lib/pymodules/python2.7/kombu/transport/pyamqplib.py", line 252, in establish_connection
[2011-12-05 12:30:15,199: WARNING/Beat] connect_timeout=conninfo.connect_timeout)
[2011-12-05 12:30:15,199: WARNING/Beat] File "/usr/lib/pymodules/python2.7/kombu/transport/pyamqplib.py", line 51, in __init__
[2011-12-05 12:30:15,199: WARNING/Beat] super(Connection, self).__init__(*args, **kwargs)
[2011-12-05 12:30:15,199: WARNING/Beat] File "/usr/lib/python2.7/dist-packages/amqplib/client_0_8/connection.py", line 129, in __init__
[2011-12-05 12:30:15,199: WARNING/Beat] self.transport = create_transport(host, connect_timeout, ssl)
[2011-12-05 12:30:15,199: WARNING/Beat] File "/usr/lib/python2.7/dist-packages/amqplib/client_0_8/transport.py", line 281, in create_transport
[2011-12-05 12:30:15,199: WARNING/Beat] return TCPTransport(host, connect_timeout)
[2011-12-05 12:30:15,199: WARNING/Beat] File "/usr/lib/python2.7/dist-packages/amqplib/client_0_8/transport.py", line 85, in __init__
[2011-12-05 12:30:15,200: WARNING/Beat] raise socket.error, msg
[2011-12-05 12:30:15,200: WARNING/Beat] error: [Errno 111] Connection refused
[2011-12-05 12:30:15,200: INFO/Beat] process exiting with exitcode 1
[2011-12-05 12:30:17,173: ERROR/MainProcess] Consumer: Connection Error: [Errno 111] Connection refused. Trying again in 4 seconds...
[2011-12-05 12:30:21,177: ERROR/MainProcess] Consumer: Connection Error: [Errno 111] Connection refused. Trying again in 6 seconds...


2) Mailscanner --lint --> there is not error
Always Looked Up Last = &BaruwaSQL"  --> it has already configured  in /etc/MailScanner/MailScanner.conf and /etc/MailScanner/conf.d/baruwa.conf

there is not error in /var/log/mail.err

_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056
Andrew Colin Kissa | 5 Dec 14:23 2011
Picon

Re: Rif: Re: zombie process+no records returned


On 05 Dec 2011, at 3:19 PM, fabio_miotti@... wrote:

> seconds... 
> [2011-12-05 12:30:21,177: ERROR/MainProcess] Consumer: Connection Error: [Errno 111] Connection
refused. Trying again in 6 seconds...

As you can see from that error, either rabbitmq is not running or the user details you have configured are incorrect,

as for the messages showing up are you sure the is mail flowing ?

--
Baruwa - www.baruwa.org

_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056

fabio_miotti | 5 Dec 14:33 2011

Rif: Re: Rif: Re: zombie process+no records returned

it's strange because  rabbitmq-server is running correctly

i show you the log
AMQP 0-9-1 / 0-9 / 0-8
Copyright (C) 2007-2011 VMware, Inc.
Licensed under the MPL.  See http://www.rabbitmq.com/

node           : rabbit <at> spamassassin
app descriptor : /usr/lib/rabbitmq/lib/rabbitmq_server-2.5.0/sbin/../ebin/rabbit.app
home dir       : /var/lib/rabbitmq
config file(s) : (none)
cookie hash    : 1FBTpCwGatm1dMc+fdWcpg==
log            : /var/log/rabbitmq/rabbit-dw9K06Jb25eyUWbJEAReuA@public.gmane.org
sasl log       : /var/log/rabbitmq/rabbit-dw9K06Jb25dkswkc4zmGAOID6YYvTVg7@public.gmane.org
database dir   : /var/lib/rabbitmq/mnesia/rabbit <at> spamassassin
erlang version : 5.8.3

-- rabbit boot start
starting file handle cache server                                     ...done
starting worker pool                                                  ...done
starting database                                                     ...done
starting codec correctness check                                      ...done
-- external infrastructure ready
starting statistics event manager                                     ...done
starting logging server                                               ...done
starting plugin registry                                              ...done
starting auth mechanism amqplain                                      ...done
starting auth mechanism cr-demo                                       ...done
starting auth mechanism plain                                         ...done
starting exchange type direct                                         ...done
starting exchange type fanout                                         ...done
starting exchange type headers                                        ...done
starting exchange type topic                                          ...done
-- kernel ready
starting node monitor                                                 ...done
starting cluster delegate                                             ...done
starting guid generator                                               ...done
starting alarm handler                                                ...done
starting memory monitor                                               ...done
-- core initialized
starting empty DB check                                               ...done
starting exchange, queue and binding recovery                         ...done
-- message delivery logic ready
starting error log relay                                              ...done
starting networking                                                   ...done
starting notify cluster nodes                                         ...done
starting direct_client                                                ...done

broker running
Mon Dec  5 14:15:58 CET 2011 - rabbitmq successfully started



and

=INFO REPORT==== 5-Dec-2011::14:15:57 ===
Limiting to approx 924 file handles (829 sockets)

=INFO REPORT==== 5-Dec-2011::14:15:57 ===
Memory limit set to 198MB.

=INFO REPORT==== 5-Dec-2011::14:15:57 ===
msg_store_transient: using rabbit_msg_store_ets_index to provide index

=INFO REPORT==== 5-Dec-2011::14:15:57 ===
msg_store_persistent: using rabbit_msg_store_ets_index to provide index

=INFO REPORT==== 5-Dec-2011::14:15:57 ===
started TCP Listener on [::]:5672

=INFO REPORT==== 5-Dec-2011::14:16:03 ===
accepted TCP connection on [::]:5672 from 127.0.0.1:33227

=INFO REPORT==== 5-Dec-2011::14:16:03 ===
starting TCP connection <0.213.0> from 127.0.0.1:33227


in /etc/baruwa/settings.py the settings are correctly with broker_vhost,broker_password,broker_user,etc...




Da:        Andrew Colin Kissa <andrew-qeYcqAzTSW8Xhy9q4Lf3Ug@public.gmane.org>
Per:        Baruwa users list <baruwa-nJFXYWEDAR/xThsfVBBi/g@public.gmane.org>
Data:        05/12/2011 14:23
Oggetto:        Re: [Baruwa] Rif: Re:  zombie process+no records returned




On 05 Dec 2011, at 3:19 PM, fabio_miotti-uFi2wFRvbgGZox4op4iWzw@public.gmane.org wrote:

> seconds...
> [2011-12-05 12:30:21,177: ERROR/MainProcess] Consumer: Connection Error: [Errno 111] Connection refused. Trying again in 6 seconds...

As you can see from that error, either rabbitmq is not running or the user details you have configured are incorrect,

as for the messages showing up are you sure the is mail flowing ?

--
Baruwa - www.baruwa.org

_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056

_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056
fabio_miotti | 5 Dec 15:02 2011

In: Re: Rif: Re: zombie process+no records returned

any answer for my updates about problem1 ?

for problem 2 (no record returned), i see into mysql database baruwa: there is nothing in table "messages"


_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056
fabiomc | 5 Dec 15:11 2011

Re: zombie process+no records returned

any answer for my updates about problem1 ?

for problem 2 (no record returned), i see into mysql database baruwa: there
is nothing in table "messages"

--
View this message in context: http://baruwa-users-list.963389.n3.nabble.com/zombie-process-no-records-returned-tp3561331p3561533.html
Sent from the Baruwa users list mailing list archive at Nabble.com.
_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056


Gmane