Sorry, went of at a tangent (that's what you get for half reading emails
I guess!)

Ok, guess the easiest thing to do is to check in the contrib directory,
diff your one against the redhat (are you running redhat?)

Mine is the same and it works fine, maybe you're running an outdated
init script.

Still worth trying the strace against the service command, at least
it'll give you an idea of what it's trying to do.

One last thing, did it work and then stop working or is this a fresh
install and it's never worked?

Steve


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Julian
Lyndon-Smith
Sent: 01 September 2005 10:15
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] /etc/init.d/asterisk barfing

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: [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
> Asterisk-Users@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 '[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
> Asterisk-Users@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
>
>

_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@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 '[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
Asterisk-Users@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

Reply via email to