Community
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    • Register
    • Login

    Jdisc Integration problem

    Scheduled Pinned Locked Moved General
    jdisc
    3 Posts 2 Posters 577 Views 1 Watching
    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.
    • N Offline
      noob
      last edited by

      Hello,

      I have a problem with jdisc integration.
      I would like to connect Jdisc to I-doit.
      But I have the following error messages:

      Common settings:
      Could not establish connection: "Could not establish connection: "Database error: SQLSTATE[08006] [7] could not connect to server: Permission denied Is the server running on host "@IP" and accepting TCP/IP connections on port 25321? ". Please check your configuration of the selected jdisc server.". Please check your configuration of the selected jdisc server.
      
      Discovery settings:
      The connection to JDisc Web Service could not be established. Please check whether the settings are correct and that the web service is up and running
      

      I test the connection to the PG database from a server other than the I-DOIT server with PgAdmin, and the postgresro account, it's functional.
      I test the connection to the following url : https://@IP with the DOMAIN\myaccount account from a server other than that of I-DOIT, it's functional.

      On the I-DOIT server, I disabled the firewall, but that doesn't change anything.
      When I do an nmap on the two ports I get this result:

      [@~]$ nmap -p 443 @IP
      Starting Nmap 7.70 ( https://nmap.org ) at 2024-01-09 09:40 CET
      Nmap scan report for @IP
      Host is up (0.0011s latency).
      
      PORT    STATE SERVICE
      443/tcp open  https
      
      Nmap done: 1 IP address (1 host up) scanned in 11.04 seconds
      
      
      [@~]$ nmap -p 25321 @IP
      Starting Nmap 7.70 ( https://nmap.org ) at 2024-01-09 09:41 CET
      Nmap scan report for @IP
      Host is up (0.00047s latency).
      
      PORT      STATE SERVICE
      25321/tcp open  unknown
      
      Nmap done: 1 IP address (1 host up) scanned in 11.04 seconds
      

      When I do a curl on the url I get a result.

      On the Jdisc server I don't have a firewall.

      Where can I find logs related to jdisc modules?
      What package do you need to use jdisc in i-doit?

      Idoit serveur : RHEL 8, I-doit pro 28
      jdisc version : Jdisc Discovery 5.0 - Professional Edition - build 5179

      Thank you for your answers.

      i-doit Pro 32

      1 Reply Last reply Reply Quote 0
      • Michael HuhnM Offline
        Michael Huhn
        last edited by

        Hello @noob,

        is SELinux actived? Check here

        You can check the JDisc port in the config file on the JDisc Host in this folder C:\Program Files\JDisc\JDisc Discovery 5.0\config
        Check also the JDisc configuration in i-doit.
        Check Apache and system logs.

        JDisc logs can be viewed via the Programm itself, at Troubleshooting > Logging > Logged Errors

        N 1 Reply Last reply Reply Quote 1
        • N Offline
          noob @Michael Huhn
          last edited by

          @Michael-Huhn Thank for your reply.
          The problem really comes from SELinux, when I switch SELinux to permissive, I can connect to Jdisc.

          i-doit Pro 32

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post