Results 1 to 6 of 6

Thread: Opening a port??

  1. #1
    zippdawg NNTP User

    Default Opening a port??

    I was trying to install a monitoring agent and I got this error ..

    -- Sleeping for 3 seconds
    4 - Verifying Agent Installation
    - Checking communications
    Port 9998 is closed the agent will not work
    - Checking file dependencies

    How do I open port 9998?

    Thanks,
    Z

  2. #2
    Join Date
    Jun 2008
    Location
    Kansas City
    Posts
    60

    Default Re: Opening a port??

    hello Z, some more info would help.

    0. What version of oS are you running?
    1. What is the name of the monitoring agent?
    2. Are you querying the agent from the same computer it's running on or is it elsewhere on the network?

    If it's on another machine then you'll need to make sure the firewall on the machine running the agent isn't blocking the port. Assuming you're using the oS firewall run "yast firewall".

    Otherwise, speaking very generally, it's possible the reason the port isn't open is because the agent simply failed to start. I'd look at the agent configuration or earlier in the log files for indications that that may be what happened.
    --Khan St Preest

  3. #3
    Join Date
    Jun 2008
    Location
    Kansas City
    Posts
    60

    Default Re: Opening a port??

    clarification: Assuming you're using the oS firewall run "yast firewall", go to Allowed Services, and then Advanced. Add 9998 to either or both the TCP or UDP list of allow ports as required.
    --Khan St Preest

  4. #4
    zippdawg NNTP User

    Default Re: Opening a port??

    You were right on Stephen. It wasnt started.

    Doh!

    Z

  5. #5
    Join Date
    Jun 2008
    Location
    Kansas City
    Posts
    60

    Default Re: Opening a port??

    lol... I've had many "doh" moments myself, glad it turned out to be something that simple.
    --Khan St Preest

  6. #6
    ab@novell.com NNTP User

    Default Re: Opening a port??

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    It may be worthwhile here to mention the option to use netcat as a
    troubleshooting tool in this case to ensure routes, netmasks to some
    extent, and most-oftn, firewalls. For example to setup a listening TCP
    port on port 9998:

    netcat -l 9998

    To connect to that port on that remote box use the following to verify a
    connection is possible:

    netcat -zv <remoteBoxIPOrDNSName> 9998

    If it works properly you should see the following or something similar
    with 'open' there:

    mybox:~> netcat -zv remotebox 9998
    remotebox [123.45.67.89] 9998 (?) open

    If you were to run the second netcat command on the box with the port
    open it should connect unless your firewall is REALLY restrictive, where
    using it on a remote box will not connect with most firewalls by default
    because that is a bigger security risk.

    Good luck.





    zippdawg wrote:
    | I was trying to install a monitoring agent and I got this error ..
    |
    | -- Sleeping for 3 seconds
    | 4 - Verifying Agent Installation
    | - Checking communications
    | Port 9998 is closed the agent will not work
    | - Checking file dependencies
    |
    | How do I open port 9998?
    |
    | Thanks,
    | Z
    |
    |
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.2 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFIUfCr3s42bA80+9kRAr7SAJ42aT8sA0Fg1tk/8jcyJW8Wq9wb9QCgiuaJ
    AtJmneSD1WzaiJLJ8k3M8Yg=
    =TgKK
    -----END PGP SIGNATURE-----

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •