Re: [asterisk-users] new server install errors starting asterisk
Date: Fri, 26 Mar 2010 00:30:50 +0200 From: tzafrir.co...@xorcom.com To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] new server install errors starting asterisk On Thu, Mar 25, 2010 at 09:58:17PM +, Ott Rose wrote: well here is what i did to solve it but i still don't know why i had to or why my current config works. i edited /etc/rc.local You don't need to have anything in /etc/rc.local if you have a proper /etc/init.d/dahdi . Maybe people of FreePBX don't know how to write usable instructions. But anywhere else (including with Elastix, which is FreePBX-based) proper init.d scripts are used. Just don't follow lousy instructions. good point. I have a freepbx book that has the list the correct path in the rc.local. I am not sure what you mean by proper /etc/init.d/dahdi. I have that file with some code in it. I still have a lot to learn but for now its working and I can start testing. thanks for your help. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com iax:gu...@local.xorcom.com/tzafrir -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users _ Hotmail: Trusted email with powerful SPAM protection. http://clk.atdmt.com/GBL/go/210850553/direct/01/-- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] new server install errors starting asterisk
Date: Thu, 25 Mar 2010 11:30:49 +1300 From: li...@venturevoip.com To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] new server install errors starting asterisk Just try running: asterisk -vcd here you go. [r...@phoneserver src]# asterisk -vcd Asterisk 1.6.2.6, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer marks...@digium.com Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. = Seeding global EID '00:26:b9:53:23:be' from 'eth0' using 'siocgifhwaddr' Started Asterisk Event Logger Asterisk Event Logger Started /var/log/asterisk/event_log No 'modules.conf' found, no modules will be loaded. Asterisk Dynamic Loader Starting: == Manager registered action Ping == Manager registered action Events == Manager registered action Logoff == Manager registered action Login == Manager registered action Challenge == Manager registered action Hangup == Manager registered action Status == Manager registered action Setvar == Manager registered action Getvar == Manager registered action GetConfig == Manager registered action GetConfigJSON == Manager registered action UpdateConfig == Manager registered action CreateConfig == Manager registered action ListCategories == Manager registered action Redirect == Manager registered action Atxfer == Manager registered action Originate == Manager registered action Command == Manager registered action ExtensionState == Manager registered action AbsoluteTimeout == Manager registered action MailboxStatus == Manager registered action MailboxCount == Manager registered action ListCommands == Manager registered action SendText == Manager registered action UserEvent == Manager registered action WaitEvent == Manager registered action CoreSettings == Manager registered action CoreStatus == Manager registered action Reload == Manager registered action CoreShowChannels == Manager registered action ModuleLoad == Manager registered action ModuleCheck Unable to open AMI configuration manager.conf, or configuration is invalid. Asterisk management interface (AMI) disabled. Asterisk PBX Core Initializing Registering builtin applications: == Registered custom function 'EXCEPTION' [Answer] == Registered application 'Answer' [BackGround] == Registered application 'BackGround' [Busy] == Registered application 'Busy' [Congestion] == Registered application 'Congestion' [ExecIfTime] == Registered application 'ExecIfTime' [Goto] == Registered application 'Goto' [GotoIf] == Registered application 'GotoIf' [GotoIfTime] == Registered application 'GotoIfTime' [ImportVar] == Registered application 'ImportVar' [Hangup] == Registered application 'Hangup' [Incomplete] == Registered application 'Incomplete' [NoOp] == Registered application 'NoOp' [Proceeding] == Registered application 'Proceeding' [Progress] == Registered application 'Progress' [RaiseException] == Registered application 'RaiseException' [ResetCDR] == Registered application 'ResetCDR' [Ringing] == Registered application 'Ringing' [SayAlpha] == Registered application 'SayAlpha' [SayDigits] == Registered application 'SayDigits' [SayNumber] == Registered application 'SayNumber' [SayPhonetic] == Registered application 'SayPhonetic' [Set] == Registered application 'Set' [MSet] == Registered application 'MSet' [SetAMAFlags] == Registered application 'SetAMAFlags' [Wait] == Registered application 'Wait' [WaitExten] == Registered application 'WaitExten' == Manager registered action ShowDialPlan Can't find indications config file indications.conf. And you'll see the error. Alternatively you can edit /etc/asterisk/logger.conf to allow you to have a full log. -- Cheers, Matt Riddell Managing Director ___ http://www.venturevoip.com/news.php (Daily Asterisk News) http://www.venturevoip.com/exchange.php (Full ITSP Solution) http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer) -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users _ The New Busy is not the old busy. Search, chat and e-mail from your inbox. http
Re: [asterisk-users] new server install errors starting asterisk
On 25 Mar 2010, at 13:08, Ott Rose wrote: Can't find indications config file indications.conf. Thats the last line. Probably the problem... Amazing what reading instructions does... S -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] new server install errors starting asterisk
well i followed the same directions i used like 3 weeks ago with 1.6.0 and didn't have any issue. Not sure what went wrong. That why i posted it. how can it work one time and not the next. From: steve-li...@geekinter.net Date: Thu, 25 Mar 2010 13:28:57 + To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] new server install errors starting asterisk On 25 Mar 2010, at 13:08, Ott Rose wrote: Can't find indications config file indications.conf. Thats the last line. Probably the problem... Amazing what reading instructions does... S -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users _ Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:WL:en-US:WM_HMP:032010_1-- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] new server install errors starting asterisk
On 25 Mar 2010, at 14:02, Ott Rose wrote: well i followed the same directions i used like 3 weeks ago with 1.6.0 and didn't have any issue. Not sure what went wrong. That why i posted it. how can it work one time and not the next. Does the file exist? If not, then something is different. You probably missed the step to make the sample config files. S -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] new server install errors starting asterisk
so i went back to 1.6.1.18 and didn't have any issue with the install. following the same setups as before with 1.6.2. finished the install and now i have an issue were asterisk doesn't start on reboot and also the flash panal doesn't run. i get this in freepbx. Could not reload the FOP operator panel server using the bounce_op. i know this isn't a freepbx mailing list but i figured i need to post all the issues in case there related. if i use the start_asterisk script in the free pbx dir it starts with no errors and i can use asterisk -r to connect to it. i am not sure where that gets added to the boot process. i looked over my steps and i don't see anything. From: steve-li...@geekinter.net Date: Thu, 25 Mar 2010 14:32:51 + To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] new server install errors starting asterisk On 25 Mar 2010, at 14:02, Ott Rose wrote: well i followed the same directions i used like 3 weeks ago with 1.6.0 and didn't have any issue. Not sure what went wrong. That why i posted it. how can it work one time and not the next. Does the file exist? If not, then something is different. You probably missed the step to make the sample config files. S -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users _ Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:WL:en-US:WM_HMP:032010_2-- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] new server install errors starting asterisk
Sorry to keep jumping back to the previously ignored attempts to help, but does that file exist? S On 25 Mar 2010, at 16:46, Ott Rose wrote: so i went back to 1.6.1.18 and didn't have any issue with the install. following the same setups as before with 1.6.2. finished the install and now i have an issue were asterisk doesn't start on reboot and also the flash panal doesn't run. i get this in freepbx. Could not reload the FOP operator panel server using the bounce_op. i know this isn't a freepbx mailing list but i figured i need to post all the issues in case there related. if i use the start_asterisk script in the free pbx dir it starts with no errors and i can use asterisk -r to connect to it. i am not sure where that gets added to the boot process. i looked over my steps and i don't see anything. Does the file exist? If not, then something is different. You probably missed the step to make the sample -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] new server install errors starting asterisk
From: steve-li...@geekinter.net Date: Thu, 25 Mar 2010 18:41:41 + To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] new server install errors starting asterisk Sorry to keep jumping back to the previously ignored attempts to help, but does that file exist? i wasn't trying to ignore your help. i just figured i would go back a version because it only takes a few minutes to install it and i know it works with my directions. this is a different file then the issue i was have in the post when i used 1.6.2. I just found that in /etc/rc.local in my working box i have this. touch /var/lock/subsys/local /usr/local/sbin/amportal start in the server that is not working i have the same text. on the server that is not working /usr/local/sbin/ is empty on the working server is working has amportal and fpbx not sure why the files are not in there. looks like amportal script should start asterisk for me. S On 25 Mar 2010, at 16:46, Ott Rose wrote: so i went back to 1.6.1.18 and didn't have any issue with the install. following the same setups as before with 1.6.2. finished the install and now i have an issue were asterisk doesn't start on reboot and also the flash panal doesn't run. i get this in freepbx. Could not reload the FOP operator panel server using the bounce_op. i know this isn't a freepbx mailing list but i figured i need to post all the issues in case there related. if i use the start_asterisk script in the free pbx dir it starts with no errors and i can use asterisk -r to connect to it. i am not sure where that gets added to the boot process. i looked over my steps and i don't see anything. Does the file exist? If not, then something is different. You probably missed the step to make the sample -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users _ Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:WL:en-US:WM_HMP:032010_1-- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] new server install errors starting asterisk
well here is what i did to solve it but i still don't know why i had to or why my current config works. i edited /etc/rc.local old touch /var/lock/subsys/local /usr/local/sbin/amportal start new touch /var/lock/subsys/local /usr/sbin/amportal start keep in mind that my server that i have been using or months now has this touch /var/lock/subsys/local /usr/local/sbin/amportal start can anyone explain this? From: sixfourimp...@hotmail.com To: asterisk-users@lists.digium.com Date: Thu, 25 Mar 2010 19:15:34 + Subject: Re: [asterisk-users] new server install errors starting asterisk From: steve-li...@geekinter.net Date: Thu, 25 Mar 2010 18:41:41 + To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] new server install errors starting asterisk Sorry to keep jumping back to the previously ignored attempts to help, but does that file exist? i wasn't trying to ignore your help. i just figured i would go back a version because it only takes a few minutes to install it and i know it works with my directions. this is a different file then the issue i was have in the post when i used 1.6.2. I just found that in /etc/rc.local in my working box i have this. touch /var/lock/subsys/local /usr/local/sbin/amportal start in the server that is not working i have the same text. on the server that is not working /usr/local/sbin/ is empty on the working server is working has amportal and fpbx not sure why the files are not in there. looks like amportal script should start asterisk for me. S On 25 Mar 2010, at 16:46, Ott Rose wrote: so i went back to 1.6.1.18 and didn't have any issue with the install. following the same setups as before with 1.6.2. finished the install and now i have an issue were asterisk doesn't start on reboot and also the flash panal doesn't run. i get this in freepbx. Could not reload the FOP operator panel server using the bounce_op. i know this isn't a freepbx mailing list but i figured i need to post all the issues in case there related. if i use the start_asterisk script in the free pbx dir it starts with no errors and i can use asterisk -r to connect to it. i am not sure where that gets added to the boot process. i looked over my steps and i don't see anything. Does the file exist? If not, then something is different. You probably missed the step to make the sample -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. Learn More. _ Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:WL:en-US:WM_HMP:032010_2-- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] new server install errors starting asterisk
On Thu, Mar 25, 2010 at 09:58:17PM +, Ott Rose wrote: well here is what i did to solve it but i still don't know why i had to or why my current config works. i edited /etc/rc.local You don't need to have anything in /etc/rc.local if you have a proper /etc/init.d/dahdi . Maybe people of FreePBX don't know how to write usable instructions. But anywhere else (including with Elastix, which is FreePBX-based) proper init.d scripts are used. Just don't follow lousy instructions. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com iax:gu...@local.xorcom.com/tzafrir -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] new server install errors starting asterisk
Hi! well here is what i did to solve it but i still don't know why i had to or why my current config works. Really, you should take this to a FreePBX forum or mailing list. Do a locate amportal and you might be a bit wiser, but please do keep your posts here on topic. Philipp -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] new server install errors starting asterisk
here is the issue phones freepbx-2.7.0]# ./start_asterisk start STARTING ASTERISK Asterisk ended with exit status 1 Asterisk died with code 1. Automatically restarting Asterisk. Asterisk ended with exit status 1 Asterisk died with code 1. Automatically restarting Asterisk. mpg123: no process killed - Asterisk could not start! Use 'tail /full' to find out why. i the only place i know where logs are at is /var/log/asterisk i don't have the log full there. here are the versions of everything i have os: centos 5.4 asterisk: 1.6.2.6 asterisk-addons: 1.6.2.0 dahdi-linux-complete: 2.2.1+2.2.1 freepbx: 2.7.0 lame: 3.98.4 libpri: 1.4.10.2 mysql: 5.0.77 httpd: 2.2.3 _ Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:WL:en-US:WM_HMP:032010_2-- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] new server install errors starting asterisk
Just try running: asterisk -vcd And you'll see the error. Alternatively you can edit /etc/asterisk/logger.conf to allow you to have a full log. -- Cheers, Matt Riddell Managing Director ___ http://www.venturevoip.com/news.php (Daily Asterisk News) http://www.venturevoip.com/exchange.php (Full ITSP Solution) http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer) -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] new server install errors starting asterisk
On Wed, 24 Mar 2010, Ott Rose wrote: here is the issue phones freepbx-2.7.0]# ./start_asterisk start Yep. That's the issue :) STARTING ASTERISK Asterisk ended with exit status 1 Asterisk died with code 1. Automatically restarting Asterisk. Asterisk ended with exit status 1 Asterisk died with code 1. Automatically restarting Asterisk. mpg123: no process killed I don't know where your configuration stashes files, but you can start Asterisk by hand using a command similar to: sudo -u whatever-user-you-run-asterisk-as\ /usr/sbin/asterisk\ -C /etc/asterisk/{$PROJECT}/asterisk.conf\ -c\ -f\ -g\ -n\ -p\ -d -d -d -d -d -d\ -v -v -v -v -v -v\ ${END_OF_LIST} This should give you a clue to your issue. -- Thanks in advance, - Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users