Try doing an strace on it and seeing what the last section shows you.
i.e. strace asterisk -vvvvvvvc



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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
[email protected]
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 '[EMAIL PROTECTED]'

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
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to