Sponsored Content
Full Discussion: Port status/Running daemon
Operating Systems Solaris Port status/Running daemon Post 302346942 by JVerstry on Monday 24th of August 2009 12:48:00 PM
Old 08-24-2009
netstat -an without hudson gives:

Code:
UDP: IPv4
   Local Address        Remote Address      State
-------------------- -------------------- ----------
      *.111                               Idle
      *.*                                 Unbound
      *.60511                             Idle
      *.111                               Idle
      *.*                                 Unbound
      *.60770                             Idle

UDP: IPv6
   Local Address                     Remote Address                   State      If
--------------------------------- --------------------------------- ---------- -----
      *.111                                                         Idle       
      *.*                                                           Unbound    
      *.60511                                                       Idle       

TCP: IPv4
   Local Address        Remote Address    Swind Send-Q Rwind Recv-Q    State
-------------------- -------------------- ----- ------ ----- ------ -----------
      *.111                *.*                0      0 49152      0 LISTEN
      *.*                  *.*                0      0 49152      0 IDLE
      *.111                *.*                0      0 49152      0 LISTEN
      *.*                  *.*                0      0 49152      0 IDLE
      *.22                 *.*                0      0 49152      0 LISTEN
      *.80                 *.*                0      0 49152      0 LISTEN
      *.*                  *.*                0      0 49152      0 IDLE
10.5.34.7.22         92.65.215.34.61179   63824     51 49640      0 ESTABLISHED
10.5.34.7.80         203.250.77.114.46317  6912      0 49232      0 TIME_WAIT
10.5.34.7.80         87.106.245.59.3305   65098      0 49640      0 TIME_WAIT
10.5.34.7.80         117.17.102.236.3813  65098      0 49640      0 TIME_WAIT
10.5.34.7.80         194.139.100.175.4662 17203      0 50400      0 TIME_WAIT
10.5.34.7.80         194.139.100.175.4908 64075      0 50400      0 TIME_WAIT
10.5.34.7.80         12.236.234.200.24153 65098      0 49640      0 TIME_WAIT
10.5.34.7.80         209.29.4.43.24522    65098      0 49680      0 ESTABLISHED
10.5.34.7.22         92.65.215.34.58596   63556      0 49640      0 ESTABLISHED
10.5.34.7.22         92.65.215.34.58736   64240      0 49640      0 ESTABLISHED

TCP: IPv6
   Local Address                     Remote Address                 Swind Send-Q Rwind Recv-Q   State      If
--------------------------------- --------------------------------- ----- ------ ----- ------ ----------- -----
      *.111                             *.*                             0      0 49152      0 LISTEN      
      *.*                               *.*                             0      0 49152      0 IDLE        
      *.22                              *.*                             0      0 49152      0 LISTEN      
      *.80                              *.*                             0      0 49152      0 LISTEN      

Active UNIX domain sockets
Address  Type          Vnode     Conn  Local Addr      Remote Addr
 stream-ord 00000000 00000000                               
 stream-ord 00000000 00000000                               
 stream-ord 00000000 00000000                               
 stream-ord 00000000 00000000                               
 stream-ord ffffff01d1276a50 00000000 /var/run/apache2/2.2/cgisock.960                
 stream-ord ffffff01d1276db8 00000000 /var/run/.inetd.uds

With Hudson, I get:

Code:
UDP: IPv4
   Local Address        Remote Address      State
-------------------- -------------------- ----------
      *.111                               Idle
      *.*                                 Unbound
      *.60511                             Idle
      *.111                               Idle
      *.*                                 Unbound
      *.60770                             Idle
      *.33848                             Idle

UDP: IPv6
   Local Address                     Remote Address                   State      If
--------------------------------- --------------------------------- ---------- -----
      *.111                                                         Idle       
      *.*                                                           Unbound    
      *.60511                                                       Idle       
      *.33848                                                       Idle       

TCP: IPv4
   Local Address        Remote Address    Swind Send-Q Rwind Recv-Q    State
-------------------- -------------------- ----- ------ ----- ------ -----------
      *.111                *.*                0      0 49152      0 LISTEN
      *.*                  *.*                0      0 49152      0 IDLE
      *.111                *.*                0      0 49152      0 LISTEN
      *.*                  *.*                0      0 49152      0 IDLE
      *.22                 *.*                0      0 49152      0 LISTEN
      *.80                 *.*                0      0 49152      0 LISTEN
      *.*                  *.*                0      0 49152      0 IDLE
10.5.34.7.22         92.65.215.34.61179   63512     51 49640      0 ESTABLISHED
10.5.34.7.22         92.65.215.34.61197   63124      0 49640      0 ESTABLISHED
10.5.34.7.80         87.106.245.59.3319   65098      0 49640      0 TIME_WAIT
      *.8080               *.*                0      0 49152      0 LISTEN
      *.8009               *.*                0      0 49152      0 LISTEN
      *.62930              *.*                0      0 49152      0 LISTEN
10.5.34.7.22         92.65.215.34.58596   63556      0 49640      0 ESTABLISHED
10.5.34.7.22         92.65.215.34.58736   64240      0 49640      0 ESTABLISHED

TCP: IPv6
   Local Address                     Remote Address                 Swind Send-Q Rwind Recv-Q   State      If
--------------------------------- --------------------------------- ----- ------ ----- ------ ----------- -----
      *.111                             *.*                             0      0 49152      0 LISTEN      
      *.*                               *.*                             0      0 49152      0 IDLE        
      *.22                              *.*                             0      0 49152      0 LISTEN      
      *.80                              *.*                             0      0 49152      0 LISTEN      
::1.52504                         ::1.60706                         49152      0 49152      0 TIME_WAIT   
      *.8080                            *.*                             0      0 49152      0 LISTEN      
      *.8009                            *.*                             0      0 49152      0 LISTEN      
      *.62930                           *.*                             0      0 49152      0 LISTEN      

Active UNIX domain sockets
Address  Type          Vnode     Conn  Local Addr      Remote Addr
 stream-ord 00000000 00000000                               
 stream-ord 00000000 00000000                               
 stream-ord 00000000 00000000                               
 stream-ord 00000000 00000000                               
 stream-ord ffffff01d1276a50 00000000 /var/run/apache2/2.2/cgisock.960                
 stream-ord ffffff01d1276db8 00000000 /var/run/.inetd.uds

So it looks like Hudson is locking on port 8080, both on IPv6 and IPv4. The Solaris server has an IPv4 address.

I guess the question is answered. Thanks for the support.

JVerstry
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

daemon running in AIX checking

how do u check if a daemon is running in AIX.. Is it ps -ef|grep daemon lssrc -s demon ??? Thanks! (0 Replies)
Discussion started by: karthikosu
0 Replies

2. UNIX for Advanced & Expert Users

Unix port status

disregard solved (0 Replies)
Discussion started by: calamine
0 Replies

3. AIX

how to check status of various services and port?

How can i check which service is activated on my AIX Box? how one can check particular port is open or not (like ftp/telnet port)? I dont have admin rights (1 Reply)
Discussion started by: ashish4422
1 Replies

4. Shell Programming and Scripting

how to detect port open status?

I write a script which will stop an application, then restart it. Sometimes it is succesful, sometimes not. The problem is, when stop the application, some ports are still listenning (or not released). When start the application, it reports that ports are used, and can't continues. I use... (1 Reply)
Discussion started by: rdcwayx
1 Replies

5. Solaris

Checking the port status of a remote host

Hi there I am in the process of writing a script to check whether a port on a remote system is up or not. Here's what I have so far: #!/bin/bash telnet xx.xx.xx.xx 80 | (echo "^]") if ]; then echo "Please check Web services " | mailx -s "Please check webservices... (1 Reply)
Discussion started by: notreallyhere
1 Replies

6. Shell Programming and Scripting

Doubt in the daemon running script

Hi I was going through one of my pjct script .Please let me know the logic for the deamon is running or not as i think the condtn should be vice-versa. daemon_list = 'idp1278' FAIL=0 for p in ${daemon_list} do fail=0 ps -fu workarea | grep ${p} > /dev/null 2>&1 if ] then ... (1 Reply)
Discussion started by: mani_isha
1 Replies

7. Programming

Getting TCP Port status through C API

Does anyone know if there is a C API call to get the status of a TCP port? As opposed to running netstat and parsing the results. At the moment I have to attempt to bind() and pick up on the address in use error which isn't very elegant Thanks ---------- Post updated at 10:42 AM ----------... (0 Replies)
Discussion started by: janra
0 Replies

8. UNIX for Dummies Questions & Answers

Oracle process running as user daemon

Hi, When process listing, I came across a process running as user daemon. daemon 23576 23574 0 07:32:04 ? 0:07 oracle (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq))) root 27526 27444 1 07:38:43 ttyp5 0:00 grep 23574 why a process runs as user daemon, when it should be... (3 Replies)
Discussion started by: wilsonee
3 Replies

9. AIX

Alert: Network Status Monitor daemon (rpcstat) is not running

Hi I am currently testing SCOM2012 on my AIX systems for monitoring. I tested it on 3 systems and immediately i got the following errors: Alert: Network Status Monitor daemon (rpcstat) is not running Source: AIX 7.1 Path: (left blank) Last modified by: (left blank) Last modified time:... (3 Replies)
Discussion started by: jsabo40
3 Replies
All times are GMT -4. The time now is 01:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy