Sponsored Content
Operating Systems AIX NAGIOS Service not able to open port on AIX 7.1 Post 303022900 by MadeInGermany on Sunday 9th of September 2018 07:37:07 AM
Old 09-09-2018
Some other debugging tips:
If the telnet terminates with "connection refused" then there is no listener.
The listener and a connection to it is shown with netstat.
You can start the service daemon with truss -f to see what it does.
This User Gave Thanks to MadeInGermany For This Post:
 

10 More Discussions You Might Find Interesting

1. AIX

How to open a port in AIX

Hi Guys, i am trying to open a port in AIX. but i am not able to get the command for this. AIX is not having the iptables file present. So please any body can tell me how to open a port in AIX... Thanks sanju (2 Replies)
Discussion started by: sanju_d1231
2 Replies

2. IP Networking

Unknown open port: "6881/tcp open bittorrent-tracker" found with nmap

Hi. I ran nmap on my server, and I get the following: Starting Nmap 4.76 ( http://nmap.org ) at 2009-03-19 16:33 EDT Interesting ports on -------- (-----): Not shown: 997 closed ports PORT STATE SERVICE 22/tcp open ssh 80/tcp open http 6881/tcp open bittorrent-tracker The... (0 Replies)
Discussion started by: Rledley
0 Replies

3. Infrastructure Monitoring

Using SMF to register & start a (Nagios) service

I'm trying to register & start a service using SMF on Solaris 10. It's nsca, part of the Nagios monitoring system. I've got nsca running fine as a detached process, and can manually create passive checks via send_nsca. But when I try to run nsca as a daemon, I need some advice. The nsca... (0 Replies)
Discussion started by: lyle
0 Replies

4. Web Development

Need to run Nagios Web Interface on a different port

Hi, During Nagios install we added the following piece of config to apache httpd.conf file and it runs on the regular port 80, now if I want to run this on a different port then what needs to changed to make it run on lets say port 8080. I tried adding Virtual servers but was getting... (1 Reply)
Discussion started by: jacki
1 Replies

5. Shell Programming and Scripting

Parsing Nagios service config files with awk

Hope someone can help, I've been pulling my hair out with this one... I've written a shell script that does a sanity check on our quite extensive Nagios configuration for anything that needs cleaning up but wouldn't make the Nagios daemon necessarily bork or complain. One section of the script... (2 Replies)
Discussion started by: vinbob
2 Replies

6. AIX

How to open port 1001 on AIX 6.1

Hi all, I have problem while starting Oracle Listener on port 1001(I think it's well known ports). It's error "Permission denied" I can start it on port 1111 and no any service started on port 1001(netstat -an). Can I start on this port ??, How ?? Thank you aRm (5 Replies)
Discussion started by: arm_naja
5 Replies

7. Programming

Using Different port for Daytime Service

Hi all, is it possible to use a different port number for daytime service. By default the port number of daytime service is 13, so what if I want to get the time from a different port number e.g say 9000 (or any other port). I guess this would remain the same on the server side !... (2 Replies)
Discussion started by: manisum
2 Replies

8. IP Networking

Tcp ip port open but no such process (merged: Release A Port)

i want to kill a tcp connection by killing its pid with netstat -an i got the tcp ip connection on port 5914 but when i type ps -a or ps-e there is not such process running on port 5914 is it possible that because i do not log on with proper user account i can not see that process running? (30 Replies)
Discussion started by: alinamadchian
30 Replies

9. Solaris

Cabling and adapters to communicate to service processor serial port from Windows PC with USB port.

Hello, I have an unloaded T5140 machine and want to access the ILOM for the first time and subsequently the network port after that., and then load Solaris 10 the final January 2011 build. The first part is what confuses me -the cabling. I am coming from a Windows machine (w/appropriate... (5 Replies)
Discussion started by: joboy
5 Replies

10. AIX

Nagios for AIX 7.1

Hello All, I am new to Nagios. I have a requirement to monitor AIX 7.1 using Nagios xi, could any one guide me steps to go in right direction. I know Nagios doesn't have precompiled agent and plugin for aix 7.1. Appreciate your help (2 Replies)
Discussion started by: bsivavani
2 Replies
EVENTLISTENER(3)							 1							  EVENTLISTENER(3)

The EventListener class

INTRODUCTION
Represents a connection listener. CLASS SYNOPSIS
EventListener final EventListener Constants o const integer$EventListener::OPT_LEAVE_SOCKETS_BLOCKING1 o const integer$EventListener::OPT_CLOSE_ON_FREE2 o const integer$EventListener::OPT_CLOSE_ON_EXEC4 o const integer$EventListener::OPT_REUSEABLE8 o const integer$EventListener::OPT_THREADSAFE16 Properties o publicreadonly int$fd Methods o public EventListener::__construct (EventBase $base, callable $cb, mixed $data, int $flags, int $backlog, mixed $target) o public bool EventListener::disable (void ) o public bool EventListener::enable (void ) o public void EventListener::getBase (void ) o publicstatic bool EventListener::getSocketName (string &$address, [mixed &$port]) o public void EventListener::setCallback NULL (callable $cb, [mixed $arg]) o public void EventListener::setErrorCallback (string $cb) PROPERTIES
o $fd - Numeric file descriptor of the underlying socket. (Added in event-1.6.0 .) PREDEFINED CONSTANTS
o EventListener::OPT_LEAVE_SOCKETS_BLOCKING - By default Libevent turns underlying file descriptors, or sockets, to non-blocking mode. This flag tells to leave them non-blocking. o EventListener::OPT_CLOSE_ON_FREE - If this option is set, the connection listener closes its underlying socket when the EventLis- tener object is freed. o EventListener::OPT_CLOSE_ON_EXEC - If this option is set, the connection listener sets the close-on-exec flag on the underlying listener socket. See platform documentation for fcntl and FD_CLOEXEC for more information. o EventListener::OPT_REUSEABLE - By default on some platforms, once a listener socket is closed, no other socket can bind to the same port until a while has passed. Setting this option makes Libevent mark the socket as reusable, so that once it is closed, another socket can be opened to listen on the same port. o EventListener::OPT_THREADSAFE - Allocate locks for the listener, so that it's safe to use it from multiple threads. PHP Documentation Group EVENTLISTENER(3)
All times are GMT -4. The time now is 11:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy