SC_ERR_NOT_SUPPORTED(225) with Suricata on CentOS 6.5

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












3















I have just installed installed Suricata 2.0.3 RELEASE on CentOS 6.5. I try running it with



sudo suricata -c /etc/suricata/suricata.yaml -i eth0


and get the following warning



<Warning> - [ERRCODE: SC_ERR_NOT_SUPPORTED(225)] - Eve-log support not compiled in. Reconfigure/recompile with libjansson and its development files installed to add eve-log support.


I compilied and install Jannson as outlined here and then rebuilt Suricata as follows.



sudo make
sudo make-install
sudo make-install-full


and everything proceeded without any errors. However I still get the SC_ERR_NOT_SUPPORTED warning. I did a search for the error message and found a link that said it was a known issue that won't be fixed due to an issue with the Jannson library. Is this the case? If so, can I disable this warning?










share|improve this question
























  • The libjansson version you used is likely too old. The doc link suggests you used 1.1. Please try 2.7.

    – Victor Julien
    Jan 6 '15 at 14:20















3















I have just installed installed Suricata 2.0.3 RELEASE on CentOS 6.5. I try running it with



sudo suricata -c /etc/suricata/suricata.yaml -i eth0


and get the following warning



<Warning> - [ERRCODE: SC_ERR_NOT_SUPPORTED(225)] - Eve-log support not compiled in. Reconfigure/recompile with libjansson and its development files installed to add eve-log support.


I compilied and install Jannson as outlined here and then rebuilt Suricata as follows.



sudo make
sudo make-install
sudo make-install-full


and everything proceeded without any errors. However I still get the SC_ERR_NOT_SUPPORTED warning. I did a search for the error message and found a link that said it was a known issue that won't be fixed due to an issue with the Jannson library. Is this the case? If so, can I disable this warning?










share|improve this question
























  • The libjansson version you used is likely too old. The doc link suggests you used 1.1. Please try 2.7.

    – Victor Julien
    Jan 6 '15 at 14:20













3












3








3








I have just installed installed Suricata 2.0.3 RELEASE on CentOS 6.5. I try running it with



sudo suricata -c /etc/suricata/suricata.yaml -i eth0


and get the following warning



<Warning> - [ERRCODE: SC_ERR_NOT_SUPPORTED(225)] - Eve-log support not compiled in. Reconfigure/recompile with libjansson and its development files installed to add eve-log support.


I compilied and install Jannson as outlined here and then rebuilt Suricata as follows.



sudo make
sudo make-install
sudo make-install-full


and everything proceeded without any errors. However I still get the SC_ERR_NOT_SUPPORTED warning. I did a search for the error message and found a link that said it was a known issue that won't be fixed due to an issue with the Jannson library. Is this the case? If so, can I disable this warning?










share|improve this question
















I have just installed installed Suricata 2.0.3 RELEASE on CentOS 6.5. I try running it with



sudo suricata -c /etc/suricata/suricata.yaml -i eth0


and get the following warning



<Warning> - [ERRCODE: SC_ERR_NOT_SUPPORTED(225)] - Eve-log support not compiled in. Reconfigure/recompile with libjansson and its development files installed to add eve-log support.


I compilied and install Jannson as outlined here and then rebuilt Suricata as follows.



sudo make
sudo make-install
sudo make-install-full


and everything proceeded without any errors. However I still get the SC_ERR_NOT_SUPPORTED warning. I did a search for the error message and found a link that said it was a known issue that won't be fixed due to an issue with the Jannson library. Is this the case? If so, can I disable this warning?







security






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 29 '14 at 3:05







OtagoHarbour

















asked Sep 28 '14 at 19:15









OtagoHarbourOtagoHarbour

3784921




3784921












  • The libjansson version you used is likely too old. The doc link suggests you used 1.1. Please try 2.7.

    – Victor Julien
    Jan 6 '15 at 14:20

















  • The libjansson version you used is likely too old. The doc link suggests you used 1.1. Please try 2.7.

    – Victor Julien
    Jan 6 '15 at 14:20
















The libjansson version you used is likely too old. The doc link suggests you used 1.1. Please try 2.7.

– Victor Julien
Jan 6 '15 at 14:20





The libjansson version you used is likely too old. The doc link suggests you used 1.1. Please try 2.7.

– Victor Julien
Jan 6 '15 at 14:20










2 Answers
2






active

oldest

votes


















0














I was running into the same issue on my Ubuntu box, here's what I did to get rid of it.



  1. Go install the libjansson 2.7 library. You can find it here.



  2. Run these commands to recompile with the new libjansson library.



    ./configure <whatever flags you had before> --with-libjansson libraries=/path/to/lib/dir --with-libjansson-includes=/path/to/include/dir
    make
    sudo make install



  3. Run suricata to make sure the warning went away.



    sudo suricata -c /etc/suricata/suricata.yaml -i <interface>






share|improve this answer






























    0














    I ran into same problem in CentOS 7.



    Install package:



    yum install jansson


    Then I ran configure script as below :



    ./configure --prefix=/usr/ --sysconfdir=/etc/ --localstatedir=/var/ --with-libjansson-libraries=/usr/lib64 --with-libjansson-includes=/usr/include <some other flags>


    I am using 64-bit machine that's why it's /usr/lib64, otherwise it should be /usr/lib.



    Compile the codes:



    make
    make install-full


    Run suricata:



    LD_LIBRARY_PATH=/usr/lib /usr/bin/suricata -c /etc/suricata/suricata.yaml -i eth0


    eth0 is interface (device) name here.






    share|improve this answer






















      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "106"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f158061%2fsc-err-not-supported225-with-suricata-on-centos-6-5%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      I was running into the same issue on my Ubuntu box, here's what I did to get rid of it.



      1. Go install the libjansson 2.7 library. You can find it here.



      2. Run these commands to recompile with the new libjansson library.



        ./configure <whatever flags you had before> --with-libjansson libraries=/path/to/lib/dir --with-libjansson-includes=/path/to/include/dir
        make
        sudo make install



      3. Run suricata to make sure the warning went away.



        sudo suricata -c /etc/suricata/suricata.yaml -i <interface>






      share|improve this answer



























        0














        I was running into the same issue on my Ubuntu box, here's what I did to get rid of it.



        1. Go install the libjansson 2.7 library. You can find it here.



        2. Run these commands to recompile with the new libjansson library.



          ./configure <whatever flags you had before> --with-libjansson libraries=/path/to/lib/dir --with-libjansson-includes=/path/to/include/dir
          make
          sudo make install



        3. Run suricata to make sure the warning went away.



          sudo suricata -c /etc/suricata/suricata.yaml -i <interface>






        share|improve this answer

























          0












          0








          0







          I was running into the same issue on my Ubuntu box, here's what I did to get rid of it.



          1. Go install the libjansson 2.7 library. You can find it here.



          2. Run these commands to recompile with the new libjansson library.



            ./configure <whatever flags you had before> --with-libjansson libraries=/path/to/lib/dir --with-libjansson-includes=/path/to/include/dir
            make
            sudo make install



          3. Run suricata to make sure the warning went away.



            sudo suricata -c /etc/suricata/suricata.yaml -i <interface>






          share|improve this answer













          I was running into the same issue on my Ubuntu box, here's what I did to get rid of it.



          1. Go install the libjansson 2.7 library. You can find it here.



          2. Run these commands to recompile with the new libjansson library.



            ./configure <whatever flags you had before> --with-libjansson libraries=/path/to/lib/dir --with-libjansson-includes=/path/to/include/dir
            make
            sudo make install



          3. Run suricata to make sure the warning went away.



            sudo suricata -c /etc/suricata/suricata.yaml -i <interface>







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Apr 28 '15 at 17:44









          user112311user112311

          1




          1























              0














              I ran into same problem in CentOS 7.



              Install package:



              yum install jansson


              Then I ran configure script as below :



              ./configure --prefix=/usr/ --sysconfdir=/etc/ --localstatedir=/var/ --with-libjansson-libraries=/usr/lib64 --with-libjansson-includes=/usr/include <some other flags>


              I am using 64-bit machine that's why it's /usr/lib64, otherwise it should be /usr/lib.



              Compile the codes:



              make
              make install-full


              Run suricata:



              LD_LIBRARY_PATH=/usr/lib /usr/bin/suricata -c /etc/suricata/suricata.yaml -i eth0


              eth0 is interface (device) name here.






              share|improve this answer



























                0














                I ran into same problem in CentOS 7.



                Install package:



                yum install jansson


                Then I ran configure script as below :



                ./configure --prefix=/usr/ --sysconfdir=/etc/ --localstatedir=/var/ --with-libjansson-libraries=/usr/lib64 --with-libjansson-includes=/usr/include <some other flags>


                I am using 64-bit machine that's why it's /usr/lib64, otherwise it should be /usr/lib.



                Compile the codes:



                make
                make install-full


                Run suricata:



                LD_LIBRARY_PATH=/usr/lib /usr/bin/suricata -c /etc/suricata/suricata.yaml -i eth0


                eth0 is interface (device) name here.






                share|improve this answer

























                  0












                  0








                  0







                  I ran into same problem in CentOS 7.



                  Install package:



                  yum install jansson


                  Then I ran configure script as below :



                  ./configure --prefix=/usr/ --sysconfdir=/etc/ --localstatedir=/var/ --with-libjansson-libraries=/usr/lib64 --with-libjansson-includes=/usr/include <some other flags>


                  I am using 64-bit machine that's why it's /usr/lib64, otherwise it should be /usr/lib.



                  Compile the codes:



                  make
                  make install-full


                  Run suricata:



                  LD_LIBRARY_PATH=/usr/lib /usr/bin/suricata -c /etc/suricata/suricata.yaml -i eth0


                  eth0 is interface (device) name here.






                  share|improve this answer













                  I ran into same problem in CentOS 7.



                  Install package:



                  yum install jansson


                  Then I ran configure script as below :



                  ./configure --prefix=/usr/ --sysconfdir=/etc/ --localstatedir=/var/ --with-libjansson-libraries=/usr/lib64 --with-libjansson-includes=/usr/include <some other flags>


                  I am using 64-bit machine that's why it's /usr/lib64, otherwise it should be /usr/lib.



                  Compile the codes:



                  make
                  make install-full


                  Run suricata:



                  LD_LIBRARY_PATH=/usr/lib /usr/bin/suricata -c /etc/suricata/suricata.yaml -i eth0


                  eth0 is interface (device) name here.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Dec 13 '16 at 9:54









                  Pankaj GoyalPankaj Goyal

                  1011




                  1011



























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Unix & Linux Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f158061%2fsc-err-not-supported225-with-suricata-on-centos-6-5%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown






                      Popular posts from this blog

                      Peggy Mitchell

                      Palaiologos

                      The Forum (Inglewood, California)