Fresh Elastix 1.6- Missing Extensions Config Page

Discussion in 'General' started by BADTAD, Apr 13, 2010.

  1. BADTAD

    Joined:
    Apr 13, 2010
    Messages:
    6
    Likes Received:
    0
    Good Morning Everyone:

    I have a Hewlett Packard DL360G6 server with 16 gigs of ram. I have installed Elastix 1.6 / 64 bit from https://sourceforge.net/projects/elasti ... o/download.

    After installation, when I run a uname -a I get the following:

    Linux pbx.XXXX.org 2.6.18-164.el5xen #1 SMP Thu Sep 3 04:03:03 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux


    The following problems are what I encounter:

    1. I cannot access the webgui without running iptables -f. Afterwards, the gui works fine.

    2. On the ELASTIX 1.6 gui, the extensions page (https://10.0.0.213/?menu=pbxconfig&display=extensions) and followme page (https://10.0.0.213/?menu=pbxconfig&display=findmefollow) do not display. This is also true on FREEPBX but with one twist.

    One the FreePBX status box, it shows that ASTERISK is RED and SSH is Yellow along with OP Panel.


    When I SSH into the machine, I have tried to restart asterisk via service asterisk restart and everything comes up okay.

    I also have tried to service amportal restart and I get an unrecognized command.

    3. On the Elastix Gui, under the ASTERISK CLI, I tried to run some commands and the following is what I received:

    Asterisk-Cli
    Command

    sip show registry

    Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)

    I have tried to update the system via yum update after these issues and that did not help.

    When I run TOP, I get the following:



    op - 11:40:09 up 2:02, 2 users, load average: 0.00, 0.00, 0.00
    Tasks: 171 total, 2 running, 169 sleeping, 0 stopped, 0 zombie
    Cpu(s): 0.0%us, 0.0%sy, 0.0%ni, 99.9%id, 0.1%wa, 0.0%hi, 0.0%si, 0.0%st
    Mem: 16032840k total, 2041028k used, 13991812k free, 126900k buffers
    Swap: 18481144k total, 0k used, 18481144k free, 1118972k cached

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    1 root 15 0 10348 692 584 S 0.0 0.0 0:00.17 init
    2 root RT -5 0 0 0 S 0.0 0.0 0:00.00 migration/0
    3 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0
    4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
    5 root RT -5 0 0 0 S 0.0 0.0 0:00.00 migration/1
    6 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/1
    7 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/1
    8 root RT -5 0 0 0 S 0.0 0.0 0:00.00 migration/2
    9 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/2
    10 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/2
    11 root RT -5 0 0 0 S 0.0 0.0 0:00.00 migration/3
    12 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/3
    13 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/3
    14 root RT -5 0 0 0 S 0.0 0.0 0:00.00 migration/4
    15 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/4
    16 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/4
    17 root RT -5 0 0 0 S 0.0 0.0 0:00.00 migration/5
    18 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/5
    19 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/5
    20 root RT -5 0 0 0 S 0.0 0.0 0:00.00 migration/6
    21 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/6
    22 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/6
    23 root RT -5 0 0 0 S 0.0 0.0 0:00.00 migration/7
    24 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/7
    25 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/7
    26 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 events/0
    27 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 events/1
    28 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 events/2
    29 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 events/3
    30 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 events/4
    31 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 events/5
    32 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 events/6
    33 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 events/7
    34 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 khelper
    35 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kthread
    37 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 xenwatch


    When I go to the /var/log/asterisk folder and run tail -f full I get the following'


    [root@pbx asterisk]# tail -f full
    [Apr 13 11:47:29] VERBOSE[7154] logger.c: == Parsing '/etc/asterisk/phone.conf': [Apr 13 11:47:29] VERBOSE[7154] logger.c: Found
    [Apr 13 11:47:29] VERBOSE[7154] logger.c: == Registered channel type 'Phone' (Standard Linux Telephony API Driver)
    [Apr 13 11:47:29] VERBOSE[7154] logger.c: chan_phone.so => (Linux Telephony API Support)
    [Apr 13 11:47:29] VERBOSE[7154] logger.c: == Registered application 'Zapateller'
    [Apr 13 11:47:29] VERBOSE[7154] logger.c: app_zapateller.so => (Block Telemarketers with Special Information Tone)
    [Apr 13 11:47:29] VERBOSE[7154] logger.c: Asterisk Ready.
    [Apr 13 11:47:35] VERBOSE[7229] logger.c: == Parsing '/etc/asterisk/manager.conf': [Apr 13 11:47:35] VERBOSE[7229] logger.c: Found
    [Apr 13 11:47:35] VERBOSE[7229] logger.c: == Parsing '/etc/asterisk/manager_additional.conf': [Apr 13 11:47:35] VERBOSE[7229] logger.c: Found
    [Apr 13 11:47:35] VERBOSE[7229] logger.c: == Parsing '/etc/asterisk/manager_custom.conf': [Apr 13 11:47:35] VERBOSE[7229] logger.c: Found
    [Apr 13 11:47:35] VERBOSE[7229] logger.c: == Manager 'admin' logged on from 127.0.0.1



    Does anyone have any ideas? I have installed Elastix before on two other servers (Sun V20 & HP DL160) without hiccup. Any help would be appreciated.
     
  2. stilllearning

    Joined:
    Mar 3, 2010
    Messages:
    11
    Likes Received:
    0
    This is because asterisk is not running.


    If you started asterisk then all should be good to go.

    This is due to Asterisk not running

    At the root prompt can you just type "asterisk" without the quotes and see if asterisk starts if this does not start asterisk then try this witout the quotes "/etc/init.d/asterisk start"
     
  3. BADTAD

    Joined:
    Apr 13, 2010
    Messages:
    6
    Likes Received:
    0
    Thank you for your input. I have tried this a few times; with the following results:


    [root@pbx ~]# amportal restart



    STOPPING ASTERISK
    Asterisk ended with exit status 0
    Asterisk shutdown normally.
    Asterisk Stopped

    STOPPING FOP SERVER
    FOP Server Stopped
    SETTING FILE PERMISSIONS
    Permissions OK

    STARTING ASTERISK
    Asterisk Started

    STARTING FOP SERVER
    FOP Server Started
    [root@pbx ~]# /etc/init.d/asterisk start
    SETTING FILE PERMISSIONS Asterisk
    Permissions Asterisk OK
    Asterisk is already running.
    [root@pbx ~]#


    Even though the ssh command interface claims it is running, both Elastix and Freepbx are not able to open the extensions page nor the followme page. Do you have any other ideas?

    As a FYI, I reformatted the machine last night and reinstalled ELASTIX 1.6 / 32bit instead and I still have the same problem!!!

    Thanks in advance.
     
  4. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    I suggest you try booting the non-xen kernel.
     
  5. BADTAD

    Joined:
    Apr 13, 2010
    Messages:
    6
    Likes Received:
    0
    Dicko:

    Your suggestion was on the money. Eeek.... what grief and aggravation in getting to this simple answer. Thanks - Mike
     
  6. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    Your welcome,

    Many pieces of hardware just don't like XEN, it will be dropped from Elastix shortly for this and other reasons.

    dicko
     
  7. angmarti

    Joined:
    Apr 14, 2010
    Messages:
    5
    Likes Received:
    0
    Hello Dicko,

    Can you please elaborate a little bit more on Elastix's plans for Xen? I'm quite concerned about dropping its support as Xen is playing a major role in the VM world. BTW,I'm neither associated with Xen nor have any financial vested interest in Citrix or any other associated entity.

    I'm experiencing challenges getting Elastix to work on XEN, but the majority of the issues are related to my ignorance of the linux world (catching up quickly thought....).

    My understanding is you are a key player in the Elastix world and I'd appreciate your feedback as to what we could expect out of Elastix in reference to Xen.

    Thank you very much,
    Angel
     
  8. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    Fear not angmarti:

    I am not in the position to speak for Elastix, but I am privy to some burgeoning developments.

    XEN is a wonderful product that works wonderfully on appropriate hardware. Unfortunately it just won't work on many older hardware platforms, and many who come here are exactly using that old clonker they dragged out of the garage. (I personally have been complaining about it's preferred status in Elastix for over a year for that reason.)

    XEN is as I'm sure you know a method of para-virtualization, it will abstract your hardware and present it to the underlying OS largely unchanged, but with kernel hooks that allow redirection at a level above the OS and available to the the other DOM's running under that kernel. If however you don't have appropriate hardware you can be royally Fu^%$ed.

    If you need XEN then you would obviously know how to implement it. As Elastix is based on Centos that would be trivial for such an administrator.

    Normally you just don't need XEN, it is unnecessary and in BADTAD and many other's cases it will spoil your whole day, so to save the Elastix Developers the effort of maintaining two kernels, and it's complete non-necessity for 99% of Elastix users, and the acceptance that the other 1% are more than capable of adding it, it will be left to the implimentor if so needed.

    regards

    dicko
     
  9. angmarti

    Joined:
    Apr 14, 2010
    Messages:
    5
    Likes Received:
    0
    Thanks Dicko for the reply. I understand your point and agree on the need for more updated hardware than the clonkers being used in some implementations. Definitely Xen is not for these kind of users. I'm not an expert in Linux or Xen, just learning as I see a significant growth in the use of Elastix (also Trixbox, FreePBX, etc.) in virtualization mode and Xen seems to be the most appropiate platform. I understand the issues presented Xen managing the its own virtual networks an I'm hopeful these issues are being addressed.

    Regards, Angel
     
  10. BADTAD

    Joined:
    Apr 13, 2010
    Messages:
    6
    Likes Received:
    0
    Hi Dicko:
    I am running into some major problems with XEN. I have followed a post found on


    http://centos.org/modules/newbb/print.p ... SC&start=0


    about steps to remove XEN.


    After going through all the steps, now the ELASTIX web gui does not come up.

    When I run amportal retart it shows that asterisk is running along with a service asterisk restart.


    Any ideas?
     
  11. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    you don't need to remove xen, just don't start it, /boot/grub/grub.conf can be edited so that default= the kernel in th 0 based list is the default kernel
     
  12. fraggle4

    Joined:
    Apr 22, 2009
    Messages:
    98
    Likes Received:
    0
    If you have Webmin installed, you can go to Hardware-Grub Boot Loader and just delete it there, that's what I did, anyway.
     

Share This Page