I had the same issue on the MailScanner.pid... Didn't want to mess with
it, so I created the folder and assigned permissions in rc.local
(Ubuntu), so it was there for the pid when MailScanner started.
Not pretty, but works :)
On 02/21/2013 09:13 AM, Johnson, SE wrote:
Anyone have any idea on what may be going on here with Baruwa's
startup script?
*From:*[email protected]
[mailto:[email protected]] *On Behalf Of *Johnson, SE
*Sent:* Tuesday, February 19, 2013 1:42 PM
*To:* 'Baruwa users list'
*Subject:* Re: [Baruwa] /var/run/baruwa/baruwa.pid issues
Only after I re-create the /var/run/baruwa and reassign the rights to
celeryd.celeryd and then run service baruwa start
*From:*[email protected]
<mailto:[email protected]>
[mailto:[email protected]]
<mailto:[mailto:[email protected]]> *On Behalf Of
*Jeremy McSpadden
*Sent:* Tuesday, February 19, 2013 1:38 PM
*To:* Baruwa users list
*Subject:* Re: [Baruwa] /var/run/baruwa/baruwa.pid issues
If you manually start the service, does it start ?
--
Jeremy McSpadden
Flux Labs, Inc | http://www.fluxlabs.net <http://www.fluxlabs.net/> |
Endless Solutions
Office : 850-250-5590x101 <tel:850-250-5590;101> | Cell : 850-890-2543
<tel:850-890-2543> | Fax : 850-254-2955 <tel:850-254-2955>
On Feb 19, 2013, at 1:37 PM, "Johnson, SE" <[email protected]
<mailto:[email protected]>> wrote:
[root@mailfilter selinux]# /usr/sbin/sestatus
SELinux status: disabled
*From:*[email protected]
<mailto:[email protected]>
[mailto:[email protected]] *On Behalf Of *Johnson, SE
*Sent:* Tuesday, February 19, 2013 1:27 PM
*To:* Baruwa users list
*Subject:* Re: [Baruwa] /var/run/baruwa/baruwa.pid issues
It already is...
*From:*[email protected]
<mailto:[email protected]>
[mailto:[email protected]]
<mailto:[mailto:[email protected]]> *On Behalf Of
*Jeremy McSpadden
*Sent:* Tuesday, February 19, 2013 1:25 PM
*To:* Baruwa users list
*Subject:* Re: [Baruwa] /var/run/baruwa/baruwa.pid issues
Disable SElinux
--
Jeremy McSpadden
Flux Labs, Inc | http://www.fluxlabs.net
<http://www.fluxlabs.net/> | Endless Solutions
Office : 850-250-5590x101 <tel:850-250-5590;101> | Cell :
850-890-2543 <tel:850-890-2543> | Fax : 850-254-2955
<tel:850-254-2955>
On Feb 19, 2013, at 1:24 PM, "Johnson, SE"
<[email protected] <mailto:[email protected]>> wrote:
Running on FC17x64
Baruwa on a restart fails to start with:
[2013-02-19 10:26:05,345: WARNING/MainProcess] LockFailed
[2013-02-19 10:26:05,345: WARNING/MainProcess] :
[2013-02-19 10:26:05,345: WARNING/MainProcess] [Errno 2] No
such file or directory: '/var/run/baruwa/celeryd.pid'
I create the folder by hand:
mkdir -p /var/run/baruwa
chown celeryd.celeryd /var/run/baruwa
and the service starts.
Issue shows again on restart as the /var/run/baruwa folder
goes away
I tried pointing the CELERYD_PID_FILE to /var/run but I get an
access denied
I've also tried adding in a mkdir --p /var/run/baruwa and
chown celeryd.celeryd in the startup script and the system
wont boot after I do that...
Any ideas on how I can get this started on reboot?
Thanks!
_______________________________________________
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.
--
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
--
This message has been scanned for viruses and
dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
believed to be clean.
--
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