ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Building Elastix 4 via RPM Repo

    IT Discussion
    asterisk centos centos 7 elastix elastix 4 linux pbx voip
    15
    184
    125.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • rialejoR
      rialejo
      last edited by

      I get that request:

      [root@78 ~]# rpm -qa | grep httpd
      httpd-2.4.6-40.el7.centos.x86_64
      httpd-tools-2.4.6-40.el7.centos.x86_64

      scottalanmillerS nickN 2 Replies Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @rialejo
        last edited by

        @rialejo said:

        I get that request:

        [root@78 ~]# rpm -qa | grep httpd
        httpd-2.4.6-40.el7.centos.x86_64
        httpd-tools-2.4.6-40.el7.centos.x86_64

        So systemctl enable httpd.server doesn't work but systemctl start httpd.server does?

        rialejoR 1 Reply Last reply Reply Quote 0
        • rialejoR
          rialejo @scottalanmiller
          last edited by

          @scottalanmiller I think no...

          [root@78 ~]# systemctl start httpd.server
          Failed to start httpd.server.service: Unit httpd.server.service failed to load: No such file or directory.

          &

          [root@78 ~]# systemctl enable httpd.server
          Failed to execute operation: No such file or directory

          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller
            last edited by

            If it fails to start, how are you getting to the web page shown in the example?

            1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller
              last edited by

              Try systemctl start httpd

              rialejoR 1 Reply Last reply Reply Quote 0
              • rialejoR
                rialejo @scottalanmiller
                last edited by

                @scottalanmiller That works... but the user and pass faill...

                Could you please confirm the user and pass default?

                [root@78 ~]# systemctl start httpd

                And its true.. im asked the same, it say error to enable that but showme the initial webpage...

                scottalanmillerS nickN 2 Replies Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @rialejo
                  last edited by

                  @rialejo said:

                  And its true.. im asked the same, it say error to enable that but showme the initial webpage...

                  It's because you are getting the name wrong. The .server is not part of the name. Remove that.

                  rialejoR 1 Reply Last reply Reply Quote 1
                  • rialejoR
                    rialejo @scottalanmiller
                    last edited by

                    @rialejo said:

                    systemctl start httpd

                    To access your Elastix System, using a separate workstation (PC/MAC/Linux)
                    Open the Internet Browser using the following URL:
                    http://xxx.xxx.xxx.xx

                    [root@li1307-78 ~]# systemctl start httpd
                    [root@li1307-78 ~]#

                    1 Reply Last reply Reply Quote 0
                    • nickN
                      nick @rialejo
                      last edited by

                      @rialejo @scottalanmiller
                      I tried restarting the service httpd, no luck. I think http server is working because it serves the login page no problem. The troublesome error happens when the first_boot script tries to set the Elastix admin password where there is an sql_lite command that produces error acl_users table not found.

                      I tried login: admin, password: palosanto to no avail. Going to try doing a fresh start with the httpd service line corrected, and will advise.

                      nickN 1 Reply Last reply Reply Quote 1
                      • nickN
                        nick @nick
                        last edited by

                        error on httpd resolved.
                        After running firstboot script, I get:

                        The password for mysql and cyrus admin were successfully changed!
                        Applying MySQL script /var/spool/elastix-mysqldbscripts/01-asteriskcdrdb.sql ...
                        Applying MySQL script /var/spool/elastix-mysqldbscripts/01-freepbx.sql ...
                        Applying MySQL script /var/spool/elastix-mysqldbscripts/02-asteriskuser-password.sql ...
                        No Elastix CallCenter database found.
                        No A2Billing database found.
                        No VTigerCRM database found.
                        Updating FreePBX database password: mysql... files... updated
                        Updating FreePBX admin password: mysql... files... updated
                        Updating FreePBX ARI password: mysql... files... updated
                        Updating Flash Operator Panel password: mysql... files... updated
                        Updating Asterisk Manager Interface password: mysql... files... updated
                        Updating Elastix admin password: sqlite... FATAL: unable to update Elastix admin password: SQLSTATE[HY000]: General error: 1 no such table: acl_user

                        1 Reply Last reply Reply Quote 2
                        • nickN
                          nick @rialejo
                          last edited by

                          @rialejo I have the same result from rpm -qa | grep httpd

                          1 Reply Last reply Reply Quote 1
                          • nickN
                            nick
                            last edited by

                            I owe a coffee to whoever can fix this issue 🙂

                            1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller
                              last edited by

                              I'm trying to get to a point that I can do a fresh build. Got a couple of things demanding my attention in the queue in front of it, I'm afraid.

                              nickN 1 Reply Last reply Reply Quote 1
                              • JaredBuschJ
                                JaredBusch
                                last edited by

                                The solution is to not use a product it's not going to be supported

                                1 Reply Last reply Reply Quote 0
                                • nickN
                                  nick @scottalanmiller
                                  last edited by

                                  @scottalanmiller After restarting several times, I finally made a snapshot on digital ocean just after downloading the ISO. It feels like I have saved my game just before a big boss.

                                  1 Reply Last reply Reply Quote 2
                                  • nickN
                                    nick
                                    last edited by

                                    any luck @rialejo ?
                                    I may try 3.5 instead of 4...

                                    scottalanmillerS 1 Reply Last reply Reply Quote 1
                                    • scottalanmillerS
                                      scottalanmiller @nick
                                      last edited by

                                      @nick said:

                                      any luck @rialejo ?
                                      I may try 3.5 instead of 4...

                                      There is no 3.5. The 3 series was renamed MT and is meant for a completely different purpose. If you want 4, but an older version, you need the 2 series.

                                      Elastix MT is for multi-tenant hosting environments.

                                      Elastix 4 is the as of yet unreleased updated to Elastix 2.5 which is a standard single tenant PBX.

                                      1 Reply Last reply Reply Quote 0
                                      • scottalanmillerS
                                        scottalanmiller
                                        last edited by

                                        Oh yeah, Elastix 4 just dropped. I've only worked with RC3. Getting this up and running will be a much higher priority now. Stay tuned 😉

                                        1 Reply Last reply Reply Quote 1
                                        • rialejoR
                                          rialejo
                                          last edited by

                                          @nick cool! so now we must to undertund why that step is not working... No, not yet... im was tring to edit the password but im not sure about the file that content that... i mean in some parts say a command with a file address... but giveme no such file:

                                          sqlite3 /var/www/db/acl.db "UPDATE acl_user SET md5_password='5f4dcc3b5aa765d61d8327deb882cf99' WHERE name='admin'"

                                          nickN 1 Reply Last reply Reply Quote 0
                                          • nickN
                                            nick @rialejo
                                            last edited by

                                            @rialejo I've seen this fix --- it looks promising, but in my asterisk database, I don't have a table called acl_users. ..getting close.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 9
                                            • 10
                                            • 2 / 10
                                            • First post
                                              Last post