Cant Start Asterisk !!

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid

Cant Start Asterisk !!

Postby gmcust3 » Mon Jul 04, 2011 8:39 am

[root@vici ~]# screen -ls
There are screens on:
2574.astshell (Detached)
2518.ASTVDadapt (Detached)
2520.ASTfastlog (Detached)
2579.asterisk (Detached)
4 Sockets in /var/run/screen/S-root.

[root@vici ~]# /usr/share/astguiclient/start_asterisk_boot.pl
started screen
changed directory
started new screen session
detached screens
raised ulimit open files
Asterisk started... screen logging on
[root@vici ~]# screen -ls
There are screens on:
2574.astshell (Detached)
2737.astshell (Detached)
2518.ASTVDadapt (Detached)
2802.ASTVDauto (Detached)
2520.ASTfastlog (Detached)
2579.asterisk (Detached)
6 Sockets in /var/run/screen/S-root.

[root@vici ~]# asterisk -r
Unable to connect to remote asterisk (does /var/run/asterisk.ctl exist?)
[root@vici ~]#



Cant start Asterisk !!!
GoAutoDial CE
VERSION: 2.4-309a
BUILD: 110430-1642
No other software installed on the box.
I've read the manager manual.
gmcust3
 
Posts: 1148
Joined: Sat Oct 24, 2009 1:15 pm

Asterisk Error

Postby farrukh.matin » Mon Jul 04, 2011 8:41 am

please try asterisk -vvvvvvvvvgc


and post reply
farrukh.matin
 
Posts: 16
Joined: Tue Oct 06, 2009 5:09 pm
Location: Karachi

Postby gmcust3 » Mon Jul 04, 2011 8:43 am

Here is the Message :


[root@vici ~]# asterisk -vvvvvvvvvgc
Asterisk 1.2.30.2, Copyright (C) 1999 - 2007 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type '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 'show license' for details.
=========================================================================
Unable to open logger.conf: No such file or directory; default settings will be used.
Asterisk Event Logger Started /var/log/asterisk/event_log
Asterisk Dynamic Loader loading preload modules:
== Manager registered action Ping
== Manager registered action Events
== Manager registered action Logoff
== Manager registered action Hangup
== Manager registered action Status
== Manager registered action Setvar
== Manager registered action Getvar
== Manager registered action Redirect
== 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
Jul 4 19:11:37 NOTICE[3271]: manager.c:1686 init_manager: Unable to open management configuration manager.conf. Call management disabled.
Jul 4 19:11:37 NOTICE[3271]: cdr.c:1214 do_reload: CDR simple logging enabled.
== RTP Allocating from port range 5000 -> 31000
Asterisk PBX Core Initializing
Registering builtin applications:
[AbsoluteTimeout]
== Registered application 'AbsoluteTimeout'
[Answer]
== Registered application 'Answer'
[BackGround]
== Registered application 'BackGround'
[Busy]
== Registered application 'Busy'
[Congestion]
== Registered application 'Congestion'
[DigitTimeout]
== Registered application 'DigitTimeout'
[Goto]
== Registered application 'Goto'
[GotoIf]
== Registered application 'GotoIf'
[GotoIfTime]
== Registered application 'GotoIfTime'
[ExecIfTime]
== Registered application 'ExecIfTime'
[Hangup]
== Registered application 'Hangup'
[NoOp]
== Registered application 'NoOp'
[Progress]
== Registered application 'Progress'
[ResetCDR]
== Registered application 'ResetCDR'
[ResponseTimeout]
== Registered application 'ResponseTimeout'
[Ringing]
== Registered application 'Ringing'
[SayNumber]
== Registered application 'SayNumber'
[SayDigits]
== Registered application 'SayDigits'
[SayAlpha]
== Registered application 'SayAlpha'
[SayPhonetic]
== Registered application 'SayPhonetic'
[SetAccount]
== Registered application 'SetAccount'
[SetAMAFlags]
== Registered application 'SetAMAFlags'
[SetGlobalVar]
== Registered application 'SetGlobalVar'
[SetLanguage]
== Registered application 'SetLanguage'
[Set]
== Registered application 'Set'
[SetVar]
== Registered application 'SetVar'
[ImportVar]
== Registered application 'ImportVar'
[Wait]
== Registered application 'Wait'
[WaitExten]
== Registered application 'WaitExten'
== Manager registered action DBGet
== Manager registered action DBPut
Asterisk Dynamic Loader Starting:
[res_monitor.so] => (Call Monitoring Resource)
== Registered application 'Monitor'
== Registered application 'StopMonitor'
== Registered application 'ChangeMonitor'
== Manager registered action Monitor
== Manager registered action StopMonitor
== Manager registered action ChangeMonitor
[res_features.so] => (Call Features Resource)
-- Registered extension context 'parkedcalls'
-- Added extension '700' priority 1 to parkedcalls
== Registered application 'ParkedCall'
== Registered application 'Park'
== Manager registered action ParkedCalls
[res_agi.so] => (Asterisk Gateway Interface (AGI))
== Registered application 'DeadAGI'
== Registered application 'EAGI'
== Registered application 'AGI'
[res_adsi.so] => (ADSI Resource)
[res_crypto.so] => (Cryptographic Digital Signatures)
-- Loaded PUBLIC key 'iaxtel'
-- Loaded PUBLIC key 'freeworlddialup'
[res_indications.so] => (Indications Configuration)
== Registered application 'PlayTones'
== Registered application 'StopPlayTones'
[res_musiconhold.so] => (Music On Hold Resource)
== Registered application 'MusicOnHold'
== Registered application 'WaitMusicOnHold'
== Registered application 'SetMusicOnHold'
== Registered application 'StartMusicOnHold'
== Registered application 'StopMusicOnHold'
Jul 4 19:11:37 WARNING[3271]: res_musiconhold.c:1246 load_module: No music on hold classes configured, disabling music on hold.
[pbx_realtime.so] => (Realtime Switch)
[pbx_dundi.so] => (Distributed Universal Number Discovery (DUNDi))
Jul 4 19:11:37 ERROR[3271]: pbx_dundi.c:4580 set_config: Unable to load config dundi.conf
== Using TOS bits 0
== DUNDi Ready and Listening on 0.0.0.0 port 4520
== Registered application 'DUNDiLookup'
== Registered custom function DUNDILOOKUP
[pbx_loopback.so] => (Loopback Switch)
[pbx_config.so] => (Text Extension Configuration)
Jul 4 19:11:37 WARNING[3271]: pbx.c:3783 ast_merge_contexts_and_delete: Requested contexts didn't get merged
[pbx_ael.so] => (Asterisk Extension Language Compiler)
Jul 4 19:11:37 WARNING[3271]: pbx_ael.c:1172 ast_ael_compile: Unable to open '/etc/asterisk/extensions.ael': No such file or directory
Jul 4 19:11:37 WARNING[3271]: pbx.c:3783 ast_merge_contexts_and_delete: Requested contexts didn't get merged
[pbx_spool.so] => (Outgoing Spool Support)
[pbx_functions.so] => (Builtin dialplan functions)
== Registered custom function MD5
== Registered custom function CHECK_MD5
== Registered custom function MATH
== Registered custom function GROUP_COUNT
== Registered custom function GROUP_MATCH_COUNT
== Registered custom function GROUP
== Registered custom function GROUP_LIST
== Registered custom function FIELDQTY
== Registered custom function REGEX
== Registered custom function LEN
== Registered custom function STRFTIME
== Registered custom function EVAL
== Registered custom function CDR
== Registered custom function ISNULL
== Registered custom function SET
== Registered custom function EXISTS
== Registered custom function IF
== Registered custom function IFTIME
== Registered custom function ENV
== Registered custom function DB
== Registered custom function DB_EXISTS
== Registered custom function TIMEOUT
== Registered custom function LANGUAGE
== Registered custom function MUSICCLASS
[chan_mgcp.so] => (Media Gateway Control Protocol (MGCP))
Jul 4 19:11:37 NOTICE[3271]: chan_mgcp.c:4095 reload_config: Unable to load config mgcp.conf, MGCP disabled
== Registered channel type 'MGCP' (Media Gateway Control Protocol (MGCP))
[chan_oss.so] => (OSS Console Channel Driver)
Jul 4 19:11:37 NOTICE[3271]: chan_oss.c:1380 load_module: Unable to load config oss.conf
Jul 4 19:11:37 WARNING[3271]: loader.c:415 __load_resource: chan_oss.so: load_module failed, returning -1
Jul 4 19:11:37 WARNING[3271]: loader.c:555 load_modules: Loading module chan_oss.so failed!
You have new mail in /var/spool/mail/root
[root@vici ~]#

GoAutoDial CE
VERSION: 2.4-309a
BUILD: 110430-1642
No other software installed on the box.
I've read the manager manual.
gmcust3
 
Posts: 1148
Joined: Sat Oct 24, 2009 1:15 pm

Postby gmcust3 » Mon Jul 04, 2011 9:28 pm

Any More Suggestions ?
GoAutoDial CE
VERSION: 2.4-309a
BUILD: 110430-1642
No other software installed on the box.
I've read the manager manual.
gmcust3
 
Posts: 1148
Joined: Sat Oct 24, 2009 1:15 pm

Postby williamconley » Mon Jul 04, 2011 11:01 pm

that was a good troubleshooting tool. it says the chan oss and MGCP is what is failing. modify your modules configuration in asterisk and tell it noload for chan_oss and MGCP (you could try one, the other, and both)

although if you have not modified this system since installation, i'd reinstall it just to avoid any OTHER problems that may be lurking.

if you HAVE modified this system since installation, your last modification may have been a bad idea, tell us what it was.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby gmcust3 » Mon Jul 04, 2011 11:04 pm


tell it noload for chan_oss and MGCP (you could try one, the other, and both)


How to do this ??
GoAutoDial CE
VERSION: 2.4-309a
BUILD: 110430-1642
No other software installed on the box.
I've read the manager manual.
gmcust3
 
Posts: 1148
Joined: Sat Oct 24, 2009 1:15 pm

Postby williamconley » Mon Jul 04, 2011 11:37 pm

Code: Select all
nano /etc/asterisk/modules.conf


look for

Code: Select all
;
; Load either OSS or ALSA, not both
; By default, load OSS only (automatically) and do not load ALSA
;
noload => chan_alsa.so
;noload => chan_oss.so


NEITHER is necessary for operation, so you can actually ; both of them to be safe.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby gmcust3 » Mon Jul 04, 2011 11:59 pm

How come No folder under as asterisk under etc folder ??
GoAutoDial CE
VERSION: 2.4-309a
BUILD: 110430-1642
No other software installed on the box.
I've read the manager manual.
gmcust3
 
Posts: 1148
Joined: Sat Oct 24, 2009 1:15 pm

Postby williamconley » Tue Jul 05, 2011 12:29 am

LOL

Reinstall!

if it fails again, try vicibox.com to see if that one has better luck.

watch for errors during your installation.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby gmcust3 » Tue Jul 05, 2011 9:03 pm

I copied the asterisk folder from another server and It worked.

God knows how come that folder got deleted !!!
GoAutoDial CE
VERSION: 2.4-309a
BUILD: 110430-1642
No other software installed on the box.
I've read the manager manual.
gmcust3
 
Posts: 1148
Joined: Sat Oct 24, 2009 1:15 pm

Postby williamconley » Tue Jul 05, 2011 9:21 pm

Which is why i'd look at a reinstall, myself. If only just to retrace your steps and see if YOU did something that caused it to go *poof* at some point. This time you could watch for it (knowing the importance of that folder, keep an eye on it and see if/when it disappears).

Never fear the reinstall.

(Especially if you have an Android phone and get "download happy" LOL) 8)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

asterisk and vicidial startup error

Postby stevep38now » Mon Aug 29, 2011 5:37 pm

williamconley wrote:Which is why i'd look at a reinstall, myself. If only just to retrace your steps and see if YOU did something that caused it to go *poof* at some point. This time you could watch for it (knowing the importance of that folder, keep an eye on it and see if/when it disappears).

Never fear the reinstall.

(Especially if you have an Android phone and get "download happy" LOL) 8)



I installed asterisk and vicidial and when I tried to run asterisk I got the following:

asterisk -rvvvvvvvvvvvvvvvv
Asterisk 1.4.27.1-vici, Copyright (C) 1999 - 2008 Digium, Inc. and others.

== Parsing '/etc/asterisk/asterisk.conf': Found
== Parsing '/etc/asterisk/extconfig.conf': Found
Unable to connect to remote asterisk (does /var/run/asterisk.ctl exist?)
stevep38now
 
Posts: 5
Joined: Thu Aug 18, 2011 11:18 am

Re: asterisk and vicidial startup error

Postby williamconley » Mon Aug 29, 2011 7:32 pm

stevep38now wrote:
williamconley wrote:Which is why i'd look at a reinstall, myself. If only just to retrace your steps and see if YOU did something that caused it to go *poof* at some point. This time you could watch for it (knowing the importance of that folder, keep an eye on it and see if/when it disappears).

Never fear the reinstall.

(Especially if you have an Android phone and get "download happy" LOL) 8)



I installed asterisk and vicidial and when I tried to run asterisk I got the following:

asterisk -rvvvvvvvvvvvvvvvv
Asterisk 1.4.27.1-vici, Copyright (C) 1999 - 2008 Digium, Inc. and others.

== Parsing '/etc/asterisk/asterisk.conf': Found
== Parsing '/etc/asterisk/extconfig.conf': Found
Unable to connect to remote asterisk (does /var/run/asterisk.ctl exist?)
when you post, please post your entire configuration including (but not limited to) your installation method and vicidial version with build.

this IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)

You should also post: Asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box. If your installation method is "from scratch" you must post your operating system and should also post the .iso version from which you installed your original operating system.

Similar to This:

Vicibox X.X from .iso | Vicidial X.X.X-XXX Build XXXXXX-XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation
_______________________

Sorry, but so far i have this: you installed asterisk and it isn't running. but since I have no idea about your system at all ... I can't offer any help.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

asterisk and vicidial startup error

Postby stevep38now » Tue Aug 30, 2011 10:39 am

Thanks for taking the time to reply. I apologize for not providing for enough information I have installed asterisk and vicibox using the following guide:

http://wiki.vicidial.org/index.php/VICI:UbuntuInstall

The asterisk version is:

Asterisk 1.4.27.1-vici

on ubuntu 8.04 kernel 2.6.24-29-server

I had trouble with with the zaptel install, but was able to get around it. At the end of the install instructions it had me run screen -ls and said that it should show at least six sessions I how ever got the following message:

No Sockets found in /var/run/screen/S-root.

It then said to start asterisk with the following command:

asterisk -rvvvvvvvvvvvvvvvv

That is were I get the :

== Parsing '/etc/asterisk/asterisk.conf': Found
== Parsing '/etc/asterisk/extconfig.conf': Found
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)

I checked the /var/run/ directory and noticed that there was no asterisk directory being created.

I can get to the asterisk ready cli though if I type asterisk -vvvvvvvvvvvvvvvvvvvvvvvvvvvvgc

Thanks again for your help
stevep38now
 
Posts: 5
Joined: Thu Aug 18, 2011 11:18 am


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 65 guests