Martin,

Thanks for the assistance.... Here is the output below.

r...@pbx:~ $ ps ax | grep aastra
7025 pts/0    R+     0:00 grep aastra

Obviously no aastra daemons  running.

r...@pbx:~ $ /var/www/html/aastra/asterisk/aastra_daemon1
<AastraIPPhoneTextScreen>
<Title>Configuration error</Title>
<Text>The application cannot connect to the Asterisk Manager. Please contact 
your administrator.</Text>
</AastraIPPhoneTextScreen>
r...@pbx:~ $ /var/www/html/aastra/asterisk/aastra_daemon2
<AastraIPPhoneTextScreen>
<Title>Configuration error</Title>
<Text>The application cannot connect to the Asterisk Manager. Please contact 
your administrator.</Text>
</AastraIPPhoneTextScreen>
r...@pbx:~ $

Looking up this more specific error, lead me down a path to resolving the issue.

It ended up being my hosts file being incorrect (corrupted)... recreating a new 
hosts file and rebooting solved this issue.

Everything is back to normal.

Thanks again, much appreciated.

Chuck
From: Martin Glazer [mailto:[email protected]]
Sent: April-10-10 9:58 AM
To: Chuck Mariotti
Cc: [email protected]
Subject: Re: [on-asterisk] PIAF/Aastra 57i - Configuration Error - Application 
cannot connect to the Asterisk Manager

Hi Chuck,

>From your listing, it doesn't look like they are running. To confirm, do
~# ps ax | grep aastra
 5336 ?        S      0:00 /usr/bin/php -q 
/var/www/html/aastra/asterisk/aastra_daemon1
 5337 ?        S      0:02 /usr/bin/php -q 
/var/www/html/aastra/asterisk/aastra_daemon2

You should have both running.

If not, try starting them manually and see if you get any errors.


/var/www/html/aastra/asterisk/aastra_daemon1

/var/www/html/aastra/asterisk/aastra_daemon2

Martin

Chuck Mariotti wrote:

Thanks Martin, the entries are there...



#!/bin/sh

# This script will be executed *after* all the other init scripts.

# You can put your own initialization stuff in here if you don't

# want to do the full Sys V style init stuff.

/usr/local/sbin/status -p >/etc/motd

touch /var/lock/subsys/local

/etc/pbx/runonce

/usr/src/zaptel/fxotune -s

/usr/local/sbin/amportal start

/var/www/html/aastra/asterisk/aastra_daemon1&

/var/www/html/aastra/asterisk/aastra_daemon2&



I'm not sure how to verify that those exact daemons are actually running though 
since I assume it's an http. Ps -A has this listed...



r...@pbx:/ $ ps -A

  PID TTY          TIME CMD

    1 ?        00:00:00 init

    2 ?        00:00:00 migration/0

    3 ?        00:00:00 ksoftirqd/0

    4 ?        00:00:00 watchdog/0

    5 ?        00:00:00 events/0

    6 ?        00:00:00 khelper

    7 ?        00:00:00 kthread

   10 ?        00:00:00 kblockd/0

   11 ?        00:00:00 kacpid

   99 ?        00:00:00 cqueue/0

  102 ?        00:00:00 khubd

  104 ?        00:00:00 kseriod

  166 ?        00:00:00 pdflush

  167 ?        00:00:00 pdflush

  168 ?        00:00:00 kswapd0

  169 ?        00:00:00 aio/0

  321 ?        00:00:00 kpsmoused

  346 ?        00:00:00 scsi_eh_0

  347 ?        00:00:00 scsi_eh_1

  356 ?        00:00:00 ksnapd

  359 ?        00:00:00 kjournald

  386 ?        00:00:00 kauditd

  420 ?        00:00:00 udevd

 1138 ?        00:00:00 kmpathd/0

 1160 ?        00:00:00 kjournald

 1748 ?        00:00:00 auditd

 1750 ?        00:00:00 audispd

 1781 ?        00:00:00 syslogd

 1784 ?        00:00:00 klogd

 1833 ?        00:00:00 portmap

 1860 ?        00:00:00 dbus-daemon

 1875 ?        00:00:00 hcid

 1879 ?        00:00:00 sdpd

 1905 ?        00:00:00 krfcommd

 1950 ?        00:00:00 hidd

 1972 ?        00:00:00 automount

 1996 ?        00:00:00 mDNSResponder

 2011 ?        00:00:00 acpid

 2029 ?        00:00:00 sshd

 2045 ?        00:00:00 xinetd

 2063 ?        00:00:00 ntpd

 2098 ?        00:00:00 mysqld_safe

 2155 ?        00:00:00 mysqld

 2201 ?        00:00:00 sendmail

 2209 ?        00:00:00 sendmail

 2237 ?        00:00:00 httpd

 2267 ?        00:00:00 crond

 2289 ?        00:00:00 httpd

 2290 ?        00:00:00 httpd

 2291 ?        00:00:00 httpd

 2292 ?        00:00:00 httpd

 2293 ?        00:00:00 httpd

 2294 ?        00:00:00 httpd

 2295 ?        00:00:00 httpd

 2296 ?        00:00:00 httpd

 2302 ?        00:00:00 xfs

 2323 ?        00:00:03 fail2ban-server

 2325 ?        00:00:00 gam_server

 2360 ?        00:00:00 anacron

 2391 ?        00:00:00 atd

 2439 ?        00:00:00 avahi-daemon

 2440 ?        00:00:00 avahi-daemon

 2455 ?        00:00:00 hald

 2456 ?        00:00:00 hald-runner

 2463 ?        00:00:00 hald-addon-acpi

 2472 ?        00:00:00 hald-addon-stor

 2825 ?        00:00:00 yum-updatesd

 2872 ?        00:00:00 safe_asterisk

 2882 ?        00:00:01 asterisk

 2953 ?        00:00:00 bash

 2954 ?        00:00:00 sh

 2956 ?        00:00:01 op_server.pl

 2981 ?        00:00:00 smartd

 2986 ?        00:00:00 miniserv.pl

 2989 tty1     00:00:00 mingetty

 2990 tty2     00:00:00 mingetty

 2994 tty3     00:00:00 mingetty

 2995 tty4     00:00:00 mingetty

 3005 tty5     00:00:00 mingetty

 3008 tty6     00:00:00 mingetty

 3062 ?        00:00:00 sshd

 3064 pts/0    00:00:00 bash

 3396 pts/0    00:00:00 ps



-----Original Message-----

From: Martin Glazer [mailto:[email protected]]

Sent: April-09-10 10:22 PM

To: Chuck Mariotti

Cc: [email protected]<mailto:[email protected]>

Subject: Re: [on-asterisk] PIAF/Aastra 57i - Configuration Error - Application 
cannot connect to the Asterisk Manager



Make sure the Aastra daemons are running - they should be automatically

started in /etc/rc.d/rc.local

look for



/var/www/html/aastra/asterisk/aastra_daemon1&

/var/www/html/aastra/asterisk/aastra_daemon2&





Martin





Chuck Mariotti wrote:



I did a scripts update to a PIAF many moons ago and about a month ago was 
forced to do a reboot of the server... since when I try to use some of the 
features (Follow-me, Voicemail, etc...) on the phone (Firmware 2.5.0.82) I get 
a  - Configuration Error - Application cannot connect to the Asterisk Manager 
displayed.



Before I start screwing up my installation further, has anyone run into this 
before or know what the issue might be?



Regards,



Chuck













---------------------------------------------------------------------

To unsubscribe, e-mail: 
[email protected]<mailto:[email protected]>

For additional commands, e-mail: 
[email protected]<mailto:[email protected]>





Reply via email to