OK, after much fruiting about, here are the error lines from one 
run-crash-restart cycle in /var/log/asterisk/full (and one warning line that 
follows an error):


[2011-02-07 09:50:01] WARNING[3431] loader.c: Error loading module 
'res_config_odbc.so': /usr/lib/asterisk/modules/res_config_odbc.so: undefined 
symbol: ast_odbc_clear_cache

[2011-02-07 09:50:01] WARNING[3431] loader.c: Error loading module 
'chan_jingle.so': /usr/lib/asterisk/modules/chan_jingle.so: undefined symbol: 
ast_aji_get_client

[2011-02-07 09:50:01] WARNING[3431] loader.c: Module 'chan_jingle.so' could not 
be loaded.

[2011-02-07 09:50:01] WARNING[3431] loader.c: Error loading module 
'res_pktccops': /usr/lib/asterisk/modules/res_pktccops.so: cannot open shared 
object file: No such file or directory

[2011-02-07 09:50:01] WARNING[3431] loader.c: Error loading module 
'chan_mgcp.so': /usr/lib/asterisk/modules/chan_mgcp.so: undefined symbol: 
ast_pktccops_gate_alloc

[2011-02-07 09:50:01] WARNING[3431] loader.c: Module 'chan_mgcp.so' could not 
be loaded.

[2011-02-07 09:50:01] ERROR[3431] config.c: The file 'dahdi-channels.conf' was 
listed as a #include but it does not exist.

[2011-02-07 09:50:01] ERROR[3431] chan_dahdi.c: File chan_dahdi.conf cannot be 
parsed. Aborting.

[2011-02-07 09:50:01] ERROR[3431] netsock2.c: 
getaddrinfo("asterisk1.eu.nice.com", "(null)", ...): Name or service not known

[2011-02-07 09:50:01] WARNING[3431] acl.c: Unable to lookup 
'asterisk1.eu.nice.com'

Those last two lines bother me.  Remember, I cannot have a DHCP server; the 
only place the computer can look up its name is from the hosts file; the search 
path includes eu.nice.com.

The computer is on the LAN; I can access it via WinSCP and putty (the lines 
above were pasted in from a WinSCP editor window).  If I leave Asterisk in its 
run-crash-restart loop, the computer appears to eventually fall off the LAN.  
I'm not sure whether it falls completely, or merely becomes inaccessible for a 
long time.

Since Asterisk won't run, I have never had the opportunity to configure it.

It does not and will not have any trunks - it's an internal-only switch.  It 
has http access to the outside world, but that's about the only external access 
it has.

In the early part of the boot-up process (where all the services are being 
started, and we see things like "Bring up local loopback [OK]"), there is a 
message about "Could not reliably determine fully qualified domain name for 
asterisk1.eu.nice.com", which I imagine is another symptom of the getaddrinfo 
problem shown above.

Are there enough clues in the above to help diagnose what's wrong?

Dave

________________________________
From: [email protected] 
[mailto:[email protected]] On Behalf Of Andrew M. Lauppe
Sent: 2011 February 04 15:06
To: AsteriskNOW Discussion
Subject: Re: [asterisknow] Version numbers

You'll need to tail /var/log/asterisk/full to find out why Asterisk is dying. 
Let us know what you find!


----

[cid:898555709@07022011-06D6]

Andrew M. Lauppe
Consultant

Anteil, Inc
4051B Executive Park Dr.
Harrisburg, PA 17111
________________________________
+1 (877) OS-LINUX x23
+1 (484) 421-9919 direct






On Feb 4, 2011, at 9:55 AM, Dave Higton wrote:

PBX in a Flash Purple Edition runs 1.8 with feepbx

Well, it "runs" in a tight run-crash-restart loop:

/usr/bin/safe_asterisk: line 145: 11917 Segmentation fault
(core dumped) nice -n $PRIORITY ${ASTBINDIR}/asterisk -f
${CLIARGS} ${ASTARGS} > /dev/${TTY} 2>&1 < /dev/${TTY}
Asterisk ended with exit status 139
Asterisk ended on signal 11.
Automatically restarting Asterisk.

(plus or minus the odd typo)

I have changed /etc/sysconfig/network-scripts/ifcfg-eth0 to
fixed IP address (there is no DHCP on the LAN segment it has
to live on), I've added netmask, DNS1, DNS2 and gateway, and
changed the name from pbx.local to 
asterisk1.eu.nice.com<http://asterisk1.eu.nice.com>;
other than that I've left it alone.

I should add that this was a text-mode installation.  I'm not sure that anyone 
has tested this; of course it fails, because there is no option to configure 
the important basic parameters (like network settings) during installation, 
there isn't a DHCP server on the LAN segment that it has to be on, therefore it 
can't get an IP address, therefore it can't do the net-based part of its 
installation...

Nor is there any option to set the NTP server, nor is there any option to 
configure sendmail... it hung for a /long/ time on boot-up while configuring 
sendmail (while failing to configure it, really)...

Does the installation process assume that users will do a graphical 
installation?

Dave


NICE Systems UK Limited ("NICE") is registered in England under company number, 
3403044. The registered office of NICE is at Tollbar Way, Hedge End, 
Southampton, Hampshire SO30 2ZP.

Confidentiality: This communication and any attachments are intended for the 
above-named persons only and may be confidential and/or legally privileged. Any 
opinions expressed in this communication are not necessarily those of NICE. If 
this communication has come to you in error you must take no action based on 
it, nor must you copy or show it to anyone; please delete/destroy and inform 
the sender by e-mail immediately.

Monitoring: NICE may monitor incoming and outgoing e-mails.

Viruses: Although we have taken steps toward ensuring that this e-mail and 
attachments are free from any virus, we advise that in keeping with good 
computing practice the recipient should ensure they are actually virus free.

<<inline: anteil_256.gif>>

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisknow mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisknow

Reply via email to