[Asterisk-Users] /etc/init.d/asterisk barfing

Julian Lyndon-Smith asterisk at dotr.com
Thu Sep 1 02:15:04 MST 2005


Hi Steve :)

The problem is not with the asterisk command, nor with safe_asterisk but 
with the /etc/init.d/asterisk script

if I manually run

/etc/init.d/asterisk start

all's ok

if I manually run

service asterisk start

it says that it has started, but hasn't :)

Julian

Steve Hanselman wrote:
> Try doing an strace on it and seeing what the last section shows you.
> i.e. strace asterisk -vvvvvvvc
> 
> 
> 
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Julian
> Lyndon-Smith
> Sent: 31 August 2005 22:39
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: [Asterisk-Users] /etc/init.d/asterisk barfing
> 
> Ok, starting to get cheesed off and feeling rather silly.
> 
> cvs head as of 5 minutes ago.
> 
> #root asterisk -vvvvvvvc
> 
> works, no problem.
> 
> #root safe_asterisk
> 
> works no problem
> 
> #root service asterisk start
> 
> Starting asterisk:                                         [  OK  ]
> 
> #root asterisk -r
> Unable to connect to remote asterisk (does /var/run/asterisk.ctl exist?)
> 
> /var/run/asterisk.ctl and /var/run/asterisk.pid both exist (even after 
> the run).
> 
> Can't find any reasons or errors for this not working - does anyone have
> 
> any clue on where to start looking - I need * to automatically start on 
> init.
> 
> Julian.
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
> 
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 
> The information contained in this email is intended for the personal and confidential use
> of the addressee only. It may also be privileged information. If you are not the intended
> recipient then you are hereby notified that you have received this document in error and
> that any review, distribution or copying of this document is strictly prohibited. If you have 
> received  this communication in error, please notify Brendata immediately on: 
> 
> +44 (0)1268 466100, or email 'technical at brendata.co.uk' 
> 
> Brendata (UK) Ltd
> Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX  UK
> Registered Office as above. Registered in England No. 2764339
> 
> See our current vacancies at www.brendata.co.uk
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
> 
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 




More information about the asterisk-users mailing list