Hi Scott,

I've traced this problem to a function in /etc/inc/util.inc.

If you comment out the following line in /etc/inc/filter.inc and reboot:
//mwexec_bg("/usr/bin/nice -n20 /usr/local/sbin/check_reload_status 2>/dev/null");

Only openvpn will be listening on *:443 post-reboot. /etc/rc contains an entry to start check_reload_status manually, without PHP interaction.

I've tried modifying mwexec_bg() in /etc/inc/util.inc, but have been unable to get the problem to go away. I've tried system(), shell_exec(), popen(), and proc_open(), all to no avail. The problem exists no matter what PHP execute call you use. I don't know if this is a deeper underlying problem with PHP, but I was hoping you (or someone else) might have a better workaround for the issue. Thoughts?


-Kyle

Scott Ullrich wrote:
No, this one has only been discussed at great lengths on our developer
list.   I would start by auditing check_reload_status.

Scott


On 1/16/07, Kyle Mott <[EMAIL PROTECTED]> wrote:
Is there a bug open on this currently? I'd like to see what ya'll have
done so far, so I don't repeat myself.


-Kyle

Scott Ullrich wrote:
> Unfortunately none of us have a clue on this bug.  How another program
> can inherit anothers soket descriptor is just beyond our grasp.
>
>
> On 1/16/07, Kyle Mott <[EMAIL PROTECTED]> wrote:
>> Do you need help with the bug? Is there anything I can do?
>>
>> Do you guys have any beta builds of 1.1 (or whatever the next version
>> will be) that I can try?
>>
>>
>> -Kyle
>>
>> Scott Ullrich wrote:
>> > On 1/15/07, Scott Ullrich <[EMAIL PROTECTED]> wrote:
>> >> It is not normal but we do know of the bug*
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to