[Asterisk-Users] Unabled to exit console

Ryan Parlee listbox at jesca.com
Sat Apr 3 22:27:22 MST 2004


If I do this:

1) /usr/sbin/asterisk    [or]    /usr/sbin/safe_asterisk
2) /usr/sbin/asterisk -vvvvr

It works, kind of, but it doesn't have near the detail as when I do:

3) /usr/sbin/asterisk -vvvvgc

and it's not in pretty colors like it is in (3).

Oh well, I can always stop and restart when I'm debugging and then start as
daemon when I'm finished.


Thanks for your help.

-Ryan



-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com]On Behalf Of Sean Cheesman
Sent: Saturday, April 03, 2004 10:56 PM
To: asterisk-users at lists.digium.com
Subject: RE: [Asterisk-Users] Unabled to exit console


just do -vvvvvvvr

-----Original Message-----
From: Ryan Parlee [mailto:listbox at jesca.com]
Sent: Saturday, April 03, 2004 11:39 PM
To: asterisk-users at lists.digium.com
Subject: RE: [Asterisk-Users] Unabled to exit console



Okay, but if I do

/usr/sbin/asterisk

Then when I connect, using -r I don't get debugging information.  Isn't
there a way to make asterisk deamonized and still get the -vvvv stuff
when you reconnect?

Thanks, Ryan




-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com]On Behalf Of Jeremy Bogan
Sent: Saturday, April 03, 2004 9:26 PM
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] Unabled to exit console


> No matter what I try, Asterisk won't let me out of the console.  If I
> CTRL+C, of course, the process will terminate.
>
> I started asterisk like so:
>
> /usr/sbin/asterisk -vvvvgc

Looks like Asterisk wasn't started as a daemon. Just run
/usr/sbin/asterisk. Then to connect to asterisk run /usr/sbin/asterisk
-r. You should then be able to exit out of it and Asterisk will continue
to run.

--
jeremy bogan    [ jeremy at segpub.com.au ]
segment publishing - design.develop.host

_______________________________________________
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

_______________________________________________
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
_______________________________________________
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