That was my assumption: The original link had the wrong pointer and the
new one was correct. However, I always received a "not found" error when
removing it and recreating it broke my install. Left alone, everything
works fine.
On 03/19/2013 01:51 PM, John Liss wrote:
*From:*[email protected]
[mailto:[email protected]] *On Behalf Of *Rowland Penny
*Sent:* Tuesday, March 19, 2013 10:34 AM
*To:* [email protected]
*Subject:* Re: [Baruwa] Can't get celeryd to run / log empty
On 19/03/13 15:11, Raymond Norton wrote:
Just an FYI to list members that helped me trouble shoot this
issue last week. I was able to get celeryd running fine, as long
as I did not execute this line from the tutorial:
rm --r /usr/share/pyshared/baruwa/settings.py && ln --s
/etc/baruwa/settings.py /usr/share/pyshared/baruwa/
Just tested it again on a clone of my vm and now celeryd will not run.
Bit strange this, if you examine the deb that you download from the
spamsnake instructions, you will find that what 'rm --r
/usr/share/pyshared/baruwa/settings.py && ln --s
/etc/baruwa/settings.py /usr/share/pyshared/baruwa/' does is this:
It removes a symbolic link to /etc/baruwa/settings.py and then
recreates it in exactly the same place.
So if it is failing, there must be a fault in the way you entered the
command, cut & paste by any chance?
Anyway, whatever the reason it failed, it appears to be a pointless
exercise, so IMHO, just don't bother with the command, it, as you say,
works anyway without it.
If you look at the command, it removes the settings.py first, then
tries to link to it.
**shrug** I don't know why you would want to do that.
I think the objective of the author (atleast I have seen it in other
Baruwa installs) is to create a /etc/baruwa/settings.py link to the
real /usr/share/pyshared/baruwa/settings.py
If anything it should be:
rm --rf /etc/baruwa/settings.py; ln --s /etc/baruwa/settings.py
/usr/share/pyshared/baruwa/settings.py
In cmd1 && cmd2, cmd2 is only executed if cmd1 succeeds (returns 0).
In cmd1 ; cmd2, cmd2 is executed in any case.
--
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
_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056