salt rc.d scripts (Was: RUN_DEPENDS for python based port)
Christer Edwards
christer.edwards at gmail.com
Fri Dec 23 07:47:50 UTC 2011
On Fri, Dec 23, 2011 at 12:43 AM, Doug Barton <dougb at freebsd.org> wrote:
> On 12/22/2011 23:40, Christer Edwards wrote:
>> On Fri, Dec 23, 2011 at 12:32 AM, Doug Barton <dougb at freebsd.org> wrote:
>>> So now do 'ps axww | grep salt' and confirm that it's really running
>>> with python2.7, as opposed to something different.
>>
>> Indeed it is running with python2.7
>
> Ok, does the pid file exist? Does it have the correct information?
The pid file does not seem to get created. See this output..
[root at salt /usr/local/etc/rc.d]# ls -hal /var/run/salt*
ls: /var/run/salt*: No such file or directory
[root at salt /usr/local/etc/rc.d]# ./salt_master start
Starting salt_master.
[root at salt /usr/local/etc/rc.d]# ls -hal /var/run/salt*
ls: /var/run/salt*: No such file or directory
[root at salt /usr/local/etc/rc.d]# ps axww | grep salt
13130 ?? SJ 0:00.10 /usr/local/bin/python2.7
/usr/local/bin/salt-master -c /usr/local/etc/salt/master -d
13131 ?? SJ 0:00.01 /usr/local/bin/python2.7
/usr/local/bin/salt-master -c /usr/local/etc/salt/master -d
13132 ?? SJ 0:00.01 /usr/local/bin/python2.7
/usr/local/bin/salt-master -c /usr/local/etc/salt/master -d
13133 ?? SJ 0:00.01 /usr/local/bin/python2.7
/usr/local/bin/salt-master -c /usr/local/etc/salt/master -d
13134 ?? SJ 0:00.01 /usr/local/bin/python2.7
/usr/local/bin/salt-master -c /usr/local/etc/salt/master -d
13135 ?? SJ 0:00.01 /usr/local/bin/python2.7
/usr/local/bin/salt-master -c /usr/local/etc/salt/master -d
13136 ?? SJ 0:00.01 /usr/local/bin/python2.7
/usr/local/bin/salt-master -c /usr/local/etc/salt/master -d
13137 ?? SJ 0:00.01 /usr/local/bin/python2.7
/usr/local/bin/salt-master -c /usr/local/etc/salt/master -d
More information about the freebsd-ports
mailing list