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
    124.5k
    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.
    • thiagolimaT
      thiagolima @3Mu36
      last edited by

      @3Mu36 +1 on this solution. Not that I'm planning to leave like that but at least it is a good test if you're facing error 500.

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

        @thiagolima said:

        @scottalanmiller Yes, I always use the keys and never the passwords. And that's the root of all my issues. After the install, when I try to run commands as sudo (or try 'sudo su' or even 'su -'), it is asked for a root password that I've never set. Thus, I'm locked outside my own box.

        This is not the same as what you had asked (it is not changing any passwords) and is a well known issue with Elastix: it has always changed the sudoers file.

        We talked about this issue somewhere above. Sadly, this is simply how Elastix works and you've always needed to deal with this when working with Elastix. There are a few decent choices but you need keys for root and this won't be a problem. You mentioned that you had the root password change, but that's not what changed.

        Just set a root key and you are fine. It's trying to use the non-standard sudoers mechanism that Elastix does not intend you to use that causes an issue. Sudoers is awesome and we always use it so I totally feel your pain, but it's just something you have to know with Elastix.

        Somewhere in the thread I showed to someone who was facing this, as we all do, that you can make your sudoers file something like /etc/sudoers.master and run a cronjob to copy that file to the /etc/sudoers file every fifteen minutes or whatever. Cheesy but effective. That's all that is needed. No passwords or keys are changed by Elastix.

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

          @thiagolima said:

          And this is a problem affecting just the CentOS provided by CentOS itself for Amazon Web Services. I have Elastix MT running on Digital Ocean and I don't really think it would happen there for Elastix 4.

          Unless something is modifying the sudoers behaviour, it will happen everywhere. It is one of the RPMs for Elastix overwrites that file whenever it updates. So be prepared, it happens over and over. Digital Ocean you probably don't notice because as a standard install step they set up root, not user, keys without sudoers. So the issue is bypassed by Digital Ocean doing what I said to do on their own 😉

          1 Reply Last reply Reply Quote 1
          • Y
            yonniz
            last edited by

            I installed Elastix using your script, hasn't worked out for me. Any tips on how to uninstall?

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

              @yonniz said in Building Elastix 4 via RPM Repo:

              I installed Elastix using your script, hasn't worked out for me. Any tips on how to uninstall?

              You would never uninstall Elastix, you would just create a new VM in its place.

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

                What is your end goal now; what are you trying to install?

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

                  @yonniz how is your project going?

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

                    I added a disclaimer and warning to the original post to let people know that FreePBX is the better way to go at this point.

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

                      also forked out the most recent topic so that we could address it on its own.

                      1 Reply Last reply Reply Quote 0
                      • P
                        professionel @scottalanmiller
                        last edited by

                        @scottalanmiller said in Building Elastix 4 via RPM Repo:

                        ested as working for

                        Hello
                        Where can i get your script ? please

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

                          @professionel said in Building Elastix 4 via RPM Repo:

                          @scottalanmiller said in Building Elastix 4 via RPM Repo:

                          ested as working for

                          Hello
                          Where can i get your script ? please

                          It's the very first post, just use the up arrows to navigate to the top, scroll up manually (it is a long way) or alter the URL to remove the number at the end after the last / (probably something like 177)

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

                            @professionel welcome to the community, by the way.

                            While you are asking, though, I should point out (and it says this in the top post) that Elastix 4 is not stable and not well supported. We all highly recommend using FreePBX instead, today, in 99% of cases. I would definitely look at that first, before going down the Elastix 4 path.

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

                              Another update, Elastix is gone now, the product at least. So it should be out of the question to be attempting to do this at this point.

                              DashrenderD 1 Reply Last reply Reply Quote 0
                              • DashrenderD
                                Dashrender @scottalanmiller
                                last edited by

                                @scottalanmiller said in Building Elastix 4 via RPM Repo:

                                Another update, Elastix is gone now, the product at least. So it should be out of the question to be attempting to do this at this point.

                                I was wondering if the last nail was ever going to be pounded.

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

                                  @Dashrender said in Building Elastix 4 via RPM Repo:

                                  @scottalanmiller said in Building Elastix 4 via RPM Repo:

                                  Another update, Elastix is gone now, the product at least. So it should be out of the question to be attempting to do this at this point.

                                  I was wondering if the last nail was ever going to be pounded.

                                  Here or by 3CX?

                                  DashrenderD 1 Reply Last reply Reply Quote 0
                                  • DashrenderD
                                    Dashrender @scottalanmiller
                                    last edited by

                                    @scottalanmiller said in Building Elastix 4 via RPM Repo:

                                    @Dashrender said in Building Elastix 4 via RPM Repo:

                                    @scottalanmiller said in Building Elastix 4 via RPM Repo:

                                    Another update, Elastix is gone now, the product at least. So it should be out of the question to be attempting to do this at this point.

                                    I was wondering if the last nail was ever going to be pounded.

                                    Here or by 3CX?

                                    either/both.

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

                                      I think that 3CX will keep the brand around for a long time. It fools a lot of people.

                                      JaredBuschJ 1 Reply Last reply Reply Quote 0
                                      • JaredBuschJ
                                        JaredBusch @scottalanmiller
                                        last edited by

                                        @scottalanmiller said in Building Elastix 4 via RPM Repo:

                                        I think that 3CX will keep the brand around for a long time. It fools a lot of people.

                                        Branding is important for every thing.

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

                                          Yes, the number of people who are out there looking for "whatever is called Elastix" is way more than enough to keep the website and brand name around. Elastix has a huge presence in South America and in LATAM countries in general alone.

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 6
                                          • 7
                                          • 8
                                          • 9
                                          • 10
                                          • 9 / 10
                                          • First post
                                            Last post