Just installed rabbitmq, celeryd and baruwa and did not reboot.
Celeryd runs on a restart of baruwa, but a tail of [email protected]
shows the following:
=ERROR REPORT==== 14-Mar-2013::10:22:35 ===
closing AMQP connection <0.513.0> (127.0.0.1:40150 -> 127.0.0.1:5672):
{handshake_error,starting,0,
{amqp_error,access_refused,
"AMQPLAIN login refused: user 'baruwa' -
invalid credentials",
'connection.start_ok'}}
=ERROR REPORT==== 14-Mar-2013::10:22:35 ===
closing AMQP connection <0.509.0> (127.0.0.1:40149 -> 127.0.0.1:5672):
{handshake_error,starting,0,
{amqp_error,access_refused,
"AMQPLAIN login refused: user 'baruwa' -
invalid credentials",
'connection.start_ok'}}
This is how rabbitmq was set up (exactly)
rabbitmqctl add_user baruwa password
rabbitmqctl add_vhost baruwa
rabbitmqctl set_permissions -p baruwa baruwa ".*" ".*" ".*"
rabbitmqctl delete_user guest
ps aux \grep baruwa:
celeryd 7297 0.1 3.0 478320 31184 ? Sl 10:18 0:01 python
/usr/share/pyshared/baruwa/manage.py celeryd --time-limit=300 -E --beat
-s /var/lib/baruwa/celerybeat-schedule -f /var/log/baruwa/celeryd.log -l
INFO
celeryd 7305 0.0 2.6 183244 26732 ? S 10:18 0:00 python
/usr/share/pyshared/baruwa/manage.py celeryd --time-limit=300 -E --beat
-s /var/lib/baruwa/celerybeat-schedule -f /var/log/baruwa/celeryd.log -l
INFO
celeryd 7311 0.0 2.9 491196 29884 ? S 10:18 0:00 python
/usr/share/pyshared/baruwa/manage.py celeryd --time-limit=300 -E --beat
-s /var/lib/baruwa/celerybeat-schedule -f /var/log/baruwa/celeryd.log -l
INFO
root 7545 0.0 0.0 9388 924 pts/1 S+ 10:27 0:00 grep
--color=auto baruwa
On 03/14/2013 09:43 AM, Terry Hulen Jr wrote:
Let me know how it comes out...
On Thu, Mar 14, 2013 at 10:42 AM, Raymond Norton <[email protected]
<mailto:[email protected]>> wrote:
Interesting... I changed mine (added /baruwa), because I saw it as
incorrect.
Rolling back to a snap shot and picking up from there. I will
leave scripts as I find them this time.
On 03/14/2013 09:38 AM, Terry Hulen Jr wrote:
I see something interesting in my configs
/etc/default/baruwa
CELERYD_LOG_FILE=/var/log/baruwa/celeryd.log
CELERYD_PID_FILE=/var/run/baruwa/celeryd.pid
/etc/init.d/baruwa
CELERYD_LOG_FILE=${CELERYD_LOG_FILE:-${CELERYD_LOGFILE:-"/var/log/celeryd.log"}}
CELERYD_PID_FILE=${CELERYD_PID_FILE:-${CELERYD_PIDFILE:-"/var/run/celeryd.pid"}}
My actual log file is in /var/log/baruwa/...
My actual PID file is in /var/run/baruwa/...
I am not sure if that makes a difference or not, but mine works.
On Thu, Mar 14, 2013 at 10:34 AM, Raymond Norton <[email protected]
<mailto:[email protected]>> wrote:
No errors and everything works except celeryd
On 03/14/2013 09:31 AM, Terry Hulen Jr wrote:
And when you try to start it?
On Thu, Mar 14, 2013 at 10:29 AM, Raymond Norton
<[email protected] <mailto:[email protected]>> wrote:
Have done that.
restart comes back with there is no process running to stop.
status shows celeryd is not running.
On 03/14/2013 09:25 AM, Terry Hulen Jr wrote:
I didn't see anyone recommend:
service baruwa status
OR
service baruwa restart
OR
service baruwa start
If someone did and I apologize
On Thu, Mar 14, 2013 at 10:22 AM, Raymond Norton
<[email protected] <mailto:[email protected]>> wrote:
Used your (Terry) modified script, but it did not
help. Everything else works fine, just not celryd.
On 03/14/2013 08:52 AM, Raymond Norton wrote:
yes... that is what I have
On 03/14/2013 08:48 AM, Terry Hulen Jr wrote:
I just noticed that you used the SpamSnake
tutorial. There is something that needs
changed in the startup script for
permissions. Change all the www-data group
settings in /etc/init.d/mailscanner to celeryd.
I also had to change some things in the
script in order to be compliant with perl.
You can find my last post here:
http://www.howtoforge.com/forums/showthread.php?t=60517
I am not sure if this will help or not but
since you used the spamsnake tutorial, it
may be relevant.
_______________________________________________
Keep Baruwa FREE -
http://pledgie.com/campaigns/12056
--
Raymond Norton
LCTN
952.955.7766 <tel:952.955.7766>
_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056
--
This message has been scanned for viruses and
dangerous content by *MailScanner*
<http://www.mailscanner.info/>, and is
believed to be clean.
_______________________________________________
Keep Baruwa FREE -http://pledgie.com/campaigns/12056
--
Raymond Norton
LCTN
952.955.7766 <tel:952.955.7766>
_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056
_______________________________________________
Keep Baruwa FREE -http://pledgie.com/campaigns/12056
--
Raymond Norton
LCTN
952.955.7766 <tel:952.955.7766>
_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056
_______________________________________________
Keep Baruwa FREE -http://pledgie.com/campaigns/12056
--
Raymond Norton
LCTN
952.955.7766 <tel:952.955.7766>
_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056
_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056
--
Raymond Norton
LCTN
952.955.7766
_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056