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

    Building Elastix 4 via RPM Repo

    Scheduled Pinned Locked Moved IT Discussion
    asteriskcentoscentos 7elastixelastix 4linuxpbxvoip
    184 Posts 15 Posters 128.2k Views
    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.
    • scottalanmillerS
      scottalanmiller
      last edited by

      I have not used CentOS 7 on Azure, does sudo -i su not allow you to become root, even with it disabled?

      ailton.cardozoA 1 Reply Last reply Reply Quote 0
      • ailton.cardozoA
        ailton.cardozo @scottalanmiller
        last edited by

        @scottalanmiller Thanks for listening.

        scottalanmillerS 1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller @ailton.cardozo
          last edited by

          @ailton.cardozo said:

          @scottalanmiller Thanks for listening.

          No problem!

          1 Reply Last reply Reply Quote 0
          • ailton.cardozoA
            ailton.cardozo @scottalanmiller
            last edited by

            @scottalanmiller Unfortunately not. But I will try on Amazon.

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

              Wow, that's so weird. How does Azure modify CentOS to that degree, and why?

              I suspect no issues on Amazon, they use Xen the same as Rackspace. Digital Ocean uses KVM.

              ailton.cardozoA 1 Reply Last reply Reply Quote 1
              • ailton.cardozoA
                ailton.cardozo @scottalanmiller
                last edited by

                @scottalanmiller Before starting the script I saw that it's possible to renable root user based in our discussion. Now i think It will work.

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

                  Oh good, that makes more sense that it is only off by default, not removed completely!

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

                    Got this installed except for the same error I see here (http://mangolassi.it/topic/6319/elastix-4-install-errors-with-sqlite-unable-to-update-admin-password/6) Any resolution to this?

                    The database asterisk is there with a table called "ampusers" where it looks like passwords are stored in a field called "password_sha1".

                    I had no luck with UPDATE (ing) that table and setting password_sha1=SHA1("newpassword") WHERE user="admin"

                    Feels so close.

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

                      @scottalanmiller tried removing this section, but then no password is set for the admin account. I seem installed, but cannot log in.0_1455624120651_capture.PNG . Am trying on digitalocean as well with centOS 7.

                      Also, the line "systemctl enable httpd.server" produces file not found error.

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

                        @nick what does rpm -qa | grep httpd return?

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

                          @nick Hello, i´m too in the same part of problem... please if you have any update, let me know. regards!

                          1 Reply Last reply Reply Quote 0
                          • 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
                                            • 1
                                            • 2
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 10 / 10
                                            • First post
                                              Last post