[Voyage-linux] cannot connect to remote asterisk
Kim-man 'Punky' TSE
(spam-protected)
Thu Aug 26 12:04:23 HKT 2010
Hi Toni,
Use lsof to see what processes open the file for writing.
- Punky
On 8/26/2010 3:23 AM, toni wrote:
> Hi Punky,
>
> That's what's so strange about it; I did put the correct directories into VOYAGE_SYNC_DIRS.
> The problem is asterisk won't run when voyage linux is in ro mode, even though the files which are needed by asterisk
> get created in 'asterisk-bin/run/asterisk'. By consequence, it seems to me there is no problem with VOYAGE_SYNC_DIRS.
>
> Moreover, there seems to be no problem with the installation of asterisk either, since asterisk runs when voyage linux
> is in rw mode. But when I issue 'remountro', I get the message 'mount: / is busy'. What command should I use to
> discover what's keeping / busy?
>
> In the past I managed to install asterisk 1.4 on voyage linux 0.5.2, in a soekris net5501.
> On the Soekris, which is still in use, there is no problem with switching between ro and rw.
>
> I'm hoping for some fresh ideas about how to approach troubleshooting the problem, because my ideas have exhausted..
>
> Toni
>
>
> On 25-08-10 03:51, Punky wrote:
>> Hi Toni,
>>
>> Please use Voyage ONE. Or you can manage to put correct directories
>> to VOYAGE_SYNC_DIRS in /etc/default/voyage-util.
>>
>> - Punky
>>
>> On Wed, Aug 25, 2010 at 6:43 AM, toni<dranach at mini-am.be> wrote:
>>> I'm having trouble running asterisk 1.6.2.10 when voyage-linux 0.6.5 is in
>>> read-only mode.
>>> Nevertheless, I added the folder ~/asterisk-bin/run/asterisk to
>>> VOYAGE-SYNC_DIRS.
>>> On starting asterisk, the folder ~/asterisk-bin/run/asterisk gets populated
>>> with asterisk.ctl and asterisk.pid.
>>> But when I try to connect to asterisk with 'asterisk -rvvv', I get the
>>> error:
>>>
>>> == Parsing '/home/asterisk/asterisk-bin/asterisk/asterisk.conf': == Found
>>> == Parsing '/home/asterisk/asterisk-bin/asterisk/extconfig.conf': ==
>>> Found
>>> Unable to connect to remote asterisk (does
>>> /home/asterisk/asterisk-bin/run/asterisk/asterisk.ctl exist?)
>>>
>>> On boot, voyage-linux also fails to go into read-only mode, stating
>>> 'Remounting / as read-only ... mount: / is busy'
>>>
>>> Whenever I put voyage-linux in read-write mode and start asterisk manually,
>>> asterisk doesn't show this error any more.
>>> I have tried putting the folder on a separate, read-write partition, but it
>>> was no use, except again in read-write mode.
>>>
>>> Is there some other file/folder which needs to be read-write? Is there some
>>> workaround?
>>> (This should be the last step in getting asterisk to work on
>>> voyage-linux...)
>>>
>>> _______________________________________________
>>> Voyage-linux mailing list
>>> Voyage-linux at list.voyage.hk
>>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>>
>
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
--
Regards,
Punky
Voyage Solutions (http://solution.voyage.hk)
* Embedded Solutions and Systems
- Mesh Networking, Captive Portal, IP Surveillance, VoIP/PBX
- Network Engineering, Development Platform and Consultation
More information about the Voyage-linux
mailing list