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

    Installing Java/JRE on Fedora 29 - Error Conflicting Requests

    Scheduled Pinned Locked Moved IT Discussion
    fedora29java 8jrerpmwazuh
    23 Posts 6 Posters 5.1k 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.
    • dbeatoD
      dbeato
      last edited by

      And this
      https://github.com/fedy/fedy/issues/640

      1 Reply Last reply Reply Quote 0
      • wrx7mW
        wrx7m
        last edited by wrx7m

        @dbeato Thanks. I did some research and found that elasticsearch needs at least java 8. JB suggested using dnf install java. It contained version 11 jdk. I have done that and am trying to complete the reset of the wazuh installation.

        travisdh1T dbeatoD 2 Replies Last reply Reply Quote 2
        • travisdh1T
          travisdh1 @wrx7m
          last edited by

          @wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

          Thanks. I did some research and found that elasticsearch needs at least java 8. JB suggested using dnf install java. It contained version 11 jdk. I have done that and am trying to complete the reset of the wazuh installation.

          I've stuck with OpenJRE/OpenJDK when needed. Oracle never seems to get their installer right on linux.

          scottalanmillerS wrx7mW 2 Replies Last reply Reply Quote 1
          • dbeatoD
            dbeato @wrx7m
            last edited by

            @wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

            @dbeato Thanks. I did some research and found that elasticsearch needs at least java 8. JB suggested using dnf install java. It contained version 11 jdk. I have done that and am trying to complete the reset of the wazuh installation.

            Makes sense, latest version.

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

              @travisdh1 said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

              @wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

              Thanks. I did some research and found that elasticsearch needs at least java 8. JB suggested using dnf install java. It contained version 11 jdk. I have done that and am trying to complete the reset of the wazuh installation.

              I've stuck with OpenJRE/OpenJDK when needed. Oracle never seems to get their installer right on linux.

              that's what I generally do, too.

              1 Reply Last reply Reply Quote 0
              • wrx7mW
                wrx7m
                last edited by

                Logstash doesn't like Java 11 😞

                  Running scriptlet: logstash-1:6.6.1-1.noarch                                                                                                                                                       1/1
                Using provided startup.options file: /etc/logstash/startup.options
                Unrecognized VM option 'UseParNewGC'
                Error: Could not create the Java Virtual Machine.
                Error: A fatal exception has occurred. Program will exit.
                Unable to install system startup script for Logstash.
                chmod: cannot access '/etc/default/logstash': No such file or directory
                warning: %post(logstash-1:6.6.1-1.noarch) scriptlet failed, exit status 1
                
                Error in POSTIN scriptlet in rpm package logstash
                  Verifying        : logstash-1:6.6.1-1.noarch                                                                                                                                                       1/1
                
                Installed:
                  logstash-1:6.6.1-1.noarch
                
                
                scottalanmillerS 1 Reply Last reply Reply Quote 0
                • wrx7mW
                  wrx7m @travisdh1
                  last edited by

                  It looks like logstash is using an option that no longer exists in java, "UseParNewGC"
                  https://bugs.openjdk.java.net/browse/JDK-8151084

                  Argh.

                  1 Reply Last reply Reply Quote 1
                  • wrx7mW
                    wrx7m
                    last edited by wrx7m

                    OK. I found I could run

                    yum install java-1.8.0-openjdk
                    

                    to install version 8. After that, I was able to install logstash successfully.

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

                      @wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                      OK. I found I could run

                      yum install java-1.8.0-openjdk
                      

                      to install version 8. After that, I was able to install logstash successfully.

                      Is there a reason that you want an old version?

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

                        @wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                        Logstash doesn't like Java 11 😞

                        NVM, just found this.

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

                          @scottalanmiller said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                          @wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                          OK. I found I could run

                          yum install java-1.8.0-openjdk
                          

                          to install version 8. After that, I was able to install logstash successfully.

                          Is there a reason that you want an old version?

                          Also wtf are you using yum for?

                          travisdh1T wrx7mW 2 Replies Last reply Reply Quote 0
                          • travisdh1T
                            travisdh1 @JaredBusch
                            last edited by

                            @JaredBusch said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                            @scottalanmiller said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                            @wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                            OK. I found I could run

                            yum install java-1.8.0-openjdk
                            

                            to install version 8. After that, I was able to install logstash successfully.

                            Is there a reason that you want an old version?

                            Also wtf are you using yum for?

                            I'd assume that is what Oracle says to use for Fedora.

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

                              @travisdh1 said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                              @JaredBusch said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                              @scottalanmiller said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                              @wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                              OK. I found I could run

                              yum install java-1.8.0-openjdk
                              

                              to install version 8. After that, I was able to install logstash successfully.

                              Is there a reason that you want an old version?

                              Also wtf are you using yum for?

                              I'd assume that is what Oracle says to use for Fedora.

                              That would just mean that Oracle's docs are out of date.

                              travisdh1T 1 Reply Last reply Reply Quote 0
                              • travisdh1T
                                travisdh1 @scottalanmiller
                                last edited by

                                @scottalanmiller said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                                @travisdh1 said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                                @JaredBusch said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                                @scottalanmiller said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                                @wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                                OK. I found I could run

                                yum install java-1.8.0-openjdk
                                

                                to install version 8. After that, I was able to install logstash successfully.

                                Is there a reason that you want an old version?

                                Also wtf are you using yum for?

                                I'd assume that is what Oracle says to use for Fedora.

                                That would just mean that Oracle's docs are out of date.

                                They always are.

                                1 Reply Last reply Reply Quote 0
                                • wrx7mW
                                  wrx7m @JaredBusch
                                  last edited by

                                  @JaredBusch said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                                  @scottalanmiller said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                                  @wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                                  OK. I found I could run

                                  yum install java-1.8.0-openjdk
                                  

                                  to install version 8. After that, I was able to install logstash successfully.

                                  Is there a reason that you want an old version?

                                  Also wtf are you using yum for?

                                  It's wazuh's documentation. They have specific repos for other things too. Not sure why they are still using yum instead of dnf.

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

                                    @wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                                    @JaredBusch said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                                    @scottalanmiller said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                                    @wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                                    OK. I found I could run

                                    yum install java-1.8.0-openjdk
                                    

                                    to install version 8. After that, I was able to install logstash successfully.

                                    Is there a reason that you want an old version?

                                    Also wtf are you using yum for?

                                    It's wazuh's documentation. They have specific repos for other things too. Not sure why they are still using yum instead of dnf.

                                    Pull your head out of your ass and don't blindly type what any guide says. Even one of mine.

                                    If you are using Fedora, you use dnf period. Yes, currently Fedora still has a reroute/alias for it to dnf, but you should not assume it will be there.

                                    8ab6bf8b-22c1-4b99-a848-c68040ee4a26-image.png

                                    black3dynamiteB wrx7mW 2 Replies Last reply Reply Quote 2
                                    • black3dynamiteB
                                      black3dynamite @JaredBusch
                                      last edited by

                                      @JaredBusch said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                                      If you are using Fedora, you use dnf period. Yes, currently Fedora still has a reroute/alias for it to dnf, but you should not assume it will be there.

                                      Yep, yum will be retired when Fedora 31 or sooner. It was going to happen with Fedora 29 release.
                                      https://fedoraproject.org/wiki/Changes/Retire_YUM_3

                                      1 Reply Last reply Reply Quote 0
                                      • wrx7mW
                                        wrx7m @JaredBusch
                                        last edited by

                                        @JaredBusch said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                                        @wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                                        @JaredBusch said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                                        @scottalanmiller said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                                        @wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                                        OK. I found I could run

                                        yum install java-1.8.0-openjdk
                                        

                                        to install version 8. After that, I was able to install logstash successfully.

                                        Is there a reason that you want an old version?

                                        Also wtf are you using yum for?

                                        It's wazuh's documentation. They have specific repos for other things too. Not sure why they are still using yum instead of dnf.

                                        Pull your head out of your ass and don't blindly type what any guide says. Even one of mine.

                                        If you are using Fedora, you use dnf period. Yes, currently Fedora still has a reroute/alias for it to dnf, but you should not assume it will be there.

                                        8ab6bf8b-22c1-4b99-a848-c68040ee4a26-image.png

                                        #chilloutbro You can leave off the first part of that sentence and still provide a constructive answer.

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

                                          @wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                                          @JaredBusch said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                                          @wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                                          @JaredBusch said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                                          @scottalanmiller said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                                          @wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                                          OK. I found I could run

                                          yum install java-1.8.0-openjdk
                                          

                                          to install version 8. After that, I was able to install logstash successfully.

                                          Is there a reason that you want an old version?

                                          Also wtf are you using yum for?

                                          It's wazuh's documentation. They have specific repos for other things too. Not sure why they are still using yum instead of dnf.

                                          Pull your head out of your ass and don't blindly type what any guide says. Even one of mine.

                                          If you are using Fedora, you use dnf period. Yes, currently Fedora still has a reroute/alias for it to dnf, but you should not assume it will be there.

                                          8ab6bf8b-22c1-4b99-a848-c68040ee4a26-image.png

                                          #chilloutbro You can leave off the first part of that sentence and still provide a constructive answer.

                                          You need to think, and you, clearly, are not. So yeah, perfectly fitting.

                                          wrx7mW 1 Reply Last reply Reply Quote 0
                                          • wrx7mW
                                            wrx7m @JaredBusch
                                            last edited by

                                            @JaredBusch said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                                            @wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                                            @JaredBusch said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                                            @wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                                            @JaredBusch said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                                            @scottalanmiller said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                                            @wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:

                                            OK. I found I could run

                                            yum install java-1.8.0-openjdk
                                            

                                            to install version 8. After that, I was able to install logstash successfully.

                                            Is there a reason that you want an old version?

                                            Also wtf are you using yum for?

                                            It's wazuh's documentation. They have specific repos for other things too. Not sure why they are still using yum instead of dnf.

                                            Pull your head out of your ass and don't blindly type what any guide says. Even one of mine.

                                            If you are using Fedora, you use dnf period. Yes, currently Fedora still has a reroute/alias for it to dnf, but you should not assume it will be there.

                                            8ab6bf8b-22c1-4b99-a848-c68040ee4a26-image.png

                                            #chilloutbro You can leave off the first part of that sentence and still provide a constructive answer.

                                            You need to think, and you, clearly, are not. So yeah, perfectly fitting.

                                            So if I didn't know, it has nothing to do with not thinking. I just didn't know. Now I do.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post