Sponsored Content
Full Discussion: Port status/Running daemon
Operating Systems Solaris Port status/Running daemon Post 302346837 by dennysv on Monday 24th of August 2009 07:50:14 AM
Old 08-24-2009
Stop HUDSON, and list all listening ports on server using netstat. start hudson, and do same again and check whether hudson has started. Also check hudson logs for any error messages. Check $HUDSON_HOME/config.xml to ensure right port is mentioned.
Code:
netstat -an | grep LISTEN        will list all listening ports
netstat -an | grep LISTEN | grep <port>  to check specific port is listening or not.

If you do not see the port in netstat output, then the hudson is not starting. Or if you see the port listening when hudson is down, there may be another service listening on that port.
Telnet will not show much output, but if telnet is able to connect to a port, that means something is listening on that port.
Code:
$ telnet 127.0.0.1 8080
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
^]
telnet> q

Failed connection look like this
$ telnet 127.0.0.1 345
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused

 

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
plpftp(1)							   User commands							 plpftp(1)

NAME
plpftp - FTP-like program for manipulating files on the Psion. SYNOPSIS
plpftp [-h] [-V] [-p [host:]port] [long-options] [ FTP-command [parameters]] DESCRIPTION
plpftp provides an FTP style interface for the psion. It requires the ncpd to be running already to provide access to the serial port. plpftp has online help. To see the available commands start the program and enter "help". OPTIONS
-V, --version Display the version and exit -h, --help Display a short help text and exit. -p, --port=[host:]port Specify the host and port to connect to (e.g. The port where ncpd is listening on) - by default the host is 127.0.0.1 and the port is looked up in /etc/services. If it is not found there, a builtin value of 7501 is used. FTP-command parameters Allows you to specify an plpftp command on the command line. If specified, plpftp enters non interactive mode and terminates after executing the command. SEE ALSO
ncpd(8), plpfuse(8), plpprintd(8), sisinstall(1) AUTHOR
Fritz Elfert Heavily based on p3nfsd by Rudolf Koenig (rfkoenig@immd4.informatik.uni-erlangen.de) and plp_1_7 by Philip Proudman (phil@proud- man51.freeserve.co.uk) Man page by John Lines (john+plpman@paladin.demon.co.uk) plptools 1.0.9 2007/12/26 plpftp(1)
All times are GMT -4. The time now is 03:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy